Changeset 86472 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Oct 7, 2020 5:22:00 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 140781
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGMPool.cpp
r86470 r86472 97 97 *********************************************************************************************************************************/ 98 98 #define LOG_GROUP LOG_GROUP_PGM_POOL 99 #define VBOX_WITHOUT_PAGING_BIT_FIELDS /* 64-bit bitfields are just asking for trouble. See @bugref{9841} and others. */ 99 100 #include <VBox/vmm/pgm.h> 100 101 #include <VBox/vmm/mm.h> … … 563 564 { 564 565 Assert((pShwPD->a[i].u & UINT64_C(0xfff0000000000f80)) == 0); 565 if ( pShwPD->a[i].n.u1Present 566 && pShwPD->a[i].b.u1Size) 566 if ((pShwPD->a[i].u & (EPT_E_READ | EPT_E_LEAF)) == (EPT_E_READ | EPT_E_LEAF)) 567 567 { 568 568 # ifndef PGM_WITHOUT_MAPPINGS … … 815 815 for (unsigned iShw = 0; iShw < RT_ELEMENTS(uShw.pPTEpt->a); iShw++) 816 816 { 817 if (uShw.pPTEpt->a[iShw]. n.u1Present)818 uShw.pPTEpt->a[iShw]. n.u1Write = 0;817 if (uShw.pPTEpt->a[iShw].u & EPT_E_READ) 818 uShw.pPTEpt->a[iShw].u &= ~(X86PGPAEUINT)EPT_E_WRITE; 819 819 } 820 820 break;
Note:
See TracChangeset
for help on using the changeset viewer.