diff options
author | dzwdz | 2021-07-24 16:55:15 +0200 |
---|---|---|
committer | dzwdz | 2021-07-24 16:55:15 +0200 |
commit | 4d5e930c48cded790f77497911706aa8f5ff0965 (patch) | |
tree | b256d379f5841d28a74fb28b6d01720cb14a5878 /src/kernel/proc.h | |
parent | 67a359d8c4b9f5cb3d2e1fb9602ebe5dfd3978cf (diff) |
save all registers on syscalls
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 4 |
1 files changed, 1 insertions, 3 deletions
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; |