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