Instruction and Data Caches
MPC885 PowerQUICC Family Reference Manual, Rev. 2
7-6
Freescale Semiconductor
The two state bits implement a three-state (modified-valid/unmodified-valid/invalid) protocol. The
MPC885 does not provide support for snooping external bus activity. All coherency between the internal
caches and external agents (memory or I/O devices) must be controlled by software.
The data cache also implements a lock bit for each cache block that allows data to be loaded into the data
cache and locked. The MPC885 supports commands for locking and unlocking individual cache blocks
and for unlocking all the cache blocks at once.
7.3
Cache Control Registers
The MPC885 caches are controlled by programming commands using the cache control registers and by
issuing dedicated cache control instructions. This section describes control of the instruction and data
caches by the cache control registers.
Section 7.4, “Cache Control Instructions,”
describes the cache
control instructions.
7.3.1
Instruction Cache Control Registers
The MPC885 implements three special purpose registers (SPRs) to control the instruction cache: the
instruction cache control and status register (IC_CST), the instruction cache address register (IC_ADR),
and the instruction cache data port register (IC_DAT). The instruction cache can be disabled, invalidated,
or locked by issuing the appropriate commands to the instruction cache control registers (IC_CST,
IC_ADR, and IC_DAT). In addition, the instruction cache control registers can be used to read the contents
and tags of specific instruction cache blocks.
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 IC_CST register, shown in
Figure 7-3
, has an SPR encoding of 560.
0
1
3
4
6
7
9
10
11
12
15
Field IEN
—
CMD
—
CCER1 CCER2
—
Reset
0
—
—
—
0
0
—
R/W
R
—
R/W
—
R
R
—
16
31
Field
—
Reset
—
R/W
—
SPR
560
Figure 7-3. Instruction Cache Control and Status Register (IC_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 ...