]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg: MmConfiguration: Move definition of EFI_MM_RESERVED_MMRAM_REGION
authorKun Qin <kuqin12@gmail.com>
Thu, 24 Jun 2021 03:33:07 +0000 (11:33 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 29 Jun 2021 05:16:44 +0000 (05:16 +0000)
commit27b8a5295768a117528b7a423bb670597fa7bb89
treee39f1894bbf4e66caa8ba6fbe87b3b20d05537ea
parentabfff7c45d43360ebd292dc26b6542094c145f5f
MdePkg: MmConfiguration: Move definition of EFI_MM_RESERVED_MMRAM_REGION

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

The definition of EFI_MM_RESERVED_MMRAM_REGION, according to PI Spec 1.5
is also referenced in EFI_PEI_MM_CONFIGURATION_PPI. Defining this
structure as is will enforce any potential usage of MM Configuration PPI
interface to include <Protocol/MmConfiguration.h>.

This change moves this structure definition to PiMultiPhase.h, which is
already included by Protocol/MmConfiguration.h through PiMmCis.h. It also
paves way for introducing Ppi/MmConfiguration.h with proper dependency.

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>
Signed-off-by: Kun Qin <kuqin12@gmail.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
MdePkg/Include/Pi/PiMultiPhase.h
MdePkg/Include/Protocol/MmConfiguration.h