AArch64 EL2 hypervisor for QEMU virt that boots at EL2
1

Configure Feed

Select the types of activity you want to include in your feed.

Add diagnostic guest hypercall ABI definitions

+20
+20
include/hv/hvc_abi.h
··· 1 + #ifndef HV_HVC_ABI_H 2 + #define HV_HVC_ABI_H 3 + 4 + #include "hv/types.h" 5 + 6 + enum hv_hvc_operation { 7 + HV_HVC_GET_HV_ID = 0u, 8 + HV_HVC_DUMP_LOG = 1u, 9 + HV_HVC_GET_STATUS = 2u, 10 + HV_HVC_PAUSE = 3u, 11 + HV_HVC_GUEST_CONSOLE_WRITE = 4u, 12 + HV_HVC_REPORT_EXCEPTION = 5u, 13 + }; 14 + 15 + static inline bool hv_hvc_operation_valid(uint64_t op) 16 + { 17 + return op <= HV_HVC_REPORT_EXCEPTION; 18 + } 19 + 20 + #endif