Follow PI spec (>= 1.5) to add new return status code description and make CommSize OPTIONAL.
Handle CommSize OPTIONAL case for SmmCommunicate. And return EFI_ACCESS_DENIED when CommunicationBuffer is not valid for SMM to access. Cc: Jiewen Yao <jiewen....@intel.com> Cc: Liming Gao <liming....@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Star Zeng (2): MdePkg MmCommunication.h: Follow PI spec to update EFI_MM_COMMUNICATE MdeModulePkg PiSmmIpl: Handle CommSize OPTIONAL case MdeModulePkg/Core/PiSmmCore/PiSmmCore.c | 2 +- MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c | 61 ++++++++++++++++++++----------- MdePkg/Include/Protocol/MmCommunication.h | 14 ++++++- 3 files changed, 52 insertions(+), 25 deletions(-) -- 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel