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

Philippe Mathieu-Daudé posted 3 patches 3 weeks, 4 days ago
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
[PATCH v4 0/3] user: Extract common MMAP API to 'user/mmap.h'
Posted by Philippe Mathieu-Daudé 3 weeks, 4 days ago
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


Re: [PATCH v4 0/3] user: Extract common MMAP API to 'user/mmap.h'
Posted by Philippe Mathieu-Daudé 3 weeks, 3 days ago
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.