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.

Introduce structured boot event emission for EL2 bringup

+21
+21
include/hv/boot_event.h
··· 1 + #ifndef HV_BOOT_EVENT_H 2 + #define HV_BOOT_EVENT_H 3 + 4 + #include "hv/types.h" 5 + 6 + enum 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 + 16 + static 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