vmbus_var.h (301583) | vmbus_var.h (301588) |
---|---|
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: head/sys/dev/hyperv/vmbus/vmbus_var.h 301583 2016-06-08 05:34:22Z sephe $ | 26 * $FreeBSD: head/sys/dev/hyperv/vmbus/vmbus_var.h 301588 2016-06-08 07:47:21Z 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> --- 23 unchanged lines hidden (view full) --- 58 struct hyperv_dma event_flags_dma;/* busdma glue */ 59 struct taskqueue *event_tq; /* event taskq */ 60 struct taskqueue *message_tq; /* message taskq */ 61 struct task message_task; /* message task */ 62} __aligned(CACHE_LINE_SIZE); 63 64struct vmbus_softc { 65 void (*vmbus_event_proc)(struct vmbus_softc *, int); | 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> --- 23 unchanged lines hidden (view full) --- 58 struct hyperv_dma event_flags_dma;/* busdma glue */ 59 struct taskqueue *event_tq; /* event taskq */ 60 struct taskqueue *message_tq; /* message taskq */ 61 struct task message_task; /* message task */ 62} __aligned(CACHE_LINE_SIZE); 63 64struct vmbus_softc { 65 void (*vmbus_event_proc)(struct vmbus_softc *, int); |
66 void *vmbus_tx_evtflags; | 66 u_long *vmbus_tx_evtflags; |
67 /* event flags to host */ 68 void *vmbus_mnf2; /* monitored by host */ 69 70 u_long *vmbus_rx_evtflags; 71 /* compat evtflgs from host */ 72 struct vmbus_pcpu_data vmbus_pcpu[MAXCPU]; 73 74 /* Rarely used fields */ --- 47 unchanged lines hidden --- | 67 /* event flags to host */ 68 void *vmbus_mnf2; /* monitored by host */ 69 70 u_long *vmbus_rx_evtflags; 71 /* compat evtflgs from host */ 72 struct vmbus_pcpu_data vmbus_pcpu[MAXCPU]; 73 74 /* Rarely used fields */ --- 47 unchanged lines hidden --- |