- Timestamp:
- Apr 7, 2020 5:03:28 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137002
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp
r83590 r83599 2871 2871 2872 2872 /* MSI Capability Header register. */ 2873 #if 0 2873 2874 PDMPciDevSetDWord(pPciDev, offMsiCapHdr, 2874 2875 RT_BF_MAKE(IOMMU_BF_MSI_CAPHDR_CAP_ID, 0x5) /* RO - Capability ID. */ … … 2878 2879 | RT_BF_MAKE(IOMMU_BF_MSI_CAPHDR_MULTMESS_EN, 0x0) /* RW - MSI multi-message enable */ 2879 2880 | RT_BF_MAKE(IOMMU_BF_MSI_CAPHDR_64BIT_EN, 0x1)); /* RO - MSI 64-bit enable */ 2881 #else 2882 PDMMSIREG MsiReg; 2883 RT_ZERO(MsiReg); 2884 MsiReg.cMsiVectors = 1; 2885 MsiReg.iMsiCapOffset = offMsiCapHdr; 2886 MsiReg.iMsiNextOffset = offMsiMapCapHdr; 2887 rc = PDMDevHlpPCIRegisterMsi(pDevIns, &MsiReg); 2888 AssertRCReturn(rc, rc); 2889 #endif 2880 2890 2881 2891 /* MSI Address Lo. */ … … 2888 2898 PDMPciDevSetDWord(pPciDev, offMsiData, 0); /* RW - MSI data. */ 2889 2899 2900 /** @todo IOMMU: I don't know if we can support this, disable later if required. */ 2890 2901 /* MSI Mapping Capability Header register. */ 2891 2902 PDMPciDevSetDWord(pPciDev, offMsiMapCapHdr,
Note:
See TracChangeset
for help on using the changeset viewer.