Skip to content

Commit 2fb024f

Browse files
mebersolVivianNK
andauthored
ArmPkg: Fix call to BuildCpuHob in CpuPei.c (#295)
## Description Fix CpuPei.c for aarch64. Change function signature for ArmGetPhysicalAddressBits. - [ ] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested Validated handoff on virtual platform bringup ## Integration Instructions N/A --------- Co-authored-by: Vivian Nowka-Keane <[email protected]>
1 parent 1ad3ff0 commit 2fb024f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ArmPkg/Drivers/CpuPei/CpuPei.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ InitializeCpuPeim (
138138
ArmEnableBranchPrediction ();
139139

140140
// Publish the CPU memory and io spaces sizes
141-
BuildCpuHob (ArmGetPhysicalAddressBits (), PcdGet8 (PcdPrePiCpuIoSize));
141+
BuildCpuHob ((UINT8)ArmGetPhysicalAddressBits (), PcdGet8 (PcdPrePiCpuIoSize)); // MU_CHANGE Add typecast
142142

143143
// Only MP Core platform need to produce gArmMpCoreInfoPpiGuid
144144
Status = PeiServicesLocatePpi (&gArmMpCoreInfoPpiGuid, 0, NULL, (VOID **)&ArmMpCoreInfoPpi);

0 commit comments

Comments
 (0)