From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web08.1900.1641266524590018630 for ; Mon, 03 Jan 2022 19:22:04 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Tue, 04 Jan 2022 11:22:01 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: "'Michael D Kinney'" , "'Zhiguang Liu'" References: <20211221013334.1751-1-kuqin12@gmail.com> <20211221013334.1751-3-kuqin12@gmail.com> In-Reply-To: <20211221013334.1751-3-kuqin12@gmail.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHYyIDIvNl0gTWRlUGtnOiBNbUNvbW11bmljYXRpb24yOiBVcGRhdGUgTU0gY29tbXVuaWNhdGUyIGZ1bmN0aW9uIGRlc2NyaXB0aW9u?= Date: Tue, 4 Jan 2022 11:22:02 +0800 Message-ID: <012301d8011a$3e292150$ba7b63f0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIUAYUh7ldOkiYheACRm4943XQaNQIA47Mrq8oqRWA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Kun Qin > =B7=A2=CB=CD=CA=B1=BC=E4: 2021=C4=EA12=D4=C221=C8=D5 9:34 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Michael D Kinney ; Liming Gao > ; Zhiguang Liu > =D6=F7=CC=E2: [edk2-devel] [PATCH v2 2/6] MdePkg: MmCommunication2: Updat= e > MM communicate2 function description >=20 > Current MM communicate2 function definition described input arguments > `CommBufferPhysical`, `CommBufferVirtual` and `CommSize` as input only, > which mismatches with the "input and output type" as in PI specification. >=20 > This change updated function descriptions of MM communite2 definition to > match input argument types. >=20 > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu >=20 > Signed-off-by: Kun Qin > --- >=20 > Notes: > v2: > - Newly added >=20 > MdePkg/Include/Protocol/MmCommunication2.h | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) >=20 > diff --git a/MdePkg/Include/Protocol/MmCommunication2.h > b/MdePkg/Include/Protocol/MmCommunication2.h > index 3495a7327f76..1b56320c7fff 100644 > --- a/MdePkg/Include/Protocol/MmCommunication2.h > +++ b/MdePkg/Include/Protocol/MmCommunication2.h > @@ -27,12 +27,13 @@ typedef struct > _EFI_MM_COMMUNICATION2_PROTOCOL > EFI_MM_COMMUNICATION2_PROTOCOL; >=20 > This function provides a service to send and receive messages from a > registered UEFI service. >=20 > - @param[in] This The > EFI_MM_COMMUNICATION_PROTOCOL instance. > - @param[in] CommBufferPhysical Physical address of the MM > communication buffer > - @param[in] CommBufferVirtual Virtual address of the MM > communication buffer > - @param[in] CommSize The size of the data buffer being > passed in. On exit, the size of data > - being returned. Zero if the handler > does not wish to reply with any data. > - This parameter is optional and may > be NULL. > + @param[in] This The > EFI_MM_COMMUNICATION_PROTOCOL instance. > + @param[in, out] CommBufferPhysical Physical address of the MM > communication buffer > + @param[in, out] CommBufferVirtual Virtual address of the MM > communication buffer > + @param[in, out] CommSize The size of the data buffer > being passed in. On exit, the > + size of data being returned. > Zero if the handler does not > + wish to reply with any data. > This parameter is optional > + and may be NULL. >=20 > @retval EFI_SUCCESS The message was successfully > posted. > @retval EFI_INVALID_PARAMETER CommBufferPhysical was NULL or > CommBufferVirtual was NULL. > -- > 2.32.0.windows.1 >=20 >=20 >=20 >=20 >=20