summaryrefslogtreecommitdiff
path: root/asm/usermode.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/usermode.h
parent6fd78c2ff950310d8372ec0353553cc4a5a43e72 (diff)
cleanup and working on fifo pipes
Diffstat (limited to 'asm/usermode.h')
-rw-r--r--asm/usermode.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/asm/usermode.h b/asm/usermode.h
new file mode 100644
index 0000000..9b76db3
--- /dev/null
+++ b/asm/usermode.h
@@ -0,0 +1,7 @@
+/*
+ * Switch to User Mode and returin to function given by pointer
+ * provide the address of a void func() that will be called without
+ * any params.
+ */
+
+void usermode(uint32_t func);