10 Commits

Author SHA1 Message Date
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
5fd8d3b3a5
Revamped kernel panic functions with significant improvements 2024-02-28 06:31:02 +02:00
EnderIce2
96daa43d38
Update kernel 2024-01-19 06:47:42 +02:00
Alex
889e1522a3
Restructured and rewritten entire codebase 2023-10-09 01:16:24 +03:00
Alex
4e20d4d9f4
Enable compilation of project on AArch64 architecture 2023-04-04 16:06:54 +03:00
Alex
25256d81a8
Added license headers to all project files 2023-04-04 02:19:05 +03:00
Alex
93afcd2210
QoL improvements 2023-03-27 20:11:32 +03:00
Alex
6b01a21a71
Change Interrupts::Handler 2023-03-23 20:48:09 +02:00
Alex
5c91f23527
x32 is now compiling 2023-03-04 21:17:19 +02:00
Alex
75883030ad
Renamed "interrupts.hpp" to "ints.hpp" 2023-02-28 12:58:09 +02:00