From 205735d022e27d6930e16df42f0c7882196db739 Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 18 Oct 2018 12:34:07 +0200 Subject: fix exit syscall --- kernel/syscalls.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/syscalls.c') diff --git a/kernel/syscalls.c b/kernel/syscalls.c index 9fc1a7f..083fbf1 100644 --- a/kernel/syscalls.c +++ b/kernel/syscalls.c @@ -489,6 +489,7 @@ uint32_t syscall_exit(int status, uint32_t none1, uint32_t none2,int pid) } task_exit(pid); + __asm__("int $0x81"); // please schedule us away once and for all return 0; } -- cgit v1.2.3