summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv/include/hyperv.h
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-10-11 05:44:36 +0000
committersephe <sephe@FreeBSD.org>2016-10-11 05:44:36 +0000
commit2f5999292c376ccf349eaa57488c76f9fb4fb491 (patch)
treef5a2e80a03164bbbaa206a297e27cb2c7e1962f2 /sys/dev/hyperv/include/hyperv.h
parent41a444fa4003b978084b731d06f689eddb215dd2 (diff)
downloadFreeBSD-src-2f5999292c376ccf349eaa57488c76f9fb4fb491.zip
FreeBSD-src-2f5999292c376ccf349eaa57488c76f9fb4fb491.tar.gz
MFC 302540
hyperv/vmbus: Implement a new set of APIs for post message Hypercall And use this new APIs for Initial Contact post message Hypercall. More post message Hypercalls will be converted. Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6830
Diffstat (limited to 'sys/dev/hyperv/include/hyperv.h')
-rw-r--r--sys/dev/hyperv/include/hyperv.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h
index 44683d8..e08cb7a 100644
--- a/sys/dev/hyperv/include/hyperv.h
+++ b/sys/dev/hyperv/include/hyperv.h
@@ -77,10 +77,6 @@ typedef uint8_t hv_bool_uint8_t;
#define HV_VMBUS_VERSION_WIN8 ((2 << 16) | (4))
#define HV_VMBUS_VERSION_WIN8_1 ((3 << 16) | (0))
-#define HV_VMBUS_VERSION_INVALID -1
-
-#define HV_VMBUS_VERSION_CURRENT HV_VMBUS_VERSION_WIN8_1
-
/*
* Make maximum size of pipe payload of 16K
*/
@@ -537,20 +533,6 @@ typedef struct {
uint32_t child_rel_id;
} __packed hv_vmbus_channel_relid_released;
-typedef struct {
- hv_vmbus_channel_msg_header header;
- uint32_t vmbus_version_requested;
- uint32_t padding2;
- uint64_t interrupt_page;
- uint64_t monitor_page_1;
- uint64_t monitor_page_2;
-} __packed hv_vmbus_channel_initiate_contact;
-
-typedef struct {
- hv_vmbus_channel_msg_header header;
- hv_bool_uint8_t version_supported;
-} __packed hv_vmbus_channel_version_response;
-
typedef hv_vmbus_channel_msg_header hv_vmbus_channel_unload;
#define HW_MACADDR_LEN 6
OpenPOWER on IntegriCloud