diff options
| author | Miguel <m.i@gmx.at> | 2018-09-03 15:18:16 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-03 15:18:16 +0200 |
| commit | 7eb87bf3f3fa6226657a7106eb255cbfa97758d2 (patch) | |
| tree | 2d7d2280d32180d18796999bf7687ebe5bf208df /asm/asm_usermode.h | |
| parent | 76b3da6022310dd8edbbbfdf4f73f1696a559853 (diff) | |
big renaming
Diffstat (limited to 'asm/asm_usermode.h')
| -rw-r--r-- | asm/asm_usermode.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/asm/asm_usermode.h b/asm/asm_usermode.h new file mode 100644 index 0000000..16597f2 --- /dev/null +++ b/asm/asm_usermode.h @@ -0,0 +1,8 @@ +/** + * @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 via iret. + */ + +void asm_usermode(uint32_t func); |
