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 / tests / host / test_sysreg_key.c
293 B 12 lines
1#include "hv/sysreg.h" 2 3#include <assert.h> 4 5int 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}