NAME
acpidb —
ACPI DSDT debugger
SYNOPSIS
acpidb |
input-file |
DESCRIPTION
The acpidb utility is a debugger for the
ACPI DSDT. It can parse and execute various AML methods and display the
result.
COMMANDS
General-Purpose Commands
Allocations- Display list of current memory allocations
DumpAddress | Namepath [Byte|Word|Dword|Qword]- Display ACPI objects or memory
EnableAcpi- Enable ACPI (hardware) mode
Help- Show various help screens
History- Display command history buffer
LevelDebugLevel [console]- Get/Set debug level for file or console
Locks- Current status of internal mutexes
QuitorExit- Exit the debugger
Stats[Allocations|Memory|Misc|Objects|Tables]- Display namespace and memory statistics
Tables- Display info about loaded ACPI tables
UnloadTableSig [Instance]- Unload an ACPI table
!CommandNumber- Execute command from history buffer
!!- Execute last command again
Namespace Access Commands
EventF|GValue- Generate AcpiEvent (Fixed/GPE)
FindName- Find ACPI name(s) with wildcards
(‘
?’ is wildcard) Method- Display list of loaded control methods
Namespace[Addr | Path] [Depth]- Display loaded namespace tree/subtree
NotifyNamePath Value- Send a notification
ObjectsObjectType- Display all objects of the given type
OwnerOwnerId [Depth]- Display loaded namespace by object owner
Prefix[NamePath]- Set or Get current execution prefix
ReferencesAddr- Find all references to object at addr
Resources- Get and display resources
Terminate- Delete namespace and all internal objects
ThreadThreads Loops NamePath- Spawn threads to execute method(s)
Control Method Execution Commands
Arguments- (
Args) Display method arguments BreakpointAmlOffset- Set an AML execution breakpoint
Call- Run to next control method invocation
DebugNamepath [Arguments]- Single Step a control method
ExecuteNamepath [Arguments]- Execute control method
Go- Allow method to run to completion
Information- Display info about the current method
Into- Step into (not over) a method call
List[OpcodeCount]- Display method ASL statements
Locals- Display method local variables
Results- Display method result stack
SetA|L# Value- Set method data (Arguments/Locals)
Stop- Terminate control method
Tree- Display control method calling tree
<Enter>- Single step next AML opcode (over calls)
File I/O Commands
Close- Close debug output file
OpenFilename- Open a file for debug output
LoadFilename- Load ACPI table from a file
SEE ALSO
HISTORY
The acpidb utility first appeared in the
acpicatools port. It was imported for
FreeBSD 5.2.
AUTHORS
The acpidb utility was written by
Mitsuru Iwasaki
<iwasaki@FreeBSD.org>
and uses Intel ACPI-CA for the backend. This manual page was written by
Nate Lawson.