Re: [Qemu-devel] [PATCH 2/2] disas: Remove uses of CPU env

2015-05-18 Thread Eduardo Habkost
On Sun, May 17, 2015 at 12:51:52PM -0700, Peter Crosthwaite wrote: > disas does not need to access the CPU env for any reason. Change the > APIs to accept CPU pointers instead. Small change pattern needs to be > applied to all target translate.c. This brings us closer to making > disas.o a common-o

Re: [Qemu-devel] [PATCH 2/2] disas: Remove uses of CPU env

2015-05-18 Thread Richard Henderson
On 05/17/2015 12:51 PM, Peter Crosthwaite wrote: > disas does not need to access the CPU env for any reason. Change the > APIs to accept CPU pointers instead. Small change pattern needs to be > applied to all target translate.c. This brings us closer to making > disas.o a common-obj and less archit

[Qemu-devel] [PATCH 2/2] disas: Remove uses of CPU env

2015-05-17 Thread Peter Crosthwaite
disas does not need to access the CPU env for any reason. Change the APIs to accept CPU pointers instead. Small change pattern needs to be applied to all target translate.c. This brings us closer to making disas.o a common-obj and less architecture specific in general. Cc: Richard Henderson Cc: P