summaryrefslogtreecommitdiff
path: root/hw/pl050.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl050.c')
-rw-r--r--hw/pl050.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pl050.c b/hw/pl050.c
index c89456fa78..a47786cb0a 100644
--- a/hw/pl050.c
+++ b/hw/pl050.c
@@ -43,7 +43,7 @@ static void pl050_update(void *opaque, int level)
qemu_set_irq(s->irq, raise);
}
-static uint32_t pl050_read(void *opaque, a_target_phys_addr offset)
+static uint32_t pl050_read(void *opaque, target_phys_addr_t offset)
{
pl050_state *s = (pl050_state *)opaque;
if (offset >= 0xfe0 && offset < 0x1000)
@@ -84,7 +84,7 @@ static uint32_t pl050_read(void *opaque, a_target_phys_addr offset)
}
}
-static void pl050_write(void *opaque, a_target_phys_addr offset,
+static void pl050_write(void *opaque, target_phys_addr_t offset,
uint32_t value)
{
pl050_state *s = (pl050_state *)opaque;