aboutsummaryrefslogtreecommitdiff
path: root/hw/xilinx_timer.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-10-01 22:20:47 +0400
committermalc <av1474@comtv.ru>2009-10-01 22:45:02 +0400
commit99a0949b720a0936da2052cb9a46db04ffc6db29 (patch)
treef9e39633853e35b49fc4465337cc196b9650866e /hw/xilinx_timer.c
parentbc6291a1b95a2c4c546fde6e5cb4c68366f06649 (diff)
Get rid of _t suffix
Some not so obvious bits, slirp and Xen were left alone for the time being. Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/xilinx_timer.c')
-rw-r--r--hw/xilinx_timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/xilinx_timer.c b/hw/xilinx_timer.c
index e2d9541cda..68d6c1886e 100644
--- a/hw/xilinx_timer.c
+++ b/hw/xilinx_timer.c
@@ -66,7 +66,7 @@ struct timerblock
struct xlx_timer *timers;
};
-static inline unsigned int timer_from_addr(target_phys_addr_t addr)
+static inline unsigned int timer_from_addr(a_target_phys_addr addr)
{
/* Timers get a 4x32bit control reg area each. */
return addr >> 2;
@@ -86,7 +86,7 @@ static void timer_update_irq(struct timerblock *t)
qemu_set_irq(t->irq, !!irq);
}
-static uint32_t timer_readl (void *opaque, target_phys_addr_t addr)
+static uint32_t timer_readl (void *opaque, a_target_phys_addr addr)
{
struct timerblock *t = opaque;
struct xlx_timer *xt;
@@ -135,7 +135,7 @@ static void timer_enable(struct xlx_timer *xt)
}
static void
-timer_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
+timer_writel (void *opaque, a_target_phys_addr addr, uint32_t value)
{
struct timerblock *t = opaque;
struct xlx_timer *xt;