mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
hv: Fix typo of trampline with trampoline
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -39,20 +39,20 @@ SECTIONS
|
||||
|
||||
} > ram
|
||||
|
||||
_ld_trampline_load = .;
|
||||
_ld_trampoline_load = .;
|
||||
|
||||
.trampline : AT (_ld_trampline_load)
|
||||
.trampoline : AT (_ld_trampoline_load)
|
||||
{
|
||||
_ld_trampline_start = .;
|
||||
*(.trampline_reset);
|
||||
_ld_trampoline_start = .;
|
||||
*(.trampoline_reset);
|
||||
. = ALIGN(4);
|
||||
_ld_trampline_end = .;
|
||||
_ld_trampoline_end = .;
|
||||
|
||||
} > lowram
|
||||
|
||||
_ld_trampline_size = _ld_trampline_end - _ld_trampline_start;
|
||||
_ld_trampoline_size = _ld_trampoline_end - _ld_trampoline_start;
|
||||
|
||||
.data (_ld_trampline_load + _ld_trampline_size):
|
||||
.data (_ld_trampoline_load + _ld_trampoline_size):
|
||||
{
|
||||
*(.data) ;
|
||||
*(.data*) ;
|
||||
|
@@ -226,7 +226,7 @@ switch_to_guest_mode(EFI_HANDLE image)
|
||||
if (err != EFI_SUCCESS)
|
||||
goto out;
|
||||
|
||||
efi_ctx->ap_trampline_buf = (void *)addr;
|
||||
efi_ctx->ap_trampoline_buf = (void *)addr;
|
||||
|
||||
config_table = sys_table->ConfigurationTable;
|
||||
|
||||
|
@@ -95,7 +95,7 @@ struct e820_entry {
|
||||
struct efi_ctx {
|
||||
uint64_t rip;
|
||||
VOID *rsdp;
|
||||
VOID *ap_trampline_buf;
|
||||
VOID *ap_trampoline_buf;
|
||||
dt_addr_t gdt;
|
||||
dt_addr_t idt;
|
||||
uint16_t tr_sel;
|
||||
|
@@ -97,9 +97,9 @@ void *get_rsdp_from_uefi(void)
|
||||
return HPA2HVA(efi_ctx->rsdp);
|
||||
}
|
||||
|
||||
void *get_ap_trampline_buf(void)
|
||||
void *get_ap_trampoline_buf(void)
|
||||
{
|
||||
return efi_ctx->ap_trampline_buf;
|
||||
return efi_ctx->ap_trampoline_buf;
|
||||
}
|
||||
|
||||
static void efi_init(void)
|
||||
|
Reference in New Issue
Block a user