aboutsummaryrefslogtreecommitdiff
path: root/include/kern/priv.h
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2020-11-25 15:47:02 -0700
committerJosh Rahm <joshuarahm@gmail.com>2020-11-25 15:47:02 -0700
commit6d22b0dfc7761a605758552d5824f8039ac5a00f (patch)
treede0cd4848c02b787d45b41afaca244606eceab5d /include/kern/priv.h
parentb07c6f6a9d926d4eac726b94963e479839382675 (diff)
downloadstm32l4-6d22b0dfc7761a605758552d5824f8039ac5a00f.tar.gz
stm32l4-6d22b0dfc7761a605758552d5824f8039ac5a00f.tar.bz2
stm32l4-6d22b0dfc7761a605758552d5824f8039ac5a00f.zip
Primitive ability to call kernel code from userspace.
Diffstat (limited to 'include/kern/priv.h')
-rw-r--r--include/kern/priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/kern/priv.h b/include/kern/priv.h
index 8940b23..35404f4 100644
--- a/include/kern/priv.h
+++ b/include/kern/priv.h
@@ -10,5 +10,7 @@ void set_control_register(uint32_t reg);
/* Enters user mode from privilieged mode. */
void enter_user_mode();
+void jump_to_user_mode();
+
#endif /* _KERN_PRIV_H_ */