Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
sysreg.h File Reference

Go to the source code of this file.

Macros

#define SYSREG_SR   0x0000
 
#define SYSREG_EVBA   0x0004
 
#define SYSREG_ACBA   0x0008
 
#define SYSREG_CPUCR   0x000c
 
#define SYSREG_ECR   0x0010
 
#define SYSREG_RSR_SUP   0x0014
 
#define SYSREG_RSR_INT0   0x0018
 
#define SYSREG_RSR_INT1   0x001c
 
#define SYSREG_RSR_INT2   0x0020
 
#define SYSREG_RSR_INT3   0x0024
 
#define SYSREG_RSR_EX   0x0028
 
#define SYSREG_RSR_NMI   0x002c
 
#define SYSREG_RSR_DBG   0x0030
 
#define SYSREG_RAR_SUP   0x0034
 
#define SYSREG_RAR_INT0   0x0038
 
#define SYSREG_RAR_INT1   0x003c
 
#define SYSREG_RAR_INT2   0x0040
 
#define SYSREG_RAR_INT3   0x0044
 
#define SYSREG_RAR_EX   0x0048
 
#define SYSREG_RAR_NMI   0x004c
 
#define SYSREG_RAR_DBG   0x0050
 
#define SYSREG_JECR   0x0054
 
#define SYSREG_JOSP   0x0058
 
#define SYSREG_JAVA_LV0   0x005c
 
#define SYSREG_JAVA_LV1   0x0060
 
#define SYSREG_JAVA_LV2   0x0064
 
#define SYSREG_JAVA_LV3   0x0068
 
#define SYSREG_JAVA_LV4   0x006c
 
#define SYSREG_JAVA_LV5   0x0070
 
#define SYSREG_JAVA_LV6   0x0074
 
#define SYSREG_JAVA_LV7   0x0078
 
#define SYSREG_JTBA   0x007c
 
#define SYSREG_JBCR   0x0080
 
#define SYSREG_CONFIG0   0x0100
 
#define SYSREG_CONFIG1   0x0104
 
#define SYSREG_COUNT   0x0108
 
#define SYSREG_COMPARE   0x010c
 
#define SYSREG_TLBEHI   0x0110
 
#define SYSREG_TLBELO   0x0114
 
#define SYSREG_PTBR   0x0118
 
#define SYSREG_TLBEAR   0x011c
 
#define SYSREG_MMUCR   0x0120
 
#define SYSREG_TLBARLO   0x0124
 
#define SYSREG_TLBARHI   0x0128
 
#define SYSREG_PCCNT   0x012c
 
#define SYSREG_PCNT0   0x0130
 
#define SYSREG_PCNT1   0x0134
 
#define SYSREG_PCCR   0x0138
 
#define SYSREG_BEAR   0x013c
 
#define SYSREG_SABAL   0x0300
 
#define SYSREG_SABAH   0x0304
 
#define SYSREG_SABD   0x0308
 
#define SYSREG_SR_C_OFFSET   0
 
#define SYSREG_SR_C_SIZE   1
 
#define SYSREG_Z_OFFSET   1
 
#define SYSREG_Z_SIZE   1
 
#define SYSREG_SR_N_OFFSET   2
 
#define SYSREG_SR_N_SIZE   1
 
#define SYSREG_SR_V_OFFSET   3
 
#define SYSREG_SR_V_SIZE   1
 
#define SYSREG_Q_OFFSET   4
 
#define SYSREG_Q_SIZE   1
 
#define SYSREG_L_OFFSET   5
 
#define SYSREG_L_SIZE   1
 
#define SYSREG_T_OFFSET   14
 
#define SYSREG_T_SIZE   1
 
#define SYSREG_SR_R_OFFSET   15
 
#define SYSREG_SR_R_SIZE   1
 
#define SYSREG_GM_OFFSET   16
 
#define SYSREG_GM_SIZE   1
 
#define SYSREG_I0M_OFFSET   17
 
#define SYSREG_I0M_SIZE   1
 
#define SYSREG_I1M_OFFSET   18
 
#define SYSREG_I1M_SIZE   1
 
#define SYSREG_I2M_OFFSET   19
 
#define SYSREG_I2M_SIZE   1
 
#define SYSREG_I3M_OFFSET   20
 
#define SYSREG_I3M_SIZE   1
 
#define SYSREG_EM_OFFSET   21
 
#define SYSREG_EM_SIZE   1
 
#define SYSREG_MODE_OFFSET   22
 
#define SYSREG_MODE_SIZE   3
 
#define SYSREG_M0_OFFSET   22
 
#define SYSREG_M0_SIZE   1
 
#define SYSREG_M1_OFFSET   23
 
