[edk2] [PATCH 0/2] Follow PI spec to update EFI_MM_COMMUNICATE

Star Zeng posted 2 patches 6 years, 4 months ago
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(-)
[edk2] [PATCH 0/2] Follow PI spec to update EFI_MM_COMMUNICATE
Posted by Star Zeng 6 years, 4 months ago
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.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@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
Re: [edk2] [PATCH 0/2] Follow PI spec to update EFI_MM_COMMUNICATE
Posted by Yao, Jiewen 6 years, 4 months ago
Reviewed-by: jiewen.yao@intel.com

> -----Original Message-----
> From: Zeng, Star
> Sent: Wednesday, December 6, 2017 5:18 PM
> To: edk2-devel@lists.01.org
> Cc: Zeng, Star <star.zeng@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>; Gao,
> Liming <liming.gao@intel.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>
> Subject: [PATCH 0/2] Follow PI spec to update EFI_MM_COMMUNICATE
> 
> 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.yao@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Michael D Kinney <michael.d.kinney@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