win-pvdrivers

changeset 1097:2c0d09515dd0

Actually send XnDebugPrint output to the proper debugger too
author James Harper <james.harper@bendigoit.com.au>
date Thu Jan 16 19:51:57 2014 +1100 (2014-01-16)
parents 05efa89a4ef7
children 470198964cf0
files xenpci/xenpci_dbgprint.c
line diff
     1.1 --- a/xenpci/xenpci_dbgprint.c	Thu Jan 16 19:50:40 2014 +1100
     1.2 +++ b/xenpci/xenpci_dbgprint.c	Thu Jan 16 19:51:57 2014 +1100
     1.3 @@ -34,6 +34,7 @@ XenPci_DebugPrintV(PCHAR format, va_list
     1.4    status = RtlStringCbVPrintfA(buf, ARRAY_SIZE(buf), format, args);  
     1.5    if (status != STATUS_SUCCESS)
     1.6      return status;
     1.7 +  DbgPrint("%s", buf);
     1.8    KeRaiseIrql(HIGH_LEVEL, &old_irql);
     1.9    /* make sure that each print gets to complete in its entirety */
    1.10    while(InterlockedCompareExchange(&debug_print_lock, 1, 0) == 1)