From 9966b49db468de0168c7a455dfb5b4c66c413c4d Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 19 Dec 2021 17:10:36 +0200 Subject: Massive changes to jump to userspace --- include/apos/initrd.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/apos/initrd.h (limited to 'include/apos/initrd.h') diff --git a/include/apos/initrd.h b/include/apos/initrd.h new file mode 100644 index 0000000..942875f --- /dev/null +++ b/include/apos/initrd.h @@ -0,0 +1,9 @@ +#ifndef APOS_INITRD_H +#define APOS_INITRD_H + +#include + +size_t get_init_size(void *fdt); +void move_init(void *fdt, void *target, size_t sz); + +#endif /* APOS_INITRD_H */ -- cgit v1.3