Re: [Qemu-devel] [PATCH 2/6] target/m68k: add MC68040 MMU

2018-01-12 Thread Laurent Vivier
Le 10/01/2018 à 21:12, Richard Henderson a écrit : > On 01/08/2018 03:10 PM, Laurent Vivier wrote: >> +static int get_physical_address(CPUM68KState *env, hwaddr *physical, >> +int *prot, target_ulong address, >> +int access_type, targe

Re: [Qemu-devel] [PATCH 2/6] target/m68k: add MC68040 MMU

2018-01-10 Thread Richard Henderson
On 01/08/2018 03:10 PM, Laurent Vivier wrote: > +static int get_physical_address(CPUM68KState *env, hwaddr *physical, > +int *prot, target_ulong address, > +int access_type, target_ulong *page_size) > +{ > +M68kCPU *cpu = m68k_env_

[Qemu-devel] [PATCH 2/6] target/m68k: add MC68040 MMU

2018-01-08 Thread Laurent Vivier
Only add MC68040 MMU page table processing and related registers (Special Status Word, Translation Control Register, User Root Pointer and Supervisor Root Pointer). Transparent Translation Registers, DFC/SFC and pflush/ptest will be added later. Signed-off-by: Laurent Vivier --- target/m68k/cpu