瀏覽代碼

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>
Bob Moore 11 年之前
父節點
當前提交
1d98e9e0bb
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/acpi/acpica/acdebug.h

+ 2 - 0
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_from_history(char *command_num_arg);
 
 
+char *acpi_db_get_history_by_index(u32 commandd_num);
+
 /*
 /*
  * dbinput - user front-end to the AML debugger
  * dbinput - user front-end to the AML debugger
  */
  */