summaryrefslogtreecommitdiffstats
path: root/init.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-09-04 19:18:23 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-09-04 19:18:23 -0400
commit1768abb217f974cf96448ee847453b604800c546 (patch)
tree2dccae458433118e02d25d82a66052a747c59c51 /init.h
parent8251da342161767fe203627223ccd4a7026701c6 (diff)
downloadjove-kernel-1768abb217f974cf96448ee847453b604800c546.tar.gz
jove-kernel-1768abb217f974cf96448ee847453b604800c546.tar.bz2
jove-kernel-1768abb217f974cf96448ee847453b604800c546.zip
add generic initrd seek function. begin work on init loading
Diffstat (limited to 'init.h')
-rw-r--r--init.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/init.h b/init.h
index c361d0b..8447b26 100644
--- a/init.h
+++ b/init.h
@@ -4,12 +4,15 @@
extern void *_rootdir_obj;
#define ROOTDIR_PROCESSORS_I 0x0
-#define ROOTDIR_UNTYPED_I 0x01
-#define ROOTDIR_PCB_I 0x02
-#define ROOTDIR_INITRD_I 0x03
+#define ROOTDIR_PAGEDIR_I 0x01
+#define ROOTDIR_UNTYPED_I 0x02
+#define ROOTDIR_PCB_I 0x03
+#define ROOTDIR_INITRD_I 0x04
#define ROOTDIR_SERIAL_COM_I 0x80
#define ROOTDIR_FRAMEBUFFER_I 0x81
#define ROOTDIR_VIRTTERM_I 0x82
+void init_setup(void);
+
#endif