1 /*
2  * Copyright 2018 The Hafnium Authors.
3  *
4  * 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.
7  */
8 
9 #pragma once
10 
11 #include <stddef.h>
12 #include <stdint.h>
13 
14 #include "hf/boot_params.h"
15 #include "hf/cpio.h"
16 #include "hf/manifest.h"
17 #include "hf/memiter.h"
18 #include "hf/mm.h"
19 #include "hf/mpool.h"
20 
21 bool 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);
25