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 Scull | 18c78fc | 2018-08-20 12:57:41 +0100 | [diff] [blame] | 6 | #include "hf/cpio.h" |
| 7 | #include "hf/memiter.h" |
| 8 | #include "hf/mm.h" |
Wedson Almeida Filho | fdf4afc | 2018-07-19 15:45:21 +0100 | [diff] [blame] | 9 | |
Wedson Almeida Filho | 9ee60e9 | 2018-07-23 18:56:56 +0100 | [diff] [blame] | 10 | bool load_primary(const struct memiter *cpio, size_t kernel_arg, |
| 11 | struct memiter *initrd); |
Andrew Scull | 265ada9 | 2018-07-30 15:19:01 +0100 | [diff] [blame] | 12 | bool load_secondary(const struct memiter *cpio, paddr_t mem_begin, |
| 13 | paddr_t *mem_end); |