Motorola MPC8240 User Manual page 197

Integrated host processor with integrated pci
Table of Contents

Advertisement

Table 5-1. HID0 Field Descriptions (Continued)
Bits
Name
16
ICE
Instruction cache enable
0 The instruction cache is neither accessed nor updated. All pages are accessed as if they
were marked cache-inhibited (WIM = X1X). Potential cache accesses from the bus (snoop
and cache operations) are ignored. In the disabled state for the L1 caches, the cache tag
state bits are ignored, and all accesses are propagated to the bus as single-beat transactions.
For these transactions, however, the processor reflects the original state of the I bit (from the
MMU) to the peripheral logic block, regardless of cache disabled status.
ICE is zero at power-up.
1 The instruction cache is enabled.
17
DCE
Data cache enable
0 The data cache is neither accessed nor updated. All pages are accessed as if they were
marked cache-inhibited (WIM = X1X). Potential cache accesses from the bus (snoop and
cache operations) are ignored. In the disabled state, the cache tag state bits are ignored and
all accesses are propagated to the bus as single-beat transactions.
For those transactions, however, the processor reflects the original state of the I bit (from the
MMU) to the peripheral logic block, regardless of cache disabled status.
DCE is zero at power-up.
1 The data cache is enabled.
18
ILOCK
Instruction cache lock
0 Normal operation
1 Instruction cache is locked. A locked cache supplies data normally on a hit, but an access is
treated as a cache-inhibited transaction on a miss. On a miss, the transaction to the bus is
single-beat.
To prevent locking during a cache access, an isync must precede the setting of ILOCK.
19
DLOCK
Data cache lock
0 Normal operation
1 Data cache is locked. A locked cache supplies data normally on a hit but an access is treated
as a cache-inhibited transaction on a miss. On a miss, the transaction to the bus is
single-beat.
A snoop hit to a locked L1 data cache performs as if the cache were not locked. A cache block
invalidated by a snoop remains invalid until the cache is unlocked.
To prevent locking during a cache access, a sync must precede the setting of DLOCK.
20
ICFI
Instruction cache flash invalidate
0 The instruction cache is not invalidated. The bit is cleared when the invalidation operation
begins (usually the next cycle after the write operation to the register). The instruction cache
must be enabled for the invalidation to occur.
1 An invalidate operation is issued that marks the state of each instruction cache block as
invalid without writing back modified cache blocks to memory. Cache access is blocked during
this time. Accesses to the cache from the peripheral logic bus are signaled as a miss during
invalidate-all operations. Setting ICFI clears all the valid bits of the blocks and the PLRU bits
to point to way L0 of each set.
For 603e processors, the proper use of the ICFI and DCFI bits is to set them and clear them
with two consecutive mtspr operations.
21
DCFI
Data cache flash invalidate
0 The data cache is not invalidated. The bit is cleared when the invalidation operation begins
(usually the next cycle after the write operation to the register). The data cache must be
enabled for the invalidation to occur.
1 An invalidate operation is issued that marks the state of each data cache block as invalid
without writing back modified cache blocks to memory. Cache access is blocked during this
time. Accesses to the cache from the peripheral logic bus are signaled as a miss during
invalidate-all operations. Setting DCFI clears all the valid bits of the blocks and the PLRU bits
so that they point to way L0 of each set.
For 603e processors, the proper use of the ICFI and DCFI bits is to set them and clear them
with two consecutive mtspr operations.
22–23
Reserved
Description
2
2
2
2
Chapter 5. PowerPC Processor Core
Programming Model
5-15

Advertisement

Table of Contents
loading

Table of Contents