vmbus_var.h (307305) | vmbus_var.h (307310) |
---|---|
1/*- 2 * Copyright (c) 2016 Microsoft Corp. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2016 Microsoft Corp. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * |
26 * $FreeBSD: stable/11/sys/dev/hyperv/vmbus/vmbus_var.h 307305 2016-10-14 08:26:17Z sephe $ | 26 * $FreeBSD: stable/11/sys/dev/hyperv/vmbus/vmbus_var.h 307310 2016-10-14 09:10:41Z sephe $ |
27 */ 28 29#ifndef _VMBUS_VAR_H_ 30#define _VMBUS_VAR_H_ 31 32#include <sys/param.h> 33#include <sys/bus_dma.h> 34#include <sys/taskqueue.h> --- 31 unchanged lines hidden (view full) --- 66 struct taskqueue *message_tq; /* message taskq */ 67 struct task message_task; /* message task */ 68} __aligned(CACHE_LINE_SIZE); 69 70struct vmbus_softc { 71 void (*vmbus_event_proc)(struct vmbus_softc *, int); 72 u_long *vmbus_tx_evtflags; 73 /* event flags to host */ | 27 */ 28 29#ifndef _VMBUS_VAR_H_ 30#define _VMBUS_VAR_H_ 31 32#include <sys/param.h> 33#include <sys/bus_dma.h> 34#include <sys/taskqueue.h> --- 31 unchanged lines hidden (view full) --- 66 struct taskqueue *message_tq; /* message taskq */ 67 struct task message_task; /* message task */ 68} __aligned(CACHE_LINE_SIZE); 69 70struct vmbus_softc { 71 void (*vmbus_event_proc)(struct vmbus_softc *, int); 72 u_long *vmbus_tx_evtflags; 73 /* event flags to host */ |
74 void *vmbus_mnf2; /* monitored by host */ | 74 struct vmbus_mnf *vmbus_mnf2; /* monitored by host */ |
75 76 u_long *vmbus_rx_evtflags; 77 /* compat evtflgs from host */ 78 struct hv_vmbus_channel **vmbus_chmap; 79 struct vmbus_msghc_ctx *vmbus_msg_hc; 80 struct vmbus_pcpu_data vmbus_pcpu[MAXCPU]; 81 82 /* --- 75 unchanged lines hidden --- | 75 76 u_long *vmbus_rx_evtflags; 77 /* compat evtflgs from host */ 78 struct hv_vmbus_channel **vmbus_chmap; 79 struct vmbus_msghc_ctx *vmbus_msg_hc; 80 struct vmbus_pcpu_data vmbus_pcpu[MAXCPU]; 81 82 /* --- 75 unchanged lines hidden --- |