mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
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:
parent
77299cf54d
commit
56c1f9db8e
8 changed files with 96 additions and 42 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue