Changeset 4710 in vbox for trunk/src/VBox
- Timestamp:
- Sep 11, 2007 12:51:37 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/vboxmod.c
r4299 r4710 34 34 #endif 35 35 36 #ifdef DEBUG 36 37 /* Runtime assert implementation for Linux ring 0 */ 37 38 RTDECL(void) AssertMsg1(const char *pszExpr, unsigned uLine, … … 47 48 pszExpr, pszFile, uLine, pszFunction)); 48 49 } 50 EXPORT_SYMBOL(AssertMsg1); 49 51 50 52 /* Runtime assert implementation for Linux ring 0 */ … … 61 63 va_end(ap); 62 64 } 63 64 #if 0 /* We now have real backdoor logging */ 65 /* Backdoor logging function, needed by the runtime */ 66 RTDECL(size_t) RTLogBackdoorPrintf (const char *pszFormat, ...) 67 { 68 va_list ap; 69 char msg[256]; 70 size_t n; 71 72 va_start(ap, pszFormat); 73 n = vsnprintf(msg, sizeof(msg) - 1, pszFormat, ap); 74 msg[sizeof(msg) - 1] = '\0'; 75 printk ("%s", msg); 76 va_end(ap); 77 return n; 78 } 79 #endif 65 EXPORT_SYMBOL(AssertMsg2); 66 67 RTDECL(bool) RTAssertDoBreakpoint(void) 68 { 69 return false; 70 } 71 EXPORT_SYMBOL(RTAssertDoBreakpoint); 72 #endif /* DEBUG defined */ 80 73 81 74 /** device extension structure (we only support one device instance) */
Note:
See TracChangeset
for help on using the changeset viewer.