summaryrefslogtreecommitdiffstats
path: root/include/arch/x86_64/api/syscall.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-09-18 13:52:58 -0400
committerJon Santmyer <jon@jonsantmyer.com>2025-09-18 13:52:58 -0400
commitddc4fbc15223e362896a9f42beca73f05f48e664 (patch)
tree30f8ffc989bc66d9d9e67c7321b3d7a9c46dc130 /include/arch/x86_64/api/syscall.h
parentcfc793e204ba63d281e778a36992b8c86dd0ad88 (diff)
downloadjove-kernel-ddc4fbc15223e362896a9f42beca73f05f48e664.tar.gz
jove-kernel-ddc4fbc15223e362896a9f42beca73f05f48e664.tar.bz2
jove-kernel-ddc4fbc15223e362896a9f42beca73f05f48e664.zip
move usermode-critical info to include/api
Diffstat (limited to 'include/arch/x86_64/api/syscall.h')
-rw-r--r--include/arch/x86_64/api/syscall.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/arch/x86_64/api/syscall.h b/include/arch/x86_64/api/syscall.h
new file mode 100644
index 0000000..e470537
--- /dev/null
+++ b/include/arch/x86_64/api/syscall.h
@@ -0,0 +1,16 @@
+#ifndef _JOVE_ARCH_x86_64_SYSCALL_H
+#define _JOVE_ARCH_x86_64_SYSCALL_H 1
+
+/**@ENUM mapping invokes*/
+enum
+{
+ /*[target path][u8 funcid][u8 depth][u16*depth pmli]*/
+ INVOKE_MAPPING_EXISTS = 0,
+ /*[target path][u8 funcid][u8 depth][u16*depth pmli][untyped path][u64 flags]*/
+ INVOKE_MAPPING_MAP,
+ /*[target path][u8 funcid][u8 depth][u16*depth pmli][dest path]*/
+ INVOKE_MAPPING_UNMAP
+};
+
+
+#endif