Debugging Tools for Windows |
The !amli lc extension lists all active ACPI contexts.
Syntax in Windows 2000
Syntax in Windows XP and later
Windows NT 4.0 | Unavailable |
Windows 2000 | Acpikd.dll |
Windows XP and later | Kdexts.dll |
Each context corresponds to a method currently running in the AML interpreter.
Here is an example:
Ctxt=80e3f000, ThID=00000000, Flgs=A--C-----, pbOp=00000000, Obj=\_SB.LNKA._STA
Ctxt=80e41000, ThID=00000000, Flgs=A--C-----, pbOp=00000000, Obj=\_SB.LNKB._STA
Ctxt=80e9a000, ThID=00000000, Flgs=A--C-----, pbOp=00000000, Obj=\_SB.LNKC._STA
Ctxt=80ea8000, ThID=00000000, Flgs=A--C-----, pbOp=00000000, Obj=\_SB.LNKD._STA
*Ctxt=80e12000, ThID=80e6eda8, Flgs=---CR----, pbOp=80e5d5ac, Obj=\_SB.LNKA._STA
The Obj field gives the full path and name of the method as it appears in the ACPI tables.
The Ctxt field gives the address of the context block. The asterisk (*) indicates the current context. This is the context that was being executed by the interpreter when the break occurred.
The abbreviation pbOp indicates the instruction pointer (pointer to binary op codes).
There are nine flags that can be displayed in the Flgs section. If a flag is not set, a hyphen is displayed instead. The full list of flags is as follows:
Flag | Meaning |
---|---|
A | Asynchronous evaluation |
N | Nested evaluation |
Q | In the ready queue |
C | Needs a callback |
R | Running |
W | Ready |
T | Time-out |
D | Timer dispatch |
P | Timer pending |
For information about related commands and their uses, see The AMLI Debugger.