blob: 5e4ead3560c87d2737370036f2eb93cbc7f7f5f7 [file] [log] [blame]
Andrew Scullfbc938a2018-08-20 14:09:28 +01001#pragma once
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +01002
3#include <stddef.h>
4#include <stdint.h>
5
Andrew Scull18c78fc2018-08-20 12:57:41 +01006#include "hf/cpio.h"
7#include "hf/memiter.h"
8#include "hf/mm.h"
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +01009
Wedson Almeida Filho9ee60e92018-07-23 18:56:56 +010010bool load_primary(const struct memiter *cpio, size_t kernel_arg,
11 struct memiter *initrd);
Andrew Scull265ada92018-07-30 15:19:01 +010012bool load_secondary(const struct memiter *cpio, paddr_t mem_begin,
13 paddr_t *mem_end);