
Volume 2, Part 2: Interruptions and Serialization
2:541
A processor based on the Itanium architecture provides the following interruption
registers for collecting information about the latest interruption or the state of the
machine at the time of the interruption:
• IPSR – A copy of the processor status register (PSR) at the moment the
interruption occurred. The OS can use the IPSR to determine the value of any PSR
bit when the interruption occurred. The contents of IPSR are restored into the PSR
when the OS executes an
rfi
instruction. If the OS wishes to change the PSR state
of the interrupted process (e.g. to step over an instruction debug fault), it can do so
by modifying the IPSR contents before executing the
rfi
. When an interruption
occurs, the processor sets IPSR.ri to the slot number (0, 1, or 2) of the instruction
that was interrupted.
• IIP – A copy of the instruction pointer (IP) where the interruption occurred. The
instruction bundle address contained in IIP, along with the IPSR.ri field, defines the
instruction whose execution was interrupted. This instruction has not completed
(i.e. it has not retired), so when the OS returns to the interrupted context, typically
this is the instruction at which execution of the interrupted context resumes
1
. When
the OS executes an
rfi
instruction, the contents of IIP are copied into the IP
register and the processor begins fetching instructions from this address.
• ISR – Contains extra information about the specific interruption that occurred. This
register is useful for determining exactly which interruption occurred for
interruptions which share the same IVT vector.
• IFA – Faults related to addressing (e.g. Data TLB fault) materialize the faulting
address in this register.
• ITIR – Faults related to addressing materialize the default page size and permission
key for the region to which the faulting address belongs in this register.
• IIPA – Contains the instruction bundle address of the last instruction to retire
successfully while PSR.ic was 1. In conjunction with ISR.ei, IIPA can be used by
software to locate the instruction that caused a trap or that was executed
successfully prior to a fault or interrupt.
• IIM – Instructions that take a Speculation fault (e.g.
chk
) or a Break Instruction
fault (e.g.
break.i
) write this register with their immediate field when taking these
faults. For these cases, the IIM register can be used to emulate the instruction, or
to pass information to the fault handler; for example, software can use a particular
immediate field value in a break instruction to indicate to the operating system that
a system call is being performed.
• IHA – Faults related to the VHPT place the VHPT hash address in this register. See
Section 5.3, “Virtual Hash Page Table” on page 2:571
for details.
• IFS – This register can be used by software to save a copy of the interrupted
context’s PFS register, but an interruption handler must do this explicitly; hardware
only clears the valid bit (IFS.v) upon interruption. See below for details.
• IIB0, IIB1 – Contain the 16-byte instruction bundle related to the interruption. Note
that the IIB registers do not provide bundle information for all interruptions and are
not supported on all processor implementations; please refer to
1.
When an instruction faults because it requires emulation by the OS, the OS will normally skip the
emulated instruction by returning to the instruction bundle address and slot number that follows IIP
in program order. It does so by writing the next in-order bundle address and slot number into IIP and
IPSR.ri, respectively, before executing an
rfi
instruction. Details on emulation handlers is in
Chapter 7, “Instruction Emulation and Other Fault Handlers.”
Содержание ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS VOLUME 3 REV 2.3
Страница 1: ......
Страница 11: ...x Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Страница 12: ...1 1 Intel Itanium Architecture Software Developer s Manual Rev 2 3 Part I Application Architecture Guide ...
Страница 13: ...1 2 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Страница 33: ...1 22 Volume 1 Part 1 Introduction to the Intel Itanium Architecture ...
Страница 57: ...1 46 Volume 1 Part 1 Execution Environment ...
Страница 147: ...1 136 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Страница 149: ...1 138 Volume 1 Part 2 About the Optimization Guide ...
Страница 191: ...1 180 Volume 1 Part 2 Predication Control Flow and Instruction Stream ...
Страница 230: ......
Страница 248: ...236 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Страница 249: ...2 1 Intel Itanium Architecture Software Developer s Manual Rev 2 3 Part I System Architecture Guide ...
Страница 250: ...2 2 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Страница 264: ...2 16 Volume 2 Part 1 Intel Itanium System Environment ...
Страница 380: ...2 132 Volume 2 Part 1 Interruptions ...
Страница 398: ...2 150 Volume 2 Part 1 Register Stack Engine ...
Страница 486: ...2 238 Volume 2 Part 1 IA 32 Interruption Vector Descriptions ...
Страница 749: ...2 501 Intel Itanium Architecture Software Developer s Manual Rev 2 3 Part II System Programmer s Guide ...
Страница 750: ...2 502 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Страница 754: ...2 506 Volume 2 Part 2 About the System Programmer s Guide ...
Страница 796: ...2 548 Volume 2 Part 2 Interruptions and Serialization ...
Страница 808: ...2 560 Volume 2 Part 2 Context Management ...
Страница 842: ...2 594 Volume 2 Part 2 Floating point System Software ...
Страница 850: ...2 602 Volume 2 Part 2 IA 32 Application Support ...
Страница 862: ...2 614 Volume 2 Part 2 External Interrupt Architecture ...
Страница 870: ...2 622 Volume 2 Part 2 Performance Monitoring Support ...
Страница 891: ......
Страница 941: ...3 42 Volume 3 Instruction Reference cmp illegal_operation_fault PR p1 0 PR p2 0 Interruptions Illegal Operation fault ...
Страница 1099: ...3 200 Volume 3 Instruction Reference padd Interruptions Illegal Operation fault ...
Страница 1191: ...3 292 Volume 3 Pseudo Code Functions Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Страница 1295: ...3 396 Volume 3 Resource and Dependency Semantics ...
Страница 1296: ......
Страница 1302: ...402 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Страница 1494: ...4 192 Volume 4 Base IA 32 Instruction Reference FWAIT Wait See entry for WAIT ...
Страница 1564: ...4 262 Volume 4 Base IA 32 Instruction Reference LES Load Full Pointer See entry for LDS LES LFS LGS LSS ...
Страница 1565: ...Volume 4 Base IA 32 Instruction Reference 4 263 LFS Load Full Pointer See entry for LDS LES LFS LGS LSS ...
Страница 1568: ...4 266 Volume 4 Base IA 32 Instruction Reference LGS Load Full Pointer See entry for LDS LES LFS LGS LSS ...
Страница 1583: ...Volume 4 Base IA 32 Instruction Reference 4 281 LSS Load Full Pointer See entry for LDS LES LFS LGS LSS ...
Страница 1647: ...Volume 4 Base IA 32 Instruction Reference 4 345 ROL ROR Rotate See entry for RCL RCR ROL ROR ...
Страница 1663: ...Volume 4 Base IA 32 Instruction Reference 4 361 SHL SHR Shift Instructions See entry for SAL SAR SHL SHR ...
Страница 1668: ...4 366 Volume 4 Base IA 32 Instruction Reference SIDT Store Interrupt Descriptor Table Register See entry for SGDT SIDT ...
Страница 1884: ...4 582 Volume 4 IA 32 SSE Instruction Reference ...
Страница 1885: ...Index Intel Itanium Architecture Software Developer s Manual Rev 2 3 Index ...
Страница 1886: ...Index Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Страница 1898: ...INDEX Index 12 Index for Volumes 1 2 3 and 4 ...