diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2020-11-25 15:47:02 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2020-11-25 15:47:02 -0700 |
commit | 6d22b0dfc7761a605758552d5824f8039ac5a00f (patch) | |
tree | de0cd4848c02b787d45b41afaca244606eceab5d /include/kern/syscall/syscall_tbl.inc | |
parent | b07c6f6a9d926d4eac726b94963e479839382675 (diff) | |
download | stm32l4-6d22b0dfc7761a605758552d5824f8039ac5a00f.tar.gz stm32l4-6d22b0dfc7761a605758552d5824f8039ac5a00f.tar.bz2 stm32l4-6d22b0dfc7761a605758552d5824f8039ac5a00f.zip |
Primitive ability to call kernel code from userspace.
Diffstat (limited to 'include/kern/syscall/syscall_tbl.inc')
-rw-r--r-- | include/kern/syscall/syscall_tbl.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/kern/syscall/syscall_tbl.inc b/include/kern/syscall/syscall_tbl.inc new file mode 100644 index 0000000..6c4be57 --- /dev/null +++ b/include/kern/syscall/syscall_tbl.inc @@ -0,0 +1,5 @@ +/* + * Defines a table of SYSCALLS. The syscalls need to be void functions that + * a single 32-bit integer as their argument. + */ +SYSCALL(25, logs, kern_logs, const char*) |