Changeset 19734 in vbox
- Timestamp:
- May 15, 2009 12:37:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r19732 r19734 1148 1148 } 1149 1149 1150 #ifdef LOG_ENABLED1151 1150 /** 1152 1151 * Internal R0 logger worker: Flush logger. … … 1157 1156 VMMR0DECL(void) vmmR0LoggerFlush(PRTLOGGER pLogger) 1158 1157 { 1158 #ifdef LOG_ENABLED 1159 1159 /* 1160 1160 * Convert the pLogger into a VM handle and 'call' back to Ring-3. … … 1166 1166 || pLogger->u32Magic != RTLOGGER_MAGIC) 1167 1167 { 1168 # ifdef DEBUG1168 # ifdef DEBUG 1169 1169 SUPR0Printf("vmmR0LoggerFlush: pLogger=%p!\n", pLogger); 1170 # endif1170 # endif 1171 1171 return; 1172 1172 } … … 1178 1178 || pVM->pVMR0 != pVM) 1179 1179 { 1180 # ifdef DEBUG1180 # ifdef DEBUG 1181 1181 SUPR0Printf("vmmR0LoggerFlush: pVM=%p! pVMR0=%p! pLogger=%p\n", pVM, pVM->pVMR0, pLogger); 1182 # endif1182 # endif 1183 1183 return; 1184 1184 } … … 1189 1189 * Check that the jump buffer is armed. 1190 1190 */ 1191 # ifdef RT_ARCH_X861191 # ifdef RT_ARCH_X86 1192 1192 if ( !pVCpu->vmm.s.CallHostR0JmpBuf.eip 1193 1193 || pVCpu->vmm.s.CallHostR0JmpBuf.fInRing3Call) 1194 # else1194 # else 1195 1195 if ( !pVCpu->vmm.s.CallHostR0JmpBuf.rip 1196 1196 || pVCpu->vmm.s.CallHostR0JmpBuf.fInRing3Call) 1197 # endif1198 { 1199 # ifdef DEBUG1197 # endif 1198 { 1199 # ifdef DEBUG 1200 1200 SUPR0Printf("vmmR0LoggerFlush: Jump buffer isn't armed!\n"); 1201 # endif1201 # endif 1202 1202 return; 1203 1203 } 1204 1204 VMMR0CallHost(pVM, VMMCALLHOST_VMM_LOGGER_FLUSH, 0); 1205 } 1206 #endif 1205 #endif 1206 } 1207 1207 1208 1208 #ifdef LOG_ENABLED
Note:
See TracChangeset
for help on using the changeset viewer.