summaryrefslogtreecommitdiffstats
path: root/hw/mips.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-11-09 18:22:37 +0200
committerAvi Kivity <avi@redhat.com>2011-11-24 18:31:59 +0200
commit024e5bb664bda54b393e405f425f10fa9d3fbd1a (patch)
tree553848d0bcd5154fbb2a7a4535103d58871ad66a /hw/mips.h
parentdf182043ab53bb67445b8108b0253bd26995dc8d (diff)
downloadhqemu-024e5bb664bda54b393e405f425f10fa9d3fbd1a.zip
hqemu-024e5bb664bda54b393e405f425f10fa9d3fbd1a.tar.gz
dp8393x: convert to memory API
Fixes address space leak on hotunplug. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/mips.h')
-rw-r--r--hw/mips.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/mips.h b/hw/mips.h
index 84f4006..22156fc 100644
--- a/hw/mips.h
+++ b/hw/mips.h
@@ -25,6 +25,7 @@ void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
/* dp8393x.c */
void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
+ MemoryRegion *address_space,
qemu_irq irq, void* mem_opaque,
void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write));
OpenPOWER on IntegriCloud