|
RTEMS
5.1
|
23 unsigned long vsid:24;
51 unsigned long vsid:24;
56 unsigned long bepi:15;
67 unsigned long bepi:15;
75 unsigned long brpn:15;
82 unsigned long brpn:15;
103 #define BL_128K 0x000 104 #define BL_256K 0x001 105 #define BL_512K 0x003 113 #define BL_128M 0x3FF 114 #define BL_256M 0x7FF 131 unsigned long page_num:20;
132 unsigned long flags:12;
135 #define PD_SHIFT (10+12) 136 #define PD_MASK 0x03FF 137 #define PT_SHIFT (12) 138 #define PT_MASK 0x03FF 139 #define PG_SHIFT (12) 150 #define HASH_TABLE_SIZE_64K 0x00010000 151 #define HASH_TABLE_SIZE_128K 0x00020000 152 #define HASH_TABLE_SIZE_256K 0x00040000 153 #define HASH_TABLE_SIZE_512K 0x00080000 154 #define HASH_TABLE_SIZE_1M 0x00100000 155 #define HASH_TABLE_SIZE_2M 0x00200000 156 #define HASH_TABLE_SIZE_4M 0x00400000 157 #define HASH_TABLE_MASK_64K 0x000 158 #define HASH_TABLE_MASK_128K 0x001 159 #define HASH_TABLE_MASK_256K 0x003 160 #define HASH_TABLE_MASK_512K 0x007 161 #define HASH_TABLE_MASK_1M 0x00F 162 #define HASH_TABLE_MASK_2M 0x01F 163 #define HASH_TABLE_MASK_4M 0x03F 166 static inline void _tlbie(
unsigned long va)
168 asm volatile (
"tlbie %0" : :
"r"(va));
171 extern void _tlbia(
void);
182 #define MI_GPM 0x80000000 183 #define MI_PPM 0x40000000 184 #define MI_CIDEF 0x20000000 185 #define MI_RSV4I 0x08000000 186 #define MI_PPCS 0x02000000 187 #define MI_IDXMASK 0x00001f00 188 #define MI_RESETVAL 0x00000000 194 #define MI_Ks 0x80000000 195 #define MI_Kp 0x40000000 202 #define MI_EPNMASK 0xfffff000 203 #define MI_EVALID 0x00000200 204 #define MI_ASIDMASK 0x0000000f 212 #define MI_APG 0x000001e0 213 #define MI_GUARDED 0x00000010 214 #define MI_PSMASK 0x0000000c 215 #define MI_PS8MEG 0x0000000c 216 #define MI_PS512K 0x00000004 217 #define MI_PS4K_16K 0x00000000 218 #define MI_SVALID 0x00000001 232 #define MI_BOOTINIT 0x000001fd 235 #define MD_GPM 0x80000000 236 #define MD_PPM 0x40000000 237 #define MD_CIDEF 0x20000000 238 #define MD_WTDEF 0x10000000 239 #define MD_RSV4I 0x08000000 240 #define MD_TWAM 0x04000000 241 #define MD_PPCS 0x02000000 242 #define MD_IDXMASK 0x00001f00 243 #define MD_RESETVAL 0x04000000 246 #define MC_ASIDMASK 0x0000000f 253 #define MD_Ks 0x80000000 254 #define MD_Kp 0x40000000 261 #define MD_EPNMASK 0xfffff000 262 #define MD_EVALID 0x00000200 263 #define MD_ASIDMASK 0x0000000f 271 #define M_L1TB 0xfffff000 272 #define M_L1INDX 0x00000ffc 281 #define MD_L2TB 0xfffff000 282 #define MD_L2INDX 0xfffffe00 283 #define MD_APG 0x000001e0 284 #define MD_GUARDED 0x00000010 285 #define MD_PSMASK 0x0000000c 286 #define MD_PS8MEG 0x0000000c 287 #define MD_PS512K 0x00000004 288 #define MD_PS4K_16K 0x00000000 289 #define MD_WT 0x00000002 290 #define MD_SVALID 0x00000001