From 4d5e930c48cded790f77497911706aa8f5ff0965 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 24 Jul 2021 16:55:15 +0200 Subject: save all registers on syscalls --- src/kernel/proc.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/kernel/proc.h') diff --git a/src/kernel/proc.h b/src/kernel/proc.h index 745db8d..a40d3ca 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -3,10 +3,8 @@ struct process { void *stack_top; - void *esp; - void *eip; - struct pagedir *pages; + struct registers regs; }; extern struct process *process_current; -- cgit v1.2.3