Commit Graph

1526 Commits

Author SHA1 Message Date
eb154e337a Merge remote-tracking branch 'Kernel/multiboot2_64' into Kernel-multiboot2_64 2024-11-20 05:17:14 +02:00
c4e458fcc6 Kernel/multiboot2_64 2024-11-20 05:16:57 +02:00
b4c0a78c6c Merge remote-tracking branch 'Kernel/memory-test' into Kernel-memory-test 2024-11-20 05:16:21 +02:00
653f5a6042 Kernel/memory-test 2024-11-20 05:15:59 +02:00
b348932172 Merge remote-tracking branch 'Kernel/mb2_32_64_test' into Kernel-mb2_32_64_test 2024-11-20 05:15:06 +02:00
47cf2c24d1 Kernel/mb2_32_64_test 2024-11-20 05:14:55 +02:00
3dc5986c90 Merge remote-tracking branch 'Lynx/master' 2024-11-20 05:02:27 +02:00
ad09129401 Merge remote-tracking branch 'Userspace/master' 2024-11-20 05:02:06 +02:00
c43e8d7b03 Merge remote-tracking branch 'Drivers/master' 2024-11-20 05:01:24 +02:00
682c84b2af Merge remote-tracking branch 'Kernel/master' 2024-11-20 05:00:33 +02:00
93d408e0af Delete .gitmodules 2024-11-20 04:59:06 +02:00
d246932660 Merge remote-tracking branch 'Fennix/master' 2024-11-20 04:58:46 +02:00
6cbb18b91f Delete README.md 2024-11-20 04:57:42 +02:00
45045b04da Initial commit 2024-11-20 04:32:34 +02:00
26b9c8e921 Add SSDT1.dat 2024-11-20 04:29:11 +02:00
dc5d62717e Update submodules 2024-11-20 04:26:09 +02:00
961ddd0bd8 Update userspace 2024-11-20 04:25:17 +02:00
60391c032a Update headers 2024-11-20 04:24:36 +02:00
19f2a78d35 linux: Move everything to ./subsystem/linux/* 2024-11-20 03:49:15 +02:00
a96086c432 exec: Correctly align memory using .p_align 2024-11-19 05:10:38 +02:00
7b054050c7 tasking: Do not free tty
It took only 2 months to figure it out that this was causing unexpected crashes... lol
2024-11-19 05:05:41 +02:00
4d192732cc tasking: Check for null pointer first 2024-11-19 04:33:47 +02:00
3709683af8 linux: Add stub madvise() syscall 2024-11-18 04:10:27 +02:00
3a68b28c13 memory: Add more debug messages for CoW related functions 2024-11-18 04:07:08 +02:00
9f34bd0192 linux: Fix debug messages for syscalls 2024-11-18 04:06:41 +02:00
4012a5d9e5 memory: Remove annoying and useless messages in Unmap() 2024-11-18 04:06:03 +02:00
9c61c71c57 memory: Fix memory mapping in KernelPageTable
The MapFromZero() function didn't actually mapped the entire available memory.
This function now uses memory entries as hints of what and where to map.
2024-11-18 03:49:11 +02:00
21faaf6ea1 interrupts: Switch page table in MainInterruptHandler() 2024-11-18 03:38:24 +02:00
23301b8c1b memory: Kernel threads require more memory for stack
Threads will now use 128 KiB
2024-11-18 03:27:06 +02:00
86a119ea51 scheduler: Fix page table switch for scheduler
The userspace process may map pages where the kernel has allocated data and cause a crash.

This patch fixes this issue by having a separate IRQ handler which sets the kernel page table at the start of SchedulerInterruptHandler() and restores it in SchedulerHandlerStub() function.
2024-11-17 03:11:20 +02:00
079055082a panic: Check if CurrentProcess & CurrentThread are valid before showing info 2024-11-16 04:42:20 +02:00
4bc4e9b76f stl: Implement coroutines 2024-11-15 01:54:21 +02:00
1ab4ace23c stl: Update headers
type_traits: Add is_integral
optional: Add stub optional class
iterator: Add default_sentinel_t & default_sentinel
concepts: Add concepts header + integral concept
2024-11-15 01:34:34 +02:00
ef1c5bb39e panic: Add stub code for UHCI, EHCI & XHCI controllers 2024-11-10 16:30:43 +02:00
a211280891 chore: Update vscode debug configurations 2024-11-08 02:31:36 +02:00
393c8ba4cb chore: Update vscode boilerplates 2024-11-08 02:30:57 +02:00
6dc734bb0b interrupts: Update MainInterruptHandler 2024-10-30 03:07:47 +02:00
ab6529f6e6 memory: Add kernel stack manager 2024-10-30 02:28:49 +02:00
99292467ed task: Remove redundant code
NewLock(SchedulerLock);
2024-10-26 03:54:46 +03:00
29896bb0a4 memory: Refactor SwapPT class 2024-10-26 03:25:36 +03:00
b6006e379d panic: Refactor PS/2 keyboard initialization code 2024-10-26 03:24:29 +03:00
462907828d linux: Remove redundant SwapPT in linux_getrandom() 2024-10-25 01:00:58 +03:00
c0df0291eb kshell: Check for absolute path 2024-10-22 05:27:43 +03:00
032b8acca0 kshell: Fix search for binaries in /usr/bin/ 2024-10-21 02:59:55 +03:00
8b442d14e3 linux: Implement vfork() syscall 2024-10-20 03:02:09 +03:00
0edd84c8a8 linux: Disable stack protector for __LinuxForkReturn() 2024-10-20 03:01:30 +03:00
f57ad7fc81 task: Implement new process state
Added "Frozen" for vfork implementation.
2024-10-20 03:00:34 +03:00
53360c10e2 linux: Fix code style in linux_execve() function 2024-10-19 01:52:25 +03:00
d9517a5cab api: Add documentation to RingBuffer class 2024-10-19 01:44:48 +03:00
88c87172ba vt: Fix incorrect buffer read size in VirtualTerminal
Resolved an issue in VirtualTerminal::Read where the size of the report buffer was incorrectly set to sizeof(report), causing multiple unintended reads.
2024-10-19 01:31:42 +03:00