The Zone Protection Register (ZPR) is used to override MMU memory
protection defined in TLB entries. It is controlled by the C_USE_MMU
configuration option on MicroBlaze. The register is only implemented if C_USE_MMU
is greater than 1 (User Mode), C_AREA_OPTIMIZED
is set to 0 (Performance) or 2
(Frequency), and if the number of specified memory protection zones is greater than
zero (C_MMU_ZONES
> 0). The implemented register
bits depend on the number of specified memory protection zones (C_MMU_ZONES
). When accessed with the MFS and MTS
instructions, the ZPR is specified by setting Sa = 0x1001. The register is
accessible according to the memory management special registers parameter C_MMU_TLB_ACCESS
.
The following figure illustrates the ZPR register and the following table provides bit descriptions and reset values.
Bits 1 | Name | Description | Reset Value |
---|---|---|---|
0:1 2:3 ... 30:31 |
ZP0 ZP1 ... ZP15
|
Zone Protect User mode (MSR[UM] = 1):
Privileged mode (MSR[UM] = 0):
Read/Write |
0x0 |
32:33 34:35 ... 62:63 |
ZP0 ZP1 ... ZP15 |
||
|