public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Add MM Configuration PPI definition to MdePkg
@ 2021-06-18  9:48 Kun Qin
  2021-06-18  9:48 ` [PATCH v1 1/2] MdePkg: MmConfiguration: Moved EFI_MM_RESERVED_MMRAM_REGION to PiMmCis.h Kun Qin
  2021-06-18  9:48 ` [PATCH v1 2/2] MdePkg: MmConfiguration: Added definition of MM Configuration PPI Kun Qin
  0 siblings, 2 replies; 5+ messages in thread
From: Kun Qin @ 2021-06-18  9:48 UTC (permalink / raw)
  To: devel; +Cc: Michael D Kinney, Liming Gao, Zhiguang Liu, Michael Kubacki

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3440

EFI_PEI_MM_CONFIGURATION_PPI is defined since PI spec v1.5. This patch
series added the interface definition and related GUIDs into MdePkg. 

On the other hand, EFI_MM_RESERVED_MMRAM_REGION is referenced by both
MM Configuration PPI and Protocol definitions, but currently defined in
Protocol/MmConfiguration.h. To avoid data strcuture entanglement during
usage, the EFI_MM_RESERVED_MMRAM_REGION definition is moved to PiMmCis.h
for common access for both MM Configuration PPI and Protocol.

Patch v1 branch: https://github.com/kuqin12/edk2/tree/mm_config_ppi_v1

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>

Kun Qin (2):
  MdePkg: MmConfiguration: Moved EFI_MM_RESERVED_MMRAM_REGION to
    PiMmCis.h
  MdePkg: MmConfiguration: Added definition of MM Configuration PPI

 MdePkg/Include/Pi/PiMmCis.h               | 16 +++++
 MdePkg/Include/Ppi/MmConfiguration.h      | 62 ++++++++++++++++++++
 MdePkg/Include/Protocol/MmConfiguration.h | 16 -----
 MdePkg/MdePkg.dec                         |  3 +
 4 files changed, 81 insertions(+), 16 deletions(-)
 create mode 100644 MdePkg/Include/Ppi/MmConfiguration.h

-- 
2.31.1.windows.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-24  0:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-18  9:48 [PATCH v1 0/2] Add MM Configuration PPI definition to MdePkg Kun Qin
2021-06-18  9:48 ` [PATCH v1 1/2] MdePkg: MmConfiguration: Moved EFI_MM_RESERVED_MMRAM_REGION to PiMmCis.h Kun Qin
2021-06-21  1:22   ` 回复: [edk2-devel] " gaoliming
2021-06-24  0:54     ` Kun Qin
2021-06-18  9:48 ` [PATCH v1 2/2] MdePkg: MmConfiguration: Added definition of MM Configuration PPI Kun Qin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox