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/arch/generic.h | |
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/arch/generic.h')
-rw-r--r-- | src/kernel/arch/generic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/generic.h b/src/kernel/arch/generic.h index f208aa3..d5f8b3c 100644 --- a/src/kernel/arch/generic.h +++ b/src/kernel/arch/generic.h @@ -16,7 +16,7 @@ __attribute__((noreturn)) void halt_cpu(); // src/arch/i386/sysenter.s -void sysexit(void (*fun)(), void *stack_top); +void sysexit(struct registers); int syscall_handler(int, int, int, int); // all of those can allocate memory |