From 98255910aa82c27d04ba79704086eca2310b3075 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 19 Dec 2021 19:13:41 +0200 Subject: Add cpio newc format reader + Still need to actually add in an initrd that uses the format :D --- include/apos/initrd.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/apos/initrd.h') 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 +#include 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 */ -- cgit v1.3