tasking: start handling syscalls

This commit is contained in:
2025-06-19 17:58:49 +03:00
parent 5fa2393fd6
commit 93f174827b
6 changed files with 18 additions and 88 deletions
+2 -1
View File
@@ -38,7 +38,7 @@ typedef struct __attribute__((packed)) TrapFrame {
uint32_t gs,fs,es,ds;
uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
uint32_t interrupt, error;
//uint32_t interrupt, error;
uint32_t eip, cs, eflags, usermode_esp, usermode_ss;
@@ -65,5 +65,6 @@ void scheduler_init();
void schedule();
void scheduler_lock();
void scheduler_unlock();
void handle_syscall(TrapFrame *tf);
#endif