diff options
author | Wei6 Xu <wei6.xu@intel.com> | 2024-05-13 23:51:45 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-28 15:25:27 +0000 |
commit | 24e41d1fa3e08972ced64617df651b105411e13a (patch) | |
tree | 15a963691f1c51f931fe3a030131969d3b2483c3 /StandaloneMmPkg/Core/StandaloneMmCore.inf | |
parent | 68487b4736291e3f3efc5181e1b13d0b63bffe80 (diff) | |
download | edk2-24e41d1fa3e08972ced64617df651b105411e13a.tar.gz edk2-24e41d1fa3e08972ced64617df651b105411e13a.tar.bz2 edk2-24e41d1fa3e08972ced64617df651b105411e13a.zip |
StandaloneMmPkg/Core: Introduce MM Communication Buffer
Get the MM Communication context from the MM Communication Buffer,
instead of the pointer inside gMmCorePrivate.
In the MmEntryPoint, check IsCommBufferValid from MM_COMM_BUFFER to
decide whether the MMI is Synchronous MMI or Asynchronous MMI. If it
is a Synchronous MMI, MM Core shadows the communication buffer into
a internal copy, then invokes the MMI handlers, lastly copies data
back to the MM Communication Buffer and set the return status.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Signed-off-by: Wei6 Xu <wei6.xu@intel.com>
Diffstat (limited to 'StandaloneMmPkg/Core/StandaloneMmCore.inf')
-rw-r--r-- | StandaloneMmPkg/Core/StandaloneMmCore.inf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.inf b/StandaloneMmPkg/Core/StandaloneMmCore.inf index 8cc9638db5..726a946883 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.inf +++ b/StandaloneMmPkg/Core/StandaloneMmCore.inf @@ -76,6 +76,7 @@ gEfiEventLegacyBootGuid
gEfiEventExitBootServicesGuid
gEfiEventReadyToBootGuid
+ gMmCommBufferHobGuid
[Pcd]
gStandaloneMmPkgTokenSpaceGuid.PcdFwVolMmMaxEncapsulationDepth ##CONSUMES
|