09.12.2012 Views

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 3-137 shows the results of attempted access for each mode.<br />

System Control Coprocessor<br />

Table 3-137 Results of access to the Secure or Nonsecure Vector Base Address Register a<br />

Secure privileged Nonsecure privileged Secure User Nonsecure User<br />

Read Write Read Write Read Write Read Write<br />

Secure<br />

data<br />

Secure<br />

data<br />

Nonsecure<br />

data<br />

To access the Secure or Nonsecure Vector Base Address Register, read or write CP15 with:<br />

MRC p15, 0, , c12, c0, 0 ; Read Secure or Nonsecure Vector Base<br />

; Address Register<br />

MCR p15, 0, , c12, c0, 0 ; Write Secure or Nonsecure Vector Base<br />

; Address Register<br />

3.2.69 c12, Monitor Vector Base Address Register<br />

Nonsecure<br />

data<br />

The purpose of the Monitor Vector Base Address Register is to hold the base address for the<br />

Monitor mode exception vector. See Exceptions on page 2-27 for more information.<br />

The Monitor Vector Base Address Register is:<br />

• a read/write register in the Secure state only<br />

• accessible in secure privileged modes only.<br />

Figure 3-62 shows the bit arrangement of the Monitor Vector Base Address Register.<br />

Figure 3-62 Monitor Vector Base Address Register format<br />

Table 3-138 shows how the bit values correspond with the Monitor Vector Base Address<br />

Register functions.<br />

When an exception branches to the Monitor mode, the core branches to address:<br />

Monitor_Base_Address + Exception_Vector_Address.<br />

Undefined Undefined Undefined Undefined<br />

a. An entry of Undefined in the table means that the access gives an Undefined Instruction exception when the coprocessor<br />

instruction is executed.<br />

31 5 4 0<br />

Bits Field Function<br />

[31:5] Monitor vector<br />

base address<br />

[4:0] - Reserved. UNP, SBZ.<br />

Monitor vector base address Reserved<br />

Table 3-138 Monitor Vector Base Address Register bit functions<br />

Holds the base address. Determines the location that the core branches to, on<br />

a Monitor mode exception. The reset value is 0.<br />

The Software Monitor Exception caused by an SMC instruction branches to Monitor mode. You<br />

can configure IRQ, FIQ, and External abort exceptions to branch to Monitor mode, see c1,<br />

Secure Configuration Register on page 3-53. These are the only exceptions that can branch to<br />

Monitor mode and that use the Monitor Vector Base Address Register to calculate the branch<br />

address. See Exceptions on page 2-27 for more information.<br />

<strong>ARM</strong> DDI 0344K Copyright © 2006-2010 <strong>ARM</strong> Limited. All rights reserved. 3-118<br />

ID060510 Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!