summaryrefslogtreecommitdiff
path: root/ArmPkg/Drivers/CpuPei/CpuPei.c
diff options
context:
space:
mode:
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;