Changeset 1226 in vbox
- Timestamp:
- Mar 5, 2007 4:00:13 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19159
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r1224 r1226 61 61 62 62 63 /* #define DEBUG_NO_RING0_ASSERTIONS */ 63 #define DEBUG_NO_RING0_ASSERTIONS 64 64 #ifdef DEBUG_NO_RING0_ASSERTIONS 65 65 static PVM g_pVMAssert = 0; … … 746 746 } 747 747 748 /** 749 * Callback for RTLogFormatV which writes to the com port. 750 * See PFNLOGOUTPUT() for details. 751 */ 752 static DECLCALLBACK(size_t) rtLogOutput(void *pv, const char *pachChars, size_t cbChars) 753 { 754 for (size_t i=0;i<cbChars;i++) 755 Log(("%c", pachChars[i])); 756 757 return cbChars; 758 } 759 748 760 DECLEXPORT(void) RTCALL AssertMsg2(const char *pszFormat, ...) 749 761 { … … 754 766 755 767 va_start(args, pszFormat); 756 RTLog RelPrintfV(pszFormat, args);768 RTLogFormatV(rtLogOutput, pLog, pszFormat, args); 757 769 va_end(args); 758 R TLogFlush(pLog);759 } 760 } 761 762 #endif 770 R0LogFlush(); 771 } 772 } 773 774 #endif
Note:
See TracChangeset
for help on using the changeset viewer.