Programmer’s Model
Copyright © ARM Limited 2000. All rights reserved.
2-7
The contents of the ID code are shown in Table 2-3.
2.3.3
Register 0, Cache type register
This is a read-only register that contains information about the size and architecture of
the instruction cache (ICache) and data cache (DCache), allowing 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 details
The format of the register is shown in Table 2-4.
Table 2-3 Register 0, ID code
Register bits
Function
Value
31:24
Implementor
0x41
23:20
Reserved (variant)
0x00
19:16
Architecture version ARM5TExP
0x04
15:4
Part number
0x946
3:0
Version (implementation-specific)
Revision
Table 2-4 Cache type register format
Register bits
Function
Value
31:29
Reserved
000
28:25
Cache type
0111
24
Harvard/Unified
1 (defines Harvard cache)
23:22
Reserved
00
21:18
DCache size
Implementation-specific
17:15
DCache associativity
Implementation-specific
14
DCache base size
Implementation-specific
13:12
DCache words per line
10 (defines 8 words per line)
Summary of Contents for ARM946E-S
Page 1: ...ARM DDI 0155A ARM946E S Technical Reference Manual ...
Page 6: ...vi Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A 04 Limited Confidential ...
Page 54: ...Programmer s Model 2 34 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 70: ...Caches 3 16 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 78: ...Protection Unit 4 8 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 112: ...Coprocessor Interface 7 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...