1*36d65a78SDavid Karoly #ifndef ARCH_ARM_GIC_REGS_H 2*36d65a78SDavid Karoly #define ARCH_ARM_GIC_REGS_H 3*36d65a78SDavid Karoly 4*36d65a78SDavid Karoly #define GICD_REG_START 0x08000000 5*36d65a78SDavid Karoly #define GICD_REG_SIZE 0x00010000 6*36d65a78SDavid Karoly 7*36d65a78SDavid Karoly #define GICD_REG_CTLR 0 8*36d65a78SDavid Karoly #define GICD_REG_TYPER 1 9*36d65a78SDavid Karoly #define GICD_REG_IIDR 2 10*36d65a78SDavid Karoly 11*36d65a78SDavid Karoly #define GICD_REG_IGROUP 32 12*36d65a78SDavid Karoly #define GICD_REG_ISENABLER 64 13*36d65a78SDavid Karoly #define GICD_REG_ICENABLER 96 14*36d65a78SDavid Karoly #define GICD_REG_ISPENDR 128 15*36d65a78SDavid Karoly #define GICD_REG_ICPENDR 160 16*36d65a78SDavid Karoly #define GICD_REG_ISACTIVER 192 17*36d65a78SDavid Karoly #define GICD_REG_ICACTIVER 224 18*36d65a78SDavid Karoly #define GICD_REG_IPRIORITYR 256 19*36d65a78SDavid Karoly #define GICD_REG_ITARGETSR 512 20*36d65a78SDavid Karoly 21*36d65a78SDavid Karoly #define GICD_REG_ICPIDR0 1016 22*36d65a78SDavid Karoly #define GICD_REG_ICPIDR1 1017 23*36d65a78SDavid Karoly #define GICD_REG_ICPIDR2 1018 24*36d65a78SDavid Karoly 25*36d65a78SDavid Karoly #define GICD_REG_SGIR 960 26*36d65a78SDavid Karoly 27*36d65a78SDavid Karoly #define GICC_REG_START 0x08010000 28*36d65a78SDavid Karoly #define GICC_REG_SIZE 0x00010000 29*36d65a78SDavid Karoly 30*36d65a78SDavid Karoly #define GICC_REG_CTLR 0 31*36d65a78SDavid Karoly #define GICC_REG_PMR 1 32*36d65a78SDavid Karoly #define GICC_REG_BPR 2 33*36d65a78SDavid Karoly #define GICC_REG_IAR 3 34*36d65a78SDavid Karoly #define GICC_REG_EOIR 4 35*36d65a78SDavid Karoly #define GICC_REG_RPR 5 36*36d65a78SDavid Karoly #define GICC_REG_HPPIR 6 37*36d65a78SDavid Karoly 38*36d65a78SDavid Karoly #define GICC_REG_IIDR 63 39*36d65a78SDavid Karoly #define GICC_REG_DIR 1024 40*36d65a78SDavid Karoly 41*36d65a78SDavid Karoly #endif 42