summaryrefslogtreecommitdiff
path: root/asm/syscall.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-08-17 21:41:21 +0200
committerMiguel <m.i@gmx.at>2018-08-17 21:41:21 +0200
commitc15925a24efe14f437d8a2699500241a58fdc8f9 (patch)
treec0db3a7d2a4f857324735df35e9cc1f0539c5f24 /asm/syscall.h
parent6fd78c2ff950310d8372ec0353553cc4a5a43e72 (diff)
cleanup and working on fifo pipes
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);