diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-06-01 22:34:31 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-06-01 22:34:31 +0300 |
| commit | b5e6a74635eba8e6c5fe0a614c6f578380fb1196 (patch) | |
| tree | 994be097e18720c0062014db255ad8c06538641a /include/apos/initrd.h | |
| parent | 6295648f04d1d5d7e8b99d3fdaa8d497406eadf9 (diff) | |
| download | kmi-b5e6a74635eba8e6c5fe0a614c6f578380fb1196.tar.gz kmi-b5e6a74635eba8e6c5fe0a614c6f578380fb1196.zip | |
continue documentation
Diffstat (limited to 'include/apos/initrd.h')
| -rw-r--r-- | include/apos/initrd.h | 9 |
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 */ |
