diff options
| author | Murilo Opsfelder Araujo <muriloo@linux.ibm.com> | 2019-01-30 21:36:04 -0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2019-02-05 10:58:33 -0500 |
| commit | 94af9e34821c5c47a3c69fe242e32d0b33c2fff6 (patch) | |
| tree | 4e0200ccc4c551f78fca154740fd468720240bfe /hw/intc/xive.c | |
| parent | 009180bd49ad8851258acecfb109fc3aa2f480ad (diff) | |
| download | focaccia-qemu-94af9e34821c5c47a3c69fe242e32d0b33c2fff6.tar.gz focaccia-qemu-94af9e34821c5c47a3c69fe242e32d0b33c2fff6.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: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'hw/intc/xive.c')
0 files changed, 0 insertions, 0 deletions