Programmer’s Model
2-22
Copyright © ARM Limited 2000. All rights reserved.
Example base setting
An 8KB size region aligned to an 8KB boundary at
0x0000 2000
(covering the
address range
0x0000 2000
to
0x0000 3FFF
) is programmed as
0x0000 2019
.
The following instruction is supported for backward compatibility with other ARM
processors using a memory protection unit.
MRC p15, 0, rd, c6, CRm, 1; returns protection region register
This instruction allows the protection region registers to be read.
Writes to the protection region/base size registers with opcode_2 set to 1 are
unpredictable.
2.3.10
Register 7, Cache operations register
A write to this register can be used to perform the following operations:
•
flush ICache and DCache
•
prefetch an ICache line
•
wait for interrupt
•
drain the write buffer
•
clean and flush the DCache.
The ARM946E-S uses a subset of the ARM architecture v4 functions (defined in the
ARM Architecture Reference Manual). The available operations are summarized in
Table 2-19.
Table 2-19 Cache operations
ARM instruction
Function
Data
MCR p15, 0, rd, c7, c5, 0
Flush ICache
SBZ
a
MCR p15, 0, rd, c7, c5, 1
Flush ICache single entry
Address
MCR p15, 0, rd, c7, c13, 1
Prefetch ICache line
Address
MCR p15, 0, rd, c7, c6, 0
Flush DCache
SBZ
a
MCR p15, 0, rd, c7, c6, 1
Flush DCache single entry
Address
MCR p15, 0, rd, c7, c10, 1
Clean DCache entry
Address
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 ...