Programmer’s Model
Copyright © ARM Limited 2000. All rights reserved.
2-15
At least one protection region (see Register 6, Protection region/base size registers on
page 2-19 and Chapter 4 Protection Unit) must be programmed before the protection
unit is enabled.
2.3.6
Register 2, Cache configuration registers
These registers contain the cachable attributes for the eight areas of memory. Individual
control is provided for the I and D caches. If the
opcode_2
field = 0, then the data cache
bits are programmed. If the
opcode_2
field = 1, then the instruction cache bits are
programmed. To read and write these registers:
MRC p15, 0, rd, c2, c0, 0; read data cachable bits
MRC p15, 0, rd, c2, c0, 1; read instruction cachable bits
MCR p15, 0, rd, c2, c0, 0; write data cachable bits
MCR p15, 0, rd, c2, c0, 1; write instruction cachable bits
The format for the cachable bits in data and instruction areas is the same, and is given
in Table 2-10.
2.3.7
Register 3, Write buffer control register
This register contains the write buffer control (bufferable) attribute for the eight areas
of memory.
Note
This register only applies to data accesses.
Table 2-10 Programming instruction/data cachable bits
Register bit
Function
7
Cachable bit (C_7) for area 7
6
Cachable bit (C_6) for area 6
5
Cachable bit (C_5) for area 5
4
Cachable bit (C_4) for area 4
3
Cachable bit (C_3) for area 3
2
Cachable bit (C_2) for area 2
1
Cachable bit (C_1) for area 1
0
Cachable bit (C_0) for area 0
Summary of Contents for ARM946E-S
Page 1: ...ARM DDI 0155A ARM946E S Technical Reference Manual ...
Page 6: ...vi Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A 04 Limited Confidential ...
Page 54: ...Programmer s Model 2 34 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 70: ...Caches 3 16 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 78: ...Protection Unit 4 8 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 112: ...Coprocessor Interface 7 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...