|
iPXE
|
USB mass storage driver. More...
Go to the source code of this file.
Data Structures | |
| struct | usbblk_command_wrapper |
| Command block wrapper. More... | |
| struct | usbblk_status_wrapper |
| Command status wrapper. More... | |
| struct | usbblk_command |
| A USB mass storage command. More... | |
| struct | usbblk_device |
| A USB mass storage device. More... | |
Macros | |
| #define | USB_CLASS_MSC 0x08 |
| Mass storage class code. | |
| #define | USB_SUBCLASS_MSC_SCSI 0x06 |
| SCSI command set subclass code. | |
| #define | USB_PROTOCOL_MSC_BULK 0x50 |
| Bulk-only transport protocol. | |
| #define | USBBLK_RESET |
| Mass storage reset command. | |
| #define | USBBLK_COMMAND_SIGNATURE 0x43425355UL |
| Command block wrapper signature. | |
| #define | USBBLK_STATUS_SIGNATURE 0x53425355UL |
| Command status wrapper signature. | |
| #define | USBBLK_TAG_MAGIC 0x18ae0000 |
| Command tag magic. | |
| #define | USBBLK_MAX_LEN 2048 |
| Maximum length of USB data block. | |
| #define | USBBLK_MAX_FILL 4 |
| Maximum endpoint fill level. | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
USB mass storage driver.
Definition in file usbblk.h.
| #define USB_SUBCLASS_MSC_SCSI 0x06 |
| #define USB_PROTOCOL_MSC_BULK 0x50 |
| #define USBBLK_RESET |
Mass storage reset command.
Definition at line 28 of file usbblk.h.
Referenced by usbblk_open().
| #define USBBLK_COMMAND_SIGNATURE 0x43425355UL |
Command block wrapper signature.
Definition at line 50 of file usbblk.h.
Referenced by usbblk_out_command().
| #define USBBLK_STATUS_SIGNATURE 0x53425355UL |
Command status wrapper signature.
Definition at line 65 of file usbblk.h.
Referenced by usbblk_in_status().
| #define USBBLK_TAG_MAGIC 0x18ae0000 |
Command tag magic.
This is a policy decision.
Definition at line 108 of file usbblk.h.
Referenced by usbblk_start().
| #define USBBLK_MAX_LEN 2048 |
Maximum length of USB data block.
This is a policy decision.
Definition at line 114 of file usbblk.h.
Referenced by usbblk_in_refill(), usbblk_out_data(), and usbblk_probe().
| #define USBBLK_MAX_FILL 4 |
Maximum endpoint fill level.
This is a policy decision.
Definition at line 120 of file usbblk.h.
Referenced by usbblk_out_refill(), and usbblk_probe().
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |