Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/utilities/hv_util.h
Show All 37 Lines | |||||
typedef struct hv_util_sc { | typedef struct hv_util_sc { | ||||
/* | /* | ||||
* function to process Hyper-V messages | * function to process Hyper-V messages | ||||
*/ | */ | ||||
void (*callback)(struct vmbus_channel *, void *); | void (*callback)(struct vmbus_channel *, void *); | ||||
uint8_t *receive_buffer; | uint8_t *receive_buffer; | ||||
} hv_util_sc; | } hv_util_sc; | ||||
void hv_negotiate_version( | void hv_negotiate_version(struct hv_vmbus_icmsg_hdr *icmsghdrp, uint8_t *buf); | ||||
struct hv_vmbus_icmsg_hdr* icmsghdrp, | |||||
struct hv_vmbus_icmsg_negotiate* negop, | |||||
uint8_t* buf); | |||||
int hv_util_attach(device_t dev); | int hv_util_attach(device_t dev); | ||||
int hv_util_detach(device_t dev); | int hv_util_detach(device_t dev); | ||||
#endif | #endif |