blob: d1f239c291649393e58a6ca2435afb790780215f [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 Walbran34ce72e2018-09-13 16:47:44 +01006#include "hf/boot_params.h"
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 Walbran34ce72e2018-09-13 16:47:44 +010013bool load_secondary(const struct memiter *cpio,
14 const struct boot_params *params,
15 struct boot_params_update *update);