aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/include
diff options
context:
space:
mode:
authorSepherosa Ziehau <sephe@FreeBSD.org>2016-07-15 07:45:30 +0000
committerSepherosa Ziehau <sephe@FreeBSD.org>2016-07-15 07:45:30 +0000
commit7c55724859295d99b2a0d1383b63d11ff4fcb023 (patch)
treefd3b8120ba6efaae83967c3eb35b106d66cec8c2 /sys/dev/hyperv/include
parent7bf59009649aabd17c5342766f083350e423651d (diff)
downloadsrc-7c55724859295d99b2a0d1383b63d11ff4fcb023.tar.gz
src-7c55724859295d99b2a0d1383b63d11ff4fcb023.zip
Notes
Diffstat (limited to 'sys/dev/hyperv/include')
-rw-r--r--sys/dev/hyperv/include/hyperv.h7
-rw-r--r--sys/dev/hyperv/include/vmbus.h3
2 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h
index 63b353db9187..4f2dc7aab81d 100644
--- a/sys/dev/hyperv/include/hyperv.h
+++ b/sys/dev/hyperv/include/hyperv.h
@@ -298,13 +298,6 @@ hv_set_channel_read_state(hv_vmbus_channel* channel, boolean_t on)
channel->ch_flags |= VMBUS_CHAN_FLAG_BATCHREAD;
}
-int hv_vmbus_channel_recv_packet(
- hv_vmbus_channel* channel,
- void* buffer,
- uint32_t buffer_len,
- uint32_t* buffer_actual_len,
- uint64_t* request_id);
-
int hv_vmbus_channel_recv_packet_raw(
hv_vmbus_channel* channel,
void* buffer,
diff --git a/sys/dev/hyperv/include/vmbus.h b/sys/dev/hyperv/include/vmbus.h
index 0dbfe6b5a85d..d5d05c6f2950 100644
--- a/sys/dev/hyperv/include/vmbus.h
+++ b/sys/dev/hyperv/include/vmbus.h
@@ -59,6 +59,9 @@ struct vmbus_gpa {
struct hv_vmbus_channel;
+int vmbus_chan_recv(struct hv_vmbus_channel *chan, void *data, int *dlen,
+ uint64_t *xactid);
+
int vmbus_chan_send(struct hv_vmbus_channel *chan, uint16_t type,
uint16_t flags, void *data, int dlen, uint64_t xactid);
int vmbus_chan_send_sglist(struct hv_vmbus_channel *chan,