diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-01 16:12:16 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-01 16:12:16 -0500 |
commit | c227f0995e1722a1abccc28cadf0664266bd8043 (patch) | |
tree | 39e92c2f818e3e8144978740b914731613af0e40 /hw/zaurus.c | |
parent | 99a0949b720a0936da2052cb9a46db04ffc6db29 (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/zaurus.c')
-rw-r--r-- | hw/zaurus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/zaurus.c b/hw/zaurus.c index 4ad84ee1ff..db6ba75ced 100644 --- a/hw/zaurus.c +++ b/hw/zaurus.c @@ -66,7 +66,7 @@ static inline void scoop_gpio_handler_update(ScoopInfo *s) { s->prev_level = level; } -static uint32_t scoop_readb(void *opaque, a_target_phys_addr addr) +static uint32_t scoop_readb(void *opaque, target_phys_addr_t addr) { ScoopInfo *s = (ScoopInfo *) opaque; @@ -99,7 +99,7 @@ static uint32_t scoop_readb(void *opaque, a_target_phys_addr addr) return 0; } -static void scoop_writeb(void *opaque, a_target_phys_addr addr, uint32_t value) +static void scoop_writeb(void *opaque, target_phys_addr_t addr, uint32_t value) { ScoopInfo *s = (ScoopInfo *) opaque; value &= 0xffff; @@ -217,7 +217,7 @@ static int scoop_load(QEMUFile *f, void *opaque, int version_id) ScoopInfo *scoop_init(PXA2xxState *cpu, int instance, - a_target_phys_addr target_base) { + target_phys_addr_t target_base) { int iomemtype; ScoopInfo *s; @@ -270,7 +270,7 @@ static struct __attribute__ ((__packed__)) sl_param_info { .phadadj = 0x01, }; -void sl_bootparam_write(a_target_phys_addr ptr) +void sl_bootparam_write(target_phys_addr_t ptr) { cpu_physical_memory_write(ptr, (void *)&zaurus_bootparam, sizeof(struct sl_param_info)); |