aboutsummaryrefslogtreecommitdiff
path: root/include/apos/initrd.h
diff options
context:
space:
mode:
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
index d38e669..3a4f3c5 100644
--- a/include/apos/initrd.h
+++ b/include/apos/initrd.h
@@ -42,4 +42,13 @@ pm_t get_initrdtop(const void *fdt);
*/
pm_t get_initrdbase(const void *fdt);
+/**
+ * Move \c init program to some other region in memory.
+ *
+ * @param fdt Global FDT pointer.
+ * @param target Where to move to.
+ * @return OK on success.
+ */
+stat_t move_init(const void *fdt, void *target);
+
#endif /* APOS_INITRD_H */