Signal Descriptions
5-119
18524C/0—Nov1996
AMD-K5 Processor Technical Reference Manual
sor left off when it recognized SMI, unless the value is altered
by the SMM service routine).
If the assertion of SMI was recognized on the boundary of an
I/O instruction, the I/O trap restart feature of SMM can option-
ally be used to restart the I/O instruction when returning from
SMM. The SMM service routine can implement this restart fea-
ture by writing the value 00FFh into the I/O trap restart slot of
the SMM state-save area. If the value is 00FFh (rather than its
default, 0000h) upon return from SMM, the processor decre-
ments the instruction pointer and re-executes the I/O instruc-
tion. This is useful, for example, if an I/O write to disk finds the
disk powered down. The external power management logic
monitoring such an access can assert SMI. In this case, the
SMM service routine would query power management logic,
find a failed I/O write, take action to power up the I/O device,
enable the I/O restart feature by writing the value FFh into the
I/O trap restart slot, and return.
During a simultaneous SMI I/O trap (for I/O instruction restart)
and debug breakpoint trap, the AMD-K5 processor responds to
the SMI first and postpones writing the exception-related
information to the stack until after the return from SMM via
the RSM instruction. (If debug registers DR3–DR0 are used in
SMM, they must be saved and restored by the SMM software;
the processor automatically saves and restores DR7–DR6.) If
the I/O trap restart slot in the SMM state-save area is written
with the value FFh when the RSM instruction is executed, the
debug trap does not occur until after the I/O instruction is re-
executed.
The processor recognizes AHOLD, BOFF, and HOLD while
SMIACT is asserted and these signals will intervene in the
SMM service routine. After assertion of SMI, subsequent asser-
tions of SMI are masked so as to prevent recursive entry into
SMM. Any other type of exception or interrupt, however, will
intervene in the SMM service routine, although the INTR and
NMI interrupts are managed in a special way as described in
the paragraph below. If SMI is asserted during the Stop Grant
state, the signal is held pending until after the processor exits
the Stop Grant state, at which point it is acted upon.
When SMM is entered, the processor disables both INTR and
NMI interrupts. On both the AMD-K5 and Pentium processors,
INTR interrupts are disabled by clearing the IF flag in
Содержание AMD-K5
Страница 1: ...AMD K5 Processor Technical Reference Manual TM...
Страница 10: ...x AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Страница 24: ...1 4 Overview AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Страница 54: ...2 30 Internal Architecture AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Страница 116: ...4 26 Performance AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Страница 356: ...6 44 System Design AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Страница 380: ...7 24 Test and Debug AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Страница 396: ...A 16 AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Страница 406: ...I 10 Index AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...