Changeset 89031 in vbox
- Timestamp:
- May 13, 2021 10:47:40 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 144370
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuIntel.cpp
r89030 r89031 2773 2773 /* ECAP_REG */ 2774 2774 { 2775 uint8_t const fQi = 1; /* Queued-invalidations. */ 2776 uint8_t const fIr = !!(DMAR_ACPI_DMAR_FLAGS & ACPI_DMAR_F_INTR_REMAP); /* Interrupt remapping support. */ 2777 uint8_t const fMhmv = 0xf; /* Maximum handle mask value. */ 2778 uint16_t const offIro = DMAR_MMIO_OFF_IVA_REG >> 4; /* MMIO offset of IOTLB registers. */ 2779 uint8_t const fSrs = 1; /* Supervisor request support. */ 2780 uint8_t const fEim = 1; /* Extended interrupt mode.*/ 2781 uint8_t const fAdms = 1; /* Abort DMA mode support. */ 2775 uint8_t const fQi = 1; /* Queued-invalidations. */ 2776 uint8_t const fIr = !!(DMAR_ACPI_DMAR_FLAGS & ACPI_DMAR_F_INTR_REMAP); /* Interrupt remapping support. */ 2777 uint8_t const fMhmv = 0xf; /* Maximum handle mask value. */ 2778 uint16_t const offIro = DMAR_MMIO_OFF_IVA_REG >> 4; /* MMIO offset of IOTLB registers. */ 2779 uint8_t const fEim = 1; /* Extended interrupt mode.*/ 2780 uint8_t const fAdms = 1; /* Abort DMA mode support. */ 2782 2781 2783 2782 pThis->fExtCapReg = RT_BF_MAKE(VTD_BF_ECAP_REG_C, 0) /* Accesses don't snoop CPU cache. */ … … 2794 2793 | RT_BF_MAKE(VTD_BF_ECAP_REG_PRS, 0) /* 0 as DT not supported. */ 2795 2794 | RT_BF_MAKE(VTD_BF_ECAP_REG_ERS, 0) /* Execute request not supported. */ 2796 | RT_BF_MAKE(VTD_BF_ECAP_REG_SRS, fSmts & fSrs)2795 | RT_BF_MAKE(VTD_BF_ECAP_REG_SRS, 0) /* Supervisor request not supported. */ 2797 2796 | RT_BF_MAKE(VTD_BF_ECAP_REG_NWFS, 0) /* 0 as DT not supported. */ 2798 2797 | RT_BF_MAKE(VTD_BF_ECAP_REG_EAFS, 0) /** @todo figure out if EAFS is required? */ … … 2809 2808 | RT_BF_MAKE(VTD_BF_ECAP_REG_RPS, 0) /* We don't support RID_PASID field in SM context entry. */ 2810 2809 | RT_BF_MAKE(VTD_BF_ECAP_REG_ADMS, fAdms) 2811 | RT_BF_MAKE(VTD_BF_ECAP_REG_RPRIVS, 0); /* * @todo figure out if we should/can support this?*/2810 | RT_BF_MAKE(VTD_BF_ECAP_REG_RPRIVS, 0); /* 0 as SRS not supported. */ 2812 2811 dmarRegWriteRaw64(pThis, VTD_MMIO_OFF_ECAP_REG, pThis->fExtCapReg); 2813 2812 }
Note:
See TracChangeset
for help on using the changeset viewer.