diff options
author | Lv Zheng <lv.zheng@intel.com> | 2014-06-03 13:01:09 +0800 |
---|---|---|
committer | David E. Box <david.e.box@linux.intel.com> | 2014-06-04 10:14:08 -0700 |
commit | 943e3e34d77dd03360e47014ed411eb3c796dddd (patch) | |
tree | a6a1f351d6931ed195861cbe6cff5e51223e8696 /source/compiler/aslanalyze.c | |
parent | 21947047b06a0068d04b4b62eea491db18bba5fb (diff) | |
download | acpica-943e3e34d77dd03360e47014ed411eb3c796dddd.tar.gz |
Namespace: Remove _PRP method support.
The _PRP method is not going to be a part of the ACPI standard. This patch
removes its support code introduced by the following commits:
1. Predefined names: Add support for the _PRP method.
2. Update for _PRP predefined name.
3. Add support for _LPD and _PRP methods.
4. iASL: Add check for _PRP/_HID dependency, with error message.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Diffstat (limited to 'source/compiler/aslanalyze.c')
-rw-r--r-- | source/compiler/aslanalyze.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/source/compiler/aslanalyze.c b/source/compiler/aslanalyze.c index 8bfc9ac36..16e28d354 100644 --- a/source/compiler/aslanalyze.c +++ b/source/compiler/aslanalyze.c @@ -641,51 +641,3 @@ ApCheckRegMethod ( AslError (ASL_WARNING, ASL_MSG_NO_REGION, Op, NULL); } - - -/******************************************************************************* - * - * FUNCTION: ApFindNameInScope - * - * PARAMETERS: Name - Name to search for - * Op - Current parse op - * - * RETURN: TRUE if name found in the same scope as Op. - * - * DESCRIPTION: Determine if a name appears in the same scope as Op, as either - * a Method() or a Name(). - * - ******************************************************************************/ - -BOOLEAN -ApFindNameInScope ( - char *Name, - ACPI_PARSE_OBJECT *Op) -{ - ACPI_PARSE_OBJECT *Next; - ACPI_PARSE_OBJECT *Parent; - - - /* Get the start of the current scope */ - - Parent = Op->Asl.Parent; - Next = Parent->Asl.Child; - - /* Search entire scope for a match to the name */ - - while (Next) - { - if ((Next->Asl.ParseOpcode == PARSEOP_METHOD) || - (Next->Asl.ParseOpcode == PARSEOP_NAME)) - { - if (ACPI_COMPARE_NAME (Name, Next->Asl.NameSeg)) - { - return (TRUE); - } - } - - Next = Next->Asl.Next; - } - - return (FALSE); -} |