On 09/08/15 19:35, Ard Biesheuvel wrote: > When executing on a LPAE capable 32-bit ARM platform, we support > up to 40 bits of physical address space so set PcdPrePiCpuMemorySize > accordingly. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Ard Biesheuvel <[email protected]> > --- > ArmVirtPkg/ArmVirt.dsc.inc | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc > index b49c1bfb8b04..c1b78be84e74 100644 > --- a/ArmVirtPkg/ArmVirt.dsc.inc > +++ b/ArmVirtPkg/ArmVirt.dsc.inc > @@ -371,6 +371,9 @@ [PcdsFixedAtBuild.common] > gArmVirtTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x80, 0x6d, 0x91, 0x7d, > 0xb1, 0x5b, 0x8c, 0x45, 0xa4, 0x8f, 0xe2, 0x5f, 0xdd, 0x51, 0xef, 0x94} > !endif > > +[PcdsFixedAtBuild.ARM] > + gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|40 > + > [Components.common] > # > # Networking stack >
Right, the "ArmPkg/Drivers/CpuPei/CpuPei.inf" builds the CPU HOB based on this, and then the DXE core determines the size of the GCD Memory Space Map's first (= "all is nonexistent") entry from that. Plus, you probably don't have to care about any size increase in page tables that are allocated from the permanent PEI RAM (cf. SVN rev 17719). Reviewed-by: Laszlo Ersek <[email protected]> _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

