audk/ArmPkg/Library/BdsLib
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
..
AArch64 ArmPkg/BdsLib: Removed PSCI discoverability from the Linux loader 2014-07-15 09:21:41 +00:00
Arm ArmPkg/BdsLib/Arm: Check Linux image and parameters are not overlapping 2014-09-01 13:24:01 +00:00
BdsAppLoader.c ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
BdsFilePath.c ArmPkg/BdsLib: Prevent a hang in BdsConnectDevicePath() when a sub-device path is not found 2014-08-19 13:35:14 +00:00
BdsHelper.c ArmPkg/BdsLib: Prevent a hang in BdsConnectDevicePath() when a sub-device path is not found 2014-08-19 13:35:14 +00:00
BdsInternal.h ArmPkg/BdsLib: Prevent a hang in BdsConnectDevicePath() when a sub-device path is not found 2014-08-19 13:35:14 +00:00
BdsLib.inf ArmPkg,ArmPlatformPkg: Allow dynamic PCDs for memory base and size 2014-09-09 16:11:30 +00:00
BdsLinuxFdt.c ArmPkg/BdsLib: Removed PSCI discoverability from the Linux loader 2014-07-15 09:21:41 +00:00
BdsLinuxLoader.h ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
BdsLoadOption.c ArmPkg: Introduce GetGlobalEnvironmentVariable() function. 2013-03-12 00:42:59 +00:00