iPXE
Data Fields
scsi_cdb_read_capacity_16 Struct Reference

A SCSI "READ CAPACITY (16)" CDB. More...

#include <scsi.h>

Data Fields

uint8_t opcode
 Opcode (0x9e) More...
 
uint8_t service_action
 Service action. More...
 
uint64_t lba
 Logical block address. More...
 
uint32_t len
 Transfer length. More...
 
uint8_t reserved
 Reserved. More...
 
uint8_t control
 Control byte. More...
 

Detailed Description

A SCSI "READ CAPACITY (16)" CDB.

Definition at line 165 of file scsi.h.

Field Documentation

◆ opcode

uint8_t scsi_cdb_read_capacity_16::opcode

Opcode (0x9e)

Definition at line 167 of file scsi.h.

Referenced by scsicmd_read_capacity_cmd().

◆ service_action

uint8_t scsi_cdb_read_capacity_16::service_action

Service action.

Definition at line 169 of file scsi.h.

Referenced by scsicmd_read_capacity_cmd().

◆ lba

uint64_t scsi_cdb_read_capacity_16::lba

Logical block address.

Applicable only if the PMI bit is set.

Definition at line 174 of file scsi.h.

◆ len

uint32_t scsi_cdb_read_capacity_16::len

Transfer length.

This is the size of the data-in buffer, in bytes.

Definition at line 179 of file scsi.h.

Referenced by scsicmd_read_capacity_cmd().

◆ reserved

uint8_t scsi_cdb_read_capacity_16::reserved

Reserved.

Definition at line 181 of file scsi.h.

◆ control

uint8_t scsi_cdb_read_capacity_16::control

Control byte.

Definition at line 183 of file scsi.h.


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