VirtualBox

Changeset 27816 in vbox for trunk/src


Ignore:
Timestamp:
Mar 30, 2010 8:46:43 AM (15 years ago)
Author:
vboxsync
Message:

PGMSyncCR3: Go back to ring 3 if a pgm pool sync is again pending.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r27814 r27816  
    18341834    {
    18351835        Assert((cr0 & (X86_CR0_PG | X86_CR0_PE)) != (X86_CR0_PG | X86_CR0_PE));
     1836        Assert(!(pVCpu->pgm.s.fSyncFlags & PGM_SYNC_CLEAR_PGM_POOL));
    18361837        VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_PGM_SYNC_CR3);
    18371838        VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_PGM_SYNC_CR3_NON_GLOBAL);
     
    19011902    if (rc == VINF_SUCCESS)
    19021903    {
     1904        if (pVCpu->pgm.s.fSyncFlags & PGM_SYNC_CLEAR_PGM_POOL)
     1905        {
     1906            /* Go back to ring 3 if a pgm pool sync is again pending. */
     1907            return VINF_PGM_SYNC_CR3;
     1908        }
     1909
    19031910        if (!(pVCpu->pgm.s.fSyncFlags & PGM_SYNC_ALWAYS))
    19041911        {
     1912            Assert(!(pVCpu->pgm.s.fSyncFlags & PGM_SYNC_CLEAR_PGM_POOL));
    19051913            VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_PGM_SYNC_CR3);
    19061914            VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_PGM_SYNC_CR3_NON_GLOBAL);
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