PCI XHCI disable page chaching for mmio
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 3m29s
Build documentation / build-and-deploy (push) Successful in 2m42s

This commit is contained in:
2026-03-25 23:18:20 +01:00
parent b3eb2d9efe
commit 99712af7dd

View File

@@ -61,10 +61,9 @@ bool pci_xhci_init (struct proc* proc, struct reschedule_ctx* rctx, struct pci_i
uintptr_t xhci_base = xhci_phys + (uintptr_t)hhdm->offset;
/* 2 pages should cover the mmio space */
for (size_t page = 0; page < 8; page++) {
mm_map_kernel_page (xhci_phys + page * PAGE_SIZE, xhci_base + page * PAGE_SIZE,
MM_PG_RW | MM_PG_PRESENT);
MM_PG_RW | MM_PG_PRESENT | MM_PG_NOCACHE);
}
bool irqs_support = false;