Implement exit syscall

This commit is contained in:
Justin C. Miller
2019-03-14 22:28:21 -07:00
parent f7558e3d18
commit be007c6278
5 changed files with 27 additions and 2 deletions

View File

@@ -4,6 +4,13 @@
#include "scheduler.h"
void
process::exit(uint32_t code)
{
return_code = code;
flags -= process_flags::running;
}
pid_t
process::fork(uintptr_t in_rsp)
{