summaryrefslogtreecommitdiff
path: root/memory.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-08-26 00:35:15 +0300
committerAvi Kivity <avi@redhat.com>2011-08-26 00:35:15 +0300
commit75f5941cb583712b37a557ce61b95eeba91f520e (patch)
tree8a6f35f50b7f39607b79c4a4c208f4d3b362a083 /memory.h
parent7bc2b9cd4da5020b9adff3b3c8fdc04d6bcde79a (diff)
downloadqemu-75f5941cb583712b37a557ce61b95eeba91f520e.tar.gz
qemu-75f5941cb583712b37a557ce61b95eeba91f520e.tar.bz2
qemu-75f5941cb583712b37a557ce61b95eeba91f520e.zip
memory: add opaque parameter to memory_region_init_rom_device()
The MemoryRegionOps callbacks expect it. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'memory.h')
-rw-r--r--memory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/memory.h b/memory.h
index 0553cc7526..06b83ae76b 100644
--- a/memory.h
+++ b/memory.h
@@ -235,6 +235,7 @@ void memory_region_init_alias(MemoryRegion *mr,
*/
void memory_region_init_rom_device(MemoryRegion *mr,
const MemoryRegionOps *ops,
+ void *opaque,
DeviceState *dev, /* FIXME: layering violation */
const char *name,
uint64_t size);