mirror of https://github.com/acidanthera/audk.git
ArmVirtPkg/HighMemDxe: allow patchable PCD for PcdSystemMemoryBase
Redefine the reference to PcdSystemMemoryBase in HighMemDxe.inf as a plain [Pcd] rather than [FixedPcd] (and fix up the code as appropriate). This allows us to align ArmVirtQemuKernel with ArmVirtQemu, given that the former uses a patchable PCD not a fixed PCD. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
4c33f8b190
commit
cb9f629e88
|
@ -74,7 +74,7 @@ InitializeHighMemDxe (
|
|||
CurBase = fdt64_to_cpu (((UINT64 *)RegProp)[0]);
|
||||
CurSize = fdt64_to_cpu (((UINT64 *)RegProp)[1]);
|
||||
|
||||
if (FixedPcdGet64 (PcdSystemMemoryBase) != CurBase) {
|
||||
if (PcdGet64 (PcdSystemMemoryBase) != CurBase) {
|
||||
Status = gDS->AddMemorySpace (
|
||||
EfiGcdMemoryTypeSystemMemory,
|
||||
CurBase, CurSize,
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
[Guids]
|
||||
gFdtHobGuid
|
||||
|
||||
[FixedPcd]
|
||||
[Pcd]
|
||||
gArmTokenSpaceGuid.PcdSystemMemoryBase
|
||||
|
||||
[Depex]
|
||||
|
|
Loading…
Reference in New Issue