aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-06-28 21:12:59 -0400
committerLen Brown <len.brown@intel.com>2012-07-14 11:17:29 -0400
commit40cdb368d3698ea21f03fcde32461d98ad3a12a2 (patch)
treef9cea2f8eeda298cc3428edfbae4a72b142c980a
parent9748f313101c95dcc65f5dddd1c2ea99b7ce3e9b (diff)
ACPICA: Disassembler: Emit descriptions for ACPI predefined names
For each predefined name, emit a short description within a comment. https://www.acpica.org/bugzilla/show_bug.cgi?id=959 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--drivers/acpi/acpica/acglobal.h8
-rw-r--r--drivers/acpi/acpica/aclocal.h15
2 files changed, 23 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acglobal.h b/drivers/acpi/acpica/acglobal.h
index dec7994d405c..92fab6a8114f 100644
--- a/drivers/acpi/acpica/acglobal.h
+++ b/drivers/acpi/acpica/acglobal.h
@@ -462,4 +462,12 @@ ACPI_EXTERN u32 acpi_gbl_size_of_acpi_objects;
462 462
463#endif /* ACPI_DEBUGGER */ 463#endif /* ACPI_DEBUGGER */
464 464
465/*****************************************************************************
466 *
467 * Info/help support
468 *
469 ****************************************************************************/
470
471extern const struct ah_predefined_name asl_predefined_info[];
472
465#endif /* __ACGLOBAL_H__ */ 473#endif /* __ACGLOBAL_H__ */
diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h
index 28f677834bfd..af7330f4a52d 100644
--- a/drivers/acpi/acpica/aclocal.h
+++ b/drivers/acpi/acpica/aclocal.h
@@ -796,6 +796,7 @@ struct acpi_parse_state {
796#define ACPI_PARSEOP_IGNORE 0x01 796#define ACPI_PARSEOP_IGNORE 0x01
797#define ACPI_PARSEOP_PARAMLIST 0x02 797#define ACPI_PARSEOP_PARAMLIST 0x02
798#define ACPI_PARSEOP_EMPTY_TERMLIST 0x04 798#define ACPI_PARSEOP_EMPTY_TERMLIST 0x04
799#define ACPI_PARSEOP_PREDEF_CHECKED 0x08
799#define ACPI_PARSEOP_SPECIAL 0x10 800#define ACPI_PARSEOP_SPECIAL 0x10
800 801
801/***************************************************************************** 802/*****************************************************************************
@@ -1084,4 +1085,18 @@ struct acpi_debug_mem_block {
1084#define ACPI_MEM_LIST_MAX 1 1085#define ACPI_MEM_LIST_MAX 1
1085#define ACPI_NUM_MEM_LISTS 2 1086#define ACPI_NUM_MEM_LISTS 2
1086 1087
1088/*****************************************************************************
1089 *
1090 * Info/help support
1091 *
1092 ****************************************************************************/
1093
1094struct ah_predefined_name {
1095 char *name;
1096 char *description;
1097#ifndef ACPI_ASL_COMPILER
1098 char *action;
1099#endif
1100};
1101
1087#endif /* __ACLOCAL_H__ */ 1102#endif /* __ACLOCAL_H__ */