#define SYSREG_M1_SIZE   1
 
#define SYSREG_M2_OFFSET   24
 
#define SYSREG_M2_SIZE   1
 
#define SYSREG_SR_D_OFFSET   26
 
#define SYSREG_SR_D_SIZE   1
 
#define SYSREG_DM_OFFSET   27
 
#define SYSREG_DM_SIZE   1
 
#define SYSREG_SR_J_OFFSET   28
 
#define SYSREG_SR_J_SIZE   1
 
#define SYSREG_H_OFFSET   29
 
#define SYSREG_H_SIZE   1
 
#define SYSREG_BI_OFFSET   0
 
#define SYSREG_BI_SIZE   1
 
#define SYSREG_BE_OFFSET   1
 
#define SYSREG_BE_SIZE   1
 
#define SYSREG_FE_OFFSET   2
 
#define SYSREG_FE_SIZE   1
 
#define SYSREG_RE_OFFSET   3
 
#define SYSREG_RE_SIZE   1
 
#define SYSREG_IBE_OFFSET   4
 
#define SYSREG_IBE_SIZE   1
 
#define SYSREG_IEE_OFFSET   5
 
#define SYSREG_IEE_SIZE   1
 
#define SYSREG_CONFIG0_R_OFFSET   0
 
#define SYSREG_CONFIG0_R_SIZE   1
 
#define SYSREG_CONFIG0_D_OFFSET   1
 
#define SYSREG_CONFIG0_D_SIZE   1
 
#define SYSREG_CONFIG0_S_OFFSET   2
 
#define SYSREG_CONFIG0_S_SIZE   1
 
#define SYSREG_CONFIG0_O_OFFSET   3
 
#define SYSREG_CONFIG0_O_SIZE   1
 
#define SYSREG_CONFIG0_P_OFFSET   4
 
#define SYSREG_CONFIG0_P_SIZE   1
 
#define SYSREG_CONFIG0_J_OFFSET   5
 
#define SYSREG_CONFIG0_J_SIZE   1
 
#define SYSREG_CONFIG0_F_OFFSET   6
 
#define SYSREG_CONFIG0_F_SIZE   1
 
#define SYSREG_MMUT_OFFSET   7
 
#define SYSREG_MMUT_SIZE   3
 
#define SYSREG_AR_OFFSET   10
 
#define SYSREG_AR_SIZE   3
 
#define SYSREG_AT_OFFSET   13
 
#define SYSREG_AT_SIZE   3
 
#define SYSREG_PROCESSORREVISION_OFFSET   16
 
#define SYSREG_PROCESSORREVISION_SIZE   8
 
#define SYSREG_PROCESSORID_OFFSET   24
 
#define SYSREG_PROCESSORID_SIZE   8
 
#define SYSREG_DASS_OFFSET   0
 
#define SYSREG_DASS_SIZE   3
 
#define SYSREG_DLSZ_OFFSET   3
 
#define SYSREG_DLSZ_SIZE   3
 
#define SYSREG_DSET_OFFSET   6
 
#define SYSREG_DSET_SIZE   4
 
#define SYSREG_IASS_OFFSET   10
 
#define SYSREG_IASS_SIZE   3
 
#define SYSREG_ILSZ_OFFSET   13
 
#define SYSREG_ILSZ_SIZE   3
 
#define SYSREG_ISET_OFFSET   16
 
#define SYSREG_ISET_SIZE   4
 
#define SYSREG_DMMUSZ_OFFSET   20
 
#define SYSREG_DMMUSZ_SIZE   6
 
#define SYSREG_IMMUSZ_OFFSET   26
 
#define SYSREG_IMMUSZ_SIZE   6
 
#define SYSREG_ASID_OFFSET   0
 
#define SYSREG_ASID_SIZE   8
 
#define SYSREG_TLBEHI_I_OFFSET   8
 
#define SYSREG_TLBEHI_I_SIZE   1
 
#define SYSREG_TLBEHI_V_OFFSET   9
 
#define SYSREG_TLBEHI_V_SIZE   1
 
#define SYSREG_VPN_OFFSET   10
 
#define SYSREG_VPN_SIZE   22
 
#define SYSREG_W_OFFSET   0
 
#define SYSREG_W_SIZE   1
 
#define SYSREG_TLBELO_D_OFFSET   1
 
#define SYSREG_TLBELO_D_SIZE   1
 
#define SYSREG_SZ_OFFSET   2
 
#define SYSREG_SZ_SIZE   2
 
#define SYSREG_AP_OFFSET   4
 
#define SYSREG_AP_SIZE   3
 
#define SYSREG_B_OFFSET   7
 
#define SYSREG_B_SIZE   1
 
