VirtualBox

Changeset 16902 in vbox


Ignore:
Timestamp:
Feb 18, 2009 1:37:22 PM (16 years ago)
Author:
vboxsync
Message:

Assertion added

File:
1 edited

Legend:

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

    r16901 r16902  
    46534653
    46544654#  ifndef PGM_WITHOUT_MAPPINGS
    4655     /* Apply all hypervisor mappings to the new CR3. */
     4655    /* Apply all hypervisor mappings to the new CR3.
     4656     * Note that SyncCR3 will be executed in case CR3 is changed in a guest paging mode; this will
     4657     * make sure we check for conflicts in the new CR3 root.
     4658     */
     4659#   if PGM_WITH_PAGING(PGM_GST_TYPE, PGM_SHW_TYPE)
     4660    Assert(VM_FF_ISSET(pVM, VM_FF_PGM_SYNC_CR3_NON_GLOBAL));
     4661#   endif
    46564662    rc = PGMMapActivateAll(pVM);
    46574663    AssertRCReturn(rc, rc);
     
    47544760
    47554761# ifndef PGM_WITHOUT_MAPPINGS
    4756     /* Remove the hypervisor mappings from the shadow page table.
    4757      * Note that SyncCR3 will be executed in case CR3 is changed in a guest paging mode; this will
    4758      * make sure we check for conflicts in the new CR3 root.
    4759      */
     4762    /* Remove the hypervisor mappings from the shadow page table. */
    47604763    PGMMapDeactivateAll(pVM);
    47614764# endif
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