syscall: change handling of exceptions and traps
This commit is contained in:
parent
b595652ef4
commit
0a0235612e
5 changed files with 59 additions and 18 deletions
|
|
@ -35,6 +35,7 @@ void sys_exit(int status)
|
|||
kprintf("(syscall)Process %d exited with status 0x%x\n", getpid(), status);
|
||||
|
||||
proc_set_current(0);
|
||||
schedule();
|
||||
}
|
||||
|
||||
static void syscall_insert(uint64_t syscall_no, syscall_t syscall)
|
||||
|
|
|
|||
Loading…
Reference in a new issue