summaryrefslogtreecommitdiffstats
path: root/api/init.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-09-17 11:11:20 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-09-17 11:11:20 -0400
commit13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8 (patch)
treea15e55bc70c60d3faa053db3b7b9a17fe75589bc /api/init.h
parenta783cc865f1f261c20f6ef55cb37d4839f519865 (diff)
downloadjove-kernel-13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8.tar.gz
jove-kernel-13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8.tar.bz2
jove-kernel-13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8.zip
make syscall use non-locking mutexes
Diffstat (limited to 'api/init.h')
-rw-r--r--api/init.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/api/init.h b/api/init.h
index a7de43f..d23327f 100644
--- a/api/init.h
+++ b/api/init.h
@@ -1,15 +1,18 @@
#ifndef _JOVE_API_INIT_H
#define _JOVE_API_INIT_H 1
-#define ROOTDIR_PROCESSORS_I 0x0
-#define ROOTDIR_PAGEDIR_I 0x01
-#define ROOTDIR_UNTYPED_I 0x02
-#define ROOTDIR_PCB_I 0x03
-#define ROOTDIR_IOPB_I 0x04
-#define ROOTDIR_ACPI_I 0x05
-#define ROOTDIR_INTERRUPTS_I 0x06
-#define ROOTDIR_INITRD_I 0x07
-#define ROOTDIR_MESSAGE_I 0x08
+enum {
+ ROOTDIR_DIR_I = 0,
+ ROOTDIR_PROCESSORS_I,
+ ROOTDIR_PAGEDIR_I,
+ ROOTDIR_UNTYPED_I,
+ ROOTDIR_PCB_I,
+ ROOTDIR_IOPB_I,
+ ROOTDIR_ACPI_I,
+ ROOTDIR_INTERRUPTS_I,
+ ROOTDIR_INITRD_I,
+ ROOTDIR_MESSAGE_I,
+};
#define ROOTDIR_SERIAL_COM_I 0x80
#define ROOTDIR_FRAMEBUFFER_I 0x81