#define SYSREG_G_OFFSET   8
 
#define SYSREG_G_SIZE   1
 
#define SYSREG_TLBELO_C_OFFSET   9
 
#define SYSREG_TLBELO_C_SIZE   1
 
#define SYSREG_PFN_OFFSET   10
 
#define SYSREG_PFN_SIZE   22
 
#define SYSREG_E_OFFSET   0
 
#define SYSREG_E_SIZE   1
 
#define SYSREG_M_OFFSET   1
 
#define SYSREG_M_SIZE   1
 
#define SYSREG_MMUCR_I_OFFSET   2
 
#define SYSREG_MMUCR_I_SIZE   1
 
#define SYSREG_MMUCR_N_OFFSET   3
 
#define SYSREG_MMUCR_N_SIZE   1
 
#define SYSREG_MMUCR_S_OFFSET   4
 
#define SYSREG_MMUCR_S_SIZE   1
 
#define SYSREG_DLA_OFFSET   8
 
#define SYSREG_DLA_SIZE   6
 
#define SYSREG_DRP_OFFSET   14
 
#define SYSREG_DRP_SIZE   6
 
#define SYSREG_ILA_OFFSET   20
 
#define SYSREG_ILA_SIZE   6
 
#define SYSREG_IRP_OFFSET   26
 
#define SYSREG_IRP_SIZE   6
 
#define SYSREG_PCCR_E_OFFSET   0
 
#define SYSREG_PCCR_E_SIZE   1
 
#define SYSREG_PCCR_R_OFFSET   1
 
#define SYSREG_PCCR_R_SIZE   1
 
#define SYSREG_PCCR_C_OFFSET   2
 
#define SYSREG_PCCR_C_SIZE   1
 
#define SYSREG_PCCR_S_OFFSET   3
 
#define SYSREG_PCCR_S_SIZE   1
 
#define SYSREG_IEC_OFFSET   4
 
#define SYSREG_IEC_SIZE   1
 
#define SYSREG_IE0_OFFSET   5
 
#define SYSREG_IE0_SIZE   1
 
#define SYSREG_IE1_OFFSET   6
 
#define SYSREG_IE1_SIZE   1
 
#define SYSREG_FC_OFFSET   8
 
#define SYSREG_FC_SIZE   1
 
#define SYSREG_F0_OFFSET   9
 
#define SYSREG_F0_SIZE   1
 
#define SYSREG_F1_OFFSET   10
 
#define SYSREG_F1_SIZE   1
 
#define SYSREG_CONF0_OFFSET   12
 
#define SYSREG_CONF0_SIZE   6
 
#define SYSREG_CONF1_OFFSET   18
 
#define SYSREG_CONF1_SIZE   6
 
#define ECR_UNRECOVERABLE   0
 
#define ECR_TLB_MULTIPLE   1
 
#define ECR_BUS_ERROR_WRITE   2
 
#define ECR_BUS_ERROR_READ   3
 
#define ECR_NMI   4
 
#define ECR_ADDR_ALIGN_X   5
 
#define ECR_PROTECTION_X   6
 
#define ECR_DEBUG   7
 
#define ECR_ILLEGAL_OPCODE   8
 
#define ECR_UNIMPL_INSTRUCTION   9
 
#define ECR_PRIVILEGE_VIOLATION   10
 
#define ECR_FPE   11
 
#define ECR_COPROC_ABSENT   12
 
#define ECR_ADDR_ALIGN_R   13
 
#define ECR_ADDR_ALIGN_W   14
 
#define ECR_PROTECTION_R   15
 
#define ECR_PROTECTION_W   16
 
#define ECR_DTLB_MODIFIED   17
 
#define ECR_TLB_MISS_X   20
 
#define ECR_TLB_MISS_R   24
 
#define ECR_TLB_MISS_W   28
 
#define SYSREG_BIT(name)   (1 << SYSREG_##name##_OFFSET)
 
#define SYSREG_BF(name, value)
 
#define SYSREG_BFEXT(name, value)
 
#define SYSREG_BFINS(name, value, old)
 
#define sysreg_read(reg)   __builtin_mfsr(SYSREG_##reg)
 
#define sysreg_write(reg, value)   __builtin_mtsr(SYSREG_##reg, value)
 

Macro Definition Documentation

#define ECR_ADDR_ALIGN_R   13

Definition at line 259 of file sysreg.h.

#define ECR_ADDR_ALIGN_W   14

Definition at line 260 of file sysreg.h.

#define ECR_ADDR_ALIGN_X   5

Definition at line 251 of file sysreg.h.

#define ECR_BUS_ERROR_READ   3

Definition at line 249 of file sysreg.h.

