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_jazz.c | |
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_jazz.c')
-rw-r--r-- | hw/mips_jazz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c index e1db841bf5..358de599b0 100644 --- a/hw/mips_jazz.c +++ b/hw/mips_jazz.c @@ -227,7 +227,7 @@ static void mips_jazz_init(MemoryRegion *address_space, if (!nd->model) nd->model = g_strdup("dp83932"); if (strcmp(nd->model, "dp83932") == 0) { - dp83932_init(nd, 0x80001000, 2, rc4030[4], + dp83932_init(nd, 0x80001000, 2, get_system_memory(), rc4030[4], rc4030_opaque, rc4030_dma_memory_rw); break; } else if (strcmp(nd->model, "?") == 0) { |