S3C2500B
PROGRAMMER
′′
S MODEL
2-29
2.16.1.8 Register 7: Cache operations
A write to this register can be used to perform the following operations:
•
Flush ICache and Dcache
•
Prefetch an ICache line
•
Wait for interrupt
•
Drain the write buffer
•
Clean and flush the DCache.
The ARM940T uses a subset of the architecture V4 functions (defined in the ARM Architecture Reference
Manual). The available operations are summarized in Table 2-18 and described below.
Table 2-18. Cache Operations Writing to Register 7
ARM instruction
Data
Protection region register
MCR p15, 0, Rd, c7, c5, 0
should be zero
Flush ICache
MCR p15, 0, Rd, c7, c5, 2
Index/segment
Flush ICache single entry
MCR p15, 0, Rd, c7, c6, 0
should be zero
Flush DCache
MCR p15, 0, Rd, c7, c6, 2
Index/segment
Flush DCache single entry
MCR p15, 0, Rd, c7, c10, 2
Index/segment
Clean DCache single entry
MCR p15, 0, Rd, c7, c13, 1
Address
Prefetch ICache line
MCR p15, 0, Rd, c7, c14, 2
Index/segment
Clean and flush DCache single entry
MCR p15, 0, Rd, c7, c8, 2
should be zero
Wait for interrupt
MCR p15, 0, Rd, c7, c10, 4
should be zero
Drain write buffer
"Should be zero" means the value transferred in the Rd.
A read from this register returns an unpredictable value.
Summary of Contents for S3C2500B
Page 2: ...S3C2500B 32 BIT RISC MICROPROCESSOR USER S MANUAL Revision 1 ...
Page 17: ......
Page 25: ......
Page 80: ...PRODUCT OVERVIEW S3C2500B 1 46 NOTES ...
Page 296: ...MEMORY CONTROLLER S3C2500B 5 60 NOTES ...
Page 531: ...GDMA CONTROLLER S3C2500B 12 24 NOTES ...
Page 593: ...I O PORTS S3C2500B 15 12 NOTES ...