Page-Table Lookup
The page-index portion of the virtual
address, in conjunction with the page
table origin contained in the segment
table entry, is used to select an entry
from the page table.
The 24-bit real address of the page
table entry is obtained by appending
three zeros to the right of bits 8-28 of
the segment-table entry and adding the
page index, with the rightmost bit posi
tion of the page index aligned with bit30 of the address. A carry, if any,
into bit position 7 is ignored. With
extended real addressing, this 24-bit
real address is extended on the left
with zeros; thus, thepage table can
wrap from224 - 1 to zero.
As part of the page-table-Iookup
process, the four leftmost bits of thepage index are compared against the
page-table length, bits0-3 of the
segment-table entry, to establish whether the addressed entry is within the
table. If the value in the page-table
length field is less than the value in
the four leftmost bit positions of the
page-index field, a page-translation
exception is recognized.
The two bytes of the page-table entry
appear to be fetched concurrently as
observed by otherCPUs. The fetch
access is not subject to protection.
When the storage address generated for
fetching the page-table entry designates
a location which is not available in the
configuration, an addressing exception
is recognized, and the unit of operation
is suppressed.
The entry fetched from the page table
indicates the availability of the page
and contains the leftmost bits of the
page-frame real address. The page
invalid bit is inspected to establish
whether the corresponding page is avail
able. If this bit is one, a page
translation exception is recognized. If
bit positions 13-14 for 4K-byte pages or
bit position 14 for 2K-byte pages
contains a one, a translation
specification exception is recognized.
When the extended-real-addressing facil
ity is installed, bit positions 13 and
14 of the page-table entry for 4K-byte
pages are used as bits 6 and 7 of the
page-frame real address and do not cause
a translation-specification exception
when either bit is one.
Formation of the Real AddressWhen no exceptions in the translation
processare encountered, the page-frame
real address obtained from the page
table entry and the byte-index portion
of the virtual address are concatenated,
with the page-frame real address forming
the leftmost part. The result is the
real storage address which corresponds
to the virtual address.
Recognition of Exceptions during Trans
lation
Invalid addresses and invalid formats
can cause exceptions to be recognized
during the translation process.
Exceptions are recognized when informa
tion contained in control registers or
table entries is used for translation
and is found tobe incorrect.
The information pertaining to OAT is
considered tobe used when an instruc
tion is executed with DAT on or when
INVALIDATEPAGE TABLE ENTRY or LOAD REAL
ADDRESS ;s executed. The informationis not considered to be used when the PSW specifies OAT on but an I/O, external,
restart, or machine-check interruption
occurs before an instructionis executed, or when the PSW specifies the
wait state.Only that information
required in order to translatea virtual
address is considered to be in use
during the translation of that address,
and, in particular, addressing
exceptions that would be caused by the
use of thePSTD or the SSTD are not
recognized when the translation of an
address uses only the SSTD or only thePSTD, respectively.
A list of translation exceptions, with
the action taken for each exception and
the priority in which the exceptionsare recognized when more than one is appli
cable, is provided in the section
"Recognition of Access Exceptions" inChapter 6, "Interruptions." TRANSLATION-LOOKASIDE BUFFER
To enhance performance, the dynamic
address-translation mechanism normally
is implemented such that some of the
information specified in the segment and
page tables is maintained in a special
buffer, referred to as the translation
lookaside buffer (TLB). TheCPU neces
sarily refers to a OAT-table entry in
real storage only for the initial access
to that entry. This information may be
placed in the TLB, and subsequent trans
lations maybe performed by using the
information in the TLB. The presence of
the TLB affects the translation process
to theextent that a modification of the
contents ofa table entry in real stor
age does not necessarily have anChapter 3. Storage 3-31
The page-index portion of the virtual
address, in conjunction with the page
table origin contained in the segment
table entry, is used to select an entry
from the page table.
The 24-bit real address of the page
table entry is obtained by appending
three zeros to the right of bits 8-28 of
the segment-table entry and adding the
page index, with the rightmost bit posi
tion of the page index aligned with bit
into bit position 7 is ignored. With
extended real addressing, this 24-bit
real address is extended on the left
with zeros; thus, the
wrap from
As part of the page-table-Iookup
process, the four leftmost bits of the
page-table length, bits
segment-table entry, to establish wheth
table. If the value in the page-table
length field is less than the value in
the four leftmost bit positions of the
page-index field, a page-translation
exception is recognized.
The two bytes of the page-table entry
appear to be fetched concurrently as
observed by other
access is not subject to protection.
When the storage address generated for
fetching the page-table entry designates
a location which is not available in the
configuration, an addressing exception
is recognized, and the unit of operation
is suppressed.
The entry fetched from the page table
indicates the availability of the page
and contains the leftmost bits of the
page-frame real address. The page
invalid bit is inspected to establish
whether the corresponding page is avail
able. If this bit is one, a page
translation exception is recognized. If
bit positions 13-14 for 4K-byte pages or
bit position 14 for 2K-byte pages
contains a one, a translation
specification exception is recognized.
When the extended-real-addressing facil
ity is installed, bit positions 13 and
14 of the page-table entry for 4K-byte
pages are used as bits 6 and 7 of the
page-frame real address and do not cause
a translation-specification exception
when either bit is one.
Formation of the Real Address
process
real address obtained from the page
table entry and the byte-index portion
of the virtual address are concatenated,
with the page-frame real address forming
the leftmost part. The result is the
real storage address which corresponds
to the virtual address.
Recognition of Exceptions during Trans
lation
Invalid addresses and invalid formats
can cause exceptions to be recognized
during the translation process.
Exceptions are recognized when informa
tion contained in control registers or
table entries is used for translation
and is found to
The information pertaining to OAT is
considered to
tion is executed with DAT on or when
INVALIDATE
ADDRESS ;s executed. The information
restart, or machine-check interruption
occurs before an instruction
wait state.
required in order to translate
address is considered to be in use
during the translation of that address,
and, in particular, addressing
exceptions that would be caused by the
use of the
recognized when the translation of an
address uses only the SSTD or only the
A list of translation exceptions, with
the action taken for each exception and
the priority in which the exceptions
cable, is provided in the section
"Recognition of Access Exceptions" in
To enhance performance, the dynamic
address-translation mechanism normally
is implemented such that some of the
information specified in the segment and
page tables is maintained in a special
buffer, referred to as the translation
lookaside buffer (TLB). The
sarily refers to a OAT-table entry in
real storage only for the initial access
to that entry. This information may be
placed in the TLB, and subsequent trans
lations may
information in the TLB. The presence of
the TLB affects the translation process
to the
contents of
age does not necessarily have an