aboutsummaryrefslogtreecommitdiff
path: root/include/apos/initrd.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-12-19 19:13:41 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2021-12-19 19:13:41 +0200
commit98255910aa82c27d04ba79704086eca2310b3075 (patch)
treef588fc5d75d458d93d44993fecbaf232a74da3a4 /include/apos/initrd.h
parent9966b49db468de0168c7a455dfb5b4c66c413c4d (diff)
downloadkmi-98255910aa82c27d04ba79704086eca2310b3075.tar.gz
kmi-98255910aa82c27d04ba79704086eca2310b3075.zip
Add cpio newc format reader
+ Still need to actually add in an initrd that uses the format :D
Diffstat (limited to 'include/apos/initrd.h')
-rw-r--r--include/apos/initrd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/apos/initrd.h b/include/apos/initrd.h
index 942875f..1e1129c 100644
--- a/include/apos/initrd.h
+++ b/include/apos/initrd.h
@@ -2,8 +2,12 @@
#define APOS_INITRD_H
#include <apos/types.h>
+#include <apos/pmem.h>
size_t get_init_size(void *fdt);
-void move_init(void *fdt, void *target, size_t sz);
+void move_init(void *fdt, void *target);
+
+pm_t get_initrdtop(void *fdt);
+pm_t get_initrdbase(void *fdt);
#endif /* APOS_INITRD_H */