Changeset 17146 in vbox for trunk/src/VBox
- Timestamp:
- Feb 26, 2009 9:23:27 AM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r17142 r17146 4658 4658 # ifdef IN_RC 4659 4659 /** NOTE: We can't deal with jumps to ring 3 here as we're now in an inconsistent state! */ 4660 VMMGCLogDisable(pVM); 4660 4661 # endif 4661 4662 /* Mark the page as locked; disallow flushing. */ … … 4698 4699 4699 4700 # ifdef IN_RC 4700 /** NOTE: Everything safe again. */4701 VMMGCLogEnable(pVM); 4701 4702 # endif 4702 4703 -
trunk/src/VBox/VMM/VMMGC/VMMGC.cpp
r13816 r17146 177 177 178 178 /** 179 * Disables the GC logger temporarily 180 * 181 * @param pVM The VM handle. 182 */ 183 VMMRCDECL(void) VMMGCLogDisable(PVM pVM) 184 { 185 if (pVM->vmm.s.pRCLoggerRC) 186 pVM->vmm.s.pRCLoggerRC->fFlags |= RTLOGFLAGS_DISABLED; 187 } 188 189 190 /** 191 * Enables the GC logger again 192 * 193 * @param pVM The VM handle. 194 */ 195 VMMRCDECL(void) VMMGCLogEnable(PVM pVM) 196 { 197 if (pVM->vmm.s.pRCLoggerRC) 198 pVM->vmm.s.pRCLoggerRC->fFlags &= ~RTLOGFLAGS_DISABLED; 199 } 200 201 202 /** 179 203 * Switches from guest context to host context. 180 204 *
Note:
See TracChangeset
for help on using the changeset viewer.