pastebin - collaborative debugging tool
rovema.kpaste.net RSS


msnfs41client: Add ARM/ARM64 build support, 2024-09-07
Posted by Anonymous on Sat 7th Sep 2024 14:25
raw | new post

  1. From 54088dbd86951c73ad48f0346cbde22de1e7e4c8 Mon Sep 17 00:00:00 2001
  2. From: Roland Mainz <roland.mainz@nrubsig.org>
  3. Date: Sat, 7 Sep 2024 15:16:56 +0200
  4. Subject: [PATCH] build.vc19,cygwin,sys: Add ARM/ARM64 build support
  5.  
  6. Add ARM/ARM64 build support.
  7. Still requires copysup.lib for ARM64.
  8.  
  9. Reported-by: Mark Liam Brown <brownmarkliam@gmail.com>
  10. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  11. ---
  12.  build.vc19/libtirpc/libtirpc.vcxproj       | 80 ++++++++++++++++++++++
  13.  build.vc19/nfs41-client.sln                | 79 +++++++++++++--------
  14.  build.vc19/nfs41_np/nfs41_np.vcxproj       | 74 ++++++++++++++++++++
  15.  build.vc19/nfs_install/nfs_install.vcxproj | 70 +++++++++++++++++++
  16.  build.vc19/nfs_mount/nfs_mount.vcxproj     | 71 +++++++++++++++++++
  17.  build.vc19/nfsd/nfsd.vcxproj               | 79 +++++++++++++++++++++
  18.  cygwin/Makefile                            |  5 ++
  19.  sys/nfs41_driver.c                         |  1 +
  20.  8 files changed, 431 insertions(+), 28 deletions(-)
  21.  
  22. diff --git a/build.vc19/libtirpc/libtirpc.vcxproj b/build.vc19/libtirpc/libtirpc.vcxproj
  23. index b8629d5..6bdefb7 100644
  24. --- a/build.vc19/libtirpc/libtirpc.vcxproj
  25. +++ b/build.vc19/libtirpc/libtirpc.vcxproj
  26. @@ -17,6 +17,14 @@
  27.        <Configuration>Release</Configuration>
  28.        <Platform>x64</Platform>
  29.      </ProjectConfiguration>
  30. +    <ProjectConfiguration Include="Debug|ARM64">
  31. +      <Configuration>Debug</Configuration>
  32. +      <Platform>ARM64</Platform>
  33. +    </ProjectConfiguration>
  34. +    <ProjectConfiguration Include="Release|ARM64">
  35. +      <Configuration>Release</Configuration>
  36. +      <Platform>ARM64</Platform>
  37. +    </ProjectConfiguration>
  38.    </ItemGroup>
  39.    <PropertyGroup Label="Globals">
  40.      <ProjectGuid>{3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}</ProjectGuid>
  41. @@ -51,6 +59,19 @@
  42.      <WholeProgramOptimization>true</WholeProgramOptimization>
  43.      <CharacterSet>Unicode</CharacterSet>
  44.    </PropertyGroup>
  45. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
  46. +    <ConfigurationType>DynamicLibrary</ConfigurationType>
  47. +    <UseDebugLibraries>true</UseDebugLibraries>
  48. +    <PlatformToolset>v142</PlatformToolset>
  49. +    <CharacterSet>Unicode</CharacterSet>
  50. +  </PropertyGroup>
  51. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
  52. +    <ConfigurationType>DynamicLibrary</ConfigurationType>
  53. +    <UseDebugLibraries>false</UseDebugLibraries>
  54. +    <PlatformToolset>v142</PlatformToolset>
  55. +    <WholeProgramOptimization>true</WholeProgramOptimization>
  56. +    <CharacterSet>Unicode</CharacterSet>
  57. +  </PropertyGroup>
  58.    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  59.    <ImportGroup Label="ExtensionSettings">
  60.    </ImportGroup>
  61. @@ -68,6 +89,12 @@
  62.    <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  63.      <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  64.    </ImportGroup>
  65. +  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  66. +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  67. +  </ImportGroup>
  68. +  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  69. +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  70. +  </ImportGroup>
  71.    <PropertyGroup Label="UserMacros" />
  72.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  73.      <LinkIncremental>true</LinkIncremental>
  74. @@ -75,12 +102,18 @@
  75.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  76.      <LinkIncremental>true</LinkIncremental>
  77.    </PropertyGroup>
  78. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  79. +    <LinkIncremental>true</LinkIncremental>
  80. +  </PropertyGroup>
  81.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  82.      <LinkIncremental>false</LinkIncremental>
  83.    </PropertyGroup>
  84.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  85.      <LinkIncremental>false</LinkIncremental>
  86.    </PropertyGroup>
  87. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  88. +    <LinkIncremental>false</LinkIncremental>
  89. +  </PropertyGroup>
  90.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  91.      <ClCompile>
  92.        <PrecompiledHeader>
  93. @@ -125,6 +158,28 @@
  94.        <ModuleDefinitionFile>..\..\libtirpc\libtirpc\libtirpc.def</ModuleDefinitionFile>
  95.      </Link>
  96.    </ItemDefinitionGroup>
  97. +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  98. +    <ClCompile>
  99. +      <PrecompiledHeader>
  100. +      </PrecompiledHeader>
  101. +      <WarningLevel>Level4</WarningLevel>
  102. +      <Optimization>Disabled</Optimization>
  103. +      <PreprocessorDefinitions>FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;PORTMAP;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;_DEBUG;_WINDOWS;_USRDLL;LIBTIRPC_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  104. +      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  105. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  106. +      <StringPooling>true</StringPooling>
  107. +      <BasicRuntimeChecks>Default</BasicRuntimeChecks>
  108. +      <BufferSecurityCheck>false</BufferSecurityCheck>
  109. +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  110. +      <AdditionalOptions>/wd4100 /wd4131 /wd4389</AdditionalOptions>
  111. +    </ClCompile>
  112. +    <Link>
  113. +      <SubSystem>Windows</SubSystem>
  114. +      <GenerateDebugInformation>true</GenerateDebugInformation>
  115. +      <AdditionalDependencies>ws2_32.lib;secur32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  116. +      <ModuleDefinitionFile>..\..\libtirpc\libtirpc\libtirpc.def</ModuleDefinitionFile>
  117. +    </Link>
  118. +  </ItemDefinitionGroup>
  119.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  120.      <ClCompile>
  121.        <WarningLevel>Level4</WarningLevel>
  122. @@ -175,6 +230,31 @@
  123.        <ModuleDefinitionFile>..\..\libtirpc\libtirpc\libtirpc.def</ModuleDefinitionFile>
  124.      </Link>
  125.    </ItemDefinitionGroup>
  126. +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  127. +    <ClCompile>
  128. +      <WarningLevel>Level4</WarningLevel>
  129. +      <PrecompiledHeader>
  130. +      </PrecompiledHeader>
  131. +      <Optimization>MaxSpeed</Optimization>
  132. +      <FunctionLevelLinking>true</FunctionLevelLinking>
  133. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  134. +      <PreprocessorDefinitions>FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;PORTMAP;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;NDEBUG;_WINDOWS;_USRDLL;LIBTIRPC_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  135. +      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  136. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  137. +      <StringPooling>true</StringPooling>
  138. +      <BufferSecurityCheck>false</BufferSecurityCheck>
  139. +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  140. +      <AdditionalOptions>/wd4100 /wd4131 /wd4389</AdditionalOptions>
  141. +    </ClCompile>
  142. +    <Link>
  143. +      <SubSystem>Windows</SubSystem>
  144. +      <GenerateDebugInformation>true</GenerateDebugInformation>
  145. +      <EnableCOMDATFolding>true</EnableCOMDATFolding>
  146. +      <OptimizeReferences>true</OptimizeReferences>
  147. +      <AdditionalDependencies>ws2_32.lib;secur32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  148. +      <ModuleDefinitionFile>..\..\libtirpc\libtirpc\libtirpc.def</ModuleDefinitionFile>
  149. +    </Link>
  150. +  </ItemDefinitionGroup>
  151.    <ItemGroup>
  152.      <ClCompile Include="..\..\libtirpc\src\asprintf.c" />
  153.      <ClCompile Include="..\..\libtirpc\src\authsspi_prot.c" />
  154. diff --git a/build.vc19/nfs41-client.sln b/build.vc19/nfs41-client.sln
  155. index bef393f..38827b2 100644
  156. --- a/build.vc19/nfs41-client.sln
  157. +++ b/build.vc19/nfs41-client.sln
  158. @@ -30,84 +30,107 @@ Global
  159.                 Release|x86 = Release|x86
  160.         EndGlobalSection
  161.         GlobalSection(ProjectConfigurationPlatforms) = postSolution
  162. -               {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|ARM.ActiveCfg = Debug|Win32
  163. -               {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|ARM64.ActiveCfg = Debug|Win32
  164.                 {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|x64.ActiveCfg = Debug|x64
  165.                 {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|x64.Build.0 = Debug|x64
  166.                 {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|x86.ActiveCfg = Debug|Win32
  167.                 {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|x86.Build.0 = Debug|Win32
  168. -               {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|ARM.ActiveCfg = Release|Win32
  169. -               {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|ARM64.ActiveCfg = Release|Win32
  170. +               {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|ARM64.ActiveCfg = Debug|ARM64
  171. +               {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|ARM64.Build.0 = Debug|ARM64
  172. +               {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|ARM.ActiveCfg = Debug|ARM
  173. +               {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|ARM.Build.0 = Debug|ARM
  174.                 {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|x64.ActiveCfg = Release|x64
  175.                 {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|x64.Build.0 = Release|x64
  176.                 {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|x86.ActiveCfg = Release|Win32
  177.                 {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|x86.Build.0 = Release|Win32
  178. -               {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|ARM.ActiveCfg = Debug|Win32
  179. -               {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|ARM64.ActiveCfg = Debug|Win32
  180. +               {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|ARM64.ActiveCfg = Release|ARM64
  181. +               {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|ARM64.Build.0 = Release|ARM64
  182. +               {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|ARM.ActiveCfg = Release|ARM
  183. +               {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|ARM.Build.0 = Release|ARM
  184.                 {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|x64.ActiveCfg = Debug|x64
  185.                 {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|x64.Build.0 = Debug|x64
  186.                 {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|x86.ActiveCfg = Debug|Win32
  187.                 {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|x86.Build.0 = Debug|Win32
  188. -               {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|ARM.ActiveCfg = Release|Win32
  189. -               {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|ARM64.ActiveCfg = Release|Win32
  190.                 {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|x64.ActiveCfg = Release|x64
  191.                 {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|x64.Build.0 = Release|x64
  192.                 {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|x86.ActiveCfg = Release|Win32
  193.                 {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|x86.Build.0 = Release|Win32
  194. -               {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|ARM.ActiveCfg = Debug|Win32
  195. -               {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|ARM64.ActiveCfg = Debug|Win32
  196. +               {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|ARM64.ActiveCfg = Debug|ARM64
  197. +               {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|ARM64.Build.0 = Debug|ARM64
  198. +               {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|ARM.ActiveCfg = Debug|ARM
  199. +               {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|ARM.Build.0 = Debug|ARM
  200. +               {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|ARM64.ActiveCfg = Release|ARM64
  201. +               {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|ARM64.Build.0 = Release|ARM64
  202. +               {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|ARM.ActiveCfg = Release|ARM
  203. +               {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|ARM.Build.0 = Release|ARM
  204.                 {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|x64.ActiveCfg = Debug|x64
  205.                 {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|x64.Build.0 = Debug|x64
  206.                 {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|x86.ActiveCfg = Debug|Win32
  207.                 {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|x86.Build.0 = Debug|Win32
  208. -               {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|ARM.ActiveCfg = Release|Win32
  209. -               {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|ARM64.ActiveCfg = Release|Win32
  210.                 {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|x64.ActiveCfg = Release|x64
  211.                 {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|x64.Build.0 = Release|x64
  212.                 {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|x86.ActiveCfg = Release|Win32
  213.                 {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|x86.Build.0 = Release|Win32
  214. -               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM.ActiveCfg = Debug|ARM
  215. -               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM.Build.0 = Debug|ARM
  216. -               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM64.ActiveCfg = Debug|ARM64
  217. -               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM64.Build.0 = Debug|ARM64
  218. +               {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|ARM64.ActiveCfg = Debug|ARM64
  219. +               {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|ARM64.Build.0 = Debug|ARM64
  220. +               {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|ARM.ActiveCfg = Debug|ARM
  221. +               {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|ARM.Build.0 = Debug|ARM
  222. +               {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|ARM64.ActiveCfg = Release|ARM64
  223. +               {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|ARM64.Build.0 = Release|ARM64
  224. +               {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|ARM.ActiveCfg = Release|ARM
  225. +               {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|ARM.Build.0 = Release|ARM
  226.                 {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|x64.ActiveCfg = Debug|x64
  227.                 {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|x64.Build.0 = Debug|x64
  228.                 {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|x86.ActiveCfg = Debug|Win32
  229.                 {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|x86.Build.0 = Debug|Win32
  230.                 {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|x86.Deploy.0 = Debug|Win32
  231. -               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM.ActiveCfg = Release|ARM
  232. -               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM.Build.0 = Release|ARM
  233. -               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM64.ActiveCfg = Release|ARM64
  234. -               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM64.Build.0 = Release|ARM64
  235.                 {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|x64.ActiveCfg = Release|x64
  236.                 {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|x64.Build.0 = Release|x64
  237.                 {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|x86.ActiveCfg = Release|Win32
  238.                 {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|x86.Build.0 = Release|Win32
  239.                 {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|x86.Deploy.0 = Release|Win32
  240. -               {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|ARM.ActiveCfg = Debug|Win32
  241. -               {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|ARM64.ActiveCfg = Debug|Win32
  242. +               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM64.ActiveCfg = Debug|ARM64
  243. +               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM64.Build.0 = Debug|ARM64
  244. +               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM.ActiveCfg = Debug|ARM
  245. +               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM.Build.0 = Debug|ARM
  246. +               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM.Deploy.0 = Debug|ARM
  247. +               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM64.ActiveCfg = Release|ARM64
  248. +               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM64.Build.0 = Release|ARM64
  249. +               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM.ActiveCfg = Release|ARM
  250. +               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM.Build.0 = Release|ARM
  251. +               {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM.Deploy.0 = Release|ARM
  252.                 {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|x64.ActiveCfg = Debug|x64
  253.                 {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|x64.Build.0 = Debug|x64
  254.                 {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|x86.ActiveCfg = Debug|Win32
  255.                 {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|x86.Build.0 = Debug|Win32
  256. -               {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|ARM.ActiveCfg = Release|Win32
  257. -               {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|ARM64.ActiveCfg = Release|Win32
  258.                 {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|x64.ActiveCfg = Release|x64
  259.                 {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|x64.Build.0 = Release|x64
  260.                 {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|x86.ActiveCfg = Release|Win32
  261.                 {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|x86.Build.0 = Release|Win32
  262. -               {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|ARM.ActiveCfg = Debug|Win32
  263. -               {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|ARM64.ActiveCfg = Debug|Win32
  264. +               {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|ARM64.ActiveCfg = Debug|ARM64
  265. +               {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|ARM64.Build.0 = Debug|ARM64
  266. +               {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|ARM.ActiveCfg = Debug|ARM
  267. +               {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|ARM.Build.0 = Debug|ARM
  268. +               {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|ARM64.ActiveCfg = Release|ARM64
  269. +               {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|ARM64.Build.0 = Release|ARM64
  270. +               {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|ARM.ActiveCfg = Release|ARM
  271. +               {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|ARM.Build.0 = Release|ARM
  272.                 {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|x64.ActiveCfg = Debug|x64
  273.                 {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|x64.Build.0 = Debug|x64
  274.                 {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|x86.ActiveCfg = Debug|Win32
  275.                 {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|x86.Build.0 = Debug|Win32
  276. -               {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|ARM.ActiveCfg = Release|Win32
  277. -               {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|ARM64.ActiveCfg = Release|Win32
  278.                 {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|x64.ActiveCfg = Release|x64
  279.                 {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|x64.Build.0 = Release|x64
  280.                 {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|x86.ActiveCfg = Release|Win32
  281.                 {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|x86.Build.0 = Release|Win32
  282. +               {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|ARM64.ActiveCfg = Debug|ARM64
  283. +               {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|ARM64.Build.0 = Debug|ARM64
  284. +               {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|ARM.ActiveCfg = Debug|ARM
  285. +               {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|ARM.Build.0 = Debug|ARM
  286. +               {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|ARM64.ActiveCfg = Release|ARM64
  287. +               {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|ARM64.Build.0 = Release|ARM64
  288. +               {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|ARM.ActiveCfg = Release|ARM
  289. +               {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|ARM.Build.0 = Release|ARM
  290. +
  291.         EndGlobalSection
  292.         GlobalSection(SolutionProperties) = preSolution
  293.                 HideSolutionNode = FALSE
  294. diff --git a/build.vc19/nfs41_np/nfs41_np.vcxproj b/build.vc19/nfs41_np/nfs41_np.vcxproj
  295. index abfc0c7..dd88142 100644
  296. --- a/build.vc19/nfs41_np/nfs41_np.vcxproj
  297. +++ b/build.vc19/nfs41_np/nfs41_np.vcxproj
  298. @@ -17,6 +17,14 @@
  299.        <Configuration>Release</Configuration>
  300.        <Platform>x64</Platform>
  301.      </ProjectConfiguration>
  302. +    <ProjectConfiguration Include="Debug|ARM64">
  303. +      <Configuration>Debug</Configuration>
  304. +      <Platform>ARM64</Platform>
  305. +    </ProjectConfiguration>
  306. +    <ProjectConfiguration Include="Release|ARM64">
  307. +      <Configuration>Release</Configuration>
  308. +      <Platform>ARM64</Platform>
  309. +    </ProjectConfiguration>
  310.    </ItemGroup>
  311.    <PropertyGroup Label="Globals">
  312.      <ProjectGuid>{833F4171-5B96-4BB0-8D9D-BB926ECA8976}</ProjectGuid>
  313. @@ -51,6 +59,20 @@
  314.      <WholeProgramOptimization>true</WholeProgramOptimization>
  315.      <CharacterSet>Unicode</CharacterSet>
  316.    </PropertyGroup>
  317. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
  318. +    <ConfigurationType>DynamicLibrary</ConfigurationType>
  319. +    <UseDebugLibraries>true</UseDebugLibraries>
  320. +    <PlatformToolset>v142</PlatformToolset>
  321. +    <CharacterSet>Unicode</CharacterSet>
  322. +  </PropertyGroup>
  323. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
  324. +    <ConfigurationType>DynamicLibrary</ConfigurationType>
  325. +    <UseDebugLibraries>false</UseDebugLibraries>
  326. +    <PlatformToolset>v142</PlatformToolset>
  327. +    <WholeProgramOptimization>true</WholeProgramOptimization>
  328. +    <CharacterSet>Unicode</CharacterSet>
  329. +  </PropertyGroup>
  330. +
  331.    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  332.    <ImportGroup Label="ExtensionSettings">
  333.    </ImportGroup>
  334. @@ -68,6 +90,12 @@
  335.    <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  336.      <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  337.    </ImportGroup>
  338. +  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  339. +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  340. +  </ImportGroup>
  341. +  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  342. +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  343. +  </ImportGroup>
  344.    <PropertyGroup Label="UserMacros" />
  345.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  346.      <LinkIncremental>true</LinkIncremental>
  347. @@ -75,12 +103,18 @@
  348.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  349.      <LinkIncremental>true</LinkIncremental>
  350.    </PropertyGroup>
  351. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  352. +    <LinkIncremental>true</LinkIncremental>
  353. +  </PropertyGroup>
  354.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  355.      <LinkIncremental>false</LinkIncremental>
  356.    </PropertyGroup>
  357.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  358.      <LinkIncremental>false</LinkIncremental>
  359.    </PropertyGroup>
  360. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  361. +    <LinkIncremental>false</LinkIncremental>
  362. +  </PropertyGroup>
  363.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  364.      <ClCompile>
  365.        <PrecompiledHeader>
  366. @@ -117,6 +151,24 @@
  367.        <ModuleDefinitionFile>..\..\dll\nfs41_np.def</ModuleDefinitionFile>
  368.      </Link>
  369.    </ItemDefinitionGroup>
  370. +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  371. +    <ClCompile>
  372. +      <PrecompiledHeader>
  373. +      </PrecompiledHeader>
  374. +      <WarningLevel>Level4</WarningLevel>
  375. +      <Optimization>Disabled</Optimization>
  376. +      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;_DEBUG;_WINDOWS;_USRDLL;NFS41_NP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  377. +      <AdditionalIncludeDirectories>..\..\sys;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  378. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  379. +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  380. +      <AdditionalOptions>/wd4100</AdditionalOptions>
  381. +    </ClCompile>
  382. +    <Link>
  383. +      <SubSystem>Windows</SubSystem>
  384. +      <GenerateDebugInformation>true</GenerateDebugInformation>
  385. +      <ModuleDefinitionFile>..\..\dll\nfs41_np.def</ModuleDefinitionFile>
  386. +    </Link>
  387. +  </ItemDefinitionGroup>
  388.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  389.      <ClCompile>
  390.        <WarningLevel>Level4</WarningLevel>
  391. @@ -161,6 +213,28 @@
  392.        <ModuleDefinitionFile>..\..\dll\nfs41_np.def</ModuleDefinitionFile>
  393.      </Link>
  394.    </ItemDefinitionGroup>
  395. +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  396. +    <ClCompile>
  397. +      <WarningLevel>Level4</WarningLevel>
  398. +      <PrecompiledHeader>
  399. +      </PrecompiledHeader>
  400. +      <Optimization>MaxSpeed</Optimization>
  401. +      <FunctionLevelLinking>true</FunctionLevelLinking>
  402. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  403. +      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;NDEBUG;_WINDOWS;_USRDLL;NFS41_NP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  404. +      <AdditionalIncludeDirectories>..\..\sys;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  405. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  406. +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  407. +      <AdditionalOptions>/wd4100</AdditionalOptions>
  408. +    </ClCompile>
  409. +    <Link>
  410. +      <SubSystem>Windows</SubSystem>
  411. +      <GenerateDebugInformation>true</GenerateDebugInformation>
  412. +      <EnableCOMDATFolding>true</EnableCOMDATFolding>
  413. +      <OptimizeReferences>true</OptimizeReferences>
  414. +      <ModuleDefinitionFile>..\..\dll\nfs41_np.def</ModuleDefinitionFile>
  415. +    </Link>
  416. +  </ItemDefinitionGroup>
  417.    <ItemGroup>
  418.      <ClCompile Include="..\..\dll\dllmain.c" />
  419.      <ClCompile Include="..\..\dll\nfs41_np.c" />
  420. diff --git a/build.vc19/nfs_install/nfs_install.vcxproj b/build.vc19/nfs_install/nfs_install.vcxproj
  421. index 730333e..4886b11 100644
  422. --- a/build.vc19/nfs_install/nfs_install.vcxproj
  423. +++ b/build.vc19/nfs_install/nfs_install.vcxproj
  424. @@ -17,6 +17,14 @@
  425.        <Configuration>Release</Configuration>
  426.        <Platform>x64</Platform>
  427.      </ProjectConfiguration>
  428. +    <ProjectConfiguration Include="Debug|ARM64">
  429. +      <Configuration>Debug</Configuration>
  430. +      <Platform>ARM64</Platform>
  431. +    </ProjectConfiguration>
  432. +    <ProjectConfiguration Include="Release|ARM64">
  433. +      <Configuration>Release</Configuration>
  434. +      <Platform>ARM64</Platform>
  435. +    </ProjectConfiguration>
  436.    </ItemGroup>
  437.    <PropertyGroup Label="Globals">
  438.      <ProjectGuid>{D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}</ProjectGuid>
  439. @@ -51,6 +59,19 @@
  440.      <WholeProgramOptimization>true</WholeProgramOptimization>
  441.      <CharacterSet>Unicode</CharacterSet>
  442.    </PropertyGroup>
  443. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
  444. +    <ConfigurationType>Application</ConfigurationType>
  445. +    <UseDebugLibraries>true</UseDebugLibraries>
  446. +    <PlatformToolset>v142</PlatformToolset>
  447. +    <CharacterSet>Unicode</CharacterSet>
  448. +  </PropertyGroup>
  449. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
  450. +    <ConfigurationType>Application</ConfigurationType>
  451. +    <UseDebugLibraries>false</UseDebugLibraries>
  452. +    <PlatformToolset>v142</PlatformToolset>
  453. +    <WholeProgramOptimization>true</WholeProgramOptimization>
  454. +    <CharacterSet>Unicode</CharacterSet>
  455. +  </PropertyGroup>
  456.    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  457.    <ImportGroup Label="ExtensionSettings">
  458.    </ImportGroup>
  459. @@ -68,6 +89,12 @@
  460.    <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  461.      <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  462.    </ImportGroup>
  463. +  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  464. +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  465. +  </ImportGroup>
  466. +  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  467. +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  468. +  </ImportGroup>
  469.    <PropertyGroup Label="UserMacros" />
  470.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  471.      <LinkIncremental>true</LinkIncremental>
  472. @@ -75,12 +102,18 @@
  473.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  474.      <LinkIncremental>true</LinkIncremental>
  475.    </PropertyGroup>
  476. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  477. +    <LinkIncremental>true</LinkIncremental>
  478. +  </PropertyGroup>
  479.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  480.      <LinkIncremental>false</LinkIncremental>
  481.    </PropertyGroup>
  482.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  483.      <LinkIncremental>false</LinkIncremental>
  484.    </PropertyGroup>
  485. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  486. +    <LinkIncremental>false</LinkIncremental>
  487. +  </PropertyGroup>
  488.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  489.      <ClCompile>
  490.        <PrecompiledHeader>
  491. @@ -113,6 +146,23 @@
  492.        <GenerateDebugInformation>true</GenerateDebugInformation>
  493.      </Link>
  494.    </ItemDefinitionGroup>
  495. +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  496. +    <ClCompile>
  497. +      <PrecompiledHeader>
  498. +      </PrecompiledHeader>
  499. +      <WarningLevel>Level4</WarningLevel>
  500. +      <Optimization>Disabled</Optimization>
  501. +      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  502. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  503. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  504. +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  505. +    </ClCompile>
  506. +    <Link>
  507. +      <SubSystem>Console</SubSystem>
  508. +      <GenerateDebugInformation>true</GenerateDebugInformation>
  509. +    </Link>
  510. +  </ItemDefinitionGroup>
  511. +
  512.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  513.      <ClCompile>
  514.        <WarningLevel>Level4</WarningLevel>
  515. @@ -153,6 +203,26 @@
  516.        <OptimizeReferences>true</OptimizeReferences>
  517.      </Link>
  518.    </ItemDefinitionGroup>
  519. +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  520. +    <ClCompile>
  521. +      <WarningLevel>Level4</WarningLevel>
  522. +      <PrecompiledHeader>
  523. +      </PrecompiledHeader>
  524. +      <Optimization>MaxSpeed</Optimization>
  525. +      <FunctionLevelLinking>true</FunctionLevelLinking>
  526. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  527. +      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  528. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  529. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  530. +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  531. +    </ClCompile>
  532. +    <Link>
  533. +      <SubSystem>Console</SubSystem>
  534. +      <GenerateDebugInformation>true</GenerateDebugInformation>
  535. +      <EnableCOMDATFolding>true</EnableCOMDATFolding>
  536. +      <OptimizeReferences>true</OptimizeReferences>
  537. +    </Link>
  538. +  </ItemDefinitionGroup>
  539.    <ItemGroup>
  540.      <ClCompile Include="..\..\install\nfs_install.c" />
  541.    </ItemGroup>
  542. diff --git a/build.vc19/nfs_mount/nfs_mount.vcxproj b/build.vc19/nfs_mount/nfs_mount.vcxproj
  543. index a1a91bc..4da14c8 100644
  544. --- a/build.vc19/nfs_mount/nfs_mount.vcxproj
  545. +++ b/build.vc19/nfs_mount/nfs_mount.vcxproj
  546. @@ -17,6 +17,14 @@
  547.        <Configuration>Release</Configuration>
  548.        <Platform>x64</Platform>
  549.      </ProjectConfiguration>
  550. +    <ProjectConfiguration Include="Debug|ARM64">
  551. +      <Configuration>Debug</Configuration>
  552. +      <Platform>ARM64</Platform>
  553. +    </ProjectConfiguration>
  554. +    <ProjectConfiguration Include="Release|ARM64">
  555. +      <Configuration>Release</Configuration>
  556. +      <Platform>ARM64</Platform>
  557. +    </ProjectConfiguration>
  558.    </ItemGroup>
  559.    <PropertyGroup Label="Globals">
  560.      <ProjectGuid>{896D812D-B4AC-4661-A9ED-7DE94BB68365}</ProjectGuid>
  561. @@ -51,6 +59,19 @@
  562.      <WholeProgramOptimization>true</WholeProgramOptimization>
  563.      <CharacterSet>Unicode</CharacterSet>
  564.    </PropertyGroup>
  565. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
  566. +    <ConfigurationType>Application</ConfigurationType>
  567. +    <UseDebugLibraries>true</UseDebugLibraries>
  568. +    <PlatformToolset>v142</PlatformToolset>
  569. +    <CharacterSet>Unicode</CharacterSet>
  570. +  </PropertyGroup>
  571. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
  572. +    <ConfigurationType>Application</ConfigurationType>
  573. +    <UseDebugLibraries>false</UseDebugLibraries>
  574. +    <PlatformToolset>v142</PlatformToolset>
  575. +    <WholeProgramOptimization>true</WholeProgramOptimization>
  576. +    <CharacterSet>Unicode</CharacterSet>
  577. +  </PropertyGroup>
  578.    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  579.    <ImportGroup Label="ExtensionSettings">
  580.    </ImportGroup>
  581. @@ -68,6 +89,12 @@
  582.    <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  583.      <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  584.    </ImportGroup>
  585. +  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  586. +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  587. +  </ImportGroup>
  588. +  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  589. +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  590. +  </ImportGroup>
  591.    <PropertyGroup Label="UserMacros" />
  592.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  593.      <LinkIncremental>true</LinkIncremental>
  594. @@ -75,12 +102,18 @@
  595.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  596.      <LinkIncremental>true</LinkIncremental>
  597.    </PropertyGroup>
  598. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  599. +    <LinkIncremental>true</LinkIncremental>
  600. +  </PropertyGroup>
  601.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  602.      <LinkIncremental>false</LinkIncremental>
  603.    </PropertyGroup>
  604.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  605.      <LinkIncremental>false</LinkIncremental>
  606.    </PropertyGroup>
  607. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  608. +    <LinkIncremental>false</LinkIncremental>
  609. +  </PropertyGroup>
  610.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  611.      <ClCompile>
  612.        <PrecompiledHeader>
  613. @@ -115,6 +148,23 @@
  614.        <AdditionalDependencies>mpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
  615.      </Link>
  616.    </ItemDefinitionGroup>
  617. +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  618. +    <ClCompile>
  619. +      <PrecompiledHeader>
  620. +      </PrecompiledHeader>
  621. +      <WarningLevel>Level4</WarningLevel>
  622. +      <Optimization>Disabled</Optimization>
  623. +      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  624. +      <AdditionalIncludeDirectories>..\..\sys;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  625. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  626. +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  627. +    </ClCompile>
  628. +    <Link>
  629. +      <SubSystem>Console</SubSystem>
  630. +      <GenerateDebugInformation>true</GenerateDebugInformation>
  631. +      <AdditionalDependencies>mpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
  632. +    </Link>
  633. +  </ItemDefinitionGroup>
  634.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  635.      <ClCompile>
  636.        <WarningLevel>Level4</WarningLevel>
  637. @@ -157,6 +207,27 @@
  638.        <AdditionalDependencies>mpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
  639.      </Link>
  640.    </ItemDefinitionGroup>
  641. +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  642. +    <ClCompile>
  643. +      <WarningLevel>Level4</WarningLevel>
  644. +      <PrecompiledHeader>
  645. +      </PrecompiledHeader>
  646. +      <Optimization>MaxSpeed</Optimization>
  647. +      <FunctionLevelLinking>true</FunctionLevelLinking>
  648. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  649. +      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  650. +      <AdditionalIncludeDirectories>..\..\sys;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  651. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  652. +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  653. +    </ClCompile>
  654. +    <Link>
  655. +      <SubSystem>Console</SubSystem>
  656. +      <GenerateDebugInformation>true</GenerateDebugInformation>
  657. +      <EnableCOMDATFolding>true</EnableCOMDATFolding>
  658. +      <OptimizeReferences>true</OptimizeReferences>
  659. +      <AdditionalDependencies>mpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
  660. +    </Link>
  661. +  </ItemDefinitionGroup>
  662.    <ItemGroup>
  663.      <ClCompile Include="..\..\mount\enum.c" />
  664.      <ClCompile Include="..\..\mount\mount.c" />
  665. diff --git a/build.vc19/nfsd/nfsd.vcxproj b/build.vc19/nfsd/nfsd.vcxproj
  666. index 0041639..ebd045c 100644
  667. --- a/build.vc19/nfsd/nfsd.vcxproj
  668. +++ b/build.vc19/nfsd/nfsd.vcxproj
  669. @@ -17,6 +17,14 @@
  670.        <Configuration>Release</Configuration>
  671.        <Platform>x64</Platform>
  672.      </ProjectConfiguration>
  673. +    <ProjectConfiguration Include="Debug|ARM64">
  674. +      <Configuration>Debug</Configuration>
  675. +      <Platform>ARM64</Platform>
  676. +    </ProjectConfiguration>
  677. +    <ProjectConfiguration Include="Release|ARM64">
  678. +      <Configuration>Release</Configuration>
  679. +      <Platform>x64</Platform>
  680. +    </ProjectConfiguration>
  681.    </ItemGroup>
  682.    <PropertyGroup Label="Globals">
  683.      <ProjectGuid>{FAE57101-F0EE-46CB-986D-E19A796693F7}</ProjectGuid>
  684. @@ -51,6 +59,20 @@
  685.      <WholeProgramOptimization>true</WholeProgramOptimization>
  686.      <CharacterSet>Unicode</CharacterSet>
  687.    </PropertyGroup>
  688. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
  689. +    <ConfigurationType>Application</ConfigurationType>
  690. +    <UseDebugLibraries>true</UseDebugLibraries>
  691. +    <PlatformToolset>v142</PlatformToolset>
  692. +    <CharacterSet>Unicode</CharacterSet>
  693. +  </PropertyGroup>
  694. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
  695. +    <ConfigurationType>Application</ConfigurationType>
  696. +    <UseDebugLibraries>false</UseDebugLibraries>
  697. +    <PlatformToolset>v142</PlatformToolset>
  698. +    <WholeProgramOptimization>true</WholeProgramOptimization>
  699. +    <CharacterSet>Unicode</CharacterSet>
  700. +  </PropertyGroup>
  701. +
  702.    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  703.    <ImportGroup Label="ExtensionSettings">
  704.    </ImportGroup>
  705. @@ -68,6 +90,12 @@
  706.    <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  707.      <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  708.    </ImportGroup>
  709. +  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  710. +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  711. +  </ImportGroup>
  712. +  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  713. +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  714. +  </ImportGroup>
  715.    <PropertyGroup Label="UserMacros" />
  716.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  717.      <LinkIncremental>true</LinkIncremental>
  718. @@ -75,12 +103,18 @@
  719.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  720.      <LinkIncremental>true</LinkIncremental>
  721.    </PropertyGroup>
  722. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  723. +    <LinkIncremental>true</LinkIncremental>
  724. +  </PropertyGroup>
  725.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  726.      <LinkIncremental>false</LinkIncremental>
  727.    </PropertyGroup>
  728.    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  729.      <LinkIncremental>false</LinkIncremental>
  730.    </PropertyGroup>
  731. +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  732. +    <LinkIncremental>false</LinkIncremental>
  733. +  </PropertyGroup>
  734.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  735.      <ClCompile>
  736.        <PrecompiledHeader>
  737. @@ -123,6 +157,27 @@
  738.        <AdditionalDependencies>iphlpapi.lib;ws2_32.lib;wldap32.lib;ntdll.lib;..\$(Platform)\$(Configuration)\libtirpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
  739.      </Link>
  740.    </ItemDefinitionGroup>
  741. +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  742. +    <ClCompile>
  743. +      <PrecompiledHeader>
  744. +      </PrecompiledHeader>
  745. +      <WarningLevel>Level4</WarningLevel>
  746. +      <Optimization>Disabled</Optimization>
  747. +      <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;STANDALONE_NFSD;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  748. +      <AdditionalIncludeDirectories>..\..\include;..\..\libtirpc\tirpc;..\..\sys;..\..\dll;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  749. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  750. +      <BasicRuntimeChecks>Default</BasicRuntimeChecks>
  751. +      <BufferSecurityCheck>false</BufferSecurityCheck>
  752. +      <StringPooling>true</StringPooling>
  753. +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  754. +      <AdditionalOptions>/wd4100</AdditionalOptions>
  755. +    </ClCompile>
  756. +    <Link>
  757. +      <SubSystem>Console</SubSystem>
  758. +      <GenerateDebugInformation>true</GenerateDebugInformation>
  759. +      <AdditionalDependencies>iphlpapi.lib;ws2_32.lib;wldap32.lib;ntdll.lib;..\$(Platform)\$(Configuration)\libtirpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
  760. +    </Link>
  761. +  </ItemDefinitionGroup>
  762.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  763.      <ClCompile>
  764.        <WarningLevel>Level4</WarningLevel>
  765. @@ -171,6 +226,30 @@
  766.        <AdditionalDependencies>iphlpapi.lib;ws2_32.lib;wldap32.lib;ntdll.lib;..\$(Platform)\$(Configuration)\libtirpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
  767.      </Link>
  768.    </ItemDefinitionGroup>
  769. +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  770. +    <ClCompile>
  771. +      <WarningLevel>Level4</WarningLevel>
  772. +      <PrecompiledHeader>
  773. +      </PrecompiledHeader>
  774. +      <Optimization>MaxSpeed</Optimization>
  775. +      <FunctionLevelLinking>true</FunctionLevelLinking>
  776. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  777. +      <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  778. +      <AdditionalIncludeDirectories>..\..\include;..\..\libtirpc\tirpc;..\..\sys;..\..\dll;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  779. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  780. +      <BufferSecurityCheck>false</BufferSecurityCheck>
  781. +      <StringPooling>true</StringPooling>
  782. +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  783. +      <AdditionalOptions>/wd4100</AdditionalOptions>
  784. +    </ClCompile>
  785. +    <Link>
  786. +      <SubSystem>Console</SubSystem>
  787. +      <GenerateDebugInformation>true</GenerateDebugInformation>
  788. +      <EnableCOMDATFolding>true</EnableCOMDATFolding>
  789. +      <OptimizeReferences>true</OptimizeReferences>
  790. +      <AdditionalDependencies>iphlpapi.lib;ws2_32.lib;wldap32.lib;ntdll.lib;..\$(Platform)\$(Configuration)\libtirpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
  791. +    </Link>
  792. +  </ItemDefinitionGroup>
  793.    <ItemGroup>
  794.      <ClCompile Include="..\..\daemon\accesstoken.c" />
  795.      <ClCompile Include="..\..\daemon\acl.c" />
  796. diff --git a/cygwin/Makefile b/cygwin/Makefile
  797. index e7125bb..0d700fc 100644
  798. --- a/cygwin/Makefile
  799. +++ b/cygwin/Makefile
  800. @@ -60,6 +60,11 @@ build_32bit_debug:
  801.         which MSBuild.exe
  802.         MSBuild.exe '$(shell cygpath -w "$(PROJECT_BASEDIR_DIR)/build.vc19/nfs41-client.sln")' -t:Build  -p:Configuration=Debug -p:Platform=x86
  803.  
  804. +build_arm_64bit_debug:
  805. +       @printf '#\n# PATH is %q\n#\n' '$(PATH)'
  806. +       which MSBuild.exe
  807. +       MSBuild.exe '$(shell cygpath -w "$(PROJECT_BASEDIR_DIR)/build.vc19/nfs41-client.sln")' -t:Build  -p:Configuration=Debug -p:Platform=ARM64
  808. +
  809.  build_testutils:
  810.         (cd "$(PROJECT_BASEDIR_DIR)/tests/ea" && make all)
  811.         (cd "$(PROJECT_BASEDIR_DIR)/tests/winfsinfo1" && make all)
  812. diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c
  813. index b4ef4e1..33c63c1 100644
  814. --- a/sys/nfs41_driver.c
  815. +++ b/sys/nfs41_driver.c
  816. @@ -180,6 +180,7 @@ typedef struct _updowncall_entry {
  817.      FAST_MUTEX lock;
  818.      LIST_ENTRY next;
  819.      KEVENT cond;
  820. +#undef errno
  821.      DWORD errno;
  822.      BOOLEAN async_op;
  823.      SECURITY_CLIENT_CONTEXT sec_ctx;
  824. --
  825. 2.45.1

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at