- Timestamp:
- Mar 31, 2021 4:28:43 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143558
- Location:
- trunk/src/VBox/Devices/Bus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuIntel.cpp
r88329 r88332 809 809 #endif 810 810 811 /** @todo VTD: Intercept PCI config space accesses for debugging. */ 812 #if 0 813 /* 814 * Intercept PCI config. space accesses. 815 */ 816 rc = PDMDevHlpPCIInterceptConfigAccesses(pDevIns, pPciDev, ..); 817 AssertLogRelRCReturn(rc, rc); 818 #endif 819 820 /* 821 * Register MMIO region. 822 */ 823 AssertCompile(!(VTD_MMIO_BASE_PHYSADDR & X86_PAGE_4K_OFFSET_MASK)); 824 rc = PDMDevHlpMmioCreateAndMap(pDevIns, VTD_MMIO_BASE_PHYSADDR, VTD_MMIO_SIZE, iommuIntelMmioWrite, iommuIntelMmioRead, 825 IOMMMIO_FLAGS_READ_DWORD_QWORD | IOMMMIO_FLAGS_WRITE_DWORD_QWORD_ZEROED, 826 "Intel-IOMMU", &pThis->hMmio); 827 AssertRCReturn(rc, rc); 828 811 829 return VERR_NOT_IMPLEMENTED; 812 830 } -
trunk/src/VBox/Devices/Bus/DevIommuIntel.h
r88327 r88332 36 36 37 37 /** The MMIO base address of the DMAR unit (taken from real hardware). */ 38 #define VTD_MMIO_BASE_ADDR 0xfed90000 39 38 #define VTD_MMIO_BASE_PHYSADDR UINT64_C(0xfed90000) 39 /** The size of the MMIO region (in bytes). */ 40 #define VTD_MMIO_SIZE 4096 40 41 41 42 #endif /* !VBOX_INCLUDED_SRC_Bus_DevIommuIntel_h */
Note:
See TracChangeset
for help on using the changeset viewer.