summary refs log tree commit diff stats
path: root/hw/hyperv/hyperv_testdev.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-02-25 10:48:08 -1000
committerRichard Henderson <richard.henderson@linaro.org>2023-03-13 06:44:38 -0700
commit6ce21abd40b11cb6e2e016841871f6e3f5221f92 (patch)
treef18fd834389af2552e57704b91d2b60a11697356 /hw/hyperv/hyperv_testdev.c
parentab9ced73fa6679791c61d45768414cec578b6053 (diff)
downloadfocaccia-qemu-6ce21abd40b11cb6e2e016841871f6e3f5221f92.tar.gz
focaccia-qemu-6ce21abd40b11cb6e2e016841871f6e3f5221f92.zip
target/arm: Improve arm_rmode_to_sf
Use proper enumeration types for input and output.
Use a const array to perform the mapping, with an
assert that the input is valid.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/hyperv/hyperv_testdev.c')
0 files changed, 0 insertions, 0 deletions