Add iommu definitions.

This commit is contained in:
Rhitayu Chattopadhyay
2026-05-08 16:48:05 +05:30
committed by GitHub
parent 9f1d4f683d
commit dcb60beef2
2 changed files with 5 additions and 2 deletions

View File

@@ -159,7 +159,7 @@ void entry(void) {
}
// Disable IOMMU.
*(volatile uint64_t *)0xfdd80018 &= ~1;
*(volatile uint64_t *)(AMDIOMMU_MMIO_BASE + AMDIOMMU_CTRL) &= ~1;
memcpy(&info, (void *)(cave_linux_info), sizeof(struct linux_info));