summaryrefslogtreecommitdiffstats
path: root/boot/initrd.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-09-04 11:31:40 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-09-04 11:31:40 -0400
commit8251da342161767fe203627223ccd4a7026701c6 (patch)
treeaf2db0f11b0ea8ad35f88663a855bab39a80f679 /boot/initrd.h
downloadjove-kernel-8251da342161767fe203627223ccd4a7026701c6.tar.gz
jove-kernel-8251da342161767fe203627223ccd4a7026701c6.tar.bz2
jove-kernel-8251da342161767fe203627223ccd4a7026701c6.zip
initial commit. working on tasking
Diffstat (limited to 'boot/initrd.h')
-rw-r--r--boot/initrd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/boot/initrd.h b/boot/initrd.h
new file mode 100644
index 0000000..9b3bba9
--- /dev/null
+++ b/boot/initrd.h
@@ -0,0 +1,12 @@
+#ifndef _JOVE_BOOT_INITRD_H
+#define _JOVE_BOOT_INITRD_H 1
+
+#include "hal/obj.h"
+
+int initrd_file_name(jove_owned_obj_t *obj, const char **nameptr);
+int initrd_file_size(jove_owned_obj_t *obj, size_t *sizeptr);
+int initrd_file_data(jove_owned_obj_t *obj, uintptr_t *dataptr);
+
+void initrd_setup(void);
+
+#endif