Changeset 22754 in vbox
- Timestamp:
- Sep 3, 2009 2:27:14 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 51907
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMInternal.h
r22748 r22754 70 70 */ 71 71 #ifndef IN_RC 72 ////# define PGMPOOL_WITH_OPTIMIZED_DIRTY_PT72 # define PGMPOOL_WITH_OPTIMIZED_DIRTY_PT 73 73 #endif 74 74 … … 1670 1670 * It's a hack required because of REMR3NotifyHandlerPhysicalDeregister. */ 1671 1671 bool volatile fReusedFlushPending; 1672 #ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT1673 1672 /** Used to mark the page as dirty (write monitoring if temporarily off. */ 1674 1673 bool fDirty; 1675 #else1676 bool bPadding1;1677 #endif1678 1674 1679 1675 /** Used to indicate that this page can't be flushed. Important for cr3 root pages or shadow pae pd pages). */ 1680 1676 uint32_t cLocked; 1681 #ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT1682 1677 uint32_t idxDirty; 1683 1678 RTGCPTR pvDirtyFault; 1684 #else1685 uint32_t bPadding2;1686 #endif1687 1679 } PGMPOOLPAGE, *PPGMPOOLPAGE, **PPPGMPOOLPAGE; 1688 1680 /** Pointer to a const pool page. */ … … 1770 1762 /** The access handler description (HC ptr). */ 1771 1763 R3PTRTYPE(const char *) pszAccessHandler; 1772 # ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT1773 1764 /* Next available slot. */ 1774 1765 uint32_t idxFreeDirtyPage; … … 1778 1769 uint16_t aIdxDirtyPages[8]; 1779 1770 uint64_t aDirtyPages[8][512]; 1780 # endif /* PGMPOOL_WITH_OPTIMIZED_DIRTY_PT */1781 1771 #endif /* PGMPOOL_WITH_MONITORING */ 1782 1772 /** The number of pages currently in use. */
Note:
See TracChangeset
for help on using the changeset viewer.