 12ec8bd51e
			
		
	
	
		12ec8bd51e
		
	
	
	
	
		
			
			The header file hw/arm/arm.h now includes only declarations relating to hw/arm/boot.c functionality. Rename it accordingly, and adjust its header comment. The bulk of this commit was created via perl -pi -e 's|hw/arm/arm.h|hw/arm/boot.h|' hw/arm/*.c include/hw/arm/*.h In a few cases we can just delete the #include: hw/arm/msf2-soc.c, include/hw/arm/aspeed_soc.h and include/hw/arm/bcm2836.h did not require it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20190516163857.6430-4-peter.maydell@linaro.org
		
			
				
	
	
		
			43 lines
		
	
	
		
			1003 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1003 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef ALLWINNER_H_
 | |
| 
 | |
| #include "qemu-common.h"
 | |
| #include "qemu/error-report.h"
 | |
| #include "hw/char/serial.h"
 | |
| #include "hw/arm/boot.h"
 | |
| #include "hw/timer/allwinner-a10-pit.h"
 | |
| #include "hw/intc/allwinner-a10-pic.h"
 | |
| #include "hw/net/allwinner_emac.h"
 | |
| #include "hw/ide/pci.h"
 | |
| #include "hw/ide/ahci.h"
 | |
| 
 | |
| #include "sysemu/sysemu.h"
 | |
| 
 | |
| 
 | |
| #define AW_A10_PIC_REG_BASE     0x01c20400
 | |
| #define AW_A10_PIT_REG_BASE     0x01c20c00
 | |
| #define AW_A10_UART0_REG_BASE   0x01c28000
 | |
| #define AW_A10_EMAC_BASE        0x01c0b000
 | |
| #define AW_A10_SATA_BASE        0x01c18000
 | |
| 
 | |
| #define AW_A10_SDRAM_BASE       0x40000000
 | |
| 
 | |
| #define TYPE_AW_A10 "allwinner-a10"
 | |
| #define AW_A10(obj) OBJECT_CHECK(AwA10State, (obj), TYPE_AW_A10)
 | |
| 
 | |
| typedef struct AwA10State {
 | |
|     /*< private >*/
 | |
|     DeviceState parent_obj;
 | |
|     /*< public >*/
 | |
| 
 | |
|     ARMCPU cpu;
 | |
|     qemu_irq irq[AW_A10_PIC_INT_NR];
 | |
|     AwA10PITState timer;
 | |
|     AwA10PICState intc;
 | |
|     AwEmacState emac;
 | |
|     AllwinnerAHCIState sata;
 | |
|     MemoryRegion sram_a;
 | |
| } AwA10State;
 | |
| 
 | |
| #define ALLWINNER_H_
 | |
| #endif
 |