mirror of https://github.com/xemu-project/xemu.git
edk2: update build config, set PcdUninstallMemAttrProtocol = TRUE.
Needed to workaround buggy EFI_MEMORY_ATTRIBUTE_PROTOCOL usage in shim.efi. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
c366741258
commit
6f79fa5f09
|
@ -22,9 +22,15 @@ SMM_REQUIRE = TRUE
|
||||||
[opts.armvirt.silent]
|
[opts.armvirt.silent]
|
||||||
DEBUG_PRINT_ERROR_LEVEL = 0x80000000
|
DEBUG_PRINT_ERROR_LEVEL = 0x80000000
|
||||||
|
|
||||||
[pcds.nx.broken.grub]
|
[pcds.nx.strict]
|
||||||
|
PcdDxeNxMemoryProtectionPolicy = 0xC000000000007FD5
|
||||||
|
PcdUninstallMemAttrProtocol = FALSE
|
||||||
|
|
||||||
|
[pcds.nx.broken.shim.grub]
|
||||||
# grub.efi uses EfiLoaderData for code
|
# grub.efi uses EfiLoaderData for code
|
||||||
PcdDxeNxMemoryProtectionPolicy = 0xC000000000007FD1
|
PcdDxeNxMemoryProtectionPolicy = 0xC000000000007FD1
|
||||||
|
# shim.efi has broken MemAttr code
|
||||||
|
PcdUninstallMemAttrProtocol = TRUE
|
||||||
|
|
||||||
[pcds.workaround.202308]
|
[pcds.workaround.202308]
|
||||||
PcdFirstTimeWakeUpAPsBySipi = FALSE
|
PcdFirstTimeWakeUpAPsBySipi = FALSE
|
||||||
|
@ -95,7 +101,7 @@ conf = ArmVirtPkg/ArmVirtQemu.dsc
|
||||||
arch = ARM
|
arch = ARM
|
||||||
opts = common
|
opts = common
|
||||||
armvirt.silent
|
armvirt.silent
|
||||||
pcds = nx.broken.grub
|
pcds = nx.broken.shim.grub
|
||||||
plat = ArmVirtQemu-ARM
|
plat = ArmVirtQemu-ARM
|
||||||
dest = ../pc-bios
|
dest = ../pc-bios
|
||||||
cpy1 = FV/QEMU_EFI.fd edk2-arm-code.fd
|
cpy1 = FV/QEMU_EFI.fd edk2-arm-code.fd
|
||||||
|
@ -112,7 +118,7 @@ conf = ArmVirtPkg/ArmVirtQemu.dsc
|
||||||
arch = AARCH64
|
arch = AARCH64
|
||||||
opts = common
|
opts = common
|
||||||
armvirt.silent
|
armvirt.silent
|
||||||
pcds = nx.broken.grub
|
pcds = nx.broken.shim.grub
|
||||||
plat = ArmVirtQemu-AARCH64
|
plat = ArmVirtQemu-AARCH64
|
||||||
dest = ../pc-bios
|
dest = ../pc-bios
|
||||||
cpy1 = FV/QEMU_EFI.fd edk2-aarch64-code.fd
|
cpy1 = FV/QEMU_EFI.fd edk2-aarch64-code.fd
|
||||||
|
|
Loading…
Reference in New Issue