#define ECR_BUS_ERROR_WRITE   2

Definition at line 248 of file sysreg.h.

#define ECR_COPROC_ABSENT   12

Definition at line 258 of file sysreg.h.

#define ECR_DEBUG   7

Definition at line 253 of file sysreg.h.

#define ECR_DTLB_MODIFIED   17

Definition at line 263 of file sysreg.h.

#define ECR_FPE   11

Definition at line 257 of file sysreg.h.

#define ECR_ILLEGAL_OPCODE   8

Definition at line 254 of file sysreg.h.

#define ECR_NMI   4

Definition at line 250 of file sysreg.h.

#define ECR_PRIVILEGE_VIOLATION   10

Definition at line 256 of file sysreg.h.

#define ECR_PROTECTION_R   15

Definition at line 261 of file sysreg.h.

#define ECR_PROTECTION_W   16

Definition at line 262 of file sysreg.h.

#define ECR_PROTECTION_X   6

Definition at line 252 of file sysreg.h.

#define ECR_TLB_MISS_R   24

Definition at line 265 of file sysreg.h.

#define ECR_TLB_MISS_W   28

Definition at line 266 of file sysreg.h.

#define ECR_TLB_MISS_X   20

Definition at line 264 of file sysreg.h.

#define ECR_TLB_MULTIPLE   1

Definition at line 247 of file sysreg.h.

#define ECR_UNIMPL_INSTRUCTION   9

Definition at line 255 of file sysreg.h.

#define ECR_UNRECOVERABLE   0

Definition at line 246 of file sysreg.h.

#define SYSREG_ACBA   0x0008

Definition at line 16 of file sysreg.h.

#define SYSREG_AP_OFFSET   4

Definition at line 188 of file sysreg.h.

#define SYSREG_AP_SIZE   3

Definition at line 189 of file sysreg.h.

#define SYSREG_AR_OFFSET   10

Definition at line 144 of file sysreg.h.

#define SYSREG_AR_SIZE   3

Definition at line 145 of file sysreg.h.

#define SYSREG_ASID_OFFSET   0

Definition at line 172 of file sysreg.h.

#define SYSREG_ASID_SIZE   8

Definition at line 173 of file sysreg.h.

#define SYSREG_AT_OFFSET   13

Definition at line 146 of file sysreg.h.

#define SYSREG_AT_SIZE   3

Definition at line 147 of file sysreg.h.

#define SYSREG_B_OFFSET   7

Definition at line 190 of file sysreg.h.

#define SYSREG_B_SIZE   1

Definition at line 191 of file sysreg.h.

#define SYSREG_BE_OFFSET   1

Definition at line 116 of file sysreg.h.

#define SYSREG_BE_SIZE   1

Definition at line 117 of file sysreg.h.

#define SYSREG_BEAR   0x013c

Definition at line 62 of file sysreg.h.

