summaryrefslogtreecommitdiff
path: root/asm/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/syscall.h')
-rw-r--r--asm/syscall.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/asm/syscall.h b/asm/syscall.h
new file mode 100644
index 0000000..2cadce4
--- /dev/null
+++ b/asm/syscall.h
@@ -0,0 +1,11 @@
+/*
+ * Issue a System Call from Ring 3 / User Space
+ *
+ * Accepts up to 3 parameters.
+ * Check syscalls.h for details.
+ */
+
+uint32_t syscall(uint32_t code,
+ uint32_t param_1,
+ uint32_t param_2,
+ uint32_t param_3);