unicorn/qemu/util
Murilo Opsfelder Araujo 22e3feb162
mmap-alloc: unfold qemu_ram_mmap()
Unfold parts of qemu_ram_mmap() for the sake of understanding, moving
declarations to the top, and keeping architecture-specifics in the
ifdef-else blocks. No changes in the function behaviour.

Give ptr and ptr1 meaningful names:
ptr -> guardptr : pointer to the PROT_NONE guard region
ptr1 -> ptr : pointer to the mapped memory returned to caller

Backports commit 2044c3e7116eeac0449dcb4a4130cc8f8b9310da from qemu
2019-02-05 16:49:47 -05:00
..
bitmap.c bitmap: provide to_le/from_le helpers 2018-03-05 01:11:13 -05:00
bitops.c i386: Fix up the Node id for CPUID_8000_001E 2018-07-03 00:31:38 -04:00
cacheinfo.c configure: Drop AIX host support 2018-03-04 21:32:40 -05:00
crc32c.c util: Clean up includes 2018-02-19 01:27:55 -05:00
cutils.c cutils: Fix qemu_strtosz() & friends to reject non-finite sizes 2018-12-18 04:48:12 -05:00
error.c include/qemu/osdep.h: Don't include qapi/error.h 2018-02-21 23:08:18 -05:00
getauxval.c util: Clean up includes 2018-02-19 01:27:55 -05:00
host-utils.c util: Clean up includes 2018-02-19 01:27:55 -05:00
log.c util: Move qemu-log to utils 2018-02-25 22:17:44 -05:00
Makefile.objs membarrier: add --enable-membarrier 2018-03-17 19:30:43 -04:00
mmap-alloc.c mmap-alloc: unfold qemu_ram_mmap() 2019-02-05 16:49:47 -05:00
module.c util: Clean up includes 2018-02-19 01:27:55 -05:00
oslib-posix.c Haiku support patches (#989) 2018-09-03 07:55:51 -04:00
oslib-win32.c util: move declarations out of qemu-common.h 2018-02-22 09:25:48 -05:00
qemu-error.c util: Clean up includes 2018-02-19 01:27:55 -05:00
qemu-thread-posix.c qemu-thread: Don't block SEGV, ILL and FPE 2019-01-13 19:50:32 -05:00
qemu-thread-win32.c qemu-thread-win32: Prevent null pointer dereference in win32_start_routine 2018-03-21 12:42:44 -04:00
qemu-timer-common.c util: Clean up includes 2018-02-19 01:27:55 -05:00
range.c Don't talk about the LGPL if the file is licensed under the GPL 2019-02-03 17:55:28 -05:00
sys_membarrier.c membarrier: add --enable-membarrier 2018-03-17 19:30:43 -04:00