diff options
author | Avi Kivity <avi@redhat.com> | 2011-11-09 18:22:37 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-24 18:31:59 +0200 |
commit | 024e5bb664bda54b393e405f425f10fa9d3fbd1a (patch) | |
tree | 553848d0bcd5154fbb2a7a4535103d58871ad66a /hw/mips.h | |
parent | df182043ab53bb67445b8108b0253bd26995dc8d (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)); |