qemu-patch-raspberry4/include
Paolo Bonzini e7a09b92b7 osdep: introduce qemu_anon_ram_free to free qemu_anon_ram_alloc-ed memory
We switched from qemu_memalign to mmap() but then we don't modify
qemu_vfree() to do a munmap() over free().  Which we cannot do
because qemu_vfree() frees memory allocated by qemu_{mem,block}align.

Introduce a new function that does the munmap(), luckily the size is
available in the RAMBlock.

Reported-by: Amos Kong <akong@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Message-id: 1368454796-14989-3-git-send-email-pbonzini@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-05-14 08:53:31 -05:00
..
block
disas
exec
fpu
hw
migration
monitor
net
qapi
qemu osdep: introduce qemu_anon_ram_free to free qemu_anon_ram_alloc-ed memory 2013-05-14 08:53:31 -05:00
qom qom: aggressively optimize qom casting 2013-05-13 15:27:18 -05:00
sysemu osdep, kvm: rename low-level RAM allocation functions 2013-05-14 08:53:31 -05:00
ui
config.h
elf.h
glib-compat.h
libfdt_env.h
qemu-common.h portability: pty.h is glibc-specific 2013-05-14 08:53:18 -05:00
trace.h