Re: [Qemu-devel] [PATCH 1/4] translate-all: Change tb_flush env argument to cpu

2015-06-05 Thread Andreas Färber
Am 25.05.2015 um 15:22 schrieb Peter Crosthwaite: [...] > diff --git a/target-alpha/sys_helper.c b/target-alpha/sys_helper.c > index ae2e174..302cc1f 100644 > --- a/target-alpha/sys_helper.c > +++ b/target-alpha/sys_helper.c > @@ -74,7 +74,7 @@ void helper_tbis(CPUAlphaState *env, uint64_t p) > >

Re: [Qemu-devel] [PATCH 1/4] translate-all: Change tb_flush env argument to cpu

2015-05-25 Thread Eduardo Habkost
On Sun, May 24, 2015 at 11:22:22PM -0700, Peter Crosthwaite wrote: > All of the core-code usages of this API have the cpu pointer handy so > pass it in. There are only 3 architecture specific usages (2 of which > are commented out) which can just use ENV_GET_CPU locally to get the > cpu pointer. Th

[Qemu-devel] [PATCH 1/4] translate-all: Change tb_flush env argument to cpu

2015-05-24 Thread Peter Crosthwaite
All of the core-code usages of this API have the cpu pointer handy so pass it in. There are only 3 architecture specific usages (2 of which are commented out) which can just use ENV_GET_CPU locally to get the cpu pointer. The reduces core code usage of the CPU env, which brings us closer to common-