Hi, no I actually had it in cpustate first but had to do env-get-cpu all over so i moved it to env. Iiuc env-get-cpu involves a dyn typecheck. I havent meassured the perf impact though.
Sorry for phone email... Cheers --- Sent from my phone On Nov 22, 2013 4:51 PM, "Peter Maydell" <peter.mayd...@linaro.org> wrote: > On 22 November 2013 15:15, <edgar.igles...@gmail.com> wrote: > > @@ -176,6 +176,9 @@ typedef struct CPUWatchpoint { > > sigjmp_buf jmp_env; > \ > > int exception_index; > \ > > > \ > > + /* Per CPU address-space. */ > \ > > + AddressSpace *as; > \ > > + > \ > > Does this really have to live in the env struct rather than > CPUState ? > > thanks > -- PMM >