From: Ben Chalmers Date: Fri, 22 Aug 2014 15:05:27 +0000 (+0100) Subject: Add support for Visual Studio 2013 & WDK 8.1 X-Git-Tag: 8.1.0-rc1~45 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bdac6833b86fc3b298dc33d6a1e3eb7d117c341c;p=pvdrivers%2Fwin%2Fxenvbd.git Add support for Visual Studio 2013 & WDK 8.1 Signed-off-by: Ben Chalmers Signed-off-by: Paul Durrant --- diff --git a/build.py b/build.py index 9e69e0f..d681fb3 100644 --- a/build.py +++ b/build.py @@ -23,64 +23,6 @@ def next_build_number(): return build_number - -def make_header(): - now = datetime.datetime.now() - - file = open('include\\version.h', 'w') - - file.write('#define COMPANY_NAME_STR\t"' + os.environ['COMPANY_NAME'] + '"\n') - file.write('#define PRODUCT_NAME_STR\t"' + os.environ['PRODUCT_NAME'] + '"\n') - file.write('\n') - - file.write('#define MAJOR_VERSION\t' + os.environ['MAJOR_VERSION'] + '\n') - file.write('#define MAJOR_VERSION_STR\t"' + os.environ['MAJOR_VERSION'] + '"\n') - file.write('\n') - - file.write('#define MINOR_VERSION\t' + os.environ['MINOR_VERSION'] + '\n') - file.write('#define MINOR_VERSION_STR\t"' + os.environ['MINOR_VERSION'] + '"\n') - file.write('\n') - - file.write('#define MICRO_VERSION\t' + os.environ['MICRO_VERSION'] + '\n') - file.write('#define MICRO_VERSION_STR\t"' + os.environ['MICRO_VERSION'] + '"\n') - file.write('\n') - - file.write('#define BUILD_NUMBER\t' + os.environ['BUILD_NUMBER'] + '\n') - file.write('#define BUILD_NUMBER_STR\t"' + os.environ['BUILD_NUMBER'] + '"\n') - file.write('\n') - - file.write('#define YEAR\t' + str(now.year) + '\n') - file.write('#define YEAR_STR\t"' + str(now.year) + '"\n') - file.write('\n') - - file.write('#define MONTH\t' + str(now.month) + '\n') - file.write('#define MONTH_STR\t"' + str(now.month) + '"\n') - file.write('\n') - - file.write('#define DAY\t' + str(now.day) + '\n') - file.write('#define DAY_STR\t"' + str(now.day) + '"\n') - file.write('\n') - - file.close() - - -def copy_inf(name): - src = open('src\\%s.inf' % name, 'r') - dst = open('proj\\%s.inf' % name, 'w') - - for line in src: - line = re.sub('@MAJOR_VERSION@', os.environ['MAJOR_VERSION'], line) - line = re.sub('@MINOR_VERSION@', os.environ['MINOR_VERSION'], line) - line = re.sub('@MICRO_VERSION@', os.environ['MICRO_VERSION'], line) - line = re.sub('@BUILD_NUMBER@', os.environ['BUILD_NUMBER'], line) - line = re.sub('@COMPANY_NAME@', os.environ['COMPANY_NAME'], line) - line = re.sub('@PRODUCT_NAME@', os.environ['PRODUCT_NAME'], line) - dst.write(line) - - dst.close() - src.close() - - def get_expired_symbols(name, age = 30): path = os.path.join(os.environ['SYMBOL_SERVER'], '000Admin\\history.txt') @@ -134,11 +76,11 @@ def get_configuration(release, debug): return configuration -def get_target_path(release, arch, debug): +def get_target_path(release, arch, debug, vs): configuration = get_configuration(release, debug) name = ''.join(configuration.split(' ')) target = { 'x86': os.sep.join([name, 'Win32']), 'x64': os.sep.join([name, 'x64']) } - target_path = os.sep.join(['proj', target[arch]]) + target_path = os.sep.join([vs, target[arch]]) return target_path @@ -182,7 +124,7 @@ def msbuild(platform, configuration, target, file, args, dir): raise msbuild_failure(configuration) -def build_sln(name, release, arch, debug): +def build_sln(name, release, arch, debug, vs): configuration = get_configuration(release, debug) if arch == 'x86': @@ -192,7 +134,7 @@ def build_sln(name, release, arch, debug): cwd = os.getcwd() - msbuild(platform, configuration, 'Build', name + '.sln', '', 'proj') + msbuild(platform, configuration, 'Build', name + '.sln', '', vs) def remove_timestamps(path): @@ -213,18 +155,18 @@ def remove_timestamps(path): dst.close() src.close() -def sdv_clean(name): - path = ['proj', name, 'sdv'] +def sdv_clean(name, vs): + path = [vs, name, 'sdv'] print(path) shutil.rmtree(os.path.join(*path), True) - path = ['proj', name, 'sdv.temp'] + path = [vs, name, 'sdv.temp'] print(path) shutil.rmtree(os.path.join(*path), True) - path = ['proj', name, 'staticdv.job'] + path = [vs, name, 'staticdv.job'] print(path) try: @@ -232,7 +174,7 @@ def sdv_clean(name): except OSError: pass - path = ['proj', name, 'refine.sdv'] + path = [vs, name, 'refine.sdv'] print(path) try: @@ -240,7 +182,7 @@ def sdv_clean(name): except OSError: pass - path = ['proj', name, 'sdv-map.h'] + path = [vs, name, 'sdv-map.h'] print(path) try: @@ -249,19 +191,19 @@ def sdv_clean(name): pass -def run_sdv(name, dir): +def run_sdv(name, dir, vs): configuration = get_configuration('Windows 8', False) platform = 'x64' msbuild(platform, configuration, 'Build', name + '.vcxproj', - '', os.path.join('proj', name)) + '', os.path.join(vs , name)) - sdv_clean(name) + sdv_clean(name, vs) msbuild(platform, configuration, 'sdv', name + '.vcxproj', - '/p:Inputs="/scan"', os.path.join('proj', name)) + '/p:Inputs="/scan"', os.path.join(vs , name)) - path = ['proj', name, 'sdv-map.h'] + path = [vs, name, 'sdv-map.h'] file = open(os.path.join(*path), 'r') for line in file: @@ -270,21 +212,21 @@ def run_sdv(name, dir): file.close() msbuild(platform, configuration, 'sdv', name + '.vcxproj', - '/p:Inputs="/check:default.sdv"', os.path.join('proj', name)) + '/p:Inputs="/check:default.sdv"', os.path.join(vs, name)) - path = ['proj', name, 'sdv', 'SDV.DVL.xml'] + path = [vs, name, 'sdv', 'SDV.DVL.xml'] remove_timestamps(os.path.join(*path)) msbuild(platform, configuration, 'dvl', name + '.vcxproj', - '', os.path.join('proj', name)) + '', os.path.join(vs, name)) - path = ['proj', name, name + '.DVL.XML'] + path = [vs, name, name + '.DVL.XML'] shutil.copy(os.path.join(*path), dir) - path = ['proj', name, 'refine.sdv'] + path = [vs, name, 'refine.sdv'] if os.path.isfile(os.path.join(*path)): msbuild(platform, configuration, 'sdv', name + '.vcxproj', - '/p:Inputs=/refine', os.path.join('proj', name)) + '/p:Inputs=/refine', os.path.join(vs, name)) def symstore_del(name, age): @@ -308,8 +250,8 @@ def symstore_del(name, age): shell(command, None) -def symstore_add(name, release, arch, debug): - target_path = get_target_path(release, arch, debug) +def symstore_add(name, release, arch, debug, vs): + target_path = get_target_path(release, arch, debug, vs) symstore_path = [os.environ['KIT'], 'Debuggers'] if os.environ['PROCESSOR_ARCHITECTURE'] == 'x86': @@ -365,11 +307,31 @@ def archive(filename, files, tgz=False): pass tar.close() +def getVsVersion(): + vsenv ={} + vars = subprocess.check_output([os.environ['VS']+'\\VC\\vcvarsall.bat', + '&&', 'set'], + shell=True) + print( vars) + for var in vars.splitlines(): + print (var) + print (var.strip()) + k, _, v = map(str.strip, var.strip().decode('utf-8').partition('=')) + if k.startswith('?'): + continue + vsenv[k] = v + + if vsenv['VisualStudioVersion'] == '11.0' : + return 'vs2012' + elif vsenv['VisualStudioVersion'] == '12.0' : + return 'vs2013' + if __name__ == '__main__': debug = { 'checked': True, 'free': False } sdv = { 'nosdv': False, None: True } driver = 'xenvbd' + vs = getVsVersion() if 'COMPANY_NAME' not in os.environ.keys(): os.environ['COMPANY_NAME'] = 'Xen Project' @@ -391,23 +353,22 @@ if __name__ == '__main__': print(os.environ['GIT_REVISION'], file=revision) revision.close() - make_header() - - copy_inf(driver) - symstore_del(driver, 30) - release = 'Windows Vista' + if vs=='vs2012': + release = 'Windows Vista' + else: + release = 'Windows 7' - build_sln(driver, release, 'x86', debug[sys.argv[1]]) - build_sln(driver, release, 'x64', debug[sys.argv[1]]) + build_sln(driver, release, 'x86', debug[sys.argv[1]], vs) + build_sln(driver, release, 'x64', debug[sys.argv[1]], vs) - symstore_add(driver, release, 'x86', debug[sys.argv[1]]) - symstore_add(driver, release, 'x64', debug[sys.argv[1]]) + symstore_add(driver, release, 'x86', debug[sys.argv[1]], vs) + symstore_add(driver, release, 'x64', debug[sys.argv[1]], vs) if len(sys.argv) <= 2 or sdv[sys.argv[2]]: - run_sdv('xenvbd', driver) - run_sdv('xencrsh', driver) + run_sdv('xenvbd', driver, vs) + run_sdv('xencrsh', driver, vs) archive(driver + '\\source.tgz', manifest().splitlines(), tgz=True) archive(driver + '.tar', [driver,'revision']) diff --git a/include/version.hx b/include/version.hx new file mode 100644 index 0000000..92b0a6b --- /dev/null +++ b/include/version.hx @@ -0,0 +1,55 @@ +/* Copyright (c) Citrix Systems Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, + * with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above + * copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the + * following disclaimer in the documentation and/or other + * materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#define COMPANY_NAME_STR "@COMPANY_NAME@" +#define PRODUCT_NAME_STR "@PRODUCT_NAME@" + +#define MAJOR_VERSION @MAJOR_VERSION@ +#define MAJOR_VERSION_STR "@MAJOR_VERSION@" + +#define MINOR_VERSION @MINOR_VERSION@ +#define MINOR_VERSION_STR "@MINOR_VERSION@" + +#define MICRO_VERSION @MICRO_VERSION@ +#define MICRO_VERSION_STR "@MICRO_VERSION@" + +#define BUILD_NUMBER @BUILD_NUMBER@ +#define BUILD_NUMBER_STR "@BUILD_NUMBER@" + +#define YEAR @YEAR@ +#define YEAR_STR "@YEAR@" + +#define MONTH @MONTH@ +#define MONTH_STR "@MONTH@" + +#define DAY @DAY@ +#define DAY_STR "@DAY@" + diff --git a/proj/coinst/xenvbd_coinst.vcxproj b/proj/coinst/xenvbd_coinst.vcxproj deleted file mode 100644 index 865baf4..0000000 --- a/proj/coinst/xenvbd_coinst.vcxproj +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - WDM - WindowsApplicationForDrivers8.0 - DynamicLibrary - WDM - - - Windows Vista Debug - Win32 - DbgengKernelDebugger - - - - - - {50C08437-C1F3-4349-BF6A-7B55A06BF999} - - - - - - - DbgengKernelDebugger - $(ProjectDir)..\..\include;$(IncludePath) - true - false - ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ - ..\$(ConfigurationName)\$(Platform)\ - - - - - __MODULE__="XENVBD_COINST";%(PreprocessorDefinitions) - EnableAllWarnings - 4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) - true - true - MultiThreadedDebug - MultiThreaded - - - ../../src/coinst/xenvbd_coinst.def - setupapi.lib;%(AdditionalDependencies) - - - - - __i386__;%(PreprocessorDefinitions) - - - - - __x86_64__;%(PreprocessorDefinitions) - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/proj/coinst/xenvbd_coinst.vcxproj.user b/proj/coinst/xenvbd_coinst.vcxproj.user deleted file mode 100644 index 040d79d..0000000 --- a/proj/coinst/xenvbd_coinst.vcxproj.user +++ /dev/null @@ -1,8 +0,0 @@ - - - - TestSign - ..\xenvbd.pfx - http://timestamp.verisign.com/scripts/timstamp.dll - - \ No newline at end of file diff --git a/proj/configs.props b/proj/configs.props deleted file mode 100644 index 2567bcf..0000000 --- a/proj/configs.props +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Windows 8 Debug - Win32 - - - Windows 7 Debug - Win32 - - - Windows Vista Debug - Win32 - - - Windows 8 Release - Win32 - - - Windows 7 Release - Win32 - - - Windows Vista Release - Win32 - - - Windows8 Debug - x64 - - - Windows 7 Debug - x64 - - - Windows Vista Debug - x64 - - - Windows 8 Release - x64 - - - Windows 7 Release - x64 - - - Windows Vista Release - x64 - - - \ No newline at end of file diff --git a/proj/package/package.vcxproj b/proj/package/package.vcxproj deleted file mode 100644 index 5e5fcbc..0000000 --- a/proj/package/package.vcxproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - WindowsKernelModeDriver8.0 - Utility - Package - true - - - Windows Vista Debug - Win32 - DbgengKernelDebugger - - - - - - {AB8DAED3-9D70-4907-99A3-C643F1FC1972} - - - - - - - true - Vista_x64;Server2008_x64;7_x64;Server2008R2_x64;8_x64;Server8_x64 - Vista_x86;Server2008_x86;7_x86;8_x86 - DbgengKernelDebugger - False - False - None - %PathToInf% - False - False - True - 133563 - ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ - ..\$(ConfigurationName)\$(Platform)\ - ..\..\xenvbd\$(DDKPlatform) - - - - - {50c08437-c1f3-4349-bf6a-7b55a06bf999} - - - {58f5bc43-b92e-4a2b-975d-0066eab29092} - - - {ef236371-3145-41b1-99c9-82b33e353f17} - - - - - - - - - - \ No newline at end of file diff --git a/proj/package/package.vcxproj.user b/proj/package/package.vcxproj.user deleted file mode 100644 index 040d79d..0000000 --- a/proj/package/package.vcxproj.user +++ /dev/null @@ -1,8 +0,0 @@ - - - - TestSign - ..\xenvbd.pfx - http://timestamp.verisign.com/scripts/timstamp.dll - - \ No newline at end of file diff --git a/proj/targets.props b/proj/targets.props deleted file mode 100644 index c8aba92..0000000 --- a/proj/targets.props +++ /dev/null @@ -1,51 +0,0 @@ - - - - Windows8 - true - - - Windows8 - false - - - Windows8 - true - - - Windows8 - false - - - Windows7 - true - - - Windows7 - false - - - Windows7 - true - - - Windows7 - false - - - Vista - true - - - Vista - false - - - Vista - true - - - Vista - false - - diff --git a/proj/xencrsh/xencrsh.vcxproj b/proj/xencrsh/xencrsh.vcxproj deleted file mode 100644 index 5ed7443..0000000 --- a/proj/xencrsh/xencrsh.vcxproj +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - Windows Vista Debug - Win32 - DbgengKernelDebugger - - - WDM - WindowsKernelModeDriver8.0 - Driver - - - - - - {58F5BC43-B92E-4A2B-975D-0066EAB29092} - - - - - - - ..\..\include;$(IncludePath) - true - false - ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ - ..\$(ConfigurationName)\$(Platform)\ - - - - - __MODULE__="XENCRSH";%(PreprocessorDefinitions) - EnableAllWarnings - 4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) - true - true - - - false - ../../src/xencrsh/xencrsh.def - $(DDK_LIB_PATH)/storport.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies) - - - - - __i386__;%(PreprocessorDefinitions) - - - - - __x86_64__;%(PreprocessorDefinitions) - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - true - - - - - - - - - - \ No newline at end of file diff --git a/proj/xencrsh/xencrsh.vcxproj.user b/proj/xencrsh/xencrsh.vcxproj.user deleted file mode 100644 index 040d79d..0000000 --- a/proj/xencrsh/xencrsh.vcxproj.user +++ /dev/null @@ -1,8 +0,0 @@ - - - - TestSign - ..\xenvbd.pfx - http://timestamp.verisign.com/scripts/timstamp.dll - - \ No newline at end of file diff --git a/proj/xenvbd.pfx b/proj/xenvbd.pfx deleted file mode 100644 index d04ac84..0000000 Binary files a/proj/xenvbd.pfx and /dev/null differ diff --git a/proj/xenvbd.sln b/proj/xenvbd.sln deleted file mode 100644 index f25d205..0000000 --- a/proj/xenvbd.sln +++ /dev/null @@ -1,143 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 11 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xenvbd", "xenvbd\xenvbd.vcxproj", "{EF236371-3145-41B1-99C9-82B33E353F17}" - ProjectSection(ProjectDependencies) = postProject - {50C08437-C1F3-4349-BF6A-7B55A06BF999} = {50C08437-C1F3-4349-BF6A-7B55A06BF999} - {58F5BC43-B92E-4A2B-975D-0066EAB29092} = {58F5BC43-B92E-4A2B-975D-0066EAB29092} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xencrsh", "xencrsh\xencrsh.vcxproj", "{58F5BC43-B92E-4A2B-975D-0066EAB29092}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xenvbd_coinst", "coinst\xenvbd_coinst.vcxproj", "{50C08437-C1F3-4349-BF6A-7B55A06BF999}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "package", "package\package.vcxproj", "{AB8DAED3-9D70-4907-99A3-C643F1FC1972}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Windows 7 Debug|Win32 = Windows 7 Debug|Win32 - Windows 7 Debug|x64 = Windows 7 Debug|x64 - Windows 7 Release|Win32 = Windows 7 Release|Win32 - Windows 7 Release|x64 = Windows 7 Release|x64 - Windows 8 Debug|Win32 = Windows 8 Debug|Win32 - Windows 8 Debug|x64 = Windows 8 Debug|x64 - Windows 8 Release|Win32 = Windows 8 Release|Win32 - Windows 8 Release|x64 = Windows 8 Release|x64 - Windows Vista Debug|Win32 = Windows Vista Debug|Win32 - Windows Vista Debug|x64 = Windows Vista Debug|x64 - Windows Vista Release|Win32 = Windows Vista Release|Win32 - Windows Vista Release|x64 = Windows Vista Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 - {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 - {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 - {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 - {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/proj/xenvbd/xenvbd.vcxproj b/proj/xenvbd/xenvbd.vcxproj deleted file mode 100644 index 4680665..0000000 --- a/proj/xenvbd/xenvbd.vcxproj +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - Windows Vista Debug - Win32 - DbgengKernelDebugger - - - WindowsKernelModeDriver8.0 - Driver - WDM - - - - - - {EF236371-3145-41B1-99C9-82B33E353F17} - - - - - - - $(ProjectDir)..\..\include;$(IncludePath) - true - false - ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ - ..\$(ConfigurationName)\$(Platform)\ - - - - - false - __MODULE__="XENVBD";%(PreprocessorDefinitions) - EnableAllWarnings - 4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) - true - true - - - $(ProjectDir)..\$(ConfigurationName)\$(Platform)\xencrsh.lib;$(DDK_LIB_PATH)/storport.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies) - - - true - true - $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) - true - - - - - __i386__;%(PreprocessorDefinitions) - - - x86 - - - - - __x86_64__;%(PreprocessorDefinitions) - - - amd64 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/proj/xenvbd/xenvbd.vcxproj.user b/proj/xenvbd/xenvbd.vcxproj.user deleted file mode 100644 index 040d79d..0000000 --- a/proj/xenvbd/xenvbd.vcxproj.user +++ /dev/null @@ -1,8 +0,0 @@ - - - - TestSign - ..\xenvbd.pfx - http://timestamp.verisign.com/scripts/timstamp.dll - - \ No newline at end of file diff --git a/src/xencrsh/frontend.c b/src/xencrsh/frontend.c index 20f733a..7d88902 100644 --- a/src/xencrsh/frontend.c +++ b/src/xencrsh/frontend.c @@ -562,6 +562,7 @@ __AllocRing( #pragma warning(push) #pragma warning(disable: 4305) +#pragma warning(disable: 4311) SHARED_RING_INIT(Frontend->SharedRing); FRONT_RING_INIT(&Frontend->FrontRing, Frontend->SharedRing, PAGE_SIZE); #pragma warning (pop) diff --git a/src/xenvbd.pfx b/src/xenvbd.pfx new file mode 100644 index 0000000..d04ac84 Binary files /dev/null and b/src/xenvbd.pfx differ diff --git a/src/xenvbd/blockring.c b/src/xenvbd/blockring.c index 892c63a..b0782d3 100644 --- a/src/xenvbd/blockring.c +++ b/src/xenvbd/blockring.c @@ -274,6 +274,7 @@ BlockRingConnect( #pragma warning(push) #pragma warning(disable: 4305) +#pragma warning(disable: 4311) SHARED_RING_INIT(BlockRing->SharedRing); FRONT_RING_INIT(&BlockRing->FrontRing, BlockRing->SharedRing, PAGE_SIZE << BlockRing->Order); #pragma warning(pop) diff --git a/vs2012/coinst/xenvbd_coinst.vcxproj b/vs2012/coinst/xenvbd_coinst.vcxproj new file mode 100644 index 0000000..865baf4 --- /dev/null +++ b/vs2012/coinst/xenvbd_coinst.vcxproj @@ -0,0 +1,73 @@ + + + + + + WDM + WindowsApplicationForDrivers8.0 + DynamicLibrary + WDM + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + + + + {50C08437-C1F3-4349-BF6A-7B55A06BF999} + + + + + + + DbgengKernelDebugger + $(ProjectDir)..\..\include;$(IncludePath) + true + false + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + + __MODULE__="XENVBD_COINST";%(PreprocessorDefinitions) + EnableAllWarnings + 4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + MultiThreadedDebug + MultiThreaded + + + ../../src/coinst/xenvbd_coinst.def + setupapi.lib;%(AdditionalDependencies) + + + + + __i386__;%(PreprocessorDefinitions) + + + + + __x86_64__;%(PreprocessorDefinitions) + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vs2012/coinst/xenvbd_coinst.vcxproj.user b/vs2012/coinst/xenvbd_coinst.vcxproj.user new file mode 100644 index 0000000..0b2b210 --- /dev/null +++ b/vs2012/coinst/xenvbd_coinst.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xenvbd.pfx + http://timestamp.verisign.com/scripts/timstamp.dll + + diff --git a/vs2012/configs.props b/vs2012/configs.props new file mode 100644 index 0000000..2567bcf --- /dev/null +++ b/vs2012/configs.props @@ -0,0 +1,53 @@ + + + + + Windows 8 Debug + Win32 + + + Windows 7 Debug + Win32 + + + Windows Vista Debug + Win32 + + + Windows 8 Release + Win32 + + + Windows 7 Release + Win32 + + + Windows Vista Release + Win32 + + + Windows8 Debug + x64 + + + Windows 7 Debug + x64 + + + Windows Vista Debug + x64 + + + Windows 8 Release + x64 + + + Windows 7 Release + x64 + + + Windows Vista Release + x64 + + + \ No newline at end of file diff --git a/vs2012/package/package.vcxproj b/vs2012/package/package.vcxproj new file mode 100644 index 0000000..5e5fcbc --- /dev/null +++ b/vs2012/package/package.vcxproj @@ -0,0 +1,62 @@ + + + + + + WindowsKernelModeDriver8.0 + Utility + Package + true + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + + + + {AB8DAED3-9D70-4907-99A3-C643F1FC1972} + + + + + + + true + Vista_x64;Server2008_x64;7_x64;Server2008R2_x64;8_x64;Server8_x64 + Vista_x86;Server2008_x86;7_x86;8_x86 + DbgengKernelDebugger + False + False + None + %PathToInf% + False + False + True + 133563 + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + ..\..\xenvbd\$(DDKPlatform) + + + + + {50c08437-c1f3-4349-bf6a-7b55a06bf999} + + + {58f5bc43-b92e-4a2b-975d-0066eab29092} + + + {ef236371-3145-41b1-99c9-82b33e353f17} + + + + + + + + + + \ No newline at end of file diff --git a/vs2012/package/package.vcxproj.user b/vs2012/package/package.vcxproj.user new file mode 100644 index 0000000..0b2b210 --- /dev/null +++ b/vs2012/package/package.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xenvbd.pfx + http://timestamp.verisign.com/scripts/timstamp.dll + + diff --git a/vs2012/targets.props b/vs2012/targets.props new file mode 100644 index 0000000..c8aba92 --- /dev/null +++ b/vs2012/targets.props @@ -0,0 +1,51 @@ + + + + Windows8 + true + + + Windows8 + false + + + Windows8 + true + + + Windows8 + false + + + Windows7 + true + + + Windows7 + false + + + Windows7 + true + + + Windows7 + false + + + Vista + true + + + Vista + false + + + Vista + true + + + Vista + false + + diff --git a/vs2012/xencrsh/xencrsh.vcxproj b/vs2012/xencrsh/xencrsh.vcxproj new file mode 100644 index 0000000..c835b44 --- /dev/null +++ b/vs2012/xencrsh/xencrsh.vcxproj @@ -0,0 +1,104 @@ + + + + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + WDM + WindowsKernelModeDriver8.0 + Driver + + + + + + {58F5BC43-B92E-4A2B-975D-0066EAB29092} + + + + + + + ..\..\include;$(IncludePath) + true + false + ClCompile;StampInf + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + + echo "Build Inf" + powershell -Command "(Get-Content ..\..\src\xenvbd.inf) -replace '@MAJOR_VERSION@', '$(MAJOR_VERSION)' -replace '@MINOR_VERSION@', '$(MINOR_VERSION)' -replace '@MICRO_VERSION@','$(MICRO_VERSION)' -replace '@BUILD_NUMBER@','$(BUILD_NUMBER)' -replace '@COMPANY_NAME@','$(COMPANY_NAME)' -replace '@PRODUCT_NAME@','$(PRODUCT_NAME)' | Set-Content ..\..\vs2012\xenvbd.inf" + echo "Build version header" + powershell -Command "(Get-Content ..\..\include\version.hx) -replace '@MAJOR_VERSION@', '$(MAJOR_VERSION)' -replace '@MINOR_VERSION@', '$(MINOR_VERSION)' -replace '@MICRO_VERSION@','$(MICRO_VERSION)' -replace '@BUILD_NUMBER@','$(BUILD_NUMBER)' -replace '@COMPANY_NAME@','$(COMPANY_NAME)' -replace '@PRODUCT_NAME@','$(PRODUCT_NAME)' -replace '@DAY@',%24(Get-Date -format %25%25d) -replace '@MONTH@',%24(Get-Date -format %25%25M) -replace '@YEAR@',%24(Get-Date -format yyyy) | Set-Content ..\..\include\version.h" + + ..\..\vs2012\xenvbd.inf;..\..\include\version.h + ..\..\src\xenvbd.inf;..\..\include\version.hx + + + __MODULE__="XENCRSH";%(PreprocessorDefinitions) + EnableAllWarnings + 4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + + + false + ../../src/xencrsh/xencrsh.def + $(DDK_LIB_PATH)/storport.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies) + + + + + __i386__;%(PreprocessorDefinitions) + + + + + __x86_64__;%(PreprocessorDefinitions) + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + true + + + + + + + + + + diff --git a/vs2012/xencrsh/xencrsh.vcxproj.user b/vs2012/xencrsh/xencrsh.vcxproj.user new file mode 100644 index 0000000..0b2b210 --- /dev/null +++ b/vs2012/xencrsh/xencrsh.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xenvbd.pfx + http://timestamp.verisign.com/scripts/timstamp.dll + + diff --git a/vs2012/xenvbd.sln b/vs2012/xenvbd.sln new file mode 100644 index 0000000..86fb1a5 --- /dev/null +++ b/vs2012/xenvbd.sln @@ -0,0 +1,151 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 11 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xenvbd", "xenvbd\xenvbd.vcxproj", "{EF236371-3145-41B1-99C9-82B33E353F17}" + ProjectSection(ProjectDependencies) = postProject + {50C08437-C1F3-4349-BF6A-7B55A06BF999} = {50C08437-C1F3-4349-BF6A-7B55A06BF999} + {58F5BC43-B92E-4A2B-975D-0066EAB29092} = {58F5BC43-B92E-4A2B-975D-0066EAB29092} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xencrsh", "xencrsh\xencrsh.vcxproj", "{58F5BC43-B92E-4A2B-975D-0066EAB29092}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xenvbd_coinst", "coinst\xenvbd_coinst.vcxproj", "{50C08437-C1F3-4349-BF6A-7B55A06BF999}" + ProjectSection(ProjectDependencies) = postProject + {58F5BC43-B92E-4A2B-975D-0066EAB29092} = {58F5BC43-B92E-4A2B-975D-0066EAB29092} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "package", "package\package.vcxproj", "{AB8DAED3-9D70-4907-99A3-C643F1FC1972}" + ProjectSection(ProjectDependencies) = postProject + {50C08437-C1F3-4349-BF6A-7B55A06BF999} = {50C08437-C1F3-4349-BF6A-7B55A06BF999} + {58F5BC43-B92E-4A2B-975D-0066EAB29092} = {58F5BC43-B92E-4A2B-975D-0066EAB29092} + {EF236371-3145-41B1-99C9-82B33E353F17} = {EF236371-3145-41B1-99C9-82B33E353F17} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Windows 7 Debug|Win32 = Windows 7 Debug|Win32 + Windows 7 Debug|x64 = Windows 7 Debug|x64 + Windows 7 Release|Win32 = Windows 7 Release|Win32 + Windows 7 Release|x64 = Windows 7 Release|x64 + Windows 8 Debug|Win32 = Windows 8 Debug|Win32 + Windows 8 Debug|x64 = Windows 8 Debug|x64 + Windows 8 Release|Win32 = Windows 8 Release|Win32 + Windows 8 Release|x64 = Windows 8 Release|x64 + Windows Vista Debug|Win32 = Windows Vista Debug|Win32 + Windows Vista Debug|x64 = Windows Vista Debug|x64 + Windows Vista Release|Win32 = Windows Vista Release|Win32 + Windows Vista Release|x64 = Windows Vista Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/vs2012/xenvbd/xenvbd.vcxproj b/vs2012/xenvbd/xenvbd.vcxproj new file mode 100644 index 0000000..4680665 --- /dev/null +++ b/vs2012/xenvbd/xenvbd.vcxproj @@ -0,0 +1,95 @@ + + + + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + WindowsKernelModeDriver8.0 + Driver + WDM + + + + + + {EF236371-3145-41B1-99C9-82B33E353F17} + + + + + + + $(ProjectDir)..\..\include;$(IncludePath) + true + false + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + + false + __MODULE__="XENVBD";%(PreprocessorDefinitions) + EnableAllWarnings + 4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + + + $(ProjectDir)..\$(ConfigurationName)\$(Platform)\xencrsh.lib;$(DDK_LIB_PATH)/storport.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies) + + + true + true + $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) + true + + + + + __i386__;%(PreprocessorDefinitions) + + + x86 + + + + + __x86_64__;%(PreprocessorDefinitions) + + + amd64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vs2012/xenvbd/xenvbd.vcxproj.user b/vs2012/xenvbd/xenvbd.vcxproj.user new file mode 100644 index 0000000..0b2b210 --- /dev/null +++ b/vs2012/xenvbd/xenvbd.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xenvbd.pfx + http://timestamp.verisign.com/scripts/timstamp.dll + + diff --git a/vs2013/coinst/xenvbd_coinst.vcxproj b/vs2013/coinst/xenvbd_coinst.vcxproj new file mode 100644 index 0000000..817f4ee --- /dev/null +++ b/vs2013/coinst/xenvbd_coinst.vcxproj @@ -0,0 +1,101 @@ + + + + + WDM + DynamicLibrary + WDM + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + {50C08437-C1F3-4349-BF6A-7B55A06BF999} + + + + + DbgengKernelDebugger + $(ProjectDir)..\..\include;$(IncludePath) + true + false + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + __MODULE__="XENVBD_COINST";%(PreprocessorDefinitions) + EnableAllWarnings + 4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + MultiThreadedDebug + MultiThreaded + + + ../../src/coinst/xenvbd_coinst.def + setupapi.lib;%(AdditionalDependencies) + + + + + __i386__;%(PreprocessorDefinitions) + + + + + __x86_64__;%(PreprocessorDefinitions) + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vs2013/coinst/xenvbd_coinst.vcxproj.user b/vs2013/coinst/xenvbd_coinst.vcxproj.user new file mode 100644 index 0000000..0b2b210 --- /dev/null +++ b/vs2013/coinst/xenvbd_coinst.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xenvbd.pfx + http://timestamp.verisign.com/scripts/timstamp.dll + + diff --git a/vs2013/configs.props b/vs2013/configs.props new file mode 100644 index 0000000..b5f7679 --- /dev/null +++ b/vs2013/configs.props @@ -0,0 +1,53 @@ + + + + + Windows 8 Debug + Win32 + + + Windows 7 Debug + Win32 + + + Windows Vista Debug + Win32 + + + Windows 8 Release + Win32 + + + Windows 7 Release + Win32 + + + Windows Vista Release + Win32 + + + Windows 8 Debug + x64 + + + Windows 7 Debug + x64 + + + Windows Vista Debug + x64 + + + Windows 8 Release + x64 + + + Windows 7 Release + x64 + + + Windows Vista Release + x64 + + + \ No newline at end of file diff --git a/vs2013/package/package.vcxproj b/vs2013/package/package.vcxproj new file mode 100644 index 0000000..5d0de4d --- /dev/null +++ b/vs2013/package/package.vcxproj @@ -0,0 +1,91 @@ + + + + + Utility + Package + true + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + {AB8DAED3-9D70-4907-99A3-C643F1FC1972} + + + + + true + Vista_x64;Server2008_x64;7_x64;Server2008R2_x64;8_x64;Server8_x64 + Vista_x86;Server2008_x86;7_x86;8_x86 + DbgengKernelDebugger + False + False + None + %PathToInf% + False + False + True + 133563 + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + ..\..\xenvbd\$(DDKPlatform) + + + + {50c08437-c1f3-4349-bf6a-7b55a06bf999} + + + {58f5bc43-b92e-4a2b-975d-0066eab29092} + + + {ef236371-3145-41b1-99c9-82b33e353f17} + + + + + + + + + + \ No newline at end of file diff --git a/vs2013/package/package.vcxproj.user b/vs2013/package/package.vcxproj.user new file mode 100644 index 0000000..0b2b210 --- /dev/null +++ b/vs2013/package/package.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xenvbd.pfx + http://timestamp.verisign.com/scripts/timstamp.dll + + diff --git a/vs2013/targets.props b/vs2013/targets.props new file mode 100644 index 0000000..c8aba92 --- /dev/null +++ b/vs2013/targets.props @@ -0,0 +1,51 @@ + + + + Windows8 + true + + + Windows8 + false + + + Windows8 + true + + + Windows8 + false + + + Windows7 + true + + + Windows7 + false + + + Windows7 + true + + + Windows7 + false + + + Vista + true + + + Vista + false + + + Vista + true + + + Vista + false + + diff --git a/vs2013/xencrsh/xencrsh.vcxproj b/vs2013/xencrsh/xencrsh.vcxproj new file mode 100644 index 0000000..6680426 --- /dev/null +++ b/vs2013/xencrsh/xencrsh.vcxproj @@ -0,0 +1,132 @@ + + + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + WDM + Driver + + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + {58F5BC43-B92E-4A2B-975D-0066EAB29092} + + + + + ..\..\include;$(IncludePath) + true + false + ClCompile;StampInf + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + echo "Build Inf" + powershell -Command "(Get-Content ..\..\src\xenvbd.inf) -replace '@MAJOR_VERSION@', '$(MAJOR_VERSION)' -replace '@MINOR_VERSION@', '$(MINOR_VERSION)' -replace '@MICRO_VERSION@','$(MICRO_VERSION)' -replace '@BUILD_NUMBER@','$(BUILD_NUMBER)' -replace '@COMPANY_NAME@','$(COMPANY_NAME)' -replace '@PRODUCT_NAME@','$(PRODUCT_NAME)' | Set-Content ..\..\vs2013\xenvbd.inf" + echo "Build version header" + powershell -Command "(Get-Content ..\..\include\version.hx) -replace '@MAJOR_VERSION@', '$(MAJOR_VERSION)' -replace '@MINOR_VERSION@', '$(MINOR_VERSION)' -replace '@MICRO_VERSION@','$(MICRO_VERSION)' -replace '@BUILD_NUMBER@','$(BUILD_NUMBER)' -replace '@COMPANY_NAME@','$(COMPANY_NAME)' -replace '@PRODUCT_NAME@','$(PRODUCT_NAME)' -replace '@DAY@',%24(Get-Date -format %25%25d) -replace '@MONTH@',%24(Get-Date -format %25%25M) -replace '@YEAR@',%24(Get-Date -format yyyy) | Set-Content ..\..\include\version.h" + + ..\..\vs2013\xenvbd.inf;..\..\include\version.h + ..\..\src\xenvbd.inf;..\..\include\version.hx + + + __MODULE__="XENCRSH";%(PreprocessorDefinitions) + EnableAllWarnings + 4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + + + false + ../../src/xencrsh/xencrsh.def + $(DDK_LIB_PATH)/storport.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies) + + + + + __i386__;%(PreprocessorDefinitions) + + + + + __x86_64__;%(PreprocessorDefinitions) + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + true + + + + + + + + + + diff --git a/vs2013/xencrsh/xencrsh.vcxproj.user b/vs2013/xencrsh/xencrsh.vcxproj.user new file mode 100644 index 0000000..0b2b210 --- /dev/null +++ b/vs2013/xencrsh/xencrsh.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xenvbd.pfx + http://timestamp.verisign.com/scripts/timstamp.dll + + diff --git a/vs2013/xenvbd.sln b/vs2013/xenvbd.sln new file mode 100644 index 0000000..13128c5 --- /dev/null +++ b/vs2013/xenvbd.sln @@ -0,0 +1,151 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 11 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xenvbd", "xenvbd\xenvbd.vcxproj", "{EF236371-3145-41B1-99C9-82B33E353F17}" + ProjectSection(ProjectDependencies) = postProject + {50C08437-C1F3-4349-BF6A-7B55A06BF999} = {50C08437-C1F3-4349-BF6A-7B55A06BF999} + {58F5BC43-B92E-4A2B-975D-0066EAB29092} = {58F5BC43-B92E-4A2B-975D-0066EAB29092} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xencrsh", "xencrsh\xencrsh.vcxproj", "{58F5BC43-B92E-4A2B-975D-0066EAB29092}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xenvbd_coinst", "coinst\xenvbd_coinst.vcxproj", "{50C08437-C1F3-4349-BF6A-7B55A06BF999}" + ProjectSection(ProjectDependencies) = postProject + {58F5BC43-B92E-4A2B-975D-0066EAB29092} = {58F5BC43-B92E-4A2B-975D-0066EAB29092} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "package", "package\package.vcxproj", "{AB8DAED3-9D70-4907-99A3-C643F1FC1972}" + ProjectSection(ProjectDependencies) = postProject + {50C08437-C1F3-4349-BF6A-7B55A06BF999} = {50C08437-C1F3-4349-BF6A-7B55A06BF999} + {58F5BC43-B92E-4A2B-975D-0066EAB29092} = {58F5BC43-B92E-4A2B-975D-0066EAB29092} + {EF236371-3145-41B1-99C9-82B33E353F17} = {EF236371-3145-41B1-99C9-82B33E353F17} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Windows 7 Debug|Win32 = Windows 7 Debug|Win32 + Windows 7 Debug|x64 = Windows 7 Debug|x64 + Windows 7 Release|Win32 = Windows 7 Release|Win32 + Windows 7 Release|x64 = Windows 7 Release|x64 + Windows 8 Debug|Win32 = Windows 8 Debug|Win32 + Windows 8 Debug|x64 = Windows 8 Debug|x64 + Windows 8 Release|Win32 = Windows 8 Release|Win32 + Windows 8 Release|x64 = Windows 8 Release|x64 + Windows Vista Debug|Win32 = Windows Vista Debug|Win32 + Windows Vista Debug|x64 = Windows Vista Debug|x64 + Windows Vista Release|Win32 = Windows Vista Release|Win32 + Windows Vista Release|x64 = Windows Vista Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {EF236371-3145-41B1-99C9-82B33E353F17}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {50C08437-C1F3-4349-BF6A-7B55A06BF999}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + {AB8DAED3-9D70-4907-99A3-C643F1FC1972}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {58F5BC43-B92E-4A2B-975D-0066EAB29092}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/vs2013/xenvbd/xenvbd.vcxproj b/vs2013/xenvbd/xenvbd.vcxproj new file mode 100644 index 0000000..03d30aa --- /dev/null +++ b/vs2013/xenvbd/xenvbd.vcxproj @@ -0,0 +1,123 @@ + + + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + Driver + WDM + + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + {EF236371-3145-41B1-99C9-82B33E353F17} + + + + + $(ProjectDir)..\..\include;$(IncludePath) + true + false + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + false + __MODULE__="XENVBD";%(PreprocessorDefinitions) + EnableAllWarnings + 4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + + + $(ProjectDir)..\$(ConfigurationName)\$(Platform)\xencrsh.lib;$(DDK_LIB_PATH)/storport.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies) + + + true + true + $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) + true + + + + + __i386__;%(PreprocessorDefinitions) + + + x86 + + + + + __x86_64__;%(PreprocessorDefinitions) + + + amd64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vs2013/xenvbd/xenvbd.vcxproj.user b/vs2013/xenvbd/xenvbd.vcxproj.user new file mode 100644 index 0000000..c4b84e8 --- /dev/null +++ b/vs2013/xenvbd/xenvbd.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xenvbd.pfx + http://timestamp.verisign.com/scripts/timstamp.dll + +