A userspace process can now GPF and the OS goes on!

This is really rickety, but it kinda sorta works for my test GPF!
This commit is contained in:
Andreas Kling 2018-10-17 23:49:32 +02:00
commit 56c1f9db8e
Notes: sideshowbarker 2024-07-19 18:46:40 +09:00
8 changed files with 96 additions and 42 deletions

View file

@ -29,6 +29,7 @@ public:
BlockedSend = 4,
BlockedSleep = 5,
Terminated = 6,
Crashing = 7,
};
enum RingLevel {
@ -121,6 +122,7 @@ private:
extern void task_init();
extern void yield();
extern bool scheduleNewTask();
extern void switchNow();
extern void block(Task::State);
extern void sleep(DWORD ticks);