Reviewed-by: Jiewen Yao <[email protected]>

> -----Original Message-----
> From: Shang, Qingyu <[email protected]>
> Sent: Monday, February 26, 2024 11:06 AM
> To: [email protected]
> Cc: Yao, Jiewen <[email protected]>
> 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 <[email protected]>
> Signed-off-by: Qingyu <[email protected]>
> ---
>  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: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to