blob: ba67f387a00789b95aa540e38a30e07a15876773 [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
Andrew Scull18c78fc2018-08-20 12:57:41 +01007#include "hf/cpio.h"
8#include "hf/memiter.h"
9#include "hf/mm.h"
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +010010
Wedson Almeida Filho9ee60e92018-07-23 18:56:56 +010011bool load_primary(const struct memiter *cpio, size_t kernel_arg,
12 struct memiter *initrd);
Andrew Scull265ada92018-07-30 15:19:01 +010013bool load_secondary(const struct memiter *cpio, paddr_t mem_begin,
14 paddr_t *mem_end);
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +010015
16#endif /* _LOAD_H */