public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Kun Qin" <kuqin12@gmail.com>
To: devel@edk2.groups.io
Cc: Michael D Kinney <michael.d.kinney@intel.com>,
	Liming Gao <gaoliming@byosoft.com.cn>,
	Zhiguang Liu <zhiguang.liu@intel.com>,
	Michael Kubacki <michael.kubacki@microsoft.com>
Subject: [PATCH v1 0/2] Add MM Configuration PPI definition to MdePkg
Date: Fri, 18 Jun 2021 02:48:27 -0700	[thread overview]
Message-ID: <20210618094829.2651-1-kuqin12@gmail.com> (raw)

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


             reply	other threads:[~2021-06-18  9:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-18  9:48 Kun Qin [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210618094829.2651-1-kuqin12@gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox