| |||
| Home > System Control > Register descriptions > Non-Secure Access Control Register | |||
The NSACR characteristics are:
Defines the Non-secure access permission to coprocessors CP0 to CP13.
The NSACR is:
a Restricted access register that exists only in the Secure state but can be read from the Non-secure state
only accessible from PL1 or higher, with access rights that depend on the mode and security state:
read/write in Secure PL1 modes
read-only in Non-secure PL1 and PL2 modes.
Available in all configurations.
See the register summary in Table 4.3.
Figure 4.27 shows the NSACR bit assignments.
Table 4.56 shows the NSACR bit assignments.
Table 4.56. NSACR bit assignments
| Bits | Name | Function |
|---|---|---|
| [31:20] | - | Reserved, UNK/SBZP. |
| [19] | - | Reserved, RAZ/WI. |
| [18] | NS_SMP | Determines if the SMP bit of the Auxiliary Control Register, see Auxiliary Control Register, is writable in Non-secure state:
|
| [17] | NS_L2ERR | Determines if the L2 internal asynchronous error and AXI asynchronous error bits of the L2 Extended Control Register, see L2 Extended Control Register, are writable in Non-secure state:
|
| [16] | - | Reserved. |
| [15] | NSASEDIS | Disable Non-secure Advanced SIMD functionality:
If VFP is implemented and NEON is not implemented, this bit is RAO/WI. If VFP and NEON are not implemented, this bit is UNK/SBZP. |
| [14:12] | - | Reserved, RAZ/WI. |
| [11] | cp11 | Non-secure access to coprocessor 11 enable:
If VFP and NEON are not implemented, this bit is RAZ/WI. |
| [10] | cp10 | Non-secure access to coprocessor 10 enable:
If VFP and NEON are not implemented, this bit is RAZ/WI. |
| [9:0] | - | Reserved, RAZ/WI. |
If the values of the cp11 and cp10 fields are not the same, the behavior is unpredictable.
To access the NSACR, read or write the CP15 register with:
MRC p15, 0, <Rt>, c1, c1, 2 ; Read Non-Secure Access Control Register data
MCR p15, 0, <Rt>, c1, c1, 2 ; Write Non-Secure Access Control Register data