diff options
author | dzwdz | 2021-07-24 18:53:34 +0200 |
---|---|---|
committer | dzwdz | 2021-07-24 18:53:34 +0200 |
commit | ae9c1d1b16061242068353ff9064c8c9ef63b577 (patch) | |
tree | 59c91ac4d15d8231cab1174b7402128ce895fb0f /src/kernel/proc.c | |
parent | b0690678bef7d51bbdadce6b606c835ce76d4d92 (diff) |
sysexit() now overrides all registers
when doing anything more complex than starting a new program, you pretty
much need to pass a full register dump. otherwise stuff will break
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r-- | src/kernel/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c index a64d5ee..0f2b91d 100644 --- a/src/kernel/proc.c +++ b/src/kernel/proc.c @@ -26,5 +26,5 @@ struct process *process_new() { void process_switch(struct process *proc) { process_current = proc; pagedir_switch(proc->pages); - sysexit(proc->regs.eip, proc->regs.esp); + sysexit(proc->regs); } |