aboutsummaryrefslogtreecommitdiff
path: root/hw/smc91c111.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
commitc227f0995e1722a1abccc28cadf0664266bd8043 (patch)
tree39e92c2f818e3e8144978740b914731613af0e40 /hw/smc91c111.c
parent99a0949b720a0936da2052cb9a46db04ffc6db29 (diff)
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/smc91c111.c')
-rw-r--r--hw/smc91c111.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/smc91c111.c b/hw/smc91c111.c
index bc8e6c1bec..a08bdb0a59 100644
--- a/hw/smc91c111.c
+++ b/hw/smc91c111.c
@@ -245,7 +245,7 @@ static void smc91c111_reset(smc91c111_state *s)
#define SET_LOW(name, val) s->name = (s->name & 0xff00) | val
#define SET_HIGH(name, val) s->name = (s->name & 0xff) | (val << 8)
-static void smc91c111_writeb(void *opaque, a_target_phys_addr offset,
+static void smc91c111_writeb(void *opaque, target_phys_addr_t offset,
uint32_t value)
{
smc91c111_state *s = (smc91c111_state *)opaque;
@@ -417,7 +417,7 @@ static void smc91c111_writeb(void *opaque, a_target_phys_addr offset,
hw_error("smc91c111_write: Bad reg %d:%x\n", s->bank, (int)offset);
}
-static uint32_t smc91c111_readb(void *opaque, a_target_phys_addr offset)
+static uint32_t smc91c111_readb(void *opaque, target_phys_addr_t offset)
{
smc91c111_state *s = (smc91c111_state *)opaque;
@@ -558,14 +558,14 @@ static uint32_t smc91c111_readb(void *opaque, a_target_phys_addr offset)
return 0;
}
-static void smc91c111_writew(void *opaque, a_target_phys_addr offset,
+static void smc91c111_writew(void *opaque, target_phys_addr_t offset,
uint32_t value)
{
smc91c111_writeb(opaque, offset, value & 0xff);
smc91c111_writeb(opaque, offset + 1, value >> 8);
}
-static void smc91c111_writel(void *opaque, a_target_phys_addr offset,
+static void smc91c111_writel(void *opaque, target_phys_addr_t offset,
uint32_t value)
{
/* 32-bit writes to offset 0xc only actually write to the bank select
@@ -575,7 +575,7 @@ static void smc91c111_writel(void *opaque, a_target_phys_addr offset,
smc91c111_writew(opaque, offset + 2, value >> 16);
}
-static uint32_t smc91c111_readw(void *opaque, a_target_phys_addr offset)
+static uint32_t smc91c111_readw(void *opaque, target_phys_addr_t offset)
{
uint32_t val;
val = smc91c111_readb(opaque, offset);
@@ -583,7 +583,7 @@ static uint32_t smc91c111_readw(void *opaque, a_target_phys_addr offset)
return val;
}
-static uint32_t smc91c111_readl(void *opaque, a_target_phys_addr offset)
+static uint32_t smc91c111_readl(void *opaque, target_phys_addr_t offset)
{
uint32_t val;
val = smc91c111_readw(opaque, offset);