ARM R4F, r1p3 manual 13 c0, Current Cache Level ID Register, Reserved

Models: R4F r1p3 R4

1 456
Download 456 pages 40.06 Kb
Page 118
Image 118

System Control Coprocessor

To access the Current Cache Size Identification Register read CP15 with:

MRC p15, 1, <Rd>, c0, c0, 0 ; Read Current Cache Size Identification Register

4.2.13c0, Current Cache Level ID Register

The Current Cache Level ID Register indicates the cache levels that are implemented. Architecturally, there can be a different number of cache levels on the instruction and data side. The register also captures the point-of-coherency and the point-of-unification.

The Current Cache Level ID Register is:

a read-only register

accessible in Privileged mode only.

Figure 4-25shows the bit arrangement for the Current Cache Level ID Register.

31 30 29

27 26

24 23

21 20

18 17

15 14

12 11 10

8

6

5

3

2

0

 

LoU

LoC

CL 8

CL 7

CL 6

CL 5

CL 4

CL 3

 

 

CL 2

 

CL 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved

Figure 4-25 Current Cache Level ID Register format

Table 4-21shows how the bit values correspond with the Current Cache Level ID Register.

Table 4-21 Current Cache Level ID Register bit functions

Bits

Field

Function

 

 

 

 

[31:30]

Reserved

SBZ

 

 

 

 

 

[29:27]

LoU

0b001

= Level of Unification

 

 

 

 

[26:24]

LoC

0b001

= Level of Coherency

 

 

 

 

[23:21]

CL 8

0b000

= no cache at Cache Level (CL) 8

 

 

 

 

[20:18]

CL 7

0b000

= no cache at CL 7

 

 

 

 

[17:15]

CL 6

0b000

= no cache at CL 6

 

 

 

 

[14:12]

CL 5

0b000

= no cache at CL 5

 

 

 

 

[11:9]

CL 4

0b000

= no cache at CL 4

 

 

 

 

[8:6]

CL 3

0b000

= no cache at CL 3

 

 

 

 

[5:3]

CL 2

0b000

= no cache at CL 2

 

 

 

[2]

CL 1

RAZ. Indicates no unified cache at CL1

[1]CL 1 0b001 if a data cache is implemented 0b000 if no data cache is implemented

[0]CL 1 0b001 if an instruction cache is implemented 0b000 if no instruction cache is implemented

To access the Current Cache Level ID Register, read CP15 with:

MRC p15, 1, <Rd>, c0, c0, 1 ; Read Current Cache Level ID Register

ARM DDI 0363E

Copyright © 2009 ARM Limited. All rights reserved.

4-34

ID013010

Non-Confidential, Unrestricted Access

 

Page 118
Image 118
ARM R4F, r1p3 manual 13 c0, Current Cache Level ID Register, Reserved