Efi_scsi_pass_thru_protocol.passthru(), Passthru() – Intel Extensible Firmware Interface User Manual
Page 525
Protocols
— SCSI Bus Support
Version 1.10
12/01/02
13-5
EFI_SCSI_PASS_THRU_PROTOCOL.PassThru()
Summary
Sends a SCSI Request Packet to a SCSI device that is attached to the SCSI channel. This function
supports both blocking I/O and nonblocking I/O. The blocking I/O functionality is required, and
the nonblocking I/O functionality is optional.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_SCSI_PASS_THRU_PASSTHRU) (
IN EFI_SCSI_PASS_THRU_PROTOCOL
*This,
IN UINT32
Target,
IN UINT64
Lun,
IN OUT EFI_SCSI_PASS_THRU_SCSI_REQUEST_PACKET
*Packet,
IN EFI_EVENT
Event OPTIONAL
);
Parameters
This
A pointer to the
instance. Type
EFI_SCSI_PASS_THRU_PROTOCOL
is
defined in Section 13.1.
Target
The Target ID of the SCSI device to send the SCSI Request
Packet.
Lun
The LUN of the SCSI device to send the SCSI Request Packet.
Packet
A pointer to the SCSI Request Packet to send to the SCSI device
specified by
Target
and
Lun
. See “Related Definitions”
below for a description of
EFI_SCSI_PASS_THRU_SCSI_REQUEST_
PACKET
.
Event
If nonblocking I/O is not supported then
Event
is ignored, and
blocking I/O is performed. If
Event
is
NULL
, then blocking
I/O is performed. If
Event
is not
NULL
and non blocking I/O is
supported, then nonblocking I/O is performed, and
Event
will
be signaled when the SCSI Request Packet completes.