summaryrefslogtreecommitdiffstats
path: root/StandaloneMmPkg/Include
diff options
context:
space:
mode:
authorMing Huang <huangming@linux.alibaba.com>2021-12-31 19:06:21 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-07-07 10:20:06 +0000
commit9ab18fec82249d8a3a82ec8d0c20d9f4fca68b64 (patch)
treec139cae4c606e025ee144eed5fd84713f7e71f86 /StandaloneMmPkg/Include
parentf193b945eac58ca379d3d21c77d5550b063580d6 (diff)
downloadedk2-9ab18fec82249d8a3a82ec8d0c20d9f4fca68b64.tar.gz
edk2-9ab18fec82249d8a3a82ec8d0c20d9f4fca68b64.tar.bz2
edk2-9ab18fec82249d8a3a82ec8d0c20d9f4fca68b64.zip
StandaloneMmPkg: Fix issue about SpPcpuSharedBufSize field
TF-A: TrustedFirmware-A SPM: Secure Partition Manager(MM) In TF-A, the name of this field is sp_shared_buf_size. This field is the size of range for transmit data from TF-A to standaloneMM when SPM enable. SpPcpuSharedBufSize is pass from TF-A while StandaloneMM initialize. So, SpPcpuSharedBufSize should be rename to SpSharedBufSize and this field should no multiply by PayloadBootInfo->NumCpus; Signed-off-by: Ming Huang <huangming@linux.alibaba.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'StandaloneMmPkg/Include')
-rw-r--r--StandaloneMmPkg/Include/Library/Arm/StandaloneMmCoreEntryPoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/StandaloneMmPkg/Include/Library/Arm/StandaloneMmCoreEntryPoint.h b/StandaloneMmPkg/Include/Library/Arm/StandaloneMmCoreEntryPoint.h
index 4593609dfc..41bf0f132b 100644
--- a/StandaloneMmPkg/Include/Library/Arm/StandaloneMmCoreEntryPoint.h
+++ b/StandaloneMmPkg/Include/Library/Arm/StandaloneMmCoreEntryPoint.h
@@ -41,7 +41,7 @@ typedef struct {
UINT64 SpPcpuStackSize;
UINT64 SpHeapSize;
UINT64 SpNsCommBufSize;
- UINT64 SpPcpuSharedBufSize;
+ UINT64 SpSharedBufSize;
UINT32 NumSpMemRegions;
UINT32 NumCpus;
EFI_SECURE_PARTITION_CPU_INFO *CpuInfo;