diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.h b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.h index 975bb2fec..93b36c792 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.h +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.h @@ -874,7 +874,8 @@ struct xhci_host { /* * Device context base address array. * - * dcbaa_addr holds the virtual address of the dcbaa, meanwhile dcbaa_phy keeps the value that should be writen to XHCI_OP_DCBAAP. + * dcbaa_addr holds the virtual address of the dcbaa, meanwhile dcbaa_phy keeps the value that should be writen to Device Context + * Base Address Array Pointer Register (XHCI_OP_DCBAAP). */ uintptr_t dcbaa_addr; uintptr_t dcbaa_phy; @@ -891,6 +892,12 @@ struct xhci_host { /** Command ring */ struct xhci_ring *cmds; + /* + * cmds_addr holds the virtual address of the command ring, meanwhile cmds_phy keeps the value that should be writen to Command Ring + * Control Register (XHCI_OP_CRCR). + */ + uintptr_t cmds_addr; + uintptr_t cmds_phy; /** Event ring */ struct xhci_ring *evts; struct xhci_er_seg *eseg;