aboutsummaryrefslogtreecommitdiff
path: root/hw/mcf5208.c
diff options
context:
space:
mode:
authorBenoît Canet <benoit.canet@gmail.com>2011-11-24 14:31:15 +0100
committerAvi Kivity <avi@redhat.com>2011-11-28 15:38:42 +0200
commit663d94467a9c2895754dc4bfd7232db08b3373ad (patch)
tree4546576ed88d79d4e2186590868ba19b418743fd /hw/mcf5208.c
parentc65fc1dff328f0964bf148efa3603c4992a609fc (diff)
downloadqemu-663d94467a9c2895754dc4bfd7232db08b3373ad.zip
qemu-663d94467a9c2895754dc4bfd7232db08b3373ad.tar.gz
qemu-663d94467a9c2895754dc4bfd7232db08b3373ad.tar.bz2
mcf_intc: convert to memory API
Signed-off-by: Benoît Canet <benoit.canet@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/mcf5208.c')
-rw-r--r--hw/mcf5208.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mcf5208.c b/hw/mcf5208.c
index e03d80b..ec608a1 100644
--- a/hw/mcf5208.c
+++ b/hw/mcf5208.c
@@ -221,7 +221,7 @@ static void mcf5208evb_init(ram_addr_t ram_size,
memory_region_add_subregion(address_space_mem, 0x80000000, sram);
/* Internal peripherals. */
- pic = mcf_intc_init(0xfc048000, env);
+ pic = mcf_intc_init(address_space_mem, 0xfc048000, env);
mcf_uart_mm_init(address_space_mem, 0xfc060000, pic[26], serial_hds[0]);
mcf_uart_mm_init(address_space_mem, 0xfc064000, pic[27], serial_hds[1]);