[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 10/28] accel/tcg: Rename tcg_init to tcg_init_machine
From: |
Richard Henderson |
Subject: |
[PATCH v3 10/28] accel/tcg: Rename tcg_init to tcg_init_machine |
Date: |
Sun, 2 May 2021 16:18:26 -0700 |
We shortly want to use tcg_init for something else.
Since the hook is called init_machine, match that.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
accel/tcg/tcg-all.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/accel/tcg/tcg-all.c b/accel/tcg/tcg-all.c
index f132033999..30d81ff7f5 100644
--- a/accel/tcg/tcg-all.c
+++ b/accel/tcg/tcg-all.c
@@ -105,7 +105,7 @@ static void tcg_accel_instance_init(Object *obj)
bool mttcg_enabled;
-static int tcg_init(MachineState *ms)
+static int tcg_init_machine(MachineState *ms)
{
TCGState *s = TCG_STATE(current_accel());
@@ -189,7 +189,7 @@ static void tcg_accel_class_init(ObjectClass *oc, void
*data)
{
AccelClass *ac = ACCEL_CLASS(oc);
ac->name = "tcg";
- ac->init_machine = tcg_init;
+ ac->init_machine = tcg_init_machine;
ac->allowed = &tcg_allowed;
object_class_property_add_str(oc, "thread",
--
2.25.1
- [PATCH v3 00/28] tcg: Clean up code_gen_buffer allocation, Richard Henderson, 2021/05/02
- [PATCH v3 01/28] meson: Split out tcg/meson.build, Richard Henderson, 2021/05/02
- [PATCH v3 03/28] tcg: Re-order tcg_region_init vs tcg_prologue_init, Richard Henderson, 2021/05/02
- [PATCH v3 06/28] tcg: Split out tcg_region_prologue_set, Richard Henderson, 2021/05/02
- [PATCH v3 05/28] tcg: Split out tcg_region_initial_alloc, Richard Henderson, 2021/05/02
- [PATCH v3 02/28] meson: Split out fpu/meson.build, Richard Henderson, 2021/05/02
- [PATCH v3 04/28] tcg: Remove error return from tcg_region_initial_alloc__locked, Richard Henderson, 2021/05/02
- [PATCH v3 08/28] accel/tcg: Inline cpu_gen_init, Richard Henderson, 2021/05/02
- [PATCH v3 10/28] accel/tcg: Rename tcg_init to tcg_init_machine,
Richard Henderson <=
- [PATCH v3 07/28] tcg: Split out region.c, Richard Henderson, 2021/05/02
- [PATCH v3 15/28] tcg: Move MAX_CODE_GEN_BUFFER_SIZE to tcg-target.h, Richard Henderson, 2021/05/02
- [PATCH v3 11/28] tcg: Create tcg_init, Richard Henderson, 2021/05/02
- [PATCH v3 18/28] tcg: Tidy tcg_n_regions, Richard Henderson, 2021/05/02
- [PATCH v3 16/28] tcg: Replace region.end with region.total_size, Richard Henderson, 2021/05/02
- [PATCH v3 24/28] util/osdep: Add qemu_mprotect_rw, Richard Henderson, 2021/05/02
- [PATCH v3 17/28] tcg: Rename region.start to region.after_prologue, Richard Henderson, 2021/05/02
- [PATCH v3 22/28] tcg: Return the map protection from alloc_code_gen_buffer, Richard Henderson, 2021/05/02
- [PATCH v3 21/28] tcg: Allocate code_gen_buffer into struct tcg_region_state, Richard Henderson, 2021/05/02
- [PATCH v3 20/28] tcg: Move in_code_gen_buffer and tests to region.c, Richard Henderson, 2021/05/02