diff options
| author | Yeoreum Yun <yeoreum.yun@arm.com> | 2026-09-04 17:13:06 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-30 06:44:56 +0300 |
| commit | 04c02feabade390383b616344ce8b6674727cd6b (patch) | |
| tree | 813283465d9d3f1d91ca87d7d952f1fc7e62991e /BaseTools/Source/Python/Workspace/MetaFileCommentParser.py | |
| parent | b5aea432d486ce457a77304882225b41f0aebe73 (diff) | |
| download | edk2-04c02feabade390383b616344ce8b6674727cd6b.tar.xz | |
ArmPkg/Drivers: change to proper retval for mm-communication via FF-A
Since edk2 commit 388dfe02fb9a ("StandaloneMmPkg: Add option to use..."),
MM communication through FFA_MSG_SEND_DIRECT_REQ expects an
FFA_MSG_SEND_DIRECT_RESP with the following register values:
x0 = ARM_FID_FFA_MSG_SEND_DIRECT_RESP
x1 = Source/destination partition IDs
x2 = 0x00
x3 = ARM_FID_SPM_MM_SP_EVENT_COMPLETE
x4 = ARM_SPM_MM_RET_*
The value in x4, which is returned as Arg1, must therefore be checked to
determine whether the MM communication succeeded.
Update SendFfaMmCommunicate() to convert the value returned in Arg1 into
the corresponding EFI_STATUS and return it to the caller.
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileCommentParser.py')
0 files changed, 0 insertions, 0 deletions
