Changeset 86088 in vbox for trunk/include/VBox
- Timestamp:
- Sep 11, 2020 9:33:38 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 140320
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/iommu-amd.h
r86030 r86088 454 454 455 455 /** 456 * Gets the device table sizegiven the size field.457 */ 458 #define IOMMU_GET_DEV_TAB_ SIZE(a_uSize) (((a_uSize) + 1) << X86_PAGE_4K_SHIFT)456 * Gets the device table length (in bytes) given the size field. 457 */ 458 #define IOMMU_GET_DEV_TAB_LEN(a_DevTab) (((a_DevTab.n.u9Size) + 1) << X86_PAGE_4K_SHIFT) 459 459 460 460 /** … … 499 499 RT_GCC_EXTENSION uint64_t u1Rsvd0 : 1; /**< Bit 63 - Reserved. */ 500 500 RT_GCC_EXTENSION uint64_t u16DomainId : 16; /**< Bits 79:64 - Domain ID. */ 501 RT_GCC_EXTENSION uint64_t u16GstCr3TableRootPtrM ed : 16; /**< Bits 95:80 - GCR3 TRP: Guest CR3 Table Root Ptr (Mid). */501 RT_GCC_EXTENSION uint64_t u16GstCr3TableRootPtrMid : 16; /**< Bits 95:80 - GCR3 TRP: Guest CR3 Table Root Ptr (Mid). */ 502 502 RT_GCC_EXTENSION uint64_t u1IoTlbEnable : 1; /**< Bit 96 - I: IOTLB Enable. */ 503 503 RT_GCC_EXTENSION uint64_t u1SuppressPfEvents : 1; /**< Bit 97 - SE: Supress Page-fault events. */ … … 525 525 RT_GCC_EXTENSION uint64_t u22Rsvd0 : 22; /**< Bits 245:224 - Reserved. */ 526 526 RT_GCC_EXTENSION uint64_t u1AttrOverride : 1; /**< Bit 246 - AttrV: Attribute Override. */ 527 RT_GCC_EXTENSION uint64_t u1Mode0FC : 1;/**< Bit 247 - Mode0FC. */528 RT_GCC_EXTENSION uint64_t u8SnoopAttr : 8;/**< Bits 255:248 - Snoop Attribute. */527 RT_GCC_EXTENSION uint64_t u1Mode0FC : 1; /**< Bit 247 - Mode0FC. */ 528 RT_GCC_EXTENSION uint64_t u8SnoopAttr : 8; /**< Bits 255:248 - Snoop Attribute. */ 529 529 } n; 530 530 /** The 32-bit unsigned integer view. */ … … 565 565 /* Mask of the interrupt table root pointer. */ 566 566 #define IOMMU_DTE_IRTE_ROOT_PTR_MASK UINT64_C(0x000fffffffffffc0) 567 /* Number of bits to shift to get the interrupt root table pointer at 568 qword 2 (qword 0 being the first one) - 128-byte aligned. */ 569 #define IOMMU_DTE_IRTE_ROOT_PTR_SHIFT 6 570 567 571 568 572 /**
Note:
See TracChangeset
for help on using the changeset viewer.