Skip to content

Commit

Permalink
Supporting full 18 registers through DIRECT_REQ2 for Standalone MM
Browse files Browse the repository at this point in the history
The existing solution for Standalone MM over FF-A does not support full 18-register
communication over FF-A.

This change updated the Standalone MM core to dispatch content with full 18 registers.

Signed-off-by: Kun Qin <[email protected]>
  • Loading branch information
kuqin12 committed Nov 26, 2024
1 parent 4b11cf2 commit 1040ad1
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
#ifndef __STANDALONEMMCORE_ENTRY_POINT_H__
#define __STANDALONEMMCORE_ENTRY_POINT_H__

#include <Library/PcdLib.h>
#include <Library/ArmSvcLib.h>
#include <Library/ArmFfaLib.h>
#include <Library/ArmFfaLibEx.h>
#include <Library/PeCoffLib.h>
#include <Library/FvLib.h>

Expand Down Expand Up @@ -136,13 +138,13 @@ typedef struct FfaMsgInfo {
*/
typedef struct {
/// Service guid
EFI_GUID HeaderGuid;
EFI_GUID HeaderGuid;

/// Length of Message. In case of misc service, sizeof (EventSvcArgs)
UINTN MessageLength;
UINTN MessageLength;

/// Delivered register values.
DIRECT_MSG_ARGS DirectMsgArgs;
DIRECT_MSG_ARGS_EX DirectMsgArgs;
} MISC_MM_COMMUNICATE_BUFFER;

typedef struct {
Expand Down

0 comments on commit 1040ad1

Please sign in to comment.