aboutsummaryrefslogtreecommitdiff
path: root/exec-obsolete.h
diff options
context:
space:
mode:
Diffstat (limited to 'exec-obsolete.h')
-rw-r--r--exec-obsolete.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/exec-obsolete.h b/exec-obsolete.h
index e08e7504da..f8af27ed1a 100644
--- a/exec-obsolete.h
+++ b/exec-obsolete.h
@@ -31,9 +31,8 @@ ram_addr_t qemu_ram_alloc(ram_addr_t size, MemoryRegion *mr);
void qemu_ram_free(ram_addr_t addr);
void qemu_ram_free_from_ptr(ram_addr_t addr);
-int cpu_register_io_memory(CPUReadMemoryFunc * const *mem_read,
- CPUWriteMemoryFunc * const *mem_write,
- void *opaque);
+struct MemoryRegion;
+int cpu_register_io_memory(MemoryRegion *mr);
void cpu_unregister_io_memory(int table_address);
struct MemoryRegionSection;