Status Register Diagnostic Status Field - NEC uPD98502 User Manual

Network controller
Table of Contents

Advertisement

24
: Specifies the base address of a TLB Refill exception vector and common exception vector (0 →
BEV
Normal, 1 → Bootstrap).
: Occurs the TLB to be shut down (read-only) (0 → Not shut down, 1 → Shut down). This bit is used to
TS
avoid any problems that may occur when multiple TLB entries match the same virtual address. After
the TLB has been shut down, reset the processor to enable restart. Note that the TLB is shut down
even if a TLB entry matching a virtual address is marked as being invalid (with the V bit cleared).
: Occurs a Soft Reset or NMI exception (0 → Not occurred, 1 → Occurred).
SR
: CP0 condition bit (0 → False, 1 → True). This bit can be read and written by software only; it cannot
CH
be accessed by hardware.
CE, DE: These are prepared to maintain compatibility with the V
hardware.
0
: RFU. Write 0 in a write operation. When this field is read, 0 is read.
The status register has the following fields where the modes and access status are set.
(1) Interrupt enable
Interrupts are enabled when all of the following conditions are true:
IE is set to 1.
EXL is cleared to 0.
ERL is cleared to 0.
The appropriate bit of the IM is set to 1.
(2) Operating modes
The following Status register bit settings are required for User, Kernel, and Supervisor modes.
The processor is in User mode when KSU = 10, EXL = 0, and ERL = 0.
The processor is in Supervisor mode when KSU = 01, EXL = 0, and ERL = 0.
The processor is in Kernel mode when KSU = 00, EXL = 1, or ERL = 1.
(3) 32- and 64-bit modes
The following Status register bit settings select 32- or 64-bit operation for User, Kernel, and Supervisor operating
modes. Enabling 64-bit operation permits the execution of 64-bit opcodes and translation of 64-bit addresses. 64-
bit operation for User, Kernel and Supervisor modes can be set independently.
64-bit addressing for Kernel mode is enabled when KX bit = 1. 64-bit operations are always valid in Kernel
mode.
64-bit addressing and operations are enabled for Supervisor mode when SX bit = 1.
64-bit addressing and operations are enabled for User mode when UX bit = 1.
(4) Kernel address space accesses
Access to the kernel address space is allowed when the processor is in Kernel mode.
(5) Supervisor address space accesses
Access to the supervisor address space is allowed when the processor is in Supervisor or Kernel mode.
(6) User address space accesses
Access to the user address space is allowed in any of the three operating modes.
CHAPTER 2 V
Figure 2-52. Status Register Diagnostic Status Field
23
22
21
0
BEV
TS
2
1
1
Preliminary User's Manual S15543EJ1V0UM
4120A
R
20
19
18
17
SR
0
CH
CE
1
1
1
1
4100, and are not used in the V
R
16
DE
1
4120A Core
R
135

Advertisement

Table of Contents
loading

Table of Contents