blob: 5b12ce70c1962215771b6a81ad4fff530a4d397a [file] [log] [blame]
Andrew Scull18834872018-10-12 11:48:09 +01001/*
Andrew Walbran692b3252019-03-07 15:51:31 +00002 * Copyright 2018 The Hafnium Authors.
Andrew Scull18834872018-10-12 11:48:09 +01003 *
Andrew Walbrane959ec12020-06-17 15:01:09 +01004 * Use of this source code is governed by a BSD-style
5 * license that can be found in the LICENSE file or at
6 * https://opensource.org/licenses/BSD-3-Clause.
Andrew Scull18834872018-10-12 11:48:09 +01007 */
8
Andrew Scullfbc938a2018-08-20 14:09:28 +01009#pragma once
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +010010
11#include <stddef.h>
12#include <stdint.h>
13
Andrew Walbran34ce72e2018-09-13 16:47:44 +010014#include "hf/boot_params.h"
Andrew Scull18c78fc2018-08-20 12:57:41 +010015#include "hf/cpio.h"
David Brazdil0dbb41f2019-09-09 18:03:35 +010016#include "hf/manifest.h"
Andrew Scull18c78fc2018-08-20 12:57:41 +010017#include "hf/memiter.h"
18#include "hf/mm.h"
Wedson Almeida Filho22d5eaa2018-12-16 00:38:49 +000019#include "hf/mpool.h"
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +010020
Andrew Scull72b43c02019-09-18 13:53:45 +010021bool load_vms(struct mm_stage1_locked stage1_locked,
22 const struct manifest *manifest, const struct memiter *cpio,
23 const struct boot_params *params,
24 struct boot_params_update *update, struct mpool *ppool);