r5s77631ay266bgv Renesas Electronics Corporation., r5s77631ay266bgv Datasheet - Page 213

no-image

r5s77631ay266bgv

Manufacturer Part Number
r5s77631ay266bgv
Description
Renesas 32-bit Risc Microcomputer Superhtm Risc Engine Family Sh-4a Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
6.2.1
PTEH consists of the virtual page number (VPN) and address space identifier (ASID). When an
MMU exception or address error exception occurs, the VPN of the virtual address at which the
exception occurred is set in the VPN bit by hardware. VPN varies according to the page size, but
the VPN set by hardware when an exception occurs consists of the upper 22 bits of the virtual
address which caused the exception. VPN setting can also be carried out by software. The number
of the currently executing process is set in the ASID bit by software. ASID is not updated by
hardware. VPN and ASID are recorded in the UTLB by means of the LDTLB instruction.
After the ASID field in PTEH has been updated, execute one of the following three methods
before an access (including an instruction fetch) to the P0, P3, or U0 area that uses the updated
ASID value is performed.
1. Execute a branch using the RTE instruction. In this case, the branch destination may be the P0,
2. Execute the ICBI instruction for any address (including non-cacheable area).
3. If the R2 bit in IRMCR is 0 (initial value) before updating the ASID field, the specific
Note that the method 3 may not be guaranteed in the future SuperH Series. Therefore, it is
recommended that the method 1 or 2 should be used for being compatible with the future SuperH
Series.
Bit
31 to 10
9, 8
7 to 0
Initial value:
Initial value:
P3, or U0 area.
instruction does not need to be executed. However, note that the CPU processing performance
will be lowered because the instruction fetch is performed again for the next instruction after
the ASID field has been updated.
R/W:
R/W:
Bit:
Bit:
Page Table Entry High Register (PTEH)
Bit Name
VPN
ASID
R/W
R/W
31
15
R/W
R/W
30
14
R/W
R/W
29
13
Initial
Value
All 0
VPN
R/W
R/W
28
12
R/W
R/W
27
11
R/W
R/W
R
R/W
R/W
R/W
26
10
Description
Virtual Page Number
Reserved
For details on reading from or writing to these bits, see
description in General Precautions on Handling of
Product.
Address Space Identifier
R/W
25
R
9
0
R/W
24
R
8
0
VPN
R/W
R/W
23
7
Section 6 Memory Management Unit (MMU)
Rev. 1.00 Oct. 01, 2007 Page 147 of 1956
R/W
R/W
22
6
R/W
R/W
21
5
R/W
R/W
20
4
ASID
R/W
R/W
19
3
REJ09B0256-0100
R/W
R/W
18
2
R/W
R/W
17
1
R/W
R/W
16
0

Related parts for r5s77631ay266bgv