Re: [Qemu-devel] [PATCH 07/13] softmmu: make do_unaligned_access a method of CPU

2014-05-28 Thread Paolo Bonzini
Il 28/05/2014 20:24, Andreas Färber ha scritto: >>> +void alpha_cpu_do_unaligned_access(CPUState *cs, vaddr addr, >>> + int is_write, int is_user, >>> uintptr_t retaddr) >>> { >>> -AlphaCPU *cpu = alpha_env_get_cpu(env); >>> -CPUState *cs = CPU(cpu); >>>

Re: [Qemu-devel] [PATCH 07/13] softmmu: make do_unaligned_access a method of CPU

2014-05-28 Thread Andreas Färber
Am 28.05.2014 20:17, schrieb Paolo Bonzini: > Il 28/05/2014 19:20, Andreas Färber ha scritto: >>> +void alpha_cpu_do_unaligned_access(CPUState *cs, vaddr addr, >>> + int is_write, int is_user, >>> uintptr_t retaddr) >>> { >>> -AlphaCPU *cpu = alpha_env_get_cpu

Re: [Qemu-devel] [PATCH 07/13] softmmu: make do_unaligned_access a method of CPU

2014-05-28 Thread Paolo Bonzini
Il 28/05/2014 19:20, Andreas Färber ha scritto: +void alpha_cpu_do_unaligned_access(CPUState *cs, vaddr addr, + int is_write, int is_user, uintptr_t retaddr) { -AlphaCPU *cpu = alpha_env_get_cpu(env); -CPUState *cs = CPU(cpu); +AlphaCPU *cpu = ALPHA

Re: [Qemu-devel] [PATCH 07/13] softmmu: make do_unaligned_access a method of CPU

2014-05-28 Thread Andreas Färber
Am 23.05.2014 17:20, schrieb Paolo Bonzini: > We will reference it from more files in the next patch. To avoid > ruining the small steps we're making towards multi-target, make > it a method of CPU rather than just a global. > > Signed-off-by: Paolo Bonzini > --- > include/exec/softmmu_template

[Qemu-devel] [PATCH 07/13] softmmu: make do_unaligned_access a method of CPU

2014-05-23 Thread Paolo Bonzini
We will reference it from more files in the next patch. To avoid ruining the small steps we're making towards multi-target, make it a method of CPU rather than just a global. Signed-off-by: Paolo Bonzini --- include/exec/softmmu_template.h | 30 ++ include/qom/cpu.