summaryrefslogtreecommitdiff
path: root/asm/usermode.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-02 00:08:42 +0200
committerMiguel <m.i@gmx.at>2018-09-02 00:08:42 +0200
commit8e3411139b27a3421e9ac75c13f14f99f6dd3137 (patch)
treecf8b53ab02863117c310bde11ee4683e134cf1b2 /asm/usermode.h
parent0fff2e6dc6fae82da1c7978918a490c25cc36f04 (diff)
syscalls
Diffstat (limited to 'asm/usermode.h')
-rw-r--r--asm/usermode.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/asm/usermode.h b/asm/usermode.h
index 9b76db3..16597f2 100644
--- a/asm/usermode.h
+++ b/asm/usermode.h
@@ -1,7 +1,8 @@
-/*
- * Switch to User Mode and returin to function given by pointer
+/**
+ * @file
+ * Switch to User Mode and iret to function given by pointer
* provide the address of a void func() that will be called without
- * any params.
+ * any params via iret.
*/
-void usermode(uint32_t func);
+void asm_usermode(uint32_t func);