1 #ifndef HW_ARM_ALLWINNER_A10_H 2 #define HW_ARM_ALLWINNER_A10_H 3 4 #include "qemu/error-report.h" 5 #include "hw/char/serial.h" 6 #include "hw/arm/boot.h" 7 #include "hw/timer/allwinner-a10-pit.h" 8 #include "hw/intc/allwinner-a10-pic.h" 9 #include "hw/net/allwinner_emac.h" 10 #include "hw/ide/ahci.h" 11 12 #include "target/arm/cpu.h" 13 14 15 #define AW_A10_SDRAM_BASE 0x40000000 16 17 #define TYPE_AW_A10 "allwinner-a10" 18 #define AW_A10(obj) OBJECT_CHECK(AwA10State, (obj), TYPE_AW_A10) 19 20 typedef struct AwA10State { 21 /*< private >*/ 22 DeviceState parent_obj; 23 /*< public >*/ 24 25 ARMCPU cpu; 26 qemu_irq irq[AW_A10_PIC_INT_NR]; 27 AwA10PITState timer; 28 AwA10PICState intc; 29 AwEmacState emac; 30 AllwinnerAHCIState sata; 31 MemoryRegion sram_a; 32 } AwA10State; 33 34 #endif 35