summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/sysenter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/amd64/sysenter.h')
-rw-r--r--src/kernel/arch/amd64/sysenter.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/sysenter.h b/src/kernel/arch/amd64/sysenter.h
new file mode 100644
index 0000000..b88c186
--- /dev/null
+++ b/src/kernel/arch/amd64/sysenter.h
@@ -0,0 +1,8 @@
+#pragma once
+
+// sysenter.c
+extern struct registers _sysexit_regs;
+_Noreturn void sysenter_stage2(void);
+
+// sysenter.s
+void _sysexit_real(void);