!amli lc

The !amli lc extension lists all active ACPI contexts.

Syntax

   !amli lc

DLL

Kdexts.dll

Additional Information

For information about related commands and their uses, see The AMLI Debugger.

Remarks

Each context corresponds to a method currently running in the AML interpreter.

Here is an example:

AMLI(? for help)-> lc
 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