Skip to content

Commit

Permalink
ACPICA: Disassembler: Emit descriptions for ACPI predefined names
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bob Moore authored and Len Brown committed Jul 14, 2012
1 parent 9748f31 commit 40cdb36
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/acpi/acpica/acglobal.h
Original file line number Diff line number Diff line change
Expand Up @@ -462,4 +462,12 @@ ACPI_EXTERN u32 acpi_gbl_size_of_acpi_objects;

#endif /* ACPI_DEBUGGER */

/*****************************************************************************
*
* Info/help support
*
****************************************************************************/

extern const struct ah_predefined_name asl_predefined_info[];

#endif /* __ACGLOBAL_H__ */
15 changes: 15 additions & 0 deletions drivers/acpi/acpica/aclocal.h
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@ struct acpi_parse_state {
#define ACPI_PARSEOP_IGNORE 0x01
#define ACPI_PARSEOP_PARAMLIST 0x02
#define ACPI_PARSEOP_EMPTY_TERMLIST 0x04
#define ACPI_PARSEOP_PREDEF_CHECKED 0x08
#define ACPI_PARSEOP_SPECIAL 0x10

/*****************************************************************************
Expand Down Expand Up @@ -1084,4 +1085,18 @@ struct acpi_debug_mem_block {
#define ACPI_MEM_LIST_MAX 1
#define ACPI_NUM_MEM_LISTS 2

/*****************************************************************************
*
* Info/help support
*
****************************************************************************/

struct ah_predefined_name {
char *name;
char *description;
#ifndef ACPI_ASL_COMPILER
char *action;
#endif
};

#endif /* __ACLOCAL_H__ */

0 comments on commit 40cdb36

Please sign in to comment.