Extensible Firmware Interface Specification
13-12 12/01/02 Version 1.10
EFI_SCSI_PASS_THRU_PROTOCOL.BuildDevicePath()
Summary
Used to allocate and build a device path node for a SCSI device on a SCSI channel.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_SCSI_PASS_THRU_BUILD_DEVICE_PATH) (
IN EFI_SCSI_PASS_THRU_PROTOCOL *This,
IN UINT32 Target,
IN UINT64 Lun
IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath
);
Parameters
This A pointer to the EFI_SCSI_PASS_THRU_PROTOCOL
instance. Type EFI_SCSI_PASS_THRU_PROTOCOL is
defined in Section 13.1.
Target The Target ID of the SCSI device for which a device path node
is to be allocated and built.
Lun The LUN of the SCSI device for which a device path node is to
be allocated and built.
DevicePath A pointer to a single device path node that describes the SCSI
device specified by Target and Lun. This function is
responsible for allocating the buffer DevicePath with the boot
service AllocatePool()
. It is the caller’s responsibility to
free DevicePath when the caller is finished with
DevicePath.