VirtualBox

Changeset 84314 in vbox


Ignore:
Timestamp:
May 15, 2020 5:13:53 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137984
Message:

AMD IOMMU: bugref:9654 DSFX, DSCX, DSSX revision numbers. Not sure we need them, but one of the BKDG (not all) has PCI config.
registers that report Marc bits via DSSX. Not yet sure we need to implement all those PCI config. registers as its not mentioned
anywhere in the actual spec. but only in the BKDG.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp

    r84308 r84314  
    483483/** The IOTLB entry magic. */
    484484#define IOMMU_IOTLBE_MAGIC                          0x10acce55
     485/** The device-specific feature major revision. */
     486#define IOMMU_DEVSPEC_FEAT_MAJOR_VERSION            0x1
     487/** The device-specific feature minor revision. */
     488#define IOMMU_DEVSPEC_FEAT_MINOR_VERSION            0x0
     489/** The device-specific control major revision. */
     490#define IOMMU_DEVSPEC_CTRL_MAJOR_VERSION            0x1
     491/** The device-specific control minor revision. */
     492#define IOMMU_DEVSPEC_CTRL_MINOR_VERSION            0x0
     493/** The device-specific status major revision. */
     494#define IOMMU_DEVSPEC_STATUS_MAJOR_VERSION          0x1
     495/** The device-specific status minor revision. */
     496#define IOMMU_DEVSPEC_STATUS_MINOR_VERSION          0x0
    485497/** @} */
    486498
     
    58095821
    58105822    pThis->DevSpecificFeat.u64   = 0;
    5811     pThis->DevSpecificCtrl.u64   = 0;
     5823    pThis->DevSpecificFeat.n.u4RevMajor = IOMMU_DEVSPEC_FEAT_MAJOR_VERSION;
     5824    pThis->DevSpecificFeat.n.u4RevMinor = IOMMU_DEVSPEC_FEAT_MINOR_VERSION;
     5825
     5826    pThis->DevSpecificCtrl.u64 = 0;
     5827    pThis->DevSpecificCtrl.n.u4RevMajor = IOMMU_DEVSPEC_CTRL_MAJOR_VERSION;
     5828    pThis->DevSpecificCtrl.n.u4RevMinor = IOMMU_DEVSPEC_CTRL_MINOR_VERSION;
     5829
    58125830    pThis->DevSpecificStatus.u64 = 0;
     5831    pThis->DevSpecificStatus.n.u4RevMajor = IOMMU_DEVSPEC_STATUS_MAJOR_VERSION;
     5832    pThis->DevSpecificStatus.n.u4RevMinor = IOMMU_DEVSPEC_STATUS_MINOR_VERSION;
    58135833
    58145834    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette