win-pvdrivers

changeset 429:c3fd610dc60c

added some missing files and other build updates
author James Harper <james.harper@bendigoit.com.au>
date Mon Sep 08 22:30:20 2008 +1000 (2008-09-08)
parents 7ff73a450370
children e402c21ae722
files copyconfig/makefile.inc copyconfig/sources dirs installer.nsi shutdownmon/makefile.inc shutdownmon/shutdownmon.c shutdownmon/sources
line diff
     1.1 --- a/copyconfig/sources	Mon Sep 08 22:12:05 2008 +1000
     1.2 +++ b/copyconfig/sources	Mon Sep 08 22:30:20 2008 +1000
     1.3 @@ -1,9 +1,8 @@
     1.4 +!INCLUDE ..\common.inc
     1.5  TARGETNAME=copyconfig
     1.6  TARGETTYPE=PROGRAM
     1.7 -TARGETPATH=..\Target
     1.8  UMTYPE=console
     1.9  UMENTRY=main
    1.10  UMBASE=0x400000
    1.11 -_NT_TARGET_VERSION= $(_NT_TARGET_VERSION_WIN2K)
    1.12  SOURCES=copyconfig.c
    1.13  USE_MSVCRT=1
     2.1 --- a/dirs	Mon Sep 08 22:12:05 2008 +1000
     2.2 +++ b/dirs	Mon Sep 08 22:30:20 2008 +1000
     2.3 @@ -1,1 +1,1 @@
     2.4 -DIRS=xenpci xenhide xenvbd xennet xenscsi xenstub xenconfig copyconfig
     2.5 \ No newline at end of file
     2.6 +DIRS=xenpci xenhide xenvbd xennet xenscsi xenstub xenconfig copyconfig shutdownmon
     2.7 \ No newline at end of file
     3.1 --- a/installer.nsi	Mon Sep 08 22:12:05 2008 +1000
     3.2 +++ b/installer.nsi	Mon Sep 08 22:30:20 2008 +1000
     3.3 @@ -44,7 +44,7 @@ Section "Shutdown Monitor Service" shutd
     3.4    SetOutPath $INSTDIR
     3.5  
     3.6    ExecWait 'NET STOP XenShutdownMon'
     3.7 -  File .\target\ShutdownMon.exe
     3.8 +  File .\target\i386\ShutdownMon.exe
     3.9  #  CreateShortCut "${StartMenu}\Install Shutdown Service.lnk" "$INSTDIR\ShutdownMon.exe" "-i"
    3.10  #  CreateShortCut "${StartMenu}\UnInstall Shutdown Service.lnk" "$INSTDIR\ShutdownMon.exe" "-u"
    3.11    ExecWait '"$INSTDIR\ShutdownMon.exe" -i'
    3.12 @@ -54,6 +54,8 @@ SectionEnd
    3.13  Section "Windows 2000" win2k
    3.14    SetOutPath $INSTDIR
    3.15    File /nonfatal .\ca.cer
    3.16 +  File .\target\i386\copyconfig.exe
    3.17 +  File .\target\i386\shutdownmon.exe
    3.18    SetOutPath $INSTDIR\drivers
    3.19    File .\target\win2k\xenpci.inf
    3.20    File .\target\win2k\xennet.inf
    3.21 @@ -74,6 +76,7 @@ Section "Windows XP" winxp
    3.22    SetOutPath $INSTDIR
    3.23    File /nonfatal .\ca.cer
    3.24    File .\target\i386\copyconfig.exe
    3.25 +  File .\target\i386\shutdownmon.exe
    3.26    SetOutPath $INSTDIR\drivers
    3.27    File .\target\winxp\xenpci.inf
    3.28    File .\target\winxp\xennet.inf
    3.29 @@ -95,6 +98,7 @@ Section "Windows 2003 x32" win2k3x32
    3.30    SetOutPath $INSTDIR
    3.31    File /nonfatal .\ca.cer
    3.32    File .\target\i386\copyconfig.exe
    3.33 +  File .\target\i386\shutdownmon.exe
    3.34    SetOutPath $INSTDIR\drivers
    3.35    File .\target\winnet\xenpci.inf
    3.36    File .\target\winnet\xennet.inf
    3.37 @@ -116,6 +120,7 @@ Section "Windows 2003 x64" win2k3x64
    3.38    SetOutPath $INSTDIR
    3.39    File /nonfatal .\ca.cer
    3.40    File .\target\i386\copyconfig.exe
    3.41 +  File .\target\i386\shutdownmon.exe
    3.42    SetOutPath $INSTDIR\drivers
    3.43    File .\target\winnet\xenpci.inf
    3.44    File .\target\winnet\xennet.inf
    3.45 @@ -137,6 +142,7 @@ Section "Windows 2008 x32" win2k8x32
    3.46    SetOutPath $INSTDIR
    3.47    File /nonfatal .\ca.cer
    3.48    File .\target\i386\copyconfig.exe
    3.49 +  File .\target\i386\shutdownmon.exe
    3.50    SetOutPath $INSTDIR\drivers
    3.51    File .\target\winlh\xenpci.inf
    3.52    File .\target\winlh\xennet.inf
    3.53 @@ -158,6 +164,7 @@ Section "Windows 2008 x64" win2k8x64
    3.54    SetOutPath $INSTDIR
    3.55    File /nonfatal .\ca.cer
    3.56    File .\target\i386\copyconfig.exe
    3.57 +  File .\target\i386\shutdownmon.exe
    3.58    SetOutPath $INSTDIR\drivers
    3.59    File .\target\winlh\xenpci.inf
    3.60    File .\target\winlh\xennet.inf
     4.1 --- a/shutdownmon/shutdownmon.c	Mon Sep 08 22:12:05 2008 +1000
     4.2 +++ b/shutdownmon/shutdownmon.c	Mon Sep 08 22:30:20 2008 +1000
     4.3 @@ -12,6 +12,9 @@
     4.4  #define SERVICE_ID "ShutdownMon"
     4.5  #define SERVICE_NAME "Xen Shutdown Monitor"
     4.6  
     4.7 +DEFINE_GUID(GUID_XEN_IFACE, 0x5C568AC5, 0x9DDF, 0x4FA5, 0xA9, 0x4A, 0x39, 0xD6, 0x70, 0x77, 0x81, 0x9C);
     4.8 +
     4.9 +
    4.10  SERVICE_STATUS service_status; 
    4.11  SERVICE_STATUS_HANDLE hStatus; 
    4.12  
    4.13 @@ -137,8 +140,6 @@ do_shutdown(BOOL bRebootAfterShutdown)
    4.14    CloseHandle(token_handle);
    4.15  }
    4.16  
    4.17 -DEFINE_GUID(GUID_XEN_IFACE, 0x5C568AC5, 0x9DDF, 0x4FA5, 0xA9, 0x4A, 0x39, 0xD6, 0x70, 0x77, 0x81, 0x9C);
    4.18 -
    4.19  static char *
    4.20  get_xen_interface_path()
    4.21  {
     5.1 --- a/shutdownmon/sources	Mon Sep 08 22:12:05 2008 +1000
     5.2 +++ b/shutdownmon/sources	Mon Sep 08 22:30:20 2008 +1000
     5.3 @@ -1,11 +1,11 @@
     5.4 +!INCLUDE ..\common.inc
     5.5  TARGETNAME=shutdownmon
     5.6  TARGETTYPE=PROGRAM
     5.7 -TARGETPATH=..\Target
     5.8  TARGETLIBS=$(TARGETLIBS) $(DDK_LIB_PATH)\setupapi.lib
     5.9  UMTYPE=console
    5.10  #UMTYPE=windows
    5.11  UMENTRY=main
    5.12  UMBASE=0x400000
    5.13 -_NT_TARGET_VERSION= $(_NT_TARGET_VERSION_WIN2K)
    5.14 +#_NT_TARGET_VERSION= $(_NT_TARGET_VERSION_WIN2K)
    5.15  SOURCES=shutdownmon.c
    5.16  USE_MSVCRT=1