Module hypercall

Source
Expand description

Hypercall infrastructure.

Structs§

HvCall
Provides mechanisms to invoke hypercalls within the boot shim. Internally uses static buffers for the hypercall page, the input page, and the output page, so this should not be used in any multi-threaded capacity (which the boot shim currently is not).
HvcallPage 🔒
Page-aligned, page-sized buffer for use with hypercalls

Statics§

HVCALL 🔒
HVCALL_INPUT 🔒
Static, reusable page for hypercall input
HVCALL_OUTPUT 🔒
Static, reusable page for hypercall output

Functions§

hvcall
Returns an HvCall instance.

Type Aliases§

HwId
The “hardware ID” used for HvCall::get_vp_index_from_hw_id. This is the APIC ID on x64.