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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.2.72 c13, Context ID Register<br />

System Control Coprocessor<br />

Addresses issued by the processor in the range 0-32MB are translated by the ProcID. Address<br />

A becomes A + (ProcID x 32MB). The MMU uses this translated address, the MVA. Addresses<br />

above 32MB are not translated. The ProcID is a 7-bit field, enabling 128 x 32MB processes to<br />

be mapped.<br />

Note<br />

If ProcID is 0, as it is on Reset, then there is a flat mapping between the processor and the MMU.<br />

Figure 3-65 shows how addresses are mapped using the FCSE PID Register.<br />

Virtual address (VA)<br />

issued by the processor<br />

4GB<br />

32MB<br />

Figure 3-65 Address mapping with the FCSE PID Register<br />

The purpose of the Context ID Register is to provide information on the current ASID and<br />

process ID, for example for the ETM and debug logic.<br />

Debug logic uses the ASID information to enable process-dependent breakpoints and<br />

watchpoints. The ASID field of the Context ID Register and FCSE PID Register cannot be used<br />

simultaneously. The FCSE PID Register remapping of VA to MVA has priority over setting the<br />

ASID field to designate non-global pages. Therefore, non-global pages cannot be used if the<br />

FCSE PID Register is set to a non-zero value.<br />

The Context ID Register is:<br />

• a read/write register banked for Secure and Nonsecure states<br />

• accessible in privileged modes only.<br />

Figure 3-66 shows the bit arrangement of the Context ID Register.<br />

Figure 3-66 Context ID Register format<br />

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

ID060510 Non-Confidential<br />

0<br />

C13<br />

Modified virtual address (MVA)<br />

input to MMU<br />

127<br />

2<br />

1<br />

0<br />

64MB<br />

32MB<br />

31 8 7 0<br />

PROCID<br />

ASID<br />

4GB<br />

0

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

Saved successfully!

Ooh no, something went wrong!