summaryrefslogtreecommitdiffstats
path: root/disas
diff options
context:
space:
mode:
authorEmilio G. Cota2017-07-12 23:15:52 +0200
committerRichard Henderson2017-10-24 22:53:42 +0200
commitb1311c4acf503dc9c1a310cc40b64f05b08833dc (patch)
tree744c9db497b0e4ee946b1fd6c85910f27b18ae5a /disas
parenttcg: take tb_ctx out of TCGContext (diff)
downloadqemu-b1311c4acf503dc9c1a310cc40b64f05b08833dc.tar.gz
qemu-b1311c4acf503dc9c1a310cc40b64f05b08833dc.tar.xz
qemu-b1311c4acf503dc9c1a310cc40b64f05b08833dc.zip
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>
Diffstat (limited to 'disas')
0 files changed, 0 insertions, 0 deletions