audk/MdeModulePkg
Kun Qin ee67067f17 MdeModulePkg: VariableSmmRuntimeDxe: Fix Variable Policy Message Length
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3709

In EDKII implementation of variable policy, the DXE runtime agent would
communicate to MM to disable, register or query policies. However, these
operations populate the value of MessageLength that includes communicate
header to include MM communicate header, which mismatches with the
description of PI specification.

This fix will correct the MessageLength field calculation to exclude
the size of MM_COMMUNICATE_HEADER.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>

Signed-off-by: Kun Qin <kuqin12@gmail.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2022-01-27 02:16:17 +00:00
..
Application MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Bus MdeModulePkg/SdMmcPciHcDxe: Robust improvements for SD card 1.8V switch 2022-01-24 01:52:35 +00:00
Core MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Include MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Library MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Logo MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Test MdeModulePkg/UefiSortLib:Add UefiSortLib unit test 2021-08-12 08:34:04 +00:00
Universal MdeModulePkg: VariableSmmRuntimeDxe: Fix Variable Policy Message Length 2022-01-27 02:16:17 +00:00
MdeModulePkg.ci.yaml MdeModulePkg: Update YAML to ignore specific ECC files/errors 2021-11-30 14:19:07 +00:00
MdeModulePkg.dec MdeModulePkg/FPDT: Lock boot performance table address variable at EndOfDxe 2021-11-12 07:36:23 +00:00
MdeModulePkg.dsc MdeModulePkg: Add BootDiscoveryPolicyUiLib. 2021-08-03 04:59:12 +00:00
MdeModulePkg.uni MdeModulePkg: Fix various typos 2021-05-17 02:10:31 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00