- Timestamp:
- Jul 29, 2020 5:28:58 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp
r85007 r85494 5921 5921 5922 5922 /* Capability Header. */ 5923 /* NOTE! Fields (e.g, EFR) must match what we expose in the ACPI tables. */ 5923 5924 PDMPciDevSetDWord(pPciDev, IOMMU_PCI_OFF_CAP_HDR, 5924 5925 RT_BF_MAKE(IOMMU_BF_CAPHDR_CAP_ID, 0xf) /* RO - Secure Device capability block */ … … 5942 5943 5943 5944 /* Misc. Information Register 0. */ 5945 /* NOTE! Fields (e.g, GVA size) must match what we expose in the ACPI tables. */ 5944 5946 PDMPciDevSetDWord(pPciDev, IOMMU_PCI_OFF_MISCINFO_REG_0, 5945 RT_BF_MAKE(IOMMU_BF_MISCINFO_0_MSI_NUM, 0x0)/* RO - MSI number */5946 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_GVA_SIZE, 0x2)/* RO - Guest Virt. Addr size (2=48 bits) */5947 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_PA_SIZE, 0x30)/* RO - Physical Addr size (48 bits) */5948 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_VA_SIZE, 0x40)/* RO - Virt. Addr size (64 bits) */5949 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_HT_ATS_RESV, 0x0)/* RW - HT ATS reserved */5950 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_MSI_NUM_PPR, 0x0));/* RW - PPR interrupt number */5947 RT_BF_MAKE(IOMMU_BF_MISCINFO_0_MSI_NUM, 0) /* RO - MSI number */ 5948 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_GVA_SIZE, 2) /* RO - Guest Virt. Addr size (2=48 bits) */ 5949 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_PA_SIZE, 48) /* RO - Physical Addr size (48 bits) */ 5950 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_VA_SIZE, 64) /* RO - Virt. Addr size (64 bits) */ 5951 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_HT_ATS_RESV, 0) /* RW - HT ATS reserved */ 5952 | RT_BF_MAKE(IOMMU_BF_MISCINFO_0_MSI_NUM_PPR, 0)); /* RW - PPR interrupt number */ 5951 5953 5952 5954 /* Misc. Information Register 1. */
Note:
See TracChangeset
for help on using the changeset viewer.