Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/vmbus/hv_connection.c
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* Globals | * Globals | ||||
*/ | */ | ||||
hv_vmbus_connection hv_vmbus_g_connection = | hv_vmbus_connection hv_vmbus_g_connection = | ||||
{ .connect_state = HV_DISCONNECTED, | { .connect_state = HV_DISCONNECTED, | ||||
.next_gpadl_handle = 0xE1E10, }; | .next_gpadl_handle = 0xE1E10, }; | ||||
uint32_t hv_vmbus_protocal_version; | |||||
/** | /** | ||||
* Send a connect request on the partition service connection | * Send a connect request on the partition service connection | ||||
*/ | */ | ||||
int | int | ||||
hv_vmbus_connect(struct vmbus_softc *sc) | hv_vmbus_connect(struct vmbus_softc *sc) | ||||
{ | { | ||||
/** | /** | ||||
* Make sure we are not connecting or connected | * Make sure we are not connecting or connected | ||||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |