From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 8F273D81194 for ; Mon, 26 Feb 2024 13:06:18 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=CtXO8M3M4hg4lxEvZ/ixRUnnihIkJFjbF5yjU+vMXrU=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1708952777; v=1; b=CzVeWTMAWRa5Fna0a+s6hanoh+Cnuz6EG2QGZjP3GY7nwJYd1ykGfNVL3SfvJOl3AIWJN1rG ykeODJ0Q6c3sjvtZPllwlaBRnAJ4LkvgrnOCw/l7Nbq8N/Dp12LBkLAFDlqAp2H/YY6dYRL/dNw 5Y5F03uzgPO/PtI+cRIdIB2Q= X-Received: by 127.0.0.2 with SMTP id I6ZYYY7687511xNQ2aKHRHKG; Mon, 26 Feb 2024 05:06:17 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mx.groups.io with SMTP id smtpd.web10.13025.1708916818845198874 for ; Sun, 25 Feb 2024 19:06:58 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10995"; a="20633005" X-IronPort-AV: E=Sophos;i="6.06,185,1705392000"; d="scan'208";a="20633005" X-Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2024 19:06:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,185,1705392000"; d="scan'208";a="11235798" X-Received: from qingyush-mobl.ccr.corp.intel.com ([10.238.8.227]) by orviesa003.jf.intel.com with ESMTP; 25 Feb 2024 19:06:56 -0800 From: Qingyu To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] [PATCH v4 1/3] MdePkg: Update ReceiveData and SendData function description Date: Mon, 26 Feb 2024 11:05:37 +0800 Message-Id: <7de78c5b6f2d2f21a49f69a9d05c1c1823acaa9e.1708915895.git.qingyu.shang@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,qingyu.shang@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: AGyTmgFn9p01IXBzr3BaV1n6x7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=CzVeWTMA; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) Refer to Uefi spec 2.10 section 13.14, update the parameter 'MediaId' description for EFI_STORAGE_SECURITY_COMMAND_PROTOCOL function ReceiveData and SendData. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Qingyu --- MdePkg/Include/Protocol/StorageSecurityCommand.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/Protocol/StorageSecurityCommand.h b/MdePkg/Include/Protocol/StorageSecurityCommand.h index 810af59b85c3..206ae79aff8d 100644 --- a/MdePkg/Include/Protocol/StorageSecurityCommand.h +++ b/MdePkg/Include/Protocol/StorageSecurityCommand.h @@ -59,7 +59,9 @@ typedef struct _EFI_STORAGE_SECURITY_COMMAND_PROTOCOL EFI_STORAGE_SECURITY_COMMA function shall return EFI_DEVICE_ERROR. @param This Indicates a pointer to the calling context. - @param MediaId ID of the medium to receive data from. + @param MediaId ID of the medium to receive data from. If there is no + block IO protocol supported by the physical device, the + value of MediaId is undefined. @param Timeout The timeout, in 100ns units, to use for the execution of the security protocol command. A Timeout value of 0 means that this function will wait indefinitely for the @@ -138,7 +140,9 @@ EFI_STATUS shall return EFI_DEVICE_ERROR. @param This Indicates a pointer to the calling context. - @param MediaId ID of the medium to receive data from. + @param MediaId ID of the medium to receive data from. If there is no + block IO protocol supported by the physical device, the + value of MediaId is undefined. @param Timeout The timeout, in 100ns units, to use for the execution of the security protocol command. A Timeout value of 0 means that this function will wait indefinitely for the -- 2.39.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115951): https://edk2.groups.io/g/devel/message/115951 Mute This Topic: https://groups.io/mt/104581209/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-