summaryrefslogtreecommitdiff
path: root/hw/syborg_virtio.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-10-01 16:12:16 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-01 16:12:16 -0500
commit76f1a06508ba2ae3766b2e885a3acd4fc0f3377b (patch)
tree39e92c2f818e3e8144978740b914731613af0e40 /hw/syborg_virtio.c
parent5be86926c66310373ee0f25efc9e151f2390201e (diff)
downloadqemu-76f1a06508ba2ae3766b2e885a3acd4fc0f3377b.tar.gz
qemu-76f1a06508ba2ae3766b2e885a3acd4fc0f3377b.tar.bz2
qemu-76f1a06508ba2ae3766b2e885a3acd4fc0f3377b.zip
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list. The naming convention is goofy and it causes a massive merge problem. Something like this _must_ be presented on the list first so people can provide input and cope with it. This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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;