From 239dfc6d2989469826f7211d02069df0351f68b9 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 11 Oct 2025 21:33:40 -0400 Subject: kern: xhci: Initialize the DCBAAP register on init Signed-off-by: Ian Moffett --- src/sys/include/io/usb/xhcivar.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/sys/include/io/usb') 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_ */ -- cgit v1.2.3