mbox series

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

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

Message

Philippe Mathieu-Daudé March 8, 2025, 12:28 p.m. UTC
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

Comments

Philippe Mathieu-Daudé March 9, 2025, 12:10 p.m. UTC | #1
On 8/3/25 13:28, Philippe Mathieu-Daudé wrote:

> 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'

Series queued, thanks.