Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/include/hyperv.h
Show First 20 Lines • Show All 517 Lines • ▼ Show 20 Lines | |||||
} __packed hv_vmbus_connection_id; | } __packed hv_vmbus_connection_id; | ||||
typedef struct hv_vmbus_channel { | typedef struct hv_vmbus_channel { | ||||
device_t ch_dev; | device_t ch_dev; | ||||
struct vmbus_softc *vmbus_sc; | struct vmbus_softc *vmbus_sc; | ||||
hv_vmbus_channel_state state; | hv_vmbus_channel_state state; | ||||
uint32_t ch_flags; /* VMBUS_CHAN_FLAG_ */ | uint32_t ch_flags; /* VMBUS_CHAN_FLAG_ */ | ||||
uint32_t ch_id; /* channel id */ | uint32_t ch_id; /* channel id */ | ||||
/* | /* | ||||
* These are based on the offer_msg.monitor_id. | * These are based on the offer_msg.monitor_id. | ||||
* Save it here for easy access. | * Save it here for easy access. | ||||
*/ | */ | ||||
uint8_t monitor_group; | int ch_montrig_idx; /* MNF trig index */ | ||||
uint8_t monitor_bit; | uint32_t ch_montrig_mask;/* MNF trig mask */ | ||||
uint32_t ring_buffer_gpadl_handle; | uint32_t ring_buffer_gpadl_handle; | ||||
/* | /* | ||||
* Allocated memory for ring buffer | * Allocated memory for ring buffer | ||||
*/ | */ | ||||
void* ring_buffer_pages; | void* ring_buffer_pages; | ||||
unsigned long ring_buffer_size; | unsigned long ring_buffer_size; | ||||
uint32_t ring_buffer_page_count; | uint32_t ring_buffer_page_count; | ||||
▲ Show 20 Lines • Show All 181 Lines • Show Last 20 Lines |