On 18 May 2015 at 19:37, Richard Henderson <r...@twiddle.net> wrote: > Aside from target_ulong addr, there's also TARGET_PAGE_MASK, TARGET_PAGE_SIZE, > TARGET_PAGE_BITS, CPU_TLB_SIZE. What's our position on the compatibility of > the mmu between the multi-arch platforms? I assume at the moment they must be > all the same?
In the general case we have to support these being different between different CPUs... > Of course, I've mentioned before that ARM might well benefit from having these > values be variable and not constant at all. Primarily because of the armv5 1K > pages affecting aarch64. Yes, it would be nice if we got a variable TARGET_PAGE_SIZE. (Also true for 32-bit ARMv7, for that matter.) -- PMM