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]> --- 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 f452c9d9040..bd197638f19 100644 --- a/target/avr/helper.c +++ b/target/avr/helper.c @@ -152,7 +152,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); @@ -160,7 +160,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); @@ -176,7 +176,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); @@ -184,7 +184,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); @@ -192,7 +192,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"); } @@ -274,7 +274,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.43.0
