Re: [Qemu-devel] [PATCH 11/15] Sparc: avoid AREG0 for CWP and PSTATE helpers

2011-09-12 Thread Blue Swirl
On Mon, Sep 12, 2011 at 8:29 AM, Stuart Brady wrote: > On Sun, Sep 11, 2011 at 01:31:03PM +, Blue Swirl wrote: >> Make CWP and PSTATE helpers take a parameter for CPUState instead >> of relying on global env. Move the functions to helper.c, remove >> wrapper functions. >> >> Signed-off-by: Blu

Re: [Qemu-devel] [PATCH 11/15] Sparc: avoid AREG0 for CWP and PSTATE helpers

2011-09-12 Thread Stuart Brady
On Sun, Sep 11, 2011 at 01:31:03PM +, Blue Swirl wrote: > Make CWP and PSTATE helpers take a parameter for CPUState instead > of relying on global env. Move the functions to helper.c, remove > wrapper functions. > > Signed-off-by: Blue Swirl > --- > Makefile.target |2 +- > tar

[Qemu-devel] [PATCH 11/15] Sparc: avoid AREG0 for CWP and PSTATE helpers

2011-09-11 Thread Blue Swirl
Make CWP and PSTATE helpers take a parameter for CPUState instead of relying on global env. Move the functions to helper.c, remove wrapper functions. Signed-off-by: Blue Swirl --- Makefile.target |2 +- target-sparc/helper.h | 32 +++--- target-sparc/translate.c | 34 -