mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-09 00:46:57 +00:00
Boot component prepares the very basic platform boot env. It finally call into platform initilization entries: - bsp_boot_init & cpu_secondary_init for start up - or restore_s3_context for wakeup this patch is the final one, it did some code clean up and move some definition from vm0_boot.h to boot_context.h. after this patch, the boot component include files: arch/x86/boot/cpu_primary.S arch/x86/boot/trampoline.S arch/x86/boot/cpu_save_boot_ctx.S arch/x86/boot/idt.S boot/reloc.c boot/include/reloc.h include/arch/x86/boot/idt.h include/arch/x86/boot/boot_context.h Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
22 lines
396 B
C
22 lines
396 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef VM0_BOOT_H
|
|
#define VM0_BOOT_H
|
|
|
|
#ifdef CONFIG_EFI_STUB
|
|
struct efi_context {
|
|
struct acrn_vcpu_regs vcpu_regs;
|
|
void *rsdp;
|
|
void *ap_trampoline_buf;
|
|
}__attribute__((packed));
|
|
|
|
void *get_rsdp_from_uefi(void);
|
|
void *get_ap_trampoline_buf(void);
|
|
#endif
|
|
|
|
#endif /* VM0_BOOT_H */
|