
Programmer’s Model
2-24
Copyright © ARM Limited 2000. All rights reserved.
For the ICache prefetch operation, the data format is shown in Figure 2-3.
Figure 2-3 ICache address format
Cache clean and flush operations
Cache clean and flush operations can occur during instruction and data linefetches. In
such circumstances the linefetch completes before the clean or flush operation is
executed.
Drain write buffer
This operation stalls instruction execution until the write buffer is emptied. This is
useful in real-time applications where the processor must be sure that a write to a
peripheral has completed before program execution continues. An example is where a
peripheral in a bufferable region is the source of an interrupt. When the interrupt has
been serviced, the request must be removed before interrupts can be re-enabled. This is
ensured if a drain write buffer operation separates the store to the peripheral and the
enable interrupt functions.
The drain write buffer operation is invoked by a write to register 7 using the following
ARM instruction:
MCR cp15, 0, rd, c7, c10, 4; drain write buffer
This stalls the processor core until any outstanding accesses in the write buffer are
completed, that is, until all data is written to external memory.
Wait for interrupt
This operation allows the ARM946E-S to enter a low-power standby mode. When you
invoke the operation, the CLKEN signal to the processor core is negated and the cache
and tightly-coupled memories are placed in a low-power state until either an interrupt
or a debug request occurs. This function is invoked by a write to register 7. The
following ARM instruction causes this to occur:
MCR p15, 0, rd, c7, c0, 4; wait for interrupt
This is the preferred encoding for new software. For compatibility with existing
software, ARM946E-S also supports the following ARM instruction that has the same
affect:
31
5 4
0
Address
SBZ
Содержание ARM946E-S
Страница 1: ...ARM DDI 0155A ARM946E S Technical Reference Manual ...
Страница 6: ...vi Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A 04 Limited Confidential ...
Страница 54: ...Programmer s Model 2 34 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 70: ...Caches 3 16 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 78: ...Protection Unit 4 8 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 98: ...Bus Interface Unit and Write Buffer 6 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 112: ...Coprocessor Interface 7 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...