1 /* 2 * Copyright (C) 2019-2022 Intel Corporation. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef VBOOT_H 8 9 #define VBOOT_H 10 11 int32_t init_vm_boot_info(struct acrn_vm *vm); 12 void load_sw_module(struct acrn_vm *vm, struct sw_module_info *sw_module); 13 14 #ifdef CONFIG_GUEST_KERNEL_BZIMAGE 15 int32_t bzimage_loader(struct acrn_vm *vm); 16 #endif 17 #ifdef CONFIG_GUEST_KERNEL_RAWIMAGE 18 int32_t rawimage_loader(struct acrn_vm *vm); 19 #endif 20 #ifdef CONFIG_GUEST_KERNEL_ELF 21 int32_t elf_loader(struct acrn_vm *vm); 22 #endif 23 24 #endif /* end of include guard: VBOOT_H */ 25