Merge pull request #3301 from Cacodemon345/usb-work

usb: Add infrastructure for interrupt descriptor polling
This commit is contained in:
Miran Grča
2023-05-03 13:51:01 +02:00
committed by GitHub
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;