[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/20] target/arm: rename handle_semihosting to tcg_handle_semiho
From: |
Fabiano Rosas |
Subject: |
[PATCH 01/20] target/arm: rename handle_semihosting to tcg_handle_semihosting |
Date: |
Wed, 18 Jan 2023 16:34:59 -0300 |
From: Claudio Fontana <cfontana@suse.de>
make it clearer from the name that this is a tcg-only function.
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/arm/helper.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/arm/helper.c b/target/arm/helper.c
index 72b37b7cf1..45b5939676 100644
--- a/target/arm/helper.c
+++ b/target/arm/helper.c
@@ -10803,7 +10803,7 @@ static void arm_cpu_do_interrupt_aarch64(CPUState *cs)
* trapped to the hypervisor in KVM.
*/
#ifdef CONFIG_TCG
-static void handle_semihosting(CPUState *cs)
+static void tcg_handle_semihosting(CPUState *cs)
{
ARMCPU *cpu = ARM_CPU(cs);
CPUARMState *env = &cpu->env;
@@ -10865,7 +10865,7 @@ void arm_cpu_do_interrupt(CPUState *cs)
*/
#ifdef CONFIG_TCG
if (cs->exception_index == EXCP_SEMIHOST) {
- handle_semihosting(cs);
+ tcg_handle_semihosting(cs);
return;
}
#endif
--
2.35.3
- [PATCH 00/20] target/arm: CONFIG_TCG=n part 1, Fabiano Rosas, 2023/01/18
- [PATCH 01/20] target/arm: rename handle_semihosting to tcg_handle_semihosting,
Fabiano Rosas <=
- [PATCH 03/20] target/arm: wrap call to aarch64_sve_change_el in tcg_enabled(), Fabiano Rosas, 2023/01/18
- [PATCH 02/20] target/arm: wrap psci call with tcg_enabled, Fabiano Rosas, 2023/01/18
- [PATCH 07/20] target/arm: Move define_debug_regs() to cpregs.c, Fabiano Rosas, 2023/01/18
- [PATCH 05/20] target/arm: Move cpregs code out of cpu.h, Fabiano Rosas, 2023/01/18
- [PATCH 06/20] target/arm: Move cpregs code into cpregs.c, Fabiano Rosas, 2023/01/18
- [PATCH 04/20] target/arm: Move PC alignment check, Fabiano Rosas, 2023/01/18
- [PATCH 08/20] target/arm: Wrap breakpoint/watchpoint updates with tcg_enabled, Fabiano Rosas, 2023/01/18
- [PATCH 09/20] target/arm: move translate modules to tcg/, Fabiano Rosas, 2023/01/18
- [PATCH 11/20] target/arm: Move psci.c into the tcg directory, Fabiano Rosas, 2023/01/18
- [PATCH 10/20] target/arm: move helpers to tcg/, Fabiano Rosas, 2023/01/18