Register Descriptions; Table 2-4 Reading From Register C0 - ARM ARM926EJ-S Technical Reference Manual

Table of Contents

Advertisement

2.3

Register descriptions

2.3.1
ID Code, Cache Type, and TCM Status Registers, c0
ARM DDI0198D
The following registers are described in this section:
ID Code, Cache Type, and TCM Status Registers, c0
Control Register c1 on page 2-12
Translation Table Base Register c2 on page 2-17
Domain Access Control Register c3 on page 2-17
Register c4 on page 2-18
Fault Status Registers c5 on page 2-18
Fault Address Register c6 on page 2-20
Cache Operations Register c7 on page 2-20
TLB Operations Register c8 on page 2-24
Cache Lockdown and TCM Region Registers c9 on page 2-26
TLB Lockdown Register c10 on page 2-32
Register c11 and c12 on page 2-33
Process ID Register c13 on page 2-33
Register c14 on page 2-35
Test and Debug Register c15 on page 2-36.
Register c0 accesses the ID Register, Cache Type Register, and TCM Status Registers.
Reading from this register returns the device ID, the cache type, or the TCM status
depending on the value of Opcode_2 used:
Opcode_2 = 0 ID value.
Opcode_2 = 1 instruction and data cache type.
Opcode_2 = 2 TCM status.
The CRm field Should Be Zero when reading from these registers. Table 2-4 shows the
instructions you can use to read register c0.
Writing to register c0 is Unpredictable.
Copyright © 2001-2003 ARM Limited. All rights reserved.

Table 2-4 Reading from register c0

Function
Instruction
Read ID code
MRC p15,0,<Rd>,c0,c0,{0, 3-7}
Read cache type
MRC p15,0,<Rd>,c0,c0,1
Read TCM status
MRC p15,0,<Rd>,c0,c0,2
Programmer's Model
2-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents