273 | | || MMU_PARAMS || 14 || Caches & TLBs hardware parameters || R || |
274 | | |
275 | | The MMU_MODE register has four bits and these 16 values are described as below : |
| 273 | || MMU_PARAMS || 15 || Caches & TLBs hardware parameters || R || |
| 274 | || MMU_RELEASE || 16 || Generic MMU release number || R || |
| 275 | |
| 276 | The '''MMU_PTPR''' register contains the base address of the currently used first level page table. |
| 277 | As this base address is aligned on a 8 Kbytes boundary, and we want to support (up to) 40 bits |
| 278 | physical addresses, the PTPR register contains only the 27 MSB bits of the base address : |
| 279 | |
| 280 | || 00000 || BASE_ADDRESS[39:13] || |
| 281 | |
| 282 | The '''MMU_MODE''' register has four bits and these 16 values are described as below : |
297 | | The MMU_PARAMS register define the instruction and data caches & TLBs characteristics: |
298 | | ||NWAYS_TLB_D||NSETS_TLB_D||NWAYS_CAHE_D||NSETS_CACHE_D||NWAYS_TLB_I||NSETS_TLB_I||NWAYS_CAHE_I||NSETS_CACHE_I||NWORDS|| |
299 | | * NWAYS_TLB (3 bits) : Ln(number of associative ways for the TLB) |
300 | | * NSETS_TLB (4 bits) : Ln(number of associative ways for the TLB) |
301 | | * NWAYS_CACHE = Ln(number of associative ways for the TLB) |
302 | | * NSETS_CACHE (4 bits) : Ln(number of associative ways for the TLB) |
303 | | * NWORDS_CACHE Ln(number of associative ways for the TLB) |
| 304 | The '''MMU_PARAMS''' register define the instruction and data caches & TLBs characteristics : |
| 305 | |
| 306 | ||WTD||STD||WCD||SCD||WTI||STI||WCII||SCI||NBL|| |
| 307 | * WTD (3 bits) : Ln(number of associative ways for the Data TLB) |
| 308 | * STD (4 bits) : Ln(number of sets for the Data TLB) |
| 309 | * WCD (3 bits) : Ln(number of associative ways for the Data Cache) |
| 310 | * SCD (4 bits) : Ln(number of sets ways for the Data Cache) |
| 311 | * WTI (3 bits) : Ln(number of associative ways for the Instruction TLB) |
| 312 | * STI (4 bits) : Ln(number of sets for the Instruction TLB) |
| 313 | * WCI (3 bits) : Ln(number of associative ways for the Instruction Cache) |
| 314 | * SCI (4 bits) : Ln(number of sets ways for the Instruction Cache) |
| 315 | * NBL (4 bits) : Ln(number of bytes per Data or Instruction cache line) |
| 316 | |
| 317 | The '''MMU_RELEASE''' register contains the release number for a given hardware implementation : |
| 318 | || SPECIFICATION_INDEX || IMPLEMENTATION_INDEX || |
| 319 | * SPECIFICATION_INDEX (16 bits) |
| 320 | * IMPLEMENTATION_INDEX (16 bits) |