Instruction and Data Caches
MPC885 PowerQUICC Family Reference Manual, Rev. 2
Freescale Semiconductor
7-11
7.3.1.2.5
Instruction Cache Invalidate All Command
The instruction cache invalidate all command (IC_CST[CMD] = 0b110) causes all unlocked, valid blocks
in the instruction cache to be marked invalid. As a result of the invalidate all command, the LRU bits of
all cache blocks point to either the unlocked way or to way 0 if both ways are unlocked. There are no error
cases for the invalidate all command.
The instruction cache performs the invalidate all command in one clock cycle.
7.3.2
Data Cache Control Registers
The MPC885 implements three special purpose registers (SPRs) to control the data cache: the data cache
control and status register (DC_CST), the data cache address register (DC_ADR), and the data cache data
port register (DC_DAT). The data cache can be disabled, invalidated, locked, or flushed by issuing the
appropriate commands to the data cache control registers (DC_CST, DC_ADR, and DC_DAT). Also, the
data cache control registers can be used to read the contents and tags of specific data cache blocks.
DC_CST[DFWT] can be used to force the data cache into write-through mode. DC_CST[LES] controls
true little-endian byte-ordering of the MPC885. See
Appendix A, “Byte Ordering,”
for more information.
The mtspr and mfspr instructions access the cache control registers, but they can be accessed only by
supervisor-level programs (that is, when MSR[PR] = 0). Any attempt to access these SPRs with a
user-level program (MSR[PR] = 1) results in a supervisor-level program exception.
The DC_CST register, shown in
Figure 7-6
, has an SPR encoding of 568.
0
1
2
3
4
7
8
9
10
11
12
15
Field DEN DFWT LES
—
CMD
—
CCER1 CCER2
—
Reset
0
0
0
—
—
—
0
0
—
R/W
R
R
R
—
R/W
—
R
R
—
16
31
Field
—
Reset
—
R/W
—
SPR
568
Figure 7-6. Data Cache Control and Status Register (DC_CST)
Summary of Contents for PowerQUICC MPC870
Page 98: ...MPC885 PowerQUICC Family Reference Manual Rev 2 I 4 Freescale Semiconductor ...
Page 118: ...MPC885 Overview MPC885 PowerQUICC Family Reference Manual Rev 2 1 20 Freescale Semiconductor ...
Page 158: ...The MPC8xx Core MPC885 PowerQUICC Family Reference Manual Rev 2 3 18 Freescale Semiconductor ...
Page 288: ...MPC885 PowerQUICC Family Reference Manual Rev 2 III 4 Freescale Semiconductor ...
Page 554: ...MPC885 PowerQUICC Family Reference Manual Rev 2 V 6 Freescale Semiconductor ...
Page 1090: ...UTOPIA Interface MPC885 PowerQUICC Family Reference Manual Rev 2 43 8 Freescale Semiconductor ...
Page 1312: ...Byte Ordering MPC885 PowerQUICC Family Reference Manual Rev 2 A 8 Freescale Semiconductor ...
Page 1336: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 16 Freescale Semiconductor ...
Page 1358: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 38 Freescale Semiconductor ...
Page 1370: ...MPC880 MPC885 PowerQUICC Family Reference Manual Rev 2 E 4 Freescale Semiconductor ...
Page 1386: ...Revision History MPC885 PowerQUICC Family Reference Manual Rev 2 I 2 Freescale Semiconductor ...