Changeset 31067 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Jul 23, 2010 2:50:12 PM (14 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r31066 r31067 628 628 } 629 629 630 Assert(HWACCMIsNestedPagingActive(pVM) == pVM->pgm.s.fNestedPaging);631 630 if (!pVM->pgm.s.fNestedPaging) 632 631 { … … 944 943 # endif 945 944 946 Assert(HWACCMIsNestedPagingActive(pVM) == pVM->pgm.s.fNestedPaging);947 945 if (pVM->pgm.s.fNestedPaging || !CPUMIsGuestPagingEnabled(pVCpu)) 948 946 { … … 1065 1063 const unsigned iPml4 = (GCPtr >> X86_PML4_SHIFT) & X86_PML4_MASK; 1066 1064 PX86PML4E pPml4e = pgmShwGetLongModePML4EPtr(pPGM, iPml4); 1067 Assert(HWACCMIsNestedPagingActive(pVM) == pVM->pgm.s.fNestedPaging);1068 1065 bool fNestedPagingOrNoGstPaging = pVM->pgm.s.fNestedPaging || !CPUMIsGuestPagingEnabled(pVCpu); 1069 1066 PPGMPOOLPAGE pShwPage; … … 1220 1217 int rc; 1221 1218 1222 Assert(HWACCMIsNestedPagingActive(pVM) == pVM->pgm.s.fNestedPaging);1223 1219 Assert(pVM->pgm.s.fNestedPaging); 1224 1220 Assert(PGMIsLockOwner(pVM)); … … 1838 1834 1839 1835 /* We assume we're only called in nested paging mode. */ 1840 Assert(HWACCMIsNestedPagingActive(pVM) == pVM->pgm.s.fNestedPaging);1841 1836 Assert(pVM->pgm.s.fNestedPaging || pVCpu->pgm.s.enmShadowMode == PGMMODE_EPT); 1842 1837 Assert(pVM->pgm.s.fMappingsDisabled); -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r31066 r31067 906 906 RTGCPHYS GCPhys2; 907 907 uint64_t fPageGst; 908 Assert(HWACCMIsNestedPagingActive(pVM) == pVM->pgm.s.fNestedPaging);909 908 if (!pVM->pgm.s.fNestedPaging) 910 909 { … … 2080 2079 if (PdeDst.n.u1Size) 2081 2080 { 2082 Assert(HWACCMIsNestedPagingActive(pVM) == pVM->pgm.s.fNestedPaging);2083 2081 Assert(pVM->pgm.s.fNestedPaging); 2084 2082 Log(("CPU%d: SyncPage: Pde (big:%RX64) at %RGv changed behind our back!\n", pVCpu->idCpu, PdeDst.u, GCPtrPage)); … … 3461 3459 LogFlow(("VerifyAccessSyncPage: GCPtrPage=%RGv fPage=%#x uErr=%#x\n", GCPtrPage, fPage, uErr)); 3462 3460 3463 Assert(HWACCMIsNestedPagingActive(pVM) == pVM->pgm.s.fNestedPaging);3464 3461 Assert(!pVM->pgm.s.fNestedPaging); 3465 3462 #if ( PGM_GST_TYPE == PGM_TYPE_32BIT \ … … 4654 4651 && PGM_GST_TYPE != PGM_TYPE_PROT)) 4655 4652 4656 Assert(HWACCMIsNestedPagingActive(pVM) == pVM->pgm.s.fNestedPaging);4657 4653 Assert(!pVM->pgm.s.fNestedPaging); 4658 4654 … … 4802 4798 4803 4799 # if PGM_GST_TYPE != PGM_TYPE_REAL 4804 Assert(HWACCMIsNestedPagingActive(pVM) == pVM->pgm.s.fNestedPaging);4805 4800 Assert(!pVM->pgm.s.fNestedPaging); 4806 4801 # endif
Note:
See TracChangeset
for help on using the changeset viewer.