On Sun, Jun 24, 2012 at 8:34 PM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 24 June 2012 21:18, Blue Swirl <blauwir...@gmail.com> wrote: >> Link in oslib objects also for BSD user, but avoid using the version of >> qemu_vmalloc() defined in oslib-posix.c. > > Do you happen to know why bsd-user has its own implementation of > qemu_vmalloc() but linux-user doesn't? Discrepancies between the > two make me mildly uneasy...
2e9a5713f0567fffaa3518f495b8d16a2b74f84a removed PAGE_RESERVED bits from linux-user but not from bsd-user. page_init() in exec.c builds a map of reserved pages which are then checked by qemu_vmalloc(). Actually I'm not sure how linux-user works and why is/was this ever needed. > > -- PMM