MOTOROLA
Chapter 8. Instruction and Data Caches
8-17
Part II. PowerPC Microprocessor Module
8.3.2.2.3 Data Cache Unlock Cache Block Command
The unlock cache block command (DC_CST[CMD] = 0b1000) is used to unlock
previously locked cache blocks. To unlock a cache block:
1. Write the address of the cache block to be unlocked to the DC_ADR register.
2. Write the unlock cache block command (DC_CST[CMD] = 0b1000) to the
DC_CST register.
If the block is found in the cache (hit), it is unlocked and thereafter operates as a regular
valid cache block. If the block is not found in the cache (miss), no operation is performed.
There are no error cases for the unlock block command.
The data cache performs the unlock cache block command in one clock cycle.
8.3.2.2.4 Data Cache Unlock All Command
The data cache unlock all command (DC_CST[CMD] = 0b1010) is used to unlock the
entire data cache with a single command. When the unlock all command is performed, if a
cache block is locked, it is unlocked and thereafter operates as a regular valid cache block.
If a block is not locked or if it is marked invalid, no operation is performed. There are no
error cases for the unlock all command
The data cache performs the unlock all command in one clock cycle.
8.3.2.2.5 Data Cache Invalidate All Command
The data cache invalidate all command (DC_CST[CMD] = 0b1100) causes all unlocked,
valid blocks in the data cache to be marked invalid, regardless of whether the data is
modiÞed. Therefore, this command may effectively destroy modiÞed data. To invalidate the
entire data cache the invalidate all command should be preceded by an unlock all command.
Note that the data cache is not automatically invalidated at hard reset.
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 data cache performs the invalidate all command in one clock cycle.
8.3.2.2.6 Data Cache Flush Cache Block Command
The data cache ßush cache block command (DC_CST[CMD] = 0b1110) is used to write
the contents of an unlocked, modiÞed-valid cache block to memory and subsequently
invalidate that cache block. If the cache block is unmodiÞed-valid, the cache block is
invalidated without writing the contents to memory. If the cache block is locked or if it is
marked invalid, no operation is performed.
If a bus error occurs while executing the DC_CST ßush cache block command,
DC_CST[CCER1] is set and a machine check exception is generated. The data of the cache
block ßagged by the bus error is contained in the copyback buffer; it will have already been
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......