mirror of https://github.com/acidanthera/audk.git
ArmVirtPkg/ArmVirtQemu: Disable PcdPrePiProduceMemoryTypeInformationHob for ARM
The PcdPrePiProduceMemoryTypeInformationHob on ARM breaks Linux efistub boot. The efistub for arm32 uncompresses Linux kernel into memory ranges which occupied by DXE-phase drivers which leads to 'permission denied'-error during page write. So as a temporary solution we use PcdPrePiProduceMemoryTypeInformationHob only for AARCH64 Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
This commit is contained in:
parent
a0180c022a
commit
a86d9d688e
|
@ -282,14 +282,22 @@
|
|||
[PcdsFeatureFlag.common]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
|
||||
|
||||
gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
|
||||
|
||||
[PcdsFeatureFlag.AARCH64]
|
||||
#
|
||||
# Activate AcpiSdtProtocol
|
||||
#
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
|
||||
|
||||
#
|
||||
# FIXME: The PcdPrePiProduceMemoryTypeInformationHob on ARM breaks Linux efistub boot.
|
||||
# The efistub for arm32 uncompresses Linux kernel into memory ranges which occupied
|
||||
# by DXE-phase drivers which leads to 'permission denied'-error during page write.
|
||||
#
|
||||
# So as a temporary solution we use PcdPrePiProduceMemoryTypeInformationHob
|
||||
# only for AARCH64
|
||||
#
|
||||
gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
|
||||
|
||||
[PcdsFixedAtBuild.common]
|
||||
!ifdef $(FIRMWARE_VER)
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"
|
||||
|
|
Loading…
Reference in New Issue