]> xenbits.xensource.com Git - pvdrivers/win/xenhid.git/log
pvdrivers/win/xenhid.git
5 years agoFix build package archiving
Paul Durrant [Fri, 14 Jun 2019 14:45:21 +0000 (15:45 +0100)]
Fix build package archiving

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
5 years agoAdd PowerShell build scripts, version.vcxproj
Owen Smith [Fri, 14 Jun 2019 14:14:35 +0000 (15:14 +0100)]
Add PowerShell build scripts, version.vcxproj

Based on the sequence of commits to xenbus, add powershell scripts to
build the solution using the EWDK
version.vcxproj generates versioned files (version.h, xeniface.inf and
wmi.mof) using scripts/genfiles.ps1
Strips duplicated functionality from build.py toproduce consistant
builds between python and powershell.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
5 years agoReport version details to XenStore
Owen Smith [Fri, 14 Jun 2019 13:48:33 +0000 (14:48 +0100)]
Report version details to XenStore

Requires adding the XENBUS_STORE and XENBUS_SUSPEND interface to add the
version details, and deal with re-adding after a suspend/resume.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
6 years agoConditionally package DPInst
Owen Smith [Fri, 24 Aug 2018 16:46:43 +0000 (17:46 +0100)]
Conditionally package DPInst

Since DPInst.exe is not shipped with the Windows Driver Kit 10, an
environment variable must point to local copies. Make the inclusion of
DPInst conditional on DPINST_REDIST being defined and that path
existing. This simplifies building packages which do not require DPInst
for installation, and removes a required step to create a working build.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
6 years agoWork around bug in VS2017 SDV
Paul Durrant [Thu, 19 Jul 2018 10:26:06 +0000 (11:26 +0100)]
Work around bug in VS2017 SDV

XENBUS commit 868cd40f (of the same name) introduced a workaround for a
quoting bug in SDV. This commit applies a similar workaround for XENHID.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
6 years agoAdd SDV into build
Paul Durrant [Thu, 19 Jul 2018 10:20:26 +0000 (11:20 +0100)]
Add SDV into build

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
6 years agoDisable spectre mitigation warnings
Paul Durrant [Fri, 13 Jul 2018 08:59:20 +0000 (09:59 +0100)]
Disable spectre mitigation warnings

These are not terribly useful and cause the build to fail.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
7 years agoGive XENHID its own test signing cert
Paul Durrant [Tue, 30 Jan 2018 12:15:31 +0000 (12:15 +0000)]
Give XENHID its own test signing cert

The initial commit stole and re-used XENVIF's cert. This patch adds a new
one generated by:

makecert -a sha256 -r -pe -sv xenhid.pvk -n "CN=XENHID (TEST)" xenhid.cer
pvk2pfx -pvk xenhid.pvk -pi "" -spc xenhid.cer -pfx xenhid.pfx -f

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
7 years agoDo more optimization in release builds and add /Qspectre flag
Paul Durrant [Tue, 30 Jan 2018 10:54:45 +0000 (10:54 +0000)]
Do more optimization in release builds and add /Qspectre flag

Spectre mitigations apparently only work on optimized code.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
7 years agoAdd support for building with Visual Studio 2017
Paul Durrant [Tue, 30 Jan 2018 10:50:59 +0000 (10:50 +0000)]
Add support for building with Visual Studio 2017

Also remove mappings for obsolete versions of VS in build.py.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
7 years agoFix line endings
Paul Durrant [Thu, 25 Jan 2018 14:45:30 +0000 (14:45 +0000)]
Fix line endings

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
7 years agoUpdate util.h
Paul Durrant [Thu, 25 Jan 2018 14:07:42 +0000 (14:07 +0000)]
Update util.h

XENHID does not use much of the functionality in util.h, including the
__AllocatePages() function modified by this change, however it is good to
keep the header in-sync with the other drivers.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
7 years agoRemove SDV builds
Paul Durrant [Fri, 2 Jun 2017 16:32:03 +0000 (17:32 +0100)]
Remove SDV builds

SDV does not support hidclass drivers as yet so don't attempt to run it.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
7 years agoFix build warnings
Paul Durrant [Fri, 2 Jun 2017 16:30:06 +0000 (17:30 +0100)]
Fix build warnings

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
7 years agoRemove VS2013 build scripts
Paul Durrant [Fri, 2 Jun 2017 15:00:36 +0000 (16:00 +0100)]
Remove VS2013 build scripts

This is a version 9.0 driver so there is no need to build on anything
older than VS2015.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
7 years agoInitial commit
Owen Smith [Fri, 2 Jun 2017 13:43:31 +0000 (14:43 +0100)]
Initial commit

Signed-off-by: Owen Smith <owen.smith@citrix.com>