VirtualBox

Changeset 88521 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 15, 2021 10:56:57 AM (4 years ago)
Author:
vboxsync
Message:

Intel IOMMU: bugref:9967 Updates to adjust for changes in Oct 2020 and Apr 2021 Intel VT-d specs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/iommu-intel.h

    r88518 r88521  
    775775#define VTD_BF_CAP_REG_FL5LP_SHIFT                              60
    776776#define VTD_BF_CAP_REG_FL5LP_MASK                               UINT64_C(0x1000000000000000)
    777 /** R: Reserved (bits 63:61). */
    778 #define VTD_BF_CAP_REG_RSVD_63_61_SHIFT                         61
    779 #define VTD_BF_CAP_REG_RSVD_63_61_MASK                          UINT64_C(0xe000000000000000)
     777/** R: Reserved (bit 61). */
     778#define VTD_BF_CAP_REG_RSVD_61_SHIFT                            61
     779#define VTD_BF_CAP_REG_RSVD_61_MASK                             UINT64_C(0x2000000000000000)
     780/** ESIRTPS: Enhanced Set Interrupt Root Table Pointer Support. */
     781#define VTD_BF_CAP_REG_ESIRTPS_SHIFT                            62
     782#define VTD_BF_CAP_REG_ESIRTPS_MASK                             UINT64_C(0x4000000000000000)
     783/** : Enhanced Set Root Table Pointer Support. */
     784#define VTD_BF_CAP_REG_ESRTPS_SHIFT                             63
     785#define VTD_BF_CAP_REG_ESRTPS_MASK                              UINT64_C(0x8000000000000000)
    780786RT_BF_ASSERT_COMPILE_CHECKS(VTD_BF_CAP_REG_, UINT64_C(0), UINT64_MAX,
    781787                            (ND, AFL, RWBF, PLMR, PHMR, CM, SAGAW, RSVD_15_13, MGAW, ZLR, RSVD_23, FRO, SLLPS, RSVD_38, PSI, NFR,
    782                              MAMV, DWD, DRD, FL1GP, RSVD_58_57, PI, FL5LP, RSVD_63_61));
     788                             MAMV, DWD, DRD, FL1GP, RSVD_58_57, PI, FL5LP, RSVD_61, ESIRTPS, ESRTPS));
    783789
    784790/** RW: Read/write mask. */
     
    889895#define VTD_BF_ECAP_REG_RPS_SHIFT                               49
    890896#define VTD_BF_ECAP_REG_RPS_MASK                                UINT64_C(0x0002000000000000)
    891 /** R: Reserved (bits 63:50). */
    892 #define VTD_BF_ECAP_REG_RSVD_63_50_SHIFT                        50
    893 #define VTD_BF_ECAP_REG_RSVD_63_50_MASK                         UINT64_C(0xfffc000000000000)
     897/** R: Reserved (bits 51:50). */
     898#define VTD_BF_ECAP_REG_RSVD_51_50_SHIFT                        50
     899#define VTD_BF_ECAP_REG_RSVD_51_50_MASK                         UINT64_C(0x000c000000000000)
     900/** ADMS: Abort DMA Mode Support. */
     901#define VTD_BF_ECAP_REG_ADMS_SHIFT                              52
     902#define VTD_BF_ECAP_REG_ADMS_MASK                               UINT64_C(0x0010000000000000)
     903/** RPRIVS: RID_PRIV Support. */
     904#define VTD_BF_ECAP_REG_RPRIVS_SHIFT                            53
     905#define VTD_BF_ECAP_REG_RPRIVS_MASK                             UINT64_C(0x0020000000000000)
     906/** R: Reserved (bits 63:54). */
     907#define VTD_BF_ECAP_REG_RSVD_63_54_SHIFT                        54
     908#define VTD_BF_ECAP_REG_RSVD_63_54_MASK                         UINT64_C(0xffc0000000000000)
    894909RT_BF_ASSERT_COMPILE_CHECKS(VTD_BF_ECAP_REG_, UINT64_C(0), UINT64_MAX,
    895910                            (C, QI, DT, IR, EIM, RSVD_5, PT, SC, IRO, RSVD_19_18, MHMV, RSVD_24, MTS, NEST, RSVD_27, RSVD_28,
    896911                             PRS, ERS, SRS, RSVD_32, NWFS, EAFS, PSS, PASID, DIT, PDS, SMTS, VCS, SLADS, SLTS, FLTS, SMPWCS, RPS,
    897                              RSVD_63_50));
     912                             RSVD_51_50, ADMS, RPRIVS, RSVD_63_54));
    898913
    899914/** RW: Read/write mask. */
Note: See TracChangeset for help on using the changeset viewer.

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