Entryhi Register; Prid Register - NEC uPD98502 User Manual

Network controller
Table of Contents

Advertisement

2.4.5.6 EntryHi register (10)

The EntryHi register is write-accessible. It is used to access the on-chip TLB. The EntryHi register holds the high-
order bits of a TLB entry for TLB read and write operations. If a TLB Mismatch, TLB Invalid, or TLB Modified
exception occurs, the EntryHi register holds the high-order bit of the TLB entry. The EntryHi register is also set with
the virtual page number (VPN2) for a virtual address where an exception occurred and the ASID. See Section 2.5
Exception Processing for details of the TLB exception.
The ASID is used to read from or write to the ASID field of the TLB entry. It is also checked with the ASID of the
TLB entry as the ASID of the virtual address during address translation.
The EntryHi register is accessed by the TLBP, TLBWR, TLBWI, and TLBR instructions.
31
63
62
R
2
VPN2: Virtual page number divided by two (mapping to two pages)
ASID : Address space ID. An 8-bit ASID field that lets multiple processes share the TLB; each process has a
distinct mapping of otherwise identical virtual page numbers.
: Space type (00 → user, 01 → supervisor, 11 → kernel). Matches bits 63 and 62 of the virtual address.
R
Fill
: RFU. Ignored on write. When read, returns zero.
0
: RFU. Write 0 in a write operation. When this field is read, 0 is read.
2.4.5.7 Processor revision identifier (PRId) register (15)
The 32-bit, read-only Processor Revision Identifier (PRId) register contains information identifying the
implementation and revision level of the CPU and CP0. Figure 2-41 shows the format of the PRId register.
31
Imp : CPU core processor ID number (0CH for the V
Rev : CPU core processor revision number
0
: RFU. Write 0 in a write operation. When this field is read, 0 is read.
The processor revision number is stored as a value in the form y.x, where y is a major revision number in bits 7 to
4 and x is a minor revision number in bits 3 to 0.
The processor revision number can distinguish some CPU core revisions, however there is no guarantee that
changes to the CPU core will necessarily be reflected in the PRId register, or that changes to the revision number
necessarily reflect real CPU core changes. Therefore, create a program that does not depend on the processor
revision number area.
CHAPTER 2 V
Figure 2-40. EntryHi Register
(a) 32-bit mode
VPN2
21
(b) 64-bit mode
61
40
39
Fill
VPN2
22
29
Figure 2-41. PRId Register
16
0
16
4120A)
R
Preliminary User's Manual S15543EJ1V0UM
4120A
R
11 10
8
7
0
3
11 10
8
7
0
3
15
8
7
Imp
Rev
8
0
ASID
8
0
ASID
8
0
8
123

Advertisement

Table of Contents
loading

Table of Contents