summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/sysenter.h
diff options
context:
space:
mode:
authordzwdz2021-09-21 18:37:01 +0200
committerdzwdz2021-09-21 18:37:01 +0200
commitd9ec06192725bb6bf023120e99cbe8da33756628 (patch)
tree847ff37279af11932891e70f7f14f9071182940f /src/kernel/arch/i386/sysenter.h
parentdc7a432b877222253fe02a332fba69d077eea8fe (diff)
start using sparse's `-Wdecl`
Diffstat (limited to 'src/kernel/arch/i386/sysenter.h')
-rw-r--r--src/kernel/arch/i386/sysenter.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/kernel/arch/i386/sysenter.h b/src/kernel/arch/i386/sysenter.h
new file mode 100644
index 0000000..b88c186
--- /dev/null
+++ b/src/kernel/arch/i386/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);