From: Ben Chalmers Date: Thu, 28 Aug 2014 08:16:26 +0000 (+0100) Subject: Add support for Visual Studio 2013 & WDK 8.1 X-Git-Tag: 8.1.0-rc1~34 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=23c488e3709b315092f54cb7b81756db50736e45;p=pvdrivers%2Fwin%2Fxennet.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 c1a86c9..95122bd 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 = 'xennet' + vs = getVsVersion() if 'COMPANY_NAME' not in os.environ.keys(): os.environ['COMPANY_NAME'] = 'Xen Project' @@ -391,22 +353,21 @@ 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('xennet', driver) + run_sdv('xennet', 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/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 01468c6..0000000 --- a/proj/package/package.vcxproj +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - WindowsKernelModeDriver8.0 - Utility - Package - true - - - Windows Vista Debug - Win32 - DbgengKernelDebugger - - - - - - {445FD18F-97E3-4E5D-825F-151026242C05} - - - - - - - true - Vista_x64;7_x64;Server2008_x64;Server2008R2_x64;Server8_x64 - Vista_x86;7_x86;Server2008_x86;8_x86 - DbgengKernelDebugger - False - False - None - %PathToInf% - False - False - True - 133563 - ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ - ..\$(ConfigurationName)\$(Platform)\ - ..\..\xennet\$(DDKPlatform) - - - - - {97D9942B-5EA3-488C-B512-C96E5D077F8E} - - - {3EDD837A-C1BE-47D4-9603-16B61353670B} - - - - - - - - - - \ 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 87e2dab..0000000 --- a/proj/package/package.vcxproj.user +++ /dev/null @@ -1,8 +0,0 @@ - - - - TestSign - ..\xennet.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/xennet.pfx b/proj/xennet.pfx deleted file mode 100644 index 5b61f28..0000000 Binary files a/proj/xennet.pfx and /dev/null differ diff --git a/proj/xennet.sln b/proj/xennet.sln deleted file mode 100644 index b3da7b9..0000000 --- a/proj/xennet.sln +++ /dev/null @@ -1,140 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 11 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xennet", "xennet\xennet.vcxproj", "{97D9942B-5EA3-488C-B512-C96E5D077F8E}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xennet_coinst", "xennet_coinst\xennet_coinst.vcxproj", "{3EDD837A-C1BE-47D4-9603-16B61353670B}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "package", "package\package.vcxproj", "{445FD18F-97E3-4E5D-825F-151026242C05}" - ProjectSection(ProjectDependencies) = postProject - {3EDD837A-C1BE-47D4-9603-16B61353670B} = {3EDD837A-C1BE-47D4-9603-16B61353670B} - 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 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 - {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 - {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 - {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/proj/xennet/xennet.vcxproj b/proj/xennet/xennet.vcxproj deleted file mode 100644 index 9bcaf7c..0000000 --- a/proj/xennet/xennet.vcxproj +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - WindowsKernelModeDriver8.0 - Driver - WDM - - - Windows Vista Debug - Win32 - DbgengKernelDebugger - - - - - - {97D9942B-5EA3-488C-B512-C96E5D077F8E} - - - - - - - ..\..\include;$(IncludePath) - true - false - ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ - ..\$(ConfigurationName)\$(Platform)\ - - - - - __MODULE__="XENNET";NDIS_MINIPORT_DRIVER;NDIS60_MINIPORT=1;POOL_NX_OPTIN=1;%(PreprocessorDefinitions) - EnableAllWarnings - 4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) - true - true - - - false - $(DDK_LIB_PATH)\ndis.lib;%(AdditionalDependencies) - false - - - 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/xennet/xennet.vcxproj.user b/proj/xennet/xennet.vcxproj.user deleted file mode 100644 index 87e2dab..0000000 --- a/proj/xennet/xennet.vcxproj.user +++ /dev/null @@ -1,8 +0,0 @@ - - - - TestSign - ..\xennet.pfx - http://timestamp.verisign.com/scripts/timstamp.dll - - \ No newline at end of file diff --git a/proj/xennet_coinst/xennet_coinst.vcxproj b/proj/xennet_coinst/xennet_coinst.vcxproj deleted file mode 100644 index 8adb56d..0000000 --- a/proj/xennet_coinst/xennet_coinst.vcxproj +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - WindowsApplicationForDrivers8.0 - DynamicLibrary - WDM - - - Windows Vista Debug - Win32 - DbgengKernelDebugger - - - - - - {3EDD837A-C1BE-47D4-9603-16B61353670B} - - - - - - - DbgengKernelDebugger - ..\..\include;$(IncludePath) - true - false - ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ - ..\$(ConfigurationName)\$(Platform)\ - - - - - __MODULE__="XENNET_COINST";%(PreprocessorDefinitions) - EnableAllWarnings - 4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) - true - true - MultiThreadedDebug - MultiThreaded - - - ../../src/coinst/xennet_coinst.def - setupapi.lib;iphlpapi.lib;%(AdditionalDependencies) - - - - - __i386__;%(PreprocessorDefinitions) - - - - - __x86_64__;%(PreprocessorDefinitions) - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/proj/xennet_coinst/xennet_coinst.vcxproj.user b/proj/xennet_coinst/xennet_coinst.vcxproj.user deleted file mode 100644 index 87e2dab..0000000 --- a/proj/xennet_coinst/xennet_coinst.vcxproj.user +++ /dev/null @@ -1,8 +0,0 @@ - - - - TestSign - ..\xennet.pfx - http://timestamp.verisign.com/scripts/timstamp.dll - - \ No newline at end of file diff --git a/src/xennet.pfx b/src/xennet.pfx new file mode 100644 index 0000000..5b61f28 Binary files /dev/null and b/src/xennet.pfx differ 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..01468c6 --- /dev/null +++ b/vs2012/package/package.vcxproj @@ -0,0 +1,59 @@ + + + + + + WindowsKernelModeDriver8.0 + Utility + Package + true + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + + + + {445FD18F-97E3-4E5D-825F-151026242C05} + + + + + + + true + Vista_x64;7_x64;Server2008_x64;Server2008R2_x64;Server8_x64 + Vista_x86;7_x86;Server2008_x86;8_x86 + DbgengKernelDebugger + False + False + None + %PathToInf% + False + False + True + 133563 + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + ..\..\xennet\$(DDKPlatform) + + + + + {97D9942B-5EA3-488C-B512-C96E5D077F8E} + + + {3EDD837A-C1BE-47D4-9603-16B61353670B} + + + + + + + + + + \ 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..a5433e9 --- /dev/null +++ b/vs2012/package/package.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xennet.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/xennet.sln b/vs2012/xennet.sln new file mode 100644 index 0000000..7117370 --- /dev/null +++ b/vs2012/xennet.sln @@ -0,0 +1,144 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 11 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xennet", "xennet\xennet.vcxproj", "{97D9942B-5EA3-488C-B512-C96E5D077F8E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xennet_coinst", "xennet_coinst\xennet_coinst.vcxproj", "{3EDD837A-C1BE-47D4-9603-16B61353670B}" + ProjectSection(ProjectDependencies) = postProject + {97D9942B-5EA3-488C-B512-C96E5D077F8E} = {97D9942B-5EA3-488C-B512-C96E5D077F8E} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "package", "package\package.vcxproj", "{445FD18F-97E3-4E5D-825F-151026242C05}" + ProjectSection(ProjectDependencies) = postProject + {3EDD837A-C1BE-47D4-9603-16B61353670B} = {3EDD837A-C1BE-47D4-9603-16B61353670B} + {97D9942B-5EA3-488C-B512-C96E5D077F8E} = {97D9942B-5EA3-488C-B512-C96E5D077F8E} + 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 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/vs2012/xennet/xennet.vcxproj b/vs2012/xennet/xennet.vcxproj new file mode 100644 index 0000000..db07e9b --- /dev/null +++ b/vs2012/xennet/xennet.vcxproj @@ -0,0 +1,100 @@ + + + + + + WindowsKernelModeDriver8.0 + Driver + WDM + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + + + + {97D9942B-5EA3-488C-B512-C96E5D077F8E} + + + + + + + ..\..\include;$(IncludePath) + true + false + ClCompile;StampInf + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + + echo "Build Inf" + powershell -Command "(Get-Content ..\..\src\xennet.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 ..\xennet.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" + + ..\xennet.inf;..\..\include\version.h + ..\..\src\xennet.inf;..\..\include\version.hx + + + __MODULE__="XENNET";NDIS_MINIPORT_DRIVER;NDIS60_MINIPORT=1;POOL_NX_OPTIN=1;%(PreprocessorDefinitions) + EnableAllWarnings + 4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + + + false + $(DDK_LIB_PATH)\ndis.lib;%(AdditionalDependencies) + false + + + true + true + $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER) + true + + + + + __i386__;%(PreprocessorDefinitions) + + + x86 + + + + + __x86_64__;%(PreprocessorDefinitions) + + + amd64 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vs2012/xennet/xennet.vcxproj.user b/vs2012/xennet/xennet.vcxproj.user new file mode 100644 index 0000000..a5433e9 --- /dev/null +++ b/vs2012/xennet/xennet.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xennet.pfx + http://timestamp.verisign.com/scripts/timstamp.dll + + diff --git a/vs2012/xennet_coinst/xennet_coinst.vcxproj b/vs2012/xennet_coinst/xennet_coinst.vcxproj new file mode 100644 index 0000000..8adb56d --- /dev/null +++ b/vs2012/xennet_coinst/xennet_coinst.vcxproj @@ -0,0 +1,72 @@ + + + + + + WindowsApplicationForDrivers8.0 + DynamicLibrary + WDM + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + + + + {3EDD837A-C1BE-47D4-9603-16B61353670B} + + + + + + + DbgengKernelDebugger + ..\..\include;$(IncludePath) + true + false + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + + __MODULE__="XENNET_COINST";%(PreprocessorDefinitions) + EnableAllWarnings + 4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + MultiThreadedDebug + MultiThreaded + + + ../../src/coinst/xennet_coinst.def + setupapi.lib;iphlpapi.lib;%(AdditionalDependencies) + + + + + __i386__;%(PreprocessorDefinitions) + + + + + __x86_64__;%(PreprocessorDefinitions) + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vs2012/xennet_coinst/xennet_coinst.vcxproj.user b/vs2012/xennet_coinst/xennet_coinst.vcxproj.user new file mode 100644 index 0000000..a5433e9 --- /dev/null +++ b/vs2012/xennet_coinst/xennet_coinst.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xennet.pfx + http://timestamp.verisign.com/scripts/timstamp.dll + + diff --git a/vs2013/configs.props b/vs2013/configs.props new file mode 100644 index 0000000..43987fb --- /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 + + + diff --git a/vs2013/package/package.vcxproj b/vs2013/package/package.vcxproj new file mode 100644 index 0000000..5788ad5 --- /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 + + + v120 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + {445FD18F-97E3-4E5D-825F-151026242C05} + + + + + true + Vista_x64;7_x64;Server2008_x64;Server2008R2_x64;Server8_x64 + Vista_x86;7_x86;Server2008_x86;8_x86 + DbgengKernelDebugger + False + False + None + %PathToInf% + False + False + True + 133563 + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + ..\..\xennet\$(DDKPlatform) + + + + {97D9942B-5EA3-488C-B512-C96E5D077F8E} + + + {3EDD837A-C1BE-47D4-9603-16B61353670B} + + + + + + + + + + \ 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..a5433e9 --- /dev/null +++ b/vs2013/package/package.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xennet.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/xennet.sln b/vs2013/xennet.sln new file mode 100644 index 0000000..24571f0 --- /dev/null +++ b/vs2013/xennet.sln @@ -0,0 +1,139 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2013 for Windows Desktop +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xennet", "xennet\xennet.vcxproj", "{97D9942B-5EA3-488C-B512-C96E5D077F8E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xennet_coinst", "xennet_coinst\xennet_coinst.vcxproj", "{3EDD837A-C1BE-47D4-9603-16B61353670B}" + ProjectSection(ProjectDependencies) = postProject + {97D9942B-5EA3-488C-B512-C96E5D077F8E} = {97D9942B-5EA3-488C-B512-C96E5D077F8E} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "package", "package\package.vcxproj", "{445FD18F-97E3-4E5D-825F-151026242C05}" + ProjectSection(ProjectDependencies) = postProject + {3EDD837A-C1BE-47D4-9603-16B61353670B} = {3EDD837A-C1BE-47D4-9603-16B61353670B} + 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 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64 + {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/vs2013/xennet/xennet.vcxproj b/vs2013/xennet/xennet.vcxproj new file mode 100644 index 0000000..908bc2d --- /dev/null +++ b/vs2013/xennet/xennet.vcxproj @@ -0,0 +1,131 @@ + + + + + Driver + WDM + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + v120 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + WindowsKernelModeDriver8.1 + + + {97D9942B-5EA3-488C-B512-C96E5D077F8E} + + + + + ..\..\include;$(IncludePath) + true + false + ClCompile;StampInf + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + echo "Build Inf" + powershell -Command "(Get-Content ..\..\src\xennet.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 ..\xennet.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" + + ..\xennet.inf;..\..\include\version.h + ..\..\src\xennet.inf;..\..\include\version.hx + + + __MODULE__="XENNET";NDIS_MINIPORT_DRIVER;NDIS60_MINIPORT=1;POOL_NX_OPTIN=1;%(PreprocessorDefinitions) + EnableAllWarnings + 4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + + + false + $(DDK_LIB_PATH)\ndis.lib;%(AdditionalDependencies) + false + + + 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/xennet/xennet.vcxproj.user b/vs2013/xennet/xennet.vcxproj.user new file mode 100644 index 0000000..a5433e9 --- /dev/null +++ b/vs2013/xennet/xennet.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xennet.pfx + http://timestamp.verisign.com/scripts/timstamp.dll + + diff --git a/vs2013/xennet_coinst/xennet_coinst.vcxproj b/vs2013/xennet_coinst/xennet_coinst.vcxproj new file mode 100644 index 0000000..7c8f7e2 --- /dev/null +++ b/vs2013/xennet_coinst/xennet_coinst.vcxproj @@ -0,0 +1,103 @@ + + + + + DynamicLibrary + WDM + + + Windows Vista Debug + Win32 + DbgengKernelDebugger + + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + v120 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + WindowsApplicationForDrivers8.1 + + + {3EDD837A-C1BE-47D4-9603-16B61353670B} + + + + + DbgengKernelDebugger + ..\..\include;$(IncludePath) + true + false + ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ + ..\$(ConfigurationName)\$(Platform)\ + + + + __MODULE__="XENNET_COINST";%(PreprocessorDefinitions) + EnableAllWarnings + 4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + true + true + MultiThreadedDebug + MultiThreaded + + + ../../src/coinst/xennet_coinst.def + setupapi.lib;iphlpapi.lib;%(AdditionalDependencies) + + + + + __i386__;%(PreprocessorDefinitions) + + + + + __x86_64__;%(PreprocessorDefinitions) + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vs2013/xennet_coinst/xennet_coinst.vcxproj.user b/vs2013/xennet_coinst/xennet_coinst.vcxproj.user new file mode 100644 index 0000000..a5433e9 --- /dev/null +++ b/vs2013/xennet_coinst/xennet_coinst.vcxproj.user @@ -0,0 +1,8 @@ + + + + TestSign + ..\..\src\xennet.pfx + http://timestamp.verisign.com/scripts/timstamp.dll + +