summaryrefslogtreecommitdiff
path: root/ArmPkg/Drivers/CpuPei/CpuPei.c
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-20 21:33:56 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-20 21:33:56 +0000
commit149daa615f6225740549b5516fc1cd8627cae23f (patch)
tree272cab561904087eaaee5d3ff7ac88715bb3173a /ArmPkg/Drivers/CpuPei/CpuPei.c
parentfbcd5cea83f1142ef4127bfd0498c0069f5f0157 (diff)
downloadedk2-platforms-149daa615f6225740549b5516fc1cd8627cae23f.tar.xz
ArmPkg/CpuPei: Declare the CPU HOB
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11862 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Drivers/CpuPei/CpuPei.c')
-rwxr-xr-xArmPkg/Drivers/CpuPei/CpuPei.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ArmPkg/Drivers/CpuPei/CpuPei.c b/ArmPkg/Drivers/CpuPei/CpuPei.c
index d06ecd743e..0a97745fa3 100755
--- a/ArmPkg/Drivers/CpuPei/CpuPei.c
+++ b/ArmPkg/Drivers/CpuPei/CpuPei.c
@@ -163,6 +163,9 @@ Returns:
// Enable program flow prediction, if supported.
ArmEnableBranchPrediction ();
+ // publish the CPU memory and io spaces sizes
+ BuildCpuHob (PcdGet8 (PcdPrePiCpuMemorySize), PcdGet8 (PcdPrePiCpuIoSize));
+
ConfigureMmu();
return EFI_SUCCESS;