TianoCore EDK2 master
No Matches

#include <MdePkg/Include/Protocol/StorageSecurityCommand.h>

Data Fields


Detailed Description

The EFI_STORAGE_SECURITY_COMMAND_PROTOCOL is used to send security protocol commands to a mass storage device. Two types of security protocol commands are supported. SendData sends a command with data to a device. ReceiveData sends a command that receives data and/or the result of one or more commands sent by SendData.

The security protocol command formats supported shall be based on the definition of the SECURITY PROTOCOL IN and SECURITY PROTOCOL OUT commands defined in SPC-4. If the device uses the SCSI command set, no translation is needed in the firmware and the firmware can package the parameters into a SECURITY PROTOCOL IN or SECURITY PROTOCOL OUT command and send the command to the device. If the device uses a non-SCSI command set, the firmware shall map the command and data payload to the corresponding command and payload format defined in the non-SCSI command set (for example, TRUSTED RECEIVE and TRUSTED SEND in ATA8-ACS).

The firmware shall automatically add an EFI_STORAGE_SECURITY_COMMAND_PROTOCOL for any storage devices detected during system boot that support SPC-4, ATA8-ACS or their successors.

Definition at line 199 of file StorageSecurityCommand.h.

Field Documentation

◆ ReceiveData


Definition at line 200 of file StorageSecurityCommand.h.

◆ SendData


Definition at line 201 of file StorageSecurityCommand.h.

The documentation for this struct was generated from the following file: