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