]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg: MmControl: Fix function and structure definition mismatches
authorKun Qin <kuqin12@gmail.com>
Thu, 27 May 2021 08:17:23 +0000 (16:17 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 1 Jun 2021 02:10:53 +0000 (02:10 +0000)
commitd3ff5dbe1dfc3420e5254d290500c0b6f6282d17
treef87c71429dc3184049123b8bc9cb944df9187d92
parentfe5da0927aad98f3c005088197fa30c1b8f9d3e8
MdePkg: MmControl: Fix function and structure definition mismatches

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

Current Ppi/MmControl.h file has structure definition of "struct
_PEI_MM_CONTROL_PPI". This name mismatches with its definition in PI
Specification v1.7 (Errata) as "struct _EFI_PEI_MM_CONTROL_PPI".

In addition, field types "PEI_MM_ACTIVATE" and "PEI_MM_DEACTIVATE" used
in "struct _PEI_MM_CONTROL_PPI" mismatches with the definition of
"EFI_PEI_MM_ACTIVATE" and "EFI_PEI_MM_DEACTIVATE" in the PI spec.

This change fixes these mismatches by using the PI spec defined names.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Fixes: 6f33f7a262314af35e2b99c849e08928ea49aa55
Signed-off-by: Kun Qin <kuqin12@gmail.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
MdePkg/Include/Ppi/MmControl.h