summary refs log tree commit diff stats
path: root/hw/intc
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-09-16 07:22:08 -0700
committerPeter Maydell <peter.maydell@linaro.org>2025-09-25 15:42:34 +0100
commit98c2af435e653c34fb5f91eb1676ac458fd5cc78 (patch)
treef07846b00f99773c20294d1b309e6772cdafbab6 /hw/intc
parente6728fb3492fcfcd16d3a0f27e4bbf162c9a9291 (diff)
downloadfocaccia-qemu-98c2af435e653c34fb5f91eb1676ac458fd5cc78.tar.gz
focaccia-qemu-98c2af435e653c34fb5f91eb1676ac458fd5cc78.zip
target/arm/hvf: Replace hvf_sreg_match with hvf_sreg_list
Change hvf_get_registers and hvf_put_registers to iterate over
cpregs_indexes instead of hvf_sreg_match.

This lets us drop the cp_idx member of hvf_sreg_match, which leaves
only one member in the struct.  Replace the struct with a const array.
Instead of int, use the proper enum type: hv_sys_reg_t.
Rename from hvf_sreg_match to hvf_sreg_list because there is no
longer any matching going on.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions