Changeset 85563 in vbox for trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp
- Timestamp:
- Jul 30, 2020 3:10:32 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp
r85562 r85563 5943 5943 /* Misc. Information Register. */ 5944 5944 /* NOTE! Fields (e.g, GVA size) must match what we expose in the ACPI tables. */ 5945 uint32_t const uMiscInfoReg0 = RT_BF_MAKE(IOMMU_BF_MISCINFO_0_MSI_NUM, 0)/* RO - MSI number */5946 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_GVA_SIZE, 2)/* RO - Guest Virt. Addr size (2=48 bits) */5947 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_PA_SIZE, 48)/* RO - Physical Addr size (48 bits) */5948 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_VA_SIZE, 64)/* RO - Virt. Addr size (64 bits) */5949 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_HT_ATS_RESV, 0)/* RW - HT ATS reserved */5950 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_MSI_NUM_PPR, 0);/* RW - PPR interrupt number */5945 uint32_t const uMiscInfoReg0 = RT_BF_MAKE(IOMMU_BF_MISCINFO_0_MSI_NUM, 0) /* RO - MSI number */ 5946 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_GVA_SIZE, 2) /* RO - Guest Virt. Addr size (2=48 bits) */ 5947 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_PA_SIZE, 48) /* RO - Physical Addr size (48 bits) */ 5948 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_VA_SIZE, 64) /* RO - Virt. Addr size (64 bits) */ 5949 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_HT_ATS_RESV, 0) /* RW - HT ATS reserved */ 5950 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_MSI_NUM_PPR, 0); /* RW - PPR interrupt number */ 5951 5951 uint32_t const uMiscInfoReg1 = 0; 5952 5952 PDMPciDevSetDWord(pPciDev, IOMMU_PCI_OFF_MISCINFO_REG_0, uMiscInfoReg0);
Note:
See TracChangeset
for help on using the changeset viewer.