summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMurilo Opsfelder Araujo2019-01-31 00:36:04 +0100
committerDavid Gibson2019-02-04 08:44:20 +0100
commit2044c3e7116eeac0449dcb4a4130cc8f8b9310da (patch)
tree05b5e5a1d5450729bfc8d54c231a7c4ebe27397a /include
parenthw/ppc: Don't include m48t59.h if it is not necessary (diff)
downloadqemu-2044c3e7116eeac0449dcb4a4130cc8f8b9310da.tar.gz
qemu-2044c3e7116eeac0449dcb4a4130cc8f8b9310da.tar.xz
qemu-2044c3e7116eeac0449dcb4a4130cc8f8b9310da.zip
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 Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions