mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 18:27:18 +00:00
HV: init efi info with multiboot2
Initialize efi info of acrn mbi when boot from multiboot2 protocol, with this patch hypervisor could get host efi info and pass it to Linux zeropage, then make guest Linux possible to boot with efi environment; Tracked-On: #4419 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -63,6 +63,8 @@ info_req_tag_start:
|
||||
.long MULTIBOOT2_TAG_TYPE_MMAP
|
||||
.long MULTIBOOT2_TAG_TYPE_MODULE
|
||||
.long MULTIBOOT2_TAG_TYPE_ACPI_NEW
|
||||
.long MULTIBOOT2_TAG_TYPE_EFI64
|
||||
.long MULTIBOOT2_TAG_TYPE_EFI_MMAP
|
||||
info_req_tag_end:
|
||||
|
||||
.align MULTIBOOT2_TAG_ALIGN
|
||||
@@ -246,3 +248,9 @@ cpu_primary32_pdt_addr:
|
||||
.quad address + 0x83
|
||||
address = address + 0x200000
|
||||
.endr
|
||||
|
||||
#ifdef CONFIG_MULTIBOOT2
|
||||
.global efiloader_sig
|
||||
efiloader_sig:
|
||||
.asciz "EL64"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user