summaryrefslogtreecommitdiffstats
path: root/include/object.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-08-11 19:04:26 -0400
committerJon Santmyer <jon@jonsantmyer.com>2025-08-11 19:04:26 -0400
commitf466364b8a3858e7b3f19258d142851cb4a7e6d6 (patch)
treea22819dc585c44a6dd0cdd5c6856420443a031eb /include/object.h
parentc4f8ef91f18d854a4ede7a94e95b2eab898d6963 (diff)
downloadjove-kernel-f466364b8a3858e7b3f19258d142851cb4a7e6d6.tar.gz
jove-kernel-f466364b8a3858e7b3f19258d142851cb4a7e6d6.tar.bz2
jove-kernel-f466364b8a3858e7b3f19258d142851cb4a7e6d6.zip
remove _initData, replace with enum indexesmain
Diffstat (limited to 'include/object.h')
-rw-r--r--include/object.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/object.h b/include/object.h
index 190b082..94e6b15 100644
--- a/include/object.h
+++ b/include/object.h
@@ -3,9 +3,16 @@
#include <stdint.h>
-#if defined(__x86_64__)
-#include "arch/x86_64/object.h"
-#endif
+enum {
+ INIT_OBJECT_ROOTDIR = 0,
+ INIT_OBJECT_PAGEMAP,
+ INIT_OBJECT_PROCESSOR_DIR,
+ INIT_OBJECT_UNTYPED_DIR,
+ INIT_OBJECT_INITRD_DIR,
+ INIT_OBJECT_TCB,
+ INIT_OBJECT_MESSAGE,
+ INIT_OBJECT_LOG
+};
enum
{