From patchwork Wed Jul 25 03:41:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 1234891 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 82AD13FD4F for ; Wed, 25 Jul 2012 03:49:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932956Ab2GYDnC (ORCPT ); Tue, 24 Jul 2012 23:43:02 -0400 Received: from mail-qa0-f53.google.com ([209.85.216.53]:33308 "EHLO mail-qa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932816Ab2GYDm7 (ORCPT ); Tue, 24 Jul 2012 23:42:59 -0400 Received: by mail-qa0-f53.google.com with SMTP id s11so247411qaa.19 for ; Tue, 24 Jul 2012 20:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:reply-to:organization; bh=Dj+gVqrHBcK3hY/OngDYGZ6w8B1z+W5H8u1h9CeZxb4=; b=DqbUEJr5tuG/CWKhl5hKkHTApt7cxYKz0A6Z43f3VEdhYQyP3xB5NmK6PFhBSwRoPH kdPVfapR28IYC+qlMfBbRcoRlOVjTSJvdQ78GII5vQ+RQCW2rtTjPh5yQa3HAEXtUKBx 1VTj+2Z7S7CRmBhqxS0geJkFFbLV2EpMvgAhmnkOj9AlzAWx2lMUOhM6e5nzA7oh1X6K i/AmL1hDRYf5sTsQAIfTlGRmPdP+oovT/Z2SFiU4Ra9eNcqQcwcjDR9ImPnoLLhOnEEA KvgAbUvQT4O/5C+exm/21Hru3F5rMH3Xi7f5yfTM2A8MaiBIwuiPbMmTmF1NS066Uqky mUcQ== Received: by 10.224.71.11 with SMTP id f11mr16738352qaj.41.1343187779513; Tue, 24 Jul 2012 20:42:59 -0700 (PDT) Received: from x980.localdomain6 (h184-61-125-197.altnnh.dsl.dynamic.tds.net. [184.61.125.197]) by mx.google.com with ESMTPS id et6sm15489186qab.8.2012.07.24.20.42.57 (version=SSLv3 cipher=OTHER); Tue, 24 Jul 2012 20:42:58 -0700 (PDT) From: Len Brown To: linux-acpi@vger.kernel.org, linux-pm@lists.linux-foundation.org Cc: linux-kernel@vger.kernel.org, Bob Moore , Lin Ming , Len Brown Subject: [PATCH 31/52] ACPICA: Disassembler: Emit descriptions for ACPI predefined names Date: Tue, 24 Jul 2012 23:41:27 -0400 Message-Id: <40cdb368d3698ea21f03fcde32461d98ad3a12a2.1343187617.git.len.brown@intel.com> X-Mailer: git-send-email 1.7.12.rc0 In-Reply-To: <1343187708-19532-1-git-send-email-lenb@kernel.org> References: <1343187708-19532-1-git-send-email-lenb@kernel.org> In-Reply-To: <6af1c4fc5227af65092ebc848989693562bfa3e8.1343187617.git.len.brown@intel.com> References: <6af1c4fc5227af65092ebc848989693562bfa3e8.1343187617.git.len.brown@intel.com> Reply-To: Len Brown Organization: Intel Open Source Technology Center Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Bob Moore 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 Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/acglobal.h | 8 ++++++++ drivers/acpi/acpica/aclocal.h | 15 +++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/drivers/acpi/acpica/acglobal.h b/drivers/acpi/acpica/acglobal.h index dec7994..92fab6a 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; #endif /* ACPI_DEBUGGER */ +/***************************************************************************** + * + * Info/help support + * + ****************************************************************************/ + +extern const struct ah_predefined_name asl_predefined_info[]; + #endif /* __ACGLOBAL_H__ */ diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h index 28f6778..af7330f 100644 --- a/drivers/acpi/acpica/aclocal.h +++ b/drivers/acpi/acpica/aclocal.h @@ -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 /***************************************************************************** @@ -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__ */