9 Commits

Author SHA1 Message Date
EnderIce2
19f2a78d35
linux: Move everything to ./subsystem/linux/* 2024-11-20 03:49:15 +02:00
EnderIce2
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
EnderIce2
5a00e91011
Fix signals from exception handler 2024-03-28 03:15:05 +02:00
EnderIce2
3d1ecc3db0
Rework signal handling code 2024-03-25 23:21:27 +02:00
EnderIce2
3a352045ab
Add more debug messages for Signal 2024-03-20 21:54:58 +02:00
EnderIce2
08458927ac
Refactor Signal handling code 2024-03-20 21:29:02 +02:00
EnderIce2
2ffd8e3c34
Refactor gsTCB struct for debugging and update usage in related files 2024-03-13 03:41:12 +02:00
EnderIce2
c2b595452e
Add InitTrampoline and HasPendingSignal function 2024-03-03 23:58:05 +02:00
EnderIce2
96daa43d38
Update kernel 2024-01-19 06:47:42 +02:00