summaryrefslogtreecommitdiff
path: root/hw/syborg_virtio.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/syborg_virtio.c')
-rw-r--r--hw/syborg_virtio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/syborg_virtio.c b/hw/syborg_virtio.c
index fbc50760cc..c1faf3d1a0 100644
--- a/hw/syborg_virtio.c
+++ b/hw/syborg_virtio.c
@@ -67,7 +67,7 @@ typedef struct {
uint32_t id;
} SyborgVirtIOProxy;
-static uint32_t syborg_virtio_readl(void *opaque, a_target_phys_addr offset)
+static uint32_t syborg_virtio_readl(void *opaque, target_phys_addr_t offset)
{
SyborgVirtIOProxy *s = opaque;
VirtIODevice *vdev = s->vdev;
@@ -116,7 +116,7 @@ static uint32_t syborg_virtio_readl(void *opaque, a_target_phys_addr offset)
return ret;
}
-static void syborg_virtio_writel(void *opaque, a_target_phys_addr offset,
+static void syborg_virtio_writel(void *opaque, target_phys_addr_t offset,
uint32_t value)
{
SyborgVirtIOProxy *s = opaque;
@@ -165,7 +165,7 @@ static void syborg_virtio_writel(void *opaque, a_target_phys_addr offset,
}
}
-static uint32_t syborg_virtio_readw(void *opaque, a_target_phys_addr offset)
+static uint32_t syborg_virtio_readw(void *opaque, target_phys_addr_t offset)
{
SyborgVirtIOProxy *s = opaque;
VirtIODevice *vdev = s->vdev;
@@ -178,7 +178,7 @@ static uint32_t syborg_virtio_readw(void *opaque, a_target_phys_addr offset)
return -1;
}
-static void syborg_virtio_writew(void *opaque, a_target_phys_addr offset,
+static void syborg_virtio_writew(void *opaque, target_phys_addr_t offset,
uint32_t value)
{
SyborgVirtIOProxy *s = opaque;
@@ -192,7 +192,7 @@ static void syborg_virtio_writew(void *opaque, a_target_phys_addr offset,
BADF("Bad halfword write offset 0x%x\n", (int)offset);
}
-static uint32_t syborg_virtio_readb(void *opaque, a_target_phys_addr offset)
+static uint32_t syborg_virtio_readb(void *opaque, target_phys_addr_t offset)
{
SyborgVirtIOProxy *s = opaque;
VirtIODevice *vdev = s->vdev;
@@ -205,7 +205,7 @@ static uint32_t syborg_virtio_readb(void *opaque, a_target_phys_addr offset)
return -1;
}
-static void syborg_virtio_writeb(void *opaque, a_target_phys_addr offset,
+static void syborg_virtio_writeb(void *opaque, target_phys_addr_t offset,
uint32_t value)
{
SyborgVirtIOProxy *s = opaque;