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 57BA6AC16A6 for ; Mon, 26 Feb 2024 13:06:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=TPorrVvjLW2/h9LY+6G6DN9Z3+1wCPAdYDDRG/t+nlk=; 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=1708952779; v=1; b=s2E79t5GffoWRasrYfiBoIU4M2UxY0iOb/6e4RFiqZVu7HrDEVIsDUOnSjg/kRG3YQjyEkY5 I/D/m4dnEQ/gPjLonnEbw7eI16tQB6rmoBaSQb5jLg2TQsGJVsMGVQ+9FQfcU2vQwr/uyxSl1jJ mmMMMPJyfNvsPMy1bxXRzTCc= X-Received: by 127.0.0.2 with SMTP id NvPWYY7687511xR9Knnzv38I; Mon, 26 Feb 2024 05:06:19 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mx.groups.io with SMTP id smtpd.web10.13028.1708916832643991733 for ; Sun, 25 Feb 2024 19:07:16 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10995"; a="20633019" X-IronPort-AV: E=Sophos;i="6.06,185,1705392000"; d="scan'208";a="20633019" 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:07:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,185,1705392000"; d="scan'208";a="11236008" X-Received: from qingyush-mobl.ccr.corp.intel.com ([10.238.8.227]) by orviesa003.jf.intel.com with ESMTP; 25 Feb 2024 19:07:15 -0800 From: Qingyu To: devel@edk2.groups.io Cc: Jiewen Yao Subject: [edk2-devel] [PATCH v4 3/3] SecurityPkg: Update ReceiveData and SendData function description Date: Mon, 26 Feb 2024 11:05:39 +0800 Message-Id: <299a57fcbbb7dbf39962bbe88ad09aa35344e2e7.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: wPDAle7vzSn9wDUpQnDWGS13x7686176AA= 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=s2E79t5G; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io 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: Jiewen Yao Signed-off-by: Qingyu --- SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c b/SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c index 0fb6b1bf41d5..1ee55105e435 100644 --- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c +++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c @@ -49,7 +49,9 @@ EFI_GUID mOpalDeviceLockBoxGuid = OPAL_DEVICE_LOCKBOX_GUID; 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 @@ -148,7 +150,9 @@ SecurityReceiveData ( 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 (#115953): https://edk2.groups.io/g/devel/message/115953 Mute This Topic: https://groups.io/mt/104581211/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-