VirtualBox

Ignore:
Timestamp:
Feb 17, 2009 4:19:51 PM (16 years ago)
Author:
vboxsync
Message:

Load hypervisor CR3 from CPUM (instead of hardcoded fixups in the switchers). Dangerous change. Watch for regressions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r16842 r16859  
    46724672#  endif
    46734673
    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));
    46784676
    46794677    /* Clean up the old CR3 root. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette