Merge remote-tracking branch 'upstream/master' into feature/ich2

This commit is contained in:
Jasmine Iwanek
2023-04-30 03:53:45 -04:00
5 changed files with 172 additions and 105 deletions

View File

@@ -22,6 +22,7 @@
extern "C" {
#endif
/* USB Host Controller device struct */
typedef struct
{
uint8_t uhci_io[32], ohci_mmio[4096];
@@ -31,6 +32,13 @@ typedef struct
mem_mapping_t ohci_mmio_mapping;
} usb_t;
/* USB endpoint device struct. Incomplete and unused. */
typedef struct
{
uint16_t vendor_id;
uint16_t device_id;
} usb_device_t;
/* Global variables. */
extern const device_t usb_device;