PROGRAMMER
′′
S MODEL
S3C2500B
2-22
2.16.1.2 Register 0: Cache type
This is a read-only register which allows operating systems to establish how to perform operations such as cache
cleaning and lockdown. Future ARM cached processors will contain this register, allowing RTOS vendors to
produce future-proof versions of their operating systems.
The cache type register is accessed by reading CP15 register 0 with the opcode_2 field set to 1. For example:
MRC p15, 0, rd, c0, c0, 1; returns Cache type register
The register contains information about the size and architecture of the caches. The format of the register is
shown in Table 2-7.
Table 2-7. Cache Type Register Format
Register Bits
Meaning
Value
31:29
Reserved
000
28:25
Cache type
0111
24
Harvard/Unified
1 (defines Harvard cache)
23:21
Reserved
000
20:18
DCache size
011 (defines 4KB)
17:15
DCache associativity
110 (defines 64 way)
14
DCache base size
0 (defines 1x base parameters)
13:12
DCache words per line
01 (defines 4 words per line)
11:9
Reserved
000
8:6
ICache size
011 (defines 4KB)
5:3
ICache Associativity
110 (defines 64 way)
2
ICache base size
0 (defines 1x base parameters)
1:0
ICache words per line
01 (defines 4 words per line)
Содержание S3C2500B
Страница 2: ...S3C2500B 32 BIT RISC MICROPROCESSOR USER S MANUAL Revision 1 ...
Страница 17: ......
Страница 25: ......
Страница 80: ...PRODUCT OVERVIEW S3C2500B 1 46 NOTES ...
Страница 296: ...MEMORY CONTROLLER S3C2500B 5 60 NOTES ...
Страница 531: ...GDMA CONTROLLER S3C2500B 12 24 NOTES ...
Страница 593: ...I O PORTS S3C2500B 15 12 NOTES ...