From 10231ccbf902977e9cd6addc50473072034a1fe8 Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Wed, 17 Jul 2024 00:23:14 -0700 Subject: [PATCH] Add ARM64 --- driver/driver.vcxproj | 115 +++++++++++++++++++++++++++++ grapher/grapher.csproj | 22 ++++++ installer/installer.vcxproj | 89 ++++++++++++++++++++++ rawaccel.sln | 36 +++++++++ uninstaller/uninstaller.vcxproj | 75 +++++++++++++++++++ wrapper-deps/wrapper-deps.csproj | 20 +++++ wrapper-tests/wrapper-tests.csproj | 18 +++++ wrapper/wrapper.vcxproj | 68 +++++++++++++++++ writer/writer.csproj | 22 ++++++ 9 files changed, 465 insertions(+) diff --git a/driver/driver.vcxproj b/driver/driver.vcxproj index aaa5cd3..a071c6d 100644 --- a/driver/driver.vcxproj +++ b/driver/driver.vcxproj @@ -1,10 +1,18 @@  + + Debug + ARM64 + Debug x64 + + Release + ARM64 + Release x64 @@ -32,6 +40,17 @@ Spectre Spectre + + Windows10 + False + Universal + KMDF + WindowsKernelModeDriver10.0 + Driver + true + Spectre + Spectre + Windows10 True @@ -41,6 +60,15 @@ Driver Spectre + + Windows10 + True + Universal + KMDF + WindowsKernelModeDriver10.0 + Driver + Spectre + $(SolutionDir)$(Platform)\$(Configuration)\ @@ -51,19 +79,35 @@ + + + + + + rawaccel false http://timestamp.globalsign.com/scripts/timstamp.dll + + rawaccel + false + http://timestamp.globalsign.com/scripts/timstamp.dll + rawaccel false http://timestamp.globalsign.com/scripts/timstamp.dll + + rawaccel + false + http://timestamp.globalsign.com/scripts/timstamp.dll + false @@ -104,6 +148,46 @@ sha256 + + + false + Level4 + + + stdcpp17 + $(IntDir);%(AdditionalIncludeDirectories);$(SolutionDir)\external;$(MSBuildThisFileDirectory) + + + true + StdCall + AssemblyCode + false + false + $(IntDir) + MaxSpeed + AnySuitable + true + Neither + false + true + Guard + Fast + + + + + %(AdditionalLibraryDirectories) + + + %(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)ntoskrnl.lib;$(DDK_LIB_PATH)hal.lib;$(DDK_LIB_PATH)wmilib.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfLdr.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfDriverEntry.lib;$(DDK_LIB_PATH)wdmsec.lib;$(DDK_LIB_PATH)libcntpr.lib + + + $(SolutionDir)/common;$(UM_IncludePath);%(AdditionalIncludeDirectories) + + + sha256 + + false @@ -135,6 +219,37 @@ $(SolutionDir)/common;$(UM_IncludePath);%(AdditionalIncludeDirectories) + + + false + Level4 + + + /Kernel %(AdditionalOptions) + stdcpp17 + $(IntDir);%(AdditionalIncludeDirectories);$(SolutionDir)\external;$(MSBuildThisFileDirectory) + + + true + Fast + StdCall + MaxSpeed + Guard + true + + + %(AdditionalLibraryDirectories) + + + %(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)ntoskrnl.lib;$(DDK_LIB_PATH)hal.lib;$(DDK_LIB_PATH)wmilib.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfLdr.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfDriverEntry.lib;$(DDK_LIB_PATH)wdmsec.lib;$(DDK_LIB_PATH)libcntpr.lib + + + sha256 + + + $(SolutionDir)/common;$(UM_IncludePath);%(AdditionalIncludeDirectories) + + diff --git a/grapher/grapher.csproj b/grapher/grapher.csproj index ef85a20..ceb628a 100644 --- a/grapher/grapher.csproj +++ b/grapher/grapher.csproj @@ -53,6 +53,28 @@ mouse.ico + + true + bin\ARM64\Debug\ + DEBUG;TRACE + full + ARM64 + 7.3 + prompt + MinimumRecommendedRules.ruleset + true + + + bin\ARM64\Release\ + TRACE + true + pdbonly + ARM64 + 7.3 + prompt + MinimumRecommendedRules.ruleset + true + ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll diff --git a/installer/installer.vcxproj b/installer/installer.vcxproj index 187b12e..fc625c1 100644 --- a/installer/installer.vcxproj +++ b/installer/installer.vcxproj @@ -1,10 +1,18 @@ + + Debug + ARM64 + Debug x64 + + Release + ARM64 + Release x64 @@ -24,6 +32,12 @@ v143 Unicode + + Application + true + v143 + Unicode + Application false @@ -31,6 +45,13 @@ true Unicode + + Application + false + v143 + true + Unicode + @@ -40,17 +61,30 @@ + + + + + + true + + true + false true + + false + true + @@ -74,6 +108,29 @@ $(SolutionDir)/common; + + + + + Level4 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) + stdcpplatest + + + Console + true + RequireAdministrator + + + install.manifest + + + $(SolutionDir)/common; + + @@ -106,6 +163,38 @@ $(SolutionDir)/common; + + + + + Level4 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + %(AdditionalIncludeDirectories) + stdcpplatest + Default + + + Console + true + true + true + RequireAdministrator + + + install.manifest + + + + + + + $(SolutionDir)/common; + + diff --git a/rawaccel.sln b/rawaccel.sln index 5f4e2b1..831fb49 100644 --- a/rawaccel.sln +++ b/rawaccel.sln @@ -27,75 +27,111 @@ EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|ARM64 = Debug|ARM64 Debug|x64 = Debug|x64 Release|Any CPU = Release|Any CPU + Release|ARM64 = Release|ARM64 Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Debug|Any CPU.ActiveCfg = Debug|x64 {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Debug|Any CPU.Build.0 = Debug|x64 {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Debug|Any CPU.Deploy.0 = Debug|x64 + {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Debug|ARM64.Build.0 = Debug|ARM64 + {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Debug|ARM64.Deploy.0 = Debug|ARM64 {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Debug|x64.ActiveCfg = Debug|x64 {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Debug|x64.Build.0 = Debug|x64 {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Release|Any CPU.ActiveCfg = Release|x64 {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Release|Any CPU.Build.0 = Release|x64 {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Release|Any CPU.Deploy.0 = Release|x64 + {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Release|ARM64.ActiveCfg = Release|ARM64 + {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Release|ARM64.Build.0 = Release|ARM64 + {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Release|ARM64.Deploy.0 = Release|ARM64 {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Release|x64.ActiveCfg = Release|x64 {60D6C942-AC20-4C05-A2BE-54B5C966534D}.Release|x64.Build.0 = Release|x64 {896950D1-520A-420A-B6B1-73014B92A68C}.Debug|Any CPU.ActiveCfg = Debug|x64 {896950D1-520A-420A-B6B1-73014B92A68C}.Debug|Any CPU.Build.0 = Debug|x64 + {896950D1-520A-420A-B6B1-73014B92A68C}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {896950D1-520A-420A-B6B1-73014B92A68C}.Debug|ARM64.Build.0 = Debug|ARM64 {896950D1-520A-420A-B6B1-73014B92A68C}.Debug|x64.ActiveCfg = Debug|x64 {896950D1-520A-420A-B6B1-73014B92A68C}.Debug|x64.Build.0 = Debug|x64 {896950D1-520A-420A-B6B1-73014B92A68C}.Release|Any CPU.ActiveCfg = Release|x64 {896950D1-520A-420A-B6B1-73014B92A68C}.Release|Any CPU.Build.0 = Release|x64 + {896950D1-520A-420A-B6B1-73014B92A68C}.Release|ARM64.ActiveCfg = Release|ARM64 + {896950D1-520A-420A-B6B1-73014B92A68C}.Release|ARM64.Build.0 = Release|ARM64 {896950D1-520A-420A-B6B1-73014B92A68C}.Release|x64.ActiveCfg = Release|x64 {896950D1-520A-420A-B6B1-73014B92A68C}.Release|x64.Build.0 = Release|x64 {A4097FF6-A6F0-44E8-B8D0-538D0FB75936}.Debug|Any CPU.ActiveCfg = Debug|x64 {A4097FF6-A6F0-44E8-B8D0-538D0FB75936}.Debug|Any CPU.Build.0 = Debug|x64 + {A4097FF6-A6F0-44E8-B8D0-538D0FB75936}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {A4097FF6-A6F0-44E8-B8D0-538D0FB75936}.Debug|ARM64.Build.0 = Debug|ARM64 {A4097FF6-A6F0-44E8-B8D0-538D0FB75936}.Debug|x64.ActiveCfg = Debug|x64 {A4097FF6-A6F0-44E8-B8D0-538D0FB75936}.Debug|x64.Build.0 = Debug|x64 {A4097FF6-A6F0-44E8-B8D0-538D0FB75936}.Release|Any CPU.ActiveCfg = Release|x64 {A4097FF6-A6F0-44E8-B8D0-538D0FB75936}.Release|Any CPU.Build.0 = Release|x64 + {A4097FF6-A6F0-44E8-B8D0-538D0FB75936}.Release|ARM64.ActiveCfg = Release|ARM64 + {A4097FF6-A6F0-44E8-B8D0-538D0FB75936}.Release|ARM64.Build.0 = Release|ARM64 {A4097FF6-A6F0-44E8-B8D0-538D0FB75936}.Release|x64.ActiveCfg = Release|x64 {A4097FF6-A6F0-44E8-B8D0-538D0FB75936}.Release|x64.Build.0 = Release|x64 {28A3656F-A1DE-405C-B547-191C32EC555F}.Debug|Any CPU.ActiveCfg = Debug|x64 {28A3656F-A1DE-405C-B547-191C32EC555F}.Debug|Any CPU.Build.0 = Debug|x64 + {28A3656F-A1DE-405C-B547-191C32EC555F}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {28A3656F-A1DE-405C-B547-191C32EC555F}.Debug|ARM64.Build.0 = Debug|ARM64 {28A3656F-A1DE-405C-B547-191C32EC555F}.Debug|x64.ActiveCfg = Debug|x64 {28A3656F-A1DE-405C-B547-191C32EC555F}.Debug|x64.Build.0 = Debug|x64 {28A3656F-A1DE-405C-B547-191C32EC555F}.Release|Any CPU.ActiveCfg = Release|x64 {28A3656F-A1DE-405C-B547-191C32EC555F}.Release|Any CPU.Build.0 = Release|x64 + {28A3656F-A1DE-405C-B547-191C32EC555F}.Release|ARM64.ActiveCfg = Release|ARM64 + {28A3656F-A1DE-405C-B547-191C32EC555F}.Release|ARM64.Build.0 = Release|ARM64 {28A3656F-A1DE-405C-B547-191C32EC555F}.Release|x64.ActiveCfg = Release|x64 {28A3656F-A1DE-405C-B547-191C32EC555F}.Release|x64.Build.0 = Release|x64 {EF67F71F-ABF5-4760-B50D-D1B9836DF01C}.Debug|Any CPU.ActiveCfg = Debug|x64 {EF67F71F-ABF5-4760-B50D-D1B9836DF01C}.Debug|Any CPU.Build.0 = Debug|x64 + {EF67F71F-ABF5-4760-B50D-D1B9836DF01C}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {EF67F71F-ABF5-4760-B50D-D1B9836DF01C}.Debug|ARM64.Build.0 = Debug|ARM64 {EF67F71F-ABF5-4760-B50D-D1B9836DF01C}.Debug|x64.ActiveCfg = Debug|x64 {EF67F71F-ABF5-4760-B50D-D1B9836DF01C}.Debug|x64.Build.0 = Debug|x64 {EF67F71F-ABF5-4760-B50D-D1B9836DF01C}.Release|Any CPU.ActiveCfg = Release|x64 {EF67F71F-ABF5-4760-B50D-D1B9836DF01C}.Release|Any CPU.Build.0 = Release|x64 + {EF67F71F-ABF5-4760-B50D-D1B9836DF01C}.Release|ARM64.ActiveCfg = Release|ARM64 + {EF67F71F-ABF5-4760-B50D-D1B9836DF01C}.Release|ARM64.Build.0 = Release|ARM64 {EF67F71F-ABF5-4760-B50D-D1B9836DF01C}.Release|x64.ActiveCfg = Release|x64 {EF67F71F-ABF5-4760-B50D-D1B9836DF01C}.Release|x64.Build.0 = Release|x64 {28ACF254-E4EF-4A0E-9761-0FE22048D6FD}.Debug|Any CPU.ActiveCfg = Debug|x64 {28ACF254-E4EF-4A0E-9761-0FE22048D6FD}.Debug|Any CPU.Build.0 = Debug|x64 + {28ACF254-E4EF-4A0E-9761-0FE22048D6FD}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {28ACF254-E4EF-4A0E-9761-0FE22048D6FD}.Debug|ARM64.Build.0 = Debug|ARM64 {28ACF254-E4EF-4A0E-9761-0FE22048D6FD}.Debug|x64.ActiveCfg = Debug|x64 {28ACF254-E4EF-4A0E-9761-0FE22048D6FD}.Debug|x64.Build.0 = Debug|x64 {28ACF254-E4EF-4A0E-9761-0FE22048D6FD}.Release|Any CPU.ActiveCfg = Release|x64 {28ACF254-E4EF-4A0E-9761-0FE22048D6FD}.Release|Any CPU.Build.0 = Release|x64 + {28ACF254-E4EF-4A0E-9761-0FE22048D6FD}.Release|ARM64.ActiveCfg = Release|ARM64 + {28ACF254-E4EF-4A0E-9761-0FE22048D6FD}.Release|ARM64.Build.0 = Release|ARM64 {28ACF254-E4EF-4A0E-9761-0FE22048D6FD}.Release|x64.ActiveCfg = Release|x64 {28ACF254-E4EF-4A0E-9761-0FE22048D6FD}.Release|x64.Build.0 = Release|x64 {0695A19E-8B14-4DE7-AADF-97E5912B197C}.Debug|Any CPU.ActiveCfg = Debug|x64 {0695A19E-8B14-4DE7-AADF-97E5912B197C}.Debug|Any CPU.Build.0 = Debug|x64 + {0695A19E-8B14-4DE7-AADF-97E5912B197C}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {0695A19E-8B14-4DE7-AADF-97E5912B197C}.Debug|ARM64.Build.0 = Debug|ARM64 {0695A19E-8B14-4DE7-AADF-97E5912B197C}.Debug|x64.ActiveCfg = Debug|x64 {0695A19E-8B14-4DE7-AADF-97E5912B197C}.Debug|x64.Build.0 = Debug|x64 {0695A19E-8B14-4DE7-AADF-97E5912B197C}.Release|Any CPU.ActiveCfg = Release|x64 {0695A19E-8B14-4DE7-AADF-97E5912B197C}.Release|Any CPU.Build.0 = Release|x64 + {0695A19E-8B14-4DE7-AADF-97E5912B197C}.Release|ARM64.ActiveCfg = Release|ARM64 + {0695A19E-8B14-4DE7-AADF-97E5912B197C}.Release|ARM64.Build.0 = Release|ARM64 {0695A19E-8B14-4DE7-AADF-97E5912B197C}.Release|x64.ActiveCfg = Release|x64 {0695A19E-8B14-4DE7-AADF-97E5912B197C}.Release|x64.Build.0 = Release|x64 {5DE4B0AC-D49B-43AE-B2B3-00C0A91D3C68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {5DE4B0AC-D49B-43AE-B2B3-00C0A91D3C68}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5DE4B0AC-D49B-43AE-B2B3-00C0A91D3C68}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {5DE4B0AC-D49B-43AE-B2B3-00C0A91D3C68}.Debug|ARM64.Build.0 = Debug|ARM64 {5DE4B0AC-D49B-43AE-B2B3-00C0A91D3C68}.Debug|x64.ActiveCfg = Debug|Any CPU {5DE4B0AC-D49B-43AE-B2B3-00C0A91D3C68}.Debug|x64.Build.0 = Debug|Any CPU {5DE4B0AC-D49B-43AE-B2B3-00C0A91D3C68}.Release|Any CPU.ActiveCfg = Release|Any CPU {5DE4B0AC-D49B-43AE-B2B3-00C0A91D3C68}.Release|Any CPU.Build.0 = Release|Any CPU + {5DE4B0AC-D49B-43AE-B2B3-00C0A91D3C68}.Release|ARM64.ActiveCfg = Release|ARM64 + {5DE4B0AC-D49B-43AE-B2B3-00C0A91D3C68}.Release|ARM64.Build.0 = Release|ARM64 {5DE4B0AC-D49B-43AE-B2B3-00C0A91D3C68}.Release|x64.ActiveCfg = Release|Any CPU {5DE4B0AC-D49B-43AE-B2B3-00C0A91D3C68}.Release|x64.Build.0 = Release|Any CPU EndGlobalSection diff --git a/uninstaller/uninstaller.vcxproj b/uninstaller/uninstaller.vcxproj index 8eb4b64..8e20bae 100644 --- a/uninstaller/uninstaller.vcxproj +++ b/uninstaller/uninstaller.vcxproj @@ -1,10 +1,18 @@ + + Debug + ARM64 + Debug x64 + + Release + ARM64 + Release x64 @@ -24,6 +32,12 @@ v143 Unicode + + Application + true + v143 + Unicode + Application false @@ -31,6 +45,13 @@ true Unicode + + Application + false + v143 + true + Unicode + @@ -40,16 +61,28 @@ + + + + + + true + + true + false + + false + Level4 @@ -67,6 +100,23 @@ $(SolutionDir)/common; + + + Level4 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + stdcpplatest + + + Console + true + RequireAdministrator + + + $(SolutionDir)/common; + + Level3 @@ -92,6 +142,31 @@ $(SolutionDir)/common; + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + stdcpplatest + + + Console + true + true + true + RequireAdministrator + + + + + + + $(SolutionDir)/common; + + diff --git a/wrapper-deps/wrapper-deps.csproj b/wrapper-deps/wrapper-deps.csproj index 551bf2e..bcf0aad 100644 --- a/wrapper-deps/wrapper-deps.csproj +++ b/wrapper-deps/wrapper-deps.csproj @@ -33,6 +33,26 @@ prompt MinimumRecommendedRules.ruleset + + true + bin\ARM64\Debug\ + DEBUG;TRACE + full + ARM64 + 7.3 + prompt + MinimumRecommendedRules.ruleset + + + bin\ARM64\Release\ + TRACE + true + pdbonly + ARM64 + 7.3 + prompt + MinimumRecommendedRules.ruleset + False diff --git a/wrapper-tests/wrapper-tests.csproj b/wrapper-tests/wrapper-tests.csproj index 592f930..d303275 100644 --- a/wrapper-tests/wrapper-tests.csproj +++ b/wrapper-tests/wrapper-tests.csproj @@ -39,6 +39,24 @@ prompt 4 + + true + bin\ARM64\Debug\ + DEBUG;TRACE + full + ARM64 + 7.3 + prompt + + + bin\ARM64\Release\ + TRACE + true + pdbonly + ARM64 + 7.3 + prompt + ..\packages\MSTest.TestFramework.2.2.7\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll diff --git a/wrapper/wrapper.vcxproj b/wrapper/wrapper.vcxproj index 9bb0bb5..e60bd7f 100644 --- a/wrapper/wrapper.vcxproj +++ b/wrapper/wrapper.vcxproj @@ -1,10 +1,18 @@ + + Debug + ARM64 + Debug x64 + + Release + ARM64 + Release x64 @@ -26,6 +34,13 @@ true Unicode + + DynamicLibrary + true + v143 + true + Unicode + DynamicLibrary false @@ -33,6 +48,13 @@ true Unicode + + DynamicLibrary + false + v143 + true + Unicode + @@ -42,16 +64,28 @@ + + + + + + false + + false + false + + false + Level3 @@ -67,6 +101,21 @@ $(SolutionDir)/common; + + + Level3 + _DEBUG;%(PreprocessorDefinitions) + stdcpp17 + Fast + + + + + + + $(SolutionDir)/common; + + Level3 @@ -80,6 +129,25 @@ copy /Y "$(TargetPath)" "$(SolutionDir)signed\$(TargetFileName)" & +copy /Y "$(TargetDir)Newtonsoft.Json.dll" "$(SolutionDir)signed\Newtonsoft.Json.dll" + + + $(SolutionDir)/common; + + + + + Level3 + NDEBUG;%(PreprocessorDefinitions) + stdcpp17 + Fast + + + + + + + copy /Y "$(TargetPath)" "$(SolutionDir)signed\$(TargetFileName)" & copy /Y "$(TargetDir)Newtonsoft.Json.dll" "$(SolutionDir)signed\Newtonsoft.Json.dll" diff --git a/writer/writer.csproj b/writer/writer.csproj index e6526f2..7cb7767 100644 --- a/writer/writer.csproj +++ b/writer/writer.csproj @@ -38,6 +38,28 @@ + + true + bin\ARM64\Debug\ + DEBUG;TRACE + full + ARM64 + 7.3 + prompt + MinimumRecommendedRules.ruleset + true + + + bin\ARM64\Release\ + TRACE + true + pdbonly + ARM64 + 7.3 + prompt + MinimumRecommendedRules.ruleset + true + False