Changeset 12161 in vbox
- Timestamp:
- Sep 5, 2008 11:25:33 PM (16 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r12157 r12161 577 577 } 578 578 579 580 #if 0 /* See alternative in SUPDrvA-win.asm */ 581 /** 582 * Alternative version of SUPR0Printf for Windows. 583 * 584 * @returns 0. 585 * @param pszFormat The format string. 586 */ 587 SUPR0DECL(int) SUPR0Printf(const char *pszFormat, ...) 588 { 589 va_list va; 590 char szMsg[512]; 591 592 va_start(va, pszFormat); 593 size_t cch = RTStrPrintfV(szMsg, sizeof(szMsg) - 1, pszFormat, va); 594 szMsg[sizeof(szMsg) - 1] = '\0'; 595 va_end(va); 596 597 RTLogWriteDebugger(szMsg, cch); 598 return 0; 599 } 600 #endif -
trunk/src/VBox/HostDrivers/Support/win/SUPDrvA-win.asm
r12157 r12161 40 40 extern _DbgPrint 41 41 42 %if 1 ; see alternative in SUPDrv-win.cpp 42 43 ;; 43 44 ; Kind of alias for DbgPrint … … 45 46 jmp _DbgPrint 46 47 ENDPROC SUPR0Printf 48 %endif 47 49 48 50
Note:
See TracChangeset
for help on using the changeset viewer.