diff options
author | sephe <sephe@FreeBSD.org> | 2016-10-11 07:50:09 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-10-11 07:50:09 +0000 |
commit | a539868648bd2f351694b90b22c3a25f97881c8d (patch) | |
tree | 80f2141d4bbdb9ab911474ff0d6e2837b21ba3f1 /sys/dev/hyperv/include/hyperv.h | |
parent | b03d921dcd6e7e62f6e1a5c692e7ad4240a0bd17 (diff) | |
download | FreeBSD-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.h | 9 |
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 |