mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
hv: efi_context refine
For SBL platform, struct acrn_vcpu_regs are used as boot context. Now the boot_ctx is only for UEFI platform. Rename struct boot_ctx to efi_context. Tracked-On: #1231 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
@@ -85,15 +85,13 @@ struct acrn_vcpu_regs {
|
||||
uint16_t reserved_16[4];
|
||||
};
|
||||
|
||||
struct boot_ctx {
|
||||
struct acrn_vcpu_regs vcpu_regs;
|
||||
#ifdef CONFIG_EFI_STUB
|
||||
struct efi_context {
|
||||
struct acrn_vcpu_regs vcpu_regs;
|
||||
void *rsdp;
|
||||
void *ap_trampoline_buf;
|
||||
#endif
|
||||
}__attribute__((packed));
|
||||
|
||||
#ifdef CONFIG_EFI_STUB
|
||||
void *get_rsdp_from_uefi(void);
|
||||
void *get_ap_trampoline_buf(void);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user