Go to the documentation of this file. 1 #ifndef _ARCH_POWERPC_MM_ICSWX_H_
2 #define _ARCH_POWERPC_MM_ICSWX_H_
16 #include <asm/mmu_context.h>
19 #define COP_PID_NONE 0
21 static inline void sync_cop(
void *
arg)
29 #ifdef CONFIG_PPC_ICSWX_PID
34 #define get_cop_pid(m) (COP_PID_NONE)
35 #define disable_cop_pid(m) (COP_PID_NONE)
36 #define free_cop_pid(p)
44 #define ICSWX_DSI_UCT 0x00004000
46 #ifdef CONFIG_PPC_BOOK3E
48 #define ICSWX_GET_CT_HINT(x) (-1)
51 #define ICSWX_DSISR_CTMASK 0x00003f00
52 #define ICSWX_GET_CT_HINT(x) (((x) & ICSWX_DSISR_CTMASK) >> 8)
55 #define ICSWX_RC_STARTED 0x8
56 #define ICSWX_RC_NOT_IDLE 0x4
57 #define ICSWX_RC_NOT_FOUND 0x2
58 #define ICSWX_RC_UNDEFINED 0x1
63 static inline u64 acop_copro_type_bit(
unsigned int type)
65 return 1ULL << (63 -
type);