Re: [Qemu-devel] [PATCH v4 34/35] target-alpha: Introduce MMU_PHYS_IDX

2016-10-04 Thread Emilio G. Cota
On Fri, Sep 16, 2016 at 10:46:56 -0700, Richard Henderson wrote: (snip) > - QEMU does not currently properly distinguish between code/data when > - looking up addresses. To avoid having to address this issue, our > - emulated PALcode will cheat and use the KSEG mapping for its code+data > -

[Qemu-devel] [PATCH v4 34/35] target-alpha: Introduce MMU_PHYS_IDX

2016-09-16 Thread Richard Henderson
Rather than using helpers for physical accesses, use a mmu index. The primary cleanup is with store-conditional on physical addresses. Signed-off-by: Richard Henderson --- target-alpha/cpu.h| 18 +--- target-alpha/helper.c | 8 ++ target-alpha/helper.h | 9 -- t