Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/hyperv/vmbus/hyperv_var.h
- This file was copied to sys/dev/hyperv/vmbus/hyperv_mmu.h.
Show All 27 Lines | |||||
#define _HYPERV_VAR_H_ | #define _HYPERV_VAR_H_ | ||||
extern u_int hyperv_recommends; | extern u_int hyperv_recommends; | ||||
struct hypercall_ctx { | struct hypercall_ctx { | ||||
void *hc_addr; | void *hc_addr; | ||||
vm_paddr_t hc_paddr; | vm_paddr_t hc_paddr; | ||||
}; | }; | ||||
uint64_t hypercall_post_message(bus_addr_t msg_paddr); | uint64_t hypercall_post_message(bus_addr_t msg_paddr); | ||||
uint64_t hypercall_signal_event(bus_addr_t monprm_paddr); | uint64_t hypercall_signal_event(bus_addr_t monprm_paddr); | ||||
uint64_t hypercall_do_md(uint64_t input, uint64_t in_addr, | |||||
uint64_t out_addr); | |||||
struct hv_vpset; | |||||
struct vmbus_softc; | |||||
uint64_t | |||||
hv_do_rep_hypercall(uint16_t code, uint16_t rep_count, uint16_t varhead_size, | |||||
uint64_t input, uint64_t output); | |||||
int | |||||
hv_cpumask_to_vpset(struct hv_vpset *vpset, const cpuset_t *cpus, | |||||
struct vmbus_softc *sc); | |||||
#endif /* !_HYPERV_VAR_H_ */ | #endif /* !_HYPERV_VAR_H_ */ |