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:
Yifan Liu 2021-05-26 02:05:38 +09:00 committed by wenlingz
parent d81898f4eb
commit 8f640c61ae

View File

@ -216,7 +216,15 @@ jmpbuf_32:
/* 0x0008 = HOST_GDT_RING0_CODE_SEL */
.word 0x0008
.code64
.org 0x200
.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:
/* Initialize temporary stack pointer, size = 0x1000 */