syscalls: start adding exit syscall, not done yet

This commit is contained in:
2025-06-21 18:54:52 +03:00
parent bb096f826a
commit 70d6aacb91
6 changed files with 102 additions and 3 deletions
+3 -1
View File
@@ -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