Home | History | Annotate | Line # | Download | only in acpihelp
ahaslkey.c revision 1.1
      1  1.1  jruoho /******************************************************************************
      2  1.1  jruoho  *
      3  1.1  jruoho  * Module Name: ahaslkey - Table of all known ASL non-operator keywords
      4  1.1  jruoho  *
      5  1.1  jruoho  *****************************************************************************/
      6  1.1  jruoho 
      7  1.1  jruoho /*
      8  1.1  jruoho  * Copyright (C) 2000 - 2011, Intel Corp.
      9  1.1  jruoho  * All rights reserved.
     10  1.1  jruoho  *
     11  1.1  jruoho  * Redistribution and use in source and binary forms, with or without
     12  1.1  jruoho  * modification, are permitted provided that the following conditions
     13  1.1  jruoho  * are met:
     14  1.1  jruoho  * 1. Redistributions of source code must retain the above copyright
     15  1.1  jruoho  *    notice, this list of conditions, and the following disclaimer,
     16  1.1  jruoho  *    without modification.
     17  1.1  jruoho  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
     18  1.1  jruoho  *    substantially similar to the "NO WARRANTY" disclaimer below
     19  1.1  jruoho  *    ("Disclaimer") and any redistribution must be conditioned upon
     20  1.1  jruoho  *    including a substantially similar Disclaimer requirement for further
     21  1.1  jruoho  *    binary redistribution.
     22  1.1  jruoho  * 3. Neither the names of the above-listed copyright holders nor the names
     23  1.1  jruoho  *    of any contributors may be used to endorse or promote products derived
     24  1.1  jruoho  *    from this software without specific prior written permission.
     25  1.1  jruoho  *
     26  1.1  jruoho  * Alternatively, this software may be distributed under the terms of the
     27  1.1  jruoho  * GNU General Public License ("GPL") version 2 as published by the Free
     28  1.1  jruoho  * Software Foundation.
     29  1.1  jruoho  *
     30  1.1  jruoho  * NO WARRANTY
     31  1.1  jruoho  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     32  1.1  jruoho  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     33  1.1  jruoho  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
     34  1.1  jruoho  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
     35  1.1  jruoho  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     36  1.1  jruoho  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     37  1.1  jruoho  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     38  1.1  jruoho  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
     39  1.1  jruoho  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
     40  1.1  jruoho  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     41  1.1  jruoho  * POSSIBILITY OF SUCH DAMAGES.
     42  1.1  jruoho  */
     43  1.1  jruoho 
     44  1.1  jruoho #include "acpihelp.h"
     45  1.1  jruoho 
     46  1.1  jruoho /*
     47  1.1  jruoho  * ASL Keyword types and associated actual keywords.
     48  1.1  jruoho  * This table was extracted from the ACPI specification.
     49  1.1  jruoho  */
     50  1.1  jruoho const AH_ASL_KEYWORD        AslKeywordInfo[] =
     51  1.1  jruoho {
     52  1.1  jruoho     {"AccessAttribKeyword", "SMBus Attributes",
     53  1.1  jruoho         ":= SMBQuick | SMBSendReceive | SMBByte | SMBWord | "
     54  1.1  jruoho         "SMBBlock | SMBProcessCall | SMBBlockProcessCall"},
     55  1.1  jruoho     {"AccessTypeKeyword", "Field Access Types",
     56  1.1  jruoho         ":= AnyAcc | ByteAcc | WordAcc | DWordAcc | QWordAcc | BufferAcc"},
     57  1.1  jruoho     {"AddressKeyword", "ACPI memory range types",
     58  1.1  jruoho         ":= AddressRangeMemory | AddressRangeReserved | "
     59  1.1  jruoho         "AddressRangeNVS | AddressRangeACPI"},
     60  1.1  jruoho     {"AddressSpaceKeyword", "Operation Region Address Space Types",
     61  1.1  jruoho         ":= RegionSpaceKeyword | FFixedHW"},
     62  1.1  jruoho     {"BusMasterKeyword", "DMA Bus Mastering",
     63  1.1  jruoho         ":= BusMaster | NotBusMaster"},
     64  1.1  jruoho     {"DecodeKeyword", "Type of Memory Decoding - Resource Descriptors",
     65  1.1  jruoho         ":= SubDecode | PosDecode"},
     66  1.1  jruoho     {"DMATypeKeyword", "DMA Types - DMA Resource Descriptor",
     67  1.1  jruoho         ":= Compatibility | TypeA | TypeB | TypeF"},
     68  1.1  jruoho     {"InterruptTypeKeyword", "Interrupt Types",
     69  1.1  jruoho         ":= Edge | Level"},
     70  1.1  jruoho     {"InterruptLevel", "Interrupt Active Types",
     71  1.1  jruoho         ":= ActiveHigh | ActiveLow"},
     72  1.1  jruoho     {"IODecodeKeyword", "I/O Decoding - IO Resource Descriptor",
     73  1.1  jruoho         ":= Decode16 | Decode10"},
     74  1.1  jruoho     {"LockRuleKeyword", "Global Lock use for Field Operator",
     75  1.1  jruoho         ":= Lock | NoLock"},
     76  1.1  jruoho     {"MatchOpKeyword", "Types for Match Operator",
     77  1.1  jruoho         ":= MTR | MEQ | MLE | MLT | MGE | MGT"},
     78  1.1  jruoho     {"MaxKeyword", "Max Range Type - Resource Descriptors",
     79  1.1  jruoho         ":= MaxFixed | MaxNotFixed"},
     80  1.1  jruoho     {"MemTypeKeyword", "Memory Types - Resource Descriptors",
     81  1.1  jruoho         ":= Cacheable | WriteCombining | Prefetchable | NonCacheable"},
     82  1.1  jruoho     {"MinKeyword", "Min Range Type - Resource Descriptors",
     83  1.1  jruoho         ":= MinFixed | MinNotFixed"},
     84  1.1  jruoho     {"ObjectTypeKeyword", "ACPI Object Types",
     85  1.1  jruoho         ":= UnknownObj | IntObj | StrObj | BuffObj | PkgObj | FieldUnitObj | "
     86  1.1  jruoho         "DeviceObj | EventObj | MethodObj | MutexObj | OpRegionObj | PowerResObj | "
     87  1.1  jruoho         "ProcessorObj | ThermalZoneObj | BuffFieldObj | DDBHandleObj"},
     88  1.1  jruoho     {"RangeTypeKeyword", "I/O Range Types - Resource Descriptors",
     89  1.1  jruoho         ":= ISAOnlyRanges | NonISAOnlyRanges | EntireRange"},
     90  1.1  jruoho     {"ReadWriteKeyword", "Memory Access Types - Resource Descriptors",
     91  1.1  jruoho         ":= ReadWrite | ReadOnly"},
     92  1.1  jruoho     {"RegionSpaceKeyword", "Operation Region Address Space Types",
     93  1.1  jruoho         ":= UserDefRegionSpace | SystemIO | SystemMemory | PCI_Config | "
     94  1.1  jruoho         "EmbeddedControl | SMBus | SystemCMOS | PciBarTarget | IPMI"},
     95  1.1  jruoho     {"ResourceTypeKeyword", "Resource Usage - Resource Descriptors",
     96  1.1  jruoho         ":= ResourceConsumer | ResourceProducer"},
     97  1.1  jruoho     {"SerializeRuleKeyword", "Control Method Serialization",
     98  1.1  jruoho         ":= Serialized | NotSerialized"},
     99  1.1  jruoho     {"ShareTypeKeyword", "Interrupt Sharing - Resource Descriptors",
    100  1.1  jruoho         ":= Shared | Exclusive"},
    101  1.1  jruoho     {"TranslationKeyword", "Translation Density Types - Resource Descriptors",
    102  1.1  jruoho         ":= SparseTranslation | DenseTranslation"},
    103  1.1  jruoho     {"TypeKeyword", "Translation Types - Resource Descriptors",
    104  1.1  jruoho         ":= TypeTranslation | TypeStatic"},
    105  1.1  jruoho     {"UpdateRuleKeyword", "Field Update Rules",
    106  1.1  jruoho         ":= Preserve | WriteAsOnes | WriteAsZeros"},
    107  1.1  jruoho     {"UserDefRegionSpace", "User defined address spaces",
    108  1.1  jruoho         ":= IntegerData => 0x80 - 0xFF"},
    109  1.1  jruoho     {"XferTypeKeyword", "DMA Transfer Types",
    110  1.1  jruoho         ":= Transfer8 | Transfer16 | Transfer8_16"},
    111  1.1  jruoho     {NULL, NULL, NULL}
    112  1.1  jruoho };
    113