blob: d1f239c291649393e58a6ca2435afb790780215f [file] [log] [blame]
#pragma once
#include <stddef.h>
#include <stdint.h>
#include "hf/boot_params.h"
#include "hf/cpio.h"
#include "hf/memiter.h"
#include "hf/mm.h"
bool load_primary(const struct memiter *cpio, size_t kernel_arg,
struct memiter *initrd);
bool load_secondary(const struct memiter *cpio,
const struct boot_params *params,
struct boot_params_update *update);