Debugging Tools for Windows |
The following commands can be issued from the AMLI Debugger prompt.
General Category | Specific Action | AMLI Debugger Commands |
---|---|---|
Controlling the Debugger | Continue Execution Break to Kernel Debugger |
g q |
Controlling AML Execution | Run Method Step Over AML Code Trace Into AML Code |
run p t |
Controlling Trace Mode Settings | Configure Trace Mode | trace |
Notifying a Namespace Object | Notify Namespace Object | notify |
Displaying the Object Count Table | Display Object Count Table | dc |
Accessing Memory | Display Data Display Data Bytes Display Data Words Display Data DWORDs Display Data String Edit Memory |
d db dw dd da e |
Accessing Ports | Read Byte from Port Read Word from Port Read DWORD from Port Write Byte to Port Write Word to Port Write DWORD to Port |
i iw id o ow od |
Displaying Help | Display Help | ? |
These commands exit the AMLI Debugger. The g command will resume normal execution of the target computer, and the q command will freeze the target computer and break into the kernel debugger.
q
These commands allow you to run or step through AML methods. The run command begins execution at a specified point. The p and t commands allow you to step through one instruction at a time. If a function call is encountered, the p command treats the function as a single step, while the t command traces into the new function one instruction at a time.
run CodeAddress [ArgumentList]
p
t
The trace command controls the AML interpreter's trace mode settings. If this command is used with no parameters, the current trace mode settings are displayed.
The notify command sends a notification to an ACPI namespace object. The notification will be placed in the specified object's queue.
notify ObjectAddress Value
The dc command displays the memory object count table.
The memory access commands allow you to read and write to memory. When reading memory, you can choose the size of the memory units with the db, dw, dd, or da command. A simple d command displays memory in the most recently-chosen units. If this is the first display command used, byte units are used.
If no address or method is specified, display will begin where the previous display command ended.
These commands have the same effect as the standard kernel debugger memory commands; they are duplicated within the AMLI Debugger for easy access.
e [%%]Address DataList
The port commands allow you to send output or receive input from a data port. The i and o commands transfer single bytes, the iw and ow commands transfer words (16 bits), and the id and od commands transfer DWORDS (32 bits).
These commands have the same effect as the standard kernel debugger port commands; they are duplicated within the AMLI Debugger for easy access.
iw Port
id Port
o Port DataForPort
ow Port DataForPort
od Port DataForPort
This command displays help text for the AMLI Debugger commands.