summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-11-02 19:57:45 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-11-02 19:57:45 +0000
commit8b21e8dfd71d4100488d84d1a91f0c67c8418056 (patch)
treeb3aac21b800379b9be5f9e1738c39e99244058cb /sys
parent8844a1430b7b3807bb1a95ef464434b771be5434 (diff)
Add Windows 10 VMBus protocol version
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pv/hypervreg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pv/hypervreg.h b/sys/dev/pv/hypervreg.h
index e3cc0aa2993..2afe55c3a78 100644
--- a/sys/dev/pv/hypervreg.h
+++ b/sys/dev/pv/hypervreg.h
@@ -211,11 +211,13 @@ struct hypercall_postmsg_in {
* 1.1 -- Windows 7
* 2.4 -- Windows 8
* 3.0 -- Windows 8.1
+ * 4.0 -- Windows 10
*/
#define VMBUS_VERSION_WS2008 ((0 << 16) | (13))
#define VMBUS_VERSION_WIN7 ((1 << 16) | (1))
#define VMBUS_VERSION_WIN8 ((2 << 16) | (4))
#define VMBUS_VERSION_WIN8_1 ((3 << 16) | (0))
+#define VMBUS_VERSION_WIN10 ((4 << 16) | (0))
#define VMBUS_VERSION_MAJOR(ver) (((uint32_t)(ver)) >> 16)
#define VMBUS_VERSION_MINOR(ver) (((uint32_t)(ver)) & 0xffff)