Bit Kernel Mode Segments - NEC uPD98502 User Manual

Network controller
Table of Contents

Advertisement

(5) kseg3 (32-bit kernel mode, kernel space 3)
When KX = 0 in the Status register and the most-significant three bits of the virtual address space are 111, the
kseg3 virtual address space is selected; it is the current 512-Mbyte (2
address is extended with the contents of the 8-bit ASID field to form a unique virtual address.
Address Bit
Status Register Bit Value
Value
KSU
EXL
A(63:62) = 00
KSU = 00
EXL = 1
ERL = 1
A(63:62) = 01
A(63:62) = 10
A(63:62) = 11
A(63:62) = 11
A(63:31) = -1
A(63:62) = 11
A(63:31) = -1
A(63:62) = 11
A(63:31) = -1
A(63:62) = 11
A(63:31) = -1
(6) xkuseg (64-bit kernel mode, user space)
When KX = 1 in the Status register and bits 63 and 62 of the virtual address space are 00, the xkuseg virtual
address space is selected; it is the 1-Tbyte (2
extended with the contents of the 8-bit ASID field to form a unique virtual address.
If the ERL bit of the Status register is 1, the user address space is assigned 2 Gbytes (2
mapping and becomes unmapped (with virtual addresses being used as physical addresses) and uncached so
that the cache error handler can use it. This allows the Cache Error exception code to operate uncached using r0
as a base register.
CHAPTER 2 V
Table 2-30. 64-bit Kernel Mode Segments
Segment
ERL
KX
Name
1
xkuseg
or
or
1
xksseg
1
xkphys
1
xkseg
1
ckseg0
1
ckseg1
1
cksseg
1
ckseg3
40
bytes) current user address space. The virtual address is
Preliminary User's Manual S15543EJ1V0UM
4120A
R
29
-byte) kernel virtual space. The virtual
Virtual Address
0000_0000_0000_0000H
to
0000_00FF_FFFF_FFFFH
4000_0000_0000_0000H
to
4000_00FF_FFFF_FFFFH
8000_0000_0000_0000H
to
BFFF_FFFF_FFFF_FFFFH
C000_0000_0000_0000H
to
C000_00FF_7FFF_FFFFH
FFFF_FFFF_8000_0000H
to
FFFF_FFFF_9FFF_FFFFH
FFFF_FFFF_A000_0000H
to
FFFF_FFFF_BFFF_FFFFH
FFFF_FFFF_C000_0000H
to
FFFF_FFFF_DFFF_FFFFH
FFFF_FFFF_E000_0000H
to
FFFF_FFFF_FFFF_FFFFH
Physical
Size
Address
TLB map
1 Tbyte
40
(2
bytes)
TLB map
1 Tbyte
40
(2
bytes)
0000_0000H
4 Gbytes
32
to
(2
bytes)
FFFF_FFFFH
40
31
TLB map
2
to 2
bytes
0000_0000H
512 Mbytes
29
to
(2
bytes)
1FFF_FFFFH
0000_0000H
512 Mbytes
29
to
(2
bytes)
1FFF_FFFFH
TLB map
512 Mbytes
29
(2
bytes)
TLB map
512 Mbytes
29
(2
bytes)
31
bytes) without TLB
113

Advertisement

Table of Contents
loading

Table of Contents