]> xenbits.xensource.com Git - pvdrivers/win/xenhid.git/log
pvdrivers/win/xenhid.git
5 years agoUse the correct binding for the interface versions used staging-9.0 9.0.0 9.0.0-rc2
Paul Durrant [Thu, 5 Dec 2019 17:18:28 +0000 (17:18 +0000)]
Use the correct binding for the interface versions used

The correct binding for XENBUS_STORE v2 and XENBUS_SYSPEND v1, as forwarded
by XENVKBD, is 09000002.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
5 years agoRemove revision.h and simplify coinst.c
Paul Durrant [Thu, 5 Dec 2019 16:38:50 +0000 (16:38 +0000)]
Remove revision.h and simplify coinst.c

XENHID is not a bus driver and, as such, does not need a revision.h. Nor
does it have to sanity check support for non-existent child drivers in
coinst.c.

NOTE: I've largely cribbed XENNET's coinst.c, since it is another example
      of a leaf function driver.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
5 years agoMAINTAINERS: Update my email address 9.0.0-rc1
Paul Durrant [Thu, 14 Nov 2019 10:11:28 +0000 (10:11 +0000)]
MAINTAINERS: Update my email address

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
5 years agoFix typo
Paul Durrant [Thu, 19 Sep 2019 13:33:34 +0000 (14:33 +0100)]
Fix typo

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
5 years agoAdd support for EWDK_19h1_release_svc_prod3_18362_190416-1111
Paul Durrant [Thu, 19 Sep 2019 13:10:10 +0000 (14:10 +0100)]
Add support for EWDK_19h1_release_svc_prod3_18362_190416-1111

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
5 years agoMAINTAINERS: Update my email address
Paul Durrant [Thu, 19 Sep 2019 11:51:42 +0000 (12:51 +0100)]
MAINTAINERS: Update my email address

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
5 years agoRemove the old python build scripts and document use of the EWDK
Paul Durrant [Thu, 19 Sep 2019 11:50:58 +0000 (12:50 +0100)]
Remove the old python build scripts and document use of the EWDK

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
5 years agoUse genfiles to set DriverVer
Owen Smith [Wed, 17 Jul 2019 12:50:03 +0000 (13:50 +0100)]
Use genfiles to set DriverVer

Signed-off-by: Owen Smith <owen.smith@citrix.com>
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>