syscalls: start adding exit syscall, not done yet
This commit is contained in:
+3
-1
@@ -68,10 +68,12 @@ typedef struct Process
|
||||
extern Process* current;
|
||||
|
||||
Process* task_create(uint32_t func, uint32_t user_esp, uint32_t ring, uint32_t* pagedir);
|
||||
void task_kill(Process* proc);
|
||||
void task_exit();
|
||||
|
||||
void scheduler_init();
|
||||
void schedule();
|
||||
void scheduler_lock();
|
||||
void scheduler_unlock();
|
||||
void handle_syscall(TrapFrame *tf);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user