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')
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
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':
cwd = os.getcwd()
- msbuild(platform, configuration, 'Build', name + '.sln', '', 'proj')
+ msbuild(platform, configuration, 'Build', name + '.sln', '', vs)
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:
except OSError:
pass
- path = ['proj', name, 'refine.sdv']
+ path = [vs, name, 'refine.sdv']
print(path)
try:
except OSError:
pass
- path = ['proj', name, 'sdv-map.h']
+ path = [vs, name, 'sdv-map.h']
print(path)
try:
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:
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):
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':
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'
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'])
--- /dev/null
+/* Copyright (c) Citrix Systems Inc.\r
+ * All rights reserved.\r
+ * \r
+ * Redistribution and use in source and binary forms, \r
+ * with or without modification, are permitted provided \r
+ * that the following conditions are met:\r
+ * \r
+ * * Redistributions of source code must retain the above \r
+ * copyright notice, this list of conditions and the \r
+ * following disclaimer.\r
+ * * Redistributions in binary form must reproduce the above \r
+ * copyright notice, this list of conditions and the \r
+ * following disclaimer in the documentation and/or other \r
+ * materials provided with the distribution.\r
+ * \r
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND \r
+ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, \r
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF \r
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE \r
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR \r
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, \r
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, \r
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR \r
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS \r
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, \r
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING \r
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE \r
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF \r
+ * SUCH DAMAGE.\r
+ */\r
+\r
+#define COMPANY_NAME_STR "@COMPANY_NAME@"\r
+#define PRODUCT_NAME_STR "@PRODUCT_NAME@"\r
+\r
+#define MAJOR_VERSION @MAJOR_VERSION@\r
+#define MAJOR_VERSION_STR "@MAJOR_VERSION@"\r
+\r
+#define MINOR_VERSION @MINOR_VERSION@\r
+#define MINOR_VERSION_STR "@MINOR_VERSION@"\r
+\r
+#define MICRO_VERSION @MICRO_VERSION@\r
+#define MICRO_VERSION_STR "@MICRO_VERSION@"\r
+\r
+#define BUILD_NUMBER @BUILD_NUMBER@\r
+#define BUILD_NUMBER_STR "@BUILD_NUMBER@"\r
+\r
+#define YEAR @YEAR@\r
+#define YEAR_STR "@YEAR@"\r
+\r
+#define MONTH @MONTH@\r
+#define MONTH_STR "@MONTH@"\r
+\r
+#define DAY @DAY@\r
+#define DAY_STR "@DAY@"\r
+\r
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="..\configs.props" />
-
- <PropertyGroup Label="PropertySheets">
- <DriverType>WDM</DriverType>
- <PlatformToolset>WindowsApplicationForDrivers8.0</PlatformToolset>
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <DriverType>WDM</DriverType>
- </PropertyGroup>
- <PropertyGroup Label="Globals">
- <Configuration>Windows Vista Debug</Configuration>
- <Platform Condition="'$(Platform)' == ''">Win32</Platform>
- <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
- </PropertyGroup>
-
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-
- <PropertyGroup Label="Globals">
- <ProjectGuid>{50C08437-C1F3-4349-BF6A-7B55A06BF999}</ProjectGuid>
- </PropertyGroup>
-
- <Import Project="..\targets.props" />
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
-
- <PropertyGroup>
- <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
- <IncludePath>$(ProjectDir)..\..\include;$(IncludePath)</IncludePath>
- <RunCodeAnalysis>true</RunCodeAnalysis>
- <EnableInf2cat>false</EnableInf2cat>
- <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
- <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
- </PropertyGroup>
-
- <ItemDefinitionGroup>
- <ClCompile>
- <PreprocessorDefinitions>__MODULE__="XENVBD_COINST";%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <WarningLevel>EnableAllWarnings</WarningLevel>
- <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <MultiProcessorCompilation>true</MultiProcessorCompilation>
- <EnablePREfast>true</EnablePREfast>
- <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibrary>
- <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='false'">MultiThreaded</RuntimeLibrary>
- </ClCompile>
- <Link>
- <ModuleDefinitionFile>../../src/coinst/xenvbd_coinst.def</ModuleDefinitionFile>
- <AdditionalDependencies>setupapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
- <ClCompile>
- <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
- <ClCompile>
- <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- </ItemDefinitionGroup>
-
- <ItemGroup>
- <FilesToPackage Include="$(TargetPath)" />
- <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />
- <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="..\..\src\coinst\coinst.c" />
- </ItemGroup>
- <ItemGroup>
- <None Include="..\..\src\coinst\xenvbd_coinst.def" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
-</Project>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <SignMode>TestSign</SignMode>
- <TestCertificate>..\xenvbd.pfx</TestCertificate>
- <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
- </PropertyGroup>
-</Project>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Windows 8 Debug|Win32">
- <Configuration>Windows 8 Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Windows 7 Debug|Win32">
- <Configuration>Windows 7 Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Windows Vista Debug|Win32">
- <Configuration>Windows Vista Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Windows 8 Release|Win32">
- <Configuration>Windows 8 Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Windows 7 Release|Win32">
- <Configuration>Windows 7 Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Windows Vista Release|Win32">
- <Configuration>Windows Vista Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Windows 8 Debug|x64">
- <Configuration>Windows8 Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Windows 7 Debug|x64">
- <Configuration>Windows 7 Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Windows Vista Debug|x64">
- <Configuration>Windows Vista Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Windows 8 Release|x64">
- <Configuration>Windows 8 Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Windows 7 Release|x64">
- <Configuration>Windows 7 Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Windows Vista Release|x64">
- <Configuration>Windows Vista Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- </ItemGroup>
-</Project>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="..\configs.props" />
-
- <PropertyGroup Label="PropertySheets">
- <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset>
- <ConfigurationType>Utility</ConfigurationType>
- <DriverType>Package</DriverType>
- <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
- </PropertyGroup>
- <PropertyGroup Label="Globals">
- <Configuration>Windows Vista Debug</Configuration>
- <Platform Condition="'$(Platform)' == ''">Win32</Platform>
- <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
- </PropertyGroup>
-
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-
- <PropertyGroup Label="Globals">
- <ProjectGuid>{AB8DAED3-9D70-4907-99A3-C643F1FC1972}</ProjectGuid>
- </PropertyGroup>
-
- <Import Project="..\targets.props" />
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
-
- <PropertyGroup>
- <EnableInf2cat>true</EnableInf2cat>
- <Inf2CatWindowsVersionList Condition="'$(Platform)'=='x64'">Vista_x64;Server2008_x64;7_x64;Server2008R2_x64;8_x64;Server8_x64</Inf2CatWindowsVersionList>
- <Inf2CatWindowsVersionList Condition="'$(Platform)'=='Win32'">Vista_x86;Server2008_x86;7_x86;8_x86</Inf2CatWindowsVersionList>
- <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
- <EnableDeployment>False</EnableDeployment>
- <ImportToStore>False</ImportToStore>
- <InstallMode>None</InstallMode>
- <ScriptDeviceQuery>%PathToInf%</ScriptDeviceQuery>
- <EnableVerifier>False</EnableVerifier>
- <AllDrivers>False</AllDrivers>
- <VerifyProjectOutput>True</VerifyProjectOutput>
- <VerifyFlags>133563</VerifyFlags>
- <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
- <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
- <PackageDir>..\..\xenvbd\$(DDKPlatform)</PackageDir>
- </PropertyGroup>
-
- <ItemGroup>
- <ProjectReference Include="..\coinst\xenvbd_coinst.vcxproj">
- <Project>{50c08437-c1f3-4349-bf6a-7b55a06bf999}</Project>
- </ProjectReference>
- <ProjectReference Include="..\xencrsh\xencrsh.vcxproj">
- <Project>{58f5bc43-b92e-4a2b-975d-0066eab29092}</Project>
- </ProjectReference>
- <ProjectReference Include="..\xenvbd\xenvbd.vcxproj">
- <Project>{ef236371-3145-41b1-99c9-82b33e353f17}</Project>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x86\dpinst.exe" Condition="'$(Platform)'=='Win32'" />
- <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x64\dpinst.exe" Condition="'$(Platform)'=='x64'" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <SignMode>TestSign</SignMode>
- <TestCertificate>..\xenvbd.pfx</TestCertificate>
- <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
- </PropertyGroup>
-</Project>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'">
- <TargetVersion>Windows8</TargetVersion>
- <UseDebugLibraries>true</UseDebugLibraries>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'">
- <TargetVersion>Windows8</TargetVersion>
- <UseDebugLibraries>false</UseDebugLibraries>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'">
- <TargetVersion>Windows8</TargetVersion>
- <UseDebugLibraries>true</UseDebugLibraries>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'">
- <TargetVersion>Windows8</TargetVersion>
- <UseDebugLibraries>false</UseDebugLibraries>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'">
- <TargetVersion>Windows7</TargetVersion>
- <UseDebugLibraries>true</UseDebugLibraries>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'">
- <TargetVersion>Windows7</TargetVersion>
- <UseDebugLibraries>false</UseDebugLibraries>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'">
- <TargetVersion>Windows7</TargetVersion>
- <UseDebugLibraries>true</UseDebugLibraries>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'">
- <TargetVersion>Windows7</TargetVersion>
- <UseDebugLibraries>false</UseDebugLibraries>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'">
- <TargetVersion>Vista</TargetVersion>
- <UseDebugLibraries>true</UseDebugLibraries>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'">
- <TargetVersion>Vista</TargetVersion>
- <UseDebugLibraries>false</UseDebugLibraries>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'">
- <TargetVersion>Vista</TargetVersion>
- <UseDebugLibraries>true</UseDebugLibraries>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'">
- <TargetVersion>Vista</TargetVersion>
- <UseDebugLibraries>false</UseDebugLibraries>
- </PropertyGroup>
-</Project>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="..\configs.props" />
-
- <PropertyGroup Label="Globals">
- <Configuration>Windows Vista Debug</Configuration>
- <Platform Condition="'$(Platform)' == ''">Win32</Platform>
- <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
- </PropertyGroup>
- <PropertyGroup Label="PropertySheets">
- <DriverType>WDM</DriverType>
- <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset>
- <ConfigurationType>Driver</ConfigurationType>
- </PropertyGroup>
-
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-
- <PropertyGroup Label="Globals">
- <ProjectGuid>{58F5BC43-B92E-4A2B-975D-0066EAB29092}</ProjectGuid>
- </PropertyGroup>
-
- <Import Project="..\targets.props" />
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
-
- <PropertyGroup>
- <IncludePath>..\..\include;$(IncludePath)</IncludePath>
- <RunCodeAnalysis>true</RunCodeAnalysis>
- <EnableInf2cat>false</EnableInf2cat>
- <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
- <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
- </PropertyGroup>
-
- <ItemDefinitionGroup>
- <ClCompile>
- <PreprocessorDefinitions>__MODULE__="XENCRSH";%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <WarningLevel>EnableAllWarnings</WarningLevel>
- <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <MultiProcessorCompilation>true</MultiProcessorCompilation>
- <EnablePREfast>true</EnablePREfast>
- </ClCompile>
- <Link>
- <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
- <ModuleDefinitionFile>../../src/xencrsh/xencrsh.def</ModuleDefinitionFile>
- <AdditionalDependencies>$(DDK_LIB_PATH)/storport.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
- <ClCompile>
- <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
- <ClCompile>
- <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- </ItemDefinitionGroup>
-
- <ItemGroup>
- <FilesToPackage Include="$(TargetPath)" />
- <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />
- <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="..\..\src\xencrsh\austere.c" />
- <ClCompile Include="..\..\src\xencrsh\buffer.c" />
- <ClCompile Include="..\..\src\xencrsh\driver.c" />
- <ClCompile Include="..\..\src\xencrsh\evtchn.c" />
- <ClCompile Include="..\..\src\xencrsh\fdo.c" />
- <ClCompile Include="..\..\src\xencrsh\frontend.c" />
- <ClCompile Include="..\..\src\xencrsh\gnttab.c" />
- <ClCompile Include="..\..\src\xencrsh\hvm.c" />
- <ClCompile Include="..\..\src\xencrsh\hypercall_stub.c" />
- <ClCompile Include="..\..\src\xencrsh\log.c" />
- <ClCompile Include="..\..\src\xencrsh\pdo.c" />
- <ClCompile Include="..\..\src\xencrsh\pdoinquiry.c" />
- <ClCompile Include="..\..\src\xencrsh\queue.c" />
- <ClCompile Include="..\..\src\xencrsh\store.c" />
- </ItemGroup>
- <ItemGroup>
- <MASM Include="..\..\src\xencrsh\amd64\hypercall.asm">
- <ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
- </MASM>
- <MASM Include="..\..\src\xencrsh\i386\hypercall.asm">
- <ExcludedFromBuild Condition="'$(Platform)'=='x64'">true</ExcludedFromBuild>
- </MASM>
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="..\..\src\xencrsh\xencrsh.rc" />
- </ItemGroup>
- <ItemGroup>
- <None Include="..\..\src\xencrsh\xencrsh.def" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
-</Project>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <SignMode>TestSign</SignMode>
- <TestCertificate>..\xenvbd.pfx</TestCertificate>
- <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
- </PropertyGroup>
-</Project>
\ No newline at end of file
+++ /dev/null
-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
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="..\configs.props" />
-
- <PropertyGroup Label="Globals">
- <Configuration>Windows Vista Debug</Configuration>
- <Platform Condition="'$(Platform)' == ''">Win32</Platform>
- <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
- </PropertyGroup>
- <PropertyGroup Label="ProeprtySheets">
- <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset>
- <ConfigurationType>Driver</ConfigurationType>
- <DriverType>WDM</DriverType>
- </PropertyGroup>
-
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-
- <PropertyGroup Label="Globals">
- <ProjectGuid>{EF236371-3145-41B1-99C9-82B33E353F17}</ProjectGuid>
- </PropertyGroup>
-
- <Import Project="..\targets.props" />
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
-
- <PropertyGroup>
- <IncludePath>$(ProjectDir)..\..\include;$(IncludePath)</IncludePath>
- <RunCodeAnalysis>true</RunCodeAnalysis>
- <EnableInf2cat>false</EnableInf2cat>
- <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
- <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
- </PropertyGroup>
-
- <ItemDefinitionGroup>
- <ClCompile>
- <BufferSecurityCheck>false</BufferSecurityCheck>
- <PreprocessorDefinitions>__MODULE__="XENVBD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <WarningLevel>EnableAllWarnings</WarningLevel>
- <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <MultiProcessorCompilation>true</MultiProcessorCompilation>
- <EnablePREfast>true</EnablePREfast>
- </ClCompile>
- <Link>
- <AdditionalDependencies>$(ProjectDir)..\$(ConfigurationName)\$(Platform)\xencrsh.lib;$(DDK_LIB_PATH)/storport.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- <Inf>
- <SpecifyArchitecture>true</SpecifyArchitecture>
- <SpecifyDriverVerDirectiveVersion>true</SpecifyDriverVerDirectiveVersion>
- <TimeStamp>$(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER)</TimeStamp>
- <EnableVerbose>true</EnableVerbose>
- </Inf>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
- <ClCompile>
- <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Inf>
- <Architecture>x86</Architecture>
- </Inf>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
- <ClCompile>
- <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Inf>
- <Architecture>amd64</Architecture>
- </Inf>
- </ItemDefinitionGroup>
-
- <ItemGroup>
- <FilesToPackage Include="$(TargetPath)" />
- <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />
- <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="../../src/xenvbd/buffer.c" />
- <ClCompile Include="../../src/xenvbd/driver.c" />
- <ClCompile Include="../../src/xenvbd/registry.c" />
- <ClCompile Include="../../src/xenvbd/fdo.c" />
- <ClCompile Include="../../src/xenvbd/frontend.c" />
- <ClCompile Include="../../src/xenvbd/pdo.c" />
- <ClCompile Include="../../src/xenvbd/pdoinquiry.c" />
- <ClCompile Include="../../src/xenvbd/queue.c" />
- <ClCompile Include="../../src/xenvbd/thread.c" />
- <ClCompile Include="../../src/xenvbd/notifier.c" />
- <ClCompile Include="../../src/xenvbd/blockring.c" />
- <ClCompile Include="../../src/xenvbd/granter.c" />
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="..\..\src\xenvbd\xenvbd.rc" />
- </ItemGroup>
- <ItemGroup>
- <Inf Include="..\xenvbd.inf" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
-</Project>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <SignMode>TestSign</SignMode>
- <TestCertificate>..\xenvbd.pfx</TestCertificate>
- <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
- </PropertyGroup>
-</Project>
\ No newline at end of file
#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)
#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)
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="..\configs.props" />
+
+ <PropertyGroup Label="PropertySheets">
+ <DriverType>WDM</DriverType>
+ <PlatformToolset>WindowsApplicationForDrivers8.0</PlatformToolset>
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <DriverType>WDM</DriverType>
+ </PropertyGroup>
+ <PropertyGroup Label="Globals">
+ <Configuration>Windows Vista Debug</Configuration>
+ <Platform Condition="'$(Platform)' == ''">Win32</Platform>
+ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
+ </PropertyGroup>
+
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{50C08437-C1F3-4349-BF6A-7B55A06BF999}</ProjectGuid>
+ </PropertyGroup>
+
+ <Import Project="..\targets.props" />
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+
+ <PropertyGroup>
+ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
+ <IncludePath>$(ProjectDir)..\..\include;$(IncludePath)</IncludePath>
+ <RunCodeAnalysis>true</RunCodeAnalysis>
+ <EnableInf2cat>false</EnableInf2cat>
+ <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
+ <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <PreprocessorDefinitions>__MODULE__="XENVBD_COINST";%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <WarningLevel>EnableAllWarnings</WarningLevel>
+ <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
+ <EnablePREfast>true</EnablePREfast>
+ <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibrary>
+ <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='false'">MultiThreaded</RuntimeLibrary>
+ </ClCompile>
+ <Link>
+ <ModuleDefinitionFile>../../src/coinst/xenvbd_coinst.def</ModuleDefinitionFile>
+ <AdditionalDependencies>setupapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
+ <ClCompile>
+ <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
+ <ClCompile>
+ <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ </ItemDefinitionGroup>
+
+ <ItemGroup>
+ <FilesToPackage Include="$(TargetPath)" />
+ <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />
+ <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\src\coinst\coinst.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="..\..\src\coinst\xenvbd_coinst.def" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+</Project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SignMode>TestSign</SignMode>
+ <TestCertificate>..\..\src\xenvbd.pfx</TestCertificate>
+ <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+ </PropertyGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Windows 8 Debug|Win32">
+ <Configuration>Windows 8 Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 7 Debug|Win32">
+ <Configuration>Windows 7 Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows Vista Debug|Win32">
+ <Configuration>Windows Vista Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 8 Release|Win32">
+ <Configuration>Windows 8 Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 7 Release|Win32">
+ <Configuration>Windows 7 Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows Vista Release|Win32">
+ <Configuration>Windows Vista Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 8 Debug|x64">
+ <Configuration>Windows8 Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 7 Debug|x64">
+ <Configuration>Windows 7 Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows Vista Debug|x64">
+ <Configuration>Windows Vista Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 8 Release|x64">
+ <Configuration>Windows 8 Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 7 Release|x64">
+ <Configuration>Windows 7 Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows Vista Release|x64">
+ <Configuration>Windows Vista Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+</Project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="..\configs.props" />
+
+ <PropertyGroup Label="PropertySheets">
+ <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset>
+ <ConfigurationType>Utility</ConfigurationType>
+ <DriverType>Package</DriverType>
+ <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
+ </PropertyGroup>
+ <PropertyGroup Label="Globals">
+ <Configuration>Windows Vista Debug</Configuration>
+ <Platform Condition="'$(Platform)' == ''">Win32</Platform>
+ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
+ </PropertyGroup>
+
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{AB8DAED3-9D70-4907-99A3-C643F1FC1972}</ProjectGuid>
+ </PropertyGroup>
+
+ <Import Project="..\targets.props" />
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+
+ <PropertyGroup>
+ <EnableInf2cat>true</EnableInf2cat>
+ <Inf2CatWindowsVersionList Condition="'$(Platform)'=='x64'">Vista_x64;Server2008_x64;7_x64;Server2008R2_x64;8_x64;Server8_x64</Inf2CatWindowsVersionList>
+ <Inf2CatWindowsVersionList Condition="'$(Platform)'=='Win32'">Vista_x86;Server2008_x86;7_x86;8_x86</Inf2CatWindowsVersionList>
+ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
+ <EnableDeployment>False</EnableDeployment>
+ <ImportToStore>False</ImportToStore>
+ <InstallMode>None</InstallMode>
+ <ScriptDeviceQuery>%PathToInf%</ScriptDeviceQuery>
+ <EnableVerifier>False</EnableVerifier>
+ <AllDrivers>False</AllDrivers>
+ <VerifyProjectOutput>True</VerifyProjectOutput>
+ <VerifyFlags>133563</VerifyFlags>
+ <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
+ <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
+ <PackageDir>..\..\xenvbd\$(DDKPlatform)</PackageDir>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <ProjectReference Include="..\coinst\xenvbd_coinst.vcxproj">
+ <Project>{50c08437-c1f3-4349-bf6a-7b55a06bf999}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\xencrsh\xencrsh.vcxproj">
+ <Project>{58f5bc43-b92e-4a2b-975d-0066eab29092}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\xenvbd\xenvbd.vcxproj">
+ <Project>{ef236371-3145-41b1-99c9-82b33e353f17}</Project>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x86\dpinst.exe" Condition="'$(Platform)'=='Win32'" />
+ <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x64\dpinst.exe" Condition="'$(Platform)'=='x64'" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SignMode>TestSign</SignMode>
+ <TestCertificate>..\..\src\xenvbd.pfx</TestCertificate>
+ <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+ </PropertyGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'">
+ <TargetVersion>Windows8</TargetVersion>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'">
+ <TargetVersion>Windows8</TargetVersion>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'">
+ <TargetVersion>Windows8</TargetVersion>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'">
+ <TargetVersion>Windows8</TargetVersion>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'">
+ <TargetVersion>Windows7</TargetVersion>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'">
+ <TargetVersion>Windows7</TargetVersion>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'">
+ <TargetVersion>Windows7</TargetVersion>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'">
+ <TargetVersion>Windows7</TargetVersion>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'">
+ <TargetVersion>Vista</TargetVersion>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'">
+ <TargetVersion>Vista</TargetVersion>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'">
+ <TargetVersion>Vista</TargetVersion>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'">
+ <TargetVersion>Vista</TargetVersion>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="..\configs.props" />
+
+ <PropertyGroup Label="Globals">
+ <Configuration>Windows Vista Debug</Configuration>
+ <Platform Condition="'$(Platform)' == ''">Win32</Platform>
+ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
+ </PropertyGroup>
+ <PropertyGroup Label="PropertySheets">
+ <DriverType>WDM</DriverType>
+ <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset>
+ <ConfigurationType>Driver</ConfigurationType>
+ </PropertyGroup>
+
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{58F5BC43-B92E-4A2B-975D-0066EAB29092}</ProjectGuid>
+ </PropertyGroup>
+
+ <Import Project="..\targets.props" />
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+
+ <PropertyGroup>
+ <IncludePath>..\..\include;$(IncludePath)</IncludePath>
+ <RunCodeAnalysis>true</RunCodeAnalysis>
+ <EnableInf2cat>false</EnableInf2cat>
+ <CustomBuildBeforeTargets>ClCompile;StampInf</CustomBuildBeforeTargets>
+ <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
+ <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <CustomBuildStep>
+ <Command>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"
+ </Command>
+ <Outputs>..\..\vs2012\xenvbd.inf;..\..\include\version.h</Outputs>
+ <Inputs>..\..\src\xenvbd.inf;..\..\include\version.hx</Inputs>
+ </CustomBuildStep>
+ <ClCompile>
+ <PreprocessorDefinitions>__MODULE__="XENCRSH";%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <WarningLevel>EnableAllWarnings</WarningLevel>
+ <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
+ <EnablePREfast>true</EnablePREfast>
+ </ClCompile>
+ <Link>
+ <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
+ <ModuleDefinitionFile>../../src/xencrsh/xencrsh.def</ModuleDefinitionFile>
+ <AdditionalDependencies>$(DDK_LIB_PATH)/storport.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
+ <ClCompile>
+ <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
+ <ClCompile>
+ <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ </ItemDefinitionGroup>
+
+ <ItemGroup>
+ <FilesToPackage Include="$(TargetPath)" />
+ <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />
+ <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\src\xencrsh\austere.c" />
+ <ClCompile Include="..\..\src\xencrsh\buffer.c" />
+ <ClCompile Include="..\..\src\xencrsh\driver.c" />
+ <ClCompile Include="..\..\src\xencrsh\evtchn.c" />
+ <ClCompile Include="..\..\src\xencrsh\fdo.c" />
+ <ClCompile Include="..\..\src\xencrsh\frontend.c" />
+ <ClCompile Include="..\..\src\xencrsh\gnttab.c" />
+ <ClCompile Include="..\..\src\xencrsh\hvm.c" />
+ <ClCompile Include="..\..\src\xencrsh\hypercall_stub.c" />
+ <ClCompile Include="..\..\src\xencrsh\log.c" />
+ <ClCompile Include="..\..\src\xencrsh\pdo.c" />
+ <ClCompile Include="..\..\src\xencrsh\pdoinquiry.c" />
+ <ClCompile Include="..\..\src\xencrsh\queue.c" />
+ <ClCompile Include="..\..\src\xencrsh\store.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <MASM Include="..\..\src\xencrsh\amd64\hypercall.asm">
+ <ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
+ </MASM>
+ <MASM Include="..\..\src\xencrsh\i386\hypercall.asm">
+ <ExcludedFromBuild Condition="'$(Platform)'=='x64'">true</ExcludedFromBuild>
+ </MASM>
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="..\..\src\xencrsh\xencrsh.rc" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="..\..\src\xencrsh\xencrsh.def" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SignMode>TestSign</SignMode>
+ <TestCertificate>..\..\src\xenvbd.pfx</TestCertificate>
+ <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+ </PropertyGroup>
+</Project>
--- /dev/null
+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
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="..\configs.props" />
+
+ <PropertyGroup Label="Globals">
+ <Configuration>Windows Vista Debug</Configuration>
+ <Platform Condition="'$(Platform)' == ''">Win32</Platform>
+ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
+ </PropertyGroup>
+ <PropertyGroup Label="ProeprtySheets">
+ <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset>
+ <ConfigurationType>Driver</ConfigurationType>
+ <DriverType>WDM</DriverType>
+ </PropertyGroup>
+
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{EF236371-3145-41B1-99C9-82B33E353F17}</ProjectGuid>
+ </PropertyGroup>
+
+ <Import Project="..\targets.props" />
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+
+ <PropertyGroup>
+ <IncludePath>$(ProjectDir)..\..\include;$(IncludePath)</IncludePath>
+ <RunCodeAnalysis>true</RunCodeAnalysis>
+ <EnableInf2cat>false</EnableInf2cat>
+ <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
+ <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <BufferSecurityCheck>false</BufferSecurityCheck>
+ <PreprocessorDefinitions>__MODULE__="XENVBD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <WarningLevel>EnableAllWarnings</WarningLevel>
+ <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
+ <EnablePREfast>true</EnablePREfast>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>$(ProjectDir)..\$(ConfigurationName)\$(Platform)\xencrsh.lib;$(DDK_LIB_PATH)/storport.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ <Inf>
+ <SpecifyArchitecture>true</SpecifyArchitecture>
+ <SpecifyDriverVerDirectiveVersion>true</SpecifyDriverVerDirectiveVersion>
+ <TimeStamp>$(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER)</TimeStamp>
+ <EnableVerbose>true</EnableVerbose>
+ </Inf>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
+ <ClCompile>
+ <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Inf>
+ <Architecture>x86</Architecture>
+ </Inf>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
+ <ClCompile>
+ <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Inf>
+ <Architecture>amd64</Architecture>
+ </Inf>
+ </ItemDefinitionGroup>
+
+ <ItemGroup>
+ <FilesToPackage Include="$(TargetPath)" />
+ <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />
+ <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="../../src/xenvbd/buffer.c" />
+ <ClCompile Include="../../src/xenvbd/driver.c" />
+ <ClCompile Include="../../src/xenvbd/registry.c" />
+ <ClCompile Include="../../src/xenvbd/fdo.c" />
+ <ClCompile Include="../../src/xenvbd/frontend.c" />
+ <ClCompile Include="../../src/xenvbd/pdo.c" />
+ <ClCompile Include="../../src/xenvbd/pdoinquiry.c" />
+ <ClCompile Include="../../src/xenvbd/queue.c" />
+ <ClCompile Include="../../src/xenvbd/thread.c" />
+ <ClCompile Include="../../src/xenvbd/notifier.c" />
+ <ClCompile Include="../../src/xenvbd/blockring.c" />
+ <ClCompile Include="../../src/xenvbd/granter.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="..\..\src\xenvbd\xenvbd.rc" />
+ </ItemGroup>
+ <ItemGroup>
+ <Inf Include="..\xenvbd.inf" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+</Project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SignMode>TestSign</SignMode>
+ <TestCertificate>..\..\src\xenvbd.pfx</TestCertificate>
+ <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+ </PropertyGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <Import Project="..\configs.props" />\r
+ <PropertyGroup Label="PropertySheets">\r
+ <DriverType>WDM</DriverType>\r
+ <ConfigurationType>DynamicLibrary</ConfigurationType>\r
+ <DriverType>WDM</DriverType>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <Configuration>Windows Vista Debug</Configuration>\r
+ <Platform Condition="'$(Platform)' == ''">Win32</Platform>\r
+ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <ProjectGuid>{50C08437-C1F3-4349-BF6A-7B55A06BF999}</ProjectGuid>\r
+ </PropertyGroup>\r
+ <Import Project="..\targets.props" />\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+ <PropertyGroup>\r
+ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>\r
+ <IncludePath>$(ProjectDir)..\..\include;$(IncludePath)</IncludePath>\r
+ <RunCodeAnalysis>true</RunCodeAnalysis>\r
+ <EnableInf2cat>false</EnableInf2cat>\r
+ <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>\r
+ <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>\r
+ </PropertyGroup>\r
+ <ItemDefinitionGroup>\r
+ <ClCompile>\r
+ <PreprocessorDefinitions>__MODULE__="XENVBD_COINST";%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ <WarningLevel>EnableAllWarnings</WarningLevel>\r
+ <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>\r
+ <EnablePREfast>true</EnablePREfast>\r
+ <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibrary>\r
+ <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='false'">MultiThreaded</RuntimeLibrary>\r
+ </ClCompile>\r
+ <Link>\r
+ <ModuleDefinitionFile>../../src/coinst/xenvbd_coinst.def</ModuleDefinitionFile>\r
+ <AdditionalDependencies>setupapi.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+ </Link>\r
+ </ItemDefinitionGroup>\r
+ <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">\r
+ <ClCompile>\r
+ <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ </ClCompile>\r
+ </ItemDefinitionGroup>\r
+ <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">\r
+ <ClCompile>\r
+ <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ </ClCompile>\r
+ </ItemDefinitionGroup>\r
+ <ItemGroup>\r
+ <FilesToPackage Include="$(TargetPath)" />\r
+ <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />\r
+ <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <ClCompile Include="..\..\src\coinst\coinst.c" />\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <None Include="..\..\src\coinst\xenvbd_coinst.def" />\r
+ </ItemGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+</Project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SignMode>TestSign</SignMode>
+ <TestCertificate>..\..\src\xenvbd.pfx</TestCertificate>
+ <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+ </PropertyGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Windows 8 Debug|Win32">
+ <Configuration>Windows 8 Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 7 Debug|Win32">
+ <Configuration>Windows 7 Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows Vista Debug|Win32">
+ <Configuration>Windows Vista Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 8 Release|Win32">
+ <Configuration>Windows 8 Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 7 Release|Win32">
+ <Configuration>Windows 7 Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows Vista Release|Win32">
+ <Configuration>Windows Vista Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 8 Debug|x64">
+ <Configuration>Windows 8 Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 7 Debug|x64">
+ <Configuration>Windows 7 Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows Vista Debug|x64">
+ <Configuration>Windows Vista Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 8 Release|x64">
+ <Configuration>Windows 8 Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows 7 Release|x64">
+ <Configuration>Windows 7 Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Windows Vista Release|x64">
+ <Configuration>Windows Vista Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+</Project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <Import Project="..\configs.props" />\r
+ <PropertyGroup Label="PropertySheets">\r
+ <ConfigurationType>Utility</ConfigurationType>\r
+ <DriverType>Package</DriverType>\r
+ <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <Configuration>Windows Vista Debug</Configuration>\r
+ <Platform Condition="'$(Platform)' == ''">Win32</Platform>\r
+ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'">\r
+ <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <ProjectGuid>{AB8DAED3-9D70-4907-99A3-C643F1FC1972}</ProjectGuid>\r
+ </PropertyGroup>\r
+ <Import Project="..\targets.props" />\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+ <PropertyGroup>\r
+ <EnableInf2cat>true</EnableInf2cat>\r
+ <Inf2CatWindowsVersionList Condition="'$(Platform)'=='x64'">Vista_x64;Server2008_x64;7_x64;Server2008R2_x64;8_x64;Server8_x64</Inf2CatWindowsVersionList>\r
+ <Inf2CatWindowsVersionList Condition="'$(Platform)'=='Win32'">Vista_x86;Server2008_x86;7_x86;8_x86</Inf2CatWindowsVersionList>\r
+ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>\r
+ <EnableDeployment>False</EnableDeployment>\r
+ <ImportToStore>False</ImportToStore>\r
+ <InstallMode>None</InstallMode>\r
+ <ScriptDeviceQuery>%PathToInf%</ScriptDeviceQuery>\r
+ <EnableVerifier>False</EnableVerifier>\r
+ <AllDrivers>False</AllDrivers>\r
+ <VerifyProjectOutput>True</VerifyProjectOutput>\r
+ <VerifyFlags>133563</VerifyFlags>\r
+ <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>\r
+ <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>\r
+ <PackageDir>..\..\xenvbd\$(DDKPlatform)</PackageDir>\r
+ </PropertyGroup>\r
+ <ItemGroup>\r
+ <ProjectReference Include="..\coinst\xenvbd_coinst.vcxproj">\r
+ <Project>{50c08437-c1f3-4349-bf6a-7b55a06bf999}</Project>\r
+ </ProjectReference>\r
+ <ProjectReference Include="..\xencrsh\xencrsh.vcxproj">\r
+ <Project>{58f5bc43-b92e-4a2b-975d-0066eab29092}</Project>\r
+ </ProjectReference>\r
+ <ProjectReference Include="..\xenvbd\xenvbd.vcxproj">\r
+ <Project>{ef236371-3145-41b1-99c9-82b33e353f17}</Project>\r
+ </ProjectReference>\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x86\dpinst.exe" Condition="'$(Platform)'=='Win32'" />\r
+ <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x64\dpinst.exe" Condition="'$(Platform)'=='x64'" />\r
+ </ItemGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+ <ImportGroup Label="ExtensionTargets">\r
+ </ImportGroup>\r
+</Project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SignMode>TestSign</SignMode>
+ <TestCertificate>..\..\src\xenvbd.pfx</TestCertificate>
+ <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+ </PropertyGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'">
+ <TargetVersion>Windows8</TargetVersion>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'">
+ <TargetVersion>Windows8</TargetVersion>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'">
+ <TargetVersion>Windows8</TargetVersion>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'">
+ <TargetVersion>Windows8</TargetVersion>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'">
+ <TargetVersion>Windows7</TargetVersion>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'">
+ <TargetVersion>Windows7</TargetVersion>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'">
+ <TargetVersion>Windows7</TargetVersion>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'">
+ <TargetVersion>Windows7</TargetVersion>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'">
+ <TargetVersion>Vista</TargetVersion>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'">
+ <TargetVersion>Vista</TargetVersion>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'">
+ <TargetVersion>Vista</TargetVersion>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'">
+ <TargetVersion>Vista</TargetVersion>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <Import Project="..\configs.props" />\r
+ <PropertyGroup Label="Globals">\r
+ <Configuration>Windows Vista Debug</Configuration>\r
+ <Platform Condition="'$(Platform)' == ''">Win32</Platform>\r
+ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="PropertySheets">\r
+ <DriverType>WDM</DriverType>\r
+ <ConfigurationType>Driver</ConfigurationType>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <ProjectGuid>{58F5BC43-B92E-4A2B-975D-0066EAB29092}</ProjectGuid>\r
+ </PropertyGroup>\r
+ <Import Project="..\targets.props" />\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+ <PropertyGroup>\r
+ <IncludePath>..\..\include;$(IncludePath)</IncludePath>\r
+ <RunCodeAnalysis>true</RunCodeAnalysis>\r
+ <EnableInf2cat>false</EnableInf2cat>\r
+ <CustomBuildBeforeTargets>ClCompile;StampInf</CustomBuildBeforeTargets>\r
+ <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>\r
+ <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>\r
+ </PropertyGroup>\r
+ <ItemDefinitionGroup>\r
+ <CustomBuildStep>\r
+ <Command>echo "Build Inf"\r
+ 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"\r
+ echo "Build version header"\r
+ 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"\r
+ </Command>\r
+ <Outputs>..\..\vs2013\xenvbd.inf;..\..\include\version.h</Outputs>\r
+ <Inputs>..\..\src\xenvbd.inf;..\..\include\version.hx</Inputs>\r
+ </CustomBuildStep>\r
+ <ClCompile>\r
+ <PreprocessorDefinitions>__MODULE__="XENCRSH";%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ <WarningLevel>EnableAllWarnings</WarningLevel>\r
+ <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>\r
+ <EnablePREfast>true</EnablePREfast>\r
+ </ClCompile>\r
+ <Link>\r
+ <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>\r
+ <ModuleDefinitionFile>../../src/xencrsh/xencrsh.def</ModuleDefinitionFile>\r
+ <AdditionalDependencies>$(DDK_LIB_PATH)/storport.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+ </Link>\r
+ </ItemDefinitionGroup>\r
+ <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">\r
+ <ClCompile>\r
+ <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ </ClCompile>\r
+ </ItemDefinitionGroup>\r
+ <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">\r
+ <ClCompile>\r
+ <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ </ClCompile>\r
+ </ItemDefinitionGroup>\r
+ <ItemGroup>\r
+ <FilesToPackage Include="$(TargetPath)" />\r
+ <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />\r
+ <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <ClCompile Include="..\..\src\xencrsh\austere.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\buffer.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\driver.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\evtchn.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\fdo.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\frontend.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\gnttab.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\hvm.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\hypercall_stub.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\log.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\pdo.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\pdoinquiry.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\queue.c" />\r
+ <ClCompile Include="..\..\src\xencrsh\store.c" />\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <MASM Include="..\..\src\xencrsh\amd64\hypercall.asm">\r
+ <ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>\r
+ </MASM>\r
+ <MASM Include="..\..\src\xencrsh\i386\hypercall.asm">\r
+ <ExcludedFromBuild Condition="'$(Platform)'=='x64'">true</ExcludedFromBuild>\r
+ </MASM>\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <ResourceCompile Include="..\..\src\xencrsh\xencrsh.rc" />\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <None Include="..\..\src\xencrsh\xencrsh.def" />\r
+ </ItemGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+</Project>\r
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SignMode>TestSign</SignMode>
+ <TestCertificate>..\..\src\xenvbd.pfx</TestCertificate>
+ <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+ </PropertyGroup>
+</Project>
--- /dev/null
+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
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <Import Project="..\configs.props" />\r
+ <PropertyGroup Label="Globals">\r
+ <Configuration>Windows Vista Debug</Configuration>\r
+ <Platform Condition="'$(Platform)' == ''">Win32</Platform>\r
+ <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="ProeprtySheets">\r
+ <ConfigurationType>Driver</ConfigurationType>\r
+ <DriverType>WDM</DriverType>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'">\r
+ <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <ProjectGuid>{EF236371-3145-41B1-99C9-82B33E353F17}</ProjectGuid>\r
+ </PropertyGroup>\r
+ <Import Project="..\targets.props" />\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+ <PropertyGroup>\r
+ <IncludePath>$(ProjectDir)..\..\include;$(IncludePath)</IncludePath>\r
+ <RunCodeAnalysis>true</RunCodeAnalysis>\r
+ <EnableInf2cat>false</EnableInf2cat>\r
+ <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>\r
+ <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>\r
+ </PropertyGroup>\r
+ <ItemDefinitionGroup>\r
+ <ClCompile>\r
+ <BufferSecurityCheck>false</BufferSecurityCheck>\r
+ <PreprocessorDefinitions>__MODULE__="XENVBD";%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ <WarningLevel>EnableAllWarnings</WarningLevel>\r
+ <DisableSpecificWarnings>4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>\r
+ <EnablePREfast>true</EnablePREfast>\r
+ </ClCompile>\r
+ <Link>\r
+ <AdditionalDependencies>$(ProjectDir)..\$(ConfigurationName)\$(Platform)\xencrsh.lib;$(DDK_LIB_PATH)/storport.lib;$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+ </Link>\r
+ <Inf>\r
+ <SpecifyArchitecture>true</SpecifyArchitecture>\r
+ <SpecifyDriverVerDirectiveVersion>true</SpecifyDriverVerDirectiveVersion>\r
+ <TimeStamp>$(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER)</TimeStamp>\r
+ <EnableVerbose>true</EnableVerbose>\r
+ </Inf>\r
+ </ItemDefinitionGroup>\r
+ <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">\r
+ <ClCompile>\r
+ <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ </ClCompile>\r
+ <Inf>\r
+ <Architecture>x86</Architecture>\r
+ </Inf>\r
+ </ItemDefinitionGroup>\r
+ <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">\r
+ <ClCompile>\r
+ <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ </ClCompile>\r
+ <Inf>\r
+ <Architecture>amd64</Architecture>\r
+ </Inf>\r
+ </ItemDefinitionGroup>\r
+ <ItemGroup>\r
+ <FilesToPackage Include="$(TargetPath)" />\r
+ <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />\r
+ <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <ClCompile Include="../../src/xenvbd/buffer.c" />\r
+ <ClCompile Include="../../src/xenvbd/driver.c" />\r
+ <ClCompile Include="../../src/xenvbd/registry.c" />\r
+ <ClCompile Include="../../src/xenvbd/fdo.c" />\r
+ <ClCompile Include="../../src/xenvbd/frontend.c" />\r
+ <ClCompile Include="../../src/xenvbd/pdo.c" />\r
+ <ClCompile Include="../../src/xenvbd/pdoinquiry.c" />\r
+ <ClCompile Include="../../src/xenvbd/queue.c" />\r
+ <ClCompile Include="../../src/xenvbd/thread.c" />\r
+ <ClCompile Include="../../src/xenvbd/notifier.c" />\r
+ <ClCompile Include="../../src/xenvbd/blockring.c" />\r
+ <ClCompile Include="../../src/xenvbd/granter.c" />\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <ResourceCompile Include="..\..\src\xenvbd\xenvbd.rc" />\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <Inf Include="..\xenvbd.inf" />\r
+ </ItemGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+</Project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <PropertyGroup>\r
+ <SignMode>TestSign</SignMode>\r
+ <TestCertificate>..\..\src\xenvbd.pfx</TestCertificate>\r
+ <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>\r
+ </PropertyGroup>\r
+</Project>\r