Changeset 89307 in vbox for trunk/src/VBox/Devices
- Timestamp:
- May 27, 2021 6:16:37 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 144654
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuIntel.cpp
r89306 r89307 1922 1922 if (dmarDrLegacyModeIsAwValid(pThis, &CtxEntry)) 1923 1923 { 1924 1924 1925 return VERR_NOT_IMPLEMENTED; 1925 1926 } … … 3143 3144 uint8_t const fFl1gp = 1; /* First-Level 1GB pages support. */ 3144 3145 uint8_t const fFl5lp = 1; /* First-level 5-level paging support (PML5E). */ 3145 uint8_t const fSl2mp = fSlts & 1; /* Second-Level 2MB pages support. */ 3146 uint8_t const fSl2gp = fSlts & 1; /* Second-Level 1GB pages support. */ 3147 uint8_t const fSllps = fSl2mp /* Second-Level large page Support. */ 3148 | ((fSl2mp & fFl1gp) & RT_BIT(1)); 3146 uint8_t const fSl2mp = 1; /* Second-Level 2MB pages support. */ 3147 uint8_t const fSl2gp = fSl2mp & 1; /* Second-Level 1GB pages support. */ 3148 uint8_t const fSllps = fSl2mp | (fSl2gp << 1); /* Second-Level large page Support. */ 3149 3149 uint8_t const fMamv = (fSl2gp ? X86_PAGE_1G_SHIFT /* Maximum address mask value (for 2nd-level invalidations). */ 3150 3150 : X86_PAGE_2M_SHIFT)
Note:
See TracChangeset
for help on using the changeset viewer.