mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target-mips: Move TCG initialization to MIPSCPU initfn
Make mips_tcg_init() non-static and add tcg_enabled() check to suppress it for qtest. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
cd0c24f909
commit
78ce64f492
3 changed files with 6 additions and 2 deletions
|
@ -15836,7 +15836,7 @@ void cpu_dump_state (CPUMIPSState *env, FILE *f, fprintf_function cpu_fprintf,
|
|||
#endif
|
||||
}
|
||||
|
||||
static void mips_tcg_init(void)
|
||||
void mips_tcg_init(void)
|
||||
{
|
||||
int i;
|
||||
static int inited;
|
||||
|
@ -15915,7 +15915,6 @@ MIPSCPU *cpu_mips_init(const char *cpu_model)
|
|||
#endif
|
||||
fpu_init(env, def);
|
||||
mvp_init(env, def);
|
||||
mips_tcg_init();
|
||||
|
||||
object_property_set_bool(OBJECT(cpu), true, "realized", NULL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue