aboutsummaryrefslogtreecommitdiff
path: root/include/apos/initrd.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-12-19 17:10:36 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2021-12-19 17:10:36 +0200
commit9966b49db468de0168c7a455dfb5b4c66c413c4d (patch)
treedf31febe5e1ae52bae68ebe1df8b4469b97e0546 /include/apos/initrd.h
parent8bb1e280280c2f30740defca68ea643c56a3d880 (diff)
downloadkmi-9966b49db468de0168c7a455dfb5b4c66c413c4d.tar.gz
kmi-9966b49db468de0168c7a455dfb5b4c66c413c4d.zip
Massive changes to jump to userspace
Diffstat (limited to 'include/apos/initrd.h')
-rw-r--r--include/apos/initrd.h9
1 files changed, 9 insertions, 0 deletions
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 <apos/types.h>
+
+size_t get_init_size(void *fdt);
+void move_init(void *fdt, void *target, size_t sz);
+
+#endif /* APOS_INITRD_H */