summaryrefslogtreecommitdiff
path: root/hw/hpet.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/hpet.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/hpet.c')
-rw-r--r--hw/hpet.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/hpet.c b/hw/hpet.c
index a51741305e..c1ead34446 100644
--- a/hw/hpet.c
+++ b/hw/hpet.c
@@ -270,20 +270,20 @@ static void hpet_del_timer(HPETTimer *t)
}
#ifdef HPET_DEBUG
-static uint32_t hpet_ram_readb(void *opaque, a_target_phys_addr addr)
+static uint32_t hpet_ram_readb(void *opaque, target_phys_addr_t addr)
{
printf("qemu: hpet_read b at %" PRIx64 "\n", addr);
return 0;
}
-static uint32_t hpet_ram_readw(void *opaque, a_target_phys_addr addr)
+static uint32_t hpet_ram_readw(void *opaque, target_phys_addr_t addr)
{
printf("qemu: hpet_read w at %" PRIx64 "\n", addr);
return 0;
}
#endif
-static uint32_t hpet_ram_readl(void *opaque, a_target_phys_addr addr)
+static uint32_t hpet_ram_readl(void *opaque, target_phys_addr_t addr)
{
HPETState *s = (HPETState *)opaque;
uint64_t cur_tick, index;
@@ -350,14 +350,14 @@ static uint32_t hpet_ram_readl(void *opaque, a_target_phys_addr addr)
}
#ifdef HPET_DEBUG
-static void hpet_ram_writeb(void *opaque, a_target_phys_addr addr,
+static void hpet_ram_writeb(void *opaque, target_phys_addr_t addr,
uint32_t value)
{
printf("qemu: invalid hpet_write b at %" PRIx64 " = %#x\n",
addr, value);
}
-static void hpet_ram_writew(void *opaque, a_target_phys_addr addr,
+static void hpet_ram_writew(void *opaque, target_phys_addr_t addr,
uint32_t value)
{
printf("qemu: invalid hpet_write w at %" PRIx64 " = %#x\n",
@@ -365,7 +365,7 @@ static void hpet_ram_writew(void *opaque, a_target_phys_addr addr,
}
#endif
-static void hpet_ram_writel(void *opaque, a_target_phys_addr addr,
+static void hpet_ram_writel(void *opaque, target_phys_addr_t addr,
uint32_t value)
{
int i;