Changeset 93922 in vbox for trunk/src/VBox/VMM/VMMR3/PGM.cpp
- Timestamp:
- Feb 24, 2022 3:14:31 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGM.cpp
r93905 r93922 1024 1024 { 1025 1025 PVMCPU pVCpu = pVM->apCpusR3[i]; 1026 rc = PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL );1026 rc = PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL, false /* fForce */); 1027 1027 if (RT_FAILURE(rc)) 1028 1028 break; … … 1647 1647 pVM->pgm.s.HCPhysInvMmioPg |= UINT64_C(0x000f0000000000); 1648 1648 } 1649 Assert(pVM->cpum.ro.GuestFeatures.cMaxPhysAddrWidth == cMaxPhysAddrWidth); 1649 /* Disabled the below assertion -- triggers 24 vs 39 on my Intel Skylake box for a 32-bit (Guest-type Other/Unknown) VM. */ 1650 //AssertMsg(pVM->cpum.ro.GuestFeatures.cMaxPhysAddrWidth == cMaxPhysAddrWidth, 1651 // ("CPUM %u - PGM %u\n", pVM->cpum.ro.GuestFeatures.cMaxPhysAddrWidth, cMaxPhysAddrWidth)); 1650 1652 #else 1651 1653 uint32_t const cMaxPhysAddrWidth = pVM->cpum.ro.GuestFeatures.cMaxPhysAddrWidth; … … 1852 1854 pVCpu->pgm.s.GCPhysNstGstCR3 = NIL_RTGCPHYS; 1853 1855 1854 int rc = PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL );1856 int rc = PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL, false /* fForce */); 1855 1857 AssertReleaseRC(rc); 1856 1858 … … 1918 1920 PVMCPU pVCpu = pVM->apCpusR3[i]; 1919 1921 1920 int rc = PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL );1922 int rc = PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL, false /* fForce */); 1921 1923 AssertReleaseRC(rc); 1922 1924 … … 2298 2300 { 2299 2301 pVCpu->pgm.s.enmShadowMode = PGMMODE_INVALID; 2300 int rc = PGMHCChangeMode(pVM, pVCpu, PGMGetGuestMode(pVCpu) );2302 int rc = PGMHCChangeMode(pVM, pVCpu, PGMGetGuestMode(pVCpu), false /* fForce */); 2301 2303 Assert(VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3)); 2302 2304 AssertRCReturn(rc, rc);
Note:
See TracChangeset
for help on using the changeset viewer.