1 #ifndef _ASMPOWERPC_REG_H 2 #define _ASMPOWERPC_REG_H 3 4 #include <linux/const.h> 5 6 #define UL(x) _AC(x, UL) 7 8 #define SPR_TB 0x10c 9 #define SPR_SPRG0 0x110 10 #define SPR_SPRG1 0x111 11 #define SPR_SPRG2 0x112 12 #define SPR_SPRG3 0x113 13 #define SPR_PVR 0x11f 14 #define PVR_VERSION_MASK UL(0xffff0000) 15 #define PVR_VER_970 UL(0x00390000) 16 #define PVR_VER_970FX UL(0x003c0000) 17 #define PVR_VER_970MP UL(0x00440000) 18 #define PVR_VER_POWER8E UL(0x004b0000) 19 #define PVR_VER_POWER8NVL UL(0x004c0000) 20 #define PVR_VER_POWER8 UL(0x004d0000) 21 #define PVR_VER_POWER9 UL(0x004e0000) 22 #define PVR_VER_POWER10 UL(0x00800000) 23 #define SPR_HSRR0 0x13a 24 #define SPR_HSRR1 0x13b 25 26 /* Machine State Register definitions: */ 27 #define MSR_EE_BIT 15 /* External Interrupts Enable */ 28 #define MSR_SF_BIT 63 /* 64-bit mode */ 29 30 #endif 31