Intel ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3 Manual page 718

Hide thumbs Also See for ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3:
Table of Contents

Advertisement

PAL_VM_TR_READ
PAL_VM_TR_READ – Read a Translation Register (261)
Reads a translation register.
Purpose:
Stacked Registers
Calling Conv:
Physical
Mode:
Not dependent
Buffer:
Arguments:
Argument
index
reg_num
tr_type
tr_buffer
Returns:
Return Value
status
TR_valid
Reserved
Reserved
Status:
Status Value
0
-2
-3
This procedure reads the specified translation register and returns its data in the buffer
Description:
starting at tr_buffer. The format of the data is returned in Translation Insertion Format,
as described in
bit 0 of the IFA in
translation is valid. If bit 0 is 1, the translation is valid.
Some fields of the translation register returned may be invalid. The validity of these
fields is indicated by the return argument TR_valid. If these fields are not valid, the
caller should ignore the indicated fields when reading the translation register returned
in tr_buffer.
Figure 11-50. Layout of TR_valid Return Value
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36
• av – denotes that the access rights field is valid
• pv – denotes that the privilege level field is valid
• dv – denotes that the dirty bit is valid
• mv – denotes that the memory attributes are valid.
A value of 1 denotes a valid field. A value of 0 denotes an invalid field. Any value
returned in an invalid field must be ignored.
The tr_buffer parameter should be aligned on an 8 byte boundary.
Note: This procedure may have the side effect of flushing all the translation cache
entries depending on the implementation.
2:470
Description
Index of PAL_VM_TR_READ within the list of PAL procedures.
Unsigned 64-bit number denoting which TR to read.
Unsigned 64-bit number denoting whether to read an ITR (0) or DTR (1). All other values are
reserved.
64-bit pointer to the 32-byte memory buffer in which translation data is returned.
Description
Return status of the PAL_VM_TR_READ procedure.
Formatted bit vector denoting which fields are valid. See
0
0
Description
Call completed without error.
Invalid argument
Call completed with error.
Figure 4-5, "Translation Insertion Format," on page
Figure 4-5
(an ignored field in the figure) will return whether the
Reserved
Figure
8
Reserved
Volume 2, Part 1: Processor Abstraction Layer
11-50.
2:54. In addition,
7
6
5
4
3
2
1
0
mv dv pv av
35
34 33 32

Advertisement

Table of Contents
loading

This manual is also suitable for:

Itanium architecture 2.3

Table of Contents