summaryrefslogtreecommitdiff
path: root/src/kernel/arch/generic.h
diff options
context:
space:
mode:
authordzwdz2021-07-24 18:53:34 +0200
committerdzwdz2021-07-24 18:53:34 +0200
commitae9c1d1b16061242068353ff9064c8c9ef63b577 (patch)
tree59c91ac4d15d8231cab1174b7402128ce895fb0f /src/kernel/arch/generic.h
parentb0690678bef7d51bbdadce6b606c835ce76d4d92 (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.h2
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