]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/CreateHobList.c
StandaloneMmPkg: Fix issue about SpPcpuSharedBufSize field
[mirror_edk2.git] / StandaloneMmPkg / Library / StandaloneMmCoreEntryPoint / Arm / CreateHobList.c
index eb0c1f82db23c8dd30d3119b6c8b6e79d393fb96..2ac2d354f06adba7259f75f242937938a76b8e27 100644 (file)
@@ -173,7 +173,7 @@ CreateHobListFromBootInfo (
   // Base and size of buffer shared with privileged Secure world software\r
   MmramRanges[1].PhysicalStart = PayloadBootInfo->SpSharedBufBase;\r
   MmramRanges[1].CpuStart      = PayloadBootInfo->SpSharedBufBase;\r
-  MmramRanges[1].PhysicalSize  = PayloadBootInfo->SpPcpuSharedBufSize * PayloadBootInfo->NumCpus;\r
+  MmramRanges[1].PhysicalSize  = PayloadBootInfo->SpSharedBufSize;\r
   MmramRanges[1].RegionState   = EFI_CACHEABLE | EFI_ALLOCATED;\r
 \r
   // Base and size of buffer used for synchronous communication with Normal\r