Re: [Qemu-devel] [PATCH 0/6] *** TCG global variables clean-up ***

2012-10-21 Thread Evgeny Voevodin
On 10/22/2012 07:40 AM, Evgeny Voevodin wrote: On 10/19/2012 09:55 PM, Blue Swirl wrote: On Fri, Oct 19, 2012 at 12:42 PM, Evgeny wrote: This set of patches moves global variables to tcg_ctx: gen_opc_ptr gen_opparam_ptr gen_opc_buf gen_opparam_buf Where it was possible I used s->... Where we

Re: [Qemu-devel] [PATCH 0/6] *** TCG global variables clean-up ***

2012-10-21 Thread Evgeny Voevodin
On 10/19/2012 09:55 PM, Blue Swirl wrote: On Fri, Oct 19, 2012 at 12:42 PM, Evgeny wrote: This set of patches moves global variables to tcg_ctx: gen_opc_ptr gen_opparam_ptr gen_opc_buf gen_opparam_buf Where it was possible I used s->... Where we don't have an interface to pass a pointer to tcg

Re: [Qemu-devel] [PATCH 0/6] *** TCG global variables clean-up ***

2012-10-19 Thread Blue Swirl
On Fri, Oct 19, 2012 at 12:42 PM, Evgeny wrote: > This set of patches moves global variables to tcg_ctx: > gen_opc_ptr > gen_opparam_ptr > gen_opc_buf > gen_opparam_buf > > Where it was possible I used s->... > Where we don't have an interface to pass a pointer to tcg_ctx, I used > tcg_ctx.xxx >

[Qemu-devel] [PATCH 0/6] *** TCG global variables clean-up ***

2012-10-19 Thread Evgeny
This set of patches moves global variables to tcg_ctx: gen_opc_ptr gen_opparam_ptr gen_opc_buf gen_opparam_buf Where it was possible I used s->... Where we don't have an interface to pass a pointer to tcg_ctx, I used tcg_ctx.xxx since it is a global variable too. Build tested for all targets. Ex