From 56908fd4be285b0ebb96855fe4dec1124879c5c2 Mon Sep 17 00:00:00 2001 From: Jiaxin Wu Date: Thu, 23 May 2024 14:26:37 +0800 Subject: [PATCH] StandaloneMmPkg/StandaloneMmPkg.dec: Add gEventMmDispatchGuid MmIpl shall use gEventMmDispatchGuid to initialize EFI_MM_COMMUNICATE_HEADER structure, and then communicate with MmCore to dispatch all StandaloneMm drivers in SMM environment. Signed-off-by: Jiaxin Wu Co-authored-by: Hongbin1 Zhang Cc: Jiewen Yao Co-Authored-by: Ray Ni Cc: Sami Mujawar Cc: Ard Biesheuvel Cc: Star Zeng Co-Authored-by: Wei6 Xu Cc: Dun Tan Cc: Yuanhao Xie --- StandaloneMmPkg/StandaloneMmPkg.dec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/StandaloneMmPkg/StandaloneMmPkg.dec b/StandaloneMmPkg/StandaloneMmPkg.dec index a23a0f8f2f..25e660b247 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.dec +++ b/StandaloneMmPkg/StandaloneMmPkg.dec @@ -3,6 +3,7 @@ # required by Standalone MM platform. # # Copyright (c) 2016-2021, Arm Ltd. All rights reserved.
+# Copyright (c) 2024, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -51,6 +52,8 @@ gEfiStandaloneMmNonSecureBufferGuid = { 0xf00497e3, 0xbfa2, 0x41a1, { 0x9d, 0x29, 0x54, 0xc2, 0xe9, 0x37, 0x21, 0xc5 }} gEfiMmCpuDriverEpDescriptorGuid = { 0x6ecbd5a1, 0xc0f8, 0x4702, { 0x83, 0x01, 0x4f, 0xc2, 0xc5, 0x47, 0x0a, 0x51 }} + gEventMmDispatchGuid = { 0x7e6efffa, 0x69b4, 0x4c1b, { 0xa4, 0xc7, 0xaf, 0xf9, 0xc9, 0x24, 0x4f, 0xee }} + [PcdsFixedAtBuild, PcdsPatchableInModule] ## Maximum permitted encapsulation levels of sections in a firmware volume, # in the MM phase. Minimum value is 1. Sections nested more deeply are rejected.