Andrew Scull | fbc938a | 2018-08-20 14:09:28 +0100 | [diff] [blame] | 1 | #pragma once |
Wedson Almeida Filho | fdf4afc | 2018-07-19 15:45:21 +0100 | [diff] [blame] | 2 | |
| 3 | #include <stddef.h> |
| 4 | #include <stdint.h> |
| 5 | |
Andrew Walbran | 34ce72e | 2018-09-13 16:47:44 +0100 | [diff] [blame] | 6 | #include "hf/boot_params.h" |
Andrew Scull | 18c78fc | 2018-08-20 12:57:41 +0100 | [diff] [blame] | 7 | #include "hf/cpio.h" |
| 8 | #include "hf/memiter.h" |
| 9 | #include "hf/mm.h" |
Wedson Almeida Filho | fdf4afc | 2018-07-19 15:45:21 +0100 | [diff] [blame] | 10 | |
Wedson Almeida Filho | 9ee60e9 | 2018-07-23 18:56:56 +0100 | [diff] [blame] | 11 | bool load_primary(const struct memiter *cpio, size_t kernel_arg, |
| 12 | struct memiter *initrd); |
Andrew Walbran | 34ce72e | 2018-09-13 16:47:44 +0100 | [diff] [blame] | 13 | bool load_secondary(const struct memiter *cpio, |
| 14 | const struct boot_params *params, |
| 15 | struct boot_params_update *update); |