On Friday 21 September 2007, Edgar E. Iglesias wrote: > Hello, > > I'm working on a new target port and the linux-user emulation is fairly > functional and passing quite extensive test-suites. > > I've got a problem though, my target has 8K page sizes, so for example when > running on a x86 host TARGET_PAGE_SIZE > host page size. > > I'm not very familiar with linux-user/mmap.c, but I though I'd let you know > that with this patch things seem to be working fine for me. I am not sure > if the patch is correct so if anyone with more experience sees an obvious > flaw I'd appreciate to know.
qemu_host_page_size is always >= TARGET_PAGE_SIZE. See exec.c. There are several existing target that have >4k page sizes. Paul