blob: 7a41b9a83031b291c49c7ad0cb6e395e4431affb [file] [log] [blame]
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +01001#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 Filho9ee60e92018-07-23 18:56:56 +010010bool load_primary(const struct memiter *cpio, size_t kernel_arg,
11 struct memiter *initrd);
12bool load_secondary(const struct memiter *cpio, uint64_t mem_begin,
13 uint64_t *mem_end);
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +010014
15#endif /* _LOAD_H */