Re: [PATCH 3/5] include: Move QEMU_MAP_* constants to mmap-alloc.h

2022-02-08 Thread Richard Henderson
On 2/9/22 07:08, Peter Maydell wrote: The QEMU_MAP_* constants are used only as arguments to the qemu_ram_mmap() function. Move them to mmap-alloc.h, where that function's prototype is defined. Signed-off-by: Peter Maydell --- include/qemu/mmap-alloc.h | 23 +++ include/q

[PATCH 3/5] include: Move QEMU_MAP_* constants to mmap-alloc.h

2022-02-08 Thread Peter Maydell
The QEMU_MAP_* constants are used only as arguments to the qemu_ram_mmap() function. Move them to mmap-alloc.h, where that function's prototype is defined. Signed-off-by: Peter Maydell --- include/qemu/mmap-alloc.h | 23 +++ include/qemu/osdep.h | 25 ---