MdeModulePkg: Update ReceiveData and SendData function description
AtaBusDxe, NvmExpressDxe, ScsiDiskDxe and EmmcDxe is used to back the EFI_STORAGE_SECURITY_COMMAND_PROTOCOL, update the parameter 'MediaId' description for the protocol function ReceiveData and SendData as described in UEFI Spec 2.10 section 13.14. Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Qingyu Shang <qingyu.shang@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
a8b80149e1
commit
6f67ed45e0
@ -1483,7 +1483,9 @@ AtaDiskInfoWhichIde (
|
|||||||
function shall return EFI_DEVICE_ERROR.
|
function shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
@ -1600,7 +1602,9 @@ AtaStorageSecurityReceiveData (
|
|||||||
shall return EFI_DEVICE_ERROR.
|
shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
|
@ -927,7 +927,9 @@ AtaDiskInfoWhichIde (
|
|||||||
function shall return EFI_DEVICE_ERROR.
|
function shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
@ -1007,7 +1009,9 @@ AtaStorageSecurityReceiveData (
|
|||||||
shall return EFI_DEVICE_ERROR.
|
shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
|
@ -1699,7 +1699,9 @@ TrustTransferNvmeDevice (
|
|||||||
function shall return EFI_DEVICE_ERROR.
|
function shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
@ -1812,7 +1814,9 @@ NvmeStorageSecurityReceiveData (
|
|||||||
shall return EFI_DEVICE_ERROR.
|
shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
|
@ -289,7 +289,9 @@ NvmeBlockIoFlushBlocksEx (
|
|||||||
function shall return EFI_DEVICE_ERROR.
|
function shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
@ -369,7 +371,9 @@ NvmeStorageSecurityReceiveData (
|
|||||||
shall return EFI_DEVICE_ERROR.
|
shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
|
@ -1897,7 +1897,9 @@ Done:
|
|||||||
function shall return EFI_DEVICE_ERROR.
|
function shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
@ -2119,7 +2121,9 @@ Done:
|
|||||||
shall return EFI_DEVICE_ERROR.
|
shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
|
@ -677,7 +677,9 @@ ScsiDiskEraseBlocks (
|
|||||||
function shall return EFI_DEVICE_ERROR.
|
function shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
@ -751,7 +753,9 @@ ScsiDiskReceiveData (
|
|||||||
shall return EFI_DEVICE_ERROR.
|
shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
|
@ -1267,7 +1267,9 @@ EmmcFlushBlocksEx (
|
|||||||
function shall return EFI_DEVICE_ERROR.
|
function shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param[in] This Indicates a pointer to the calling context.
|
@param[in] This Indicates a pointer to the calling context.
|
||||||
@param[in] MediaId ID of the medium to receive data from.
|
@param[in] 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[in] Timeout The timeout, in 100ns units, to use for the execution
|
@param[in] Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
@ -1454,7 +1456,9 @@ EmmcSecurityProtocolInOut (
|
|||||||
function shall return EFI_DEVICE_ERROR.
|
function shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
@ -1555,7 +1559,9 @@ EmmcSecurityProtocolIn (
|
|||||||
shall return EFI_DEVICE_ERROR.
|
shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
|
@ -250,7 +250,9 @@ EmmcFlushBlocksEx (
|
|||||||
function shall return EFI_DEVICE_ERROR.
|
function shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param[in] This Indicates a pointer to the calling context.
|
@param[in] This Indicates a pointer to the calling context.
|
||||||
@param[in] MediaId ID of the medium to receive data from.
|
@param[in] 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[in] Timeout The timeout, in 100ns units, to use for the execution
|
@param[in] Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
@ -337,7 +339,9 @@ EmmcSecurityProtocolInOut (
|
|||||||
function shall return EFI_DEVICE_ERROR.
|
function shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
@ -417,7 +421,9 @@ EmmcSecurityProtocolIn (
|
|||||||
shall return EFI_DEVICE_ERROR.
|
shall return EFI_DEVICE_ERROR.
|
||||||
|
|
||||||
@param This Indicates a pointer to the calling context.
|
@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
|
@param Timeout The timeout, in 100ns units, to use for the execution
|
||||||
of the security protocol command. A Timeout value of 0
|
of the security protocol command. A Timeout value of 0
|
||||||
means that this function will wait indefinitely for the
|
means that this function will wait indefinitely for the
|
||||||
|
Reference in New Issue
Block a user