]> git.proxmox.com Git - mirror_edk2.git/commit
StandaloneMmPkg: Fix issue about SpPcpuSharedBufSize field
authorMing Huang <huangming@linux.alibaba.com>
Fri, 31 Dec 2021 11:06:21 +0000 (19:06 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 7 Jul 2022 10:20:06 +0000 (10:20 +0000)
commit9ab18fec82249d8a3a82ec8d0c20d9f4fca68b64
treec139cae4c606e025ee144eed5fd84713f7e71f86
parentf193b945eac58ca379d3d21c77d5550b063580d6
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>
StandaloneMmPkg/Include/Library/Arm/StandaloneMmCoreEntryPoint.h
StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/CreateHobList.c
StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/StandaloneMmCoreEntryPoint.c