Signal Descriptions
5-91
18524C/0—Nov1996
AMD-K5 Processor Technical Reference Manual
5.2.35
LOCK (Bus Lock)
Output
Summary
The processor asserts LOCK during certain sequences of bus
cycles that require integrity. To preserve the processor’s han-
dling of these sequences, system logic should prevent other
bus masters from intervening in locked cycles.
Driven and Floated
For locked operations, the processor asserts LOCK with ADS
and holds it asserted until the last expected BRDY of the last
bus cycle in the locked operation. The processor negates LOCK
for at least one clock (called a dead or idle clock) between
sequential locked operations.
LOCK is driven during memory cycles and interrupt acknowl-
edge operations in the normal operating modes (Real, Pro-
tected, and Virtual-8086) and in SMM. LOCK is not driven or
not meaningful during cache writethroughs or writebacks, I/O
cycles, or special bus cycles; in the Shutdown, Halt, Stop Grant,
or Stop Clock states; or while BOFF, HLDA, RESET, INIT, or
PRDY is asserted. While AHOLD is asserted, LOCK is driven
only to complete a locked cycle that had been initiated before
AHOLD was asserted.
The processor floats LOCK one clock after system logic asserts
BOFF and in the same clock that the processor asserts HLDA.
Details
The processor always locks the following types of memory
operations:
■
Interrupt Acknowledge Operations—These are a pair of read
cycles used to obtain an interrupt vector in response to the
assertion of INTR.
■
Descriptor-Table Accesses—These involve segment descrip-
tors in the global descriptor table (GDT), local descriptor
table (LDT) or interrupt descriptor table (IDT) and occur in
Protected mode. The processor performs them during a seg-
ment load to ensure that the Accessed (A) bit in code and
data descriptors is set to 1, or to test and set the Busy (B) bit
in TSS descriptors. The sequence is as follows: (1) the pro-
cessor drives an unlocked read of the descriptor to see if
the relevant bit is set to 1, (2) if the bit is cleared to 0, the
processor then drives a locked read-modify-write to set the
bit to 1. During updates to the Accessed and Busy bits, the
AMD-K5 processor drives a locked four-byte read and four-
Summary of Contents for AMD-K5
Page 1: ...AMD K5 Processor Technical Reference Manual TM...
Page 10: ...x AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 24: ...1 4 Overview AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 54: ...2 30 Internal Architecture AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 116: ...4 26 Performance AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 356: ...6 44 System Design AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 380: ...7 24 Test and Debug AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 396: ...A 16 AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 406: ...I 10 Index AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...