From 6d22b0dfc7761a605758552d5824f8039ac5a00f Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Wed, 25 Nov 2020 15:47:02 -0700 Subject: Primitive ability to call kernel code from userspace. --- include/kern/syscall/syscall_tbl.inc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 include/kern/syscall/syscall_tbl.inc (limited to 'include/kern/syscall') 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*) -- cgit