summary refs log tree commit diff stats
path: root/hw/misc/npcm_clk.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2025-02-21 19:09:54 +0000
committerPeter Maydell <peter.maydell@linaro.org>2025-02-25 15:32:58 +0000
commite34cfba5e8d7bd631398a09d658dee40b1aef085 (patch)
treec72f594e525d6676789aea2d7b3f3253ec48b7f7 /hw/misc/npcm_clk.c
parent1deb15c88ab3f1b0788b9e41b08217036eca3c91 (diff)
downloadfocaccia-qemu-e34cfba5e8d7bd631398a09d658dee40b1aef085.tar.gz
focaccia-qemu-e34cfba5e8d7bd631398a09d658dee40b1aef085.zip
target/arm: Move FPSCR get/set helpers to tcg/vfp_helper.c
Currently the helper_vfp_get_fpscr() and helper_vfp_set_fpscr()
functions do the actual work of updating the FPSCR, and we have
wrappers vfp_get_fpscr() and vfp_set_fpscr() which we use for calls
from other QEMU C code.

Flip these around so that it is vfp_get_fpscr() and vfp_set_fpscr()
which do the actual work, and helper_vfp_get_fpscr() and
helper_vfp_set_fpscr() which are the wrappers; this allows us to move
them to tcg/vfp_helper.c.

Since this is the last HELPER() we had in arm/vfp_helper.c, we can
drop the include of helper-proto.h.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250221190957.811948-3-peter.maydell@linaro.org
Diffstat (limited to 'hw/misc/npcm_clk.c')
0 files changed, 0 insertions, 0 deletions