summaryrefslogtreecommitdiff
path: root/include/exec/memory-internal.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-05-24 13:23:38 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-05-29 16:26:56 +0200
commitd197063fcf969e1269dc53c9c9e9a073f87aa3b4 (patch)
tree5849684d4b942f7b91d55c5caa538b8f632a8600 /include/exec/memory-internal.h
parent149f54b53b7666a3facd45e86eece60ce7d3b114 (diff)
downloadqemu-d197063fcf969e1269dc53c9c9e9a073f87aa3b4.tar.gz
memory: move unassigned_mem_ops to memory.c
reservation_ops is already doing the same thing. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/memory-internal.h')
-rw-r--r--include/exec/memory-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/exec/memory-internal.h b/include/exec/memory-internal.h
index 8d15f90417..c18b36cd15 100644
--- a/include/exec/memory-internal.h
+++ b/include/exec/memory-internal.h
@@ -43,6 +43,8 @@ struct AddressSpaceDispatch {
void address_space_init_dispatch(AddressSpace *as);
void address_space_destroy_dispatch(AddressSpace *as);
+extern const MemoryRegionOps unassigned_mem_ops;
+
ram_addr_t qemu_ram_alloc_from_ptr(ram_addr_t size, void *host,
MemoryRegion *mr);
ram_addr_t qemu_ram_alloc(ram_addr_t size, MemoryRegion *mr);