VirtualBox

Changeset 24197 in vbox


Ignore:
Timestamp:
Oct 30, 2009 2:43:09 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54144
Message:

Introducing PGMHasDirtyPages

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pgm.h

    r24061 r24197  
    329329VMMDECL(PGMMODE)    PGMGetHostMode(PVM pVM);
    330330VMMDECL(const char *) PGMGetModeName(PGMMODE enmMode);
     331VMMDECL(bool)       PGMHasDirtyPages(PVM pVM);
    331332VMMDECL(int)        PGMHandlerPhysicalRegisterEx(PVM pVM, PGMPHYSHANDLERTYPE enmType, RTGCPHYS GCPhys, RTGCPHYS GCPhysLast,
    332333                                                 R3PTRTYPE(PFNPGMR3PHYSHANDLER) pfnHandlerR3, RTR3PTR pvUserR3,
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r23087 r24197  
    20662066
    20672067
     2068#ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
     2069/**
     2070 * Check if any pgm pool pages are marked dirty (not monitored)
     2071 *
     2072 * @returns bool locked/not locked
     2073 * @param   pVM         The VM to operate on.
     2074 */
     2075VMMDECL(bool) PGMHasDirtyPages(PVM pVM)
     2076{
     2077    return pPool->cDirtyPages != 0;
     2078}
     2079#endif
     2080
    20682081/**
    20692082 * Check if the PGM lock is currently taken.
Note: See TracChangeset for help on using the changeset viewer.

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