target_arm: Remove memory region init from armv7m_init
[qemu/ar7.git] / include / hw / arm / allwinner-a10.h
blob01a189bcdc622c2b101eb31b8ce4e7c3dcc398ad
1 #ifndef ALLWINNER_H_
3 #include "qemu-common.h"
4 #include "qemu/error-report.h"
5 #include "hw/char/serial.h"
6 #include "hw/arm/arm.h"
7 #include "hw/timer/allwinner-a10-pit.h"
8 #include "hw/intc/allwinner-a10-pic.h"
9 #include "hw/net/allwinner_emac.h"
11 #include "sysemu/sysemu.h"
12 #include "exec/address-spaces.h"
15 #define AW_A10_PIC_REG_BASE 0x01c20400
16 #define AW_A10_PIT_REG_BASE 0x01c20c00
17 #define AW_A10_UART0_REG_BASE 0x01c28000
18 #define AW_A10_EMAC_BASE 0x01c0b000
20 #define AW_A10_SDRAM_BASE 0x40000000
22 #define TYPE_AW_A10 "allwinner-a10"
23 #define AW_A10(obj) OBJECT_CHECK(AwA10State, (obj), TYPE_AW_A10)
25 typedef struct AwA10State {
26 /*< private >*/
27 DeviceState parent_obj;
28 /*< public >*/
30 ARMCPU cpu;
31 qemu_irq irq[AW_A10_PIC_INT_NR];
32 AwA10PITState timer;
33 AwA10PICState intc;
34 AwEmacState emac;
35 } AwA10State;
37 #define ALLWINNER_H_
38 #endif