Changeset 93617 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Feb 6, 2022 8:35:16 AM (3 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r93595 r93617 141 141 AssertRCReturn(rc, rc); 142 142 143 pVCpu->pgm.s.pShwPageCR3R3 = (R3PTRTYPE(PPGMPOOLPAGE))MMHyperCCToR3(pVM, pNewShwPageCR3);144 pVCpu->pgm.s.pShwPageCR3R0 = (R0PTRTYPE(PPGMPOOLPAGE))MMHyperCCToR0(pVM, pNewShwPageCR3);143 pVCpu->pgm.s.pShwPageCR3R3 = pgmPoolConvertPageToR3(pPool, pNewShwPageCR3); 144 pVCpu->pgm.s.pShwPageCR3R0 = pgmPoolConvertPageToR0(pPool, pNewShwPageCR3); 145 145 146 146 /* Mark the page as locked; disallow flushing. */ … … 4243 4243 AssertFatalRC(rc2); 4244 4244 4245 pVCpu->pgm.s.CTX_SUFF(pShwPageCR3) = pNewShwPageCR3; 4246 # ifdef IN_RING0 4247 pVCpu->pgm.s.pShwPageCR3R3 = MMHyperCCToR3(pVM, pVCpu->pgm.s.CTX_SUFF(pShwPageCR3)); 4248 # else 4249 pVCpu->pgm.s.pShwPageCR3R0 = MMHyperCCToR0(pVM, pVCpu->pgm.s.CTX_SUFF(pShwPageCR3)); 4250 # endif 4245 pVCpu->pgm.s.pShwPageCR3R3 = pgmPoolConvertPageToR3(pPool, pNewShwPageCR3); 4246 pVCpu->pgm.s.pShwPageCR3R0 = pgmPoolConvertPageToR0(pPool, pNewShwPageCR3); 4251 4247 4252 4248 /* Set the current hypervisor CR3. */ -
trunk/src/VBox/VMM/VMMAll/PGMAllShw.h
r93554 r93617 245 245 AssertLogRelRCReturnStmt(rc, PGM_UNLOCK(pVM), rc); 246 246 247 pVCpu->pgm.s.pShwPageCR3R3 = (R3PTRTYPE(PPGMPOOLPAGE))MMHyperCCToR3(pVM, pNewShwPageCR3);248 pVCpu->pgm.s.pShwPageCR3R0 = (R0PTRTYPE(PPGMPOOLPAGE))MMHyperCCToR0(pVM, pNewShwPageCR3);247 pVCpu->pgm.s.pShwPageCR3R3 = pgmPoolConvertPageToR3(pVM->pgm.s.CTX_SUFF(pPool), pNewShwPageCR3); 248 pVCpu->pgm.s.pShwPageCR3R0 = pgmPoolConvertPageToR0(pVM->pgm.s.CTX_SUFF(pPool), pNewShwPageCR3); 249 249 250 250 PGM_UNLOCK(pVM);
Note:
See TracChangeset
for help on using the changeset viewer.