diff options
author | Bob Moore <robert.moore@intel.com> | 2013-10-29 02:29:09 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-30 12:24:20 +0100 |
commit | 1d98e9e0bb8815072a0d2d04dc3f0e2c51029e61 (patch) | |
tree | 9cd35157d1d696a9e6bed239d346f11cb1a74805 /drivers/acpi/acpica/acdebug.h | |
parent | ACPICA: Add a check for a null node during namespace walk. (diff) | |
download | linux-1d98e9e0bb8815072a0d2d04dc3f0e2c51029e61.tar.xz linux-1d98e9e0bb8815072a0d2d04dc3f0e2c51029e61.zip |
ACPICA: Add history/line-editing for Unix/Linux systems.
The original upstream ACPICA change added full history and limited
line editing to the debugger:
This change adds full history and limited line editing for Unix and
Linux systems. It does not use readline() because of portability issues.
Instead it uses the POSIX termio interface to put the terminal in raw
input mode so that the various special keys can be trapped (such as
up-arrow and down-arrow for history support).
Since the debugger is not shipped in the kernel, it only is necessary
to update one header file to keep the kernel source in sync with the
upstream.
[rjw: Changelog]
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acdebug.h')
-rw-r--r-- | drivers/acpi/acpica/acdebug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acdebug.h b/drivers/acpi/acpica/acdebug.h index 27c36a5251b5..57cdc770fba8 100644 --- a/drivers/acpi/acpica/acdebug.h +++ b/drivers/acpi/acpica/acdebug.h @@ -243,6 +243,8 @@ void acpi_db_display_history(void); char *acpi_db_get_from_history(char *command_num_arg); +char *acpi_db_get_history_by_index(u32 commandd_num); + /* * dbinput - user front-end to the AML debugger */ |