From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mx.groups.io with SMTP id smtpd.web10.748.1640050452334723822 for ; Mon, 20 Dec 2021 17:34:12 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FBvTD4ZW; spf=pass (domain: gmail.com, ip: 209.85.216.43, mailfrom: kuqin12@gmail.com) Received: by mail-pj1-f43.google.com with SMTP id n15-20020a17090a394f00b001b0f6d6468eso931357pjf.3 for ; Mon, 20 Dec 2021 17:34:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8mOKq/UCZuLRitJ7phRggkqtIuVTmO2rEC0ImOUclYc=; b=FBvTD4ZWLgxw8frHxeWk3oJoYlzfYwVriC1bxgE9jbct1pWf0aiEaGlbd6r04M6wug Wh7rPjfHGwjDKy78eqKsVErEAbqgclV6P9ZYSv9B4ea1xjdeA4ZI4Yxcv6Z+hU1riKBu dzCCD+PrYSPu1jxS6D6Clm9ZWPSHvehs3sJhPV2wCRNjr6RugSM8j+N15uQI2CuSYfjX /vlJHB+gGv08zrBfSToNtONFPsPJd8r5lxrd+pRU/h1YX7GPHy6OzqMXl9ly0FkNhRWP MXJEjnsenbfRkEa2r4cmvwbUHbrCb9xEEXohV4zX3T6EmU0J80XD5Smd+hdeMdy//q1m jF4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8mOKq/UCZuLRitJ7phRggkqtIuVTmO2rEC0ImOUclYc=; b=Iml7pDDJCoe7Jpf225Qwl6wC6HL8mjLXfbTNFoIr9OpcVNO9nwteoINZQy1gn4Xav1 /x6xi0KNPRa6eCgr+FCk3je1TP+NGrJjZxCpxMSo1gH7VSOjVpY7mfcq0385CeAjO6gc NT9vIaPTIWU5Tf8IUrZvlVMzpQV2/4ZQe82Khmp7h1L4HcHViEooL1653kGUx+SNvKC/ /EvJUGBMkwfUU6eqfDek2ZRj6iSyKFOE6MDcHXI6pP7BZhRVViUguNPcJWTLFecUjlF8 HeYSmG0CZPuzKQ9Ha0Fs0yT4izcQrQ75ePq6o0vxUEYpCrUWOmGpJGlE0VeAR0XLSge/ Libw== X-Gm-Message-State: AOAM532qaIAPXbBKWKyOz/vLSOmHWiVcQWi8vRklQ+/taMhiryn+bA3b iNOyDlUnC6iOpQ9WrI4nge2QfxzACbOnOQ== X-Google-Smtp-Source: ABdhPJzueoLSDibreL86uAa7rsBNP9yfAmAbJUMVNXxlkpFnaTjtf/YSxpQ6KGflMs5d3X/R/KixwQ== X-Received: by 2002:a17:90b:1bd2:: with SMTP id oa18mr1225646pjb.4.1640050451778; Mon, 20 Dec 2021 17:34:11 -0800 (PST) Return-Path: Received: from localhost.localdomain ([50.35.74.198]) by smtp.gmail.com with ESMTPSA id m10sm17389189pgv.75.2021.12.20.17.34.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Dec 2021 17:34:11 -0800 (PST) From: "Kun Qin" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [PATCH v2 2/6] MdePkg: MmCommunication2: Update MM communicate2 function description Date: Mon, 20 Dec 2021 17:33:30 -0800 Message-Id: <20211221013334.1751-3-kuqin12@gmail.com> X-Mailer: git-send-email 2.32.0.windows.1 In-Reply-To: <20211221013334.1751-1-kuqin12@gmail.com> References: <20211221013334.1751-1-kuqin12@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. This change updated function descriptions of MM communite2 definition to match input argument types. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Kun Qin --- Notes: v2: - Newly added MdePkg/Include/Protocol/MmCommunication2.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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; This function provides a service to send and receive messages from a registered UEFI service. - @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. @retval EFI_SUCCESS The message was successfully posted. @retval EFI_INVALID_PARAMETER CommBufferPhysical was NULL or CommBufferVirtual was NULL. -- 2.32.0.windows.1