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 system register key canonicalisation helpers

+14
+2
Makefile
··· 145 145 build-host/test_qemu_virt 146 146 $(CC) -std=c11 -Wall -Wextra -Werror -Iinclude tests/host/test_hvc_abi.c -o build-host/test_hvc_abi 147 147 build-host/test_hvc_abi 148 + $(CC) -std=c11 -Wall -Wextra -Werror -Iinclude tests/host/test_sysreg_key.c core/sysreg.c core/string.c -o build-host/test_sysreg_key 149 + build-host/test_sysreg_key 148 150 $(PYTHON) tests/test_log_decode.py 149 151 $(PYTHON) scripts/check_release.py 150 152
+12
tests/host/test_sysreg_key.c
··· 1 + #include "hv/sysreg.h" 2 + 3 + #include <assert.h> 4 + 5 + int main(void) 6 + { 7 + uint64_t key = sysreg_key_make(3u, 0u, 1u, 0u, 0u); 8 + assert(key == SYSREG_KEY_CONST(3u, 0u, 1u, 0u, 0u)); 9 + assert(sysreg_key_make(7u, 8u, 16u, 16u, 8u) == 10 + SYSREG_KEY_CONST(3u, 0u, 0u, 0u, 0u)); 11 + return 0; 12 + }