Changeset 88697 in vbox for trunk/src/VBox
- Timestamp:
- Apr 26, 2021 7:21:39 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuIntel.cpp
r88695 r88697 974 974 * 975 975 * @returns @c true if the fault can be recorded, @c false otherwise. 976 * @param pThis The shared DMAR device state. 977 */ 978 static bool dmarPrimaryFaultCanRecord(PDMAR pThis) 979 { 976 * @param pDevIns The IOMMU device instance. 977 * @param pThis The shared DMAR device state. 978 */ 979 static bool dmarPrimaryFaultCanRecord(PPDMDEVINS pDevIns, PDMAR pThis) 980 { 981 PCDMARCC pThisCC = PDMDEVINS_2_DATA_CC(pDevIns, PCDMARCC); 982 DMAR_ASSERT_LOCK_IS_OWNER(pDevIns, pThisCC); 983 980 984 uint32_t uFstsReg = dmarRegReadRaw32(pThis, VTD_MMIO_OFF_FSTS_REG); 981 985 if (uFstsReg & VTD_BF_FSTS_REG_PFO_MASK) … … 1268 1272 switch (off) 1269 1273 { 1270 case VTD_MMIO_OFF_GCMD_REG: 1274 case VTD_MMIO_OFF_GCMD_REG: /* 32-bit */ 1271 1275 { 1272 1276 rcStrict = dmarGcmdRegWrite(pDevIns, uRegWritten); … … 1274 1278 } 1275 1279 1276 case VTD_MMIO_OFF_CCMD_REG: 1280 case VTD_MMIO_OFF_CCMD_REG: /* 64-bit */ 1277 1281 case VTD_MMIO_OFF_CCMD_REG + 4: 1278 1282 { … … 1281 1285 } 1282 1286 1283 case VTD_MMIO_OFF_IQT_REG: 1284 /* VTD_MMIO_OFF_IQT_REG + 4: (RsvdZ)*/1287 case VTD_MMIO_OFF_IQT_REG: /* 64-bit */ 1288 /* VTD_MMIO_OFF_IQT_REG + 4: */ /* High 32-bits reserved. */ 1285 1289 { 1286 1290 rcStrict = dmarIqtRegWrite(pDevIns, offReg, uRegWritten); … … 1288 1292 } 1289 1293 1290 case VTD_MMIO_OFF_IQA_REG: 1291 /* VTD_MMIO_OFF_IQA_REG + 4: (Data)*/1294 case VTD_MMIO_OFF_IQA_REG: /* 64-bit */ 1295 /* VTD_MMIO_OFF_IQA_REG + 4: */ /* High 32-bits data. */ 1292 1296 { 1293 1297 rcStrict = dmarIqaRegWrite(pDevIns, offReg, uRegWritten);
Note:
See TracChangeset
for help on using the changeset viewer.