From 77459a130ab71dee930ec0c6be459472fc43ef22 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 30 Oct 2020 08:07:46 +0100 Subject: Add ARM driver compilation This adds the ARM driver to the list of Wintun drivers we compile for future deployment. Since we're not in position to test it in the real world, any feedback is greatly appreciated. Suggested-by: Jason A. Donenfeld Signed-off-by: Simon Rozman --- api/api.vcxproj | 4 ++-- wintun.proj | 7 ++++++- wintun.sln | 6 ++++-- wintun.vcxproj | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 45 insertions(+), 5 deletions(-) diff --git a/api/api.vcxproj b/api/api.vcxproj index ed0dea6..16b8102 100644 --- a/api/api.vcxproj +++ b/api/api.vcxproj @@ -143,14 +143,14 @@ _WINDOWS;_USRDLL;%(PreprocessorDefinitions) - HAVE_EV;%(PreprocessorDefinitions) + HAVE_EV;%(PreprocessorDefinitions) HAVE_WHQL;%(PreprocessorDefinitions) Use pch.h ..\$(Configuration)\$(WintunPlatform);..\$(Configuration);%(AdditionalIncludeDirectories) - HAVE_EV;%(PreprocessorDefinitions) + HAVE_EV;%(PreprocessorDefinitions) HAVE_WHQL;%(PreprocessorDefinitions) _M_IX86=600;%(PreprocessorDefinitions) _M_AMD64=100;%(PreprocessorDefinitions) diff --git a/wintun.proj b/wintun.proj index 94a3cab..1e8a3a4 100644 --- a/wintun.proj +++ b/wintun.proj @@ -15,7 +15,7 @@ - + @@ -44,6 +44,11 @@ Inputs="$(DriverInputs)"> + + + diff --git a/wintun.sln b/wintun.sln index 00b37ef..93d565b 100644 --- a/wintun.sln +++ b/wintun.sln @@ -47,14 +47,16 @@ Global {897F02E3-3EAA-40AF-A6DC-17EB2376EDAF}.Release|x86.Build.0 = Release|Win32 {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Debug|amd64.ActiveCfg = Debug|x64 {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Debug|amd64.Build.0 = Debug|x64 - {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Debug|arm.ActiveCfg = Debug|Win32 + {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Debug|arm.ActiveCfg = Debug|ARM + {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Debug|arm.Build.0 = Debug|ARM {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Debug|arm64.ActiveCfg = Debug|ARM64 {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Debug|arm64.Build.0 = Debug|ARM64 {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Debug|x86.ActiveCfg = Debug|Win32 {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Debug|x86.Build.0 = Debug|Win32 {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Release|amd64.ActiveCfg = Release|x64 {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Release|amd64.Build.0 = Release|x64 - {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Release|arm.ActiveCfg = Release|Win32 + {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Release|arm.ActiveCfg = Release|ARM + {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Release|arm.Build.0 = Release|ARM {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Release|arm64.ActiveCfg = Release|ARM64 {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Release|arm64.Build.0 = Release|ARM64 {F7679B65-2FEC-469A-8BAC-B07BF4439422}.Release|x86.ActiveCfg = Release|Win32 diff --git a/wintun.vcxproj b/wintun.vcxproj index f968c6b..dbfd824 100644 --- a/wintun.vcxproj +++ b/wintun.vcxproj @@ -1,6 +1,10 @@ + + Debug + ARM + Debug ARM64 @@ -13,6 +17,10 @@ Debug x64 + + Release + ARM + Release ARM64 @@ -41,6 +49,14 @@ WDM false + + Windows8 + false + WindowsKernelModeDriver10.0 + Driver + WDM + false + Windows7 true @@ -49,6 +65,14 @@ WDM false + + Windows8 + true + WindowsKernelModeDriver10.0 + Driver + WDM + false + Windows7 false @@ -87,9 +111,15 @@ + + + + + + @@ -117,6 +147,7 @@ AllRules.ruleset + @@ -155,7 +186,9 @@ + + -- cgit v1.2.3-59-g8ed1b