Deleted Added
full compact
hyperv.h (307455) hyperv.h (307456)
1/*-
2 * Copyright (c) 2009-2012,2016 Microsoft Corp.
3 * Copyright (c) 2012 NetApp Inc.
4 * Copyright (c) 2012 Citrix Inc.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 2009-2012,2016 Microsoft Corp.
3 * Copyright (c) 2012 NetApp Inc.
4 * Copyright (c) 2012 Citrix Inc.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $FreeBSD: stable/11/sys/dev/hyperv/include/hyperv.h 307455 2016-10-17 02:30:45Z sephe $
28 * $FreeBSD: stable/11/sys/dev/hyperv/include/hyperv.h 307456 2016-10-17 02:34:13Z sephe $
29 */
30
31/**
32 * HyperV definitions for messages that are sent between instances of the
33 * Channel Management Library in separate partitions, or in some cases,
34 * back to itself.
35 */
36

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

318 uint32_t recv_ring_buffer_size,
319 void* user_data,
320 uint32_t user_data_len,
321 vmbus_chan_callback_t cb,
322 void *cbarg);
323
324void hv_vmbus_channel_close(hv_vmbus_channel *channel);
325
29 */
30
31/**
32 * HyperV definitions for messages that are sent between instances of the
33 * Channel Management Library in separate partitions, or in some cases,
34 * back to itself.
35 */
36

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

318 uint32_t recv_ring_buffer_size,
319 void* user_data,
320 uint32_t user_data_len,
321 vmbus_chan_callback_t cb,
322 void *cbarg);
323
324void hv_vmbus_channel_close(hv_vmbus_channel *channel);
325
326int hv_vmbus_channel_send_packet(
327 hv_vmbus_channel* channel,
328 void* buffer,
329 uint32_t buffer_len,
330 uint64_t request_id,
331 uint16_t type,
332 uint16_t flags);
333
334int hv_vmbus_channel_establish_gpadl(
335 hv_vmbus_channel* channel,
336 /* must be phys and virt contiguous */
337 void* contig_buffer,
338 /* page-size multiple */
339 uint32_t size,
340 uint32_t* gpadl_handle);
341

--- 34 unchanged lines hidden ---
326int hv_vmbus_channel_establish_gpadl(
327 hv_vmbus_channel* channel,
328 /* must be phys and virt contiguous */
329 void* contig_buffer,
330 /* page-size multiple */
331 uint32_t size,
332 uint32_t* gpadl_handle);
333

--- 34 unchanged lines hidden ---