Vea Registers; Oea Registers; Machine State Register (Msr) - Freescale Semiconductor MPC8313E Family Reference Manual

Powerquicc ii pro integrated processor
Hide thumbs Also See for MPC8313E:
Table of Contents

Advertisement

7.3.1.2

VEA Registers

The VEA introduces the time base facility (TB) for reading. The TB is a 64-bit register pair whose contents
are incremented once every four core input clock cycles. The TB consists of two 32-bit registers—time
base upper (TBU) and time base lower (TBL). Note that the time base registers are read-only in user state.
7.3.1.3

OEA Registers

OEA registers are supervisor-level registers that include the following.
7.3.1.3.1

Machine State Register (MSR)

The MSR, shown in
Figure
of this register are saved when an interrupt is taken, and restored when the interrupt handling completes.
A critical interrupt is taken in the e300 core when the cint signal is asserted and MSR[CE] is set. The e300
core implements the MSR as a 32-bit register.
0
R
W
Reset
Table 7-1
shows the bit definitions for MSR.
Bits
Name
1
0
Reserved. Full function.
1
1–4
Reserved. Partial function.
1
5–9
Reserved. Full function.
1
10–12
Reserved. Partial function.
13
POW Power management enable (implementation-specific)
0 Disables programmable power modes (normal operation mode)
1 Enables programmable power modes (nap, doze, or sleep mode).
This bit controls the programmable power modes only; it has no effect on dynamic power management (DPM).
MSR[POW] may be altered with an mtmsr instruction only. Also, when altering the POW bit, software may
alter only this bit in the MSR and no others. The mtmsr instruction must be followed by a
context-synchronizing instruction.
14
TGPR Temporary GPR remapping (implementation-specific)
0 Normal operation
1 TGPR mode. GPR0–GPR3 are remapped to TGPR0–TGPR3 for use by TLB miss routines.
The contents of GPR0–GPR3 remain unchanged while MSR[TGPR] = 1. Attempts to use GPR4–GPR31 with
MSR[TGPR] = 1 yield undefined results. Temporarily replaces TGPR0–TGPR3 with GPR0–GPR3 for use by
TLB miss routines. The TGPR bit is set when either an instruction TLB miss, data read miss, or data write miss
interrupt is taken. The TGPR bit is cleared by an rfi instruction.
MPC8313E PowerQUICC II Pro Integrated Processor Family Reference Manual, Rev. 3
Freescale Semiconductor
7-3, is a supervisor-level register that defines the state of the core. The contents
12
13
14
15
16
POW TGPR ILE EE PR FP ME FE0 SE BE FE1 CE IP IR DR — PMM RI LE
Figure 7-3. Machine State Register (MSR)
Table 7-1. MSR Bit Descriptions
17
18
19
20
21
22
All zeros
Description
e300 Processor Core Overview
Access: Supervisor-only
23
24
25 26
27
28
29
30 31
7-17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpc8313

Table of Contents