unicorn/include
Emilio G. Cota 9d5b378475
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.

Backports commit b1311c4acf503dc9c1a310cc40b64f05b08833dc from qemu
2018-03-14 09:43:58 -04:00
..
unicorn aarch64: Add FPCR and FPSR registers 2018-01-16 17:37:47 +00:00
list.h callback to count number of instructions in uc_emu_start() should be executed first. fix #727 2017-06-16 13:22:38 +08:00
qemu.h include: Move RAMList to ramlist.h 2018-02-20 08:47:51 -05:00
uc_priv.h tcg: define tcg_init_ctx and make tcg_ctx a pointer 2018-03-14 09:43:58 -04:00