Add iommu definitions.

This commit is contained in:
Rhitayu Chattopadhyay authored and GitHub committed 2026-05-08 13:18:05 +02:00
1 parent 9f1d4f683d
commit dcb60beef2
2 files changed
+5 -2

No files matched your search

+1 -1
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));