Changeset 16859 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Feb 17, 2009 4:19:51 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r15416 r16859 126 126 { 127 127 pVM->cpum.s.Hyper.cr3 = cr3; 128 129 #ifdef IN_RC 130 /* Update the current CR3. */ 131 ASMSetCR3(cr3); 132 #endif 133 } 134 135 VMMDECL(uint32_t) CPUMGetHyperCR3(PVM pVM) 136 { 137 return pVM->cpum.s.Hyper.cr3; 128 138 } 129 139 -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r16842 r16859 4672 4672 # endif 4673 4673 4674 # ifdef IN_RC 4675 /* Update the current CR3. */ 4676 ASMSetCR3(pVM->pgm.s.HCPhysShwCR3); 4677 # endif 4674 /* Set the current hypervisor CR3. */ 4675 CPUMSetHyperCR3(pVM, PGMGetHyperCR3(pVM)); 4678 4676 4679 4677 /* Clean up the old CR3 root. */
Note:
See TracChangeset
for help on using the changeset viewer.