mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +00:00
Add a sys$exit and make init_stage2 call it when finished.
This commit is contained in:
parent
79ffdb7205
commit
3a3c57357c
5 changed files with 35 additions and 3 deletions
|
@ -31,6 +31,7 @@ public:
|
|||
BlockedSleep = 5,
|
||||
Terminated = 6,
|
||||
Crashing = 7,
|
||||
Exiting = 8,
|
||||
};
|
||||
|
||||
enum RingLevel {
|
||||
|
@ -83,6 +84,7 @@ public:
|
|||
int sys$kill(pid_t pid, int sig);
|
||||
int sys$geterror() { return m_error; }
|
||||
void sys$sleep(DWORD ticks);
|
||||
void sys$exit(int status);
|
||||
|
||||
struct
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue