diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-11 21:33:40 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-11 21:34:17 -0400 |
commit | 239dfc6d2989469826f7211d02069df0351f68b9 (patch) | |
tree | 4ba4d14e0182de3083293c6cb1b402b685b5755b /src/sys/include/io/usb/xhcivar.h | |
parent | ce379e9444670e88b807b5e260e1623be1304227 (diff) |
kern: xhci: Initialize the DCBAAP register on init
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/io/usb/xhcivar.h')
-rw-r--r-- | src/sys/include/io/usb/xhcivar.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sys/include/io/usb/xhcivar.h b/src/sys/include/io/usb/xhcivar.h index bc5f59b..f98207f 100644 --- a/src/sys/include/io/usb/xhcivar.h +++ b/src/sys/include/io/usb/xhcivar.h @@ -40,14 +40,19 @@ * @max_slots: Max device slots * @max_intrs: Max interrupters * @max_ports: Max ports + * @dcbaap_pa: DCBAAP physical address */ struct xhci_hcd { struct xhci_capregs *capspace; uint8_t max_slots; uint32_t max_intrs; uint32_t max_ports; + uintptr_t dcbaap_pa; }; #define XHCI_TIMEOUT_MSEC 500 +/* Length of device context */ +#define XHCI_CTX_SIZE 32 + #endif /* !_USB_XHCIVAR_H_ */ |