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>
CurBase = fdt64_to_cpu (((UINT64 *)RegProp)[0]);\r
CurSize = fdt64_to_cpu (((UINT64 *)RegProp)[1]);\r
\r
- if (FixedPcdGet64 (PcdSystemMemoryBase) != CurBase) {\r
+ if (PcdGet64 (PcdSystemMemoryBase) != CurBase) {\r
Status = gDS->AddMemorySpace (\r
EfiGcdMemoryTypeSystemMemory,\r
CurBase, CurSize,\r
[Guids]\r
gFdtHobGuid\r
\r
-[FixedPcd]\r
+[Pcd]\r
gArmTokenSpaceGuid.PcdSystemMemoryBase\r
\r
[Depex]\r