05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

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.

Application Level Programmers’ Model<br />

The format of the JIDR is:<br />

31 28 27 20 19 12 11 0<br />

<strong>Architecture</strong> Implementer Subarchitecture SUBARCHITECTURE DEFINED<br />

<strong>Architecture</strong>, bits [31:28]<br />

<strong>Architecture</strong> code. This uses the same <strong>Architecture</strong> code that appears in the Main ID register<br />

in coprocessor 15, see c0, Main ID Register (MIDR) on page B3-81 (VMSA<br />

implementation) or c0, Main ID Register (MIDR) on page B4-32 (PMSA implementation).<br />

Implementer, bits [27:20]<br />

Implementer code of the designer of the subarchitecture. This uses the same Implementer<br />

code that appears in the Main ID register in coprocessor 15, see c0, Main ID Register<br />

(MIDR) on page B3-81 (VMSA implementation) or c0, Main ID Register (MIDR) on<br />

page B4-32 (PMSA implementation).<br />

If the trivial implementation of the Jazelle extension is used, the Implementer code is 0x00.<br />

Subarchitecture, bits [19:12]<br />

Contain the subarchitecture code. The following subarchitecture code is defined:<br />

0x00 Jazelle v1 subarchitecture, or trivial implementation of Jazelle extension if<br />

Implementer code is 0x00.<br />

bits [11:0] Contain additional SUBARCHITECTURE DEFINED information.<br />

To access the JIDR, read the CP14 registers with an MRC instruction with set to 7, set to c0, <br />

set to c0, <strong>and</strong> set to 0. For example:<br />

MRC p14, 7, , c0, c0, 0 ; Read Jazelle ID register<br />

Jazelle Main Configuration Register (JMCR)<br />

The Jazelle Main Configuration Register (JMCR) controls the Jazelle extension.<br />

The JMCR is:<br />

a CP14 register<br />

a 32-bit register, with access rights that depend on the current privilege:<br />

— for privileged operations the register is read/write<br />

— for unprivileged operations, the register is normally write-only<br />

when the Security Extensions are implemented, a Common register, see Common CP15 registers on<br />

page B3-74.<br />

For more information about unprivileged access restrictions see Access to Jazelle registers on page A2-78.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. A2-77

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

Saved successfully!

Ooh no, something went wrong!