diff options
Diffstat (limited to 'asm/usermode.h')
| -rw-r--r-- | asm/usermode.h | 7 |
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); |
