]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Debugger: Split debugger initialization/termination APIs
authorLv Zheng <lv.zheng@intel.com>
Tue, 25 Aug 2015 02:30:19 +0000 (10:30 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 25 Aug 2015 21:11:33 +0000 (23:11 +0200)
commit6b3fd90a672a70408b48682a125c51fc5fff3dee
treee28daaaeb94c7067b4595cf7e62ae957d5a9f1ee
parent43411d24ceddb1147f9545e1adf48e037b657d9d
ACPICA: Debugger: Split debugger initialization/termination APIs

ACPICA commit 7a3f22baab000b186779dac64ad71d9776b8f432

It is likely that the debugger is enabled only when a userspace program
explicitly tells a kernel to do so, so it shouldn't be initialized as
early as current implementation.

The only tool requiring ACPI_DEBUGGER is acpiexec, so acpiexec need to call
the new APIs by itself. And BSD developers may also get notified to invoke
the APIs for DDB enabling. Lv Zheng.

This patch doesn't affect Linux kernel as debugger is currently not enabled
in the Linux kernel.

Link: https://github.com/acpica/acpica/commit/7a3f22ba
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acdebug.h
drivers/acpi/acpica/utxface.c
drivers/acpi/acpica/utxfinit.c
include/acpi/acpixf.h