qemu/target/tilegx
Emilio G. Cota b1311c4acf tcg: define tcg_init_ctx and make tcg_ctx a pointer
Groundwork for supporting multiple TCG contexts.

The core of this patch is this change to tcg/tcg.h:

> -extern TCGContext tcg_ctx;
> +extern TCGContext tcg_init_ctx;
> +extern TCGContext *tcg_ctx;

Note that for now we set *tcg_ctx to whatever TCGContext is passed
to tcg_context_init -- in this case &tcg_init_ctx.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2017-10-24 13:53:42 -07:00
..
cpu.c qom: Introduce CPUClass.tcg_initialize 2017-10-24 22:00:13 +02:00
cpu.h tilegx: replace cpu_tilegx_init() with cpu_generic_init() 2017-09-01 11:54:24 -03:00
helper.c target-tilegx: Use ctpop helper 2017-01-10 08:49:59 -08:00
helper.h target-tilegx: Use ctpop helper 2017-01-10 08:49:59 -08:00
Makefile.objs Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
opcode_tilegx.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
simd_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
spr_def_64.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
translate.c tcg: define tcg_init_ctx and make tcg_ctx a pointer 2017-10-24 13:53:42 -07:00