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/sparc32_dma.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/sparc32_dma.c')
-rw-r--r-- | hw/sparc32_dma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/sparc32_dma.c b/hw/sparc32_dma.c index 1a297b939f..aca37706f1 100644 --- a/hw/sparc32_dma.c +++ b/hw/sparc32_dma.c @@ -70,7 +70,7 @@ struct DMAState { }; /* Note: on sparc, the lance 16 bit bus is swapped */ -void ledma_memory_read(void *opaque, a_target_phys_addr addr, +void ledma_memory_read(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int do_bswap) { DMAState *s = opaque; @@ -91,7 +91,7 @@ void ledma_memory_read(void *opaque, a_target_phys_addr addr, } } -void ledma_memory_write(void *opaque, a_target_phys_addr addr, +void ledma_memory_write(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int do_bswap) { DMAState *s = opaque; @@ -157,7 +157,7 @@ void espdma_memory_write(void *opaque, uint8_t *buf, int len) s->dmaregs[1] += len; } -static uint32_t dma_mem_readl(void *opaque, a_target_phys_addr addr) +static uint32_t dma_mem_readl(void *opaque, target_phys_addr_t addr) { DMAState *s = opaque; uint32_t saddr; @@ -169,7 +169,7 @@ static uint32_t dma_mem_readl(void *opaque, a_target_phys_addr addr) return s->dmaregs[saddr]; } -static void dma_mem_writel(void *opaque, a_target_phys_addr addr, uint32_t val) +static void dma_mem_writel(void *opaque, target_phys_addr_t addr, uint32_t val) { DMAState *s = opaque; uint32_t saddr; |