mbox series

[v3,0/3] user: Extract common MMAP API to 'user/mmap.h'

Message ID 20250307130951.4816-1-philmd@linaro.org
Headers show
Series user: Extract common MMAP API to 'user/mmap.h' | expand

Message

Philippe Mathieu-Daudé March 7, 2025, 1:09 p.m. UTC
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     |  2 +-
 bsd-user/qemu.h        | 12 +-----------
 include/user/mmap.h    | 32 ++++++++++++++++++++++++++++++++
 linux-user/user-mmap.h | 19 ++-----------------
 bsd-user/mmap.c        | 19 +++++++------------
 5 files changed, 43 insertions(+), 41 deletions(-)
 create mode 100644 include/user/mmap.h