aboutsummaryrefslogtreecommitdiff
path: root/hw/stellaris.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/stellaris.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/stellaris.c')
-rw-r--r--hw/stellaris.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/hw/stellaris.c b/hw/stellaris.c
index bcde0a2977..3fd9300e48 100644
--- a/hw/stellaris.c
+++ b/hw/stellaris.c
@@ -140,7 +140,7 @@ static void gptm_tick(void *opaque)
gptm_update_irq(s);
}
-static uint32_t gptm_read(void *opaque, target_phys_addr_t offset)
+static uint32_t gptm_read(void *opaque, a_target_phys_addr offset)
{
gptm_state *s = (gptm_state *)opaque;
@@ -188,7 +188,7 @@ static uint32_t gptm_read(void *opaque, target_phys_addr_t offset)
}
}
-static void gptm_write(void *opaque, target_phys_addr_t offset, uint32_t value)
+static void gptm_write(void *opaque, a_target_phys_addr offset, uint32_t value)
{
gptm_state *s = (gptm_state *)opaque;
uint32_t oldval;
@@ -422,7 +422,7 @@ static uint32_t pllcfg_fury[16] = {
0xb11c /* 8.192 Mhz */
};
-static uint32_t ssys_read(void *opaque, target_phys_addr_t offset)
+static uint32_t ssys_read(void *opaque, a_target_phys_addr offset)
{
ssys_state *s = (ssys_state *)opaque;
@@ -508,7 +508,7 @@ static void ssys_calculate_system_clock(ssys_state *s)
system_clock_scale = 5 * (((s->rcc >> 23) & 0xf) + 1);
}
-static void ssys_write(void *opaque, target_phys_addr_t offset, uint32_t value)
+static void ssys_write(void *opaque, a_target_phys_addr offset, uint32_t value)
{
ssys_state *s = (ssys_state *)opaque;
@@ -701,7 +701,7 @@ typedef struct {
#define STELLARIS_I2C_MCS_IDLE 0x20
#define STELLARIS_I2C_MCS_BUSBSY 0x40
-static uint32_t stellaris_i2c_read(void *opaque, target_phys_addr_t offset)
+static uint32_t stellaris_i2c_read(void *opaque, a_target_phys_addr offset)
{
stellaris_i2c_state *s = (stellaris_i2c_state *)opaque;
@@ -737,7 +737,7 @@ static void stellaris_i2c_update(stellaris_i2c_state *s)
qemu_set_irq(s->irq, level);
}
-static void stellaris_i2c_write(void *opaque, target_phys_addr_t offset,
+static void stellaris_i2c_write(void *opaque, a_target_phys_addr offset,
uint32_t value)
{
stellaris_i2c_state *s = (stellaris_i2c_state *)opaque;
@@ -1009,7 +1009,7 @@ static void stellaris_adc_reset(stellaris_adc_state *s)
}
}
-static uint32_t stellaris_adc_read(void *opaque, target_phys_addr_t offset)
+static uint32_t stellaris_adc_read(void *opaque, a_target_phys_addr offset)
{
stellaris_adc_state *s = (stellaris_adc_state *)opaque;
@@ -1056,7 +1056,7 @@ static uint32_t stellaris_adc_read(void *opaque, target_phys_addr_t offset)
}
}
-static void stellaris_adc_write(void *opaque, target_phys_addr_t offset,
+static void stellaris_adc_write(void *opaque, a_target_phys_addr offset,
uint32_t value)
{
stellaris_adc_state *s = (stellaris_adc_state *)opaque;
@@ -1412,7 +1412,7 @@ static void stellaris_init(const char *kernel_filename, const char *cpu_model,
}
/* FIXME: Figure out how to generate these from stellaris_boards. */
-static void lm3s811evb_init(ram_addr_t ram_size,
+static void lm3s811evb_init(a_ram_addr ram_size,
const char *boot_device,
const char *kernel_filename, const char *kernel_cmdline,
const char *initrd_filename, const char *cpu_model)
@@ -1420,7 +1420,7 @@ static void lm3s811evb_init(ram_addr_t ram_size,
stellaris_init(kernel_filename, cpu_model, &stellaris_boards[0]);
}
-static void lm3s6965evb_init(ram_addr_t ram_size,
+static void lm3s6965evb_init(a_ram_addr ram_size,
const char *boot_device,
const char *kernel_filename, const char *kernel_cmdline,
const char *initrd_filename, const char *cpu_model)