[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/9] accel/tcg: Hoist CPUClass arg to functions with external
|
From: |
Anton Johansson |
|
Subject: |
Re: [PATCH 5/9] accel/tcg: Hoist CPUClass arg to functions with external linkage |
|
Date: |
Wed, 24 Jan 2024 18:15:42 +0100 |
On 24/01/24, Philippe Mathieu-Daudé wrote:
> Hoist the CPUClass argument from most of these internal helpers:
>
> - check_for_breakpoints_slow
> - check_for_breakpoints()
> - cpu_tb_exec()
> - cpu_exec_enter()
> - cpu_exec_exit()
> - cpu_handle_halt()
> - cpu_handle_debug_exception()
> - cpu_handle_exception()
> - need_replay_interrupt()
> - cpu_handle_interrupt()
> - cpu_loop_exec_tb()
> - cpu_exec_loop()
> - cpu_exec_setjmp()
>
> to the following ones with external linkage:
>
> - lookup_tb_ptr()
> - cpu_exec_step_atomic()
> - cpu_exec()
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> accel/tcg/cpu-exec.c | 82 ++++++++++++++++++++------------------------
> 1 file changed, 37 insertions(+), 45 deletions(-)
>
Reviewed-by: Anton Johansson <anjo@rev.ng>
- [PATCH 2/9] accel/tcg: Rename tcg_cpus_destroy() -> tcg_cpu_destroy(), (continued)
- [PATCH 2/9] accel/tcg: Rename tcg_cpus_destroy() -> tcg_cpu_destroy(), Philippe Mathieu-Daudé, 2024/01/24
- [PATCH 3/9] accel/tcg: Rename tcg_cpus_exec() -> tcg_cpu_exec(), Philippe Mathieu-Daudé, 2024/01/24
- [PATCH 4/9] accel/tcg: Un-inline icount_exit_request() for clarity, Philippe Mathieu-Daudé, 2024/01/24
- [PATCH 5/9] accel/tcg: Hoist CPUClass arg to functions with external linkage, Philippe Mathieu-Daudé, 2024/01/24
- [PATCH 7/9] target/i386: Extract x86_need_replay_interrupt() from accel/tcg/, Philippe Mathieu-Daudé, 2024/01/24
- [PATCH 8/9] accel/tcg: Introduce TCGCPUOps::cpu_exec_halt() handler, Philippe Mathieu-Daudé, 2024/01/24