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.

ariel / include / hv / boot_event.h
458 B 21 lines
1#ifndef HV_BOOT_EVENT_H 2#define HV_BOOT_EVENT_H 3 4#include "hv/types.h" 5 6enum hv_boot_event_code { 7 HV_BOOT_EVENT_UART = 10u, 8 HV_BOOT_EVENT_LOG = 11u, 9 HV_BOOT_EVENT_TIMER = 12u, 10 HV_BOOT_EVENT_MONITOR = 13u, 11 HV_BOOT_EVENT_STAGE2 = 14u, 12 HV_BOOT_EVENT_GIC = 15u, 13 HV_BOOT_EVENT_GUEST = 16u, 14}; 15 16static inline bool hv_boot_event_code_valid(uint32_t code) 17{ 18 return code >= HV_BOOT_EVENT_UART && code <= HV_BOOT_EVENT_GUEST; 19} 20 21#endif