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>
		
			
				
	
	
		
			11 lines
		
	
	
		
			352 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			352 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * Support for dma_addr_t typed properties
 | 
						|
 *
 | 
						|
 * Copyright (C) 2012 David Gibson, IBM Corporation.
 | 
						|
 *
 | 
						|
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 | 
						|
 * See the COPYING file in the top-level directory.
 | 
						|
 */
 | 
						|
#define DEFINE_PROP_DMAADDR(_n, _s, _f, _d)                               \
 | 
						|
    DEFINE_PROP_HEX64(_n, _s, _f, _d)
 |