mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-24 18:27:49 +02:00
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
6c9cb4f420
commit
b4167ccdd4
@ -278,14 +278,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]
|
||||
gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
|
||||
gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
|
||||
|
Loading…
x
Reference in New Issue
Block a user