Reviewed-by: Jiewen Yao <jiewen....@intel.com>

> -----Original Message-----
> From: Shang, Qingyu <qingyu.sh...@intel.com>
> Sent: Monday, February 26, 2024 11:06 AM
> To: devel@edk2.groups.io
> Cc: Yao, Jiewen <jiewen....@intel.com>
> Subject: [PATCH v4 3/3] SecurityPkg: Update ReceiveData and SendData function
> description
> 
> 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 <jiewen....@intel.com>
> Signed-off-by: Qingyu <qingyu.sh...@intel.com>
> ---
>  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 (#116091): https://edk2.groups.io/g/devel/message/116091
Mute This Topic: https://groups.io/mt/104581211/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to