Table 2-27 Context Id Register Operations; Figure 2-16 Context Id Register Format - ARM ARM926EJ-S Technical Reference Manual

Table of Contents

Advertisement

31
2.3.14
Register c14
ARM DDI0198D
{FCSE PID = 0}
MOV r0, #1:SHL:25
MCR p15,0,r0,c13,c0,0
A1
A2
A3
Where A1, A2, and A3 are the three instructions following the fast context switch.
Context ID Register
The Context ID Register provides a mechanism to allow real-time trace tools to identify
the currently executing process in multi-tasking environments.
The contents of this register are replicated on the ETMPROCID pins of the
ARM926EJ-S processor. ETMPROCIDWR is pulsed when a write occurs to the
Context ID Register.
Table 2-27 shows the ARM instructions that you can use to access the Context ID
Register.
The format of the Context ID Register, Rd, transferred during this operation is shown
in Figure 2-16.
Accessing (reading or writing) this register is reserved.
Copyright © 2001-2003 ARM Limited. All rights reserved.
;Fetched with FCSE PID = 0
;Fetched with FCSE PID = 0
;Fetched with FCSE PID = 0
;Fetched with FCSE PID = 0
;Fetched with FCSE PID = 1

Table 2-27 Context ID register operations

Function
Data
Read context ID
Context ID
Write context ID
Context ID
Context identifier

Figure 2-16 Context ID Register format

Programmer's Model
ARM Instruction
MRC p15,0,<Rd>,c13,c0, 1
MCR p15,0,<Rd>,c13,c0, 1
0
2-35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents