Home
last modified time | relevance | path

Searched refs:hv_ghcb (Results 1 – 1 of 1) sorted by relevance

/linux/arch/x86/hyperv/
H A Divm.c31 union hv_ghcb { union
70 union hv_ghcb *hv_ghcb; in hv_ghcb_hypercall() local
82 hv_ghcb = (union hv_ghcb *)*ghcb_base; in hv_ghcb_hypercall()
83 if (!hv_ghcb) { in hv_ghcb_hypercall()
88 hv_ghcb->ghcb.protocol_version = GHCB_PROTOCOL_MAX; in hv_ghcb_hypercall()
89 hv_ghcb->ghcb.ghcb_usage = GHCB_USAGE_HYPERV_CALL; in hv_ghcb_hypercall()
91 hv_ghcb->hypercall.outputgpa = (u64)output; in hv_ghcb_hypercall()
92 hv_ghcb->hypercall.hypercallinput.asuint64 = 0; in hv_ghcb_hypercall()
93 hv_ghcb->hypercall.hypercallinput.callcode = control; in hv_ghcb_hypercall()
96 memcpy(hv_ghcb->hypercall.hypercalldata, input, input_size); in hv_ghcb_hypercall()
[all …]