#define SYSREG_BF (   name,
  value 
)
Value:
(((value) & ((1 << SYSREG_##name##_SIZE) - 1)) \
<< SYSREG_##name##_OFFSET)

Definition at line 271 of file sysreg.h.

#define SYSREG_BFEXT (   name,
  value 
)
Value:
(((value) >> SYSREG_##name##_OFFSET) \
& ((1 << SYSREG_##name##_SIZE) - 1))

Definition at line 274 of file sysreg.h.

#define SYSREG_BFINS (   name,
  value,
  old 
)
Value:
(((old) & ~(((1 << SYSREG_##name##_SIZE) - 1) \
<< SYSREG_##name##_OFFSET)) \

Definition at line 277 of file sysreg.h.

#define SYSREG_BI_OFFSET   0

Definition at line 114 of file sysreg.h.

#define SYSREG_BI_SIZE   1

Definition at line 115 of file sysreg.h.

#define SYSREG_BIT (   name)    (1 << SYSREG_##name##_OFFSET)

Definition at line 269 of file sysreg.h.

#define SYSREG_COMPARE   0x010c

Definition at line 50 of file sysreg.h.

#define SYSREG_CONF0_OFFSET   12

Definition at line 240 of file sysreg.h.

#define SYSREG_CONF0_SIZE   6

Definition at line 241 of file sysreg.h.

#define SYSREG_CONF1_OFFSET   18

Definition at line 242 of file sysreg.h.

#define SYSREG_CONF1_SIZE   6

Definition at line 243 of file sysreg.h.

#define SYSREG_CONFIG0   0x0100

Definition at line 47 of file sysreg.h.

#define SYSREG_CONFIG0_D_OFFSET   1

Definition at line 130 of file sysreg.h.

#define SYSREG_CONFIG0_D_SIZE   1

Definition at line 131 of file sysreg.h.

#define SYSREG_CONFIG0_F_OFFSET   6

Definition at line 140 of file sysreg.h.

#define SYSREG_CONFIG0_F_SIZE   1

Definition at line 141 of file sysreg.h.

#define SYSREG_CONFIG0_J_OFFSET   5

Definition at line 138 of file sysreg.h.

#define SYSREG_CONFIG0_J_SIZE   1

Definition at line 139 of file sysreg.h.

#define SYSREG_CONFIG0_O_OFFSET   3

Definition at line 134 of file sysreg.h.

#define SYSREG_CONFIG0_O_SIZE   1

Definition at line 135 of file sysreg.h.

#define SYSREG_CONFIG0_P_OFFSET   4

Definition at line 136 of file sysreg.h.

#define SYSREG_CONFIG0_P_SIZE   1

Definition at line 137 of file sysreg.h.

#define SYSREG_CONFIG0_R_OFFSET   0

Definition at line 128 of file sysreg.h.

#define SYSREG_CONFIG0_R_SIZE   1

Definition at line 129 of file sysreg.h.

#define SYSREG_CONFIG0_S_OFFSET   2

Definition at line 132 of file sysreg.h.

#define SYSREG_CONFIG0_S_SIZE   1

Definition at line 133 of file sysreg.h.

#define SYSREG_CONFIG1   0x0104

Definition at line 48 of file sysreg.h.

#define SYSREG_COUNT   0x0108

Definition at line 49 of file sysreg.h.

#define SYSREG_CPUCR   0x000c

Definition at line 17 of file sysreg.h.

#define SYSREG_DASS_OFFSET   0

Definition at line 154 of file sysreg.h.

#define SYSREG_DASS_SIZE   3

Definition at line 155 of file sysreg.h.

#define SYSREG_DLA_OFFSET   8

Definition at line 210 of file sysreg.h.

#define SYSREG_DLA_SIZE   6

Definition at line 211 of file sysreg.h.

#define SYSREG_DLSZ_OFFSET   3

Definition at line 156 of file sysreg.h.

#define SYSREG_DLSZ_SIZE   3

Definition at line 157 of file sysreg.h.

#define SYSREG_DM_OFFSET   27

Definition at line 106 of file sysreg.h.

#define SYSREG_DM_SIZE   1

Definition at line 107 of file sysreg.h.

#define SYSREG_DMMUSZ_OFFSET   20

Definition at line 166 of file sysreg.h.

#define SYSREG_DMMUSZ_SIZE   6

Definition at line 167 of file sysreg.h.

#define SYSREG_DRP_OFFSET   14

Definition at line 212 of file sysreg.h.

#define SYSREG_DRP_SIZE   6

Definition at line 213 of file sysreg.h.

#define SYSREG_DSET_OFFSET   6

Definition at line 158 of file sysreg.h.

#define SYSREG_DSET_SIZE   4

Definition at line 159 of file sysreg.h.

#define SYSREG_E_OFFSET   0

Definition at line 200 of file sysreg.h.

#define SYSREG_E_SIZE   1

Definition at line 201 of file sysreg.h.

#define SYSREG_ECR   0x0010

Definition at line 18 of file sysreg.h.

#define SYSREG_EM_OFFSET   21

Definition at line 94 of file sysreg.h.

#define SYSREG_EM_SIZE   1

Definition at line 95 of file sysreg.h.

#define SYSREG_EVBA   0x0004

Definition at line 15 of file sysreg.h.

#define SYSREG_F0_OFFSET   9

Definition at line 236 of file sysreg.h.

#define SYSREG_F0_SIZE   1

Definition at line 237 of file sysreg.h.

#define SYSREG_F1_OFFSET   10

Definition at line 238 of file sysreg.h.

#define SYSREG_F1_SIZE   1

Definition at line 239 of file sysreg.h.

#define SYSREG_FC_OFFSET   8

Definition at line 234 of file sysreg.h.

#define SYSREG_FC_SIZE   1

Definition at line 235 of file sysreg.h.

#define SYSREG_FE_OFFSET   2

Definition at line 118 of file sysreg.h.

#define SYSREG_FE_SIZE   1

Definition at line 119 of file sysreg.h.

#define SYSREG_G_OFFSET   8

Definition at line 192 of file sysreg.h.

#define SYSREG_G_SIZE   1

Definition at line 193 of file sysreg.h.

#define SYSREG_GM_OFFSET   16

Definition at line 84 of file sysreg.h.

#define SYSREG_GM_SIZE   1

Definition at line 85 of file sysreg.h.

#define SYSREG_H_OFFSET   29

Definition at line 110 of file sysreg.h.

#define SYSREG_H_SIZE   1

Definition at line 111 of file sysreg.h.

#define SYSREG_I0M_OFFSET   17

Definition at line 86 of file sysreg.h.

#define SYSREG_I0M_SIZE   1

Definition at line 87 of file sysreg.h.

#define SYSREG_I1M_OFFSET   18

Definition at line 88 of file sysreg.h.

#define SYSREG_I1M_SIZE   1

Definition at line 89 of file sysreg.h.

#define SYSREG_I2M_OFFSET   19

Definition at line 90 of file sysreg.h.

#define SYSREG_I2M_SIZE   1

Definition at line 91 of file sysreg.h.

#define SYSREG_I3M_OFFSET   20

Definition at line 92 of file sysreg.h.

#define SYSREG_I3M_SIZE   1

Definition at line 93 of file sysreg.h.

#define SYSREG_IASS_OFFSET   10

Definition at line 160 of file sysreg.h.

#define SYSREG_IASS_SIZE   3

Definition at line 161 of file sysreg.h.

#define SYSREG_IBE_OFFSET   4

Definition at line 122 of file sysreg.h.

#define SYSREG_IBE_SIZE   1

Definition at line 123 of file sysreg.h.

#define SYSREG_IE0_OFFSET   5

Definition at line 230 of file sysreg.h.

#define SYSREG_IE0_SIZE   1

Definition at line 231 of file sysreg.h.

#define SYSREG_IE1_OFFSET   6

Definition at line 232 of file sysreg.h.

#define SYSREG_IE1_SIZE   1

Definition at line 233 of file sysreg.h.

#define SYSREG_IEC_OFFSET   4

Definition at line 228 of file sysreg.h.

#define SYSREG_IEC_SIZE   1

Definition at line 229 of file sysreg.h.

#define SYSREG_IEE_OFFSET   5

Definition at line 124 of file sysreg.h.

#define SYSREG_IEE_SIZE   1

Definition at line 125 of file sysreg.h.

#define SYSREG_ILA_OFFSET   20

Definition at line 214 of file sysreg.h.

#define SYSREG_ILA_SIZE   6

Definition at line 215 of file sysreg.h.

#define SYSREG_ILSZ_OFFSET   13

Definition at line 162 of file sysreg.h.

#define SYSREG_ILSZ_SIZE   3

Definition at line 163 of file sysreg.h.

#define SYSREG_IMMUSZ_OFFSET   26

Definition at line 168 of file sysreg.h.

#define SYSREG_IMMUSZ_SIZE   6

Definition at line 169 of file sysreg.h.

#define SYSREG_IRP_OFFSET   26

Definition at line 216 of file sysreg.h.

#define SYSREG_IRP_SIZE   6

Definition at line 217 of file sysreg.h.

#define SYSREG_ISET_OFFSET   16

Definition at line 164 of file sysreg.h.

#define SYSREG_ISET_SIZE   4

Definition at line 165 of file sysreg.h.

#define SYSREG_JAVA_LV0   0x005c

Definition at line 37 of file sysreg.h.

#define SYSREG_JAVA_LV1   0x0060

Definition at line 38 of file sysreg.h.

#define SYSREG_JAVA_LV2   0x0064

Definition at line 39 of file sysreg.h.

#define SYSREG_JAVA_LV3   0x0068

Definition at line 40 of file sysreg.h.

#define SYSREG_JAVA_LV4   0x006c

Definition at line 41 of file sysreg.h.

#define SYSREG_JAVA_LV5   0x0070

Definition at line 42 of file sysreg.h.

#define SYSREG_JAVA_LV6   0x0074

Definition at line 43 of file sysreg.h.

#define SYSREG_JAVA_LV7   0x0078

Definition at line 44 of file sysreg.h.

#define SYSREG_JBCR   0x0080

Definition at line 46 of file sysreg.h.

#define SYSREG_JECR   0x0054

Definition at line 35 of file sysreg.h.

#define SYSREG_JOSP   0x0058

Definition at line 36 of file sysreg.h.

#define SYSREG_JTBA   0x007c

Definition at line 45 of file sysreg.h.

#define SYSREG_L_OFFSET   5

Definition at line 78 of file sysreg.h.

#define SYSREG_L_SIZE   1

Definition at line 79 of file sysreg.h.

#define SYSREG_M0_OFFSET   22

Definition at line 98 of file sysreg.h.

#define SYSREG_M0_SIZE   1

Definition at line 99 of file sysreg.h.

#define SYSREG_M1_OFFSET   23

Definition at line 100 of file sysreg.h.

#define SYSREG_M1_SIZE   1

Definition at line 101 of file sysreg.h.

#define SYSREG_M2_OFFSET   24

Definition at line 102 of file sysreg.h.

#define SYSREG_M2_SIZE   1

Definition at line 103 of file sysreg.h.

#define SYSREG_M_OFFSET   1

Definition at line 202 of file sysreg.h.

#define SYSREG_M_SIZE   1

Definition at line 203 of file sysreg.h.

#define SYSREG_MMUCR   0x0120

Definition at line 55 of file sysreg.h.

#define SYSREG_MMUCR_I_OFFSET   2

Definition at line 204 of file sysreg.h.

#define SYSREG_MMUCR_I_SIZE   1

Definition at line 205 of file sysreg.h.

#define SYSREG_MMUCR_N_OFFSET   3

Definition at line 206 of file sysreg.h.

#define SYSREG_MMUCR_N_SIZE   1

Definition at line 207 of file sysreg.h.

#define SYSREG_MMUCR_S_OFFSET   4

Definition at line 208 of file sysreg.h.

#define SYSREG_MMUCR_S_SIZE   1

Definition at line 209 of file sysreg.h.

#define SYSREG_MMUT_OFFSET   7

Definition at line 142 of file sysreg.h.

#define SYSREG_MMUT_SIZE   3

Definition at line 143 of file sysreg.h.

#define SYSREG_MODE_OFFSET   22

Definition at line 96 of file sysreg.h.

#define SYSREG_MODE_SIZE   3

Definition at line 97 of file sysreg.h.

#define SYSREG_PCCNT   0x012c

Definition at line 58 of file sysreg.h.

#define SYSREG_PCCR   0x0138

Definition at line 61 of file sysreg.h.

#define SYSREG_PCCR_C_OFFSET   2

Definition at line 224 of file sysreg.h.

#define SYSREG_PCCR_C_SIZE   1

Definition at line 225 of file sysreg.h.

#define SYSREG_PCCR_E_OFFSET   0

Definition at line 220 of file sysreg.h.

#define SYSREG_PCCR_E_SIZE   1

Definition at line 221 of file sysreg.h.

#define SYSREG_PCCR_R_OFFSET   1

Definition at line 222 of file sysreg.h.

#define SYSREG_PCCR_R_SIZE   1

Definition at line 223 of file sysreg.h.

#define SYSREG_PCCR_S_OFFSET   3

Definition at line 226 of file sysreg.h.

#define SYSREG_PCCR_S_SIZE   1

Definition at line 227 of file sysreg.h.

#define SYSREG_PCNT0   0x0130

Definition at line 59 of file sysreg.h.

#define SYSREG_PCNT1   0x0134

Definition at line 60 of file sysreg.h.

#define SYSREG_PFN_OFFSET   10

Definition at line 196 of file sysreg.h.

#define SYSREG_PFN_SIZE   22

Definition at line 197 of file sysreg.h.

#define SYSREG_PROCESSORID_OFFSET   24

Definition at line 150 of file sysreg.h.

#define SYSREG_PROCESSORID_SIZE   8

Definition at line 151 of file sysreg.h.

#define SYSREG_PROCESSORREVISION_OFFSET   16

Definition at line 148 of file sysreg.h.

#define SYSREG_PROCESSORREVISION_SIZE   8

Definition at line 149 of file sysreg.h.

#define SYSREG_PTBR   0x0118

Definition at line 53 of file sysreg.h.

#define SYSREG_Q_OFFSET   4

Definition at line 76 of file sysreg.h.

#define SYSREG_Q_SIZE   1

Definition at line 77 of file sysreg.h.

#define SYSREG_RAR_DBG   0x0050

Definition at line 34 of file sysreg.h.

#define SYSREG_RAR_EX   0x0048

Definition at line 32 of file sysreg.h.

#define SYSREG_RAR_INT0   0x0038

Definition at line 28 of file sysreg.h.

#define SYSREG_RAR_INT1   0x003c

Definition at line 29 of file sysreg.h.

#define SYSREG_RAR_INT2   0x0040

Definition at line 30 of file sysreg.h.

#define SYSREG_RAR_INT3   0x0044

Definition at line 31 of file sysreg.h.

#define SYSREG_RAR_NMI   0x004c

Definition at line 33 of file sysreg.h.

#define SYSREG_RAR_SUP   0x0034

Definition at line 27 of file sysreg.h.

#define SYSREG_RE_OFFSET   3

Definition at line 120 of file sysreg.h.

#define SYSREG_RE_SIZE   1

Definition at line 121 of file sysreg.h.

#define sysreg_read (   reg)    __builtin_mfsr(SYSREG_##reg)

Definition at line 288 of file sysreg.h.

#define SYSREG_RSR_DBG   0x0030

Definition at line 26 of file sysreg.h.

#define SYSREG_RSR_EX   0x0028

Definition at line 24 of file sysreg.h.

#define SYSREG_RSR_INT0   0x0018

Definition at line 20 of file sysreg.h.

#define SYSREG_RSR_INT1   0x001c

Definition at line 21 of file sysreg.h.

#define SYSREG_RSR_INT2   0x0020

Definition at line 22 of file sysreg.h.

#define SYSREG_RSR_INT3   0x0024

Definition at line 23 of file sysreg.h.

#define SYSREG_RSR_NMI   0x002c

Definition at line 25 of file sysreg.h.

#define SYSREG_RSR_SUP   0x0014

Definition at line 19 of file sysreg.h.

#define SYSREG_SABAH   0x0304

Definition at line 64 of file sysreg.h.

#define SYSREG_SABAL   0x0300

Definition at line 63 of file sysreg.h.

#define SYSREG_SABD   0x0308

Definition at line 65 of file sysreg.h.

#define SYSREG_SR   0x0000

Definition at line 14 of file sysreg.h.

#define SYSREG_SR_C_OFFSET   0

Definition at line 68 of file sysreg.h.

#define SYSREG_SR_C_SIZE   1

Definition at line 69 of file sysreg.h.

#define SYSREG_SR_D_OFFSET   26

Definition at line 104 of file sysreg.h.

#define SYSREG_SR_D_SIZE   1

Definition at line 105 of file sysreg.h.

#define SYSREG_SR_J_OFFSET   28

Definition at line 108 of file sysreg.h.

#define SYSREG_SR_J_SIZE   1

Definition at line 109 of file sysreg.h.

#define SYSREG_SR_N_OFFSET   2

Definition at line 72 of file sysreg.h.

#define SYSREG_SR_N_SIZE   1

Definition at line 73 of file sysreg.h.

#define SYSREG_SR_R_OFFSET   15

Definition at line 82 of file sysreg.h.

#define SYSREG_SR_R_SIZE   1

Definition at line 83 of file sysreg.h.

#define SYSREG_SR_V_OFFSET   3

Definition at line 74 of file sysreg.h.

#define SYSREG_SR_V_SIZE   1

Definition at line 75 of file sysreg.h.

#define SYSREG_SZ_OFFSET   2

Definition at line 186 of file sysreg.h.

#define SYSREG_SZ_SIZE   2

Definition at line 187 of file sysreg.h.

#define SYSREG_T_OFFSET   14

Definition at line 80 of file sysreg.h.

#define SYSREG_T_SIZE   1

Definition at line 81 of file sysreg.h.

#define SYSREG_TLBARHI   0x0128

Definition at line 57 of file sysreg.h.

#define SYSREG_TLBARLO   0x0124

Definition at line 56 of file sysreg.h.

#define SYSREG_TLBEAR   0x011c

Definition at line 54 of file sysreg.h.

#define SYSREG_TLBEHI   0x0110

Definition at line 51 of file sysreg.h.

#define SYSREG_TLBEHI_I_OFFSET   8

Definition at line 174 of file sysreg.h.

#define SYSREG_TLBEHI_I_SIZE   1

Definition at line 175 of file sysreg.h.

#define SYSREG_TLBEHI_V_OFFSET   9

Definition at line 176 of file sysreg.h.

#define SYSREG_TLBEHI_V_SIZE   1

Definition at line 177 of file sysreg.h.

#define SYSREG_TLBELO   0x0114

Definition at line 52 of file sysreg.h.

#define SYSREG_TLBELO_C_OFFSET   9

Definition at line 194 of file sysreg.h.

#define SYSREG_TLBELO_C_SIZE   1

Definition at line 195 of file sysreg.h.

#define SYSREG_TLBELO_D_OFFSET   1

Definition at line 184 of file sysreg.h.

#define SYSREG_TLBELO_D_SIZE   1

Definition at line 185 of file sysreg.h.

#define SYSREG_VPN_OFFSET   10

Definition at line 178 of file sysreg.h.

#define SYSREG_VPN_SIZE   22

Definition at line 179 of file sysreg.h.

#define SYSREG_W_OFFSET   0

Definition at line 182 of file sysreg.h.

#define SYSREG_W_SIZE   1

Definition at line 183 of file sysreg.h.

#define sysreg_write (   reg,
  value 
)    __builtin_mtsr(SYSREG_##reg, value)

Definition at line 289 of file sysreg.h.

#define SYSREG_Z_OFFSET   1

Definition at line 70 of file sysreg.h.

#define SYSREG_Z_SIZE   1

Definition at line 71 of file sysreg.h.