Since v2:
- Addressed rth's comments
Since v1:
- Propagate alignment argument to BSD's mmap_find_vma()
Philippe Mathieu-Daudé (3):
bsd-user: Always use mmap_find_vma_aligned() in target_mmap()
bsd-user: Propagate alignment argument to mmap_find_vma()
user: Extract common MMAP API to 'user/mmap.h'
bsd-user/bsd-mem.h | 4 +++-
bsd-user/qemu.h | 12 +-----------
include/user/mmap.h | 32 ++++++++++++++++++++++++++++++++
linux-user/user-mmap.h | 19 ++-----------------
bsd-user/mmap.c | 17 +++++------------
5 files changed, 43 insertions(+), 41 deletions(-)
create mode 100644 include/user/mmap.h
--
2.47.1