guest_vm_arch.hThe guest arm vm interface is central to using libsel4vm on an ARM platform, providing definitions of the arm guest vm datastructures and primitives to configure the VM instance.
Functions:
vm_register_unhandled_vcpu_fault_callback(vcpu, vcpu_fault_callback, cookie)
Structs:
The interface guest_vm_arch.h defines the following functions.
vm_register_unhandled_vcpu_fault_callback(vcpu, vcpu_fault_callback, cookie)Register a callback for processing unhandled vcpu faults
Parameters:
vcpu {vm_vcpu_t *}: A handle to the VCPUA {unhandled_vcpu_fault_callback_fn}: user supplied callback to process unhandled vcpu faultsA {void *}: cookie to supply to the vcpu fault handlerReturns:
Back to interface description.
The interface guest_vm_arch.h defines the following structs.
vm_vcpu_archStructure representing ARM specific vcpu properties
Elements:
fault {fault_t *}: Current VCPU faultunhandled_vcpu_callback {unhandled_vcpu_fault_callback_fn}: A callback for processing unhandled vcpu faultsunhandled_vcpu_callback_cookie {void *}: A cookie to supply to the vcpu fault handlerBack to interface description.
Back to top.