Go to the documentation of this file.
16 #ifndef _ASM_PROC_SMP_REGS_H
17 #define _ASM_PROC_SMP_REGS_H
22 #include <linux/types.h>
29 #define CROSS_ICR_CPU_SHIFT 16
31 #define CROSS_GxICR(X, CPU) __SYSREG(0xc4000000 + (X) * 4 + \
32 ((X) >= 64 && (X) < 192) * 0xf00 + ((CPU) << CROSS_ICR_CPU_SHIFT), u16)
33 #define CROSS_GxICR_u8(X, CPU) __SYSREG(0xc4000000 + (X) * 4 + \
34 (((X) >= 64) && ((X) < 192)) * 0xf00 + ((CPU) << CROSS_ICR_CPU_SHIFT), u8)
37 #define CPUID __SYSREGC(0xc0000054, u32)
38 #define CPUID_MASK 0x00000007
41 #define ECHCTR __SYSREG(0xc0000c20, u32)
42 #define ECHCTR_IBCM 0x00000001
43 #define ECHCTR_DBCM 0x00000002
44 #define ECHCTR_ISPM 0x00000004
45 #define ECHCTR_DSPM 0x00000008
47 #define NMIAGR __SYSREG(0xd400013c, u16)
48 #define NMIAGR_GN 0x03fc