kernel: initial xhci and usb implementation

This commit is contained in:
Matheus
2026-05-05 00:35:11 -03:00
parent c4dbf30716
commit 9697ee777a
12 changed files with 3304 additions and 3 deletions
+3
View File
@@ -22,11 +22,14 @@
#define PCI_CONFIG_REVISION 0x8
#define PCI_CONFIG_PROGIF 0x9
#define PCI_PROGIF_STORAGE_SATA_AHCI 0x1
#define PCI_PROGIF_USB_XHCI 0x30
#define PCI_CONFIG_SUBCLASS 0xa
#define PCI_SUBCLASS_STORAGE_NVM 0x8
#define PCI_SUBCLASS_STORAGE_SATA 0x6
#define PCI_SUBCLASS_SERIAL_BUS_USB 0x3
#define PCI_CONFIG_CLASS 0xb
#define PCI_CLASS_STORAGE 0x1
#define PCI_CLASS_SERIAL_BUS 0xc
#define PCI_CONFIG_HEADERTYPE 0xe
#define PCI_HEADERTYPE_MULTIFUNCTION_MASK 0x80
#define PCI_HEADERTYPE_MASK 0x7f