Wedson Almeida Filho | fdf4afc | 2018-07-19 15:45:21 +0100 | [diff] [blame] | 1 | #ifndef _LOAD_H |
| 2 | #define _LOAD_H |
| 3 | |
| 4 | #include <stddef.h> |
| 5 | #include <stdint.h> |
| 6 | |
| 7 | #include "cpio.h" |
| 8 | #include "memiter.h" |
| 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); |
| 12 | bool load_secondary(const struct memiter *cpio, uint64_t mem_begin, |
| 13 | uint64_t *mem_end); |
Wedson Almeida Filho | fdf4afc | 2018-07-19 15:45:21 +0100 | [diff] [blame] | 14 | |
| 15 | #endif /* _LOAD_H */ |