kernel: refactor syscall dispatch system
This commit is contained in:
13
syscall/task.c
Normal file
13
syscall/task.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <mango/machine/cpu.h>
|
||||
#include <mango/printk.h>
|
||||
#include <mango/sched.h>
|
||||
|
||||
extern kern_status_t sys_exit(int status)
|
||||
{
|
||||
printk("sys_exit(%d)", status);
|
||||
while (1) {
|
||||
ml_cpu_pause();
|
||||
}
|
||||
|
||||
return KERN_UNIMPLEMENTED;
|
||||
}
|
||||
Reference in New Issue
Block a user