Programmer’s Model
Copyright © ARM Limited 2000. All rights reserved.
2-31
Reading the test state register returns bits [12:0] in the least significant bits. The 19 most
significant bits are unpredictable. Writing the test state register updates only bits [12:9].
In debug you must be able to execute code without causing linefills to update the
caches, primarily to load new code into memory. This means that
STRs
, if they hit the
cache, must update the memory and the cache, and that for
LDRs
or instruction
prefetches that miss, a linefill is not performed. When set, bits [10:9] prevent the
respective cache from performing a linefill on a cache miss. The memory mapping, as
seen by the ARM9E-S or by the programmer, is unchanged. This improves the
performance of single-stepping when in debug.
When set, bits [12:11] prevent the respective cache from streaming data to the
ARM9E-S while the linefill is performed to the cache. The linefill still occurs, but the
prefetched instruction or load data is returned to the core at the end of a linefill.
2.3.16
Register 15, Cache debug index register
Register 15 gives you access to the test features included within the ARM946E-S.
Additional instructions and operations are required to support debug operations within
the cache. Instructions for the additional operations are listed in Table 2-27.
10
Disable DCache linefill
9
Disable ICache linefill
8:0
Reserved
Table 2-26 Test state register bit assignments (continued)
Bit
Function
Table 2-27 Additional operations
Function
Data
Instruction
Write CP15 cache debug index
register
Index/
segment
MCR p15, 3, rd, c15, c0, 0
Read CP15 cache debug index
register
Index/
segment
MRC p15, 3, rd, c15, c0, 0
Instruction TAG write
Data
MCR p15, 3, rd, c15, c1, 0
Instruction TAG read
Data
MRC p15, 3, rd, c15, c1, 0
Data TAG write
Data
MCR p15, 3, rd, c15, c2, 0
Содержание ARM946E-S
Страница 1: ...ARM DDI 0155A ARM946E S Technical Reference Manual ...
Страница 6: ...vi Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A 04 Limited Confidential ...
Страница 54: ...Programmer s Model 2 34 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 70: ...Caches 3 16 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 78: ...Protection Unit 4 8 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 98: ...Bus Interface Unit and Write Buffer 6 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 112: ...Coprocessor Interface 7 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...