Deleted Added
full compact
vmbus_var.h (307304) vmbus_var.h (307305)
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 307304 2016-10-14 08:18:55Z sephe $
26 * $FreeBSD: stable/11/sys/dev/hyperv/vmbus/vmbus_var.h 307305 2016-10-14 08:26:17Z 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>

--- 91 unchanged lines hidden (view full) ---

126#define VMBUS_PCPU_GET(sc, field, cpu) (sc)->vmbus_pcpu[(cpu)].field
127#define VMBUS_PCPU_PTR(sc, field, cpu) &(sc)->vmbus_pcpu[(cpu)].field
128
129struct hv_vmbus_channel;
130struct trapframe;
131struct vmbus_message;
132struct vmbus_msghc;
133
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>

--- 91 unchanged lines hidden (view full) ---

126#define VMBUS_PCPU_GET(sc, field, cpu) (sc)->vmbus_pcpu[(cpu)].field
127#define VMBUS_PCPU_PTR(sc, field, cpu) &(sc)->vmbus_pcpu[(cpu)].field
128
129struct hv_vmbus_channel;
130struct trapframe;
131struct vmbus_message;
132struct vmbus_msghc;
133
134void vmbus_on_channel_open(const struct hv_vmbus_channel *);
135void vmbus_event_proc(struct vmbus_softc *, int);
136void vmbus_event_proc_compat(struct vmbus_softc *, int);
137void vmbus_handle_intr(struct trapframe *);
138
139void vmbus_et_intr(struct trapframe *);
140
141void vmbus_chan_msgproc(struct vmbus_softc *, const struct vmbus_message *);
142

--- 16 unchanged lines hidden ---
134void vmbus_event_proc(struct vmbus_softc *, int);
135void vmbus_event_proc_compat(struct vmbus_softc *, int);
136void vmbus_handle_intr(struct trapframe *);
137
138void vmbus_et_intr(struct trapframe *);
139
140void vmbus_chan_msgproc(struct vmbus_softc *, const struct vmbus_message *);
141

--- 16 unchanged lines hidden ---