summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv/include/hyperv.h
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-10-11 07:50:09 +0000
committersephe <sephe@FreeBSD.org>2016-10-11 07:50:09 +0000
commita539868648bd2f351694b90b22c3a25f97881c8d (patch)
tree80f2141d4bbdb9ab911474ff0d6e2837b21ba3f1 /sys/dev/hyperv/include/hyperv.h
parentb03d921dcd6e7e62f6e1a5c692e7ad4240a0bd17 (diff)
downloadFreeBSD-src-a539868648bd2f351694b90b22c3a25f97881c8d.zip
FreeBSD-src-a539868648bd2f351694b90b22c3a25f97881c8d.tar.gz
MFC 302723,302726,302731
302723 hyperv: All Hypercall parameters have same alignment requirement. Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7086 302726 hyperv: Signal event input parameter is shared w/ MNF Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7087 302731 hyperv/vmbus: Reorganize MNF event sending. Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7088
Diffstat (limited to 'sys/dev/hyperv/include/hyperv.h')
-rw-r--r--sys/dev/hyperv/include/hyperv.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h
index d9e645a..1e7ae87 100644
--- a/sys/dev/hyperv/include/hyperv.h
+++ b/sys/dev/hyperv/include/hyperv.h
@@ -523,12 +523,13 @@ typedef struct hv_vmbus_channel {
hv_vmbus_channel_state state;
uint32_t ch_flags; /* VMBUS_CHAN_FLAG_ */
uint32_t ch_id; /* channel id */
+
/*
* These are based on the offer_msg.monitor_id.
* Save it here for easy access.
*/
- uint8_t monitor_group;
- uint8_t monitor_bit;
+ int ch_montrig_idx; /* MNF trig index */
+ uint32_t ch_montrig_mask;/* MNF trig mask */
uint32_t ring_buffer_gpadl_handle;
/*
@@ -551,8 +552,8 @@ typedef struct hv_vmbus_channel {
hv_vmbus_pfn_channel_callback on_channel_callback;
void* channel_callback_context;
- struct hypercall_sigevt_in *ch_sigevt;
- struct hyperv_dma ch_sigevt_dma;
+ struct hyperv_mon_param *ch_monprm;
+ struct hyperv_dma ch_monprm_dma;
/*
* From Win8, this field specifies the target virtual process
OpenPOWER on IntegriCloud