audk/ArmPlatformPkg/Library
Ard Biesheuvel f8d7d6e151 ArmPkg,ArmPlatformPkg: Allow dynamic PCDs for memory base and size
This changes the definition and a bunch of references to
gArmTokenSpaceGuid.PcdSystemMemoryBase and
gArmTokenSpaceGuid.PcdSystemMemorySize so they can be declared as dynamic PCDs
by the platform. Also, move the non-SEC call to
ArmPlatformInitializeSystemMemory() earlier, so a platform has a chance to set
these PCDs before they are first referenced.

The purpose is allowing dynamically instantiated virtual machines to declare
the system memory by passing a device tree.

Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16079 6f19259b-4bc3-4df7-8a09-765794883524
2014-09-09 16:11:30 +00:00
..
ArmPlatformGlobalVariableLib ArmPkg,ArmPlatformPkg: Allow dynamic PCDs for memory base and size 2014-09-09 16:11:30 +00:00
ArmPlatformLibNull ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
ArmPlatformSecLibNull ARM Packages: Removed unused PcdArmPrimaryCore 2014-09-01 17:41:38 +00:00
ArmPlatformStackLib ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
ArmTrustedMonitorLibNull ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
DebugSecExtraActionLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
EblCmdLib ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
L2X0CacheLibNull ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
PL011SerialPortLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
PL031RealTimeClockLib ArmPlatformPkg/PL031RealTimeClock: Fixed driver to support UEFI Runtime Services 2014-04-08 17:59:00 +00:00
PeiServicesTablePointerLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
PrePiHobListPointerLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
SP804TimerLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00