XHCI store pdevice configs, ifs and endpoints as static length arrays
Some checks are pending
Build ISO image / build-and-deploy (push) Successful in 3m28s
Build documentation / build-and-deploy (push) Has started running

This commit is contained in:
2026-04-03 16:19:32 +02:00
parent a8193797fa
commit 06a87207ff
3 changed files with 47 additions and 30 deletions

View File

@@ -77,6 +77,29 @@ struct usb_endpoint_desc {
uint8_t interval;
} PACKED;
#define USB_CBW_SIGNATURE 0x43425355
/* command block wrapper */
struct usb_cbw {
uint32_t signature;
uint32_t tag;
uint32_t length;
uint8_t dir;
uint8_t lun;
uint8_t cmd_len;
uint8_t data[16];
} PACKED;
#define USB_CSW_SIGNATURE 0x53425355
/* command status wrapper */
struct usb_csw {
uint32_t signature;
uint32_t tag;
uint32_t residue;
uint8_t status;
};
struct usb_driver_info {
uint8_t if_class;
uint8_t if_subclass;