User’s Manual
PPC440x5 CPU Core
Preliminary
Page 80 of 589
prgmodel.fm.
September 12, 2002
2.8 User and Supervisor Modes
PowerPC Book-E architecture defines two operating “states” or “modes,” supervisor (privileged), and user
(non-privileged). Which mode the processor is operating in is controlled by MSR[PR]. When MSR[PR] is 0,
the processor is in supervisor mode, and can execute all instructions and access all registers, including privi-
leged ones. When MSR[PR] is 1, the processor is in user mode, and can only execute non-privileged instruc-
tions and access non-privileged registers. An attempt to execute a privileged instruction or to access a
privileged register while in user mode causes a Privileged Instruction exception type Program interrupt to
occur.
Note that the name “PR” for the MSR field refers to an historical alternative name for user mode, which is
“problem state.” Hence the value 1 in the field indicates “problem state,” and not “privileged” as one might
expect.
2.8.1 Privileged Instructions
The following instructions are privileged and cannot be executed in user mode:
17
U1
U1 Storage Attribute
0 U1 storage attribute is disabled
1 U1 storage attribute is enabled
See Table 5-1 on page 135.
18
U2
U2 Storage Attribute
0 U2 storage attribute is disabled
1 U2 storage attribute is enabled
See Table 5-1 on page 135.
19
U3
U3 Storage Attribute
0 U3 storage attribute is disabled
1 U3 storage attribute is enabled
See Table 5-1 on page 135.
20:23
Reserved
24
E
E Storage Attribute
0 Accesses to the page are big endian.
1 Accesses to the page are little endian.
25:27
Reserved
28:31
ERPN
Extended Real Page Number
This TLB field is prepended to the translated
address to form a 36-bit real address. See Table
5.4 Address Translation on page 140 and Table
5-3 Page Size and Real Address Formation on
page 142.
Table 2-27. Privileged Instructions
dcbi
dccci
dcread
iccci
icread
mfdcr
Содержание PPC440X5 CPU Core
Страница 1: ...PPC440x5 CPU Core User s Manual Preliminary SA14 2613 02 September 12 2002 Title Page...
Страница 22: ...User s Manual PPC440x5 CPU Core Preliminary Page 22 of 583 ppc440x5LOT fm September 12 2002...
Страница 26: ...User s Manual PPC440x5 CPU Core Preliminary Page 26 of 589 preface fm September 12 2002...
Страница 38: ...User s Manual PPC440x5 CPU Core Preliminary Page 38 of 589 overview fm September 12 2002...
Страница 94: ...User s Manual PPC440x5 CPU Core Preliminary Page 94 of 589 init fm September 12 2002...
Страница 132: ...User s Manual PPC440x5 CPU Core Preliminary Page 132 of 589 cache fm September 12 2002...
Страница 158: ...User s Manual PPC440x5 CPU Core Preliminary Page 158 of 589 mmu fm September 12 2002...
Страница 218: ...User s Manual PPC440x5 CPU Core Preliminary Page 218 of 589 timers fm September 12 2002...
Страница 248: ...User s Manual PPC440x5 CPU Core Preliminary Page 248 of 589 debug fm September 12 2002...
Страница 458: ...User s Manual PPC440x5 CPU Core Preliminary Page 458 of 589 regsummIntro fm September 12 2002...
Страница 568: ...User s Manual PPC440x5 CPU Core Preliminary Page 568 of 589 instalfa fm September 12 2002...
Страница 588: ...User s Manual PPC440x5 CPU Core Preliminary Page 588 of 583 ppc440x5IX fm September 12 2002...
Страница 590: ......