From: Pierrick Bouvier <[email protected]> In a upcoming commit, we'll prefix all helpers and helper_info with target prefix, to disambiguate symbols between targets. As a first step, we need to make sure all usages are using the existing HELPER macro.
Signed-off-by: Pierrick Bouvier <[email protected]> Acked-by: Yonggang Luo <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Anton Johansson <[email protected]> Message-ID: <[email protected]> Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- target/avr/helper.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/avr/helper.c b/target/avr/helper.c index 8f90b8d9a45..49bd2f57c9f 100644 --- a/target/avr/helper.c +++ b/target/avr/helper.c @@ -159,7 +159,7 @@ bool avr_cpu_tlb_fill(CPUState *cs, vaddr address, int size, * helpers */ -void helper_sleep(CPUAVRState *env) +void HELPER(sleep)(CPUAVRState *env) { CPUState *cs = env_cpu(env); @@ -167,7 +167,7 @@ void helper_sleep(CPUAVRState *env) cpu_loop_exit(cs); } -void helper_unsupported(CPUAVRState *env) +void HELPER(unsupported)(CPUAVRState *env) { CPUState *cs = env_cpu(env); @@ -183,7 +183,7 @@ void helper_unsupported(CPUAVRState *env) cpu_loop_exit(cs); } -void helper_debug(CPUAVRState *env) +void HELPER(debug)(CPUAVRState *env) { CPUState *cs = env_cpu(env); @@ -191,7 +191,7 @@ void helper_debug(CPUAVRState *env) cpu_loop_exit(cs); } -void helper_break(CPUAVRState *env) +void HELPER(break)(CPUAVRState *env) { CPUState *cs = env_cpu(env); @@ -199,7 +199,7 @@ void helper_break(CPUAVRState *env) cpu_loop_exit(cs); } -void helper_wdr(CPUAVRState *env) +void HELPER(wdr)(CPUAVRState *env) { qemu_log_mask(LOG_UNIMP, "WDG reset (not implemented)\n"); } @@ -281,7 +281,7 @@ const MemoryRegionOps avr_cpu_reg2 = { * this function implements ST instruction when there is a possibility to write * into a CPU register */ -void helper_fullwr(CPUAVRState *env, uint32_t data, uint32_t addr) +void HELPER(fullwr)(CPUAVRState *env, uint32_t data, uint32_t addr) { env->fullacc = false; -- 2.55.0
