win-pvdrivers

diff xenpci/xenbus.c @ 398:e7292fd9e55a

Fixup xenpci for mingw build with DBG enabled.

add FUNCTION_EXIT_STATUS macro
run unix2dos to fix line endings
update mingw makefiles
use FUNCTION_* macros in xenpci
author Andy Grover <andy.grover@oracle.com>
date Thu Jul 17 10:33:40 2008 -0700 (2008-07-17)
parents 46b6fa5bb7ad
children 04883e1dc65c
line diff
     1.1 --- a/xenpci/xenbus.c	Thu Jul 17 09:34:42 2008 -0700
     1.2 +++ b/xenpci/xenbus.c	Thu Jul 17 10:33:40 2008 -0700
     1.3 @@ -604,7 +604,7 @@ XenBus_Resume(PXENPCI_DEVICE_DATA xpdd)
     1.4    NTSTATUS status;
     1.5    int i;
     1.6  
     1.7 -  KdPrint((__DRIVER_NAME " --> " __FUNCTION__ "\n"));
     1.8 +  FUNCTION_ENTER();
     1.9  
    1.10    status = XenBus_Connect(xpdd);
    1.11    if (!NT_SUCCESS(status))
    1.12 @@ -620,7 +620,7 @@ XenBus_Resume(PXENPCI_DEVICE_DATA xpdd)
    1.13        XenBus_SendAddWatch(xpdd, XBT_NIL, xpdd->XenBus_WatchEntries[i].Path, i);
    1.14      }
    1.15    }
    1.16 -  KdPrint((__DRIVER_NAME " <-- XenBus_AddWatch\n"));
    1.17 +  FUNCTION_EXIT();
    1.18    
    1.19    return STATUS_SUCCESS;
    1.20  }