2019-05-13 20:14:02 +08:00
|
|
|
/*
|
2022-04-05 18:59:24 +08:00
|
|
|
* Copyright (C) 2019 Intel Corporation.
|
2019-05-13 20:14:02 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
*/
|
|
|
|
|
2021-08-03 20:44:38 +08:00
|
|
|
#ifndef VBOOT_H
|
2019-05-13 20:14:02 +08:00
|
|
|
|
2021-08-03 20:44:38 +08:00
|
|
|
#define VBOOT_H
|
2019-05-13 20:14:02 +08:00
|
|
|
|
|
|
|
int32_t init_vm_boot_info(struct acrn_vm *vm);
|
2021-08-09 16:36:24 +08:00
|
|
|
void load_sw_module(struct acrn_vm *vm, struct sw_module_info *sw_module);
|
|
|
|
|
|
|
|
#ifdef CONFIG_GUEST_KERNEL_BZIMAGE
|
2021-08-10 15:58:41 +08:00
|
|
|
int32_t bzimage_loader(struct acrn_vm *vm);
|
2021-08-09 16:36:24 +08:00
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_GUEST_KERNEL_RAWIMAGE
|
2021-08-10 15:58:41 +08:00
|
|
|
int32_t rawimage_loader(struct acrn_vm *vm);
|
2021-08-09 16:36:24 +08:00
|
|
|
#endif
|
2021-08-12 15:34:10 +08:00
|
|
|
#ifdef CONFIG_GUEST_KERNEL_ELF
|
|
|
|
int32_t elf_loader(struct acrn_vm *vm);
|
|
|
|
#endif
|
2019-05-13 20:14:02 +08:00
|
|
|
|
2021-08-03 20:44:38 +08:00
|
|
|
#endif /* end of include guard: VBOOT_H */
|