usb: Add infrastructure for interrupt descriptor polling

This commit is contained in:
Cacodemon345
2023-05-03 16:14:15 +06:00
parent 801ec1916d
commit 6a20e17ee9
2 changed files with 14 additions and 0 deletions

View File

@@ -40,7 +40,9 @@ typedef struct usb_t
uint32_t ohci_mem_base;
mem_mapping_t ohci_mmio_mapping;
pc_timer_t ohci_frame_timer;
pc_timer_t ohci_interrupt_desc_poll_timer;
pc_timer_t ohci_port_reset_timer[2];
uint8_t ohci_interrupt_counter : 5;
usb_params_t* usb_params;
} usb_t;