Many of these should be cleaned up with proper qdev-/QOM-ification. Right now there are many catch-all headers in include/hw/ARCH depending on cpu.h, and this makes it necessary to compile these files per-target. However, fixing this does not belong in these patches. Signed-off-by: Paolo Bonzini <pbonzini@redhat.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
 |