Rev. 2.00, 09/03, page 107 of 690
4.4.3
Usage Examples
Invalidating a Specific Entry: A specific cache entry can be invalidated by accessing the
allocated memory cache and writing a 0 to the entry’s U and V bits. The A bit is cleared to 0, and
an address is specified for the entry address and the way. If the U bit of the way of the entry in
question was set to 1, the entry is written back and the V and U bits specified by the write data are
written to.
In the following example, the write data is specified in R0 and the address is specified in R1 (32-
kbyte mode).
; R0 = H'0000 0000 LRU = H'000, U = 0, V = 0
; R1 = H'F000 2080; Way = 1, Entry = B'000001000, A = 0
;
MOV.L R0, @R1
To invalidate all entries and ways, write 0 to the following addresses.
32-kbyte mode (2,048 writes)
Addresses
F000 0000
F000 0010
F000 0020
:
F000 7FF0
16-kbyte mode (1,024 writes)
Addresses
F000 0000
F000 0010
F000 0020
:
F000 3FF0
The above operation should be performed using a non-cacheable area.
Summary of Contents for SH7705
Page 2: ......
Page 70: ...Rev 2 00 09 03 page 24 of 690 ...
Page 194: ...Rev 2 00 09 03 page 148 of 690 ...
Page 284: ...Rev 2 00 09 03 page 238 of 690 ...
Page 338: ...Rev 2 00 09 03 page 292 of 690 ...
Page 354: ...Rev 2 00 09 03 page 308 of 690 ...
Page 374: ...Rev 2 00 09 03 page 328 of 690 ...
Page 420: ...Rev 2 00 09 03 page 374 of 690 ...
Page 476: ...Rev 2 00 09 03 page 430 of 690 ...
Page 482: ...Rev 2 00 09 03 page 436 of 690 ...
Page 552: ...Rev 2 00 09 03 page 506 of 690 ...
Page 630: ...Rev 2 00 09 03 page 584 of 690 ...
Page 739: ...SH7705 Group Hardware Manual REJ09B0082 0200O ...