VirtualBox

Changeset 28460 in vbox


Ignore:
Timestamp:
Apr 19, 2010 1:19:39 PM (15 years ago)
Author:
vboxsync
Message:

Don't catch cr8 writes by default for nested paging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r27976 r28460  
    299299            pVMCB->ctrl.u16InterceptWrCRx = RT_BIT(0) | RT_BIT(3) | RT_BIT(4);
    300300        else
    301             pVMCB->ctrl.u16InterceptWrCRx = RT_BIT(0) | RT_BIT(4) | RT_BIT(8);
     301            pVMCB->ctrl.u16InterceptWrCRx = RT_BIT(0) | RT_BIT(4);
    302302
    303303        /* Intercept all DRx reads and writes by default. Changed later on. */
     
    741741        {
    742742            val |= X86_CR0_PG;          /* Paging is always enabled; even when the guest is running in real mode or PE without paging. */
    743             val |= X86_CR0_WP;          /* Must set this as we rely on protect various pages and supervisor writes must be caught. */
     743            val |= X86_CR0_WP;          /* Must set this as we rely on protecting various pages and supervisor writes must be caught. */
    744744        }
    745745        pVMCB->guest.u64CR0 = val;
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