mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
dp8393x: convert to memory API
Fixes address space leak on hotunplug. Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
df182043ab
commit
024e5bb664
3 changed files with 17 additions and 16 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue