diff options
author | Lv Zheng <lv.zheng@intel.com> | 2015-07-07 16:18:37 +0800 |
---|---|---|
committer | Lv Zheng <lv.zheng@intel.com> | 2015-07-07 16:18:37 +0800 |
commit | 2164923d60429eea7cd5a4a8629b607af7325afa (patch) | |
tree | f6bdeba9c53fea8f64119e3728ffc856292aa197 /source/components/debugger/dbxface.c | |
parent | 310e0ae1c4730f4dadc80125125099ab76851499 (diff) | |
download | acpica-2164923d60429eea7cd5a4a8629b607af7325afa.tar.gz |
Debugger: Move debugger specific APIs to debugger component.
Some disassembler APIs should rather be debugger APIs. This patch moves
them to the debugger folder to be ready for debugger porting.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Diffstat (limited to 'source/components/debugger/dbxface.c')
-rw-r--r-- | source/components/debugger/dbxface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/components/debugger/dbxface.c b/source/components/debugger/dbxface.c index 348f1aa65..2292152a4 100644 --- a/source/components/debugger/dbxface.c +++ b/source/components/debugger/dbxface.c @@ -117,7 +117,9 @@ #include "accommon.h" #include "amlcode.h" #include "acdebug.h" +#ifdef ACPI_DISASSEMBLER #include "acdisasm.h" +#endif #ifdef ACPI_DEBUGGER @@ -384,7 +386,9 @@ AcpiDbSingleStep ( /* Now we can display it */ +#ifdef ACPI_DISASSEMBLER AcpiDmDisassemble (WalkState, DisplayOp, ACPI_UINT32_MAX); +#endif if ((Op->Common.AmlOpcode == AML_IF_OP) || (Op->Common.AmlOpcode == AML_WHILE_OP)) |