mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-23 14:07:42 +00:00
hv: restore the hypervisor 64-bit entry address for efi-stub
EFI-stub is required again to support secure boot on certain platform. Tracked-On: #6078 Signed-off-by: Toshiki Nishioka <toshiki.nishioka@intel.com> Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
This commit is contained in:
parent
d81898f4eb
commit
8f640c61ae
@ -216,7 +216,15 @@ jmpbuf_32:
|
|||||||
/* 0x0008 = HOST_GDT_RING0_CODE_SEL */
|
/* 0x0008 = HOST_GDT_RING0_CODE_SEL */
|
||||||
.word 0x0008
|
.word 0x0008
|
||||||
|
|
||||||
|
.org 0x200
|
||||||
.code64
|
.code64
|
||||||
|
.global cpu_primary_start_64
|
||||||
|
|
||||||
|
cpu_primary_start_64:
|
||||||
|
lea boot_regs(%rip), %rax
|
||||||
|
movl %edi, (%rax)
|
||||||
|
movl %esi, 4(%rax)
|
||||||
|
|
||||||
primary_start_long_mode:
|
primary_start_long_mode:
|
||||||
|
|
||||||
/* Initialize temporary stack pointer, size = 0x1000 */
|
/* Initialize temporary stack pointer, size = 0x1000 */
|
||||||
|
Loading…
Reference in New Issue
Block a user