summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h
diff options
context:
space:
mode:
authorQingyu Shang <qingyu.shang@intel.com>2024-02-25 19:05:38 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-03-13 02:48:38 +0000
commit6f67ed45e03b554337daba2599a24b3352ad3438 (patch)
treeb8975bd8a4c27c3c433b0f07f1086f35f4831f7e /MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h
parenta8b80149e1e18b4dd2c5b8db36f4aae0c66f17ca (diff)
downloadedk2-6f67ed45e03b554337daba2599a24b3352ad3438.tar.gz
edk2-6f67ed45e03b554337daba2599a24b3352ad3438.tar.bz2
edk2-6f67ed45e03b554337daba2599a24b3352ad3438.zip
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>
Diffstat (limited to 'MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h')
-rw-r--r--MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h
index 6bc345f7e7..8906947e28 100644
--- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h
+++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h
@@ -927,7 +927,9 @@ AtaDiskInfoWhichIde (
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
@@ -1007,7 +1009,9 @@ AtaStorageSecurityReceiveData (
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