aboutsummaryrefslogtreecommitdiffstats
path: root/hw/syborg_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/syborg_serial.c')
-rw-r--r--hw/syborg_serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/syborg_serial.c b/hw/syborg_serial.c
index 0b226e232..cac00eac0 100644
--- a/hw/syborg_serial.c
+++ b/hw/syborg_serial.c
@@ -152,7 +152,7 @@ static void dma_rx_start(SyborgSerialState *s, uint32_t len)
syborg_serial_update(s);
}
-static uint32_t syborg_serial_read(void *opaque, a_target_phys_addr offset)
+static uint32_t syborg_serial_read(void *opaque, target_phys_addr_t offset)
{
SyborgSerialState *s = (SyborgSerialState *)opaque;
uint32_t c;
@@ -191,7 +191,7 @@ static uint32_t syborg_serial_read(void *opaque, a_target_phys_addr offset)
}
}
-static void syborg_serial_write(void *opaque, a_target_phys_addr offset,
+static void syborg_serial_write(void *opaque, target_phys_addr_t offset,
uint32_t value)
{
SyborgSerialState *s = (SyborgSerialState *)opaque;