Caches
Copyright © ARM Limited 2000. All rights reserved.
3-15
lock_loop
MCR
p15, 0, r1, c7, c13, 1
;Force an instruction fetch
;from address r1
ADD
r1, r1, #0x20
;Increment address by a
;cache line length
CMP
r2, r1
;Reached our end address yet?
BLT
lock_loop
;If not, repeat loop
ADD
r3, r3, #0x1
;Increment ICache index
BIC
r0, r3, #0x8000000
;Clear lockdown bit and
;Write index into r0
MCR
p15, 0, r3, c9, c0, 1
;Write lockdown register
MOV
pc, lr
;Return from subroutine
error
MVN
r0, #0
;Move 0xFFFFFFFF into r0
MOV
pc, lr
;Return from subroutine
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 ...