diff options
| author | Paolo Bonzini | 2013-05-24 13:23:38 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2013-05-29 16:26:56 +0200 |
| commit | d197063fcf969e1269dc53c9c9e9a073f87aa3b4 (patch) | |
| tree | 5849684d4b942f7b91d55c5caa538b8f632a8600 /include/exec | |
| parent | memory: add address_space_translate (diff) | |
| download | qemu-d197063fcf969e1269dc53c9c9e9a073f87aa3b4.tar.gz qemu-d197063fcf969e1269dc53c9c9e9a073f87aa3b4.tar.xz qemu-d197063fcf969e1269dc53c9c9e9a073f87aa3b4.zip | |
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')
| -rw-r--r-- | include/exec/memory-internal.h | 2 |
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); |
