From b5e6a74635eba8e6c5fe0a614c6f578380fb1196 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Wed, 1 Jun 2022 22:34:31 +0300 Subject: continue documentation --- include/apos/initrd.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/apos/initrd.h') 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 */ -- cgit v1.3