mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 15:00:34 +00:00
a8170e5e97
target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are reserved) and its purpose doesn't match the name (most target_phys_addr_t addresses are not target specific). Replace it with a finger-friendly, standards conformant hwaddr. Outstanding patchsets can be fixed up with the command git rebase -i --exec 'find -name "*.[ch]" | xargs s/target_phys_addr_t/hwaddr/g' origin Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
13 lines
422 B
C
13 lines
422 B
C
#ifndef SPARC32_DMA_H
|
|
#define SPARC32_DMA_H
|
|
|
|
/* sparc32_dma.c */
|
|
void ledma_memory_read(void *opaque, hwaddr addr,
|
|
uint8_t *buf, int len, int do_bswap);
|
|
void ledma_memory_write(void *opaque, hwaddr addr,
|
|
uint8_t *buf, int len, int do_bswap);
|
|
void espdma_memory_read(void *opaque, uint8_t *buf, int len);
|
|
void espdma_memory_write(void *opaque, uint8_t *buf, int len);
|
|
|
|
#endif
|