UINT64 SpPcpuStackSize;\r
UINT64 SpHeapSize;\r
UINT64 SpNsCommBufSize;\r
- UINT64 SpPcpuSharedBufSize;\r
+ UINT64 SpSharedBufSize;\r
UINT32 NumSpMemRegions;\r
UINT32 NumCpus;\r
EFI_SECURE_PARTITION_CPU_INFO *CpuInfo;\r
// 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
DEBUG ((DEBUG_INFO, "SpPcpuStackSize - 0x%x\n", PayloadBootInfo->SpPcpuStackSize));\r
DEBUG ((DEBUG_INFO, "SpHeapSize - 0x%x\n", PayloadBootInfo->SpHeapSize));\r
DEBUG ((DEBUG_INFO, "SpNsCommBufSize - 0x%x\n", PayloadBootInfo->SpNsCommBufSize));\r
- DEBUG ((DEBUG_INFO, "SpPcpuSharedBufSize - 0x%x\n", PayloadBootInfo->SpPcpuSharedBufSize));\r
+ DEBUG ((DEBUG_INFO, "SpSharedBufSize - 0x%x\n", PayloadBootInfo->SpSharedBufSize));\r
\r
DEBUG ((DEBUG_INFO, "NumCpus - 0x%x\n", PayloadBootInfo->NumCpus));\r
DEBUG ((DEBUG_INFO, "CpuInfo - 0x%p\n", PayloadBootInfo->CpuInfo));\r