diff --git a/TrEE/Miniport/SampleMiniport.c b/TrEE/Miniport/SampleMiniport.c index 55bfa60a6..eae22c7c6 100644 --- a/TrEE/Miniport/SampleMiniport.c +++ b/TrEE/Miniport/SampleMiniport.c @@ -22,11 +22,17 @@ Module Name: #include #include #include -#include + +// +// Header file requires prior definition of a CHAR16. +// For now we need to define this in sample. +// +typedef UINT16 CHAR16; + #include #include "sampleminiport.h" -#include -#include +#include "..\inc\SampleSecureService.h" +#include "..\inc\SampleOSService.h" #define SDDL_SAMPLE_TEST2_SERVICE L"D:P(A;;FRFW;;;WD)(A;;FRFW;;;RC)(A;;FRFW;;;AC)" diff --git a/TrEE/Miniport/TestService.c b/TrEE/Miniport/TestService.c index ef465297c..77cdfc99b 100644 --- a/TrEE/Miniport/TestService.c +++ b/TrEE/Miniport/TestService.c @@ -4,8 +4,8 @@ #include #include #include "SampleMiniport.h" -#include -#include +#include "..\inc\SampleSecureService.h" +#include "..\inc\SampleOSService.h" EVT_TR_CREATE_SECURE_SERVICE_CONTEXT TestServiceCreateSecureServiceContext; EVT_TR_DESTROY_SECURE_SERVICE_CONTEXT TestServiceDestroySecureServiceContext; @@ -956,7 +956,7 @@ Test2ServiceTwiceReversed( goto TestServiceTwiceReversedEnd; } - TemporaryBuffer = ExAllocatePoolWithTag(PagedPool, + TemporaryBuffer = ExAllocatePool2(PagedPool, (SIZE_T)Request->InputBufferSize, 'PMET'); diff --git a/TrEE/Miniport/TrEEMiniportSample.vcxproj b/TrEE/Miniport/TrEEMiniportSample.vcxproj index 7a2265b67..5bf025b50 100644 --- a/TrEE/Miniport/TrEEMiniportSample.vcxproj +++ b/TrEE/Miniport/TrEEMiniportSample.vcxproj @@ -1,6 +1,14 @@ - + + + Debug + ARM64 + + + Release + ARM64 + Debug Win32 @@ -59,6 +67,14 @@ WindowsKernelModeDriver10.0 Driver + + Windows10 + False + Universal + KMDF + WindowsKernelModeDriver10.0 + Driver + Windows10 True @@ -67,6 +83,14 @@ WindowsKernelModeDriver10.0 Driver + + Windows10 + True + Universal + KMDF + WindowsKernelModeDriver10.0 + Driver + Windows10 False @@ -96,9 +120,15 @@ + + + + + + @@ -115,9 +145,15 @@ TrEEMiniportSample + + TrEEMiniportSample + TrEEMiniportSample + + TrEEMiniportSample + TrEEMiniportSample @@ -175,6 +211,25 @@ sha256 + + + %(AdditionalIncludeDirectories);$(DDK_INC_PATH) + + + %(AdditionalIncludeDirectories);$(DDK_INC_PATH) + + + + + %(AdditionalIncludeDirectories);$(DDK_INC_PATH) + + + %(AdditionalDependencies);$(DDK_LIB_PATH)\treeclxstub.lib + + + sha256 + + %(AdditionalIncludeDirectories);$(DDK_INC_PATH) @@ -194,6 +249,25 @@ sha256 + + + %(AdditionalIncludeDirectories);$(DDK_INC_PATH) + + + %(AdditionalIncludeDirectories);$(DDK_INC_PATH) + + + + + %(AdditionalIncludeDirectories);$(DDK_INC_PATH) + + + %(AdditionalDependencies);$(DDK_LIB_PATH)\treeclxstub.lib + + + sha256 + + %(AdditionalIncludeDirectories);$(DDK_INC_PATH) @@ -250,4 +324,4 @@ - \ No newline at end of file + diff --git a/TrEE/TrEESample.sln b/TrEE/TrEESample.sln index bed07a5c4..be19abc12 100644 --- a/TrEE/TrEESample.sln +++ b/TrEE/TrEESample.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25420.1 @@ -11,6 +11,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TrEEMiniportSample", "Minip EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM64 = Debug|ARM64 + Release|ARM64 = Release|ARM64 Debug|Arm = Debug|Arm Debug|Win32 = Debug|Win32 Debug|x64 = Debug|x64 @@ -19,6 +21,14 @@ Global Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {420587AA-51DE-4966-B692-C428836BF8B2}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {420587AA-51DE-4966-B692-C428836BF8B2}.Debug|ARM64.Build.0 = Debug|ARM64 + {C1B22B3C-BE1A-40CE-82D0-8AE1628C297C}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {C1B22B3C-BE1A-40CE-82D0-8AE1628C297C}.Debug|ARM64.Build.0 = Debug|ARM64 + {420587AA-51DE-4966-B692-C428836BF8B2}.Release|ARM64.ActiveCfg = Release|ARM64 + {420587AA-51DE-4966-B692-C428836BF8B2}.Release|ARM64.Build.0 = Release|ARM64 + {C1B22B3C-BE1A-40CE-82D0-8AE1628C297C}.Release|ARM64.ActiveCfg = Release|ARM64 + {C1B22B3C-BE1A-40CE-82D0-8AE1628C297C}.Release|ARM64.Build.0 = Release|ARM64 {C1B22B3C-BE1A-40CE-82D0-8AE1628C297C}.Debug|Arm.ActiveCfg = Debug|Arm {C1B22B3C-BE1A-40CE-82D0-8AE1628C297C}.Debug|Arm.Build.0 = Debug|Arm {C1B22B3C-BE1A-40CE-82D0-8AE1628C297C}.Debug|Win32.ActiveCfg = Debug|Win32 diff --git a/exclusions.csv b/exclusions.csv index e571e8e0d..6694a8533 100644 --- a/exclusions.csv +++ b/exclusions.csv @@ -3,4 +3,3 @@ audio\acx\samples\audiocodec\driver,*,,22621,Only NI: error C1083: Cannot open i general\dchu\osrfx2_dchu_extension_loose,*|x64,,22621,Only NI: Only x64: Fails to build general\dchu\osrfx2_dchu_extension_tight,*|x64,,22621,Only NI: Only x64: Fails to build prm,*,,22621,Only NI: Not supported on NI. -tree,*,,,Missing headers