win-pvdrivers

changeset 997:909b17b3599e

removed old code
author James Harper <james.harper@bendigoit.com.au>
date Fri Dec 14 21:12:21 2012 +1100 (2012-12-14)
parents 3a4a56ed205f
children 7d239a6a2af1
files coinst/coinst.c coinst/coinst.def coinst/coinst.rc coinst/makefile coinst/sources
line diff
     1.1 --- a/coinst/coinst.c	Mon Oct 22 21:37:30 2012 +1100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,54 +0,0 @@
     1.4 -/*
     1.5 -PV Drivers for Windows Xen HVM Domains
     1.6 -Copyright (C) 2009 Neocleus Inc., Amir Szekely (amir@neocleus.com)
     1.7 -
     1.8 -This program is free software; you can redistribute it and/or
     1.9 -modify it under the terms of the GNU General Public License
    1.10 -as published by the Free Software Foundation; either version 2
    1.11 -of the License, or (at your option) any later version.
    1.12 -
    1.13 -This program is distributed in the hope that it will be useful,
    1.14 -but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.15 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.16 -GNU General Public License for more details.
    1.17 -
    1.18 -You should have received a copy of the GNU General Public License
    1.19 -along with this program; if not, write to the Free Software
    1.20 -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    1.21 -*/
    1.22 -
    1.23 -#include <windows.h>
    1.24 -#include <setupapi.h>
    1.25 -
    1.26 -DWORD
    1.27 -__stdcall CoRequireReboot (
    1.28 -               IN     DI_FUNCTION               InstallFunction,
    1.29 -               IN     HDEVINFO                  DeviceInfoSet,
    1.30 -               IN     PSP_DEVINFO_DATA          DeviceInfoData,
    1.31 -               IN OUT PCOINSTALLER_CONTEXT_DATA Context
    1.32 -               )
    1.33 -{
    1.34 -	UNREFERENCED_PARAMETER(Context);
    1.35 -
    1.36 -	OutputDebugString(TEXT("CoRequireReboot"));
    1.37 -
    1.38 -	if (InstallFunction == DIF_INSTALLDEVICE)
    1.39 -	{
    1.40 -		SP_DEVINSTALL_PARAMS DevInstallParams;
    1.41 -		OutputDebugString(TEXT("  CoRequireReboot: DIF_INSTALLDEVICE"));
    1.42 -		DevInstallParams.cbSize = sizeof(SP_DEVINSTALL_PARAMS);
    1.43 -		
    1.44 -		if (SetupDiGetDeviceInstallParams(DeviceInfoSet, DeviceInfoData, &DevInstallParams))
    1.45 -		{
    1.46 -			OutputDebugString(TEXT("  CoRequireReboot: SetupDiGetDeviceInstallParams"));
    1.47 -			DevInstallParams.Flags |= DI_DONOTCALLCONFIGMG;
    1.48 -			DevInstallParams.Flags |= DI_NEEDREBOOT;
    1.49 -			if (SetupDiSetDeviceInstallParams(DeviceInfoSet, DeviceInfoData, &DevInstallParams))
    1.50 -			{
    1.51 -				OutputDebugString(TEXT("  CoRequireReboot: SetupDiSetDeviceInstallParams"));
    1.52 -			}
    1.53 -		}
    1.54 -	}
    1.55 -
    1.56 -    return NO_ERROR;
    1.57 -}
     2.1 --- a/coinst/coinst.def	Mon Oct 22 21:37:30 2012 +1100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,7 +0,0 @@
     2.4 -LIBRARY  NEOCOINST
     2.5 -
     2.6 -EXPORTS   
     2.7 -   CoRequireReboot
     2.8 -   
     2.9 -
    2.10 -
     3.1 --- a/coinst/coinst.rc	Mon Oct 22 21:37:30 2012 +1100
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,14 +0,0 @@
     3.4 -#include <windows.h>
     3.5 -
     3.6 -//
     3.7 -// Version resources
     3.8 -//
     3.9 -#include <ntverp.h>
    3.10 -#define VER_FILETYPE                VFT_DLL
    3.11 -#define VER_FILESUBTYPE             VFT2_UNKNOWN
    3.12 -#define VER_FILEDESCRIPTION_STR     "CoInstaller: Xen GPL PV"
    3.13 -#define VER_INTERNALNAME_STR        "XENCOINST.DLL"
    3.14 -#define VER_ORIGINALFILENAME_STR    "XENCOINST.DLL"
    3.15 -#include <common.ver>
    3.16 -
    3.17 -
     4.1 --- a/coinst/makefile	Mon Oct 22 21:37:30 2012 +1100
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,9 +0,0 @@
     4.4 -#
     4.5 -# DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source
     4.6 -# file to this component.  This file merely indirects to the real make file
     4.7 -# that is shared by all the driver components of the Windows NT DDK
     4.8 -#
     4.9 -
    4.10 -!INCLUDE $(NTMAKEENV)\makefile.def
    4.11 -
    4.12 -
     5.1 --- a/coinst/sources	Mon Oct 22 21:37:30 2012 +1100
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,17 +0,0 @@
     5.4 -TARGETNAME=coinst
     5.5 -TARGETTYPE=DYNLINK
     5.6 -USE_MSVCRT=1
     5.7 -
     5.8 -_NT_TARGET_VERSION=$(_NT_TARGET_VERSION_WINXP)
     5.9 -
    5.10 -SOURCES=coinst.c \
    5.11 -        coinst.rc
    5.12 -
    5.13 -TARGETLIBS= $(SDK_LIB_PATH)\setupapi.lib \
    5.14 -            $(SDK_LIB_PATH)\kernel32.lib \
    5.15 -            $(SDK_LIB_PATH)\advapi32.lib \
    5.16 -            $(SDK_LIB_PATH)\user32.lib
    5.17 -
    5.18 -DLLBASE=0x2000000
    5.19 -
    5.20 -