Table 3-122 Results Of Access To The Secure Or Non-Secure Vector Base Address Register; Figure 3-66 Monitor Vector Base Address Register Format - ARM ARM1176JZF-S Technical Reference Manual

Table of Contents

Advertisement

MRC p15, 0, <Rd>, c12, c0, 0
MCR p15, 0, <Rd>, c12, c0, 0
3.2.44
c12, Monitor Vector Base Address Register
ARM DDI 0301H
ID012310
You can configure IRQ, FIQ, and External abort exceptions to branch to Secure Monitor mode,
see c1, Secure Configuration Register on page 3-52. In this case the processor uses the Monitor
Vector Base Address, see c12, Monitor Vector Base Address Register, to calculate the branch
address. The Reset exception always branches to
Vector Base Address except when the processor uses high vectors.
Attempts to write to this register in Secure Privileged mode when CP15SDISABLE is HIGH
result in an Undefined exception, see TrustZone write access disable on page 2-9.
Table 3-122 lists the results of attempted access for each mode.

Table 3-122 Results of access to the Secure or Non-secure Vector Base Address Register

Secure Privileged
Read
Write
Secure data
Secure data
To use the Secure or Non-secure Vector Base Address Register read or write CP15 with:
Opcode_1 set to 0
CRn set to c12
CRm set to c0
Opcode_2 set to 0.
For example:
; Read Secure or Non-secure Vector Base Address Register
; Write Secure or Non-secure Vector Base Address Register
The purpose of the Monitor Vector Base Address Register is to hold the base address for the
Secure Monitor exception vector. For more information, see Exceptions on page 2-36.
The Monitor Vector Base Address Register is:
in CP15 c12
a 32-bit read/write register in the Secure world only
accessible in Secure privileged modes only.
Figure 3-66 shows the arrangement of bits in the register.
31
Copyright © 2004-2009 ARM Limited. All rights reserved.
Non-Confidential, Unrestricted Access
0x00000000
Non-secure Privileged
Read
Non-secure data
Monitor vector base address

Figure 3-66 Monitor Vector Base Address Register format

System Control Coprocessor
, regardless of the value of the
User
Write
Non-secure data
Undefined exception
5 4
0
SBZ
3-122

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents