Home | History | Annotate | Line # | Download | only in dist
changes.txt revision 1.1.1.10
      1 ----------------------------------------
      2 27 May 2016. Summary of changes for version 20160527:
      3 
      4 This release is available at https://acpica.org/downloads
      5 
      6 
      7 1) ACPICA kernel-resident subsystem:
      8 
      9 Temporarily reverted the new arbitrary bit length/alignment support in 
     10 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
     11 a number of regressions with the new code that need to be fully resolved 
     12 and tested before this support can be finally integrated into ACPICA. 
     13 Apologies for any inconveniences these issues may have caused.
     14 
     15 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
     16 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
     17 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
     18 
     19 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
     20 option. Adds a new return macro, return_STR. Junk-uk Kim.
     21 
     22 Example Code and Data Size: These are the sizes for the OS-independent 
     23 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
     24 debug version of the code includes the debug output trace mechanism and 
     25 has a much larger code and data size.
     26 
     27   Current Release:
     28     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
     29     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
     30   Previous Release:
     31     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
     32     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
     33 
     34 ----------------------------------------
     35 22 April 2016. Summary of changes for version 20160422:
     36 
     37 1) ACPICA kernel-resident subsystem:
     38 
     39 Fixed a regression in the GAS (generic address structure) arbitrary bit 
     40 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
     41 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
     42 
     43 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
     44 was added to each of these macros, and the original name has been 
     45 deprecated. The AML disassembler will always disassemble to the new 
     46 names. Support for the new macros was added to iASL, disassembler, 
     47 resource manager, and the acpihelp utility. ACPICA BZ 1274.
     48 
     49     I2cSerialBus  -> I2cSerialBusV2
     50     SpiSerialBus  -> SpiSerialBusV2
     51     UartSerialBus -> UartSerialBusV2
     52 
     53 ACPI 6.0: Added support for a new integer field that was appended to the 
     54 package object returned by the _BIX method. This adds iASL compile-time 
     55 and AML runtime error checking. ACPICA BZ 1273.
     56 
     57 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
     58 Subspace Type2" (Headers, Disassembler, and data table compiler).
     59 
     60 Example Code and Data Size: These are the sizes for the OS-independent 
     61 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
     62 debug version of the code includes the debug output trace mechanism and 
     63 has a much larger code and data size.
     64 
     65   Current Release:
     66     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
     67     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
     68   Previous Release:
     69     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
     70     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
     71 
     72 
     73 2) iASL Compiler/Disassembler and Tools:
     74 
     75 iASL: Implemented an ASL grammar extension to allow/enable executable 
     76 "module-level code" to be created and executed under the various 
     77 operators that create new scopes. This type of AML code is already 
     78 supported in all known AML interpreters, and the grammar change will 
     79 appear in the next version of the ACPI specification. Simplifies the 
     80 conditional runtime creation of named objects under these object types: 
     81 
     82     Device
     83     PowerResource
     84     Processor
     85     Scope
     86     ThermalZone
     87 
     88 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
     89 ease-of-use to the ASL language. The syntax is similar to the 
     90 corresponding C operator, and is implemented with the existing AML While 
     91 opcode -- thus requiring no changes to existing AML interpreters.
     92 
     93     For (Initialize, Predicate, Update) {TermList}
     94 
     95 Grammar:
     96     ForTerm :=
     97         For (
     98             Initializer    // Nothing | TermArg => ComputationalData
     99             Predicate      // Nothing | TermArg => ComputationalData
    100             Update         // Nothing | TermArg => ComputationalData
    101         ) {TermList}
    102 
    103 
    104 iASL: The _HID/_ADR detection and validation has been enhanced to search 
    105 under conditionals in order to allow these objects to be conditionally 
    106 created at runtime.
    107 
    108 iASL: Fixed several issues with the constant folding feature. The 
    109 improvement allows better detection and resolution of statements that can 
    110 be folded at compile time. ACPICA BZ 1266. 
    111 
    112 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
    113 conversion to the ASL ElseIf operator where incorrect ASL code could be 
    114 generated.
    115 
    116 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
    117 sometimes an extra (and extraneous) set of parentheses were emitted for 
    118 some combinations of operators. Although this did not cause any problems 
    119 with recompilation of the disassembled code, it made the code more 
    120 difficult to read. David Box. ACPICA BZ 1231.
    121 
    122 iASL: Changed to ignore the unreferenced detection for predefined names 
    123 of resource descriptor elements, when the resource descriptor is 
    124 created/defined within a control method.
    125 
    126 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
    127 objects.
    128 
    129 ----------------------------------------
    130 18 March 2016. Summary of changes for version 20160318:
    131 
    132 1) ACPICA kernel-resident subsystem:
    133 
    134 Added support for arbitrary bit lengths and bit offsets for registers 
    135 defined by the Generic Address Structure. Previously, only aligned bit 
    136 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
    137 but recently some machines have been seen that require arbitrary bit-
    138 level support. ACPICA BZ 1240. Lv Zheng.
    139 
    140 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
    141 before any _REG methods are evaluated. Lv Zheng.
    142 
    143 Implemented several changes related to ACPI table support 
    144 (Headers/Disassembler/TableCompiler):
    145 NFIT: For ACPI 6.1, updated to add some additional new fields and 
    146 constants.
    147 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
    148 6).
    149 DMAR: Added new constants per the 10/2014 DMAR spec.
    150 IORT: Added new subtable per the 10/2015 IORT spec.
    151 HEST: For ACPI 6.1, added new constants and new subtable.
    152 DBG2: Added new constants per the 12/2015 DBG2 spec.
    153 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
    154 ACPICA BZ 1249.
    155 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
    156 
    157 Updated header support for the DMAR table to match the current version of 
    158 the related spec.
    159 
    160 Added extensions to the ASL Concatenate operator to allow any ACPI object 
    161 to be passed as an operand. Any object other than Integer/String/Buffer 
    162 simply returns a string containing the object type. This extends the 
    163 usefulness of the Printf macros. Previously, Concatenate would abort the 
    164 control method if a non-data object was encountered.
    165 
    166 ACPICA source code: Deployed the C "const" keyword across the source code 
    167 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
    168 
    169 Example Code and Data Size: These are the sizes for the OS-independent 
    170 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    171 debug version of the code includes the debug output trace mechanism and 
    172 has a much larger code and data size.
    173 
    174   Current Release:
    175     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
    176     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
    177   Previous Release:
    178     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
    179     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
    180 
    181 
    182 2) iASL Compiler/Disassembler and Tools:
    183 
    184 iASL/Disassembler: Improved the heuristic used to determine the number of 
    185 arguments for an externally defined control method (a method in another 
    186 table). Although this is an improvement, there is no deterministic way to 
    187 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
    188 will completely solve this problem as it is deployed (automatically) in 
    189 newer BIOS code.
    190 
    191 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
    192 statements that could cause errors when the disassembled file is 
    193 compiled. ACPICA BZ 1243. David Box.
    194 
    195 iASL: Fixed a regression caused by the merger of the two versions of the 
    196 local strtoul64. Because of a dependency on a global variable, strtoul64 
    197 could return an error for integers greater than a 32-bit value. ACPICA BZ 
    198 1260.
    199 
    200 iASL: Fixed a regression where a fault could occur for an ASL Return 
    201 statement if it invokes a control method that is not resolved. ACPICA BZ 
    202 1264.
    203 
    204 AcpiXtract: Improved input file validation: detection of binary files and 
    205 non-acpidump text files.
    206 
    207 ----------------------------------------
    208 12 February 2016. Summary of changes for version 20160212:
    209 
    210 1) ACPICA kernel-resident subsystem:
    211 
    212 Implemented full support for the ACPI 6.1 specification (released in 
    213 January). This version of the specification is available at:  
    214 http://www.uefi.org/specifications
    215 
    216 Only a relatively small number of changes were required in ACPICA to 
    217 support ACPI 6.1, in these areas:
    218 - New predefined names
    219 - New _HID values
    220 - A new subtable for HEST
    221 - A few other header changes for new values
    222 
    223 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
    224 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
    225 
    226 Reverted a change made in version 20151218 which enabled method 
    227 invocations to be targets of various ASL operators (SuperName and Target 
    228 grammar elements). While the new behavior is supported by the ACPI 
    229 specification, other AML interpreters do not support this behavior and 
    230 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
    231 this support. Therefore, the change was reverted to the original ACPICA 
    232 behavior.
    233 
    234 ACPICA now supports the GCC 6 compiler.
    235 
    236 Current Release: (Note: build changes increased sizes)
    237     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
    238     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
    239 Previous Release:
    240     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
    241     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
    242 
    243 
    244 2) iASL Compiler/Disassembler and Tools:
    245 
    246 Completed full support for the ACPI 6.0 External() AML opcode. The 
    247 compiler emits an external AML opcode for each ASL External statement. 
    248 This opcode is used by the disassembler to assist with the disassembly of 
    249 external control methods by specifying the required number of arguments 
    250 for the method. AML interpreters do not use this opcode. To ensure that 
    251 interpreters do not even see the opcode, a block of one or more external 
    252 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
    253 commonly deployed in BIOS code, the ability of disassemblers to correctly 
    254 disassemble AML code will be greatly improved. David Box.
    255 
    256 iASL: Implemented support for an optional cross-reference output file. 
    257 The -lx option will create a the cross-reference file with the suffix 
    258 "xrf". Three different types of cross-reference are created in this file:
    259 - List of object references made from within each control method
    260 - Invocation (caller) list for each user-defined control method
    261 - List of references to each non-method object in the namespace
    262 
    263 iASL: Method invocations as ASL Target operands are now disallowed and 
    264 flagged as errors in preparation for ACPI 6.2 (see the description of the 
    265 problem above).
    266 
    267 ----------------------------------------
    268 8 January 2016. Summary of changes for version 20160108:
    269 
    270 1) ACPICA kernel-resident subsystem:
    271 
    272 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
    273 copyright to all source code module headers and utility/tool signons. 
    274 This includes the standard Linux dual-license header. This affects 
    275 virtually every file in the ACPICA core subsystem, iASL compiler, all 
    276 ACPICA utilities, and the ACPICA test suite.
    277 
    278 Fixed a regression introduced in version 20151218 concerning the 
    279 execution of so-called module-level ASL/AML code. Namespace objects 
    280 created under a module-level If() construct were not properly/fully 
    281 entered into the namespace and could cause an interpreter fault when 
    282 accessed.
    283 
    284 Example Code and Data Size: These are the sizes for the OS-independent 
    285 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    286 debug version of the code includes the debug output trace mechanism and 
    287 has a much larger code and data size.
    288 
    289 Current Release:
    290     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
    291     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
    292   Previous Release:
    293     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
    294     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
    295 
    296 
    297 2) iASL Compiler/Disassembler and Tools:
    298 
    299 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
    300 descriptors. The _PIN field name was incorrectly defined to be an array 
    301 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
    302 would cause incorrect bit width warnings when using Word (16-bit) fields 
    303 to access the descriptors.
    304 
    305 
    306 ----------------------------------------
    307 18 December 2015. Summary of changes for version 20151218:
    308 
    309 1) ACPICA kernel-resident subsystem:
    310 
    311 Implemented per-AML-table execution of "module-level code" as individual 
    312 ACPI tables are loaded into the namespace during ACPICA initialization. 
    313 In other words, any module-level code within an AML table is executed 
    314 immediately after the table is loaded, instead of batched and executed 
    315 after all of the tables have been loaded. This provides compatibility 
    316 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
    317 David Box.
    318 
    319 To fully support the feature above, the default operation region handlers 
    320 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
    321 installed before any ACPI tables are loaded. This enables module-level 
    322 code to access these address spaces during the table load and module-
    323 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
    324 Box.
    325 
    326 Implemented several changes to the internal _REG support in conjunction 
    327 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
    328 utilities for the changes above. Although these tools were changed, host 
    329 operating systems that simply use the default handlers for SystemMemory, 
    330 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
    331 
    332 For example, in the code below, DEV1 is conditionally added to the 
    333 namespace by the DSDT via module-level code that accesses an operation 
    334 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
    335 created immediately after the DSDT is loaded in order for the SSDT to 
    336 successfully reference DEV1. Previously, this code would cause an 
    337 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
    338 fully supported by ACPICA.
    339 
    340     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
    341     {
    342         OperationRegion (OPR1, SystemMemory, 0x400, 32)
    343         Field (OPR1, AnyAcc, NoLock, Preserve)
    344         {
    345             FLD1, 1
    346         }
    347         If (FLD1)
    348         {
    349             Device (\DEV1)
    350             {
    351             }
    352         }
    353     }
    354     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
    355     {
    356         External (\DEV1, DeviceObj)
    357         Scope (\DEV1)
    358         {
    359         }
    360     }
    361 
    362 Fixed an AML interpreter problem where control method invocations were 
    363 not handled correctly when the invocation was itself a SuperName argument 
    364 to another ASL operator. In these cases, the method was not invoked. 
    365 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
    366 argument:
    367     Store
    368     Acquire, Wait
    369     CondRefOf, RefOf
    370     Decrement, Increment
    371     Load, Unload
    372     Notify
    373     Signal, Release, Reset
    374     SizeOf
    375 
    376 Implemented automatic String-to-ObjectReference conversion support for 
    377 packages returned by predefined names (such as _DEP). A common BIOS error 
    378 is to add double quotes around an ObjectReference namepath, which turns 
    379 the reference into an unexpected string object. This support detects the 
    380 problem and corrects it before the package is returned to the caller that 
    381 invoked the method. Lv Zheng.
    382 
    383 Implemented extensions to the Concatenate operator. Concatenate now 
    384 accepts any type of object, it is not restricted to simply 
    385 Integer/String/Buffer. For objects other than these 3 basic data types, 
    386 the argument is treated as a string containing the name of the object 
    387 type. This expands the utility of Concatenate and the Printf/Fprintf 
    388 macros. ACPICA BZ 1222.
    389 
    390 Cleaned up the output of the ASL Debug object. The timer() value is now 
    391 optional and no longer emitted by default. Also, the basic data types of 
    392 Integer/String/Buffer are simply emitted as their values, without a data 
    393 type string -- since the data type is obvious from the output. ACPICA BZ 
    394 1221.
    395 
    396 Example Code and Data Size: These are the sizes for the OS-independent 
    397 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    398 debug version of the code includes the debug output trace mechanism and 
    399 has a much larger code and data size.
    400 
    401   Current Release:
    402     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
    403     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
    404   Previous Release:
    405     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
    406     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
    407 
    408 
    409 2) iASL Compiler/Disassembler and Tools:
    410 
    411 iASL: Fixed some issues with the ASL Include() operator. This operator 
    412 was incorrectly defined in the iASL parser rules, causing a new scope to 
    413 be opened for the code within the include file. This could lead to 
    414 several issues, including allowing ASL code that is technically illegal 
    415 and not supported by AML interpreters. Note, this does not affect the 
    416 related #include preprocessor operator. ACPICA BZ 1212.
    417 
    418 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
    419 operator is essentially an ASL macro since there is no AML opcode 
    420 associated with it. The code emitted by the iASL compiler for ElseIf is 
    421 an Else opcode followed immediately by an If opcode. The disassembler 
    422 will now emit an ElseIf if it finds an Else immediately followed by an 
    423 If. This simplifies the decoded ASL, especially for deeply nested 
    424 If..Else and large Switch constructs. Thus, the disassembled code more 
    425 closely follows the original source ASL. ACPICA BZ 1211. Example:
    426 
    427     Old disassembly:
    428         Else
    429         {
    430             If (Arg0 == 0x02)
    431             {
    432                 Local0 = 0x05
    433             }
    434         }
    435 
    436     New disassembly:
    437         ElseIf (Arg0 == 0x02)
    438         {
    439             Local0 = 0x05
    440         }
    441 
    442 AcpiExec: Added support for the new module level code behavior and the 
    443 early region installation. This required a small change to the 
    444 initialization, since AcpiExec must install its own operation region 
    445 handlers.
    446 
    447 AcpiExec: Added support to make the debug object timer optional. Default 
    448 is timer disabled. This cleans up the debug object output -- the timer 
    449 data is rarely used.
    450 
    451 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
    452 appear on the command line. This can be important when there are 
    453 interdependencies/references between the tables.
    454 
    455 iASL/Templates. Add support to generate template files with multiple 
    456 SSDTs within a single output file. Also added ommand line support to 
    457 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
    458 1223, 1225.
    459 
    460 
    461 ----------------------------------------
    462 24 November 2015. Summary of changes for version 20151124:
    463 
    464 1) ACPICA kernel-resident subsystem:
    465 
    466 Fixed a possible regression for a previous update to FADT handling. The 
    467 FADT no longer has a fixed table ID, causing some issues with code that 
    468 was hardwired to a specific ID. Lv Zheng.
    469 
    470 Fixed a problem where the method auto-serialization could interfere with 
    471 the current SyncLevel. This change makes the auto-serialization support 
    472 transparent to the SyncLevel support and management.
    473 
    474 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
    475 interface is intended for early access to the namespace during the 
    476 initial namespace device discovery walk. The _SUB method has been seen to 
    477 access operation regions in some cases, causing errors because the 
    478 operation regions are not fully initialized.
    479 
    480 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
    481 that can cause faults. Lv Zheng.
    482 
    483 AML Debugger: Add thread ID support so that single-step mode only applies 
    484 to the AML Debugger thread. This prevents runtime errors within some 
    485 kernels. Lv Zheng. 
    486 
    487 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
    488 methods that are invoked by this interface are optional, removed warnings 
    489 emitted for the case where one or more of these methods do not exist. 
    490 ACPICA BZ 1208, original change by Prarit Bhargava.
    491 
    492 Made a major pass through the entire ACPICA source code base to 
    493 standardize formatting that has diverged a bit over time. There are no 
    494 functional changes, but this will of course cause quite a few code 
    495 differences from the previous ACPICA release.
    496 
    497 Example Code and Data Size: These are the sizes for the OS-independent 
    498 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    499 debug version of the code includes the debug output trace mechanism and 
    500 has a much larger code and data size.
    501 
    502   Current Release:
    503     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
    504     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
    505   Previous Release:
    506     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
    507     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
    508 
    509 
    510 2) iASL Compiler/Disassembler and Tools:
    511 
    512 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
    513 definition blocks within a single ASL file and the resulting AML file. 
    514 Support for this type of file was also added to the various tools that 
    515 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
    516 example code below shows two definition blocks within the same file:
    517 
    518     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
    519 0x12345678)
    520     {
    521     }
    522     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
    523     {
    524     }
    525 
    526 iASL: Enhanced typechecking for the Name() operator. All expressions for 
    527 the value of the named object must be reduced/folded to a single constant 
    528 at compile time, as per the ACPI specification (the AML definition of 
    529 Name()).
    530 
    531 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
    532 and assembly headers). Now all emitted code correctly begins in column 1.
    533 
    534 iASL: Added an error message for an attempt to open a Scope() on an 
    535 object defined in an SSDT. The DSDT is always loaded into the namespace 
    536 first, so any attempt to open a Scope on an SSDT object will fail at 
    537 runtime.
    538 
    539 
    540 ----------------------------------------
    541 30 September 2015. Summary of changes for version 20150930:
    542 
    543 1) ACPICA kernel-resident subsystem:
    544 
    545 Debugger: Implemented several changes and bug fixes to assist support for 
    546 the in-kernel version of the AML debugger. Lv Zheng.
    547 - Fix the "predefined" command for in-kernel debugger.
    548 - Do not enter debug command loop for the help and version commands.
    549 - Disallow "execute" command during execution/single-step of a method.
    550 
    551 Interpreter: Updated runtime typechecking for all operators that have 
    552 target operands. The operand is resolved and validated that it is legal. 
    553 For example, the target cannot be a non-data object such as a Device, 
    554 Mutex, ThermalZone, etc., as per the ACPI specification.
    555 
    556 Debugger: Fixed the double-mutex user I/O handshake to work when local 
    557 deadlock detection is enabled.
    558 
    559 Debugger: limited display of method locals and arguments (LocalX and 
    560 ArgX) to only those that have actually been initialized. This prevents 
    561 lines of extraneous output.
    562 
    563 Updated the definition of the NFIT table to correct the bit polarity of 
    564 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
    565 
    566 Example Code and Data Size: These are the sizes for the OS-independent 
    567 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    568 debug version of the code includes the debug output trace mechanism and 
    569 has a much larger code and data size.
    570 
    571   Current Release:
    572     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
    573     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
    574   Previous Release:
    575     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
    576     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
    577 
    578 
    579 2) iASL Compiler/Disassembler and Tools:
    580 
    581 iASL: Improved the compile-time typechecking for operands of many of the 
    582 ASL operators:
    583 
    584 -- Added an option to disable compiler operand/operator typechecking (-
    585 ot).
    586 
    587 -- For the following operators, the TermArg operands are now validated 
    588 when possible to be Integer data objects: BankField, OperationRegion, 
    589 DataTableRegion, Buffer, and Package.
    590 
    591 -- Store (Source, Target): Both the source and target operands are 
    592 resolved and checked that the operands are both legal. For example, 
    593 neither operand can be a non-data object such as a Device, Mutex, 
    594 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
    595 operator can be used to store an object to any type of target object.
    596 
    597 -- Store (Source, Target): If the source is a Package object, the target 
    598 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
    599 is a Package, the source must also be a Package.
    600 
    601 -- Store (Source, Target): A warning is issued if the source and target 
    602 resolve to the identical named object.
    603 
    604 -- Store (Source, <method invocation>): An error is generated for the 
    605 target method invocation, as this construct is not supported by the AML 
    606 interpreter.
    607 
    608 -- For all ASL math and logic operators, the target operand must be a 
    609 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
    610 includes the function return value also.
    611 
    612 -- External declarations are also included in the typechecking where 
    613 possible. External objects defined using the UnknownObj keyword cannot be 
    614 typechecked, however.
    615 
    616 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
    617 operator:
    618 - Legacy code: Index(PKG1, 3)
    619 - New ASL+ code: PKG1[3]
    620 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
    621 supported.
    622 
    623 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
    624 spaces were inadvertently appended to the filename, causing file access 
    625 and deletion problems on some systems.
    626 
    627 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
    628 possible compiler output files when building the test suite -- thus 
    629 exercising these features of the compiler. These files are automatically 
    630 deleted when the test suite exits.
    631 
    632 
    633 ----------------------------------------
    634 18 August 2015. Summary of changes for version 20150818:
    635 
    636 1) ACPICA kernel-resident subsystem:
    637 
    638 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
    639 Zheng. ACPICA BZ 1186.
    640 
    641 Completed development to ensure that the ACPICA Disassembler and Debugger 
    642 are fully standalone components of ACPICA. Removed cross-component 
    643 dependences. Lv Zheng.
    644 
    645 The max-number-of-AML-loops is now runtime configurable (previously was 
    646 compile-time only). This is essentially a loop timeout to force-abort 
    647 infinite AML loops. ACPCIA BZ 1192.
    648 
    649 Debugger: Cleanup output to dump ACPI names and namepaths without any 
    650 trailing underscores. Lv Zheng. ACPICA BZ 1135.
    651 
    652 Removed unnecessary conditional compilations across the Debugger and 
    653 Disassembler components where entire modules could be left uncompiled.
    654 
    655 The aapits test is deprecated and has been removed from the ACPICA git 
    656 tree. The test has never been completed and has not been maintained, thus 
    657 becoming rather useless. ACPICA BZ 1015, 794.
    658 
    659 A batch of small changes to close bugzilla and other reports:
    660 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
    661 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
    662 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
    663 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
    664 Moore.
    665 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
    666 ACPICA BZ 1184.
    667 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
    668 operators.
    669 - Debugger: Split debugger initialization/termination interfaces. Lv 
    670 Zheng.
    671 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
    672 identification.
    673 - AcpiExec: Add debug message during _REG method phase during table 
    674 load/init.
    675 - AcpiNames: Fix a regression where some output was missing and no longer 
    676 emitted.
    677 - Debugger: General cleanup and simplification. Lv Zheng.
    678 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
    679 
    680 Example Code and Data Size: These are the sizes for the OS-independent 
    681 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    682 debug version of the code includes the debug output trace mechanism and 
    683 has a much larger code and data size.
    684 
    685   Current Release:
    686     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
    687     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
    688   Previous Release:
    689     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
    690     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
    691 
    692 
    693 2) iASL Compiler/Disassembler and Tools:
    694 
    695 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
    696 were not handled properly and caused load errors. Now, properly invoke 
    697 and use the ACPICA auto-reallocate mechanism for ACPI table data 
    698 structures. ACPICA BZ 1188
    699 
    700 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
    701 BZ 1190.
    702 
    703 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
    704 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
    705 executed during initialization. ACPICA BZ 1187, 1189.
    706 
    707 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
    708 that corresponds to each disassembled ASL statement, to simplify 
    709 debugging. ACPICA BZ 1191.
    710 
    711 Debugger: Add option to the "objects" command to display a summary of the 
    712 current namespace objects (Object type and count). This is displayed if 
    713 the command is entered with no arguments.
    714 
    715 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
    716 
    717 
    718 ----------------------------------------
    719 17 July 2015. Summary of changes for version 20150717:
    720 
    721 1) ACPICA kernel-resident subsystem:
    722 
    723 Improved the partitioning between the Debugger and Disassembler 
    724 components. This allows the Debugger to be used standalone within kernel 
    725 code without the Disassembler (which is used for single stepping also). 
    726 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
    727 
    728 Debugger: Implemented a new command to trace the execution of control 
    729 methods (Trace). This is especially useful for the in-kernel version of 
    730 the debugger when file I/O may not be available for method trace output. 
    731 See the ACPICA reference for more information. Lv Zheng.
    732 
    733 Moved all C library prototypes (used for the local versions of these 
    734 functions when requested) to a new header, acclib.h
    735 Cleaned up the use of non-ANSI C library functions. These functions are 
    736 implemented locally in ACPICA. Moved all such functions to a common 
    737 source file, utnonansi.c
    738 
    739 Debugger: Fixed a problem with the "!!" command (get last command 
    740 executed) where the debugger could enter an infinite loop and eventually 
    741 crash.
    742 
    743 Removed the use of local macros that were used for some of the standard C 
    744 library functions to automatically cast input parameters. This mostly 
    745 affected the is* functions where the input parameter is defined to be an 
    746 int. This required a few modifications to the main ACPICA source code to 
    747 provide casting for these functions and eliminate possible compiler 
    748 warnings for these parameters.
    749 
    750 Across the source code, added additional status/error checking to resolve 
    751 issues discovered by static source code analysis tools such as Coverity.
    752 
    753 Example Code and Data Size: These are the sizes for the OS-independent 
    754 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    755 debug version of the code includes the debug output trace mechanism and 
    756 has a much larger code and data size.
    757 
    758   Current Release:
    759     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
    760     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
    761   Previous Release:
    762     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
    763     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
    764 
    765 
    766 2) iASL Compiler/Disassembler and Tools:
    767 
    768 iASL: Fixed a regression where the device map file feature no longer 
    769 worked properly when used in conjunction with the disassembler. It only 
    770 worked properly with the compiler itself.
    771 
    772 iASL: Implemented a new warning for method LocalX variables that are set 
    773 but never used (similar to a C compiler such as gcc). This also applies 
    774 to ArgX variables that are not defined by the parent method, and are 
    775 instead (legally) used as local variables.
    776 
    777 iASL/Preprocessor: Finished the pass-through of line numbers from the 
    778 preprocessor to the compiler. This ensures that compiler errors/warnings 
    779 have the correct original line numbers and filenames, regardless of any 
    780 #include files.
    781 
    782 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
    783 pass-through of comments to the preprocessor output file (which becomes 
    784 the compiler input file). Also fixed a problem with // comments that 
    785 appear after a math expression.
    786 
    787 iASL: Added support for the TCPA server table to the table compiler and 
    788 template generator. (The client table was already previously supported)
    789 
    790 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
    791 identify the iASL compiler.
    792 
    793 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
    794 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
    795 ACPI_SIGN_POSITIVE.
    796 
    797 AcpiHelp: Update to expand help messages for the iASL preprocessor 
    798 directives.
    799 
    800 
    801 ----------------------------------------
    802 19 June 2015. Summary of changes for version 20150619:
    803 
    804 Two regressions in version 20150616 have been addressed:
    805 
    806 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
    807 etc.) This update changes ACPICA to only use the standard headers for 
    808 functions, or the prototypes for the local versions of the C library 
    809 functions. Across the source code, this required some additional casts 
    810 for some Clib invocations for portability. Moved all local prototypes to 
    811 a new file, acclib.h
    812 
    813 Fixes several problems with recent changes to the handling of the FACS 
    814 table that could cause some systems not to boot.
    815 
    816 
    817 ----------------------------------------
    818 16 June 2015. Summary of changes for version 20150616:
    819 
    820 
    821 1) ACPICA kernel-resident subsystem:
    822 
    823 Across the entire ACPICA source code base, the various macros for the C 
    824 library functions (such as ACPI_STRLEN, etc.) have been removed and 
    825 replaced by the standard C library names (strlen, etc.) The original 
    826 purpose for these macros is no longer applicable. This simplification 
    827 reduces the number of macros used in the ACPICA source code 
    828 significantly, improving readability and maintainability.
    829 
    830 Implemented support for a new ACPI table, the OSDT. This table, the 
    831 "override" SDT, can be loaded directly by the host OS at boot time. It 
    832 enables the replacement of existing namespace objects that were installed 
    833 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
    834 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
    835 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
    836 Moore.
    837 
    838 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
    839 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
    840 X field). This change will support both automatically. There continues to 
    841 be systems found with this issue. This support requires a change to the 
    842 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
    843 been added to allow the host to select which FACS is desired 
    844 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
    845 details Lv Zheng.
    846 
    847 Added a new feature to allow for systems that do not contain an FACS. 
    848 Although this is already supported on hardware-reduced platforms, the 
    849 feature has been extended for all platforms. The reasoning is that we do 
    850 not want to abort the entire ACPICA initialization just because the 
    851 system is seriously buggy and has no FACS.
    852 
    853 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
    854 not correctly transcribed from the ACPI specification in ACPICA version 
    855 20150515.
    856 
    857 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
    858 interface.
    859 
    860 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
    861 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
    862 compiler also updated. Note: The TCPA "server" table is not supported by 
    863 the disassembler/table-compiler at this time.
    864 
    865 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
    866 
    867 Example Code and Data Size: These are the sizes for the OS-independent 
    868 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    869 debug version of the code includes the debug output trace mechanism and 
    870 has a much larger code and data size.
    871 
    872   Current Release:
    873     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
    874     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
    875   Previous Release:
    876     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
    877     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
    878 
    879 
    880 2) iASL Compiler/Disassembler and Tools:
    881 
    882 Disassembler: Fixed a problem with the new symbolic operator disassembler 
    883 where incorrect ASL code could be emitted in some cases for the "non-
    884 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
    885 ShiftRight. The actual problem cases seem to be rather unusual in common 
    886 ASL code, however. David Box.
    887 
    888 Modified the linux version of acpidump to obtain ACPI tables from not 
    889 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
    890 Zheng.
    891 
    892 iASL: Fixed a problem where the user preprocessor output file (.i) 
    893 contained extra data that was not expected. The compiler was using this 
    894 file as a temporary file and passed through #line directives in order to 
    895 keep compiler error messages in sync with the input file and line number 
    896 across multiple include files. The (.i) is no longer a temporary file as 
    897 the compiler uses a new, different file for the original purpose.
    898 
    899 iASL: Fixed a problem where comments within the original ASL source code 
    900 file were not passed through to the preprocessor output file, nor any 
    901 listing files.
    902 
    903 iASL: Fixed some issues for the handling of the "#include" preprocessor 
    904 directive and the similar (but not the same) "Include" ASL operator.
    905 
    906 iASL: Add support for the new OSDT in both the disassembler and compiler.
    907 
    908 iASL: Fixed a problem with the constant folding support where a Buffer 
    909 object could be incorrectly generated (incorrectly formed) during a 
    910 conversion to a Store() operator.
    911 
    912 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
    913 description text for the _REV predefined name. _REV now permanently 
    914 returns 2, as per the ACPI 6.0 specification.
    915 
    916 Debugger: Enhanced the output of the Debug ASL object for references 
    917 produced by the Index operator. For Buffers and strings, only output the 
    918 actual byte pointed to by the index. For packages, only print the single 
    919 package element decoded by the index. Previously, the entire 
    920 buffer/string/package was emitted.
    921 
    922 iASL/Table-compiler: Fixed a regression where the "generic" data types 
    923 were no longer recognized, causing errors.
    924 
    925 
    926 ----------------------------------------
    927 15 May 2015. Summary of changes for version 20150515:
    928 
    929 This release implements most of ACPI 6.0 as described below.
    930 
    931 1) ACPICA kernel-resident subsystem:
    932 
    933 Implemented runtime argument checking and return value checking for all 
    934 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
    935 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
    936 
    937 Example Code and Data Size: These are the sizes for the OS-independent 
    938 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    939 debug version of the code includes the debug output trace mechanism and 
    940 has a much larger code and data size.
    941 
    942   Current Release:
    943     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
    944     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
    945   Previous Release:
    946     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
    947     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
    948 
    949 
    950 2) iASL Compiler/Disassembler and Tools:
    951 
    952 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
    953 names (argument count validation and return value typechecking.)
    954 
    955 iASL disassembler and table compiler: implemented support for all new 
    956 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
    957 
    958 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
    959 tables: FADT, MADT.
    960 
    961 iASL preprocessor: Added a new directive to enable inclusion of binary 
    962 blobs into ASL code. The new directive is #includebuffer. It takes a 
    963 binary file as input and emits a named ascii buffer object into the ASL 
    964 code.
    965 
    966 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
    967 
    968 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
    969 directives.
    970 
    971 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
    972 tables.
    973 
    974 
    975 ----------------------------------------
    976 10 April 2015. Summary of changes for version 20150410:
    977 
    978 Reverted a change introduced in version 20150408 that caused
    979 a regression in the disassembler where incorrect operator
    980 symbols could be emitted.
    981 
    982 
    983 ----------------------------------------
    984 08 April 2015. Summary of changes for version 20150408:
    985 
    986 
    987 1) ACPICA kernel-resident subsystem:
    988 
    989 Permanently set the return value for the _REV predefined name. It now 
    990 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
    991 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
    992 for ACPI 2.0 and later. It should never be used to differentiate or 
    993 identify operating systems.
    994 
    995 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
    996 return TRUE to a query with this string.
    997 
    998 Fixed several issues with the local version of the printf function.
    999 
   1000 Added the C99 compiler option (-std=c99) to the Unix makefiles.
   1001 
   1002   Current Release:
   1003     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
   1004     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
   1005   Previous Release:
   1006     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   1007     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   1008 
   1009 
   1010 2) iASL Compiler/Disassembler and Tools:
   1011 
   1012 iASL: Implemented an enhancement to the constant folding feature to 
   1013 transform the parse tree to a simple Store operation whenever possible:
   1014     Add (2, 3, X) ==> is converted to: Store (5, X)
   1015     X = 2 + 3     ==> is converted to: Store (5, X)
   1016 
   1017 Updated support for the SLIC table (Software Licensing Description Table) 
   1018 in both the Data Table compiler and the disassembler. The SLIC table 
   1019 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
   1020 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
   1021 following the ACPI header is now defined to be "Proprietary Data", and as 
   1022 such, can only be entered or displayed as a hex data block.
   1023 
   1024 Implemented full support for the MSDM table as described in the document 
   1025 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
   1026 following the ACPI header is defined to be "Proprietary Data", and can 
   1027 only be entered or displayed as a hex data block.
   1028 
   1029 Implemented the -Pn option for the iASL Table Compiler (was only 
   1030 implemented for the ASL compiler). This option disables the iASL 
   1031 preprocessor.
   1032 
   1033 Disassembler: For disassembly of Data Tables, added a comment field 
   1034 around the Ascii equivalent data that is emitted as part of the "Raw 
   1035 Table Data" block. This prevents the iASL Preprocessor from possible 
   1036 confusion if/when the table is compiled.
   1037 
   1038 Disassembler: Added an option (-df) to force the disassembler to assume 
   1039 that the table being disassembled contains valid AML. This feature is 
   1040 useful for disassembling AML files that contain ACPI signatures other 
   1041 than DSDT or SSDT (such as OEMx or other signatures).
   1042 
   1043 Changes for the EFI version of the tools:
   1044 1) Fixed a build error/issue
   1045 2) Fixed a cast warning
   1046 
   1047 iASL: Fixed a path issue with the __FILE__ operator by making the 
   1048 directory prefix optional within the internal SplitInputFilename 
   1049 function.
   1050 
   1051 Debugger: Removed some unused global variables.
   1052 
   1053 Tests: Updated the makefile for proper generation of the AAPITS suite.
   1054 
   1055 
   1056 ----------------------------------------
   1057 04 February 2015. Summary of changes for version 20150204:
   1058 
   1059 ACPICA kernel-resident subsystem:
   1060 
   1061 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   1062 copyright to all module headers and signons, including the standard Linux 
   1063 header. This affects virtually every file in the ACPICA core subsystem, 
   1064 iASL compiler, all ACPICA utilities, and the test suites.
   1065 
   1066 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
   1067 A raw gpe handling mechanism was created to allow better handling of GPE
   1068 storms that aren't easily managed by the normal handler. The raw handler
   1069 allows disabling/renabling of the the GPE so that interrupt storms can be
   1070 avoided in cases where events cannot be timely serviced. In this 
   1071 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
   1072 GPE. This API will leave the reference counts undisturbed, thereby 
   1073 preventing unintentional clearing of the GPE when the intent in only to 
   1074 temporarily disable it. Raw handlers allow enabling and disabling of a 
   1075 GPE by removing GPE register locking. As such, raw handlers much provide 
   1076 their own locks while using GPE API's to protect access to GPE data 
   1077 structures.
   1078 Lv Zheng
   1079 
   1080 Events: Always modify GPE registers under the GPE lock.
   1081 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
   1082 values. Reported as bug by joe.liu (a] apple.com.
   1083 
   1084 Unix makefiles: Separate option to disable optimizations and 
   1085 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
   1086 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
   1087 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
   1088 errors when building ACPICA. This allows disabling the option without 
   1089 also having to disable optimazations.
   1090 David Box
   1091 
   1092   Current Release:
   1093     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   1094     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
   1095 
   1096 --
   1097 --------------------------------------
   1098 07 November 2014. Summary of changes for version 20141107:
   1099 
   1100 This release is available at https://acpica.org/downloads
   1101 
   1102 This release introduces and implements language extensions to ASL that 
   1103 provide support for symbolic ("C-style") operators and expressions. These 
   1104 language extensions are known collectively as ASL+.
   1105 
   1106 
   1107 1) iASL Compiler/Disassembler and Tools:
   1108 
   1109 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
   1110 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
   1111 Box.
   1112 
   1113 Disassembler: Fixed the Unicode macro support to add escape sequences. 
   1114 All non-printable ASCII values are emitted as escape sequences, as well 
   1115 as the standard escapes for quote and backslash. Ensures that the 
   1116 disassembled macro can be correctly recompiled.
   1117 
   1118 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
   1119 translated to existing AML Concatenate and Store operations. Printf 
   1120 writes to the ASL Debug object. Fprintf allows the specification of an 
   1121 ASL name as the target. Only a single format specifier is required, %o, 
   1122 since the AML interpreter dynamically converts objects to the required 
   1123 type. David E. Box.
   1124 
   1125     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   1126                  (Concatenate (Concatenate (Concatenate ("", Arg0),
   1127                  ": Unexpected value for "), Arg1), ", "), Arg2),
   1128                  " at line "), Arg3), Debug)
   1129 
   1130     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
   1131                  Arg0, Arg1, Arg2, Arg3)
   1132 
   1133     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   1134                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
   1135 
   1136     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
   1137 
   1138 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
   1139 ASL parse tree before the AML code is generated. This allows blocks of 
   1140 ASL code to be removed in order to help locate and identify problem 
   1141 devices and/or code. David E. Box.
   1142 
   1143 AcpiExec: Added support (-fi) for an optional namespace object 
   1144 initialization file. This file specifies initial values for namespace 
   1145 objects as necessary for debugging and testing different ASL code paths 
   1146 that may be taken as a result of BIOS options.
   1147 
   1148 
   1149 2) Overview of symbolic operator support for ASL (ASL+)
   1150 -------------------------------------------------------
   1151 
   1152 As an extension to the ASL language, iASL implements support for symbolic 
   1153 (C-style) operators for math and logical expressions. This can greatly 
   1154 simplify ASL code as well as improve both readability and 
   1155 maintainability. These language extensions can exist concurrently with 
   1156 all legacy ASL code and expressions.
   1157 
   1158 The symbolic extensions are 100% compatible with existing AML 
   1159 interpreters, since no new AML opcodes are created. To implement the 
   1160 extensions, the iASL compiler transforms the symbolic expressions into 
   1161 the legacy ASL/AML equivalents at compile time.
   1162 
   1163 Full symbolic expressions are supported, along with the standard C 
   1164 precedence and associativity rules.
   1165 
   1166 Full disassembler support for the symbolic expressions is provided, and 
   1167 creates an automatic migration path for existing ASL code to ASL+ code 
   1168 via the disassembly process. By default, the disassembler now emits ASL+ 
   1169 code with symbolic expressions. An option (-dl) is provided to force the 
   1170 disassembler to emit legacy ASL code if desired.
   1171 
   1172 Below is the complete list of the currently supported symbolic operators 
   1173 with examples. See the iASL User Guide for additional information.
   1174 
   1175 
   1176 ASL+ Syntax      Legacy ASL Equivalent
   1177 -----------      ---------------------
   1178 
   1179     // Math operators
   1180 
   1181 Z = X + Y        Add (X, Y, Z)
   1182 Z = X - Y        Subtract (X, Y, Z)
   1183 Z = X * Y        Multiply (X, Y, Z)
   1184 Z = X / Y        Divide (X, Y, , Z)
   1185 Z = X % Y        Mod (X, Y, Z)
   1186 Z = X << Y       ShiftLeft (X, Y, Z)
   1187 Z = X >> Y       ShiftRight (X, Y, Z)
   1188 Z = X & Y        And (X, Y, Z)
   1189 Z = X | Y        Or (X, Y, Z)
   1190 Z = X ^ Y        Xor (X, Y, Z)
   1191 Z = ~X           Not (X, Z)
   1192 X++              Increment (X)
   1193 X--              Decrement (X)
   1194 
   1195     // Logical operators
   1196 
   1197 (X == Y)         LEqual (X, Y)
   1198 (X != Y)         LNotEqual (X, Y)
   1199 (X < Y)          LLess (X, Y)
   1200 (X > Y)          LGreater (X, Y)
   1201 (X <= Y)         LLessEqual (X, Y)
   1202 (X >= Y)         LGreaterEqual (X, Y)
   1203 (X && Y)         LAnd (X, Y)
   1204 (X || Y)         LOr (X, Y)
   1205 (!X)             LNot (X)
   1206 
   1207     // Assignment and compound assignment operations
   1208 
   1209 X = Y           Store (Y, X)
   1210 X += Y          Add (X, Y, X)
   1211 X -= Y          Subtract (X, Y, X)
   1212 X *= Y          Multiply (X, Y, X)
   1213 X /= Y          Divide (X, Y, , X)
   1214 X %= Y          Mod (X, Y, X)
   1215 X <<= Y         ShiftLeft (X, Y, X)
   1216 X >>= Y         ShiftRight (X, Y, X)
   1217 X &= Y          And (X, Y, X)
   1218 X |= Y          Or (X, Y, X)
   1219 X ^= Y          Xor (X, Y, X)
   1220 
   1221 
   1222 3) ASL+ Examples:
   1223 -----------------
   1224 
   1225 Legacy ASL:
   1226         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
   1227             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
   1228 0x03FB), 
   1229             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
   1230         {
   1231             And (MEMB, 0xFFFFFFF0, SRMB)
   1232             Store (MEMB, Local2)
   1233             Store (PDBM, Local1)
   1234             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
   1235             Store (SRMB, MEMB)
   1236             Or (PDBM, 0x02, PDBM)
   1237         }
   1238 
   1239 ASL+ version:
   1240         If (((R510 & 0x03FB) == 0x02E0) ||
   1241             ((R520 & 0x03FB) == 0x02E0) ||
   1242             ((R530 & 0x03FB) == 0x02E0) || 
   1243             ((R540 & 0x03FB) == 0x02E0))
   1244         {
   1245             SRMB = (MEMB & 0xFFFFFFF0)
   1246             Local2 = MEMB
   1247             Local1 = PDBM
   1248             PDBM &= 0xFFFFFFFFFFFFFFF9
   1249             MEMB = SRMB
   1250             PDBM |= 0x02
   1251         }
   1252 
   1253 Legacy ASL:
   1254         Store (0x1234, Local1)
   1255         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
   1256         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
   1257         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
   1258         Store (Index (PKG1, 0x03), Local6)
   1259         Store (Add (Local3, Local2), Debug)
   1260         Add (Local1, 0x0F, Local2)
   1261         Add (Local1, Multiply (Local2, Local3), Local2)
   1262         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
   1263 
   1264 ASL+ version:
   1265         Local1 = 0x1234
   1266         Local3 = (((Local1 + TEST) + 0x20) * Local2)
   1267         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
   1268         Local3 = (Local1 + (TEST + (0x20 * Local2)))
   1269         Local6 = Index (PKG1, 0x03)
   1270         Debug = (Local3 + Local2)
   1271         Local2 = (Local1 + 0x0F)
   1272         Local2 = (Local1 + (Local2 * Local3))
   1273         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
   1274 
   1275 
   1276 ----------------------------------------
   1277 26 September 2014. Summary of changes for version 20140926:
   1278 
   1279 1) ACPICA kernel-resident subsystem:
   1280 
   1281 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
   1282 In order to support GPIO Connection objects with multiple pins, along 
   1283 with the related Field objects, the following changes to the interface 
   1284 have been made: The Address is now defined to be the offset in bits of 
   1285 the field unit from the previous invocation of a Connection. It can be 
   1286 viewed as a "Pin Number Index" into the connection resource descriptor. 
   1287 The BitWidth is the exact bit width of the field. It is usually one bit, 
   1288 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
   1289 additional information and examples.
   1290 
   1291 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
   1292 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
   1293 by the firmware), so that they cannot fire until they are enabled via 
   1294 AcpiUpdateAllGpes. Rafael J. Wysocki.
   1295 
   1296 Added a new return flag for the Event/GPE status interfaces -- 
   1297 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
   1298 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
   1299 GPE currently has a handler associated with it, and can thus actually 
   1300 affect the system. Lv Zheng.
   1301 
   1302 Example Code and Data Size: These are the sizes for the OS-independent 
   1303 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1304 debug version of the code includes the debug output trace mechanism and 
   1305 has a much larger code and data size.
   1306 
   1307   Current Release:
   1308     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
   1309     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
   1310   Previous Release:
   1311     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   1312     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   1313 
   1314 2) iASL Compiler/Disassembler and Tools:
   1315 
   1316 iASL: Fixed a memory allocation/free regression introduced in 20140828 
   1317 that could cause the compiler to crash. This was introduced inadvertently 
   1318 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
   1319 1113.
   1320 
   1321 iASL: Removed two error messages that have been found to create false 
   1322 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
   1323 1) Illegal forward reference within a method
   1324 2) Illegal reference across two methods
   1325 
   1326 iASL: Implemented a new option (-lm) to create a hardware mapping file 
   1327 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
   1328 works for both the compiler and disassembler. See the iASL compiler user 
   1329 guide for additional information and examples (section 6.4.6).
   1330 
   1331 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
   1332 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
   1333 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
   1334 
   1335 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
   1336 unless STDIN is actually a terminal. Assists with batch-mode processing. 
   1337 ACPICA BZ 1114.
   1338 
   1339 Disassembler/AcpiHelp: Added another large group of recognized _HID 
   1340 values.
   1341 
   1342 
   1343 ----------------------------------------
   1344 28 August 2014. Summary of changes for version 20140828:
   1345 
   1346 1) ACPICA kernel-resident subsystem:
   1347 
   1348 Fixed a problem related to the internal use of the Timer() operator where 
   1349 a 64-bit divide could cause an attempted link to a double-precision math 
   1350 library. This divide is not actually necessary, so the code was 
   1351 restructured to eliminate it. Lv Zheng.
   1352 
   1353 ACPI 5.1: Added support for the runtime validation of the _DSD package 
   1354 (similar to the iASL support).
   1355 
   1356 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
   1357 SRAT table. Hanjun Guo <hanjun.guo (a] linaro.org>.
   1358 
   1359 Example Code and Data Size: These are the sizes for the OS-independent 
   1360 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1361 debug version of the code includes the debug output trace mechanism and 
   1362 has a much larger code and data size.
   1363 
   1364   Current Release:
   1365     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   1366     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   1367   Previous Release:
   1368     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
   1369     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   1370 
   1371 2) iASL Compiler/Disassembler and Tools:
   1372 
   1373 AcpiExec: Fixed a problem on unix systems where the original terminal 
   1374 state was not always properly restored upon exit. Seen when using the -v 
   1375 option. ACPICA BZ 1104.
   1376 
   1377 iASL: Fixed a problem with the validation of the ranges/length within the 
   1378 Memory24 resource descriptor. There was a boundary condition when the 
   1379 range was equal to the (length -1) caused by the fact that these values 
   1380 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
   1381 
   1382 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
   1383 polarity 
   1384 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
   1385 is 
   1386 now supported properly.
   1387 
   1388 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
   1389 in the disassembler, data table compiler, and table template generator.
   1390 
   1391 iASL: Added a requirement for Device() objects that one of either a _HID 
   1392 or _ADR must exist within the scope of a Device, as per the ACPI 
   1393 specification. Remove a similar requirement that was incorrectly in place 
   1394 for the _DSD object.
   1395 
   1396 iASL: Added error detection for illegal named references within control 
   1397 methods that would cause runtime failures. Now trapped as errors are: 1) 
   1398 References to objects within a non-parent control method. 2) Forward 
   1399 references (within a method) -- for control methods, AML interpreters use 
   1400 a one-pass parse of control methods. ACPICA BZ 1008.
   1401 
   1402 iASL: Added error checking for dependencies related to the _PSx power 
   1403 methods. ACPICA BZ 1029.
   1404 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
   1405 _PS3.
   1406 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
   1407 scope.
   1408 
   1409 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
   1410 deploying the existing object and string caches and adding new caches for 
   1411 the table compiler.
   1412 
   1413 iASL: Split the huge parser source file into multiple subfiles to improve 
   1414 manageability. Generation now requires the M4 macro preprocessor, which 
   1415 is part of the Bison distribution on both unix and windows platforms.
   1416 
   1417 AcpiSrc: Fixed and removed all extraneous warnings generated during 
   1418 entire ACPICA source code scan and/or conversion.
   1419 
   1420 
   1421 ----------------------------------------
   1422 
   1423 24 July 2014. Summary of changes for version 20140724: 
   1424 
   1425 The ACPI 5.1 specification has been released and is available at: 
   1426 http://uefi.org/specs/access
   1427 
   1428 
   1429 0) ACPI 5.1 support in ACPICA:
   1430 
   1431 ACPI 5.1 is fully supported in ACPICA as of this release.
   1432 
   1433 New predefined names. Support includes iASL and runtime ACPICA 
   1434 validation.
   1435     _CCA (Cache Coherency Attribute).
   1436     _DSD (Device-Specific Data). David Box.
   1437 
   1438 Modifications to existing ACPI tables. Support includes headers, iASL 
   1439 Data Table compiler, disassembler, and the template generator.
   1440     FADT - New fields and flags. Graeme Gregory.
   1441     GTDT - One new subtable and new fields. Tomasz Nowicki.
   1442     MADT - Two new subtables. Tomasz Nowicki.
   1443     PCCT - One new subtable.
   1444 
   1445 Miscellaneous.
   1446     New notification type for System Resource Affinity change events.
   1447 
   1448 
   1449 1) ACPICA kernel-resident subsystem:
   1450 
   1451 Fixed a regression introduced in 20140627 where a fault can happen during 
   1452 the deletion of Alias AML namespace objects. The problem affected both 
   1453 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
   1454 
   1455 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
   1456 simple mechanism to enable wake GPEs that have no associated handler or 
   1457 control method. Rafael Wysocki.
   1458 
   1459 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
   1460 handler or control method associated with the particular GPE. This will 
   1461 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
   1462 
   1463 Updated GPE handling and dispatch by disabling the GPE before clearing 
   1464 the status bit for edge-triggered GPEs. Lv Zheng.
   1465 
   1466 Added Timer() support to the AML Debug object. The current timer value is 
   1467 now displayed with each invocation of (Store to) the debug object to 
   1468 enable simple generation of execution times for AML code (method 
   1469 execution for example.) ACPICA BZ 1093.
   1470 
   1471 Example Code and Data Size: These are the sizes for the OS-independent 
   1472 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1473 debug version of the code includes the debug output trace mechanism and 
   1474 has a much larger code and data size.
   1475 
   1476   Current Release:
   1477     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
   1478     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   1479   Previous Release:
   1480     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   1481     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   1482 
   1483 
   1484 2) iASL Compiler/Disassembler and Tools:
   1485 
   1486 Fixed an issue with the recently added local printf implementation, 
   1487 concerning width/precision specifiers that could cause incorrect output. 
   1488 Lv Zheng. ACPICA BZ 1094.
   1489 
   1490 Disassembler: Added support to detect buffers that contain UUIDs and 
   1491 disassemble them to an invocation of the ToUUID operator. Also emit 
   1492 commented descriptions of known ACPI-related UUIDs.
   1493 
   1494 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
   1495 -u. Adds three new files. 
   1496 
   1497 iASL: Update table compiler and disassembler for DMAR table changes that 
   1498 were introduced in September 2013. With assistance by David Woodhouse.
   1499 
   1500 ----------------------------------------
   1501 27 June 2014. Summary of changes for version 20140627:
   1502 
   1503 1) ACPICA kernel-resident subsystem:
   1504 
   1505 Formatted Output: Implemented local versions of standard formatted output 
   1506 utilities such as printf, etc. Over time, it has been discovered that 
   1507 there are in fact many portability issues with printf, and the addition 
   1508 of this feature will fix/prevent these issues once and for all. Some 
   1509 known issues are summarized below:
   1510 
   1511 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
   1512 for the Linux kernel and is %uI64 for some MSVC versions.
   1513 2) Invoking printf consistently in a manner that is portable across both 
   1514 32-bit and 64-bit platforms is difficult at best in many situations.
   1515 3) The output format for pointers varies from system to system (leading 
   1516 zeros especially), and leads to inconsistent output from ACPICA across 
   1517 platforms.
   1518 4) Certain platform-specific printf formats may conflict with ACPICA use.
   1519 5) If there is no local C library available, ACPICA now has local support 
   1520 for printf.
   1521 
   1522 -- To address these printf issues in a complete manner, ACPICA now 
   1523 directly implements a small subset of printf format specifiers, only 
   1524 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
   1525 
   1526 Implemented support for ACPICA generation within the EFI environment. 
   1527 Initially, the AcpiDump utility is supported in the UEFI shell 
   1528 environment. Lv Zheng.
   1529 
   1530 Added a new external interface, AcpiLogError, to improve ACPICA 
   1531 portability. This allows the host to redirect error messages from the 
   1532 ACPICA utilities. Lv Zheng.
   1533 
   1534 Added and deployed new OSL file I/O interfaces to improve ACPICA 
   1535 portability:
   1536   AcpiOsOpenFile
   1537   AcpiOsCloseFile
   1538   AcpiOsReadFile
   1539   AcpiOsWriteFile
   1540   AcpiOsGetFileOffset
   1541   AcpiOsSetFileOffset
   1542 There are C library implementations of these functions in the new file 
   1543 service_layers/oslibcfs.c -- however, the functions can be implemented by 
   1544 the local host in any way necessary. Lv Zheng.
   1545 
   1546 Implemented a mechanism to disable/enable ACPI table checksum validation 
   1547 at runtime. This can be useful when loading tables very early during OS 
   1548 initialization when it may not be possible to map the entire table in 
   1549 order to compute the checksum. Lv Zheng.
   1550 
   1551 Fixed a buffer allocation issue for the Generic Serial Bus support. 
   1552 Originally, a fixed buffer length was used. This change allows for 
   1553 variable-length buffers based upon the protocol indicated by the field 
   1554 access attributes. Reported by Lan Tianyu. Lv Zheng.
   1555 
   1556 Fixed a problem where an object detached from a namespace node was not 
   1557 properly terminated/cleared and could cause a circular list problem if 
   1558 reattached. ACPICA BZ 1063. David Box.
   1559 
   1560 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
   1561 
   1562 Fixed a possible memory leak in an error return path within the function 
   1563 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
   1564 
   1565 Example Code and Data Size: These are the sizes for the OS-independent 
   1566 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1567 debug version of the code includes the debug output trace mechanism and 
   1568 has a much larger code and data size.
   1569 
   1570   Current Release:
   1571     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   1572     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   1573   Previous Release:
   1574     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   1575     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   1576 
   1577 
   1578 2) iASL Compiler/Disassembler and Tools:
   1579 
   1580 Disassembler: Add dump of ASCII equivalent text within a comment at the 
   1581 end of each line of the output for the Buffer() ASL operator.
   1582 
   1583 AcpiDump: Miscellaneous changes:
   1584   Fixed repetitive table dump in -n mode.
   1585   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
   1586 the ACPI 2.0 GUID fails.
   1587 
   1588 iASL: Fixed a problem where the compiler could fault if incorrectly given 
   1589 an acpidump output file as input. ACPICA BZ 1088. David Box.
   1590 
   1591 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
   1592 they are invoked without any arguments.
   1593 
   1594 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
   1595 1086. Colin Ian King.
   1596 
   1597 Disassembler: Cleaned up a block of code that extracts a parent Op 
   1598 object. Added a comment that explains that the parent is guaranteed to be 
   1599 valid in this case. ACPICA BZ 1069.
   1600 
   1601 
   1602 ----------------------------------------
   1603 24 April 2014. Summary of changes for version 20140424:
   1604 
   1605 1) ACPICA kernel-resident subsystem:
   1606 
   1607 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
   1608 Some of these tables are known to contain a trailing NULL entry. Lv 
   1609 Zheng.
   1610 
   1611 Removed an extraneous error message for the case where there are a large 
   1612 number of system GPEs (> 124). This was the "32-bit FADT register is too 
   1613 long to convert to GAS struct" message, which is irrelevant for GPEs 
   1614 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
   1615 (limited capacity) GAS bit length. Also, several changes to ensure proper 
   1616 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
   1617 internally.
   1618 
   1619 Implemented and deployed additional configuration support for the public 
   1620 ACPICA external interfaces. Entire classes of interfaces can now be 
   1621 easily modified or configured out, replaced by stubbed inline functions 
   1622 by default. Lv Zheng.
   1623 
   1624 Moved all public ACPICA runtime configuration globals to the public 
   1625 ACPICA external interface file for convenience. Also, removed some 
   1626 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
   1627 
   1628 Documentation: Added a new section to the ACPICA reference describing the 
   1629 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
   1630 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
   1631 reference.
   1632 
   1633 Example Code and Data Size: These are the sizes for the OS-independent 
   1634 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1635 debug version of the code includes the debug output trace mechanism and 
   1636 has a much larger code and data size.
   1637 
   1638   Current Release:
   1639     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   1640     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   1641   Previous Release:
   1642     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   1643     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   1644 
   1645 
   1646 2) iASL Compiler/Disassembler and Tools:
   1647 
   1648 iASL and disassembler: Add full support for the LPIT table (Low Power 
   1649 Idle Table). Includes support in the disassembler, data table compiler, 
   1650 and template generator.
   1651 
   1652 AcpiDump utility:
   1653 1) Add option to force the use of the RSDT (over the XSDT).
   1654 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
   1655 
   1656 iASL: Add check for predefined packages that are too large.  For 
   1657 predefined names that contain subpackages, check if each subpackage is 
   1658 too large. (Check for too small already exists.)
   1659 
   1660 Debugger: Updated the GPE command (which simulates a GPE by executing the 
   1661 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
   1662 to the GPE 0/1 FADT-defined blocks.
   1663 
   1664 Unix application OSL: Update line-editing support. Add additional error 
   1665 checking and take care not to reset terminal attributes on exit if they 
   1666 were never set. This should help guarantee that the terminal is always 
   1667 left in the previous state on program exit.
   1668 
   1669 
   1670 ----------------------------------------
   1671 25 March 2014. Summary of changes for version 20140325:
   1672 
   1673 1) ACPICA kernel-resident subsystem:
   1674 
   1675 Updated the auto-serialize feature for control methods. This feature 
   1676 automatically serializes all methods that create named objects in order 
   1677 to prevent runtime errors. The update adds support to ignore the 
   1678 currently executing AML SyncLevel when invoking such a method, in order 
   1679 to prevent disruption of any existing SyncLevel priorities that may exist 
   1680 in the AML code. Although the use of SyncLevels is relatively rare, this 
   1681 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
   1682 appear on some machines starting with the 20140214 release.
   1683 
   1684 Added a new external interface to allow the host to install ACPI tables 
   1685 very early, before the namespace is even created. AcpiInstallTable gives 
   1686 the host additional flexibility for ACPI table management. Tables can be 
   1687 installed directly by the host as if they had originally appeared in the 
   1688 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
   1689 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
   1690 with additional internal restructuring and cleanup. See the ACPICA 
   1691 Reference for interface details. Lv Zheng.
   1692 
   1693 Added validation of the checksum for all incoming dynamically loaded 
   1694 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
   1695 Zheng.
   1696 
   1697 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
   1698 and GPE handler removal. Restructured calls to eliminate possible race 
   1699 conditions. Lv Zheng.
   1700 
   1701 Added a warning for the use/execution of the ASL/AML Unload (table) 
   1702 operator. This will help detect and identify machines that use this 
   1703 operator if and when it is ever used. This operator has never been seen 
   1704 in the field and the usage model and possible side-effects of the drastic 
   1705 runtime action of a full table removal are unknown.
   1706 
   1707 Reverted the use of #pragma push/pop which was introduced in the 20140214 
   1708 release. It appears that push and pop are not implemented by enough 
   1709 compilers to make the use of this feature feasible for ACPICA at this 
   1710 time. However, these operators may be deployed in a future ACPICA 
   1711 release.
   1712 
   1713 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
   1714 handler interfaces.
   1715 
   1716 Source code generation:
   1717 1) Disabled the use of the "strchr" macro for the gcc-specific 
   1718 generation. For some versions of gcc, this macro can periodically expose 
   1719 a compiler bug which in turn causes compile-time error(s).
   1720 2) Added support for PPC64 compilation. Colin Ian King.
   1721 
   1722 Example Code and Data Size: These are the sizes for the OS-independent 
   1723 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1724 debug version of the code includes the debug output trace mechanism and 
   1725 has a much larger code and data size.
   1726 
   1727   Current Release:
   1728     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   1729     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   1730   Previous Release:
   1731     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   1732     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   1733 
   1734 
   1735 2) iASL Compiler/Disassembler and Tools:
   1736 
   1737 Disassembler: Added several new features to improve the readability of 
   1738 the resulting ASL code. Extra information is emitted within comment 
   1739 fields in the ASL code:
   1740 1) Known _HID/_CID values are decoded to descriptive text.
   1741 2) Standard values for the Notify() operator are decoded to descriptive 
   1742 text.
   1743 3) Target operands are expanded to full pathnames (in a comment) when 
   1744 possible.
   1745 
   1746 Disassembler: Miscellaneous updates for extern() handling:
   1747 1) Abort compiler if file specified by -fe option does not exist.
   1748 2) Silence unnecessary warnings about argument count mismatches.
   1749 3) Update warning messages concerning unresolved method externals.
   1750 4) Emit "UnknownObj" keyword for externals whose type cannot be 
   1751 determined.
   1752 
   1753 AcpiHelp utility:
   1754 1) Added the -a option to display both the ASL syntax and the AML 
   1755 encoding for an input ASL operator. This effectively displays all known 
   1756 information about an ASL operator with one AcpiHelp invocation.
   1757 2) Added substring match support (similar to a wildcard) for the -i 
   1758 (_HID/PNP IDs) option.
   1759 
   1760 iASL/Disassembler: Since this tool does not yet support execution on big-
   1761 endian machines, added detection of endianness and an error message if 
   1762 execution is attempted on big-endian. Support for big-endian within iASL 
   1763 is a feature that is on the ACPICA to-be-done list.
   1764 
   1765 AcpiBin utility:
   1766 1) Remove option to extract binary files from an acpidump; this function 
   1767 is made obsolete by the AcpiXtract utility.
   1768 2) General cleanup of open files and allocated buffers.
   1769 
   1770 
   1771 ----------------------------------------
   1772 14 February 2014. Summary of changes for version 20140214:
   1773 
   1774 1) ACPICA kernel-resident subsystem:
   1775 
   1776 Implemented a new mechanism to proactively prevent problems with ill-
   1777 behaved reentrant control methods that create named ACPI objects. This 
   1778 behavior is illegal as per the ACPI specification, but is nonetheless 
   1779 frequently seen in the field. Previously, this could lead to an 
   1780 AE_ALREADY_EXISTS exception if the method was actually entered by more 
   1781 than one thread. This new mechanism detects such methods at table load 
   1782 time and marks them "serialized" to prevent reentrancy. A new global 
   1783 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
   1784 feature if desired. This mechanism and global option obsoletes and 
   1785 supersedes the previous AcpiGbl_SerializeAllMethods option.
   1786 
   1787 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
   1788 respond TRUE to _OSI queries with this string. It is the stated policy of 
   1789 ACPICA to add new strings to the _OSI support as soon as possible after 
   1790 they are defined. See the full ACPICA _OSI policy which has been added to 
   1791 the utilities/utosi.c file.
   1792 
   1793 Hardened/updated the _PRT return value auto-repair code:
   1794 1) Do not abort the repair on a single subpackage failure, continue to 
   1795 check all subpackages.
   1796 2) Add check for the minimum subpackage length (4).
   1797 3) Properly handle extraneous NULL package elements.
   1798 
   1799 Added support to avoid the possibility of infinite loops when traversing 
   1800 object linked lists. Never allow an infinite loop, even in the face of 
   1801 corrupted object lists.
   1802 
   1803 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
   1804 pack(pop) directives to ensure that the ACPICA headers are independent of 
   1805 compiler settings or other host headers.
   1806 
   1807 Example Code and Data Size: These are the sizes for the OS-independent 
   1808 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1809 debug version of the code includes the debug output trace mechanism and 
   1810 has a much larger code and data size.
   1811 
   1812   Current Release:
   1813     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   1814     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   1815   Previous Release:
   1816     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   1817     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   1818 
   1819 
   1820 2) iASL Compiler/Disassembler and Tools:
   1821 
   1822 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
   1823 first reserved field was incorrectly forced to have a value of zero. This 
   1824 change correctly forces the field to have a value of one. ACPICA BZ 1081.
   1825 
   1826 Debugger: Added missing support for the "Extra" and "Data" subobjects 
   1827 when displaying object data.
   1828 
   1829 Debugger: Added support to display entire object linked lists when 
   1830 displaying object data.
   1831 
   1832 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
   1833 Windows registry. This feature has been superseded by the acpidump 
   1834 utility. 
   1835 
   1836 
   1837 ----------------------------------------
   1838 14 January 2014. Summary of changes for version 20140114:
   1839 
   1840 1) ACPICA kernel-resident subsystem:
   1841 
   1842 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   1843 copyright to all module headers and signons, including the standard Linux 
   1844 header. This affects virtually every file in the ACPICA core subsystem, 
   1845 iASL compiler, all ACPICA utilities, and the test suites.
   1846 
   1847 Improved parameter validation for AcpiInstallGpeBlock. Added the 
   1848 following checks:
   1849 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
   1850 2) There is not already a GPE block attached to the device.
   1851 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
   1852 device.
   1853 
   1854 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
   1855 support to allow references (namespace nodes) to be passed as arguments 
   1856 to control methods via the evaluate object interface. This is probably 
   1857 most useful for testing purposes, however.
   1858 
   1859 Improved support for 32/64 bit physical addresses in printf()-like 
   1860 output. This change improves the support for physical addresses in printf 
   1861 debug statements and other output on both 32-bit and 64-bit hosts. It 
   1862 consistently outputs the appropriate number of bytes for each host. The 
   1863 %p specifier is unsatisfactory since it does not emit uniform output on 
   1864 all hosts/clib implementations (on some, leading zeros are not supported, 
   1865 leading to difficult-to-read output).
   1866 
   1867 Example Code and Data Size: These are the sizes for the OS-independent 
   1868 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1869 debug version of the code includes the debug output trace mechanism and 
   1870 has a much larger code and data size.
   1871 
   1872   Current Release:
   1873     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   1874     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   1875   Previous Release:
   1876     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   1877     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   1878 
   1879 
   1880 2) iASL Compiler/Disassembler and Tools:
   1881 
   1882 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
   1883 problem if the parent Field definition for the Connection operator refers 
   1884 to an operation region that does not exist. ACPICA BZ 1064.
   1885 
   1886 AcpiExec: Load of local test tables is now optional. The utility has the 
   1887 capability to load some various tables to test features of ACPICA. 
   1888 However, there are enough of them that the output of the utility became 
   1889 confusing. With this change, only the required local tables are displayed 
   1890 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
   1891 line specification. This makes the default output simler and easier to 
   1892 understand. The -el command line option restores the original behavior 
   1893 for testing purposes.
   1894 
   1895 AcpiExec: Added support for overlapping operation regions. This change 
   1896 expands the simulation of operation regions by supporting regions that 
   1897 overlap within the given address space. Supports SystemMemory and 
   1898 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
   1899 
   1900 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
   1901 allows AcpiExec to simulate these address spaces, similar to the current 
   1902 support for SystemMemory and SystemIO.
   1903 
   1904 Debugger: Added new command to read/write/compare all namespace objects. 
   1905 The command "test objects" will exercise the entire namespace by writing 
   1906 new values to each data object, and ensuring that the write was 
   1907 successful. The original value is then restored and verified.
   1908 
   1909 Debugger: Added the "test predefined" command. This change makes this 
   1910 test public and puts it under the new "test" command. The test executes 
   1911 each and every predefined name within the current namespace.
   1912 
   1913 
   1914 ----------------------------------------
   1915 18 December 2013. Summary of changes for version 20131218:
   1916 
   1917 Global note: The ACPI 5.0A specification was released this month. There 
   1918 are no changes needed for ACPICA since this release of ACPI is an 
   1919 errata/clarification release. The specification is available at 
   1920 acpi.info. 
   1921 
   1922 
   1923 1) ACPICA kernel-resident subsystem:
   1924 
   1925 Added validation of the XSDT root table if it is present. Some older 
   1926 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
   1927 as containing some or all entries that are NULL pointers). This change 
   1928 adds a new function to validate the XSDT before actually using it. If the 
   1929 XSDT is found to be invalid, ACPICA will now automatically fall back to 
   1930 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
   1931 ACPICA and enhanced by Lv Zheng and Bob Moore.
   1932 
   1933 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
   1934 This change adds a runtime option that will force ACPICA to use the RSDT 
   1935 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
   1936 requires that an XSDT be used instead of the RSDT, the XSDT has been 
   1937 found to be corrupt or ill-formed on some machines. Lv Zheng.
   1938 
   1939 Added a runtime option to favor 32-bit FADT register addresses over the 
   1940 64-bit addresses. This change adds an option to favor 32-bit FADT 
   1941 addresses when there is a conflict between the 32-bit and 64-bit versions 
   1942 of the same register. The default behavior is to use the 64-bit version 
   1943 in accordance with the ACPI specification. This can now be overridden via 
   1944 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
   1945 
   1946 During the change above, the internal "Convert FADT" and "Verify FADT" 
   1947 functions have been merged to simplify the code, making it easier to 
   1948 understand and maintain. ACPICA BZ 933.
   1949 
   1950 Improve exception reporting and handling for GPE block installation. 
   1951 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
   1952 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
   1953 
   1954 Added helper macros to extract bus/segment numbers from the HEST table. 
   1955 This change adds two macros to extract the encoded bus and segment 
   1956 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
   1957 Betty Dall <betty.dall (a] hp.com>
   1958 
   1959 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
   1960 by ACPICA. It is not a public macro, so it should have no effect on 
   1961 existing OSV code. Lv Zheng.
   1962 
   1963 Example Code and Data Size: These are the sizes for the OS-independent 
   1964 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1965 debug version of the code includes the debug output trace mechanism and 
   1966 has a much larger code and data size.
   1967 
   1968   Current Release:
   1969     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   1970     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   1971   Previous Release:
   1972     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   1973     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   1974 
   1975 
   1976 2) iASL Compiler/Disassembler and Tools:
   1977 
   1978 Disassembler: Improved pathname support for emitted External() 
   1979 statements. This change adds full pathname support for external names 
   1980 that have been resolved internally by the inclusion of additional ACPI 
   1981 tables (via the iASL -e option). Without this change, the disassembler 
   1982 can emit multiple externals for the same object, or it become confused 
   1983 when the Scope() operator is used on an external object. Overall, greatly 
   1984 improves the ability to actually recompile the emitted ASL code when 
   1985 objects a referenced across multiple ACPI tables. Reported by Michael 
   1986 Tsirkin (mst (a] redhat.com).
   1987 
   1988 Tests/ASLTS: Updated functional control suite to execute with no errors. 
   1989 David Box. Fixed several errors related to the testing of the interpreter 
   1990 slack mode. Lv Zheng.
   1991 
   1992 iASL: Added support to detect names that are declared within a control 
   1993 method, but are unused (these are temporary names that are only valid 
   1994 during the time the method is executing). A remark is issued for these 
   1995 cases. ACPICA BZ 1022.
   1996 
   1997 iASL: Added full support for the DBG2 table. Adds full disassembler, 
   1998 table compiler, and template generator support for the DBG2 table (Debug 
   1999 Port 2 table).
   2000 
   2001 iASL: Added full support for the PCCT table, update the table definition. 
   2002 Updates the PCCT table definition in the actbl3.h header and adds table 
   2003 compiler and template generator support.
   2004 
   2005 iASL: Added an option to emit only error messages (no warnings/remarks). 
   2006 The -ve option will enable only error messages, warnings and remarks are 
   2007 suppressed. This can simplify debugging when only the errors are 
   2008 important, such as when an ACPI table is disassembled and there are many 
   2009 warnings and remarks -- but only the actual errors are of real interest.
   2010 
   2011 Example ACPICA code (source/tools/examples): Updated the example code so 
   2012 that it builds to an actual working program, not just example code. Added 
   2013 ACPI tables and execution of an example control method in the DSDT. Added 
   2014 makefile support for Unix generation.
   2015 
   2016 
   2017 ----------------------------------------
   2018 15 November 2013. Summary of changes for version 20131115:
   2019 
   2020 This release is available at https://acpica.org/downloads
   2021 
   2022 
   2023 1) ACPICA kernel-resident subsystem:
   2024 
   2025 Resource Manager: Fixed loop termination for the "get AML length" 
   2026 function. The loop previously had an error termination on a NULL resource 
   2027 pointer, which can never happen since the loop simply increments a valid 
   2028 resource pointer. This fix changes the loop to terminate with an error on 
   2029 an invalid end-of-buffer condition. The problem can be seen as an 
   2030 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
   2031 corrupted resource descriptor, or a resource descriptor that is missing 
   2032 an END_TAG descriptor. Reported by Dan Carpenter 
   2033 <dan.carpenter (a] oracle.com>. Lv Zheng, Bob Moore.
   2034 
   2035 Table unload and ACPICA termination: Delete all attached data objects 
   2036 during namespace node deletion. This fix updates namespace node deletion 
   2037 to delete the entire list of attached objects (attached via 
   2038 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
   2039 1024. Tomasz Nowicki (tomasz.nowicki (a] linaro.org).
   2040 
   2041 ACPICA termination: Added support to delete all objects attached to the 
   2042 root namespace node. This fix deletes any and all objects that have been 
   2043 attached to the root node via AcpiAttachData. Previously, none of these 
   2044 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
   2045 
   2046 Debug output: Do not emit the function nesting level for the in-kernel 
   2047 build. The nesting level is really only useful during a single-thread 
   2048 execution. Therefore, only enable this output for the AcpiExec utility. 
   2049 Also, only emit the thread ID when executing under AcpiExec (Context 
   2050 switches are still always detected and a message is emitted). ACPICA BZ 
   2051 972.
   2052 
   2053 Example Code and Data Size: These are the sizes for the OS-independent 
   2054 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2055 debug version of the code includes the debug output trace mechanism and 
   2056 has a much larger code and data size.
   2057 
   2058   Current Release:
   2059     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   2060     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   2061   Previous Release:
   2062     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   2063     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   2064 
   2065 
   2066 2) iASL Compiler/Disassembler and Tools:
   2067 
   2068 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
   2069 correct portable POSIX header for terminal control functions.
   2070 
   2071 Disassembler: Fixed control method invocation issues related to the use 
   2072 of the CondRefOf() operator. The problem is seen in the disassembly where 
   2073 control method invocations may not be disassembled properly if the 
   2074 control method name has been used previously as an argument to CondRefOf. 
   2075 The solution is to not attempt to emit an external declaration for the 
   2076 CondRefOf target (it is not necessary in the first place). This prevents 
   2077 disassembler object type confusion. ACPICA BZ 988.
   2078 
   2079 Unix Makefiles: Added an option to disable compiler optimizations and the 
   2080 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
   2081 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
   2082 command line option for make (NOOPT) that disables all compiler 
   2083 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
   2084 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
   2085 1034. Lv Zheng, Bob Moore.
   2086 
   2087 Tests/ASLTS: Added options to specify individual test cases and modes. 
   2088 This allows testers running aslts.sh to optionally specify individual 
   2089 test modes and test cases. Also added an option to disable the forced 
   2090 generation of the ACPICA tools from source if desired. Lv Zheng.
   2091 
   2092 ----------------------------------------
   2093 27 September 2013. Summary of changes for version 20130927:
   2094 
   2095 This release is available at https://acpica.org/downloads
   2096 
   2097 
   2098 1) ACPICA kernel-resident subsystem:
   2099 
   2100 Fixed a problem with store operations to reference objects. This change 
   2101 fixes a problem where a Store operation to an ArgX object that contained 
   2102 a 
   2103 reference to a field object did not complete the automatic dereference 
   2104 and 
   2105 then write to the actual field object. Instead, the object type of the 
   2106 field object was inadvertently changed to match the type of the source 
   2107 operand. The new behavior will actually write to the field object (buffer 
   2108 field or field unit), thus matching the correct ACPI-defined behavior.
   2109 
   2110 Implemented support to allow the host to redefine individual OSL 
   2111 prototypes. This change enables the host to redefine OSL prototypes found 
   2112 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
   2113 with a macro or inlined function. Further, it allows the host to add any 
   2114 additional required modifiers such as __iomem, __init, __exit, etc., as 
   2115 necessary on a per-interface basis. Enables maximum flexibility for the 
   2116 OSL interfaces. Lv Zheng.
   2117 
   2118 Hardcoded the access width for the FADT-defined reset register. The ACPI 
   2119 specification requires the reset register width to be 8 bits. ACPICA now 
   2120 hardcodes the width to 8 and ignores the FADT width value. This provides 
   2121 compatibility with other ACPI implementations that have allowed BIOS code 
   2122 with bad register width values to go unnoticed. Matthew Garett, Bob 
   2123 Moore, 
   2124 Lv Zheng.
   2125 
   2126 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
   2127 used 
   2128 in the OSL header (acpiosxf). The change modifies the position of this 
   2129 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
   2130 build issues if the OSL defines the implementation of the interface to be 
   2131 an inline stub function. Lv Zheng.
   2132 
   2133 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
   2134 initialization interfaces. This change adds a new macro for the main init 
   2135 and terminate external interfaces in order to support hosts that require 
   2136 additional or different processing for these functions. Changed from 
   2137 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
   2138 Zheng, Bob Moore.
   2139 
   2140 Cleaned up the memory allocation macros for configurability. In the 
   2141 common 
   2142 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
   2143 respective AcpiOs* OSL interfaces. Two options:
   2144 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
   2145 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
   2146 2) For AcpiExec (and for debugging), the macros can optionally be 
   2147 resolved 
   2148 to the local ACPICA interfaces that track each allocation (local tracking 
   2149 is used to immediately detect memory leaks).
   2150 Lv Zheng.
   2151 
   2152 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
   2153 to predefine this macro to either TRUE or FALSE during the system build.
   2154 
   2155 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
   2156 
   2157 Example Code and Data Size: These are the sizes for the OS-independent 
   2158 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2159 debug version of the code includes the debug output trace mechanism and 
   2160 has a much larger code and data size.
   2161 
   2162   Current Release:
   2163     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   2164     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   2165   Previous Release:
   2166     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   2167     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   2168 
   2169 
   2170 2) iASL Compiler/Disassembler and Tools:
   2171 
   2172 iASL: Implemented wildcard support for the -e option. This simplifies use 
   2173 when there are many SSDTs that must be included to resolve external 
   2174 method 
   2175 declarations. ACPICA BZ 1041. Example:
   2176     iasl -e ssdt*.dat -d dsdt.dat
   2177 
   2178 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
   2179 adds a portable module that implements full history and limited line 
   2180 editing for Unix and Linux systems. It does not use readline() due to 
   2181 portability issues. Instead it uses the POSIX termio interface to put the 
   2182 terminal in raw input mode so that the various special keys can be 
   2183 trapped 
   2184 (such as up/down-arrow for history support and left/right-arrow for line 
   2185 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
   2186 
   2187 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
   2188 one or more spaces. This provides compatible with early or different 
   2189 versions of the AcpiDump utility. ACPICA BZ 1044.
   2190 
   2191 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
   2192 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
   2193 no other data. This change adds support to dump these tables. Any tables 
   2194 shorter than the length of an ACPI table header remain in error (an error 
   2195 message is emitted). Reported by Yi Li.
   2196 
   2197 Debugger: Echo actual command along with the "unknown command" message.
   2198 
   2199 ----------------------------------------
   2200 23 August 2013. Summary of changes for version 20130823:
   2201 
   2202 1) ACPICA kernel-resident subsystem:
   2203 
   2204 Implemented support for host-installed System Control Interrupt (SCI) 
   2205 handlers. Certain ACPI functionality requires the host to handle raw 
   2206 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
   2207 state support requires the host device driver to handle SCIs to examine 
   2208 if the doorbell has been activated. Multiple SCI handlers can be 
   2209 installed to allow for future expansion. New external interfaces are 
   2210 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
   2211 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
   2212 
   2213 Operation region support: Never locally free the handler "context" 
   2214 pointer. This change removes some dangerous code that attempts to free 
   2215 the handler context pointer in some (rare) circumstances. The owner of 
   2216 the handler owns this pointer and the ACPICA code should never touch it. 
   2217 Although not seen to be an issue in any kernel, it did show up as a 
   2218 problem (fault) under AcpiExec. Also, set the internal storage field for 
   2219 the context pointer to zero when the region is deactivated, simply for 
   2220 sanity. David Box. ACPICA BZ 1039.
   2221 
   2222 AcpiRead: On error, do not modify the return value target location. If an 
   2223 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
   2224 modify the target of the return value pointer. Makes the code consistent 
   2225 with the rest of ACPICA. Bjorn Helgaas.
   2226 
   2227 Example Code and Data Size: These are the sizes for the OS-independent 
   2228 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2229 debug version of the code includes the debug output trace mechanism and 
   2230 has a much larger code and data size.
   2231 
   2232   Current Release:
   2233     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   2234     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   2235   Previous Release:
   2236     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   2237     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
   2238 
   2239 
   2240 2) iASL Compiler/Disassembler and Tools:
   2241 
   2242 AcpiDump: Implemented several new features and fixed some problems:
   2243 1) Added support to dump the RSDP, RSDT, and XSDT tables.
   2244 2) Added support for multiple table instances (SSDT, UEFI).
   2245 3) Added option to dump "customized" (overridden) tables (-c).
   2246 4) Fixed a problem where some table filenames were improperly 
   2247 constructed.
   2248 5) Improved some error messages, removed some unnecessary messages.
   2249 
   2250 iASL: Implemented additional support for disassembly of ACPI tables that 
   2251 contain invocations of external control methods. The -fe<file> option 
   2252 allows the import of a file that specifies the external methods along 
   2253 with the required number of arguments for each -- allowing for the 
   2254 correct disassembly of the table. This is a workaround for a limitation 
   2255 of AML code where the disassembler often cannot determine the number of 
   2256 arguments required for an external control method and generates incorrect 
   2257 ASL code. See the iASL reference for details. ACPICA BZ 1030.
   2258 
   2259 Debugger: Implemented a new command (paths) that displays the full 
   2260 pathnames (namepaths) and object types of all objects in the namespace. 
   2261 This is an alternative to the namespace command.
   2262 
   2263 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
   2264 mechanism and any installed handlers.
   2265 
   2266 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
   2267 This can occur if there are too many parent prefixes in a namepath (for 
   2268 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
   2269 
   2270 Application OSLs: Set the return value for the PCI read functions. These 
   2271 functions simply return AE_OK, but should set the return value to zero 
   2272 also. This change implements this. ACPICA BZ 1038.
   2273 
   2274 Debugger: Prevent possible command line buffer overflow. Increase the 
   2275 size of a couple of the debugger line buffers, and ensure that overflow 
   2276 cannot happen. ACPICA BZ 1037.
   2277 
   2278 iASL: Changed to abort immediately on serious errors during the parsing 
   2279 phase. Due to the nature of ASL, there is no point in attempting to 
   2280 compile these types of errors, and they typically end up causing a 
   2281 cascade of hundreds of errors which obscure the original problem.
   2282 
   2283 ----------------------------------------
   2284 25 July 2013. Summary of changes for version 20130725:
   2285 
   2286 1) ACPICA kernel-resident subsystem:
   2287 
   2288 Fixed a problem with the DerefOf operator where references to FieldUnits 
   2289 and BufferFields incorrectly returned the parent object, not the actual 
   2290 value of the object. After this change, a dereference of a FieldUnit 
   2291 reference results in a read operation on the field to get the value, and 
   2292 likewise, the appropriate BufferField value is extracted from the target 
   2293 buffer.
   2294 
   2295 Fixed a problem where the _WAK method could cause a fault under these 
   2296 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
   2297 method returned no value. The problem is rarely seen because most kernels 
   2298 run ACPICA in slack mode.
   2299 
   2300 For the DerefOf operator, a fatal error now results if an attempt is made 
   2301 to dereference a reference (created by the Index operator) to a NULL 
   2302 package element. Provides compatibility with other ACPI implementations, 
   2303 and this behavior will be added to a future version of the ACPI 
   2304 specification.
   2305 
   2306 The ACPI Power Management Timer (defined in the FADT) is now optional. 
   2307 This provides compatibility with other ACPI implementations and will 
   2308 appear in the next version of the ACPI specification. If there is no PM 
   2309 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
   2310 zero in the FADT indicates no PM timer.
   2311 
   2312 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
   2313 allows the host to globally enable/disable all vendor strings, all 
   2314 feature strings, or both. Intended to be primarily used for debugging 
   2315 purposes only. Lv Zheng.
   2316 
   2317 Expose the collected _OSI data to the host via a global variable. This 
   2318 data tracks the highest level vendor ID that has been invoked by the BIOS 
   2319 so that the host (and potentially ACPICA itself) can change behaviors 
   2320 based upon the age of the BIOS.
   2321 
   2322 Example Code and Data Size: These are the sizes for the OS-independent 
   2323 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2324 debug version of the code includes the debug output trace mechanism and 
   2325 has a much larger code and data size.
   2326 
   2327   Current Release:
   2328     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   2329     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   2330   Previous Release:
   2331     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   2332     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   2333 
   2334 
   2335 2) iASL Compiler/Disassembler and Tools:
   2336 
   2337 iASL: Created the following enhancements for the -so option (create 
   2338 offset table):
   2339 1)Add offsets for the last nameseg in each namepath for every supported 
   2340 object type
   2341 2)Add support for Processor, Device, Thermal Zone, and Scope objects
   2342 3)Add the actual AML opcode for the parent object of every supported 
   2343 object type
   2344 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
   2345 
   2346 Disassembler: Emit all unresolved external symbols in a single block. 
   2347 These are external references to control methods that could not be 
   2348 resolved, and thus, the disassembler had to make a guess at the number of 
   2349 arguments to parse.
   2350 
   2351 iASL: The argument to the -T option (create table template) is now 
   2352 optional. If not specified, the default table is a DSDT, typically the 
   2353 most common case.
   2354 
   2355 ----------------------------------------
   2356 26 June 2013. Summary of changes for version 20130626:
   2357 
   2358 1) ACPICA kernel-resident subsystem:
   2359 
   2360 Fixed an issue with runtime repair of the _CST object. Null or invalid 
   2361 elements were not always removed properly. Lv Zheng. 
   2362 
   2363 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
   2364 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
   2365 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
   2366 makes the system-wide number of GPEs essentially unlimited.
   2367 
   2368 Example Code and Data Size: These are the sizes for the OS-independent 
   2369 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2370 debug version of the code includes the debug output trace mechanism and 
   2371 has a much larger code and data size.
   2372 
   2373   Current Release:
   2374     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   2375     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   2376   Previous Release:
   2377     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   2378     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   2379 
   2380 
   2381 2) iASL Compiler/Disassembler and Tools:
   2382 
   2383 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
   2384 hosts. Now supports Linux, FreeBSD, and Windows.
   2385 
   2386 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
   2387 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
   2388 
   2389 iASL/Preprocessor: Implemented full support for nested 
   2390 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
   2391 
   2392 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
   2393 max. The original purpose of this constraint was to limit the amount of 
   2394 debug output. However, the string function in question (UtPrintString) is 
   2395 now used for the disassembler also, where 256 bytes is insufficient. 
   2396 Reported by RehabMan@GitHub.
   2397 
   2398 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
   2399 tables. ACPICA BZ 999. Lv Zheng.
   2400 
   2401 iASL: Fixed a couple of error exit issues that could result in a "Could 
   2402 not delete <file>" message during ASL compilation.
   2403 
   2404 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
   2405 the actual signatures for these tables are "FACP" and "APIC", 
   2406 respectively.
   2407 
   2408 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
   2409 tables are allowed to have multiple instances.
   2410 
   2411 ----------------------------------------
   2412 17 May 2013. Summary of changes for version 20130517:
   2413 
   2414 1) ACPICA kernel-resident subsystem:
   2415 
   2416 Fixed a regression introduced in version 20130328 for _INI methods. This 
   2417 change fixes a problem introduced in 20130328 where _INI methods are no 
   2418 longer executed properly because of a memory block that was not 
   2419 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
   2420 <tomasz.nowicki (a] linaro.org>.
   2421 
   2422 Fixed a possible problem with the new extended sleep registers in the 
   2423 ACPI 
   2424 5.0 FADT. Do not use these registers (even if populated) unless the HW-
   2425 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
   2426 1020. Lv Zheng.
   2427 
   2428 Implemented return value repair code for _CST predefined objects: Sort 
   2429 the 
   2430 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
   2431 
   2432 Implemented a debug-only option to disable loading of SSDTs from the 
   2433 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
   2434 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
   2435 acglobal.h - ACPICA BZ 1005. Lv Zheng.
   2436 
   2437 Fixed some issues in the ACPICA initialization and termination code: 
   2438 Tomasz Nowicki <tomasz.nowicki (a] linaro.org>
   2439 1) Clear events initialized flag upon event component termination. ACPICA 
   2440 BZ 1013.
   2441 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
   2442 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
   2443 4) Clear debug buffer global on termination to prevent possible multiple 
   2444 delete. ACPICA BZ 1010.
   2445 
   2446 Standardized all switch() blocks across the entire source base. After 
   2447 many 
   2448 years, different formatting for switch() had crept in. This change makes 
   2449 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
   2450 
   2451 Split some files to enhance ACPICA modularity and configurability:
   2452 1) Split buffer dump routines into utilities/utbuffer.c
   2453 2) Split internal error message routines into utilities/uterror.c
   2454 3) Split table print utilities into tables/tbprint.c
   2455 4) Split iASL command-line option processing into asloptions.c
   2456 
   2457 Makefile enhancements:
   2458 1) Support for all new files above.
   2459 2) Abort make on errors from any subcomponent. Chao Guan.
   2460 3) Add build support for Apple Mac OS X. Liang Qi.
   2461 
   2462 Example Code and Data Size: These are the sizes for the OS-independent 
   2463 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2464 debug version of the code includes the debug output trace mechanism and 
   2465 has a much larger code and data size.
   2466 
   2467   Current Release:
   2468     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   2469     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   2470   Previous Release:
   2471     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   2472     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   2473 
   2474 
   2475 2) iASL Compiler/Disassembler and Tools:
   2476 
   2477 New utility: Implemented an easily portable version of the acpidump 
   2478 utility to extract ACPI tables from the system (or a file) in an ASCII 
   2479 hex 
   2480 dump format. The top-level code implements the various command line 
   2481 options, file I/O, and table dump routines. To port to a new host, only 
   2482 three functions need to be implemented to get tables -- since this 
   2483 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
   2484 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
   2485 1) The Windows version obtains the ACPI tables from the Registry.
   2486 2) The Linux version is under development.
   2487 3) Other hosts - If an OS-dependent module is submitted, it will be 
   2488 distributed with ACPICA.
   2489 
   2490 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
   2491 restructuring/change to the initialization sequence caused this option to 
   2492 no longer work properly.
   2493 
   2494 iASL: Implemented a mechanism to disable specific warnings and remarks. 
   2495 Adds a new command line option, "-vw <messageid> as well as "#pragma 
   2496 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
   2497 
   2498 iASL: Fix for too-strict package object validation. The package object 
   2499 validation for return values from the predefined names is a bit too 
   2500 strict, it does not allow names references within the package (which will 
   2501 be resolved at runtime.) These types of references cannot be validated at 
   2502 compile time. This change ignores named references within package objects 
   2503 for names that return or define static packages.
   2504 
   2505 Debugger: Fixed the 80-character command line limitation for the History 
   2506 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
   2507 
   2508 iASL: Added control method and package support for the -so option 
   2509 (generates AML offset table for BIOS support.)
   2510 
   2511 iASL: issue a remark if a non-serialized method creates named objects. If 
   2512 a thread blocks within the method for any reason, and another thread 
   2513 enters the method, the method will fail because an attempt will be made 
   2514 to 
   2515 create the same (named) object twice. In this case, issue a remark that 
   2516 the method should be marked serialized. NOTE: may become a warning later. 
   2517 ACPICA BZ 909.
   2518 
   2519 ----------------------------------------
   2520 18 April 2013. Summary of changes for version 20130418:
   2521 
   2522 1) ACPICA kernel-resident subsystem:
   2523 
   2524 Fixed a possible buffer overrun during some rare but specific field unit 
   2525 read operations. This overrun can only happen if the DSDT version is 1 -- 
   2526 meaning that all AML integers are 32 bits -- and the field length is 
   2527 between 33 and 55 bits long. During the read, an internal buffer object 
   2528 is 
   2529 created for the field unit because the field is larger than an integer 
   2530 (32 
   2531 bits). However, in this case, the buffer will be incorrectly written 
   2532 beyond the end because the buffer length is less than the internal 
   2533 minimum 
   2534 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
   2535 long, but a full 8 bytes will be written.
   2536 
   2537 Updated the Embedded Controller "orphan" _REG method support. This refers 
   2538 to _REG methods under the EC device that have no corresponding operation 
   2539 region. This is allowed by the ACPI specification. This update removes a 
   2540 dependency on the existence an ECDT table. It will execute an orphan _REG 
   2541 method as long as the operation region handler for the EC is installed at 
   2542 the EC device node and not the namespace root. Rui Zhang (original 
   2543 update), Bob Moore (update/integrate).
   2544 
   2545 Implemented run-time argument typechecking for all predefined ACPI names 
   2546 (_STA, _BIF, etc.) This change performs object typechecking on all 
   2547 incoming arguments for all predefined names executed via 
   2548 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
   2549 passing correct object types as well as the correct number of arguments 
   2550 (therefore identifying any issues immediately). Also, the ASL/namespace 
   2551 definition of the predefined name is checked against the ACPI 
   2552 specification for the proper argument count. Adds one new file, 
   2553 nsarguments.c
   2554 
   2555 Changed an exception code for the ASL UnLoad() operator. Changed the 
   2556 exception code for the case where the input DdbHandle is invalid, from 
   2557 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
   2558 
   2559 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
   2560 global makefile. The use of this flag causes compiler errors on earlier 
   2561 versions of GCC, so it has been removed for compatibility.
   2562 
   2563 Miscellaneous cleanup:
   2564 1) Removed some unused/obsolete macros
   2565 2) Fixed a possible memory leak in the _OSI support
   2566 3) Removed an unused variable in the predefined name support
   2567 4) Windows OSL: remove obsolete reference to a memory list field
   2568 
   2569 Example Code and Data Size: These are the sizes for the OS-independent 
   2570 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2571 debug version of the code includes the debug output trace mechanism and 
   2572 has a much larger code and data size.
   2573 
   2574   Current Release:
   2575     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   2576     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   2577   Previous Release:
   2578     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   2579     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   2580 
   2581 
   2582 2) iASL Compiler/Disassembler and Tools:
   2583 
   2584 AcpiExec: Added installation of a handler for the SystemCMOS address 
   2585 space. This prevents control method abort if a method accesses this 
   2586 space.
   2587 
   2588 AcpiExec: Added support for multiple EC devices, and now install EC 
   2589 operation region handler(s) at the actual EC device instead of the 
   2590 namespace root. This reflects the typical behavior of host operating 
   2591 systems.
   2592 
   2593 AcpiExec: Updated to ensure that all operation region handlers are 
   2594 installed before the _REG methods are executed. This prevents a _REG 
   2595 method from aborting if it accesses an address space has no handler. 
   2596 AcpiExec installs a handler for every possible address space.
   2597 
   2598 Debugger: Enhanced the "handlers" command to display non-root handlers. 
   2599 This change enhances the handlers command to display handlers associated 
   2600 with individual devices throughout the namespace, in addition to the 
   2601 currently supported display of handlers associated with the root 
   2602 namespace 
   2603 node.
   2604 
   2605 ASL Test Suite: Several test suite errors have been identified and 
   2606 resolved, reducing the total error count during execution. Chao Guan.
   2607 
   2608 ----------------------------------------
   2609 28 March 2013. Summary of changes for version 20130328:
   2610 
   2611 1) ACPICA kernel-resident subsystem:
   2612 
   2613 Fixed several possible race conditions with the internal object reference 
   2614 counting mechanism. Some of the external ACPICA interfaces update object 
   2615 reference counts without holding the interpreter or namespace lock. This 
   2616 change adds a spinlock to protect reference count updates on the internal 
   2617 ACPICA objects. Reported by and with assistance from Andriy Gapon 
   2618 (avg (a] FreeBSD.org).
   2619 
   2620 FADT support: Removed an extraneous warning for very large GPE register 
   2621 sets. This change removes a size mismatch warning if the legacy length 
   2622 field for a GPE register set is larger than the 64-bit GAS structure can 
   2623 accommodate. GPE register sets can be larger than the 255-bit width 
   2624 limitation of the GAS structure. Linn Crosetto (linn (a] hp.com).
   2625 
   2626 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
   2627 return from this interface. Handles a possible timeout case if 
   2628 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
   2629 "forever". Jung-uk Kim.
   2630 
   2631 Predefined name support: Add allowed/required argument type information 
   2632 to 
   2633 the master predefined info table. This change adds the infrastructure to 
   2634 enable typechecking on incoming arguments for all predefined 
   2635 methods/objects. It does not actually contain the code that will fully 
   2636 utilize this information, this is still under development. Also condenses 
   2637 some duplicate code for the predefined names into a new module, 
   2638 utilities/utpredef.c
   2639 
   2640 Example Code and Data Size: These are the sizes for the OS-independent 
   2641 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2642 debug version of the code includes the debug output trace mechanism and 
   2643 has a much larger code and data size.
   2644 
   2645   Previous Release:
   2646     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   2647     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   2648   Current Release:
   2649     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   2650     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   2651 
   2652 
   2653 2) iASL Compiler/Disassembler and Tools:
   2654 
   2655 iASL: Implemented a new option to simplify the development of ACPI-
   2656 related 
   2657 BIOS code. Adds support for a new "offset table" output file. The -so 
   2658 option will create a C table containing the AML table offsets of various 
   2659 named objects in the namespace so that BIOS code can modify them easily 
   2660 at 
   2661 boot time. This can simplify BIOS runtime code by eliminating expensive 
   2662 searches for "magic values", enhancing boot times and adding greater 
   2663 reliability. With assistance from Lee Hamel.
   2664 
   2665 iASL: Allow additional predefined names to return zero-length packages. 
   2666 Now, all predefined names that are defined by the ACPI specification to 
   2667 return a "variable-length package of packages" are allowed to return a 
   2668 zero length top-level package. This allows the BIOS to tell the host that 
   2669 the requested feature is not supported, and supports existing BIOS/ASL 
   2670 code and practices.
   2671 
   2672 iASL: Changed the "result not used" warning to an error. This is the case 
   2673 where an ASL operator is effectively a NOOP because the result of the 
   2674 operation is not stored anywhere. For example:
   2675     Add (4, Local0)
   2676 There is no target (missing 3rd argument), nor is the function return 
   2677 value used. This is potentially a very serious problem -- since the code 
   2678 was probably intended to do something, but for whatever reason, the value 
   2679 was not stored. Therefore, this issue has been upgraded from a warning to 
   2680 an error.
   2681 
   2682 AcpiHelp: Added allowable/required argument types to the predefined names 
   2683 info display. This feature utilizes the recent update to the predefined 
   2684 names table (above).
   2685 
   2686 ----------------------------------------
   2687 14 February 2013. Summary of changes for version 20130214:
   2688 
   2689 1) ACPICA Kernel-resident Subsystem:
   2690 
   2691 Fixed a possible regression on some hosts: Reinstated the safe return 
   2692 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
   2693 evaluated only once. Although these macros are not needed for the ACPICA 
   2694 code itself, they are often used by ACPI-related host device drivers 
   2695 where 
   2696 the safe feature may be necessary.
   2697 
   2698 Fixed several issues related to the ACPI 5.0 reduced hardware support 
   2699 (SOC): Now ensure that if the platform declares itself as hardware-
   2700 reduced 
   2701 via the FADT, the following functions become NOOPs (and always return 
   2702 AE_OK) because ACPI is always enabled by definition on these machines:
   2703   AcpiEnable
   2704   AcpiDisable
   2705   AcpiHwGetMode
   2706   AcpiHwSetMode
   2707 
   2708 Dynamic Object Repair: Implemented additional runtime repairs for 
   2709 predefined name return values. Both of these repairs can simplify code in 
   2710 the related device drivers that invoke these methods:
   2711 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
   2712 string to a Unicode buffer. 
   2713 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
   2714 a 
   2715 lone end tag descriptor in the following cases: A Return(0) was executed, 
   2716 a null buffer was returned, or no object at all was returned (non-slack 
   2717 mode only). Adds a new file, nsconvert.c
   2718 ACPICA BZ 998. Bob Moore, Lv Zheng.
   2719 
   2720 Resource Manager: Added additional code to prevent possible infinite 
   2721 loops 
   2722 while traversing corrupted or ill-formed resource template buffers. Check 
   2723 for zero-length resource descriptors in all code that loops through 
   2724 resource templates (the length field is used to index through the 
   2725 template). This change also hardens the external AcpiWalkResources and 
   2726 AcpiWalkResourceBuffer interfaces.
   2727 
   2728 Local Cache Manager: Enhanced the main data structure to eliminate an 
   2729 unnecessary mechanism to access the next object in the list. Actually 
   2730 provides a small performance enhancement for hosts that use the local 
   2731 ACPICA cache manager. Jung-uk Kim.
   2732 
   2733 Example Code and Data Size: These are the sizes for the OS-independent 
   2734 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2735 debug version of the code includes the debug output trace mechanism and 
   2736 has a much larger code and data size.
   2737 
   2738   Previous Release:
   2739     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   2740     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   2741   Current Release:
   2742     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   2743     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   2744 
   2745 
   2746 2) iASL Compiler/Disassembler and Tools:
   2747 
   2748 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
   2749 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
   2750 that were made to the ACPI 5.0 specification.
   2751 
   2752 iASL/Disassembler: Added full support for the following new ACPI tables:
   2753   1) The MTMR table (MID Timer Table)
   2754   2) The VRTC table (Virtual Real Time Clock Table).
   2755 Includes header file, disassembler, table compiler, and template support 
   2756 for both tables.
   2757 
   2758 iASL: Implemented compile-time validation of package objects returned by 
   2759 predefined names. This new feature validates static package objects 
   2760 returned by the various predefined names defined to return packages. Both 
   2761 object types and package lengths are validated, for both parent packages 
   2762 and sub-packages, if any. The code is similar in structure and behavior 
   2763 to 
   2764 the runtime repair mechanism within the AML interpreter and uses the 
   2765 existing predefined name information table. Adds a new file, aslprepkg.c. 
   2766 ACPICA BZ 938.
   2767 
   2768 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
   2769 This feature detects a binary file with a valid ACPI table header and 
   2770 invokes the disassembler automatically. Eliminates the need to 
   2771 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
   2772 
   2773 iASL/Disassembler: Added several warnings for the case where there are 
   2774 unresolved control methods during the disassembly. This can potentially 
   2775 cause errors when the output file is compiled, because the disassembler 
   2776 assumes zero method arguments in these cases (it cannot determine the 
   2777 actual number of arguments without resolution/definition of the method).
   2778 
   2779 Debugger: Added support to display all resources with a single command. 
   2780 Invocation of the resources command with no arguments will now display 
   2781 all 
   2782 resources within the current namespace.
   2783 
   2784 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
   2785 via the -e option.
   2786 
   2787 ----------------------------------------
   2788 17 January 2013. Summary of changes for version 20130117:
   2789 
   2790 1) ACPICA Kernel-resident Subsystem:
   2791 
   2792 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
   2793 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
   2794 objects to return a package containing one integer, most BIOS code 
   2795 returns 
   2796 two integers and the previous code reflects that. However, we also need 
   2797 to 
   2798 support BIOS code that actually implements to the ACPI spec, and this 
   2799 change reflects this.
   2800 
   2801 Fixed two issues with the ACPI_DEBUG_PRINT macros:
   2802 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
   2803 C compilers that require this support.
   2804 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
   2805 ACPI_DEBUG is already used by many of the various hosts.
   2806 
   2807 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
   2808 copyright to all module headers and signons, including the standard Linux 
   2809 header. This affects virtually every file in the ACPICA core subsystem, 
   2810 iASL compiler, all ACPICA utilities, and the test suites.
   2811 
   2812 Example Code and Data Size: These are the sizes for the OS-independent 
   2813 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2814 debug version of the code includes the debug output trace mechanism and 
   2815 has a much larger code and data size.
   2816 
   2817   Previous Release:
   2818     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   2819     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   2820   Current Release:
   2821     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   2822     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   2823 
   2824 
   2825 2) iASL Compiler/Disassembler and Tools:
   2826 
   2827 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
   2828 prevent a possible fault on some hosts. Some C libraries modify the arg 
   2829 pointer parameter to vfprintf making it difficult to call it twice in the 
   2830 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
   2831 does not affect the Windows OSL since the Win C library does not modify 
   2832 the arg pointer. Chao Guan, Bob Moore.
   2833 
   2834 iASL: Fixed a possible infinite loop when the maximum error count is 
   2835 reached. If an output file other than the .AML file is specified (such as 
   2836 a listing file), and the maximum number of errors is reached, do not 
   2837 attempt to flush data to the output file(s) as the compiler is aborting. 
   2838 This can cause an infinite loop as the max error count code essentially 
   2839 keeps calling itself.
   2840 
   2841 iASL/Disassembler: Added an option (-in) to ignore NOOP 
   2842 opcodes/operators. 
   2843 Implemented for both the compiler and the disassembler. Often, the NOOP 
   2844 opcode is used as padding for packages that are changed dynamically by 
   2845 the 
   2846 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
   2847 errors. This option causes the disassembler to ignore all NOOP opcodes 
   2848 (0xA3), and it also causes the compiler to ignore all ASL source code 
   2849 NOOP 
   2850 statements as well.
   2851 
   2852 Debugger: Enhanced the Sleep command to execute all sleep states. This 
   2853 change allows Sleep to be invoked with no arguments and causes the 
   2854 debugger to execute all of the sleep states, 0-5, automatically.
   2855 
   2856 ----------------------------------------
   2857 20 December 2012. Summary of changes for version 20121220:
   2858 
   2859 1) ACPICA Kernel-resident Subsystem:
   2860 
   2861 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
   2862 alternate entry point for AcpiWalkResources and improves the usability of 
   2863 the resource manager by accepting as input a buffer containing the output 
   2864 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
   2865 input buffer is not deleted by this interface so that it can be used by 
   2866 the host later. See the ACPICA reference for details.
   2867 
   2868 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
   2869 (DSDT version < 2). The constant will be truncated and this warning 
   2870 reflects that behavior.
   2871 
   2872 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
   2873 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
   2874 both get and set the new wake bit in these descriptors, separately from 
   2875 the existing share bit. Reported by Aaron Lu.
   2876 
   2877 Interpreter: Fix Store() when an implicit conversion is not possible. For 
   2878 example, in the cases such as a store of a string to an existing package 
   2879 object, implement the store as a CopyObject(). This is a small departure 
   2880 from the ACPI specification which states that the control method should 
   2881 be 
   2882 aborted in this case. However, the ASLTS suite depends on this behavior.
   2883 
   2884 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
   2885 macros: check if debug output is currently enabled as soon as possible to 
   2886 minimize performance impact if debug is in fact not enabled.
   2887 
   2888 Source code restructuring: Cleanup to improve modularity. The following 
   2889 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
   2890 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
   2891 Associated makefiles and project files have been updated.
   2892 
   2893 Changed an exception code for LoadTable operator. For the case where one 
   2894 of the input strings is too long, change the returned exception code from 
   2895 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
   2896 
   2897 Fixed a possible memory leak in dispatcher error path. On error, delete 
   2898 the mutex object created during method mutex creation. Reported by 
   2899 tim.gardner (a] canonical.com.
   2900 
   2901 Example Code and Data Size: These are the sizes for the OS-independent 
   2902 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2903 debug version of the code includes the debug output trace mechanism and 
   2904 has a much larger code and data size.
   2905 
   2906   Previous Release:
   2907     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   2908     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   2909   Current Release:
   2910     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   2911     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   2912 
   2913 
   2914 2) iASL Compiler/Disassembler and Tools:
   2915 
   2916 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
   2917 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
   2918 will not allow the interpreter to differentiate between a method and a 
   2919 method invocation when these are used as an argument to the ObjectType 
   2920 operator. The ACPI specification change is to disallow a method 
   2921 invocation 
   2922 (UserTerm) for the ObjectType operator.
   2923 
   2924 Finish support for the TPM2 and CSRT tables in the headers, table 
   2925 compiler, and disassembler.
   2926 
   2927 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
   2928 always expires immediately if the semaphore is not available. The 
   2929 original 
   2930 code was using a relative-time timeout, but sem_timedwait requires the 
   2931 use 
   2932 of an absolute time.
   2933 
   2934 iASL: Added a remark if the Timer() operator is used within a 32-bit 
   2935 table. This operator returns a 64-bit time value that will be truncated 
   2936 within a 32-bit table.
   2937 
   2938 iASL Source code restructuring: Cleanup to improve modularity. The 
   2939 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
   2940 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
   2941 been updated.
   2942 
   2943 
   2944 ----------------------------------------
   2945 14 November 2012. Summary of changes for version 20121114:
   2946 
   2947 1) ACPICA Kernel-resident Subsystem:
   2948 
   2949 Implemented a performance enhancement for ACPI/AML Package objects. This 
   2950 change greatly increases the performance of Package objects within the 
   2951 interpreter. It changes the processing of reference counts for packages 
   2952 by 
   2953 optimizing for the most common case where the package sub-objects are 
   2954 either Integers, Strings, or Buffers. Increases the overall performance 
   2955 of 
   2956 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
   2957 2X.) 
   2958 Chao Guan. ACPICA BZ 943.
   2959 
   2960 Implemented and deployed common macros to extract flag bits from resource 
   2961 descriptors. Improves readability and maintainability of the code. Fixes 
   2962 a 
   2963 problem with the UART serial bus descriptor for the number of data bits 
   2964 flags (was incorrectly 2 bits, should be 3).
   2965 
   2966 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
   2967 of the macros and changed the SETx macros to the style of (destination, 
   2968 source). Also added ACPI_CASTx companion macros. Lv Zheng.
   2969 
   2970 Example Code and Data Size: These are the sizes for the OS-independent 
   2971 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2972 debug version of the code includes the debug output trace mechanism and 
   2973 has a much larger code and data size.
   2974 
   2975   Previous Release:
   2976     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   2977     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   2978   Current Release:
   2979     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   2980     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   2981 
   2982 
   2983 2) iASL Compiler/Disassembler and Tools:
   2984 
   2985 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
   2986 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
   2987 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
   2988 
   2989 Disassembler: Fixed a problem with external declaration generation. Fixes 
   2990 a problem where an incorrect pathname could be generated for an external 
   2991 declaration if the original reference to the object includes leading 
   2992 carats (^). ACPICA BZ 984.
   2993 
   2994 Debugger: Completed a major update for the Disassemble<method> command. 
   2995 This command was out-of-date and did not properly disassemble control 
   2996 methods that had any reasonable complexity. This fix brings the command 
   2997 up 
   2998 to the same level as the rest of the disassembler. Adds one new file, 
   2999 dmdeferred.c, which is existing code that is now common with the main 
   3000 disassembler and the debugger disassemble command. ACPICA MZ 978.
   3001 
   3002 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
   3003 Newer versions of Bison emit this prototype, so moved the prototype out 
   3004 of 
   3005 the iASL header to where it is actually used in order to avoid a 
   3006 duplicate 
   3007 declaration.
   3008 
   3009 iASL/Tools: Standardized use of the stream I/O functions:
   3010   1) Ensure check for I/O error after every fopen/fread/fwrite
   3011   2) Ensure proper order of size/count arguments for fread/fwrite
   3012   3) Use test of (Actual != Requested) after all fwrite, and most fread
   3013   4) Standardize I/O error messages
   3014 Improves reliability and maintainability of the code. Bob Moore, Lv 
   3015 Zheng. 
   3016 ACPICA BZ 981.
   3017 
   3018 Disassembler: Prevent duplicate External() statements. During generation 
   3019 of external statements, detect similar pathnames that are actually 
   3020 duplicates such as these:
   3021   External (\ABCD)
   3022   External (ABCD)
   3023 Remove all leading '\' characters from pathnames during the external 
   3024 statement generation so that duplicates will be detected and tossed. 
   3025 ACPICA BZ 985.
   3026 
   3027 Tools: Replace low-level I/O with stream I/O functions. Replace 
   3028 open/read/write/close with the stream I/O equivalents 
   3029 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
   3030 Moore.
   3031 
   3032 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
   3033 name header so that AcpiXtract recognizes the output file/table.
   3034 
   3035 iASL: Remove obsolete -2 option flag. Originally intended to force the 
   3036 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
   3037 and the entire concept is now obsolete.
   3038 
   3039 ----------------------------------------
   3040 18 October 2012. Summary of changes for version 20121018:
   3041 
   3042 
   3043 1) ACPICA Kernel-resident Subsystem:
   3044 
   3045 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
   3046 introduced by late changes to the table as it was added to the ACPI 5.0 
   3047 specification. Includes header, disassembler, and data table compiler 
   3048 support as well as a new version of the MPST template.
   3049 
   3050 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
   3051 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
   3052 methods: _HID, _CID, and _UID.
   3053 
   3054 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
   3055 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
   3056 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
   3057 names for their various drivers. Affects the AcpiGetObjectInfo external 
   3058 interface, and other internal interfaces as well.
   3059 
   3060 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
   3061 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
   3062 on machines that support non-aligned transfers. Optimizes for this case 
   3063 rather than using a strncpy. With assistance from Zheng Lv.
   3064 
   3065 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
   3066 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
   3067 
   3068 Added a new debug print message for AML mutex objects that are force-
   3069 released. At control method termination, any currently acquired mutex 
   3070 objects are force-released. Adds a new debug-only message for each one 
   3071 that is released.
   3072 
   3073 Audited/updated all ACPICA return macros and the function debug depth 
   3074 counter: 1) Ensure that all functions that use the various TRACE macros 
   3075 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
   3076 return statements surround the return expression (value) with parens to 
   3077 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
   3078 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
   3079 
   3080 Global source code changes/maintenance: All extra lines at the start and 
   3081 end of each source file have been removed for consistency. Also, within 
   3082 comments, all new sentences start with a single space instead of a double 
   3083 space, again for consistency across the code base.
   3084 
   3085 Example Code and Data Size: These are the sizes for the OS-independent 
   3086 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3087 debug version of the code includes the debug output trace mechanism and 
   3088 has a much larger code and data size.
   3089 
   3090   Previous Release:
   3091     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   3092     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   3093   Current Release:
   3094     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   3095     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   3096 
   3097 
   3098 2) iASL Compiler/Disassembler and Tools:
   3099 
   3100 AcpiExec: Improved the algorithm used for memory leak/corruption 
   3101 detection. Added some intelligence to the code that maintains the global 
   3102 list of allocated memory. The list is now ordered by allocated memory 
   3103 address, significantly improving performance. When running AcpiExec on 
   3104 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
   3105 on the platform and/or the environment. Note, this performance 
   3106 enhancement affects the AcpiExec utility only, not the kernel-resident 
   3107 ACPICA code.
   3108 
   3109 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
   3110 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
   3111 incorrect table offset reported for invalid opcodes. Report the original 
   3112 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
   3113 
   3114 Disassembler: Enhanced the -vt option to emit the binary table data in 
   3115 hex format to assist with debugging.
   3116 
   3117 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
   3118 size of file structure. Colin Ian King.
   3119 
   3120 ----------------------------------------
   3121 13 September 2012. Summary of changes for version 20120913:
   3122 
   3123 
   3124 1) ACPICA Kernel-resident Subsystem:
   3125 
   3126 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
   3127 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
   3128 and 
   3129 MCE(6).
   3130  
   3131 Table Manager: Merged/removed duplicate code in the root table resize 
   3132 functions. One function is external, the other is internal. Lv Zheng, 
   3133 ACPICA 
   3134 BZ 846.
   3135 
   3136 Makefiles: Completely removed the obsolete "Linux" makefiles under 
   3137 acpica/generate/linux. These makefiles are obsolete and have been 
   3138 replaced 
   3139 by 
   3140 the generic unix makefiles under acpica/generate/unix.
   3141 
   3142 Makefiles: Ensure that binary files always copied properly. Minor rule 
   3143 change 
   3144 to ensure that the final binary output files are always copied up to the 
   3145 appropriate binary directory (bin32 or bin64.)
   3146 
   3147 Example Code and Data Size: These are the sizes for the OS-independent 
   3148 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3149 debug 
   3150 version of the code includes the debug output trace mechanism and has a 
   3151 much 
   3152 larger code and data size.
   3153 
   3154   Previous Release:
   3155     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   3156     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   3157   Current Release:
   3158     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   3159     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   3160 
   3161 
   3162 2) iASL Compiler/Disassembler and Tools:
   3163 
   3164 Disassembler: Fixed a possible fault during the disassembly of resource 
   3165 descriptors when a second parse is required because of the invocation of 
   3166 external control methods within the table. With assistance from 
   3167 adq (a] lidskialf.net. ACPICA BZ 976.
   3168 
   3169 iASL: Fixed a namepath optimization problem. An error can occur if the 
   3170 parse 
   3171 node that contains the namepath to be optimized does not have a parent 
   3172 node 
   3173 that is a named object. This change fixes the problem.
   3174 
   3175 iASL: Fixed a regression where the AML file is not deleted on errors. The 
   3176 AML 
   3177 output file should be deleted if there are any errors during the 
   3178 compiler. 
   3179 The 
   3180 only exception is if the -f (force output) option is used. ACPICA BZ 974.
   3181 
   3182 iASL: Added a feature to automatically increase internal line buffer 
   3183 sizes. 
   3184 Via realloc(), automatically increase the internal line buffer sizes as 
   3185 necessary to support very long source code lines. The current version of 
   3186 the 
   3187 preprocessor requires a buffer long enough to contain full source code 
   3188 lines. 
   3189 This change increases the line buffer(s) if the input lines go beyond the 
   3190 current buffer size. This eliminates errors that occurred when a source 
   3191 code 
   3192 line was longer than the buffer.
   3193 
   3194 iASL: Fixed a problem with constant folding in method declarations. The 
   3195 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
   3196 if a 
   3197 Type3 opcode was used.
   3198 
   3199 Debugger: Improved command help support. For incorrect argument count, 
   3200 display 
   3201 full help for the command. For help command itself, allow an argument to 
   3202 specify a command.
   3203 
   3204 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
   3205 errors during execution of the suite. Guan Chao.
   3206 
   3207 ----------------------------------------
   3208 16 August 2012. Summary of changes for version 20120816:
   3209 
   3210 
   3211 1) ACPICA Kernel-resident Subsystem:
   3212 
   3213 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
   3214 _GTS 
   3215 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
   3216 deprecated and will probably be removed from the ACPI specification. 
   3217 Windows 
   3218 does not invoke them, and reportedly never will. The final nail in the 
   3219 coffin 
   3220 is that the ACPI specification states that these methods must be run with 
   3221 interrupts off, which is not going to happen in a kernel interpreter. 
   3222 Note: 
   3223 Linux has removed all use of the methods also. It was discovered that 
   3224 invoking these functions caused failures on some machines, probably 
   3225 because 
   3226 they were never tested since Windows does not call them. Affects two 
   3227 external 
   3228 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
   3229 ACPICA BZ 969.
   3230 
   3231 Implemented support for complex bit-packed buffers returned from the _PLD 
   3232 (Physical Location of Device) predefined method. Adds a new external 
   3233 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
   3234 C 
   3235 structure. Note: C Bitfields cannot be used for this type of predefined 
   3236 structure since the memory layout of individual bitfields is not defined 
   3237 by 
   3238 the C language. In addition, there are endian concerns where a compiler 
   3239 will 
   3240 change the bitfield ordering based on the machine type. The new ACPICA 
   3241 interface eliminates these issues, and should be called after _PLD is 
   3242 executed. ACPICA BZ 954.
   3243 
   3244 Implemented a change to allow a scope change to root (via "Scope (\)") 
   3245 during 
   3246 execution of module-level ASL code (code that is executed at table load 
   3247 time.) Lin Ming.
   3248 
   3249 Added the Windows8/Server2012 string for the _OSI method. This change 
   3250 adds 
   3251 a 
   3252 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
   3253 2012.
   3254 
   3255 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
   3256 2) 
   3257 and CSRT (Core System Resource Table).
   3258 
   3259 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
   3260 names. This simplifies access to the buffers returned by these predefined 
   3261 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
   3262 
   3263 GPE support: Removed an extraneous parameter from the various low-level 
   3264 internal GPE functions. Tang Feng.
   3265 
   3266 Removed the linux makefiles from the unix packages. The generate/linux 
   3267 makefiles are obsolete and have been removed from the unix tarball 
   3268 release 
   3269 packages. The replacement makefiles are under generate/unix, and there is 
   3270 a 
   3271 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
   3272 
   3273 Updates for Unix makefiles:
   3274 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
   3275 2) Update linker flags (move to end of command line) for AcpiExec 
   3276 utility. 
   3277 Guan Chao.
   3278 
   3279 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
   3280 utxface.c to improve modularity and reduce file size.
   3281 
   3282 Example Code and Data Size: These are the sizes for the OS-independent 
   3283 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3284 debug version of the code includes the debug output trace mechanism and 
   3285 has a 
   3286 much larger code and data size.
   3287 
   3288   Previous Release:
   3289     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   3290     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   3291   Current Release:
   3292     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   3293     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   3294 
   3295 
   3296 2) iASL Compiler/Disassembler and Tools:
   3297 
   3298 iASL: Fixed a problem with constant folding for fixed-length constant 
   3299 expressions. The constant-folding code was not being invoked for constant 
   3300 expressions that allow the use of type 3/4/5 opcodes to generate 
   3301 constants 
   3302 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
   3303 result 
   3304 in the generation of invalid AML bytecode. ACPICA BZ 970.
   3305 
   3306 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
   3307 apparently automatically emit some of the necessary externals. This 
   3308 change 
   3309 handles these versions in order to eliminate generation warnings.
   3310 
   3311 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
   3312 
   3313 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
   3314 appears 
   3315 within comments in the output file.
   3316 
   3317 Debugger: Fixed a regression with the "Threads" command where 
   3318 AE_BAD_PARAMETER was always returned.
   3319 
   3320 ----------------------------------------
   3321 11 July 2012. Summary of changes for version 20120711:
   3322 
   3323 1) ACPICA Kernel-resident Subsystem:
   3324 
   3325 Fixed a possible fault in the return package object repair code. Fixes a 
   3326 problem that can occur when a lone package object is wrapped with an 
   3327 outer 
   3328 package object in order to force conformance to the ACPI specification. 
   3329 Can 
   3330 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
   3331 _DLM, 
   3332 _CSD, _PSD, _TSD.
   3333 
   3334 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
   3335 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
   3336 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
   3337 state 
   3338 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
   3339 both 
   3340 Intel and other vendors. (for Intel: ICH4-M and earlier)
   3341 
   3342 This change removes the code to disable/enable bus master arbitration 
   3343 during 
   3344 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
   3345 causes 
   3346 resume problems on some machines. The change has been in use for over 
   3347 seven 
   3348 years within Linux.
   3349 
   3350 Implemented two new external interfaces to support host-directed dynamic 
   3351 ACPI 
   3352 table load and unload. They are intended to simplify the host 
   3353 implementation 
   3354 of hot-plug support:
   3355   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
   3356   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
   3357 table.
   3358 See the ACPICA reference for additional details. Adds one new file, 
   3359 components/tables/tbxfload.c
   3360 
   3361 Implemented and deployed two new interfaces for errors and warnings that 
   3362 are 
   3363 known to be caused by BIOS/firmware issues:
   3364   AcpiBiosError: Prints "ACPI Firmware Error" message.
   3365   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
   3366 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
   3367 table 
   3368 and FADT errors. Additional deployment to be completed as appropriate in 
   3369 the 
   3370 future. The associated conditional macros are ACPI_BIOS_ERROR and 
   3371 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
   3372 ACPICA 
   3373 BZ 
   3374 843.
   3375 
   3376 Implicit notify support: ensure that no memory allocation occurs within a 
   3377 critical region. This fix moves a memory allocation outside of the time 
   3378 that a 
   3379 spinlock is held. Fixes issues on systems that do not allow this 
   3380 behavior. 
   3381 Jung-uk Kim.
   3382 
   3383 Split exception code utilities and tables into a new file, 
   3384 utilities/utexcep.c
   3385 
   3386 Example Code and Data Size: These are the sizes for the OS-independent 
   3387 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3388 debug 
   3389 version of the code includes the debug output trace mechanism and has a 
   3390 much 
   3391 larger code and data size.
   3392 
   3393   Previous Release:
   3394     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   3395     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   3396   Current Release:
   3397     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   3398     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   3399 
   3400 
   3401 2) iASL Compiler/Disassembler and Tools:
   3402 
   3403 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
   3404 of 
   3405 0. Jung-uk Kim.
   3406 
   3407 Debugger: Enhanced the "tables" command to emit additional information 
   3408 about 
   3409 the current set of ACPI tables, including the owner ID and flags decode.
   3410 
   3411 Debugger: Reimplemented the "unload" command to use the new 
   3412 AcpiUnloadParentTable external interface. This command was disable 
   3413 previously 
   3414 due to need for an unload interface.
   3415 
   3416 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
   3417 option 
   3418 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
   3419 
   3420 ----------------------------------------
   3421 20 June 2012. Summary of changes for version 20120620:
   3422 
   3423 
   3424 1) ACPICA Kernel-resident Subsystem:
   3425 
   3426 Implemented support to expand the "implicit notify" feature to allow 
   3427 multiple 
   3428 devices to be notified by a single GPE. This feature automatically 
   3429 generates a 
   3430 runtime device notification in the absence of a BIOS-provided GPE control 
   3431 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
   3432 notify is 
   3433 provided by ACPICA for Windows compatibility, and is a workaround for 
   3434 BIOS 
   3435 AML 
   3436 code errors. See the description of the AcpiSetupGpeForWake interface in 
   3437 the 
   3438 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
   3439 
   3440 Changed some comments and internal function names to simplify and ensure 
   3441 correctness of the Linux code translation. No functional changes.
   3442 
   3443 Example Code and Data Size: These are the sizes for the OS-independent 
   3444 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3445 debug 
   3446 version of the code includes the debug output trace mechanism and has a 
   3447 much 
   3448 larger code and data size.
   3449 
   3450   Previous Release:
   3451     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   3452     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   3453   Current Release:
   3454     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   3455     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   3456 
   3457 
   3458 2) iASL Compiler/Disassembler and Tools:
   3459 
   3460 Disassembler: Added support to emit short, commented descriptions for the 
   3461 ACPI 
   3462 predefined names in order to improve the readability of the disassembled 
   3463 output. ACPICA BZ 959. Changes include:
   3464   1) Emit descriptions for all standard predefined names (_INI, _STA, 
   3465 _PRW, 
   3466 etc.)
   3467   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
   3468   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
   3469 etc.)
   3470 
   3471 AcpiSrc: Fixed several long-standing Linux code translation issues. 
   3472 Argument 
   3473 descriptions in function headers are now translated properly to lower 
   3474 case 
   3475 and 
   3476 underscores. ACPICA BZ 961. Also fixes translation problems such as 
   3477 these: 
   3478 (old -> new)
   3479   i_aSL -> iASL
   3480   00-7_f -> 00-7F
   3481   16_k -> 16K
   3482   local_fADT -> local_FADT
   3483   execute_oSI -> execute_OSI
   3484 
   3485 iASL: Fixed a problem where null bytes were inadvertently emitted into 
   3486 some 
   3487 listing files.
   3488 
   3489 iASL: Added the existing debug options to the standard help screen. There 
   3490 are 
   3491 no longer two different help screens. ACPICA BZ 957.
   3492 
   3493 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
   3494 Also 
   3495 expand some of the descriptions where appropriate.
   3496 
   3497 iASL: Fixed the -ot option (display compile times/statistics). Was not 
   3498 working 
   3499 properly for standard output; only worked for the debug file case.
   3500 
   3501 ----------------------------------------
   3502 18 May 2012. Summary of changes for version 20120518:
   3503 
   3504 
   3505 1) ACPICA Core Subsystem:
   3506 
   3507 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
   3508 defined 
   3509 to block until asynchronous events such as notifies and GPEs have 
   3510 completed. 
   3511 Within ACPICA, it is only called before a notify or GPE handler is 
   3512 removed/uninstalled. It also may be useful for the host OS within related 
   3513 drivers such as the Embedded Controller driver. See the ACPICA reference 
   3514 for 
   3515 additional information. ACPICA BZ 868.
   3516 
   3517 ACPI Tables: Added a new error message for a possible overflow failure 
   3518 during 
   3519 the conversion of FADT 32-bit legacy register addresses to internal 
   3520 common 
   3521 64-
   3522 bit GAS structure representation. The GAS has a one-byte "bit length" 
   3523 field, 
   3524 thus limiting the register length to 255 bits. ACPICA BZ 953.
   3525 
   3526 Example Code and Data Size: These are the sizes for the OS-independent 
   3527 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3528 debug 
   3529 version of the code includes the debug output trace mechanism and has a 
   3530 much 
   3531 larger code and data size.
   3532 
   3533   Previous Release:
   3534     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   3535     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   3536   Current Release:
   3537     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   3538     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   3539 
   3540 
   3541 2) iASL Compiler/Disassembler and Tools:
   3542 
   3543 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
   3544 macro. 
   3545 This keyword was added late in the ACPI 5.0 release cycle and was not 
   3546 implemented until now.
   3547 
   3548 Disassembler: Added support for Operation Region externals. Adds missing 
   3549 support for operation regions that are defined in another table, and 
   3550 referenced locally via a Field or BankField ASL operator. Now generates 
   3551 the 
   3552 correct External statement.
   3553 
   3554 Disassembler: Several additional fixes for the External() statement 
   3555 generation 
   3556 related to some ASL operators. Also, order the External() statements 
   3557 alphabetically in the disassembler output. Fixes the External() 
   3558 generation 
   3559 for 
   3560 the Create* field, Alias, and Scope operators:
   3561  1) Create* buffer field operators - fix type mismatch warning on 
   3562 disassembly
   3563  2) Alias - implement missing External support
   3564  3) Scope - fix to make sure all necessary externals are emitted.
   3565 
   3566 iASL: Improved pathname support. For include files, merge the prefix 
   3567 pathname 
   3568 with the file pathname and eliminate unnecessary components. Convert 
   3569 backslashes in all pathnames to forward slashes, for readability. Include 
   3570 file 
   3571 pathname changes affect both #include and Include() type operators.
   3572 
   3573 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
   3574 end 
   3575 of a valid line by inserting a newline and then returning the EOF during 
   3576 the 
   3577 next call to GetNextLine. Prevents the line from being ignored due to EOF 
   3578 condition.
   3579 
   3580 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
   3581 Error 
   3582 and Warning messages are now correctly recognized for both the source 
   3583 code 
   3584 browser and the global error and warning counts.
   3585 
   3586 ----------------------------------------
   3587 20 April 2012. Summary of changes for version 20120420:
   3588 
   3589 
   3590 1) ACPICA Core Subsystem:
   3591 
   3592 Implemented support for multiple notify handlers. This change adds 
   3593 support 
   3594 to 
   3595 allow multiple system and device notify handlers on Device, Thermal Zone, 
   3596 and 
   3597 Processor objects. This can simplify the host OS notification 
   3598 implementation. 
   3599 Also re-worked and restructured the entire notify support code to 
   3600 simplify 
   3601 handler installation, handler removal, notify event queuing, and notify 
   3602 dispatch to handler(s). Note: there can still only be two global notify 
   3603 handlers - one for system notifies and one for device notifies. There are 
   3604 no 
   3605 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
   3606 Moore, Rafael Wysocki.
   3607 
   3608 Fixed a regression in the package repair code where the object reference 
   3609 count was calculated incorrectly. Regression was introduced in the commit 
   3610 "Support to add Package wrappers".
   3611 
   3612 Fixed a couple possible memory leaks in the AML parser, in the error 
   3613 recovery 
   3614 path. Jesper Juhl, Lin Ming.
   3615 
   3616 Example Code and Data Size: These are the sizes for the OS-independent 
   3617 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3618 debug version of the code includes the debug output trace mechanism and 
   3619 has a 
   3620 much larger code and data size.
   3621 
   3622   Previous Release:
   3623     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   3624     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   3625   Current Release:
   3626     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   3627     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   3628 
   3629 
   3630 2) iASL Compiler/Disassembler and Tools:
   3631 
   3632 iASL: Fixed a problem with the resource descriptor support where the 
   3633 length 
   3634 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
   3635 included in cumulative descriptor offset, resulting in incorrect values 
   3636 for 
   3637 resource tags within resource descriptors appearing after a 
   3638 StartDependent* 
   3639 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
   3640 
   3641 iASL and Preprocessor: Implemented full support for the #line directive 
   3642 to 
   3643 correctly track original source file line numbers through the .i 
   3644 preprocessor 
   3645 output file - for error and warning messages.
   3646 
   3647 iASL: Expand the allowable byte constants for address space IDs. 
   3648 Previously, 
   3649 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
   3650 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
   3651 
   3652 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
   3653 
   3654 iASL: Add option to completely disable the preprocessor (-Pn).
   3655 
   3656 iASL: Now emit all error/warning messages to standard error (stderr) by 
   3657 default (instead of the previous stdout).
   3658 
   3659 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
   3660 Update 
   3661 for resource descriptor offset fix above. Update/cleanup error output 
   3662 routines. Enable and send iASL errors/warnings to an error logfile 
   3663 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
   3664 Fixed 
   3665 several extraneous "unrecognized operator" messages.
   3666 
   3667 ----------------------------------------
   3668 20 March 2012. Summary of changes for version 20120320:
   3669 
   3670 
   3671 1) ACPICA Core Subsystem:
   3672 
   3673 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
   3674 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
   3675 apparently 
   3676 does not execute these methods, and therefore these methods are often 
   3677 untested. It has been seen on some systems where the execution of these 
   3678 methods causes errors and also prevents the machine from entering S5. It 
   3679 is 
   3680 therefore suggested that host operating systems do not execute these 
   3681 methods 
   3682 by default. In the future, perhaps these methods can be optionally 
   3683 executed 
   3684 based on the age of the system and/or what is the newest version of 
   3685 Windows 
   3686 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
   3687 and 
   3688 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
   3689 Ming.
   3690 
   3691 Fixed a problem where the length of the local/common FADT was set too 
   3692 early. 
   3693 The local FADT table length cannot be set to the common length until the 
   3694 original length has been examined. There is code that checks the table 
   3695 length 
   3696 and sets various fields appropriately. This can affect older machines 
   3697 with 
   3698 early FADT versions. For example, this can cause inadvertent writes to 
   3699 the 
   3700 CST_CNT register. Julian Anastasov.
   3701 
   3702 Fixed a mapping issue related to a physical table override. Use the 
   3703 deferred 
   3704 mapping mechanism for tables loaded via the physical override OSL 
   3705 interface. 
   3706 This allows for early mapping before the virtual memory manager is 
   3707 available. 
   3708 Thomas Renninger, Bob Moore.
   3709 
   3710 Enhanced the automatic return-object repair code: Repair a common problem 
   3711 with 
   3712 predefined methods that are defined to return a variable-length Package 
   3713 of 
   3714 sub-objects. If there is only one sub-object, some BIOS ASL code 
   3715 mistakenly 
   3716 simply returns the single object instead of a Package with one sub-
   3717 object. 
   3718 This new support will repair this error by wrapping a Package object 
   3719 around 
   3720 the original object, creating the correct and expected Package with one 
   3721 sub-
   3722 object. Names that can be repaired in this manner include: _ALR, _CSD, 
   3723 _HPX, 
   3724 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
   3725 939.
   3726 
   3727 Changed the exception code returned for invalid ACPI paths passed as 
   3728 parameters to external interfaces such as AcpiEvaluateObject. Was 
   3729 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
   3730 
   3731 Example Code and Data Size: These are the sizes for the OS-independent 
   3732 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3733 debug 
   3734 version of the code includes the debug output trace mechanism and has a 
   3735 much 
   3736 larger code and data size.
   3737 
   3738   Previous Release:
   3739     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   3740     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   3741   Current Release:
   3742     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   3743     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   3744 
   3745 
   3746 2) iASL Compiler/Disassembler and Tools:
   3747 
   3748 iASL: Added the infrastructure and initial implementation of a integrated 
   3749 C-
   3750 like preprocessor. This will simplify BIOS development process by 
   3751 eliminating 
   3752 the need for a separate preprocessing step during builds. On Windows, it 
   3753 also 
   3754 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
   3755 features including full #define() macro support are still under 
   3756 development. 
   3757 These preprocessor directives are supported:
   3758     #define
   3759     #elif
   3760     #else
   3761     #endif
   3762     #error
   3763     #if
   3764     #ifdef
   3765     #ifndef
   3766     #include
   3767     #pragma message
   3768     #undef
   3769     #warning
   3770 In addition, these new command line options are supported:
   3771     -D <symbol> Define symbol for preprocessor use
   3772     -li         Create preprocessed output file (*.i)
   3773     -P          Preprocess only and create preprocessor output file (*.i)
   3774 
   3775 Table Compiler: Fixed a problem where the equals operator within an 
   3776 expression 
   3777 did not work properly.
   3778 
   3779 Updated iASL to use the current versions of Bison/Flex. Updated the 
   3780 Windows 
   3781 project file to invoke these tools from the standard location. ACPICA BZ 
   3782 904. 
   3783 Versions supported:
   3784     Flex for Windows:  V2.5.4
   3785     Bison for Windows: V2.4.1
   3786 
   3787 ----------------------------------------
   3788 15 February 2012. Summary of changes for version 20120215:
   3789 
   3790 
   3791 1) ACPICA Core Subsystem:
   3792 
   3793 There have been some major changes to the sleep/wake support code, as 
   3794 described below (a - e).
   3795 
   3796 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
   3797 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
   3798 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
   3799 the 
   3800 time the _BFS method is called and the _WAK method is called. NOTE: all 
   3801 hosts 
   3802 must update their wake/resume code or else sleep/wake will not work 
   3803 properly. 
   3804 Rafael Wysocki.
   3805 
   3806 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
   3807 _WAK 
   3808 method. Some machines require that the GPEs are enabled before the _WAK 
   3809 method 
   3810 is executed. Thomas Renninger.
   3811 
   3812 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
   3813 bit. 
   3814 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
   3815 to 
   3816 determine whether the system is rebooting or resuming. Matthew Garrett.
   3817 
   3818 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
   3819 Sleep) to 
   3820 match the ACPI specification requirement. Rafael Wysocki.
   3821 
   3822 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
   3823 registers within the V5 FADT. This support adds two new files: 
   3824 hardware/hwesleep.c implements the support for the new registers. Moved 
   3825 all 
   3826 sleep/wake external interfaces to hardware/hwxfsleep.c.
   3827 
   3828 
   3829 Added a new OSL interface for ACPI table overrides, 
   3830 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
   3831 table via a physical address, instead of the logical address required by 
   3832 AcpiOsTableOverride. This simplifies the host implementation. Initial 
   3833 implementation by Thomas Renninger. The ACPICA implementation creates a 
   3834 single 
   3835 shared function for table overrides that attempts both a logical and a 
   3836 physical override.
   3837 
   3838 Expanded the OSL memory read/write interfaces to 64-bit data 
   3839 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
   3840 transfer support for GAS register structures passed to AcpiRead and 
   3841 AcpiWrite.
   3842 
   3843 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
   3844 custom 
   3845 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
   3846 model. 
   3847 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
   3848 about 
   3849 10% of the code and 5% of the static data, and the following hardware 
   3850 ACPI 
   3851 features become unavailable:
   3852     PM Event and Control registers
   3853     SCI interrupt (and handler)
   3854     Fixed Events
   3855     General Purpose Events (GPEs)
   3856     Global Lock
   3857     ACPI PM timer
   3858     FACS table (Waking vectors and Global Lock)
   3859 
   3860 Updated the unix tarball directory structure to match the ACPICA git 
   3861 source 
   3862 tree. This ensures that the generic unix makefiles work properly (in 
   3863 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
   3864 867.
   3865 
   3866 Updated the return value of the _REV predefined method to integer value 5 
   3867 to 
   3868 reflect ACPI 5.0 support.
   3869 
   3870 Moved the external ACPI PM timer interface prototypes to the public 
   3871 acpixf.h 
   3872 file where they belong.
   3873 
   3874 Example Code and Data Size: These are the sizes for the OS-independent 
   3875 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3876 debug 
   3877 version of the code includes the debug output trace mechanism and has a 
   3878 much 
   3879 larger code and data size.
   3880 
   3881   Previous Release:
   3882     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   3883     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   3884   Current Release:
   3885     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   3886     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   3887 
   3888 
   3889 2) iASL Compiler/Disassembler and Tools:
   3890 
   3891 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
   3892 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
   3893 incorrectly displayed.
   3894 
   3895 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
   3896 specification.
   3897 
   3898 ----------------------------------------
   3899 11 January 2012. Summary of changes for version 20120111:
   3900 
   3901 
   3902 1) ACPICA Core Subsystem:
   3903 
   3904 Implemented a new mechanism to allow host device drivers to check for 
   3905 address 
   3906 range conflicts with ACPI Operation Regions. Both SystemMemory and 
   3907 SystemIO 
   3908 address spaces are supported. A new external interface, 
   3909 AcpiCheckAddressRange, 
   3910 allows drivers to check an address range against the ACPI namespace. See 
   3911 the 
   3912 ACPICA reference for additional details. Adds one new file, 
   3913 utilities/utaddress.c. Lin Ming, Bob Moore.
   3914 
   3915 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
   3916 Control 
   3917 and 
   3918 Status registers, update the ACPI 5.0 flags, and update internal data 
   3919 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
   3920 5.0 
   3921 FADT is 268 bytes.
   3922 
   3923 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
   3924 copyright to 
   3925 all module headers and signons, including the standard Linux header. This 
   3926 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
   3927 and 
   3928 all ACPICA utilities.
   3929 
   3930 Example Code and Data Size: These are the sizes for the OS-independent 
   3931 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3932 debug 
   3933 version of the code includes the debug output trace mechanism and has a 
   3934 much 
   3935 larger code and data size.
   3936 
   3937   Previous Release:
   3938     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   3939     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   3940   Current Release:
   3941     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   3942     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   3943 
   3944 
   3945 2) iASL Compiler/Disassembler and Tools:
   3946 
   3947 Disassembler: fixed a problem with the automatic resource tag generation 
   3948 support. Fixes a problem where the resource tags are inadvertently not 
   3949 constructed if the table being disassembled contains external references 
   3950 to 
   3951 control methods. Moved the actual construction of the tags to after the 
   3952 final 
   3953 namespace is constructed (after 2nd parse is invoked due to external 
   3954 control 
   3955 method references.) ACPICA BZ 941.
   3956 
   3957 Table Compiler: Make all "generic" operators caseless. These are the 
   3958 operators 
   3959 like UINT8, String, etc. Making these caseless improves ease-of-use. 
   3960 ACPICA BZ 
   3961 934.
   3962 
   3963 ----------------------------------------
   3964 23 November 2011. Summary of changes for version 20111123:
   3965 
   3966 0) ACPI 5.0 Support:
   3967 
   3968 This release contains full support for the ACPI 5.0 specification, as 
   3969 summarized below.
   3970 
   3971 Reduced Hardware Support:
   3972 -------------------------
   3973 
   3974 This support allows for ACPI systems without the usual ACPI hardware. 
   3975 This 
   3976 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
   3977 will 
   3978 not attempt to initialize or use any of the usual ACPI hardware. Note, 
   3979 when 
   3980 this flag is set, all of the following ACPI hardware is assumed to be not 
   3981 present and is not initialized or accessed:
   3982 
   3983     General Purpose Events (GPEs)
   3984     Fixed Events (PM1a/PM1b and PM Control)
   3985     Power Management Timer and Console Buttons (power/sleep)
   3986     Real-time Clock Alarm
   3987     Global Lock
   3988     System Control Interrupt (SCI)
   3989     The FACS is assumed to be non-existent
   3990 
   3991 ACPI Tables:
   3992 ------------
   3993 
   3994 All new tables and updates to existing tables are fully supported in the 
   3995 ACPICA headers (for use by device drivers), the disassembler, and the 
   3996 iASL 
   3997 Data Table Compiler. ACPI 5.0 defines these new tables:
   3998 
   3999     BGRT        /* Boot Graphics Resource Table */
   4000     DRTM        /* Dynamic Root of Trust for Measurement table */
   4001     FPDT        /* Firmware Performance Data Table */
   4002     GTDT        /* Generic Timer Description Table */
   4003     MPST        /* Memory Power State Table */
   4004     PCCT        /* Platform Communications Channel Table */
   4005     PMTT        /* Platform Memory Topology Table */
   4006     RASF        /* RAS Feature table */
   4007 
   4008 Operation Regions/SpaceIDs:
   4009 ---------------------------
   4010 
   4011 All new operation regions are fully supported by the iASL compiler, the 
   4012 disassembler, and the ACPICA runtime code (for dispatch to region 
   4013 handlers.) 
   4014 The new operation region Space IDs are:
   4015 
   4016     GeneralPurposeIo
   4017     GenericSerialBus
   4018 
   4019 Resource Descriptors:
   4020 ---------------------
   4021 
   4022 All new ASL resource descriptors are fully supported by the iASL 
   4023 compiler, 
   4024 the 
   4025 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
   4026 (including 
   4027 all new predefined resource tags). New descriptors are:
   4028 
   4029     FixedDma
   4030     GpioIo
   4031     GpioInt
   4032     I2cSerialBus
   4033     SpiSerialBus
   4034     UartSerialBus
   4035 
   4036 ASL/AML Operators, New and Modified:
   4037 ------------------------------------
   4038 
   4039 One new operator is added, the Connection operator, which is used to 
   4040 associate 
   4041 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
   4042 individual 
   4043 field objects within an operation region. Several new protocols are 
   4044 associated 
   4045 with the AccessAs operator. All are fully supported by the iASL compiler, 
   4046 disassembler, and runtime ACPICA AML interpreter:
   4047 
   4048     Connection                      // Declare Field Connection 
   4049 attributes
   4050     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
   4051     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
   4052 Protocol
   4053     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
   4054     RawDataBuffer                       // Data type for Vendor Data 
   4055 fields
   4056 
   4057 Predefined ASL/AML Objects:
   4058 ---------------------------
   4059 
   4060 All new predefined objects/control-methods are supported by the iASL 
   4061 compiler 
   4062 and the ACPICA runtime validation/repair (arguments and return values.) 
   4063 New 
   4064 predefined names include the following:
   4065 
   4066 Standard Predefined Names (Objects or Control Methods):
   4067     _AEI, _CLS, _CPC, _CWS, _DEP,
   4068     _DLM, _EVT, _GCP, _CRT, _GWS,
   4069     _HRV, _PRE, _PSE, _SRT, _SUB.
   4070 
   4071 Resource Tags (Names used to access individual fields within resource 
   4072 descriptors):
   4073     _DBT, _DPL, _DRS, _END, _FLC,
   4074     _IOR, _LIN, _MOD, _PAR, _PHA,
   4075     _PIN, _PPI, _POL, _RXL, _SLV,
   4076     _SPE, _STB, _TXL, _VEN.
   4077 
   4078 ACPICA External Interfaces:
   4079 ---------------------------
   4080 
   4081 Several new interfaces have been defined for use by ACPI-related device 
   4082 drivers and other host OS services:
   4083 
   4084 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
   4085 to 
   4086 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
   4087 provided by the BIOS. They are intended to be used in conjunction with 
   4088 the 
   4089 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
   4090 mutual exclusion with the AML code/interpreter.
   4091 
   4092 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
   4093 defined 
   4094 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
   4095 provides 
   4096 resource descriptors associated with hardware-reduced platform events, 
   4097 similar 
   4098 to the AcpiGetCurrentResources interface.
   4099 
   4100 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
   4101 operation regions, information about the Connection() object and any 
   4102 optional 
   4103 length information is passed to the region handler within the Context 
   4104 parameter.
   4105 
   4106 AcpiBufferToResource: This interface converts a raw AML buffer containing 
   4107 a 
   4108 resource template or resource descriptor to the ACPI_RESOURCE internal 
   4109 format 
   4110 suitable for use by device drivers. Can be used by an operation region 
   4111 handler 
   4112 to convert the Connection() buffer object into a ACPI_RESOURCE.
   4113 
   4114 Miscellaneous/Tools/TestSuites: 
   4115 -------------------------------
   4116 
   4117 Support for extended _HID names (Four alpha characters instead of three).
   4118 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
   4119 Support for ACPI 5.0 features in the ASLTS test suite.
   4120 Fully updated documentation (ACPICA and iASL reference documents.)
   4121 
   4122 ACPI Table Definition Language:
   4123 -------------------------------
   4124 
   4125 Support for this language was implemented and released as a subsystem of 
   4126 the 
   4127 iASL compiler in 2010. (See the iASL compiler User Guide.)
   4128 
   4129 
   4130 Non-ACPI 5.0 changes for this release:
   4131 --------------------------------------
   4132 
   4133 1) ACPICA Core Subsystem:
   4134 
   4135 Fix a problem with operation region declarations where a failure can 
   4136 occur 
   4137 if 
   4138 the region name and an argument that evaluates to an object (such as the 
   4139 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
   4140 937.
   4141 
   4142 Do not abort an ACPI table load if an invalid space ID is found within. 
   4143 This 
   4144 will be caught later if the offending method is executed. ACPICA BZ 925.
   4145 
   4146 Fixed an issue with the FFixedHW space ID where the ID was not always 
   4147 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
   4148 
   4149 Fixed a problem with the 32-bit generation of the unix-specific OSL 
   4150 (osunixxf.c). Lin Ming, ACPICA BZ 936.
   4151 
   4152 Several changes made to enable generation with the GCC 4.6 compiler. 
   4153 ACPICA BZ 
   4154 935.
   4155 
   4156 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
   4157 Index/Bank 
   4158 field registers out-of-range.
   4159 
   4160 2) iASL Compiler/Disassembler and Tools:
   4161 
   4162 iASL: Implemented the __PATH__ operator, which returns the full pathname 
   4163 of 
   4164 the current source file.
   4165 
   4166 AcpiHelp: Automatically display expanded keyword information for all ASL 
   4167 operators.
   4168 
   4169 Debugger: Add "Template" command to disassemble/dump resource template 
   4170 buffers.
   4171 
   4172 Added a new master script to generate and execute the ASLTS test suite. 
   4173 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
   4174 
   4175 iASL: Fix problem with listing generation during processing of the 
   4176 Switch() 
   4177 operator where AML listing was disabled until the entire Switch block was 
   4178 completed.
   4179 
   4180 iASL: Improve support for semicolon statement terminators. Fix "invalid 
   4181 character" message for some cases when the semicolon is used. Semicolons 
   4182 are 
   4183 now allowed after every <Term> grammar element. ACPICA BZ 927.
   4184 
   4185 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
   4186 923.
   4187 
   4188 Disassembler: Fix problem with disassembly of the DataTableRegion 
   4189 operator 
   4190 where an inadvertent "Unhandled deferred opcode" message could be 
   4191 generated.
   4192 
   4193 3) Example Code and Data Size
   4194 
   4195 These are the sizes for the OS-independent acpica.lib produced by the 
   4196 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   4197 includes the debug output trace mechanism and has a much larger code and 
   4198 data 
   4199 size.
   4200 
   4201   Previous Release:
   4202     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   4203     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4204   Current Release:
   4205     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   4206     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   4207 
   4208 ----------------------------------------
   4209 22 September 2011. Summary of changes for version 20110922:
   4210 
   4211 0) ACPI 5.0 News:
   4212 
   4213 Support for ACPI 5.0 in ACPICA has been underway for several months and 
   4214 will 
   4215 be released at the same time that ACPI 5.0 is officially released.
   4216 
   4217 The ACPI 5.0 specification is on track for release in the next few 
   4218 months.
   4219  
   4220 1) ACPICA Core Subsystem:
   4221 
   4222 Fixed a problem where the maximum sleep time for the Sleep() operator was 
   4223 intended to be limited to two seconds, but was inadvertently limited to 
   4224 20 
   4225 seconds instead.
   4226 
   4227 Linux and Unix makefiles: Added header file dependencies to ensure 
   4228 correct 
   4229 generation of ACPICA core code and utilities. Also simplified the 
   4230 makefiles 
   4231 considerably through the use of the vpath variable to specify search 
   4232 paths. 
   4233 ACPICA BZ 924.
   4234 
   4235 2) iASL Compiler/Disassembler and Tools:
   4236 
   4237 iASL: Implemented support to check the access length for all fields 
   4238 created to 
   4239 access named Resource Descriptor fields. For example, if a resource field 
   4240 is 
   4241 defined to be two bits, a warning is issued if a CreateXxxxField() is 
   4242 used 
   4243 with an incorrect bit length. This is implemented for all current 
   4244 resource 
   4245 descriptor names. ACPICA BZ 930.
   4246   
   4247 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
   4248 56-
   4249 bit integers.
   4250 
   4251 iASL: Fixed a couple of issues associated with variable-length package 
   4252 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
   4253 a 
   4254 VAR_PACKAGE when these are used as a package length. 2) Allow the 
   4255 VAR_PACKAGE 
   4256 opcode (in addition to PACKAGE) when validating object types for 
   4257 predefined 
   4258 names.
   4259 
   4260 iASL: Emit statistics for all output files (instead of just the ASL input 
   4261 and 
   4262 AML output). Includes listings, hex files, etc.
   4263 
   4264 iASL: Added -G option to the table compiler to allow the compilation of 
   4265 custom 
   4266 ACPI tables. The only part of a table that is required is the standard 
   4267 36-
   4268 byte 
   4269 ACPI header.
   4270 
   4271 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
   4272 headers), 
   4273 which also adds correct 64-bit support. Also, now all output filenames 
   4274 are 
   4275 completely lower case.
   4276 
   4277 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
   4278 loading table files. A warning is issued for any such tables. The only 
   4279 exception is an FADT. This also fixes a possible fault when attempting to 
   4280 load 
   4281 non-AML tables. ACPICA BZ 932.
   4282 
   4283 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
   4284 a 
   4285 missing table terminator could cause a fault when using the -p option.
   4286 
   4287 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
   4288 statistics.
   4289 
   4290 3) Example Code and Data Size
   4291 
   4292 These are the sizes for the OS-independent acpica.lib produced by the 
   4293 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   4294 includes the debug output trace mechanism and has a much larger code and 
   4295 data 
   4296 size.
   4297 
   4298   Previous Release (VC 9.0):
   4299     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   4300     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4301   Current Release (VC 9.0):
   4302     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   4303     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4304 
   4305 
   4306 ----------------------------------------
   4307 23 June 2011. Summary of changes for version 20110623:
   4308 
   4309 1) ACPI CA Core Subsystem:
   4310 
   4311 Updated the predefined name repair mechanism to not attempt repair of a 
   4312 _TSS 
   4313 return object if a _PSS object is present. We can only sort the _TSS 
   4314 return 
   4315 package if there is no _PSS within the same scope. This is because if 
   4316 _PSS 
   4317 is 
   4318 present, the ACPI specification dictates that the _TSS Power Dissipation 
   4319 field 
   4320 is to be ignored, and therefore some BIOSs leave garbage values in the 
   4321 _TSS 
   4322 Power field(s). In this case, it is best to just return the _TSS package 
   4323 as-
   4324 is. Reported by, and fixed with assistance from Fenghua Yu.
   4325 
   4326 Added an option to globally disable the control method return value 
   4327 validation 
   4328 and repair. This runtime option can be used to disable return value 
   4329 repair 
   4330 if 
   4331 this is causing a problem on a particular machine. Also added an option 
   4332 to 
   4333 AcpiExec (-dr) to set this disable flag.
   4334 
   4335 All makefiles and project files: Major changes to improve generation of 
   4336 ACPICA 
   4337 tools. ACPICA BZ 912:
   4338     Reduce default optimization levels to improve compatibility
   4339     For Linux, add strict-aliasing=0 for gcc 4
   4340     Cleanup and simplify use of command line defines
   4341     Cleanup multithread library support
   4342     Improve usage messages
   4343 
   4344 Linux-specific header: update handling of THREAD_ID and pthread. For the 
   4345 32-
   4346 bit case, improve casting to eliminate possible warnings, especially with 
   4347 the 
   4348 acpica tools.
   4349 
   4350 Example Code and Data Size: These are the sizes for the OS-independent 
   4351 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4352 debug 
   4353 version of the code includes the debug output trace mechanism and has a 
   4354 much 
   4355 larger code and data size.
   4356 
   4357   Previous Release (VC 9.0):
   4358     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   4359     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4360   Current Release (VC 9.0):
   4361     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   4362     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4363 
   4364 2) iASL Compiler/Disassembler and Tools:
   4365 
   4366 With this release, a new utility named "acpihelp" has been added to the 
   4367 ACPICA 
   4368 package. This utility summarizes the ACPI specification chapters for the 
   4369 ASL 
   4370 and AML languages. It generates under Linux/Unix as well as Windows, and 
   4371 provides the following functionality:
   4372     Find/display ASL operator(s) -- with description and syntax.
   4373     Find/display ASL keyword(s) -- with exact spelling and descriptions.
   4374     Find/display ACPI predefined name(s) -- with description, number
   4375         of arguments, and the return value data type.
   4376     Find/display AML opcode name(s) -- with opcode, arguments, and 
   4377 grammar.
   4378     Decode/display AML opcode -- with opcode name, arguments, and 
   4379 grammar.
   4380 
   4381 Service Layers: Make multi-thread support configurable. Conditionally 
   4382 compile 
   4383 the multi-thread support so that threading libraries will not be linked 
   4384 if 
   4385 not 
   4386 necessary. The only tool that requires multi-thread support is AcpiExec.
   4387 
   4388 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
   4389 of 
   4390 Bison appear to want the interface to yyerror to be a const char * (or at 
   4391 least this is a problem when generating iASL on some systems.) ACPICA BZ 
   4392 923 
   4393 Pierre Lejeune.
   4394 
   4395 Tools: Fix for systems where O_BINARY is not defined. Only used for 
   4396 Windows 
   4397 versions of the tools.
   4398 
   4399 ----------------------------------------
   4400 27 May 2011. Summary of changes for version 20110527:
   4401 
   4402 1) ACPI CA Core Subsystem:
   4403 
   4404 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
   4405 table 
   4406 signature. Now, only allow SSDT, OEMx, and a null signature. History:
   4407     1) Originally, we checked the table signature for "SSDT" or "PSDT".
   4408        (PSDT is now obsolete.)
   4409     2) We added support for OEMx tables, signature "OEM" plus a fourth
   4410        "don't care" character.
   4411     3) Valid tables were encountered with a null signature, so we just
   4412        gave up on validating the signature, (05/2008).
   4413     4) We encountered non-AML tables such as the MADT, which caused
   4414        interpreter errors and kernel faults. So now, we once again allow
   4415        only SSDT, OEMx, and now, also a null signature. (05/2011).
   4416 
   4417 Added the missing _TDL predefined name to the global name list in order 
   4418 to 
   4419 enable validation. Affects both the core ACPICA code and the iASL 
   4420 compiler.
   4421 
   4422 Example Code and Data Size: These are the sizes for the OS-independent 
   4423 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4424 debug 
   4425 version of the code includes the debug output trace mechanism and has a 
   4426 much 
   4427 larger code and data size.
   4428 
   4429   Previous Release (VC 9.0):
   4430     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   4431     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   4432   Current Release (VC 9.0):
   4433     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   4434     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4435 
   4436 2) iASL Compiler/Disassembler and Tools:
   4437 
   4438 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
   4439 the 
   4440 debugger command line. This adds support beyond simple integers -- 
   4441 including 
   4442 Strings, Buffers, and Packages. Includes support for nested packages. 
   4443 Increased the default command line buffer size to accommodate these 
   4444 arguments. 
   4445 See the ACPICA reference for details and syntax. ACPICA BZ 917.
   4446  
   4447 Debugger/AcpiExec: Implemented support for "default" method arguments for 
   4448 the 
   4449 Execute/Debug command. Now, the debugger will always invoke a control 
   4450 method 
   4451 with the required number of arguments -- even if the command line 
   4452 specifies 
   4453 none or insufficient arguments. It uses default integer values for any 
   4454 missing 
   4455 arguments. Also fixes a bug where only six method arguments maximum were 
   4456 supported instead of the required seven.
   4457 
   4458 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
   4459 and 
   4460 also return status in order to prevent buffer overruns. See the ACPICA 
   4461 reference for details and syntax. ACPICA BZ 921
   4462 
   4463 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
   4464 makefiles to simplify support for the two different but similar parser 
   4465 generators, bison and yacc.
   4466 
   4467 Updated the generic unix makefile for gcc 4. The default gcc version is 
   4468 now 
   4469 expected to be 4 or greater, since options specific to gcc 4 are used.
   4470 
   4471 ----------------------------------------
   4472 13 April 2011. Summary of changes for version 20110413:
   4473 
   4474 1) ACPI CA Core Subsystem:
   4475 
   4476 Implemented support to execute a so-called "orphan" _REG method under the 
   4477 EC 
   4478 device. This change will force the execution of a _REG method underneath 
   4479 the 
   4480 EC 
   4481 device even if there is no corresponding operation region of type 
   4482 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
   4483 compatible with Windows behavior. ACPICA BZ 875.
   4484 
   4485 Added more predefined methods that are eligible for automatic NULL 
   4486 package 
   4487 element removal. This change adds another group of predefined names to 
   4488 the 
   4489 list 
   4490 of names that can be repaired by having NULL package elements dynamically 
   4491 removed. This group are those methods that return a single variable-
   4492 length 
   4493 package containing simple data types such as integers, buffers, strings. 
   4494 This 
   4495 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
   4496 _PSL, 
   4497 _Sx, 
   4498 and _TZD. ACPICA BZ 914.
   4499 
   4500 Split and segregated all internal global lock functions to a new file, 
   4501 evglock.c.
   4502 
   4503 Updated internal address SpaceID for DataTable regions. Moved this 
   4504 internal 
   4505 space 
   4506 id in preparation for ACPI 5.0 changes that will include some new space 
   4507 IDs. 
   4508 This 
   4509 change should not affect user/host code.
   4510 
   4511 Example Code and Data Size: These are the sizes for the OS-independent 
   4512 acpica.lib 
   4513 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   4514 version of 
   4515 the code includes the debug output trace mechanism and has a much larger 
   4516 code 
   4517 and 
   4518 data size.
   4519 
   4520   Previous Release (VC 9.0):
   4521     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   4522     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   4523   Current Release (VC 9.0):
   4524     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   4525     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   4526 
   4527 2) iASL Compiler/Disassembler and Tools:
   4528 
   4529 iASL/DTC: Major update for new grammar features. Allow generic data types 
   4530 in 
   4531 custom ACPI tables. Field names are now optional. Any line can be split 
   4532 to 
   4533 multiple lines using the continuation char (\). Large buffers now use 
   4534 line-
   4535 continuation character(s) and no colon on the continuation lines. See the 
   4536 grammar 
   4537 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
   4538 Moore.
   4539 
   4540 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
   4541 statements. 
   4542 Since the parser stuffs a "zero" as the return value for these statements 
   4543 (due 
   4544 to 
   4545 the underlying AML grammar), they were seen as "return with value" by the 
   4546 iASL 
   4547 semantic checking. They are now seen correctly as "null" return 
   4548 statements.
   4549 
   4550 iASL: Check if a_REG declaration has a corresponding Operation Region. 
   4551 Adds a 
   4552 check for each _REG to ensure that there is in fact a corresponding 
   4553 operation 
   4554 region declaration in the same scope. If not, the _REG method is not very 
   4555 useful 
   4556 since it probably won't be executed. ACPICA BZ 915.
   4557 
   4558 iASL/DTC: Finish support for expression evaluation. Added a new 
   4559 expression 
   4560 parser 
   4561 that implements c-style operator precedence and parenthesization. ACPICA 
   4562 bugzilla 
   4563 908.
   4564 
   4565 Disassembler/DTC: Remove support for () and <> style comments in data 
   4566 tables. 
   4567 Now 
   4568 that DTC has full expression support, we don't want to have comment 
   4569 strings 
   4570 that 
   4571 start with a parentheses or a less-than symbol. Now, only the standard /* 
   4572 and 
   4573 // 
   4574 comments are supported, as well as the bracket [] comments.
   4575 
   4576 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
   4577 "unusual" 
   4578 headers in the acpidump file. Update the header validation to support 
   4579 these 
   4580 tables. Problem introduced in previous AcpiXtract version in the change 
   4581 to 
   4582 support "wrong checksum" error messages emitted by acpidump utility.
   4583 
   4584 iASL: Add a * option to generate all template files (as a synonym for 
   4585 ALL) 
   4586 as 
   4587 in 
   4588 "iasl -T *" or "iasl -T ALL".
   4589 
   4590 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
   4591 completely 
   4592 abort the compiler on "fatal" errors, simply should abort the current 
   4593 compile. 
   4594 This allows multiple compiles with a single (possibly wildcard) compiler 
   4595 invocation.
   4596 
   4597 ----------------------------------------
   4598 16 March 2011. Summary of changes for version 20110316:
   4599 
   4600 1) ACPI CA Core Subsystem:
   4601 
   4602 Fixed a problem caused by a _PRW method appearing at the namespace root 
   4603 scope 
   4604 during the setup of wake GPEs. A fault could occur if a _PRW directly 
   4605 under 
   4606 the 
   4607 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
   4608 
   4609 Implemented support for "spurious" Global Lock interrupts. On some 
   4610 systems, a 
   4611 global lock interrupt can occur without the pending flag being set. Upon 
   4612 a 
   4613 GL 
   4614 interrupt, we now ensure that a thread is actually waiting for the lock 
   4615 before 
   4616 signaling GL availability. Rafael Wysocki, Bob Moore.
   4617 
   4618 Example Code and Data Size: These are the sizes for the OS-independent 
   4619 acpica.lib 
   4620 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   4621 version of 
   4622 the code includes the debug output trace mechanism and has a much larger 
   4623 code 
   4624 and 
   4625 data size.
   4626 
   4627   Previous Release (VC 9.0):
   4628     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   4629     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   4630   Current Release (VC 9.0):
   4631     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   4632     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   4633 
   4634 2) iASL Compiler/Disassembler and Tools:
   4635 
   4636 Implemented full support for the "SLIC" ACPI table. Includes support in 
   4637 the 
   4638 header files, disassembler, table compiler, and template generator. Bob 
   4639 Moore, 
   4640 Lin Ming.
   4641 
   4642 AcpiXtract: Correctly handle embedded comments and messages from 
   4643 AcpiDump. 
   4644 Apparently some or all versions of acpidump will occasionally emit a 
   4645 comment 
   4646 like 
   4647 "Wrong checksum", etc., into the dump file. This was causing problems for 
   4648 AcpiXtract. ACPICA BZ 905.
   4649 
   4650 iASL: Fix the Linux makefile by removing an inadvertent double file 
   4651 inclusion. 
   4652 ACPICA BZ 913.
   4653 
   4654 AcpiExec: Update installation of operation region handlers. Install one 
   4655 handler 
   4656 for a user-defined address space. This is used by the ASL test suite 
   4657 (ASLTS).
   4658 
   4659 ----------------------------------------
   4660 11 February 2011. Summary of changes for version 20110211:
   4661 
   4662 1) ACPI CA Core Subsystem:
   4663 
   4664 Added a mechanism to defer _REG methods for some early-installed 
   4665 handlers. 
   4666 Most user handlers should be installed before call to 
   4667 AcpiEnableSubsystem. 
   4668 However, Event handlers and region handlers should be installed after 
   4669 AcpiInitializeObjects. Override handlers for the "default" regions should 
   4670 be 
   4671 installed early, however. This change executes all _REG methods for the 
   4672 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
   4673 chicken/egg issues between them. ACPICA BZ 848.
   4674 
   4675 Implemented an optimization for GPE detection. This optimization will 
   4676 simply 
   4677 ignore GPE registers that contain no enabled GPEs -- there is no need to 
   4678 read the register since this information is available internally. This 
   4679 becomes more important on machines with a large GPE space. ACPICA 
   4680 bugzilla 
   4681 884. Lin Ming. Suggestion from Joe Liu.
   4682 
   4683 Removed all use of the highly unreliable FADT revision field. The 
   4684 revision 
   4685 number in the FADT has been found to be completely unreliable and cannot 
   4686 be 
   4687 trusted. Only the actual table length can be used to infer the version. 
   4688 This 
   4689 change updates the ACPICA core and the disassembler so that both no 
   4690 longer 
   4691 even look at the FADT version and instead depend solely upon the FADT 
   4692 length.
   4693 
   4694 Fix an unresolved name issue for the no-debug and no-error-message source 
   4695 generation cases. The _AcpiModuleName was left undefined in these cases, 
   4696 but 
   4697 it is actually needed as a parameter to some interfaces. Define 
   4698 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
   4699 
   4700 Split several large files (makefiles and project files updated)
   4701   utglobal.c   -> utdecode.c
   4702   dbcomds.c    -> dbmethod.c dbnames.c
   4703   dsopcode.c   -> dsargs.c dscontrol.c
   4704   dsload.c     -> dsload2.c
   4705   aslanalyze.c -> aslbtypes.c aslwalks.c
   4706 
   4707 Example Code and Data Size: These are the sizes for the OS-independent 
   4708 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4709 debug version of the code includes the debug output trace mechanism and 
   4710 has 
   4711 a much larger code and data size.
   4712 
   4713   Previous Release (VC 9.0):
   4714     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   4715     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   4716   Current Release (VC 9.0):
   4717     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   4718     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   4719 
   4720 2) iASL Compiler/Disassembler and Tools:
   4721 
   4722 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
   4723 These are useful C-style macros with the standard definitions. ACPICA 
   4724 bugzilla 898.
   4725 
   4726 iASL/DTC: Added support for integer expressions and labels. Support for 
   4727 full 
   4728 expressions for all integer fields in all ACPI tables. Support for labels 
   4729 in 
   4730 "generic" portions of tables such as UEFI. See the iASL reference manual.
   4731 
   4732 Debugger: Added a command to display the status of global handlers. The 
   4733 "handlers" command will display op region, fixed event, and miscellaneous 
   4734 global handlers. installation status -- and for op regions, whether 
   4735 default 
   4736 or user-installed handler will be used.
   4737 
   4738 iASL: Warn if reserved method incorrectly returns a value. Many 
   4739 predefined 
   4740 names are defined such that they do not return a value. If implemented as 
   4741 a 
   4742 method, issue a warning if such a name explicitly returns a value. ACPICA 
   4743 Bugzilla 855.
   4744 
   4745 iASL: Added detection of GPE method name conflicts. Detects a conflict 
   4746 where 
   4747 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
   4748 (For 
   4749 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
   4750 
   4751 iASL/DTC: Fixed a couple input scanner issues with comments and line 
   4752 numbers. Comment remover could get confused and miss a comment ending. 
   4753 Fixed 
   4754 a problem with line counter maintenance.
   4755 
   4756 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
   4757 is 
   4758 no need to abort on simple errors within a field definition.
   4759 
   4760 Debugger: Simplified the output of the help command. All help output now 
   4761 in 
   4762 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
   4763 
   4764 ----------------------------------------
   4765 12 January 2011. Summary of changes for version 20110112:
   4766 
   4767 1) ACPI CA Core Subsystem:
   4768 
   4769 Fixed a race condition between method execution and namespace walks that 
   4770 can 
   4771 possibly cause a fault. The problem was apparently introduced in version 
   4772 20100528 as a result of a performance optimization that reduces the 
   4773 number 
   4774 of 
   4775 namespace walks upon method exit by using the delete_namespace_subtree 
   4776 function instead of the delete_namespace_by_owner function used 
   4777 previously. 
   4778 Bug is a missing namespace lock in the delete_namespace_subtree function. 
   4779 dana.myers (a] oracle.com
   4780 
   4781 Fixed several issues and a possible fault with the automatic "serialized" 
   4782 method support. History: This support changes a method to "serialized" on 
   4783 the 
   4784 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
   4785 possibility that it cannot handle reentrancy. This fix repairs a couple 
   4786 of 
   4787 issues seen in the field, especially on machines with many cores:
   4788 
   4789     1) Delete method children only upon the exit of the last thread,
   4790        so as to not delete objects out from under other running threads
   4791       (and possibly causing a fault.)
   4792     2) Set the "serialized" bit for the method only upon the exit of the
   4793        Last thread, so as to not cause deadlock when running threads
   4794        attempt to exit.
   4795     3) Cleanup the use of the AML "MethodFlags" and internal method flags
   4796        so that there is no longer any confusion between the two.
   4797 
   4798     Lin Ming, Bob Moore. Reported by dana.myers (a] oracle.com.
   4799 
   4800 Debugger: Now lock the namespace for duration of a namespace dump. 
   4801 Prevents 
   4802 issues if the namespace is changing dynamically underneath the debugger. 
   4803 Especially affects temporary namespace nodes, since the debugger displays 
   4804 these also.
   4805 
   4806 Updated the ordering of include files. The ACPICA headers should appear 
   4807 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
   4808 set 
   4809 any necessary compiler-specific defines, etc. Affects the ACPI-related 
   4810 tools 
   4811 and utilities.
   4812 
   4813 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
   4814 copyright 
   4815 to all module headers and signons, including the Linux header. This 
   4816 affects 
   4817 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
   4818 utilities.
   4819 
   4820 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
   4821 project files for VC++ 6.0 are now obsolete. New project files can be 
   4822 found 
   4823 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
   4824 details.
   4825 
   4826 Example Code and Data Size: These are the sizes for the OS-independent 
   4827 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4828 debug version of the code includes the debug output trace mechanism and 
   4829 has a 
   4830 much larger code and data size.
   4831 
   4832   Previous Release (VC 6.0):
   4833     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   4834     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   4835   Current Release (VC 9.0):
   4836     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   4837     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   4838 
   4839 2) iASL Compiler/Disassembler and Tools:
   4840 
   4841 iASL: Added generic data types to the Data Table compiler. Add "generic" 
   4842 data 
   4843 types such as UINT32, String, Unicode, etc., to simplify the generation 
   4844 of 
   4845 platform-defined tables such as UEFI. Lin Ming.
   4846 
   4847 iASL: Added listing support for the Data Table Compiler. Adds listing 
   4848 support 
   4849 (-l) to display actual binary output for each line of input code.
   4850 
   4851 ----------------------------------------
   4852 09 December 2010. Summary of changes for version 20101209:
   4853 
   4854 1) ACPI CA Core Subsystem:
   4855 
   4856 Completed the major overhaul of the GPE support code that was begun in 
   4857 July 
   4858 2010. Major features include: removal of _PRW execution in ACPICA (host 
   4859 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
   4860 changes to existing interfaces, simplification of GPE handler operation, 
   4861 and 
   4862 a handful of new interfaces:
   4863 
   4864     AcpiUpdateAllGpes
   4865     AcpiFinishGpe
   4866     AcpiSetupGpeForWake
   4867     AcpiSetGpeWakeMask
   4868     One new file, evxfgpe.c to consolidate all external GPE interfaces.
   4869 
   4870 See the ACPICA Programmer Reference for full details and programming 
   4871 information. See the new section 4.4 "General Purpose Event (GPE) 
   4872 Support" 
   4873 for a full overview, and section 8.7 "ACPI General Purpose Event 
   4874 Management" 
   4875 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
   4876 Ming, 
   4877 Bob Moore, Rafael Wysocki.
   4878 
   4879 Implemented a new GPE feature for Windows compatibility, the "Implicit 
   4880 Wake 
   4881 GPE Notify". This feature will automatically issue a Notify(2) on a 
   4882 device 
   4883 when a Wake GPE is received if there is no corresponding GPE method or 
   4884 handler. ACPICA BZ 870.
   4885 
   4886 Fixed a problem with the Scope() operator during table parse and load 
   4887 phase. 
   4888 During load phase (table load or method execution), the scope operator 
   4889 should 
   4890 not enter the target into the namespace. Instead, it should open a new 
   4891 scope 
   4892 at the target location. Linux BZ 19462, ACPICA BZ 882.
   4893 
   4894 Example Code and Data Size: These are the sizes for the OS-independent 
   4895 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   4896 debug version of the code includes the debug output trace mechanism and 
   4897 has a 
   4898 much larger code and data size.
   4899 
   4900   Previous Release:
   4901     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   4902     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   4903   Current Release:
   4904     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   4905     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   4906 
   4907 2) iASL Compiler/Disassembler and Tools:
   4908 
   4909 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
   4910 are 
   4911 "bus-specific" per the ACPI specification, and therefore any characters 
   4912 are 
   4913 acceptable. The only checks that can be performed are for a null string 
   4914 and 
   4915 perhaps for a leading asterisk. ACPICA BZ 886.
   4916 
   4917 iASL: Fixed a problem where a syntax error that caused a premature EOF 
   4918 condition on the source file emitted a very confusing error message. The 
   4919 premature EOF is now detected correctly. ACPICA BZ 891.
   4920 
   4921 Disassembler: Decode the AccessSize within a Generic Address Structure 
   4922 (byte 
   4923 access, word access, etc.) Note, this field does not allow arbitrary bit 
   4924 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
   4925 
   4926 New: AcpiNames utility - Example namespace dump utility. Shows an example 
   4927 of 
   4928 ACPICA configuration for a minimal namespace dump utility. Uses table and 
   4929 namespace managers, but no AML interpreter. Does not add any 
   4930 functionality 
   4931 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
   4932 partition and configure ACPICA. ACPICA BZ 883.
   4933 
   4934 AML Debugger: Increased the debugger buffer size for method return 
   4935 objects. 
   4936 Was 4K, increased to 16K. Also enhanced error messages for debugger 
   4937 method 
   4938 execution, including the buffer overflow case.
   4939 
   4940 ----------------------------------------
   4941 13 October 2010. Summary of changes for version 20101013:
   4942 
   4943 1) ACPI CA Core Subsystem:
   4944 
   4945 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
   4946 now 
   4947 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
   4948 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
   4949 
   4950 Changed the type of the predefined namespace object _TZ from ThermalZone 
   4951 to 
   4952 Device. This was found to be confusing to the host software that 
   4953 processes 
   4954 the various thermal zones, since _TZ is not really a ThermalZone. 
   4955 However, 
   4956 a 
   4957 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
   4958 Zhang.
   4959 
   4960 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
   4961 string is "Windows 2006 SP2".
   4962 
   4963 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
   4964 nsrepair 
   4965 code automatically repairs _HID-related strings, this type of code is no 
   4966 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
   4967 878.
   4968 
   4969 Example Code and Data Size: These are the sizes for the OS-independent 
   4970 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   4971 debug version of the code includes the debug output trace mechanism and 
   4972 has a 
   4973 much larger code and data size.
   4974 
   4975   Previous Release:
   4976     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   4977     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   4978   Current Release:
   4979     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   4980     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   4981 
   4982 2) iASL Compiler/Disassembler and Tools:
   4983 
   4984 iASL: Implemented additional compile-time validation for _HID strings. 
   4985 The 
   4986 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
   4987 length 
   4988 of 
   4989 the string must be exactly seven or eight characters. For both _HID and 
   4990 _CID 
   4991 strings, all characters must be alphanumeric. ACPICA BZ 874.
   4992 
   4993 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
   4994 descriptors that are mostly or all zeros, with the expectation that they 
   4995 will 
   4996 be filled in at runtime. iASL now allows this as long as there is a 
   4997 "resource 
   4998 tag" (name) associated with the descriptor, which gives the ASL a handle 
   4999 needed to modify the descriptor. ACPICA BZ 873.
   5000 
   5001 Added single-thread support to the generic Unix application OSL. 
   5002 Primarily 
   5003 for iASL support, this change removes the use of semaphores in the 
   5004 single-
   5005 threaded ACPICA tools/applications - increasing performance. The 
   5006 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
   5007 option. ACPICA BZ 879.
   5008 
   5009 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
   5010 support 
   5011 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
   5012 
   5013 iASL: Moved all compiler messages to a new file, aslmessages.h.
   5014 
   5015 ----------------------------------------
   5016 15 September 2010. Summary of changes for version 20100915:
   5017 
   5018 1) ACPI CA Core Subsystem:
   5019 
   5020 Removed the AcpiOsDerivePciId OSL interface. The various host 
   5021 implementations 
   5022 of this function were not OS-dependent and are now obsolete and can be 
   5023 removed from all host OSLs. This function has been replaced by 
   5024 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
   5025 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
   5026 module, hwpci.c. ACPICA BZ 857.
   5027 
   5028 Implemented a dynamic repair for _HID and _CID strings. The following 
   5029 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
   5030 string, and 2) the entire string is uppercased. Both repairs are in 
   5031 accordance with the ACPI specification and will simplify host driver 
   5032 code. 
   5033 ACPICA BZ 871.
   5034 
   5035 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
   5036 always UINT64. This simplifies the ACPICA code, especially any printf 
   5037 output. 
   5038 UINT64 is the only common data type for all thread_id types across all 
   5039 operating systems. It is now up to the host OSL to cast the native 
   5040 thread_id 
   5041 type to UINT64 before returning the value to ACPICA (via 
   5042 AcpiOsGetThreadId). 
   5043 Lin Ming, Bob Moore.
   5044 
   5045 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
   5046 "inline" 
   5047 keyword is not standard across compilers, and this type allows inline to 
   5048 be 
   5049 configured on a per-compiler basis. Lin Ming.
   5050 
   5051 Made the system global AcpiGbl_SystemAwakeAndRunning publically 
   5052 available. 
   5053 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
   5054 value 
   5055 during suspend/restore operations. ACPICA BZ 869.
   5056 
   5057 All code that implements error/warning messages with the "ACPI:" prefix 
   5058 has 
   5059 been moved to a new module, utxferror.c.
   5060 
   5061 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
   5062 it 
   5063 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
   5064 
   5065 Example Code and Data Size: These are the sizes for the OS-independent 
   5066 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5067 debug version of the code includes the debug output trace mechanism and 
   5068 has a 
   5069 much larger code and data size.
   5070 
   5071   Previous Release:
   5072     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   5073     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   5074   Current Release:
   5075     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   5076     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   5077 
   5078 2) iASL Compiler/Disassembler and Tools:
   5079 
   5080 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
   5081 file. 
   5082 This keeps the output files free of random error messages that may 
   5083 originate 
   5084 from within the namespace/interpreter code. Used this opportunity to 
   5085 merge 
   5086 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
   5087 866. Lin Ming, Bob Moore.
   5088 
   5089 Tools: update some printfs for ansi warnings on size_t. Handle width 
   5090 change 
   5091 of size_t on 32-bit versus 64-bit generations. Lin Ming.
   5092 
   5093 ----------------------------------------
   5094 06 August 2010. Summary of changes for version 20100806:
   5095 
   5096 1) ACPI CA Core Subsystem:
   5097 
   5098 Designed and implemented a new host interface to the _OSI support code. 
   5099 This 
   5100 will allow the host to dynamically add or remove multiple _OSI strings, 
   5101 as 
   5102 well as install an optional handler that is called for each _OSI 
   5103 invocation. 
   5104 Also added a new AML debugger command, 'osi' to display and modify the 
   5105 global 
   5106 _OSI string table, and test support in the AcpiExec utility. See the 
   5107 ACPICA 
   5108 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
   5109 New Functions:
   5110     AcpiInstallInterface - Add an _OSI string.
   5111     AcpiRemoveInterface - Delete an _OSI string.
   5112     AcpiInstallInterfaceHandler - Install optional _OSI handler.
   5113 Obsolete Functions:
   5114     AcpiOsValidateInterface - no longer used.
   5115 New Files:
   5116     source/components/utilities/utosi.c
   5117 
   5118 Re-introduced the support to enable multi-byte transfers for Embedded 
   5119 Controller (EC) operation regions. A reported problem was found to be a 
   5120 bug 
   5121 in the host OS, not in the multi-byte support. Previously, the maximum 
   5122 data 
   5123 size passed to the EC operation region handler was a single byte. There 
   5124 are 
   5125 often EC Fields larger than one byte that need to be transferred, and it 
   5126 is 
   5127 useful for the EC driver to lock these as a single transaction. This 
   5128 change 
   5129 enables single transfers larger than 8 bits. This effectively changes the 
   5130 access to the EC space from ByteAcc to AnyAcc, and will probably require 
   5131 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
   5132 bit 
   5133 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
   5134 
   5135 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
   5136 prototype in acpiosxf.h had the output value pointer as a (void *).
   5137 It should be a (UINT64 *). This may affect some host OSL code.
   5138 
   5139 Fixed a couple problems with the recently modified Linux makefiles for 
   5140 iASL 
   5141 and AcpiExec. These new makefiles place the generated object files in the 
   5142 local directory so that there can be no collisions between the files that 
   5143 are 
   5144 shared between them that are compiled with different options.
   5145 
   5146 Example Code and Data Size: These are the sizes for the OS-independent 
   5147 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5148 debug version of the code includes the debug output trace mechanism and 
   5149 has a 
   5150 much larger code and data size.
   5151 
   5152   Previous Release:
   5153     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   5154     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   5155   Current Release:
   5156     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   5157     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   5158 
   5159 2) iASL Compiler/Disassembler and Tools:
   5160 
   5161 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
   5162 the 
   5163 namespace from and disassemble an entire group of AML files. Useful for 
   5164 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
   5165 and 
   5166 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
   5167 
   5168 iASL: Allow multiple invocations of -e option. This change allows 
   5169 multiple 
   5170 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
   5171 834. 
   5172 Lin Ming.
   5173 
   5174 ----------------------------------------
   5175 02 July 2010. Summary of changes for version 20100702:
   5176 
   5177 1) ACPI CA Core Subsystem:
   5178 
   5179 Implemented several updates to the recently added GPE reference count 
   5180 support. The model for "wake" GPEs is changing to give the host OS 
   5181 complete 
   5182 control of these GPEs. Eventually, the ACPICA core will not execute any 
   5183 _PRW 
   5184 methods, since the host already must execute them. Also, additional 
   5185 changes 
   5186 were made to help ensure that the reference counts are kept in proper 
   5187 synchronization with reality. Rafael J. Wysocki.
   5188 
   5189 1) Ensure that GPEs are not enabled twice during initialization.
   5190 2) Ensure that GPE enable masks stay in sync with the reference count.
   5191 3) Do not inadvertently enable GPEs when writing GPE registers.
   5192 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
   5193 interface. This interface will set or clear individual GPEs for wakeup.
   5194 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
   5195 interfaces 
   5196 are now used for "runtime" GPEs only.
   5197 
   5198 Changed the behavior of the GPE install/remove handler interfaces. The 
   5199 GPE 
   5200 is 
   5201 no longer disabled during this process, as it was found to cause problems 
   5202 on 
   5203 some machines. Rafael J. Wysocki.
   5204 
   5205 Reverted a change introduced in version 20100528 to enable Embedded 
   5206 Controller multi-byte transfers. This change was found to cause problems 
   5207 with 
   5208 Index Fields and possibly Bank Fields. It will be reintroduced when these 
   5209 problems have been resolved.
   5210 
   5211 Fixed a problem with references to Alias objects within Package Objects. 
   5212 A 
   5213 reference to an Alias within the definition of a Package was not always 
   5214 resolved properly. Aliases to objects like Processors, Thermal zones, 
   5215 etc. 
   5216 were resolved to the actual object instead of a reference to the object 
   5217 as 
   5218 it 
   5219 should be. Package objects are only allowed to contain integer, string, 
   5220 buffer, package, and reference objects. Redhat bugzilla 608648.
   5221 
   5222 Example Code and Data Size: These are the sizes for the OS-independent 
   5223 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5224 debug version of the code includes the debug output trace mechanism and 
   5225 has a 
   5226 much larger code and data size.
   5227 
   5228   Previous Release:
   5229     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   5230     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   5231   Current Release:
   5232     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   5233     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   5234 
   5235 2) iASL Compiler/Disassembler and Tools:
   5236 
   5237 iASL: Implemented a new compiler subsystem to allow definition and 
   5238 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
   5239 These 
   5240 are called "ACPI Data Tables", and the new compiler is the "Data Table 
   5241 Compiler". This compiler is intended to simplify the existing error-prone 
   5242 process of creating these tables for the BIOS, as well as allowing the 
   5243 disassembly, modification, recompilation, and override of existing ACPI 
   5244 data 
   5245 tables. See the iASL User Guide for detailed information.
   5246 
   5247 iASL: Implemented a new Template Generator option in support of the new 
   5248 Data 
   5249 Table Compiler. This option will create examples of all known ACPI tables 
   5250 that can be used as the basis for table development. See the iASL 
   5251 documentation and the -T option.
   5252 
   5253 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
   5254 Descriptor Table).
   5255 
   5256 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
   5257 object files in the local directory so that there can be no collisions 
   5258 between the shared files between them that are generated with different 
   5259 options.
   5260 
   5261 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
   5262 Use 
   5263 the #define __APPLE__ to enable this support.
   5264 
   5265 ----------------------------------------
   5266 28 May 2010. Summary of changes for version 20100528:
   5267 
   5268 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
   5269 available at www.acpi.info. This is primarily an errata release.
   5270 
   5271 1) ACPI CA Core Subsystem:
   5272 
   5273 Undefined ACPI tables: We are looking for the definitions for the 
   5274 following 
   5275 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
   5276 
   5277 Implemented support to enable multi-byte transfers for Embedded 
   5278 Controller 
   5279 (EC) operation regions. Previously, the maximum data size passed to the 
   5280 EC 
   5281 operation region handler was a single byte. There are often EC Fields 
   5282 larger 
   5283 than one byte that need to be transferred, and it is useful for the EC 
   5284 driver 
   5285 to lock these as a single transaction. This change enables single 
   5286 transfers 
   5287 larger than 8 bits. This effectively changes the access to the EC space 
   5288 from 
   5289 ByteAcc to AnyAcc, and will probably require changes to the host OS 
   5290 Embedded 
   5291 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
   5292 bit 
   5293 transfers. Alexey Starikovskiy, Lin Ming
   5294 
   5295 Implemented a performance enhancement for namespace search and access. 
   5296 This 
   5297 change enhances the performance of namespace searches and walks by adding 
   5298 a 
   5299 backpointer to the parent in each namespace node. On large namespaces, 
   5300 this 
   5301 change can improve overall ACPI performance by up to 9X. Adding a pointer 
   5302 to 
   5303 each namespace node increases the overall size of the internal namespace 
   5304 by 
   5305 about 5%, since each namespace entry usually consists of both a namespace 
   5306 node and an ACPI operand object. However, this is the first growth of the 
   5307 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
   5308 
   5309 Implemented a performance optimization that reduces the number of 
   5310 namespace 
   5311 walks. On control method exit, only walk the namespace if the method is 
   5312 known 
   5313 to have created namespace objects outside of its local scope. Previously, 
   5314 the 
   5315 entire namespace was traversed on each control method exit. This change 
   5316 can 
   5317 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
   5318 Moore.
   5319 
   5320 Added support to truncate I/O addresses to 16 bits for Windows 
   5321 compatibility. 
   5322 Some ASL code has been seen in the field that inadvertently has bits set 
   5323 above bit 15. This feature is optional and is enabled if the BIOS 
   5324 requests 
   5325 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
   5326 Garrett, Bob Moore.
   5327 
   5328 Added support to limit the maximum time for the ASL Sleep() operator. To 
   5329 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
   5330 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
   5331 bugzilla 854.
   5332 
   5333 Added run-time validation support for the _WDG and_WED Microsoft 
   5334 predefined 
   5335 methods. These objects are defined by "Windows Instrumentation", and are 
   5336 not 
   5337 part of the ACPI spec. ACPICA BZ 860.
   5338 
   5339 Expanded all statistic counters used during namespace and device 
   5340 initialization from 16 to 32 bits in order to support very large 
   5341 namespaces.
   5342 
   5343 Replaced all instances of %d in printf format specifiers with %u since 
   5344 nearly 
   5345 all integers in ACPICA are unsigned.
   5346 
   5347 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
   5348 returned 
   5349 as AE_NO_HANDLER.
   5350 
   5351 Example Code and Data Size: These are the sizes for the OS-independent 
   5352 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5353 debug version of the code includes the debug output trace mechanism and 
   5354 has a 
   5355 much larger code and data size.
   5356 
   5357   Previous Release:
   5358     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   5359     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   5360   Current Release:
   5361     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   5362     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   5363 
   5364 2) iASL Compiler/Disassembler and Tools:
   5365 
   5366 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
   5367 methods. These objects are defined by "Windows Instrumentation", and are 
   5368 not 
   5369 part of the ACPI spec. ACPICA BZ 860.
   5370 
   5371 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
   5372 option will disable the tracking mechanism, which improves performance 
   5373 considerably.
   5374 
   5375 AcpiExec: Restructured the command line options into -d (disable) and -e 
   5376 (enable) options.
   5377 
   5378 ----------------------------------------
   5379 28 April 2010. Summary of changes for version 20100428:
   5380 
   5381 1) ACPI CA Core Subsystem:
   5382 
   5383 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
   5384 including FADT-based and GPE Block Devices, execute any _PRW methods in 
   5385 the 
   5386 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
   5387 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
   5388 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
   5389 Devices. Provides compatibility with other ACPI implementations. Two new 
   5390 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
   5391 Moore.
   5392 
   5393 Fixed a regression introduced in version 20100331 within the table 
   5394 manager 
   5395 where initial table loading could fail. This was introduced in the fix 
   5396 for 
   5397 AcpiReallocateRootTable. Also, renamed some of fields in the table 
   5398 manager 
   5399 data structures to clarify their meaning and use.
   5400 
   5401 Fixed a possible allocation overrun during internal object copy in 
   5402 AcpiUtCopySimpleObject. The original code did not correctly handle the 
   5403 case 
   5404 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
   5405 847.
   5406 
   5407 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
   5408 possible access beyond end-of-allocation. Also, now fully validate 
   5409 descriptor 
   5410 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
   5411 
   5412 Example Code and Data Size: These are the sizes for the OS-independent 
   5413 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5414 debug version of the code includes the debug output trace mechanism and 
   5415 has a 
   5416 much larger code and data size.
   5417 
   5418   Previous Release:
   5419     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   5420     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   5421   Current Release:
   5422     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   5423     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   5424 
   5425 2) iASL Compiler/Disassembler and Tools:
   5426 
   5427 iASL: Implemented Min/Max/Len/Gran validation for address resource 
   5428 descriptors. This change implements validation for the address fields 
   5429 that 
   5430 are common to all address-type resource descriptors. These checks are 
   5431 implemented: Checks for valid Min/Max, length within the Min/Max window, 
   5432 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
   5433 per 
   5434 table 6-40 in the ACPI 4.0a specification. Also split the large 
   5435 aslrestype1.c 
   5436 and aslrestype2.c files into five new files. ACPICA BZ 840.
   5437 
   5438 iASL: Added support for the _Wxx predefined names. This support was 
   5439 missing 
   5440 and these names were not recognized by the compiler as valid predefined 
   5441 names. ACPICA BZ 851.
   5442 
   5443 iASL: Added an error for all predefined names that are defined to return 
   5444 no 
   5445 value and thus must be implemented as Control Methods. These include all 
   5446 of 
   5447 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
   5448 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
   5449 
   5450 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
   5451 an 
   5452 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
   5453 be 
   5454 dynamically loaded via the Load() operator. Also cleaned up output for 
   5455 the 
   5456 -
   5457 ta and -tc options. ACPICA BZ 853.
   5458 
   5459 Tests: Added a new file with examples of extended iASL error checking. 
   5460 Demonstrates the advanced error checking ability of the iASL compiler. 
   5461 Available at tests/misc/badcode.asl.
   5462 
   5463 ----------------------------------------
   5464 31 March 2010. Summary of changes for version 20100331:
   5465 
   5466 1) ACPI CA Core Subsystem:
   5467 
   5468 Completed a major update for the GPE support in order to improve support 
   5469 for 
   5470 shared GPEs and to simplify both host OS and ACPICA code. Added a 
   5471 reference 
   5472 count mechanism to support shared GPEs that require multiple device 
   5473 drivers. 
   5474 Several external interfaces have changed. One external interface has been 
   5475 removed. One new external interface was added. Most of the GPE external 
   5476 interfaces now use the GPE spinlock instead of the events mutex (and the 
   5477 Flags parameter for many GPE interfaces has been removed.) See the 
   5478 updated 
   5479 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
   5480 Rafael 
   5481 Wysocki. ACPICA BZ 831.
   5482 
   5483 Changed:
   5484     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
   5485 Removed:
   5486     AcpiSetGpeType
   5487 New:
   5488     AcpiSetGpe
   5489 
   5490 Implemented write support for DataTable operation regions. These regions 
   5491 are 
   5492 defined via the DataTableRegion() operator. Previously, only read support 
   5493 was 
   5494 implemented. The ACPI specification allows DataTableRegions to be 
   5495 read/write, 
   5496 however.
   5497 
   5498 Implemented a new subsystem option to force a copy of the DSDT to local 
   5499 memory. Optionally copy the entire DSDT to local memory (instead of 
   5500 simply 
   5501 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
   5502 replace 
   5503 the original DSDT, creating the need for this option. Default is FALSE, 
   5504 do 
   5505 not copy the DSDT.
   5506 
   5507 Implemented detection of a corrupted or replaced DSDT. This change adds 
   5508 support to detect a DSDT that has been corrupted and/or replaced from 
   5509 outside 
   5510 the OS (by firmware). This is typically catastrophic for the system, but 
   5511 has 
   5512 been seen on some machines. Once this problem has been detected, the DSDT 
   5513 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
   5514 
   5515 Fixed two problems with AcpiReallocateRootTable during the root table 
   5516 copy. 
   5517 When copying the root table to the new allocation, the length used was 
   5518 incorrect. The new size was used instead of the current table size, 
   5519 meaning 
   5520 too much data was copied. Also, the count of available slots for ACPI 
   5521 tables 
   5522 was not set correctly. Alexey Starikovskiy, Bob Moore.
   5523 
   5524 Example Code and Data Size: These are the sizes for the OS-independent 
   5525 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5526 debug version of the code includes the debug output trace mechanism and 
   5527 has a 
   5528 much larger code and data size.
   5529 
   5530   Previous Release:
   5531     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   5532     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   5533   Current Release:
   5534     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   5535     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   5536 
   5537 2) iASL Compiler/Disassembler and Tools:
   5538 
   5539 iASL: Implement limited typechecking for values returned from predefined 
   5540 control methods. The type of any returned static (unnamed) object is now 
   5541 validated. For example, Return(1). ACPICA BZ 786.
   5542 
   5543 iASL: Fixed a predefined name object verification regression. Fixes a 
   5544 problem 
   5545 introduced in version 20100304. An error is incorrectly generated if a 
   5546 predefined name is declared as a static named object with a value defined 
   5547 using the keywords "Zero", "One", or "Ones". Lin Ming.
   5548 
   5549 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
   5550 by 
   5551 reducing the requested registry access rights. ACPICA BZ 842.
   5552 
   5553 Disassembler: fixed a possible fault when generating External() 
   5554 statements. 
   5555 Introduced in commit ae7d6fd: Properly handle externals with parent-
   5556 prefix 
   5557 (carat). Fixes a string length allocation calculation. Lin Ming.
   5558 
   5559 ----------------------------------------
   5560 04 March 2010. Summary of changes for version 20100304:
   5561 
   5562 1) ACPI CA Core Subsystem:
   5563 
   5564 Fixed a possible problem with the AML Mutex handling function 
   5565 AcpiExReleaseMutex where the function could fault under the very rare 
   5566 condition when the interpreter has blocked, the interpreter lock is 
   5567 released, 
   5568 the interpreter is then reentered via the same thread, and attempts to 
   5569 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
   5570 Lin 
   5571 Ming.
   5572 
   5573 Implemented additional configuration support for the AML "Debug Object". 
   5574 Output from the debug object can now be enabled via a global variable, 
   5575 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
   5576 debugging. 
   5577 This debug output is now available in the release version of ACPICA 
   5578 instead 
   5579 of just the debug version. Also, the entire debug output module can now 
   5580 be 
   5581 configured out of the ACPICA build if desired. One new file added, 
   5582 executer/exdebug.c. Lin Ming, Bob Moore.
   5583 
   5584 Added header support for the ACPI MCHI table (Management Controller Host 
   5585 Interface Table). This table was added in ACPI 4.0, but the defining 
   5586 document 
   5587 has only recently become available.
   5588 
   5589 Standardized output of integer values for ACPICA warnings/errors. Always 
   5590 use 
   5591 0x prefix for hex output, always use %u for unsigned integer decimal 
   5592 output. 
   5593 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
   5594 400 
   5595 invocations.) These invocations were converted from the original 
   5596 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
   5597 
   5598 Example Code and Data Size: These are the sizes for the OS-independent 
   5599 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5600 debug version of the code includes the debug output trace mechanism and 
   5601 has a 
   5602 much larger code and data size.
   5603 
   5604   Previous Release:
   5605     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   5606     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   5607   Current Release:
   5608     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   5609     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   5610 
   5611 2) iASL Compiler/Disassembler and Tools:
   5612 
   5613 iASL: Implemented typechecking support for static (non-control method) 
   5614 predefined named objects that are declared with the Name() operator. For 
   5615 example, the type of this object is now validated to be of type Integer: 
   5616 Name(_BBN, 1). This change migrates the compiler to using the core 
   5617 predefined 
   5618 name table instead of maintaining a local version. Added a new file, 
   5619 aslpredef.c. ACPICA BZ 832.
   5620 
   5621 Disassembler: Added support for the ACPI 4.0 MCHI table.
   5622 
   5623 ----------------------------------------
   5624 21 January 2010. Summary of changes for version 20100121:
   5625 
   5626 1) ACPI CA Core Subsystem:
   5627 
   5628 Added the 2010 copyright to all module headers and signons. This affects 
   5629 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
   5630 tools/utilities, and the test suites.
   5631 
   5632 Implemented a change to the AcpiGetDevices interface to eliminate 
   5633 unnecessary 
   5634 invocations of the _STA method. In the case where a specific _HID is 
   5635 requested, do not run _STA until a _HID match is found. This eliminates 
   5636 potentially dozens of _STA calls during a search for a particular 
   5637 device/HID, 
   5638 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
   5639 
   5640 Implemented an additional repair for predefined method return values. 
   5641 Attempt 
   5642 to repair unexpected NULL elements within returned Package objects. 
   5643 Create 
   5644 an 
   5645 Integer of value zero, a NULL String, or a zero-length Buffer as 
   5646 appropriate. 
   5647 ACPICA BZ 818. Lin Ming, Bob Moore.
   5648 
   5649 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
   5650 the 
   5651 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
   5652 (with 
   5653 64-bit AML integers). It is now obsolete and this change removes it from 
   5654 the 
   5655 ACPICA code base, replaced by UINT64. The original typedef has been 
   5656 retained 
   5657 for now for compatibility with existing device driver code. ACPICA BZ 
   5658 824.
   5659 
   5660 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
   5661 in 
   5662 the parse tree object.
   5663 
   5664 Added additional warning options for the gcc-4 generation. Updated the 
   5665 source 
   5666 accordingly. This includes some code restructuring to eliminate 
   5667 unreachable 
   5668 code, elimination of some gotos, elimination of unused return values, 
   5669 some 
   5670 additional casting, and removal of redundant declarations.
   5671 
   5672 Example Code and Data Size: These are the sizes for the OS-independent 
   5673 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5674 debug version of the code includes the debug output trace mechanism and 
   5675 has a 
   5676 much larger code and data size.
   5677 
   5678   Previous Release:
   5679     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   5680     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   5681   Current Release:
   5682     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   5683     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   5684 
   5685 2) iASL Compiler/Disassembler and Tools:
   5686 
   5687 No functional changes for this release.
   5688 
   5689 ----------------------------------------
   5690 14 December 2009. Summary of changes for version 20091214:
   5691 
   5692 1) ACPI CA Core Subsystem:
   5693 
   5694 Enhanced automatic data type conversions for predefined name repairs. 
   5695 This 
   5696 change expands the automatic repairs/conversions for predefined name 
   5697 return 
   5698 values to make Integers, Strings, and Buffers fully interchangeable. 
   5699 Also, 
   5700 a 
   5701 Buffer can be converted to a Package of Integers if necessary. The 
   5702 nsrepair.c 
   5703 module was completely restructured. Lin Ming, Bob Moore.
   5704 
   5705 Implemented automatic removal of null package elements during predefined 
   5706 name 
   5707 repairs. This change will automatically remove embedded and trailing NULL 
   5708 package elements from returned package objects that are defined to 
   5709 contain 
   5710 a 
   5711 variable number of sub-packages. The driver is then presented with a 
   5712 package 
   5713 with no null elements to deal with. ACPICA BZ 819.
   5714 
   5715 Implemented a repair for the predefined _FDE and _GTM names. The expected 
   5716 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
   5717 two 
   5718 possible problems (both seen in the field), where a package of integers 
   5719 is 
   5720 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
   5721 Kim.
   5722 
   5723 Implemented additional module-level code support. This change will 
   5724 properly 
   5725 execute module-level code that is not at the root of the namespace (under 
   5726 a 
   5727 Device object, etc.). Now executes the code within the current scope 
   5728 instead 
   5729 of the root. ACPICA BZ 762. Lin Ming.
   5730 
   5731 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
   5732 a 
   5733 problem where mutex errors can occur when running a _REG method that is 
   5734 in 
   5735 the same scope as a method-defined operation region or an operation 
   5736 region 
   5737 under a module-level IF block. This type of code is rare, so the problem 
   5738 has 
   5739 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
   5740 
   5741 Fixed a possible memory leak during module-level code execution. An 
   5742 object 
   5743 could be leaked for each block of executed module-level code if the 
   5744 interpreter slack mode is enabled This change deletes any implicitly 
   5745 returned 
   5746 object from the module-level code block. Lin Ming.
   5747 
   5748 Removed messages for successful predefined repair(s). The repair 
   5749 mechanism 
   5750 was considered too wordy. Now, messages are only unconditionally emitted 
   5751 if 
   5752 the return object cannot be repaired. Existing messages for successful 
   5753 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
   5754 827.
   5755 
   5756 Example Code and Data Size: These are the sizes for the OS-independent 
   5757 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5758 debug version of the code includes the debug output trace mechanism and 
   5759 has a 
   5760 much larger code and data size.
   5761 
   5762   Previous Release:
   5763     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   5764     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   5765   Current Release:
   5766     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   5767     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   5768 
   5769 2) iASL Compiler/Disassembler and Tools:
   5770 
   5771 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
   5772 files 
   5773 were no longer automatically removed at the termination of the compile.
   5774 
   5775 acpiexec: Implemented the -f option to specify default region fill value. 
   5776 This option specifies the value used to initialize buffers that simulate 
   5777 operation regions. Default value is zero. Useful for debugging problems 
   5778 that 
   5779 depend on a specific initial value for a region or field.
   5780 
   5781 ----------------------------------------
   5782 12 November 2009. Summary of changes for version 20091112:
   5783 
   5784 1) ACPI CA Core Subsystem:
   5785 
   5786 Implemented a post-order callback to AcpiWalkNamespace. The existing 
   5787 interface only has a pre-order callback. This change adds an additional 
   5788 parameter for a post-order callback which will be more useful for bus 
   5789 scans. 
   5790 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
   5791 
   5792 Modified the behavior of the operation region memory mapping cache for 
   5793 SystemMemory. Ensure that the memory mappings created for operation 
   5794 regions 
   5795 do not cross 4K page boundaries. Crossing a page boundary while mapping 
   5796 regions can cause kernel warnings on some hosts if the pages have 
   5797 different 
   5798 attributes. Such regions are probably BIOS bugs, and this is the 
   5799 workaround. 
   5800 Linux BZ 14445. Lin Ming.
   5801 
   5802 Implemented an automatic repair for predefined methods that must return 
   5803 sorted lists. This change will repair (by sorting) packages returned by 
   5804 _ALR, 
   5805 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
   5806 sorted 
   5807 and do not contain NULL package elements. Adds one new file, 
   5808 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
   5809 
   5810 Fixed a possible fault during predefined name validation if a return 
   5811 Package 
   5812 object contains NULL elements. Also adds a warning if a NULL element is 
   5813 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
   5814 may 
   5815 include repair or removal of all such NULL elements where possible.
   5816 
   5817 Implemented additional module-level executable AML code support. This 
   5818 change 
   5819 will execute module-level code that is not at the root of the namespace 
   5820 (under a Device object, etc.) at table load time. Module-level executable 
   5821 AML 
   5822 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
   5823 
   5824 Implemented a new internal function to create Integer objects. This 
   5825 function 
   5826 simplifies miscellaneous object creation code. ACPICA BZ 823.
   5827 
   5828 Reduced the severity of predefined repair messages, Warning to Info. 
   5829 Since 
   5830 the object was successfully repaired, a warning is too severe. Reduced to 
   5831 an 
   5832 info message for now. These messages may eventually be changed to debug-
   5833 only. 
   5834 ACPICA BZ 812.
   5835 
   5836 Example Code and Data Size: These are the sizes for the OS-independent 
   5837 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5838 debug version of the code includes the debug output trace mechanism and 
   5839 has a 
   5840 much larger code and data size.
   5841 
   5842   Previous Release:
   5843     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   5844     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   5845   Current Release:
   5846     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   5847     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   5848 
   5849 2) iASL Compiler/Disassembler and Tools:
   5850 
   5851 iASL: Implemented Switch() with While(1) so that Break works correctly. 
   5852 This 
   5853 change correctly implements the Switch operator with a surrounding 
   5854 While(1) 
   5855 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
   5856 
   5857 iASL: Added a message if a package initializer list is shorter than 
   5858 package 
   5859 length. Adds a new remark for a Package() declaration if an initializer 
   5860 list 
   5861 exists, but is shorter than the declared length of the package. Although 
   5862 technically legal, this is probably a coding error and it is seen in the 
   5863 field. ACPICA BZ 815. Lin Ming, Bob Moore.
   5864 
   5865 iASL: Fixed a problem where the compiler could fault after the maximum 
   5866 number 
   5867 of errors was reached (200).
   5868 
   5869 acpixtract: Fixed a possible warning for pointer cast if the compiler 
   5870 warning 
   5871 level set very high.
   5872 
   5873 ----------------------------------------
   5874 13 October 2009. Summary of changes for version 20091013:
   5875 
   5876 1) ACPI CA Core Subsystem:
   5877 
   5878 Fixed a problem where an Operation Region _REG method could be executed 
   5879 more 
   5880 than once. If a custom address space handler is installed by the host 
   5881 before 
   5882 the "initialize operation regions" phase of the ACPICA initialization, 
   5883 any 
   5884 _REG methods for that address space could be executed twice. This change 
   5885 fixes the problem. ACPICA BZ 427. Lin Ming.
   5886 
   5887 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
   5888 invocation of "Scope(\)" is executed (change scope to root), one internal 
   5889 operand object was leaked. Lin Ming.
   5890 
   5891 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
   5892 return value is defined as a Field object in the AML, and the field
   5893 size is less than or equal to the default width of an integer (32 or 
   5894 64),_MAT 
   5895 can incorrectly return an Integer instead of a Buffer. ACPICA now 
   5896 automatically repairs this problem. ACPICA BZ 810.
   5897 
   5898 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
   5899 The 
   5900 "OEM Information" field is often incorrectly returned as an Integer with 
   5901 value zero if the field is not supported by the platform. This is due to 
   5902 an 
   5903 ambiguity in the ACPI specification. The field should always be a string. 
   5904 ACPICA now automatically repairs this problem by returning a NULL string 
   5905 within the returned Package. ACPICA BZ 807.
   5906 
   5907 Example Code and Data Size: These are the sizes for the OS-independent 
   5908 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5909 debug version of the code includes the debug output trace mechanism and 
   5910 has a 
   5911 much larger code and data size.
   5912 
   5913   Previous Release:
   5914     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   5915     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   5916   Current Release:
   5917     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   5918     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   5919 
   5920 2) iASL Compiler/Disassembler and Tools:
   5921 
   5922 Disassembler: Fixed a problem where references to external symbols that 
   5923 contained one or more parent-prefixes (carats) were not handled 
   5924 correctly, 
   5925 possibly causing a fault. ACPICA BZ 806. Lin Ming.
   5926 
   5927 Disassembler: Restructured the code so that all functions that handle 
   5928 external symbols are in a single module. One new file is added, 
   5929 common/dmextern.c.
   5930 
   5931 AML Debugger: Added a max count argument for the Batch command (which 
   5932 executes multiple predefined methods within the namespace.)
   5933 
   5934 iASL: Updated the compiler documentation (User Reference.) Available at 
   5935 http://www.acpica.org/documentation/. ACPICA BZ 750.
   5936 
   5937 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
   5938 files.
   5939 
   5940 ----------------------------------------
   5941 03 September 2009. Summary of changes for version 20090903:
   5942 
   5943 1) ACPI CA Core Subsystem:
   5944 
   5945 For Windows Vista compatibility, added the automatic execution of an _INI 
   5946 method located at the namespace root (\_INI). This method is executed at 
   5947 table load time. This support is in addition to the automatic execution 
   5948 of 
   5949 \_SB._INI. Lin Ming.
   5950 
   5951 Fixed a possible memory leak in the interpreter for AML package objects 
   5952 if 
   5953 the package initializer list is longer than the defined size of the 
   5954 package. 
   5955 This apparently can only happen if the BIOS changes the package size on 
   5956 the 
   5957 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
   5958 interpreter will truncate the package to the defined size (and issue an 
   5959 error 
   5960 message), but previously could leave the extra objects undeleted if they 
   5961 were 
   5962 pre-created during the argument processing (such is the case if the 
   5963 package 
   5964 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
   5965 
   5966 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
   5967 This has been reported in the field. Previously, ACPICA would zero out 
   5968 the 
   5969 buffer/string. Now, the operation is treated as a noop. Provides Windows 
   5970 compatibility. ACPICA BZ 803. Lin Ming.
   5971 
   5972 Removed an extraneous error message for ASL constructs of the form 
   5973 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
   5974 statements 
   5975 are seen in many BIOSs and are once again treated as NOOPs and no error 
   5976 is 
   5977 emitted when they are encountered. ACPICA BZ 785.
   5978 
   5979 Fixed an extraneous warning message if a _DSM reserved method returns a 
   5980 Package object. _DSM can return any type of object, so validation on the 
   5981 return type cannot be performed. ACPICA BZ 802.
   5982 
   5983 Example Code and Data Size: These are the sizes for the OS-independent 
   5984 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5985 debug version of the code includes the debug output trace mechanism and 
   5986 has a 
   5987 much larger code and data size.
   5988 
   5989   Previous Release:
   5990     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   5991     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   5992   Current Release:
   5993     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   5994     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   5995 
   5996 2) iASL Compiler/Disassembler and Tools:
   5997 
   5998 iASL: Fixed a problem with the use of the Alias operator and Resource 
   5999 Templates. The correct alias is now constructed and no error is emitted. 
   6000 ACPICA BZ 738.
   6001 
   6002 iASL: Implemented the -I option to specify additional search directories 
   6003 for 
   6004 include files. Allows multiple additional search paths for include files. 
   6005 Directories are searched in the order specified on the command line 
   6006 (after 
   6007 the local directory is searched.) ACPICA BZ 800.
   6008 
   6009 iASL: Fixed a problem where the full pathname for include files was not 
   6010 emitted for warnings/errors. This caused the IDE support to not work 
   6011 properly. ACPICA BZ 765.
   6012 
   6013 iASL: Implemented the -@ option to specify a Windows-style response file 
   6014 containing additional command line options. ACPICA BZ 801.
   6015 
   6016 AcpiExec: Added support to load multiple AML files simultaneously (such 
   6017 as 
   6018 a 
   6019 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
   6020 pathname. These features allow all machine tables to be easily loaded and 
   6021 debugged together. ACPICA BZ 804.
   6022 
   6023 Disassembler: Added missing support for disassembly of HEST table Error 
   6024 Bank 
   6025 subtables. 
   6026 
   6027 ----------------------------------------
   6028 30 July 2009. Summary of changes for version 20090730:
   6029 
   6030 The ACPI 4.0 implementation for ACPICA is complete with this release.
   6031 
   6032 1) ACPI CA Core Subsystem:
   6033 
   6034 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
   6035 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
   6036 new 
   6037 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
   6038 BERT, 
   6039 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
   6040 There 
   6041 have been some ACPI 4.0 changes to other existing tables. Split the large 
   6042 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
   6043 
   6044 ACPI 4.0: Implemented predefined name validation for all new names. There 
   6045 are 
   6046 31 new names in ACPI 4.0. The predefined validation module was split into 
   6047 two 
   6048 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
   6049 
   6050 Implemented support for so-called "module-level executable code". This is 
   6051 executable AML code that exists outside of any control method and is 
   6052 intended 
   6053 to be executed at table load time. Although illegal since ACPI 2.0, this 
   6054 type 
   6055 of code still exists and is apparently still being created. Blocks of 
   6056 this 
   6057 code are now detected and executed as intended. Currently, the code 
   6058 blocks 
   6059 must exist under either an If, Else, or While construct; these are the 
   6060 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
   6061 
   6062 Implemented an automatic dynamic repair for predefined names that return 
   6063 nested Package objects. This applies to predefined names that are defined 
   6064 to 
   6065 return a variable-length Package of sub-packages. If the number of sub-
   6066 packages is one, BIOS code is occasionally seen that creates a simple 
   6067 single 
   6068 package with no sub-packages. This code attempts to fix the problem by 
   6069 wrapping a new package object around the existing package. These methods 
   6070 can 
   6071 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
   6072 BZ 
   6073 790.
   6074 
   6075 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
   6076 interface. 
   6077 The _HID/_CID matching was broken and no longer matched IDs correctly. 
   6078 ACPICA 
   6079 BZ 793.
   6080 
   6081 Fixed a problem with AcpiReset where the reset would silently fail if the 
   6082 register was one of the protected I/O ports. AcpiReset now bypasses the 
   6083 port 
   6084 validation mechanism. This may eventually be driven into the 
   6085 AcpiRead/Write 
   6086 interfaces.
   6087 
   6088 Fixed a regression related to the recent update of the AcpiRead/Write 
   6089 interfaces. A sleep/suspend could fail if the optional PM2 Control 
   6090 register 
   6091 does not exist during an attempt to write the Bus Master Arbitration bit. 
   6092 (However, some hosts already delete the code that writes this bit, and 
   6093 the 
   6094 code may in fact be obsolete at this date.) ACPICA BZ 799.
   6095 
   6096 Fixed a problem where AcpiTerminate could fault if inadvertently called 
   6097 twice 
   6098 in succession. ACPICA BZ 795.
   6099 
   6100 Example Code and Data Size: These are the sizes for the OS-independent 
   6101 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6102 debug version of the code includes the debug output trace mechanism and 
   6103 has a 
   6104 much larger code and data size.
   6105 
   6106   Previous Release:
   6107     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   6108     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   6109   Current Release:
   6110     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   6111     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   6112 
   6113 2) iASL Compiler/Disassembler and Tools:
   6114 
   6115 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
   6116 changes to existing tables. ACPICA BZ 775.
   6117 
   6118 ----------------------------------------
   6119 25 June 2009. Summary of changes for version 20090625:
   6120 
   6121 The ACPI 4.0 Specification was released on June 16 and is available at 
   6122 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
   6123 continue for the next few releases.
   6124 
   6125 1) ACPI CA Core Subsystem:
   6126 
   6127 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
   6128 address space. Includes support for bi-directional data buffers and an 
   6129 IPMI 
   6130 address space handler (to be installed by an IPMI device driver.) ACPICA 
   6131 BZ 
   6132 773. Lin Ming.
   6133 
   6134 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
   6135 Includes 
   6136 support in both the header files and the disassembler.
   6137 
   6138 Completed a major update for the AcpiGetObjectInfo external interface. 
   6139 Changes include:
   6140  - Support for variable, unlimited length HID, UID, and CID strings.
   6141  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
   6142 etc.)
   6143  - Call the _SxW power methods on behalf of a device object.
   6144  - Determine if a device is a PCI root bridge.
   6145  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
   6146 These changes will require an update to all callers of this interface. 
   6147 See 
   6148 the updated ACPICA Programmer Reference for details. One new source file 
   6149 has 
   6150 been added - utilities/utids.c. ACPICA BZ 368, 780.
   6151 
   6152 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
   6153 transfers. The Value parameter has been extended from 32 bits to 64 bits 
   6154 in 
   6155 order to support new ACPI 4.0 tables. These changes will require an 
   6156 update 
   6157 to 
   6158 all callers of these interfaces. See the ACPICA Programmer Reference for 
   6159 details. ACPICA BZ 768.
   6160 
   6161 Fixed several problems with AcpiAttachData. The handler was not invoked 
   6162 when 
   6163 the host node was deleted. The data sub-object was not automatically 
   6164 deleted 
   6165 when the host node was deleted. The interface to the handler had an 
   6166 unused 
   6167 parameter, this was removed. ACPICA BZ 778.
   6168 
   6169 Enhanced the function that dumps ACPI table headers. All non-printable 
   6170 characters in the string fields are now replaced with '?' (Signature, 
   6171 OemId, 
   6172 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
   6173 these fields are occasionally seen in the field. ACPICA BZ 788.
   6174 
   6175 Fixed a problem with predefined method repair code where the code that 
   6176 attempts to repair/convert an object of incorrect type is only executed 
   6177 on 
   6178 the first time the predefined method is called. The mechanism that 
   6179 disables 
   6180 warnings on subsequent calls was interfering with the repair mechanism. 
   6181 ACPICA BZ 781.
   6182 
   6183 Fixed a possible memory leak in the predefined validation/repair code 
   6184 when 
   6185 a 
   6186 buffer is automatically converted to an expected string object.
   6187 
   6188 Removed obsolete 16-bit files from the distribution and from the current 
   6189 git 
   6190 tree head. ACPICA BZ 776.
   6191 
   6192 Example Code and Data Size: These are the sizes for the OS-independent 
   6193 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6194 debug version of the code includes the debug output trace mechanism and 
   6195 has a 
   6196 much larger code and data size.
   6197 
   6198   Previous Release:
   6199     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   6200     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   6201   Current Release:
   6202     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   6203     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   6204 
   6205 2) iASL Compiler/Disassembler and Tools:
   6206 
   6207 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
   6208 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
   6209 
   6210 ACPI 4.0: iASL - implemented compile-time validation support for all new 
   6211 predefined names and control methods (31 total). ACPICA BZ 769.
   6212 
   6213 ----------------------------------------
   6214 21 May 2009. Summary of changes for version 20090521:
   6215 
   6216 1) ACPI CA Core Subsystem:
   6217 
   6218 Disabled the preservation of the SCI enable bit in the PM1 control 
   6219 register. 
   6220 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
   6221 to 
   6222 be 
   6223 a "preserved" bit - "OSPM always preserves this bit position", section 
   6224 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
   6225 because the bit needs to be explicitly set by the OS as a workaround. No 
   6226 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
   6227 attempts to preserve this bit.
   6228 
   6229 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
   6230 incorrectly formed _PRT package could cause a fault. Added validation to 
   6231 ensure that each package element is actually a sub-package.
   6232 
   6233 Implemented a new interface to install or override a single control 
   6234 method, 
   6235 AcpiInstallMethod. This interface is useful when debugging in order to 
   6236 repair 
   6237 an existing method or to install a missing method without having to 
   6238 override 
   6239 the entire ACPI table. See the ACPICA Programmer Reference for use and 
   6240 examples. Lin Ming, Bob Moore.
   6241 
   6242 Fixed several reference count issues with the DdbHandle object that is 
   6243 created from a Load or LoadTable operator. Prevent premature deletion of 
   6244 the 
   6245 object. Also, mark the object as invalid once the table has been 
   6246 unloaded. 
   6247 This is needed because the handle itself may not be deleted after the 
   6248 table 
   6249 unload, depending on whether it has been stored in a named object by the 
   6250 caller. Lin Ming.
   6251 
   6252 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
   6253 mutexes of the same sync level are acquired but then not released in 
   6254 strict 
   6255 opposite order, the internally maintained Current Sync Level becomes 
   6256 confused 
   6257 and can cause subsequent execution errors. ACPICA BZ 471.
   6258 
   6259 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
   6260 specification has been changed to make the SyncLevel for mutex objects 
   6261 more 
   6262 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
   6263 the 
   6264 same as the current sync level. This makes more sense than the previous 
   6265 rule 
   6266 (SyncLevel less than or equal). This change updates the code to match the 
   6267 specification.
   6268 
   6269 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
   6270 The 
   6271 (local) cache must be locked during all cache object deletions. Andrew 
   6272 Baumann.
   6273 
   6274 Updated the Load operator to use operation region interfaces. This 
   6275 replaces 
   6276 direct memory mapping with region access calls. Now, all region accesses 
   6277 go 
   6278 through the installed region handler as they should.
   6279 
   6280 Simplified and optimized the NsGetNextNode function. Reduced parameter 
   6281 count 
   6282 and reduced code for this frequently used function.
   6283 
   6284 Example Code and Data Size: These are the sizes for the OS-independent 
   6285 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6286 debug version of the code includes the debug output trace mechanism and 
   6287 has a 
   6288 much larger code and data size.
   6289 
   6290   Previous Release:
   6291     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   6292     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   6293   Current Release:
   6294     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   6295     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   6296 
   6297 2) iASL Compiler/Disassembler and Tools:
   6298 
   6299 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
   6300 problems 
   6301 with sub-table disassembly and handling invalid sub-tables. Attempt 
   6302 recovery 
   6303 after an invalid sub-table ID.
   6304 
   6305 ----------------------------------------
   6306 22 April 2009. Summary of changes for version 20090422:
   6307 
   6308 1) ACPI CA Core Subsystem:
   6309 
   6310 Fixed a compatibility issue with the recently released I/O port 
   6311 protection 
   6312 mechanism. For windows compatibility, 1) On a port protection violation, 
   6313 simply ignore the request and do not return an exception (allow the 
   6314 control 
   6315 method to continue execution.) 2) If only part of the request overlaps a 
   6316 protected port, read/write the individual ports that are not protected. 
   6317 Linux 
   6318 BZ 13036. Lin Ming
   6319 
   6320 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
   6321 actually 
   6322 breaks into the AML debugger if the debugger is present. This matches the 
   6323 ACPI-defined behavior.
   6324 
   6325 Fixed several possible warnings related to the use of the configurable 
   6326 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
   6327 pointer with no warnings. Also fixes several warnings in printf-like 
   6328 statements for the 64-bit build when the type is configured as a pointer. 
   6329 ACPICA BZ 766, 767.
   6330 
   6331 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
   6332 on 
   6333 warning options.) Examples include printf formats, aliasing, unused 
   6334 globals, 
   6335 missing prototypes, missing switch default statements, use of non-ANSI 
   6336 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
   6337 for 
   6338 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
   6339 
   6340 Example Code and Data Size: These are the sizes for the OS-independent 
   6341 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6342 debug version of the code includes the debug output trace mechanism and 
   6343 has a 
   6344 much larger code and data size.
   6345 
   6346   Previous Release:
   6347     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   6348     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   6349   Current Release:
   6350     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   6351     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   6352 
   6353 2) iASL Compiler/Disassembler and Tools:
   6354 
   6355 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
   6356 warnings 
   6357 on 
   6358 the 64-bit build.
   6359 
   6360 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
   6361 not 
   6362 correctly digest Windows/DOS formatted files (with CR/LF).
   6363 
   6364 iASL: Added a new option for "quiet mode" (-va) that produces only the 
   6365 compilation summary, not individual errors and warnings. Useful for large 
   6366 batch compilations.
   6367 
   6368 AcpiExec: Implemented a new option (-z) to enable a forced 
   6369 semaphore/mutex 
   6370 timeout that can be used to detect hang conditions during execution of 
   6371 AML 
   6372 code (includes both internal semaphores and AML-defined mutexes and 
   6373 events.)
   6374 
   6375 Added new makefiles for the generation of acpica in a generic unix-like 
   6376 environment. These makefiles are intended to generate the acpica tools 
   6377 and 
   6378 utilities from the original acpica git source tree structure.
   6379 
   6380 Test Suites: Updated and cleaned up the documentation files. Updated the 
   6381 copyrights to 2009, affecting all source files. Use the new version of 
   6382 iASL 
   6383 with quiet mode. Increased the number of available semaphores in the 
   6384 Windows 
   6385 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
   6386 added 
   6387 an alternate implementation of the semaphore timeout to allow aslts to 
   6388 execute fully on Cygwin.
   6389 
   6390 ----------------------------------------
   6391 20 March 2009. Summary of changes for version 20090320:
   6392 
   6393 1) ACPI CA Core Subsystem:
   6394 
   6395 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
   6396 table 
   6397 unloads. Added a reader/writer locking mechanism to allow multiple 
   6398 concurrent 
   6399 namespace walks (readers), but block a dynamic table unload until it can 
   6400 gain 
   6401 exclusive write access to the namespace. This fixes a problem where a 
   6402 table 
   6403 unload could (possibly catastrophically) delete the portion of the 
   6404 namespace 
   6405 that is currently being examined by a walk. Adds a new file, utlock.c, 
   6406 that 
   6407 implements the reader/writer lock mechanism. ACPICA BZ 749.
   6408 
   6409 Fixed a regression introduced in version 20090220 where a change to the 
   6410 FADT 
   6411 handling could cause the ACPICA subsystem to access non-existent I/O 
   6412 ports.
   6413 
   6414 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
   6415 The 
   6416 FADT can contain both 32-bit and 64-bit versions of these addresses. 
   6417 Previously, the 64-bit versions were favored, meaning that if both 32 and 
   6418 64 
   6419 versions were valid, but not equal, the 64-bit version was used. This was 
   6420 found to cause some machines to fail. Now, in this case, the 32-bit 
   6421 version 
   6422 is used instead. This now matches the Windows behavior.
   6423 
   6424 Implemented a new mechanism to protect certain I/O ports. Provides 
   6425 Microsoft 
   6426 compatibility and protects the standard PC I/O ports from access via AML 
   6427 code. Adds a new file, hwvalid.c
   6428 
   6429 Fixed a possible extraneous warning message from the FADT support. The 
   6430 message warns of a 32/64 length mismatch between the legacy and GAS 
   6431 definitions for a register.
   6432 
   6433 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
   6434 is 
   6435 made obsolete by the port protection mechanism above. It was previously 
   6436 used 
   6437 to validate the entire address range of an operation region, which could 
   6438 be 
   6439 incorrect if the range included illegal ports, but fields within the 
   6440 operation region did not actually access those ports. Validation is now 
   6441 performed on a per-field basis instead of the entire region.
   6442 
   6443 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
   6444 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
   6445 this 
   6446 means a read/modify/write when writing to the register. However, for 
   6447 status 
   6448 registers, writing a one means clear the event. Writing a zero means 
   6449 preserve 
   6450 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
   6451 spec, 
   6452 and the ACPICA code now simply always writes a zero to the ignored bit.
   6453 
   6454 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
   6455 As 
   6456 per the ACPI specification, for the control registers, preserve 
   6457 (read/modify/write) all bits that are defined as either reserved or 
   6458 ignored.
   6459 
   6460 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
   6461 When reading the register, zero the write-only bits as per the ACPI spec. 
   6462 ACPICA BZ 443. Lin Ming.
   6463 
   6464 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
   6465 wants to reply true to this request. The Windows strings are the only 
   6466 paths 
   6467 through the AML that are tested and known to work properly.
   6468 
   6469   Previous Release:
   6470     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   6471     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   6472   Current Release:
   6473     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   6474     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   6475 
   6476 2) iASL Compiler/Disassembler and Tools:
   6477 
   6478 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
   6479 and 
   6480 aetables.c
   6481 
   6482 ----------------------------------------
   6483 20 February 2009. Summary of changes for version 20090220:
   6484 
   6485 1) ACPI CA Core Subsystem:
   6486 
   6487 Optimized the ACPI register locking. Removed locking for reads from the 
   6488 ACPI 
   6489 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
   6490 is 
   6491 not required when reading the single-bit registers. The 
   6492 AcpiGetRegisterUnlocked function is no longer needed and has been 
   6493 removed. 
   6494 This will improve performance for reads on these registers. ACPICA BZ 
   6495 760.
   6496 
   6497 Fixed the parameter validation for AcpiRead/Write. Now return 
   6498 AE_BAD_PARAMETER if the input register pointer is null, and 
   6499 AE_BAD_ADDRESS 
   6500 if 
   6501 the register has an address of zero. Previously, these cases simply 
   6502 returned 
   6503 AE_OK. For optional registers such as PM1B status/enable/control, the 
   6504 caller 
   6505 should check for a valid register address before calling. ACPICA BZ 748.
   6506 
   6507 Renamed the external ACPI bit register access functions. Renamed 
   6508 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
   6509 functions. The new names are AcpiReadBitRegister and 
   6510 AcpiWriteBitRegister. 
   6511 Also, restructured the code for these functions by simplifying the code 
   6512 path 
   6513 and condensing duplicate code to reduce code size.
   6514 
   6515 Added new functions to transparently handle the possibly split PM1 A/B 
   6516 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
   6517 functions 
   6518 now handle the split registers for PM1 Status, Enable, and Control. 
   6519 ACPICA 
   6520 BZ 
   6521 746.
   6522 
   6523 Added a function to handle the PM1 control registers, 
   6524 AcpiHwWritePm1Control. 
   6525 This function writes both of the PM1 control registers (A/B). These 
   6526 registers 
   6527 are different than the PM1 A/B status and enable registers in that 
   6528 different 
   6529 values can be written to the A/B registers. Most notably, the SLP_TYP 
   6530 bits 
   6531 can be different, as per the values returned from the _Sx predefined 
   6532 methods.
   6533 
   6534 Removed an extra register write within AcpiHwClearAcpiStatus. This 
   6535 function 
   6536 was writing an optional PM1B status register twice. The existing call to 
   6537 the 
   6538 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
   6539 A/B 
   6540 register. ACPICA BZ 751.
   6541 
   6542 Split out the PM1 Status registers from the FADT. Added new globals for 
   6543 these 
   6544 registers (A/B), similar to the way the PM1 Enable registers are handled. 
   6545 Instead of overloading the FADT Event Register blocks. This makes the 
   6546 code 
   6547 clearer and less prone to error.
   6548 
   6549 Fixed the warning message for when the platform contains too many ACPI 
   6550 tables 
   6551 for the default size of the global root table data structure. The 
   6552 calculation 
   6553 for the truncation value was incorrect.
   6554 
   6555 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
   6556 obsolete macro, since it is now a simple reference to ->common.type. 
   6557 There 
   6558 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
   6559 
   6560 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
   6561 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
   6562 simply SLEEP_TYPE. ACPICA BZ 754.
   6563 
   6564 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
   6565 function is only needed on 64-bit host operating systems and is thus not 
   6566 included for 32-bit hosts.
   6567 
   6568 Debug output: print the input and result for invocations of the _OSI 
   6569 reserved 
   6570 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
   6571 the 
   6572 verbosity of this debug level. Len Brown.
   6573 
   6574 Example Code and Data Size: These are the sizes for the OS-independent 
   6575 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6576 debug version of the code includes the debug output trace mechanism and 
   6577 has a 
   6578 much larger code and data size.
   6579 
   6580   Previous Release:
   6581     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   6582     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   6583   Current Release:
   6584     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   6585     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   6586 
   6587 2) iASL Compiler/Disassembler and Tools:
   6588 
   6589 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
   6590 various legal performance profiles.
   6591 
   6592 ----------------------------------------
   6593 23 January 2009. Summary of changes for version 20090123:
   6594 
   6595 1) ACPI CA Core Subsystem:
   6596 
   6597 Added the 2009 copyright to all module headers and signons. This affects 
   6598 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   6599 the tools/utilities.
   6600 
   6601 Implemented a change to allow the host to override any ACPI table, 
   6602 including 
   6603 dynamically loaded tables. Previously, only the DSDT could be replaced by 
   6604 the 
   6605 host. With this change, the AcpiOsTableOverride interface is called for 
   6606 each 
   6607 table found in the RSDT/XSDT during ACPICA initialization, and also 
   6608 whenever 
   6609 a table is dynamically loaded via the AML Load operator.
   6610 
   6611 Updated FADT flag definitions, especially the Boot Architecture flags.
   6612 
   6613 Debugger: For the Find command, automatically pad the input ACPI name 
   6614 with 
   6615 underscores if the name is shorter than 4 characters. This enables a 
   6616 match 
   6617 with the actual namespace entry which is itself padded with underscores.
   6618 
   6619 Example Code and Data Size: These are the sizes for the OS-independent 
   6620 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6621 debug version of the code includes the debug output trace mechanism and 
   6622 has a 
   6623 much larger code and data size.
   6624 
   6625   Previous Release:
   6626     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   6627     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   6628   Current Release:
   6629     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   6630     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   6631 
   6632 2) iASL Compiler/Disassembler and Tools:
   6633 
   6634 Fix build error under Bison-2.4.
   6635 
   6636 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
   6637 Architecture 
   6638 flags. Now decode all flags, regardless of the FADT version. Flag output 
   6639 includes the FADT version which first defined each flag.
   6640 
   6641 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
   6642 and 
   6643 DSDT). Windows only.
   6644 
   6645 ----------------------------------------
   6646 04 December 2008. Summary of changes for version 20081204:
   6647 
   6648 1) ACPI CA Core Subsystem:
   6649 
   6650 The ACPICA Programmer Reference has been completely updated and revamped 
   6651 for 
   6652 this release. This includes updates to the external interfaces, OSL 
   6653 interfaces, the overview sections, and the debugger reference.
   6654 
   6655 Several new ACPICA interfaces have been implemented and documented in the 
   6656 programmer reference:
   6657 AcpiReset - Writes the reset value to the FADT-defined reset register.
   6658 AcpiDisableAllGpes - Disable all available GPEs.
   6659 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
   6660 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
   6661 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
   6662 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
   6663 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
   6664 
   6665 Most of the public ACPI hardware-related interfaces have been moved to a 
   6666 new 
   6667 file, components/hardware/hwxface.c
   6668 
   6669 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
   6670 register lengths within the FADT are now used, and the low level ACPI 
   6671 register access no longer hardcodes the ACPI register lengths. Given that 
   6672 there may be some risk in actually trusting the FADT register lengths, a 
   6673 run-
   6674 time option was added to fall back to the default hardcoded lengths if 
   6675 the 
   6676 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
   6677 option is set to true for now, and a warning is issued if a suspicious 
   6678 FADT 
   6679 register length is overridden with the default value.
   6680 
   6681 Fixed a reference count issue in NsRepairObject. This problem was 
   6682 introduced 
   6683 in version 20081031 as part of a fix to repair Buffer objects within 
   6684 Packages. Lin Ming.
   6685 
   6686 Added semaphore support to the Linux/Unix application OS-services layer 
   6687 (OSL). ACPICA BZ 448. Lin Ming.
   6688 
   6689 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
   6690 will 
   6691 be implemented in the OSL, or will binary semaphores be used instead.
   6692 
   6693 Example Code and Data Size: These are the sizes for the OS-independent 
   6694 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6695 debug version of the code includes the debug output trace mechanism and 
   6696 has a 
   6697 much larger code and data size.
   6698 
   6699   Previous Release:
   6700     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   6701     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   6702   Current Release:
   6703     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   6704     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   6705 
   6706 2) iASL Compiler/Disassembler and Tools:
   6707 
   6708 iASL: Completed the '-e' option to include additional ACPI tables in 
   6709 order 
   6710 to 
   6711 aid with disassembly and External statement generation. ACPICA BZ 742. 
   6712 Lin 
   6713 Ming.
   6714 
   6715 iASL: Removed the "named object in while loop" error. The compiler cannot 
   6716 determine how many times a loop will execute. ACPICA BZ 730.
   6717 
   6718 Disassembler: Implemented support for FADT revision 2 (MS extension). 
   6719 ACPICA 
   6720 BZ 743.
   6721 
   6722 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
   6723 MCFG).
   6724 
   6725 ----------------------------------------
   6726 31 October 2008. Summary of changes for version 20081031:
   6727 
   6728 1) ACPI CA Core Subsystem:
   6729 
   6730 Restructured the ACPICA header files into public/private. acpi.h now 
   6731 includes 
   6732 only the "public" acpica headers. All other acpica headers are "private" 
   6733 and 
   6734 should not be included by acpica users. One new file, accommon.h is used 
   6735 to 
   6736 include the commonly used private headers for acpica code generation. 
   6737 Future 
   6738 plans include moving all private headers to a new subdirectory.
   6739 
   6740 Implemented an automatic Buffer->String return value conversion for 
   6741 predefined ACPI methods. For these methods (such as _BIF), added 
   6742 automatic 
   6743 conversion for return objects that are required to be a String, but a 
   6744 Buffer 
   6745 was found instead. This can happen when reading string battery data from 
   6746 an 
   6747 operation region, because it used to be difficult to convert the data 
   6748 from 
   6749 buffer to string from within the ASL. Ensures that the host OS is 
   6750 provided 
   6751 with a valid null-terminated string. Linux BZ 11822.
   6752 
   6753 Updated the FACS waking vector interfaces. Split 
   6754 AcpiSetFirmwareWakingVector 
   6755 into two: one for the 32-bit vector, another for the 64-bit vector. This 
   6756 is 
   6757 required because the host OS must setup the wake much differently for 
   6758 each 
   6759 vector (real vs. protected mode, etc.) and the interface itself should 
   6760 not 
   6761 be 
   6762 deciding which vector to use. Also, eliminated the 
   6763 GetFirmwareWakingVector 
   6764 interface, as it served no purpose (only the firmware reads the vector, 
   6765 OS 
   6766 only writes the vector.) ACPICA BZ 731.
   6767 
   6768 Implemented a mechanism to escape infinite AML While() loops. Added a 
   6769 loop 
   6770 counter to force exit from AML While loops if the count becomes too 
   6771 large. 
   6772 This can occur in poorly written AML when the hardware does not respond 
   6773 within a while loop and the loop does not implement a timeout. The 
   6774 maximum 
   6775 loop count is configurable. A new exception code is returned when a loop 
   6776 is 
   6777 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
   6778 
   6779 Optimized the execution of AML While loops. Previously, a control state 
   6780 object was allocated and freed for each execution of the loop. The 
   6781 optimization is to simply reuse the control state for each iteration. 
   6782 This 
   6783 speeds up the raw loop execution time by about 5%.
   6784 
   6785 Enhanced the implicit return mechanism. For Windows compatibility, return 
   6786 an 
   6787 implicit integer of value zero for methods that contain no executable 
   6788 code. 
   6789 Such methods are seen in the field as stubs (presumably), and can cause 
   6790 drivers to fail if they expect a return value. Lin Ming.
   6791 
   6792 Allow multiple backslashes as root prefixes in namepaths. In a fully 
   6793 qualified namepath, allow multiple backslash prefixes. This can happen 
   6794 (and 
   6795 is seen in the field) because of the use of a double-backslash in strings 
   6796 (since backslash is the escape character) causing confusion. ACPICA BZ 
   6797 739 
   6798 Lin Ming.
   6799 
   6800 Emit a warning if two different FACS or DSDT tables are discovered in the 
   6801 FADT. Checks if there are two valid but different addresses for the FACS 
   6802 and 
   6803 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
   6804 
   6805 Consolidated the method argument count validation code. Merged the code 
   6806 that 
   6807 validates control method argument counts into the predefined validation 
   6808 module. Eliminates possible multiple warnings for incorrect argument 
   6809 counts.
   6810 
   6811 Implemented ACPICA example code. Includes code for ACPICA initialization, 
   6812 handler installation, and calling a control method. Available at 
   6813 source/tools/examples.
   6814 
   6815 Added a global pointer for FACS table to simplify internal FACS access. 
   6816 Use 
   6817 the global pointer instead of using AcpiGetTableByIndex for each FACS 
   6818 access. 
   6819 This simplifies the code for the Global Lock and the Firmware Waking 
   6820 Vector(s).
   6821 
   6822 Example Code and Data Size: These are the sizes for the OS-independent 
   6823 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6824 debug version of the code includes the debug output trace mechanism and 
   6825 has a 
   6826 much larger code and data size.
   6827 
   6828   Previous Release:
   6829     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   6830     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   6831   Current Release:
   6832     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   6833     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   6834 
   6835 2) iASL Compiler/Disassembler and Tools:
   6836 
   6837 iASL: Improved disassembly of external method calls. Added the -e option 
   6838 to 
   6839 allow the inclusion of additional ACPI tables to help with the 
   6840 disassembly 
   6841 of 
   6842 method invocations and the generation of external declarations during the 
   6843 disassembly. Certain external method invocations cannot be disassembled 
   6844 properly without the actual declaration of the method. Use the -e option 
   6845 to 
   6846 include the table where the external method(s) are actually declared. 
   6847 Most 
   6848 useful for disassembling SSDTs that make method calls back to the master 
   6849 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
   6850 -d 
   6851 -e dsdt.aml ssdt1.aml
   6852 
   6853 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
   6854 problem where the use of an alias within a namepath would result in a not 
   6855 found error or cause the compiler to fault. Also now allows forward 
   6856 references from the Alias operator itself. ACPICA BZ 738.
   6857 
   6858 ----------------------------------------
   6859 26 September 2008. Summary of changes for version 20080926:
   6860 
   6861 1) ACPI CA Core Subsystem:
   6862 
   6863 Designed and implemented a mechanism to validate predefined ACPI methods 
   6864 and 
   6865 objects. This code validates the predefined ACPI objects (objects whose 
   6866 names 
   6867 start with underscore) that appear in the namespace, at the time they are 
   6868 evaluated. The argument count and the type of the returned object are 
   6869 validated against the ACPI specification. The purpose of this validation 
   6870 is 
   6871 to detect problems with the BIOS-implemented predefined ACPI objects 
   6872 before 
   6873 the results are returned to the ACPI-related drivers. Future enhancements 
   6874 may 
   6875 include actual repair of incorrect return objects where possible. Two new 
   6876 files are nspredef.c and acpredef.h.
   6877 
   6878 Fixed a fault in the AML parser if a memory allocation fails during the 
   6879 Op 
   6880 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
   6881 
   6882 Fixed an issue with implicit return compatibility. This change improves 
   6883 the 
   6884 implicit return mechanism to be more compatible with the MS interpreter. 
   6885 Lin 
   6886 Ming, ACPICA BZ 349.
   6887 
   6888 Implemented support for zero-length buffer-to-string conversions. Allow 
   6889 zero 
   6890 length strings during interpreter buffer-to-string conversions. For 
   6891 example, 
   6892 during the ToDecimalString and ToHexString operators, as well as implicit 
   6893 conversions. Fiodor Suietov, ACPICA BZ 585.
   6894 
   6895 Fixed two possible memory leaks in the error exit paths of 
   6896 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
   6897 are 
   6898 similar in that they use a stack of state objects in order to eliminate 
   6899 recursion. The stack must be fully unwound and deallocated if an error 
   6900 occurs. Lin Ming. ACPICA BZ 383.
   6901 
   6902 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
   6903 global 
   6904 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
   6905 Moore ACPICA BZ 442.
   6906 
   6907 Removed the obsolete version number in module headers. Removed the 
   6908 "$Revision" number that appeared in each module header. This version 
   6909 number 
   6910 was useful under SourceSafe and CVS, but has no meaning under git. It is 
   6911 not 
   6912 only incorrect, it could also be misleading.
   6913 
   6914 Example Code and Data Size: These are the sizes for the OS-independent 
   6915 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6916 debug version of the code includes the debug output trace mechanism and 
   6917 has a 
   6918 much larger code and data size.
   6919 
   6920   Previous Release:
   6921     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   6922     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   6923   Current Release:
   6924     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   6925     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   6926 
   6927 ----------------------------------------
   6928 29 August 2008. Summary of changes for version 20080829:
   6929 
   6930 1) ACPI CA Core Subsystem:
   6931 
   6932 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
   6933 Reference. Changes include the elimination of cheating on the Object 
   6934 field 
   6935 for the DdbHandle subtype, addition of a reference class field to 
   6936 differentiate the various reference types (instead of an AML opcode), and 
   6937 the 
   6938 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
   6939 
   6940 Reduce an error to a warning for an incorrect method argument count. 
   6941 Previously aborted with an error if too few arguments were passed to a 
   6942 control method via the external ACPICA interface. Now issue a warning 
   6943 instead 
   6944 and continue. Handles the case where the method inadvertently declares 
   6945 too 
   6946 many arguments, but does not actually use the extra ones. Applies mainly 
   6947 to 
   6948 the predefined methods. Lin Ming. Linux BZ 11032.
   6949 
   6950 Disallow the evaluation of named object types with no intrinsic value. 
   6951 Return 
   6952 AE_TYPE for objects that have no value and therefore evaluation is 
   6953 undefined: 
   6954 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
   6955 of 
   6956 these types were allowed, but an exception would be generated at some 
   6957 point 
   6958 during the evaluation. Now, the error is generated up front.
   6959 
   6960 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
   6961 (nsnames.c). Fixes a leak in the error exit path.
   6962 
   6963 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
   6964 debug 
   6965 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
   6966 ACPI_EXCEPTION 
   6967 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
   6968 ACPI_LV_EVENTS.
   6969 
   6970 Removed obsolete and/or unused exception codes from the acexcep.h header. 
   6971 There is the possibility that certain device drivers may be affected if 
   6972 they 
   6973 use any of these exceptions.
   6974 
   6975 The ACPICA documentation has been added to the public git source tree, 
   6976 under 
   6977 acpica/documents. Included are the ACPICA programmer reference, the iASL 
   6978 compiler reference, and the changes.txt release logfile.
   6979 
   6980 Example Code and Data Size: These are the sizes for the OS-independent 
   6981 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6982 debug version of the code includes the debug output trace mechanism and 
   6983 has a 
   6984 much larger code and data size.
   6985 
   6986   Previous Release:
   6987     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   6988     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   6989   Current Release:
   6990     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   6991     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   6992 
   6993 2) iASL Compiler/Disassembler and Tools:
   6994 
   6995 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
   6996 defines _SCP with 3 arguments. Previous versions defined it with only 1 
   6997 argument. iASL now allows both definitions.
   6998 
   6999 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
   7000 zero-
   7001 length subtables when disassembling ACPI tables. Also fixed a couple of 
   7002 errors where a full 16-bit table type field was not extracted from the 
   7003 input 
   7004 properly.
   7005 
   7006 acpisrc: Improve comment counting mechanism for generating source code 
   7007 statistics. Count first and last lines of multi-line comments as 
   7008 whitespace, 
   7009 not comment lines. Handle Linux legal header in addition to standard 
   7010 acpica 
   7011 header.
   7012 
   7013 ----------------------------------------
   7014 
   7015 29 July 2008. Summary of changes for version 20080729:
   7016 
   7017 1) ACPI CA Core Subsystem:
   7018 
   7019 Fix a possible deadlock in the GPE dispatch. Remove call to 
   7020 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
   7021 attempt 
   7022 to acquire the GPE lock but can deadlock since the GPE lock is already 
   7023 held 
   7024 at dispatch time. This code was introduced in version 20060831 as a 
   7025 response 
   7026 to Linux BZ 6881 and has since been removed from Linux.
   7027 
   7028 Add a function to dereference returned reference objects. Examines the 
   7029 return 
   7030 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
   7031 are 
   7032 automatically dereferenced in an attempt to return something useful 
   7033 (these 
   7034 reference types cannot be converted into an external ACPI_OBJECT.) 
   7035 Provides 
   7036 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
   7037 
   7038 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
   7039 subtables for the MADT and one new subtable for the SRAT. Includes 
   7040 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
   7041 x2APIC 
   7042 Specification, June 2008.
   7043 
   7044 Additional error checking for pathname utilities. Add error check after 
   7045 all 
   7046 calls to AcpiNsGetPathnameLength. Add status return from 
   7047 AcpiNsBuildExternalPath and check after all calls. Add parameter 
   7048 validation 
   7049 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
   7050 
   7051 Return status from the global init function AcpiUtGlobalInitialize. This 
   7052 is 
   7053 used by both the kernel subsystem and the utilities such as iASL 
   7054 compiler. 
   7055 The function could possibly fail when the caches are initialized. Yang 
   7056 Yi.
   7057 
   7058 Add a function to decode reference object types to strings. Created for 
   7059 improved error messages. 
   7060 
   7061 Improve object conversion error messages. Better error messages during 
   7062 object 
   7063 conversion from internal to the external ACPI_OBJECT. Used for external 
   7064 calls 
   7065 to AcpiEvaluateObject.
   7066 
   7067 Example Code and Data Size: These are the sizes for the OS-independent 
   7068 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7069 debug version of the code includes the debug output trace mechanism and 
   7070 has a 
   7071 much larger code and data size.
   7072 
   7073   Previous Release:
   7074     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   7075     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   7076   Current Release:
   7077     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   7078     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   7079 
   7080 2) iASL Compiler/Disassembler and Tools:
   7081 
   7082 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
   7083 problem 
   7084 introduced in version 20080701. If the object being evaluated (via 
   7085 execute 
   7086 command) is not a method, the debugger can hang while trying to obtain 
   7087 non-
   7088 existent parameters.
   7089 
   7090 iASL: relax error for using reserved "_T_x" identifiers. These names can 
   7091 appear in a disassembled ASL file if they were emitted by the original 
   7092 compiler. Instead of issuing an error or warning and forcing the user to 
   7093 manually change these names, issue a remark instead.
   7094 
   7095 iASL: error if named object created in while loop. Emit an error if any 
   7096 named 
   7097 object is created within a While loop. If allowed, this code will 
   7098 generate 
   7099 a 
   7100 run-time error on the second iteration of the loop when an attempt is 
   7101 made 
   7102 to 
   7103 create the same named object twice. ACPICA bugzilla 730.
   7104 
   7105 iASL: Support absolute pathnames for include files. Add support for 
   7106 absolute 
   7107 pathnames within the Include operator. previously, only relative 
   7108 pathnames 
   7109 were supported.
   7110 
   7111 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
   7112 Descriptor. 
   7113 The ACPI spec requires one interrupt minimum. BZ 423
   7114 
   7115 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
   7116 Handles the case for the Interrupt Resource Descriptor where
   7117 the ResourceSource argument is omitted but ResourceSourceIndex
   7118 is present. Now leave room for the Index. BZ 426
   7119 
   7120 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
   7121 cases 
   7122 where an error message is emitted if the target does not exist. BZ 516
   7123 
   7124 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
   7125 (get ACPI tables on Windows). This was apparently broken in version 
   7126 20070919.
   7127 
   7128 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
   7129 where 
   7130 the EOF happens immediately after the last table in the input file. Print 
   7131 completion message. Previously, no message was displayed in this case.
   7132 
   7133 ----------------------------------------
   7134 01 July 2008. Summary of changes for version 20080701:
   7135 
   7136 0) Git source tree / acpica.org
   7137 
   7138 Fixed a problem where a git-clone from http would not transfer the entire 
   7139 source tree.
   7140 
   7141 1) ACPI CA Core Subsystem:
   7142 
   7143 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
   7144 enable bit. Now performs a read-change-write of the enable register 
   7145 instead 
   7146 of simply writing out the cached enable mask. This will prevent 
   7147 inadvertent 
   7148 enabling of GPEs if a rogue GPE is received during initialization (before 
   7149 GPE 
   7150 handlers are installed.)
   7151 
   7152 Implemented a copy for dynamically loaded tables. Previously, dynamically 
   7153 loaded tables were simply mapped - but on some machines this memory is 
   7154 corrupted after suspend. Now copy the table to a local buffer. For the 
   7155 OpRegion case, added checksum verify. Use the table length from the table 
   7156 header, not the region length. For the Buffer case, use the table length 
   7157 also. Dennis Noordsij, Bob Moore. BZ 10734
   7158 
   7159 Fixed a problem where the same ACPI table could not be dynamically loaded 
   7160 and 
   7161 unloaded more than once. Without this change, a table cannot be loaded 
   7162 again 
   7163 once it has been loaded/unloaded one time. The current mechanism does not 
   7164 unregister a table upon an unload. During a load, if the same table is 
   7165 found, 
   7166 this no longer returns an exception. BZ 722
   7167 
   7168 Fixed a problem where the wrong descriptor length was calculated for the 
   7169 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
   7170 EndTag 
   7171 are calculated as 12 bytes long, but the actual length in the internal 
   7172 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
   7173 Reported 
   7174 by Linn Crosetto. BZ 728
   7175 
   7176 Fixed a possible memory leak in the Unload operator. The DdbHandle 
   7177 returned 
   7178 by Load() did not have its reference count decremented during unload, 
   7179 leading 
   7180 to a memory leak. Lin Ming. BZ 727
   7181 
   7182 Fixed a possible memory leak when deleting thermal/processor objects. Any 
   7183 associated notify handlers (and objects) were not being deleted. Fiodor 
   7184 Suietov. BZ 506
   7185 
   7186 Fixed the ordering of the ASCII names in the global mutex table to match 
   7187 the 
   7188 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
   7189 only. 
   7190 Vegard Nossum. BZ 726
   7191 
   7192 Enhanced the AcpiGetObjectInfo interface to return the number of required 
   7193 arguments if the object is a control method. Added this call to the 
   7194 debugger 
   7195 so the proper number of default arguments are passed to a method. This 
   7196 prevents a warning when executing methods from AcpiExec.
   7197 
   7198 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
   7199 AE_BAD_PARAMETER if input handle is invalid. BZ 474
   7200 
   7201 Fixed an extraneous warning from exconfig.c on the 64-bit build.
   7202 
   7203 Example Code and Data Size: These are the sizes for the OS-independent 
   7204 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7205 debug version of the code includes the debug output trace mechanism and 
   7206 has a 
   7207 much larger code and data size.
   7208 
   7209   Previous Release:
   7210     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   7211     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   7212   Current Release:
   7213     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   7214     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   7215 
   7216 2) iASL Compiler/Disassembler and Tools:
   7217 
   7218 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
   7219 resource descriptor names.
   7220 
   7221 iASL: Detect invalid ASCII characters in input (windows version). Removed 
   7222 the 
   7223 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
   7224 characters in the input. BZ 441
   7225 
   7226 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
   7227 the 
   7228 "result of operation not used" warning when the DDB handle returned from 
   7229 LoadTable is not used. The warning is not needed. BZ 590
   7230 
   7231 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
   7232 method 
   7233 to 
   7234 pass address of table to the AML. Added option to disable OpRegion 
   7235 simulation 
   7236 to allow creation of an OpRegion with a real address that was passed to 
   7237 _CFG. 
   7238 All of this allows testing of the Load and Unload operators from 
   7239 AcpiExec.
   7240 
   7241 Debugger: update tables command for unloaded tables. Handle unloaded 
   7242 tables 
   7243 and use the standard table header output routine.
   7244 
   7245 ----------------------------------------
   7246 09 June 2008. Summary of changes for version 20080609:
   7247 
   7248 1) ACPI CA Core Subsystem:
   7249 
   7250 Implemented a workaround for reversed _PRT entries. A significant number 
   7251 of 
   7252 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
   7253 change dynamically detects and repairs this problem. Provides 
   7254 compatibility 
   7255 with MS ACPI. BZ 6859
   7256 
   7257 Simplified the internal ACPI hardware interfaces to eliminate the locking 
   7258 flag parameter from Register Read/Write. Added a new external interface, 
   7259 AcpiGetRegisterUnlocked.
   7260 
   7261 Fixed a problem where the invocation of a GPE control method could hang. 
   7262 This 
   7263 was a regression introduced in 20080514. The new method argument count 
   7264 validation mechanism can enter an infinite loop when a GPE method is 
   7265 dispatched. Problem fixed by removing the obsolete code that passed GPE 
   7266 block 
   7267 information to the notify handler via the control method parameter 
   7268 pointer.
   7269 
   7270 Fixed a problem where the _SST execution status was incorrectly returned 
   7271 to 
   7272 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
   7273 in 
   7274 20080514. _SST is optional and a NOT_FOUND exception should never be 
   7275 returned. BZ 716
   7276 
   7277 Fixed a problem where a deleted object could be accessed from within the 
   7278 AML 
   7279 parser. This was a regression introduced in version 20080123 as a fix for 
   7280 the 
   7281 Unload operator. Lin Ming. BZ 10669
   7282 
   7283 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
   7284 operands 
   7285 and eliminated the use of a negative index in a loop. Operands are now 
   7286 displayed in the correct order, not backwards. This also fixes a 
   7287 regression 
   7288 introduced in 20080514 on 64-bit systems where the elimination of 
   7289 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
   7290 715
   7291 
   7292 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
   7293 exit 
   7294 path did not delete a locally allocated structure.
   7295 
   7296 Updated definitions for the DMAR and SRAT tables to synchronize with the 
   7297 current specifications. Includes disassembler support.
   7298 
   7299 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
   7300 loop termination value was used. Loop terminated on iteration early, 
   7301 missing 
   7302 one mutex. Linn Crosetto
   7303 
   7304 Example Code and Data Size: These are the sizes for the OS-independent 
   7305 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7306 debug version of the code includes the debug output trace mechanism and 
   7307 has a 
   7308 much larger code and data size.
   7309 
   7310   Previous Release:
   7311     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   7312     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   7313   Current Release:
   7314     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   7315     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   7316 
   7317 2) iASL Compiler/Disassembler and Tools:
   7318 
   7319 Disassembler: Implemented support for EisaId() within _CID objects. Now 
   7320 disassemble integer _CID objects back to EisaId invocations, including 
   7321 multiple integers within _CID packages. Includes single-step support for 
   7322 debugger also.
   7323 
   7324 Disassembler: Added support for DMAR and SRAT table definition changes.
   7325 
   7326 ----------------------------------------
   7327 14 May 2008. Summary of changes for version 20080514:
   7328 
   7329 1) ACPI CA Core Subsystem:
   7330 
   7331 Fixed a problem where GPEs were enabled too early during the ACPICA 
   7332 initialization. This could lead to "handler not installed" errors on some 
   7333 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
   7334 This 
   7335 ensures that all operation regions and devices throughout the namespace 
   7336 have 
   7337 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
   7338 
   7339 Implemented a change to the enter sleep code. Moved execution of the _GTS 
   7340 method to just before setting sleep enable bit. The execution was moved 
   7341 from 
   7342 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
   7343 immediately before the SLP_EN bit is set, as per the ACPI specification. 
   7344 Luming Yu, BZ 1653.
   7345 
   7346 Implemented a fix to disable unknown GPEs (2nd version). Now always 
   7347 disable 
   7348 the GPE, even if ACPICA thinks that that it is already disabled. It is 
   7349 possible that the AML or some other code has enabled the GPE unbeknownst 
   7350 to 
   7351 the ACPICA code.
   7352 
   7353 Fixed a problem with the Field operator where zero-length fields would 
   7354 return 
   7355 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
   7356 ASL 
   7357 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
   7358 
   7359 Implemented a fix for the Load operator, now load the table at the 
   7360 namespace 
   7361 root. This reverts a change introduced in version 20071019. The table is 
   7362 now 
   7363 loaded at the namespace root even though this goes against the ACPI 
   7364 specification. This provides compatibility with other ACPI 
   7365 implementations. 
   7366 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
   7367 Ming.
   7368 
   7369 Fixed a problem where ACPICA would not Load() tables with unusual 
   7370 signatures. 
   7371 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
   7372 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
   7373 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
   7374 such 
   7375 signatures, ACPICA must be compatible. BZ 10454.
   7376 
   7377 Fixed a possible negative array index in AcpiUtValidateException. Added 
   7378 NULL 
   7379 fields to the exception string arrays to eliminate a -1 subtraction on 
   7380 the 
   7381 SubStatus field.
   7382 
   7383 Updated the debug tracking macros to reduce overall code and data size. 
   7384 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
   7385 instead of pointers to static strings. Jan Beulich and Bob Moore.
   7386 
   7387 Implemented argument count checking in control method invocation via 
   7388 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
   7389 too 
   7390 many. This applies only to extern programmatic control method execution, 
   7391 not 
   7392 method-to-method calls within the AML. Lin Ming.
   7393 
   7394 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
   7395 no 
   7396 longer needed, especially with the removal of 16-bit support. It was 
   7397 replaced 
   7398 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
   7399 bit 
   7400 on 
   7401 32/64-bit platforms is required.
   7402 
   7403 Added the C const qualifier for appropriate string constants -- mostly 
   7404 MODULE_NAME and printf format strings. Jan Beulich.
   7405 
   7406 Example Code and Data Size: These are the sizes for the OS-independent 
   7407 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7408 debug version of the code includes the debug output trace mechanism and 
   7409 has a 
   7410 much larger code and data size.
   7411 
   7412   Previous Release:
   7413     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   7414     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   7415   Current Release:
   7416     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   7417     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   7418 
   7419 2) iASL Compiler/Disassembler and Tools:
   7420 
   7421 Implemented ACPI table revision ID validation in the disassembler. Zero 
   7422 is 
   7423 always invalid. For DSDTs, the ID controls the interpreter integer width. 
   7424 1 
   7425 means 32-bit and this is unusual. 2 or greater is 64-bit.
   7426 
   7427 ----------------------------------------
   7428 21 March 2008. Summary of changes for version 20080321:
   7429 
   7430 1) ACPI CA Core Subsystem:
   7431 
   7432 Implemented an additional change to the GPE support in order to suppress 
   7433 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
   7434 permanently 
   7435 disable incoming GPEs that are neither enabled nor disabled -- meaning 
   7436 that 
   7437 the GPE is unknown to the system. This should prevent future interrupt 
   7438 floods 
   7439 from that GPE. BZ 6217 (Zhang Rui)
   7440 
   7441 Fixed a problem where NULL package elements were not returned to the 
   7442 AcpiEvaluateObject interface correctly. The element was simply ignored 
   7443 instead of returning a NULL ACPI_OBJECT package element, potentially 
   7444 causing 
   7445 a buffer overflow and/or confusing the caller who expected a fixed number 
   7446 of 
   7447 elements. BZ 10132 (Lin Ming, Bob Moore)
   7448 
   7449 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
   7450 Dword, 
   7451 Qword), Field, BankField, and IndexField operators when invoked from 
   7452 inside 
   7453 an executing control method. In this case, these operators created 
   7454 namespace 
   7455 nodes that were incorrectly left marked as permanent nodes instead of 
   7456 temporary nodes. This could cause a problem if there is race condition 
   7457 between an exiting control method and a running namespace walk. (Reported 
   7458 by 
   7459 Linn Crosetto)
   7460 
   7461 Fixed a problem where the CreateField and CreateXXXField operators would 
   7462 incorrectly allow duplicate names (the name of the field) with no 
   7463 exception 
   7464 generated.
   7465 
   7466 Implemented several changes for Notify handling. Added support for new 
   7467 Notify 
   7468 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
   7469 PowerResource objects is no longer allowed, as per the ACPI 
   7470 specification. 
   7471 (Bob Moore, Zhang Rui)
   7472 
   7473 All Reference Objects returned via the AcpiEvaluateObject interface are 
   7474 now 
   7475 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
   7476 for 
   7477 NULL objects - either NULL package elements or unresolved named 
   7478 references.
   7479 
   7480 Fixed a problem where an extraneous debug message was produced for 
   7481 package 
   7482 objects (when debugging enabled). The message "Package List length larger 
   7483 than NumElements count" is now produced in the correct case, and is now 
   7484 an 
   7485 error message rather than a debug message. Added a debug message for the 
   7486 opposite case, where NumElements is larger than the Package List (the 
   7487 package 
   7488 will be padded out with NULL elements as per the ACPI spec.)
   7489 
   7490 Implemented several improvements for the output of the ASL "Debug" object 
   7491 to 
   7492 clarify and keep all data for a given object on one output line.
   7493 
   7494 Fixed two size calculation issues with the variable-length Start 
   7495 Dependent 
   7496 resource descriptor.
   7497 
   7498 Example Code and Data Size: These are the sizes for the OS-independent 
   7499 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7500 debug version of the code includes the debug output trace mechanism and 
   7501 has 
   7502 a much larger code and data size.
   7503 
   7504   Previous Release:
   7505     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   7506     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   7507   Current Release:
   7508     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   7509     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   7510 
   7511 2) iASL Compiler/Disassembler and Tools:
   7512 
   7513 Fixed a problem with the use of the Switch operator where execution of 
   7514 the 
   7515 containing method by multiple concurrent threads could cause an 
   7516 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
   7517 actual Switch opcode, it must be simulated with local named temporary 
   7518 variables and if/else pairs. The solution chosen was to mark any method 
   7519 that 
   7520 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
   7521 469.
   7522 
   7523 ----------------------------------------
   7524 13 February 2008. Summary of changes for version 20080213:
   7525 
   7526 1) ACPI CA Core Subsystem:
   7527 
   7528 Implemented another MS compatibility design change for GPE/Notify 
   7529 handling. 
   7530 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
   7531 to 
   7532 complete first. It is expected that the OSL will queue the enable request 
   7533 behind all pending notify requests (may require changes to the local host 
   7534 OSL 
   7535 in AcpiOsExecute). Alexey Starikovskiy.
   7536 
   7537 Fixed a problem where buffer and package objects passed as arguments to a 
   7538 control method via the external AcpiEvaluateObject interface could cause 
   7539 an 
   7540 AE_AML_INTERNAL exception depending on the order and type of operators 
   7541 executed by the target control method.
   7542 
   7543 Fixed a problem where resource descriptor size optimization could cause a 
   7544 problem when a _CRS resource template is passed to a _SRS method. The 
   7545 _SRS 
   7546 resource template must use the same descriptors (with the same size) as 
   7547 returned from _CRS. This change affects the following resource 
   7548 descriptors: 
   7549 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
   7550 9487)
   7551 
   7552 Fixed a problem where a CopyObject to RegionField, BankField, and 
   7553 IndexField 
   7554 objects did not perform an implicit conversion as it should. These types 
   7555 must 
   7556 retain their initial type permanently as per the ACPI specification. 
   7557 However, 
   7558 a CopyObject to all other object types should not perform an implicit 
   7559 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
   7560 
   7561 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
   7562 match device CIDs did not examine the entire list of available CIDs, but 
   7563 instead aborted on the first non-matching CID. Andrew Patterson.
   7564 
   7565 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
   7566 was 
   7567 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
   7568 truncating the upper dword of a 64-bit value. This macro is only used to 
   7569 display debug output, so no incorrect calculations were made. Also, 
   7570 reimplemented the macro so that a 64-bit shift is not performed by 
   7571 inefficient compilers.
   7572 
   7573 Added missing va_end statements that should correspond with each va_start 
   7574 statement.
   7575 
   7576 Example Code and Data Size: These are the sizes for the OS-independent 
   7577 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7578 debug version of the code includes the debug output trace mechanism and 
   7579 has 
   7580 a much larger code and data size.
   7581 
   7582   Previous Release:
   7583     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   7584     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   7585   Current Release:
   7586     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   7587     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   7588 
   7589 2) iASL Compiler/Disassembler and Tools:
   7590 
   7591 Implemented full disassembler support for the following new ACPI tables: 
   7592 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
   7593 complicated HEST table. These tables support the Windows Hardware Error 
   7594 Architecture (WHEA).
   7595 
   7596 ----------------------------------------
   7597 23 January 2008. Summary of changes for version 20080123:
   7598 
   7599 1) ACPI CA Core Subsystem:
   7600 
   7601 Added the 2008 copyright to all module headers and signons. This affects 
   7602 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   7603 the tools/utilities.
   7604 
   7605 Fixed a problem with the SizeOf operator when used with Package and 
   7606 Buffer 
   7607 objects. These objects have deferred execution for some arguments, and 
   7608 the 
   7609 execution is now completed before the SizeOf is executed. This problem 
   7610 caused 
   7611 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
   7612 BZ 
   7613 9558
   7614 
   7615 Implemented an enhancement to the interpreter "slack mode". In the 
   7616 absence 
   7617 of 
   7618 an explicit return or an implicitly returned object from the last 
   7619 executed 
   7620 opcode, a control method will now implicitly return an integer of value 0 
   7621 for 
   7622 Microsoft compatibility. (Lin Ming) BZ 392
   7623 
   7624 Fixed a problem with the Load operator where an exception was not 
   7625 returned 
   7626 in 
   7627 the case where the table is already loaded. (Lin Ming) BZ 463
   7628 
   7629 Implemented support for the use of DDBHandles as an Indexed Reference, as 
   7630 per 
   7631 the ACPI spec. (Lin Ming) BZ 486
   7632 
   7633 Implemented support for UserTerm (Method invocation) for the Unload 
   7634 operator 
   7635 as per the ACPI spec. (Lin Ming) BZ 580
   7636 
   7637 Fixed a problem with the LoadTable operator where the OemId and 
   7638 OemTableId 
   7639 input strings could cause unexpected failures if they were shorter than 
   7640 the 
   7641 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
   7642 
   7643 Implemented support for UserTerm (Method invocation) for the Unload 
   7644 operator 
   7645 as per the ACPI spec. (Lin Ming) BZ 580
   7646 
   7647 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
   7648 HEST, 
   7649 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
   7650 
   7651 Example Code and Data Size: These are the sizes for the OS-independent 
   7652 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7653 debug version of the code includes the debug output trace mechanism and 
   7654 has 
   7655 a much larger code and data size.
   7656 
   7657   Previous Release:
   7658     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   7659     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   7660   Current Release:
   7661     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   7662     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   7663 
   7664 2) iASL Compiler/Disassembler and Tools:
   7665 
   7666 Implemented support in the disassembler for checksum validation on 
   7667 incoming 
   7668 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
   7669 table 
   7670 header dump at the start of the disassembly.
   7671 
   7672 Implemented additional debugging information in the namespace listing 
   7673 file 
   7674 created during compilation. In addition to the namespace hierarchy, the 
   7675 full 
   7676 pathname to each namespace object is displayed.
   7677 
   7678 Fixed a problem with the disassembler where invalid ACPI tables could 
   7679 cause 
   7680 faults or infinite loops.
   7681 
   7682 Fixed an unexpected parse error when using the optional "parameter types" 
   7683 list in a control method declaration. (Lin Ming) BZ 397
   7684 
   7685 Fixed a problem where two External declarations with the same name did 
   7686 not 
   7687 cause an error (Lin Ming) BZ 509
   7688 
   7689 Implemented support for full TermArgs (adding Argx, Localx and method 
   7690 invocation) for the ParameterData parameter to the LoadTable operator. 
   7691 (Lin 
   7692 Ming) BZ 583,587
   7693 
   7694 ----------------------------------------
   7695 19 December 2007. Summary of changes for version 20071219:
   7696 
   7697 1) ACPI CA Core Subsystem:
   7698 
   7699 Implemented full support for deferred execution for the TermArg string 
   7700 arguments for DataTableRegion. This enables forward references and full 
   7701 operand resolution for the three string arguments. Similar to 
   7702 OperationRegion 
   7703 deferred argument execution.) Lin Ming. BZ 430
   7704 
   7705 Implemented full argument resolution support for the BankValue argument 
   7706 to 
   7707 BankField. Previously, only constants were supported, now any TermArg may 
   7708 be 
   7709 used. Lin Ming BZ 387, 393
   7710 
   7711 Fixed a problem with AcpiGetDevices where the search of a branch of the 
   7712 device tree could be terminated prematurely. In accordance with the ACPI 
   7713 specification, the search down the current branch is terminated if a 
   7714 device 
   7715 is both not present and not functional (instead of just not present.) 
   7716 Yakui 
   7717 Zhao.
   7718 
   7719 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
   7720 if 
   7721 the underlying AML code changed the GPE enable registers. Now, any 
   7722 unknown 
   7723 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
   7724 disabled 
   7725 instead of simply ignored. Rui Zhang.
   7726 
   7727 Fixed a problem with Index Fields where the Index register was 
   7728 incorrectly 
   7729 limited to a maximum of 32 bits. Now any size may be used.
   7730 
   7731 Fixed a couple memory leaks associated with "implicit return" objects 
   7732 when 
   7733 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
   7734 
   7735 Example Code and Data Size: These are the sizes for the OS-independent 
   7736 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7737 debug version of the code includes the debug output trace mechanism and 
   7738 has 
   7739 a much larger code and data size.
   7740 
   7741   Previous Release:
   7742     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   7743     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   7744   Current Release:
   7745     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   7746     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   7747 
   7748 ----------------------------------------
   7749 14 November 2007. Summary of changes for version 20071114:
   7750 
   7751 1) ACPI CA Core Subsystem:
   7752 
   7753 Implemented event counters for each of the Fixed Events, the ACPI SCI 
   7754 (interrupt) itself, and control methods executed. Named 
   7755 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
   7756 These 
   7757 should be useful for debugging and statistics.
   7758 
   7759 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
   7760 contents of the various event counters. Returns the current values for 
   7761 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
   7762 AcpiMethodCount. The interface can be expanded in the future if new 
   7763 counters 
   7764 are added. Device drivers should use this interface rather than access 
   7765 the 
   7766 counters directly.
   7767 
   7768 Fixed a problem with the FromBCD and ToBCD operators. With some 
   7769 compilers, 
   7770 the ShortDivide function worked incorrectly, causing problems with the 
   7771 BCD 
   7772 functions with large input values. A truncation from 64-bit to 32-bit 
   7773 inadvertently occurred. Internal BZ 435. Lin Ming
   7774 
   7775 Fixed a problem with Index references passed as method arguments. 
   7776 References 
   7777 passed as arguments to control methods were dereferenced immediately 
   7778 (before 
   7779 control was passed to the called method). The references are now 
   7780 correctly 
   7781 passed directly to the called method. BZ 5389. Lin Ming
   7782 
   7783 Fixed a problem with CopyObject used in conjunction with the Index 
   7784 operator. 
   7785 The reference was incorrectly dereferenced before the copy. The reference 
   7786 is 
   7787 now correctly copied. BZ 5391. Lin Ming
   7788 
   7789 Fixed a problem with Control Method references within Package objects. 
   7790 These 
   7791 references are now correctly generated. This completes the package 
   7792 construction overhaul that began in version 20071019.
   7793 
   7794 Example Code and Data Size: These are the sizes for the OS-independent 
   7795 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7796 debug version of the code includes the debug output trace mechanism and 
   7797 has 
   7798 a much larger code and data size.
   7799 
   7800   Previous Release:
   7801     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   7802     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   7803   Current Release:
   7804     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   7805     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   7806 
   7807 
   7808 2) iASL Compiler/Disassembler and Tools:
   7809 
   7810 The AcpiExec utility now installs handlers for all of the predefined 
   7811 Operation Region types. New types supported are: PCI_Config, CMOS, and 
   7812 PCIBARTarget.
   7813 
   7814 Fixed a problem with the 64-bit version of AcpiExec where the extended 
   7815 (64-
   7816 bit) address fields for the DSDT and FACS within the FADT were not being 
   7817 used, causing truncation of the upper 32-bits of these addresses. Lin 
   7818 Ming 
   7819 and Bob Moore
   7820 
   7821 ----------------------------------------
   7822 19 October 2007. Summary of changes for version 20071019:
   7823 
   7824 1) ACPI CA Core Subsystem:
   7825 
   7826 Fixed a problem with the Alias operator when the target of the alias is a 
   7827 named ASL operator that opens a new scope -- Scope, Device, 
   7828 PowerResource, 
   7829 Processor, and ThermalZone. In these cases, any children of the original 
   7830 operator could not be accessed via the alias, potentially causing 
   7831 unexpected 
   7832 AE_NOT_FOUND exceptions. (BZ 9067)
   7833 
   7834 Fixed a problem with the Package operator where all named references were 
   7835 created as object references and left otherwise unresolved. According to 
   7836 the 
   7837 ACPI specification, a Package can only contain Data Objects or references 
   7838 to 
   7839 control methods. The implication is that named references to Data Objects 
   7840 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
   7841 immediately upon package creation. This is the approach taken with this 
   7842 change. References to all other named objects (Methods, Devices, Scopes, 
   7843 etc.) are all now properly created as reference objects. (BZ 5328)
   7844 
   7845 Reverted a change to Notify handling that was introduced in version 
   7846 20070508. This version changed the Notify handling from asynchronous to 
   7847 fully synchronous (Device driver Notify handling with respect to the 
   7848 Notify 
   7849 ASL operator). It was found that this change caused more problems than it 
   7850 solved and was removed by most users.
   7851 
   7852 Fixed a problem with the Increment and Decrement operators where the type 
   7853 of 
   7854 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
   7855 Lin Ming.
   7856 
   7857 Fixed a problem with the Load and LoadTable operators where the table 
   7858 location within the namespace was ignored. Instead, the table was always 
   7859 loaded into the root or current scope. Lin Ming.
   7860 
   7861 Fixed a problem with the Load operator when loading a table from a buffer 
   7862 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
   7863 
   7864 Fixed a problem with the Debug object where a store of a DdbHandle 
   7865 reference 
   7866 object to the Debug object could cause a fault.
   7867 
   7868 Added a table checksum verification for the Load operator, in the case 
   7869 where 
   7870 the load is from a buffer. (BZ 578).
   7871 
   7872 Implemented additional parameter validation for the LoadTable operator. 
   7873 The 
   7874 length of the input strings SignatureString, OemIdString, and OemTableId 
   7875 are 
   7876 now checked for maximum lengths. (BZ 582) Lin Ming.
   7877 
   7878 Example Code and Data Size: These are the sizes for the OS-independent 
   7879 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7880 debug version of the code includes the debug output trace mechanism and 
   7881 has 
   7882 a much larger code and data size.
   7883 
   7884   Previous Release:
   7885     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   7886     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   7887   Current Release:
   7888     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   7889     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   7890 
   7891 
   7892 2) iASL Compiler/Disassembler:
   7893 
   7894 Fixed a problem where if a single file was specified and the file did not 
   7895 exist, no error message was emitted. (Introduced with wildcard support in 
   7896 version 20070917.)
   7897 
   7898 ----------------------------------------
   7899 19 September 2007. Summary of changes for version 20070919:
   7900 
   7901 1) ACPI CA Core Subsystem:
   7902 
   7903 Designed and implemented new external interfaces to install and remove 
   7904 handlers for ACPI table-related events. Current events that are defined 
   7905 are 
   7906 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
   7907 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
   7908 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
   7909 
   7910 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
   7911 (acpi_serialized option on Linux) could cause some systems to hang during 
   7912 initialization. (Bob Moore) BZ 8171
   7913 
   7914 Fixed a problem where objects of certain types (Device, ThermalZone, 
   7915 Processor, PowerResource) can be not found if they are declared and 
   7916 referenced from within the same control method (Lin Ming) BZ 341
   7917 
   7918 Example Code and Data Size: These are the sizes for the OS-independent 
   7919 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7920 debug version of the code includes the debug output trace mechanism and 
   7921 has 
   7922 a much larger code and data size.
   7923 
   7924   Previous Release:
   7925     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   7926     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   7927   Current Release:
   7928     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   7929     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   7930 
   7931 
   7932 2) iASL Compiler/Disassembler:
   7933 
   7934 Implemented support to allow multiple files to be compiled/disassembled 
   7935 in 
   7936 a 
   7937 single invocation. This includes command line wildcard support for both 
   7938 the 
   7939 Windows and Unix versions of the compiler. This feature simplifies the 
   7940 disassembly and compilation of multiple ACPI tables in a single 
   7941 directory.
   7942 
   7943 ----------------------------------------
   7944 08 May 2007. Summary of changes for version 20070508:
   7945 
   7946 1) ACPI CA Core Subsystem:
   7947 
   7948 Implemented a Microsoft compatibility design change for the handling of 
   7949 the 
   7950 Notify AML operator. Previously, notify handlers were dispatched and 
   7951 executed completely asynchronously in a deferred thread. The new design 
   7952 still executes the notify handlers in a different thread, but the 
   7953 original 
   7954 thread that executed the Notify() now waits at a synchronization point 
   7955 for 
   7956 the notify handler to complete. Some machines depend on a synchronous 
   7957 Notify 
   7958 operator in order to operate correctly.
   7959 
   7960 Implemented support to allow Package objects to be passed as method 
   7961 arguments to the external AcpiEvaluateObject interface. Previously, this 
   7962 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
   7963 implemented since there were no reserved control methods that required it 
   7964 until recently.
   7965 
   7966 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
   7967 that 
   7968 contained invalid non-zero values in reserved fields could cause later 
   7969 failures because these fields have meaning in later revisions of the 
   7970 FADT. 
   7971 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
   7972 fields 
   7973 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
   7974 
   7975 Fixed a problem where the Global Lock handle was not properly updated if 
   7976 a 
   7977 thread that acquired the Global Lock via executing AML code then 
   7978 attempted 
   7979 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
   7980 Joe 
   7981 Liu.
   7982 
   7983 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
   7984 could be corrupted if the interrupt being removed was at the head of the 
   7985 list. Reported by Linn Crosetto.
   7986 
   7987 Example Code and Data Size: These are the sizes for the OS-independent 
   7988 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7989 debug version of the code includes the debug output trace mechanism and 
   7990 has 
   7991 a much larger code and data size.
   7992 
   7993   Previous Release:
   7994     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   7995     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   7996   Current Release:
   7997     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   7998     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   7999 
   8000 ----------------------------------------
   8001 20 March 2007. Summary of changes for version 20070320:
   8002 
   8003 1) ACPI CA Core Subsystem:
   8004 
   8005 Implemented a change to the order of interpretation and evaluation of AML 
   8006 operand objects within the AML interpreter. The interpreter now evaluates 
   8007 operands in the order that they appear in the AML stream (and the 
   8008 corresponding ASL code), instead of in the reverse order (after the 
   8009 entire 
   8010 operand list has been parsed). The previous behavior caused several 
   8011 subtle 
   8012 incompatibilities with the Microsoft AML interpreter as well as being 
   8013 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
   8014 
   8015 Implemented a change to the ACPI Global Lock support. All interfaces to 
   8016 the 
   8017 global lock now allow the same thread to acquire the lock multiple times. 
   8018 This affects the AcpiAcquireGlobalLock external interface to the global 
   8019 lock 
   8020 as well as the internal use of the global lock to support AML fields -- a 
   8021 control method that is holding the global lock can now simultaneously 
   8022 access 
   8023 AML fields that require global lock protection. Previously, in both 
   8024 cases, 
   8025 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
   8026 to 
   8027 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
   8028 Controller. There is no change to the behavior of the AML Acquire 
   8029 operator, 
   8030 as this can already be used to acquire a mutex multiple times by the same 
   8031 thread. BZ 8066. With assistance from Alexey Starikovskiy.
   8032 
   8033 Fixed a problem where invalid objects could be referenced in the AML 
   8034 Interpreter after error conditions. During operand evaluation, ensure 
   8035 that 
   8036 the internal "Return Object" field is cleared on error and only valid 
   8037 pointers are stored there. Caused occasional access to deleted objects 
   8038 that 
   8039 resulted in "large reference count" warning messages. Valery Podrezov.
   8040 
   8041 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
   8042 on 
   8043 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
   8044 Podrezov.
   8045 
   8046 Fixed an internal problem with the handling of result objects on the 
   8047 interpreter result stack. BZ 7872. Valery Podrezov.
   8048 
   8049 Removed obsolete code that handled the case where AML_NAME_OP is the 
   8050 target 
   8051 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
   8052 7874. Valery Podrezov.
   8053 
   8054 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
   8055 was 
   8056 a 
   8057 remnant from the previously discontinued 16-bit support.
   8058 
   8059 Example Code and Data Size: These are the sizes for the OS-independent 
   8060 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8061 debug version of the code includes the debug output trace mechanism and 
   8062 has 
   8063 a much larger code and data size.
   8064 
   8065   Previous Release:
   8066     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8067     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   8068   Current Release:
   8069     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8070     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   8071 
   8072 ----------------------------------------
   8073 26 January 2007. Summary of changes for version 20070126:
   8074 
   8075 1) ACPI CA Core Subsystem:
   8076 
   8077 Added the 2007 copyright to all module headers and signons. This affects 
   8078 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   8079 the utilities.
   8080 
   8081 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
   8082 during a table load. A bad pointer was passed in the case where the DSDT 
   8083 is 
   8084 overridden, causing a fault in this case.
   8085 
   8086 Example Code and Data Size: These are the sizes for the OS-independent 
   8087 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8088 debug version of the code includes the debug output trace mechanism and 
   8089 has 
   8090 a much larger code and data size.
   8091 
   8092   Previous Release:
   8093     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8094     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   8095   Current Release:
   8096     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8097     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   8098 
   8099 ----------------------------------------
   8100 15 December 2006. Summary of changes for version 20061215:
   8101 
   8102 1) ACPI CA Core Subsystem:
   8103 
   8104 Support for 16-bit ACPICA has been completely removed since it is no 
   8105 longer 
   8106 necessary and it clutters the code. All 16-bit macros, types, and 
   8107 conditional compiles have been removed, cleaning up and simplifying the 
   8108 code 
   8109 across the entire subsystem. DOS support is no longer needed since the 
   8110 bootable Linux firmware kit is now available.
   8111 
   8112 The handler for the Global Lock is now removed during AcpiTerminate to 
   8113 enable a clean subsystem restart, via the implementation of the 
   8114 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
   8115 HP)
   8116 
   8117 Implemented enhancements to the multithreading support within the 
   8118 debugger 
   8119 to enable improved multithreading debugging and evaluation of the 
   8120 subsystem. 
   8121 (Valery Podrezov)
   8122 
   8123 Debugger: Enhanced the Statistics/Memory command to emit the total 
   8124 (maximum) 
   8125 memory used during the execution, as well as the maximum memory consumed 
   8126 by 
   8127 each of the various object types. (Valery Podrezov)
   8128 
   8129 Example Code and Data Size: These are the sizes for the OS-independent 
   8130 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8131 debug version of the code includes the debug output trace mechanism and 
   8132 has 
   8133 a much larger code and data size.
   8134 
   8135   Previous Release:
   8136     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   8137     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   8138   Current Release:
   8139     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8140     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   8141 
   8142 
   8143 2) iASL Compiler/Disassembler and Tools:
   8144 
   8145 AcpiExec: Implemented a new option (-m) to display full memory use 
   8146 statistics upon subsystem/program termination. (Valery Podrezov)
   8147 
   8148 ----------------------------------------
   8149 09 November 2006. Summary of changes for version 20061109:
   8150 
   8151 1) ACPI CA Core Subsystem:
   8152 
   8153 Optimized the Load ASL operator in the case where the source operand is 
   8154 an 
   8155 operation region. Simply map the operation region memory, instead of 
   8156 performing a bytewise read. (Region must be of type SystemMemory, see 
   8157 below.)
   8158 
   8159 Fixed the Load ASL operator for the case where the source operand is a 
   8160 region field. A buffer object is also allowed as the source operand. BZ 
   8161 480
   8162 
   8163 Fixed a problem where the Load ASL operator allowed the source operand to 
   8164 be 
   8165 an operation region of any type. It is now restricted to regions of type 
   8166 SystemMemory, as per the ACPI specification. BZ 481
   8167 
   8168 Additional cleanup and optimizations for the new Table Manager code.
   8169 
   8170 AcpiEnable will now fail if all of the required ACPI tables are not 
   8171 loaded 
   8172 (FADT, FACS, DSDT). BZ 477
   8173 
   8174 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
   8175 this 
   8176 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
   8177 manually optimized to be aligned and will not work if it is byte-packed. 
   8178 
   8179 Example Code and Data Size: These are the sizes for the OS-independent 
   8180 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8181 debug version of the code includes the debug output trace mechanism and 
   8182 has 
   8183 a much larger code and data size.
   8184 
   8185   Previous Release:
   8186     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   8187     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   8188   Current Release:
   8189     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   8190     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   8191 
   8192 
   8193 2) iASL Compiler/Disassembler and Tools:
   8194 
   8195 Fixed a problem where the presence of the _OSI predefined control method 
   8196 within complex expressions could cause an internal compiler error.
   8197 
   8198 AcpiExec: Implemented full region support for multiple address spaces. 
   8199 SpaceId is now part of the REGION object. BZ 429
   8200 
   8201 ----------------------------------------
   8202 11 October 2006. Summary of changes for version 20061011:
   8203 
   8204 1) ACPI CA Core Subsystem:
   8205 
   8206 Completed an AML interpreter performance enhancement for control method 
   8207 execution. Previously a 2-pass parse/execution, control methods are now 
   8208 completely parsed and executed in a single pass. This improves overall 
   8209 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
   8210 use. (Valery Podrezov + interpreter changes in version 20051202 that 
   8211 eliminated namespace loading during the pass one parse.)
   8212 
   8213 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
   8214 not 
   8215 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
   8216 now 
   8217 obtained and also checked for an ID match.
   8218 
   8219 Implemented additional support for the PCI _ADR execution: upsearch until 
   8220 a 
   8221 device scope is found before executing _ADR. This allows PCI_Config 
   8222 operation regions to be declared locally within control methods 
   8223 underneath 
   8224 PCI device objects.
   8225 
   8226 Fixed a problem with a possible race condition between threads executing 
   8227 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
   8228 modifying AcpiWalkNamespace to (by default) ignore all temporary 
   8229 namespace 
   8230 entries created during any concurrent control method execution. An 
   8231 additional namespace race condition is known to exist between 
   8232 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
   8233 investigation.
   8234 
   8235 Restructured the AML ParseLoop function, breaking it into several 
   8236 subfunctions in order to reduce CPU stack use and improve 
   8237 maintainability. 
   8238 (Mikhail Kouzmich)
   8239 
   8240 AcpiGetHandle: Fix for parameter validation to detect invalid 
   8241 combinations 
   8242 of prefix handle and pathname. BZ 478
   8243 
   8244 Example Code and Data Size: These are the sizes for the OS-independent 
   8245 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8246 debug version of the code includes the debug output trace mechanism and 
   8247 has 
   8248 a much larger code and data size.
   8249 
   8250   Previous Release:
   8251     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   8252     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   8253   Current Release:
   8254     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   8255     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   8256 
   8257 2) iASL Compiler/Disassembler and Tools:
   8258 
   8259 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
   8260 Manager 
   8261 to restore original behavior.
   8262 
   8263 ----------------------------------------
   8264 27 September 2006. Summary of changes for version 20060927:
   8265 
   8266 1) ACPI CA Core Subsystem:
   8267 
   8268 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
   8269 These functions now use a spinlock for mutual exclusion and the interrupt 
   8270 level indication flag is not needed.
   8271 
   8272 Fixed a problem with the Global Lock where the lock could appear to be 
   8273 obtained before it is actually obtained. The global lock semaphore was 
   8274 inadvertently created with one unit instead of zero units. (BZ 464) 
   8275 Fiodor 
   8276 Suietov.
   8277 
   8278 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
   8279 during 
   8280 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
   8281 
   8282 Example Code and Data Size: These are the sizes for the OS-independent 
   8283 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8284 debug version of the code includes the debug output trace mechanism and 
   8285 has 
   8286 a much larger code and data size.
   8287 
   8288   Previous Release:
   8289     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   8290     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   8291   Current Release:
   8292     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   8293     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   8294 
   8295 
   8296 2) iASL Compiler/Disassembler and Tools:
   8297 
   8298 Fixed a compilation problem with the pre-defined Resource Descriptor 
   8299 field 
   8300 names where an "object does not exist" error could be incorrectly 
   8301 generated 
   8302 if the parent ResourceTemplate pathname places the template within a 
   8303 different namespace scope than the current scope. (BZ 7212)
   8304 
   8305 Fixed a problem where the compiler could hang after syntax errors 
   8306 detected 
   8307 in an ElseIf construct. (BZ 453)
   8308 
   8309 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
   8310 operator. An incorrect output filename was produced when this parameter 
   8311 was 
   8312 a null string (""). Now, the original input filename is used as the AML 
   8313 output filename, with an ".aml" extension.
   8314 
   8315 Implemented a generic batch command mode for the AcpiExec utility 
   8316 (execute 
   8317 any AML debugger command) (Valery Podrezov).
   8318 
   8319 ----------------------------------------
   8320 12 September 2006. Summary of changes for version 20060912:
   8321 
   8322 1) ACPI CA Core Subsystem:
   8323 
   8324 Enhanced the implementation of the "serialized mode" of the interpreter 
   8325 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
   8326 specified, instead of creating a serialization semaphore per control 
   8327 method, 
   8328 the interpreter lock is simply no longer released before a blocking 
   8329 operation during control method execution. This effectively makes the AML 
   8330 Interpreter single-threaded. The overhead of a semaphore per-method is 
   8331 eliminated.
   8332 
   8333 Fixed a regression where an error was no longer emitted if a control 
   8334 method 
   8335 attempts to create 2 objects of the same name. This once again returns 
   8336 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
   8337 that 
   8338 will dynamically serialize the control method to possible prevent future 
   8339 errors. (BZ 440)
   8340 
   8341 Integrated a fix for a problem with PCI Express HID detection in the PCI 
   8342 Config Space setup procedure. (BZ 7145)
   8343 
   8344 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
   8345 AcpiHwInitialize function - the FADT registers are now validated when the 
   8346 table is loaded.
   8347 
   8348 Added two new warnings during FADT verification - 1) if the FADT is 
   8349 larger 
   8350 than the largest known FADT version, and 2) if there is a mismatch 
   8351 between 
   8352 a 
   8353 32-bit block address and the 64-bit X counterpart (when both are non-
   8354 zero.)
   8355 
   8356 Example Code and Data Size: These are the sizes for the OS-independent 
   8357 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8358 debug version of the code includes the debug output trace mechanism and 
   8359 has 
   8360 a much larger code and data size.
   8361 
   8362   Previous Release:
   8363     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   8364     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   8365   Current Release:
   8366     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   8367     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   8368 
   8369 
   8370 2) iASL Compiler/Disassembler and Tools:
   8371 
   8372 Fixed a problem with the implementation of the Switch() operator where 
   8373 the 
   8374 temporary variable was declared too close to the actual Switch, instead 
   8375 of 
   8376 at method level. This could cause a problem if the Switch() operator is 
   8377 within a while loop, causing an error on the second iteration. (BZ 460)
   8378 
   8379 Disassembler - fix for error emitted for unknown type for target of scope 
   8380 operator. Now, ignore it and continue.
   8381 
   8382 Disassembly of an FADT now verifies the input FADT and reports any errors 
   8383 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
   8384 
   8385 Disassembly of raw data buffers with byte initialization data now 
   8386 prefixes 
   8387 each output line with the current buffer offset.
   8388 
   8389 Disassembly of ASF! table now includes all variable-length data fields at 
   8390 the end of some of the subtables.
   8391 
   8392 The disassembler now emits a comment if a buffer appears to be a 
   8393 ResourceTemplate, but cannot be disassembled as such because the EndTag 
   8394 does 
   8395 not appear at the very end of the buffer.
   8396 
   8397 AcpiExec - Added the "-t" command line option to enable the serialized 
   8398 mode 
   8399 of the AML interpreter.
   8400 
   8401 ----------------------------------------
   8402 31 August 2006. Summary of changes for version 20060831:
   8403 
   8404 1) ACPI CA Core Subsystem:
   8405 
   8406 Miscellaneous fixes for the Table Manager:
   8407 - Correctly initialize internal common FADT for all 64-bit "X" fields
   8408 - Fixed a couple table mapping issues during table load
   8409 - Fixed a couple alignment issues for IA64
   8410 - Initialize input array to zero in AcpiInitializeTables
   8411 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
   8412 AcpiGetTableByIndex
   8413 
   8414 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
   8415 now 
   8416 immediately disabled to prevent the waking GPE from firing again and to 
   8417 prevent other wake GPEs from interrupting the wake process.
   8418 
   8419 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
   8420 to 
   8421 be used for debugging systems with a large number of ACPI interrupts.
   8422 
   8423 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
   8424 both the ACPICA headers and the disassembler.
   8425 
   8426 Example Code and Data Size: These are the sizes for the OS-independent 
   8427 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8428 debug version of the code includes the debug output trace mechanism and 
   8429 has 
   8430 a much larger code and data size.
   8431 
   8432   Previous Release:
   8433     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   8434     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   8435   Current Release:
   8436     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   8437     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   8438 
   8439 
   8440 2) iASL Compiler/Disassembler and Tools:
   8441 
   8442 Disassembler support for the DMAR ACPI table.
   8443 
   8444 ----------------------------------------
   8445 23 August 2006. Summary of changes for version 20060823:
   8446 
   8447 1) ACPI CA Core Subsystem:
   8448 
   8449 The Table Manager component has been completely redesigned and 
   8450 reimplemented. The new design is much simpler, and reduces the overall 
   8451 code 
   8452 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
   8453 is 
   8454 now possible to obtain the ACPI tables very early during kernel 
   8455 initialization, even before dynamic memory management is initialized. 
   8456 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
   8457 
   8458 Obsolete ACPICA interfaces:
   8459 
   8460 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
   8461 init 
   8462 time).
   8463 - AcpiLoadTable: Not needed.
   8464 - AcpiUnloadTable: Not needed.
   8465 
   8466 New ACPICA interfaces:
   8467 
   8468 - AcpiInitializeTables: Must be called before the table manager can be 
   8469 used.
   8470 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
   8471 allocated memory after it becomes available.
   8472 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
   8473 tables 
   8474 in the RSDT/XSDT.
   8475 
   8476 Other ACPICA changes:
   8477 
   8478 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
   8479 Use 
   8480 AcpiOsUnmapMemory to free this mapping.
   8481 - AcpiGetTable returns the actual mapped table. The mapping is managed 
   8482 internally and must not be deleted by the caller. Use of this interface 
   8483 causes no additional dynamic memory allocation.
   8484 - AcpiFindRootPointer: Support for physical addressing has been 
   8485 eliminated, 
   8486 it appeared to be unused.
   8487 - The interface to AcpiOsMapMemory has changed to be consistent with the 
   8488 other allocation interfaces.
   8489 - The interface to AcpiOsGetRootPointer has changed to eliminate 
   8490 unnecessary 
   8491 parameters.
   8492 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
   8493 64-
   8494 bit platforms. Was previously 64 bits on all platforms.
   8495 - The interface to the ACPI Global Lock acquire/release macros have 
   8496 changed 
   8497 slightly since ACPICA no longer keeps a local copy of the FACS with a 
   8498 constructed pointer to the actual global lock.
   8499 
   8500 Porting to the new table manager:
   8501 
   8502 - AcpiInitializeTables: Must be called once, and can be called anytime 
   8503 during the OS initialization process. It allows the host to specify an 
   8504 area 
   8505 of memory to be used to store the internal version of the RSDT/XSDT (root 
   8506 table). This allows the host to access ACPI tables before memory 
   8507 management 
   8508 is initialized and running.
   8509 - AcpiReallocateRootTable: Can be called after memory management is 
   8510 running 
   8511 to copy the root table to a dynamically allocated array, freeing up the 
   8512 scratch memory specified in the call to AcpiInitializeTables.
   8513 - AcpiSubsystemInitialize: This existing interface is independent of the 
   8514 Table Manager, and does not have to be called before the Table Manager 
   8515 can 
   8516 be used, it only must be called before the rest of ACPICA can be used.
   8517 - ACPI Tables: Some changes have been made to the names and structure of 
   8518 the 
   8519 actbl.h and actbl1.h header files and may require changes to existing 
   8520 code. 
   8521 For example, bitfields have been completely removed because of their lack 
   8522 of 
   8523 portability across C compilers.
   8524 - Update interfaces to the Global Lock acquire/release macros if local 
   8525 versions are used. (see acwin.h)
   8526 
   8527 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
   8528 
   8529 New files: tbfind.c
   8530 
   8531 Example Code and Data Size: These are the sizes for the OS-independent 
   8532 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8533 debug version of the code includes the debug output trace mechanism and 
   8534 has 
   8535 a much larger code and data size.
   8536 
   8537   Previous Release:
   8538     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   8539     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   8540   Current Release:
   8541     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   8542     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   8543 
   8544 
   8545 2) iASL Compiler/Disassembler and Tools:
   8546 
   8547 No changes for this release.
   8548 
   8549 ----------------------------------------
   8550 21 July 2006. Summary of changes for version 20060721:
   8551 
   8552 1) ACPI CA Core Subsystem:
   8553 
   8554 The full source code for the ASL test suite used to validate the iASL 
   8555 compiler and the ACPICA core subsystem is being released with the ACPICA 
   8556 source for the first time. The source is contained in a separate package 
   8557 and 
   8558 consists of over 1100 files that exercise all ASL/AML operators. The 
   8559 package 
   8560 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
   8561 Fiodor 
   8562 Suietov)
   8563 
   8564 Completed a new design and implementation for support of the ACPI Global 
   8565 Lock. On the OS side, the global lock is now treated as a standard AML 
   8566 mutex. Previously, multiple OS threads could "acquire" the global lock 
   8567 simultaneously. However, this could cause the BIOS to be starved out of 
   8568 the 
   8569 lock - especially in cases such as the Embedded Controller driver where 
   8570 there is a tight coupling between the OS and the BIOS.
   8571 
   8572 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
   8573 The Global Lock interrupt handler no longer queues the execution of a 
   8574 separate thread to signal the global lock semaphore. Instead, the 
   8575 semaphore 
   8576 is signaled directly from the interrupt handler.
   8577 
   8578 Implemented support within the AML interpreter for package objects that 
   8579 contain a larger AML length (package list length) than the package 
   8580 element 
   8581 count. In this case, the length of the package is truncated to match the 
   8582 package element count. Some BIOS code apparently modifies the package 
   8583 length 
   8584 on the fly, and this change supports this behavior. Provides 
   8585 compatibility 
   8586 with the MS AML interpreter. (With assistance from Fiodor Suietov)
   8587 
   8588 Implemented a temporary fix for the BankValue parameter of a Bank Field 
   8589 to 
   8590 support all constant values, now including the Zero and One opcodes. 
   8591 Evaluation of this parameter must eventually be converted to a full 
   8592 TermArg 
   8593 evaluation. A not-implemented error is now returned (temporarily) for 
   8594 non-
   8595 constant values for this parameter.
   8596 
   8597 Fixed problem reports (Fiodor Suietov) integrated:
   8598 - Fix for premature object deletion after CopyObject on Operation Region 
   8599 (BZ 
   8600 350)
   8601 
   8602 Example Code and Data Size: These are the sizes for the OS-independent 
   8603 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8604 debug version of the code includes the debug output trace mechanism and 
   8605 has 
   8606 a much larger code and data size.
   8607 
   8608   Previous Release:
   8609     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
   8610     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
   8611   Current Release:
   8612     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   8613     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   8614 
   8615 
   8616 2) iASL Compiler/Disassembler and Tools:
   8617 
   8618 No changes for this release.
   8619 
   8620 ----------------------------------------
   8621 07 July 2006. Summary of changes for version 20060707:
   8622 
   8623 1) ACPI CA Core Subsystem:
   8624 
   8625 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
   8626 that do not allow the initialization of address pointers within packed 
   8627 structures - even though the hardware itself may support misaligned 
   8628 transfers. Some of the debug data structures are packed by default to 
   8629 minimize size.
   8630 
   8631 Added an error message for the case where AcpiOsGetThreadId() returns 
   8632 zero. 
   8633 A non-zero value is required by the core ACPICA code to ensure the proper 
   8634 operation of AML mutexes and recursive control methods.
   8635 
   8636 The DSDT is now the only ACPI table that determines whether the AML 
   8637 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
   8638 but 
   8639 the hooks for per-table 32/64 switching have been removed from the code. 
   8640 A 
   8641 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
   8642 
   8643 Fixed a possible leak of an OwnerID in the error path of 
   8644 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
   8645 deletion to a single place in AcpiTbUninstallTable to correct possible 
   8646 leaks 
   8647 when using the AcpiTbDeleteTablesByType interface (with assistance from 
   8648 Lance Ortiz.)
   8649 
   8650 Fixed a problem with Serialized control methods where the semaphore 
   8651 associated with the method could be over-signaled after multiple method 
   8652 invocations.
   8653 
   8654 Fixed two issues with the locking of the internal namespace data 
   8655 structure. 
   8656 Both the Unload() operator and AcpiUnloadTable interface now lock the 
   8657 namespace during the namespace deletion associated with the table unload 
   8658 (with assistance from Linn Crosetto.)
   8659 
   8660 Fixed problem reports (Valery Podrezov) integrated:
   8661 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
   8662 
   8663 Fixed problem reports (Fiodor Suietov) integrated:
   8664 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
   8665 - On Address Space handler deletion, needless deactivation call (BZ 374)
   8666 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
   8667 375)
   8668 - Possible memory leak, Notify sub-objects of Processor, Power, 
   8669 ThermalZone 
   8670 (BZ 376)
   8671 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
   8672 - Minimum Length of RSDT should be validated (BZ 379)
   8673 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
   8674 Handler (BZ (380)
   8675 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
   8676 loaded 
   8677 (BZ 381)
   8678 
   8679 Example Code and Data Size: These are the sizes for the OS-independent 
   8680 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8681 debug version of the code includes the debug output trace mechanism and 
   8682 has 
   8683 a much larger code and data size.
   8684 
   8685   Previous Release:
   8686     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   8687     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   8688   Current Release:
   8689     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   8690     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   8691 
   8692 
   8693 2) iASL Compiler/Disassembler and Tools:
   8694 
   8695 Fixed problem reports:
   8696 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
   8697 436)
   8698 
   8699 ----------------------------------------
   8700 23 June 2006. Summary of changes for version 20060623:
   8701 
   8702 1) ACPI CA Core Subsystem:
   8703 
   8704 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
   8705 allows the type to be customized to the host OS for improved efficiency 
   8706 (since a spinlock is usually a very small object.)
   8707 
   8708 Implemented support for "ignored" bits in the ACPI registers. According 
   8709 to 
   8710 the ACPI specification, these bits should be preserved when writing the 
   8711 registers via a read/modify/write cycle. There are 3 bits preserved in 
   8712 this 
   8713 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
   8714 
   8715 Implemented the initial deployment of new OSL mutex interfaces. Since 
   8716 some 
   8717 host operating systems have separate mutex and semaphore objects, this 
   8718 feature was requested. The base code now uses mutexes (and the new mutex 
   8719 interfaces) wherever a binary semaphore was used previously. However, for 
   8720 the current release, the mutex interfaces are defined as macros to map 
   8721 them 
   8722 to the existing semaphore interfaces. Therefore, no OSL changes are 
   8723 required 
   8724 at this time. (See acpiosxf.h)
   8725 
   8726 Fixed several problems with the support for the control method SyncLevel 
   8727 parameter. The SyncLevel now works according to the ACPI specification 
   8728 and 
   8729 in concert with the Mutex SyncLevel parameter, since the current 
   8730 SyncLevel 
   8731 is a property of the executing thread. Mutual exclusion for control 
   8732 methods 
   8733 is now implemented with a mutex instead of a semaphore.
   8734 
   8735 Fixed three instances of the use of the C shift operator in the bitfield 
   8736 support code (exfldio.c) to avoid the use of a shift value larger than 
   8737 the 
   8738 target data width. The behavior of C compilers is undefined in this case 
   8739 and 
   8740 can cause unpredictable results, and therefore the case must be detected 
   8741 and 
   8742 avoided. (Fiodor Suietov)
   8743 
   8744 Added an info message whenever an SSDT or OEM table is loaded dynamically 
   8745 via the Load() or LoadTable() ASL operators. This should improve 
   8746 debugging 
   8747 capability since it will show exactly what tables have been loaded 
   8748 (beyond 
   8749 the tables present in the RSDT/XSDT.)
   8750 
   8751 Example Code and Data Size: These are the sizes for the OS-independent 
   8752 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8753 debug version of the code includes the debug output trace mechanism and 
   8754 has 
   8755 a much larger code and data size.
   8756 
   8757   Previous Release:
   8758     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   8759     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   8760   Current Release:
   8761     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   8762     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   8763 
   8764 
   8765 2) iASL Compiler/Disassembler and Tools:
   8766 
   8767 No changes for this release.
   8768 
   8769 ----------------------------------------
   8770 08 June 2006. Summary of changes for version 20060608:
   8771 
   8772 1) ACPI CA Core Subsystem:
   8773 
   8774 Converted the locking mutex used for the ACPI hardware to a spinlock. 
   8775 This 
   8776 change should eliminate all problems caused by attempting to acquire a 
   8777 semaphore at interrupt level, and it means that all ACPICA external 
   8778 interfaces that directly access the ACPI hardware can be safely called 
   8779 from 
   8780 interrupt level. OSL code that implements the semaphore interfaces should 
   8781 be 
   8782 able to eliminate any workarounds for being called at interrupt level.
   8783 
   8784 Fixed a regression introduced in 20060526 where the ACPI device 
   8785 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
   8786 device 
   8787 did not have an optional _INI method.
   8788 
   8789 Fixed an IndexField issue where a write to the Data Register should be 
   8790 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
   8791 433, 
   8792 Fiodor Suietov)
   8793 
   8794 Fixed problem reports (Valery Podrezov) integrated:
   8795 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
   8796 
   8797 Fixed problem reports (Fiodor Suietov) integrated:
   8798 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
   8799 
   8800 Removed four global mutexes that were obsolete and were no longer being 
   8801 used.
   8802 
   8803 Example Code and Data Size: These are the sizes for the OS-independent 
   8804 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8805 debug version of the code includes the debug output trace mechanism and 
   8806 has 
   8807 a much larger code and data size.
   8808 
   8809   Previous Release:
   8810     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   8811     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   8812   Current Release:
   8813     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   8814     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   8815 
   8816 
   8817 2) iASL Compiler/Disassembler and Tools:
   8818 
   8819 Fixed a fault when using -g option (get tables from registry) on Windows 
   8820 machines.
   8821 
   8822 Fixed problem reports integrated:
   8823 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
   8824 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
   8825 Suietov)
   8826 - Global table revision override (-r) is ignored (BZ 413)
   8827 
   8828 ----------------------------------------
   8829 26 May 2006. Summary of changes for version 20060526:
   8830 
   8831 1) ACPI CA Core Subsystem:
   8832 
   8833 Restructured, flattened, and simplified the internal interfaces for 
   8834 namespace object evaluation - resulting in smaller code, less CPU stack 
   8835 use, 
   8836 and fewer interfaces. (With assistance from Mikhail Kouzmich)
   8837 
   8838 Fixed a problem with the CopyObject operator where the first parameter 
   8839 was 
   8840 not typed correctly for the parser, interpreter, compiler, and 
   8841 disassembler. 
   8842 Caused various errors and unexpected behavior.
   8843 
   8844 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
   8845 produced incorrect results with some C compilers. Since the behavior of C 
   8846 compilers when the shift value is larger than the datatype width is 
   8847 apparently not well defined, the interpreter now detects this condition 
   8848 and 
   8849 simply returns zero as expected in all such cases. (BZ 395)
   8850 
   8851 Fixed problem reports (Valery Podrezov) integrated:
   8852 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
   8853 - Allow interpreter to handle nested method declarations (BZ 5361)
   8854 
   8855 Fixed problem reports (Fiodor Suietov) integrated:
   8856 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
   8857 355)
   8858 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
   8859 356)
   8860 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
   8861 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
   8862 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
   8863 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
   8864 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
   8865 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
   8866 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
   8867 365)
   8868 - Status of the Global Initialization Handler call not used (BZ 366)
   8869 - Incorrect object parameter to Global Initialization Handler (BZ 367)
   8870 
   8871 Example Code and Data Size: These are the sizes for the OS-independent 
   8872 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8873 debug version of the code includes the debug output trace mechanism and 
   8874 has 
   8875 a much larger code and data size.
   8876 
   8877   Previous Release:
   8878     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   8879     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   8880   Current Release:
   8881     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   8882     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   8883 
   8884 
   8885 2) iASL Compiler/Disassembler and Tools:
   8886 
   8887 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
   8888 namespace identifiers with no collision with existing resource descriptor 
   8889 macro names. This provides compatibility with other ASL compilers and is 
   8890 most useful for disassembly/recompilation of existing tables without 
   8891 parse 
   8892 errors. (With assistance from Thomas Renninger)
   8893 
   8894 Disassembler: fixed an incorrect disassembly problem with the 
   8895 DataTableRegion and CopyObject operators. Fixed a possible fault during 
   8896 disassembly of some Alias operators.
   8897 
   8898 ----------------------------------------
   8899 12 May 2006. Summary of changes for version 20060512:
   8900 
   8901 1) ACPI CA Core Subsystem:
   8902 
   8903 Replaced the AcpiOsQueueForExecution interface with a new interface named 
   8904 AcpiOsExecute. The major difference is that the new interface does not 
   8905 have 
   8906 a Priority parameter, this appeared to be useless and has been replaced 
   8907 by 
   8908 a 
   8909 Type parameter. The Type tells the host what type of execution is being 
   8910 requested, such as global lock handler, notify handler, GPE handler, etc. 
   8911 This allows the host to queue and execute the request as appropriate for 
   8912 the 
   8913 request type, possibly using different work queues and different 
   8914 priorities 
   8915 for the various request types. This enables fixes for multithreading 
   8916 deadlock problems such as BZ #5534, and will require changes to all 
   8917 existing 
   8918 OS interface layers. (Alexey Starikovskiy and Bob Moore)
   8919 
   8920 Fixed a possible memory leak associated with the support for the so-
   8921 called 
   8922 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
   8923 Suietov)
   8924 
   8925 Fixed a problem with the Load() operator where a table load from an 
   8926 operation region could overwrite an internal table buffer by up to 7 
   8927 bytes 
   8928 and cause alignment faults on IPF systems. (With assistance from Luming 
   8929 Yu)
   8930 
   8931 Example Code and Data Size: These are the sizes for the OS-independent 
   8932 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8933 debug version of the code includes the debug output trace mechanism and 
   8934 has 
   8935 a much larger code and data size.
   8936 
   8937   Previous Release:
   8938     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   8939     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   8940   Current Release:
   8941     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   8942     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   8943 
   8944 
   8945 
   8946 2) iASL Compiler/Disassembler and Tools:
   8947 
   8948 Disassembler: Implemented support to cross reference the internal 
   8949 namespace 
   8950 and automatically generate ASL External() statements for symbols not 
   8951 defined 
   8952 within the current table being disassembled. This will simplify the 
   8953 disassembly and recompilation of interdependent tables such as SSDTs 
   8954 since 
   8955 these statements will no longer have to be added manually.
   8956 
   8957 Disassembler: Implemented experimental support to automatically detect 
   8958 invocations of external control methods and generate appropriate 
   8959 External() 
   8960 statements. This is problematic because the AML cannot be correctly 
   8961 parsed 
   8962 until the number of arguments for each control method is known. 
   8963 Currently, 
   8964 standalone method invocations and invocations as the source operand of a 
   8965 Store() statement are supported.
   8966 
   8967 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
   8968 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
   8969 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
   8970 more readable and likely closer to the original ASL source.
   8971 
   8972 ----------------------------------------
   8973 21 April 2006. Summary of changes for version 20060421:
   8974 
   8975 1) ACPI CA Core Subsystem:
   8976 
   8977 Removed a device initialization optimization introduced in 20051216 where 
   8978 the _STA method was not run unless an _INI was also present for the same 
   8979 device. This optimization could cause problems because it could allow 
   8980 _INI 
   8981 methods to be run within a not-present device subtree. (If a not-present 
   8982 device had no _INI, _STA would not be run, the not-present status would 
   8983 not 
   8984 be discovered, and the children of the device would be incorrectly 
   8985 traversed.)
   8986 
   8987 Implemented a new _STA optimization where namespace subtrees that do not 
   8988 contain _INI are identified and ignored during device initialization. 
   8989 Selectively running _STA can significantly improve boot time on large 
   8990 machines (with assistance from Len Brown.)
   8991 
   8992 Implemented support for the device initialization case where the returned 
   8993 _STA flags indicate a device not-present but functioning. In this case, 
   8994 _INI 
   8995 is not run, but the device children are examined for presence, as per the 
   8996 ACPI specification.
   8997 
   8998 Implemented an additional change to the IndexField support in order to 
   8999 conform to MS behavior. The value written to the Index Register is not 
   9000 simply a byte offset, it is a byte offset in units of the access width of 
   9001 the parent Index Field. (Fiodor Suietov)
   9002 
   9003 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
   9004 interface is called during the creation of all AML operation regions, and 
   9005 allows the host OS to exert control over what addresses it will allow the 
   9006 AML code to access. Operation Regions whose addresses are disallowed will 
   9007 cause a runtime exception when they are actually accessed (will not 
   9008 affect 
   9009 or abort table loading.) See oswinxf or osunixxf for an example 
   9010 implementation.
   9011 
   9012 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
   9013 interface allows the host OS to match the various "optional" 
   9014 interface/behavior strings for the _OSI predefined control method as 
   9015 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
   9016 for an example implementation.
   9017 
   9018 Restructured and corrected various problems in the exception handling 
   9019 code 
   9020 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
   9021 (with assistance from Takayoshi Kochi.)
   9022 
   9023 Modified the Linux source converter to ignore quoted string literals 
   9024 while 
   9025 converting identifiers from mixed to lower case. This will correct 
   9026 problems 
   9027 with the disassembler and other areas where such strings must not be 
   9028 modified.
   9029 
   9030 The ACPI_FUNCTION_* macros no longer require quotes around the function 
   9031 name. This allows the Linux source converter to convert the names, now 
   9032 that 
   9033 the converter ignores quoted strings.
   9034 
   9035 Example Code and Data Size: These are the sizes for the OS-independent 
   9036 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9037 debug version of the code includes the debug output trace mechanism and 
   9038 has 
   9039 a much larger code and data size.
   9040 
   9041   Previous Release:
   9042 
   9043     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   9044     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   9045   Current Release:
   9046     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   9047     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   9048 
   9049 
   9050 2) iASL Compiler/Disassembler and Tools:
   9051 
   9052 Implemented 3 new warnings for iASL, and implemented multiple warning 
   9053 levels 
   9054 (w2 flag).
   9055 
   9056 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
   9057 not 
   9058 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
   9059 check for the possible timeout, a warning is issued.
   9060 
   9061 2) Useless operators: If an ASL operator does not specify an optional 
   9062 target 
   9063 operand and it also does not use the function return value from the 
   9064 operator, a warning is issued since the operator effectively does 
   9065 nothing.
   9066 
   9067 3) Unreferenced objects: If a namespace object is created, but never 
   9068 referenced, a warning is issued. This is a warning level 2 since there 
   9069 are 
   9070 cases where this is ok, such as when a secondary table is loaded that 
   9071 uses 
   9072 the unreferenced objects. Even so, care is taken to only flag objects 
   9073 that 
   9074 don't look like they will ever be used. For example, the reserved methods 
   9075 (starting with an underscore) are usually not referenced because it is 
   9076 expected that the OS will invoke them.
   9077 
   9078 ----------------------------------------
   9079 31 March 2006. Summary of changes for version 20060331:
   9080 
   9081 1) ACPI CA Core Subsystem:
   9082 
   9083 Implemented header file support for the following additional ACPI tables: 
   9084 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
   9085 support, 
   9086 all current and known ACPI tables are now defined in the ACPICA headers 
   9087 and 
   9088 are available for use by device drivers and other software.
   9089 
   9090 Implemented support to allow tables that contain ACPI names with invalid 
   9091 characters to be loaded. Previously, this would cause the table load to 
   9092 fail, but since there are several known cases of such tables on existing 
   9093 machines, this change was made to enable ACPI support for them. Also, 
   9094 this 
   9095 matches the behavior of the Microsoft ACPI implementation.
   9096 
   9097 Fixed a couple regressions introduced during the memory optimization in 
   9098 the 
   9099 20060317 release. The namespace node definition required additional 
   9100 reorganization and an internal datatype that had been changed to 8-bit 
   9101 was 
   9102 restored to 32-bit. (Valery Podrezov)
   9103 
   9104 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
   9105 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
   9106 null pointers are now trapped and ignored, matching the behavior of the 
   9107 previous implementation before the deployment of AcpiOsReleaseObject.
   9108 (Valery Podrezov, Fiodor Suietov)
   9109 
   9110 Fixed a memory mapping leak during the deletion of a SystemMemory 
   9111 operation 
   9112 region where a cached memory mapping was not deleted. This became a 
   9113 noticeable problem for operation regions that are defined within 
   9114 frequently 
   9115 used control methods. (Dana Meyers)
   9116 
   9117 Reorganized the ACPI table header files into two main files: one for the 
   9118 ACPI tables consumed by the ACPICA core, and another for the 
   9119 miscellaneous 
   9120 ACPI tables that are consumed by the drivers and other software. The 
   9121 various 
   9122 FADT definitions were merged into one common section and three different 
   9123 tables (ACPI 1.0, 1.0+, and 2.0)
   9124 
   9125 Example Code and Data Size: These are the sizes for the OS-independent 
   9126 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9127 debug version of the code includes the debug output trace mechanism and 
   9128 has 
   9129 a much larger code and data size.
   9130 
   9131   Previous Release:
   9132     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   9133     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   9134   Current Release:
   9135     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   9136     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   9137 
   9138 
   9139 2) iASL Compiler/Disassembler and Tools:
   9140 
   9141 Disassembler: Implemented support to decode and format all non-AML ACPI 
   9142 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
   9143 added to the ACPICA headers, therefore all current and known ACPI tables 
   9144 are 
   9145 supported.
   9146 
   9147 Disassembler: The change to allow ACPI names with invalid characters also 
   9148 enables the disassembly of such tables. Invalid characters within names 
   9149 are 
   9150 changed to '*' to make the name printable; the iASL compiler will still 
   9151 generate an error for such names, however, since this is an invalid ACPI 
   9152 character.
   9153 
   9154 Implemented an option for AcpiXtract (-a) to extract all tables found in 
   9155 the 
   9156 input file. The default invocation extracts only the DSDTs and SSDTs.
   9157 
   9158 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
   9159 makefile for the AcpiXtract utility.
   9160 
   9161 ----------------------------------------
   9162 17 March 2006. Summary of changes for version 20060317:
   9163 
   9164 1) ACPI CA Core Subsystem:
   9165 
   9166 Implemented the use of a cache object for all internal namespace nodes. 
   9167 Since there are about 1000 static nodes in a typical system, this will 
   9168 decrease memory use for cache implementations that minimize per-
   9169 allocation 
   9170 overhead (such as a slab allocator.)
   9171 
   9172 Removed the reference count mechanism for internal namespace nodes, since 
   9173 it 
   9174 was deemed unnecessary. This reduces the size of each namespace node by 
   9175 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
   9176 case, 
   9177 and 32 bytes for the 64-bit case.
   9178 
   9179 Optimized several internal data structures to reduce object size on 64-
   9180 bit 
   9181 platforms by packing data within the 64-bit alignment. This includes the 
   9182 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
   9183 instances corresponding to the namespace objects.
   9184 
   9185 Added two new strings for the predefined _OSI method: "Windows 2001.1 
   9186 SP1" 
   9187 and "Windows 2006".
   9188 
   9189 Split the allocation tracking mechanism out to a separate file, from 
   9190 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
   9191 application-level code. Kernels may wish to not include uttrack.c in 
   9192 distributions.
   9193 
   9194 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
   9195 associated 
   9196 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
   9197 macros.)
   9198 
   9199 Code and Data Size: These are the sizes for the acpica.lib produced by 
   9200 the 
   9201 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   9202 ACPI 
   9203 driver or OSPM code. The debug version of the code includes the debug 
   9204 output 
   9205 trace mechanism and has a much larger code and data size. Note that these 
   9206 values will vary depending on the efficiency of the compiler and the 
   9207 compiler options used during generation.
   9208 
   9209   Previous Release:
   9210     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   9211     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   9212   Current Release:
   9213     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   9214     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   9215 
   9216 
   9217 2) iASL Compiler/Disassembler and Tools:
   9218 
   9219 Implemented an ANSI C version of the acpixtract utility. This version 
   9220 will 
   9221 automatically extract the DSDT and all SSDTs from the input acpidump text 
   9222 file and dump the binary output to separate files. It can also display a 
   9223 summary of the input file including the headers for each table found and 
   9224 will extract any single ACPI table, with any signature. (See 
   9225 source/tools/acpixtract)
   9226 
   9227 ----------------------------------------
   9228 10 March 2006. Summary of changes for version 20060310:
   9229 
   9230 1) ACPI CA Core Subsystem:
   9231 
   9232 Tagged all external interfaces to the subsystem with the new 
   9233 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
   9234 assist 
   9235 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
   9236 macro. The default definition is NULL.
   9237 
   9238 Added the ACPI_THREAD_ID type for the return value from 
   9239 AcpiOsGetThreadId. 
   9240 This allows the host to define this as necessary to simplify kernel 
   9241 integration. The default definition is ACPI_NATIVE_UINT.
   9242 
   9243 Fixed two interpreter problems related to error processing, the deletion 
   9244 of 
   9245 objects, and placing invalid pointers onto the internal operator result 
   9246 stack. BZ 6028, 6151 (Valery Podrezov)
   9247 
   9248 Increased the reference count threshold where a warning is emitted for 
   9249 large 
   9250 reference counts in order to eliminate unnecessary warnings on systems 
   9251 with 
   9252 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
   9253 0x800.
   9254 
   9255 Due to universal disagreement as to the meaning of the 'c' in the 
   9256 calloc() 
   9257 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
   9258 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
   9259 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
   9260 ACPI_FREE.
   9261 
   9262 Code and Data Size: These are the sizes for the acpica.lib produced by 
   9263 the 
   9264 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   9265 ACPI 
   9266 driver or OSPM code. The debug version of the code includes the debug 
   9267 output 
   9268 trace mechanism and has a much larger code and data size. Note that these 
   9269 values will vary depending on the efficiency of the compiler and the 
   9270 compiler options used during generation.
   9271 
   9272   Previous Release:
   9273     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   9274     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   9275   Current Release:
   9276     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   9277     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   9278 
   9279 
   9280 2) iASL Compiler/Disassembler:
   9281 
   9282 Disassembler: implemented support for symbolic resource descriptor 
   9283 references. If a CreateXxxxField operator references a fixed offset 
   9284 within 
   9285 a 
   9286 resource descriptor, a name is assigned to the descriptor and the offset 
   9287 is 
   9288 translated to the appropriate resource tag and pathname. The addition of 
   9289 this support brings the disassembled code very close to the original ASL 
   9290 source code and helps eliminate run-time errors when the disassembled 
   9291 code 
   9292 is modified (and recompiled) in such a way as to invalidate the original 
   9293 fixed offsets.
   9294 
   9295 Implemented support for a Descriptor Name as the last parameter to the 
   9296 ASL 
   9297 Register() macro. This parameter was inadvertently left out of the ACPI 
   9298 specification, and will be added for ACPI 3.0b.
   9299 
   9300 Fixed a problem where the use of the "_OSI" string (versus the full path 
   9301 "\_OSI") caused an internal compiler error. ("No back ptr to op")
   9302 
   9303 Fixed a problem with the error message that occurs when an invalid string 
   9304 is 
   9305 used for a _HID object (such as one with an embedded asterisk: 
   9306 "*PNP010A".) 
   9307 The correct message is now displayed.
   9308 
   9309 ----------------------------------------
   9310 17 February 2006. Summary of changes for version 20060217:
   9311 
   9312 1) ACPI CA Core Subsystem:
   9313 
   9314 Implemented a change to the IndexField support to match the behavior of 
   9315 the 
   9316 Microsoft AML interpreter. The value written to the Index register is now 
   9317 a 
   9318 byte offset, no longer an index based upon the width of the Data 
   9319 register. 
   9320 This should fix IndexField problems seen on some machines where the Data 
   9321 register is not exactly one byte wide. The ACPI specification will be 
   9322 clarified on this point.
   9323 
   9324 Fixed a problem where several resource descriptor types could overrun the 
   9325 internal descriptor buffer due to size miscalculation: VendorShort, 
   9326 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
   9327 affect all platforms.
   9328 
   9329 Fixed a problem where individual resource descriptors were misaligned 
   9330 within 
   9331 the internal buffer, causing alignment faults on IA64 platforms.
   9332 
   9333 Code and Data Size: These are the sizes for the acpica.lib produced by 
   9334 the 
   9335 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   9336 ACPI 
   9337 driver or OSPM code. The debug version of the code includes the debug 
   9338 output 
   9339 trace mechanism and has a much larger code and data size. Note that these 
   9340 values will vary depending on the efficiency of the compiler and the 
   9341 compiler options used during generation.
   9342 
   9343   Previous Release:
   9344     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   9345     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   9346   Current Release:
   9347     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   9348     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   9349 
   9350 
   9351 2) iASL Compiler/Disassembler:
   9352 
   9353 Implemented support for new reserved names: _WDG and _WED are Microsoft 
   9354 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
   9355 defined method (Throttling Depth Limit.)
   9356 
   9357 Fixed a problem where a zero-length VendorShort or VendorLong resource 
   9358 descriptor was incorrectly emitted as a descriptor of length one.
   9359 
   9360 ----------------------------------------
   9361 10 February 2006. Summary of changes for version 20060210:
   9362 
   9363 1) ACPI CA Core Subsystem:
   9364 
   9365 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
   9366 normal execution. These became apparent after the conversion from 
   9367 ACPI_DEBUG_PRINT.
   9368 
   9369 Fixed a problem where the CreateField operator could hang if the BitIndex 
   9370 or 
   9371 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
   9372 
   9373 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
   9374 failed with an exception. This also fixes a couple of related RefOf and 
   9375 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
   9376 
   9377 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
   9378 of 
   9379 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
   9380 BZ 
   9381 5480)
   9382 
   9383 Implemented a memory cleanup at the end of the execution of each 
   9384 iteration 
   9385 of an AML While() loop, preventing the accumulation of outstanding 
   9386 objects. 
   9387 (Valery Podrezov, BZ 5427)
   9388 
   9389 Eliminated a chunk of duplicate code in the object resolution code. 
   9390 (Valery 
   9391 Podrezov, BZ 5336)
   9392 
   9393 Fixed several warnings during the 64-bit code generation.
   9394 
   9395 The AcpiSrc source code conversion tool now inserts one line of 
   9396 whitespace 
   9397 after an if() statement that is followed immediately by a comment, 
   9398 improving 
   9399 readability of the Linux code.
   9400 
   9401 Code and Data Size: The current and previous library sizes for the core 
   9402 subsystem are shown below. These are the code and data sizes for the 
   9403 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9404 These 
   9405 values do not include any ACPI driver or OSPM code. The debug version of 
   9406 the 
   9407 code includes the debug output trace mechanism and has a much larger code 
   9408 and data size. Note that these values will vary depending on the 
   9409 efficiency 
   9410 of the compiler and the compiler options used during generation.
   9411 
   9412   Previous Release:
   9413     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   9414     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   9415   Current Release:
   9416     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   9417     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   9418 
   9419 
   9420 2) iASL Compiler/Disassembler:
   9421 
   9422 Fixed a problem with the disassembly of a BankField operator with a 
   9423 complex 
   9424 expression for the BankValue parameter.
   9425 
   9426 ----------------------------------------
   9427 27 January 2006. Summary of changes for version 20060127:
   9428 
   9429 1) ACPI CA Core Subsystem:
   9430 
   9431 Implemented support in the Resource Manager to allow unresolved 
   9432 namestring 
   9433 references within resource package objects for the _PRT method. This 
   9434 support 
   9435 is in addition to the previously implemented unresolved reference support 
   9436 within the AML parser. If the interpreter slack mode is enabled, these 
   9437 unresolved references will be passed through to the caller as a NULL 
   9438 package 
   9439 entry.
   9440 
   9441 Implemented and deployed new macros and functions for error and warning 
   9442 messages across the subsystem. These macros are simpler and generate less 
   9443 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
   9444 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
   9445 macros remain defined to allow ACPI drivers time to migrate to the new 
   9446 macros.
   9447 
   9448 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
   9449 the 
   9450 Acquire/Release Lock OSL interfaces.
   9451 
   9452 Fixed a problem where Alias ASL operators are sometimes not correctly 
   9453 resolved, in both the interpreter and the iASL compiler.
   9454 
   9455 Fixed several problems with the implementation of the 
   9456 ConcatenateResTemplate 
   9457 ASL operator. As per the ACPI specification, zero length buffers are now 
   9458 treated as a single EndTag. One-length buffers always cause a fatal 
   9459 exception. Non-zero length buffers that do not end with a full 2-byte 
   9460 EndTag 
   9461 cause a fatal exception.
   9462 
   9463 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
   9464 interface. (With assistance from Thomas Renninger)
   9465 
   9466 Code and Data Size: The current and previous library sizes for the core 
   9467 subsystem are shown below. These are the code and data sizes for the 
   9468 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9469 These 
   9470 values do not include any ACPI driver or OSPM code. The debug version of 
   9471 the 
   9472 code includes the debug output trace mechanism and has a much larger code 
   9473 and data size. Note that these values will vary depending on the 
   9474 efficiency 
   9475 of the compiler and the compiler options used during generation.
   9476 
   9477   Previous Release:
   9478     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   9479     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   9480   Current Release:
   9481     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   9482     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   9483 
   9484 
   9485 2) iASL Compiler/Disassembler:
   9486 
   9487 Fixed an internal error that was generated for any forward references to 
   9488 ASL 
   9489 Alias objects.
   9490 
   9491 ----------------------------------------
   9492 13 January 2006. Summary of changes for version 20060113:
   9493 
   9494 1) ACPI CA Core Subsystem:
   9495 
   9496 Added 2006 copyright to all module headers and signons. This affects 
   9497 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
   9498 utilities.
   9499  
   9500 Enhanced the ACPICA error reporting in order to simplify user migration 
   9501 to 
   9502 the non-debug version of ACPICA. Replaced all instances of the 
   9503 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
   9504 debug 
   9505 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
   9506 respectively. This preserves all error and warning messages in the non-
   9507 debug 
   9508 version of the ACPICA code (this has been referred to as the "debug lite" 
   9509 option.) Over 200 cases were converted to create a total of over 380 
   9510 error/warning messages across the ACPICA code. This increases the code 
   9511 and 
   9512 data size of the default non-debug version of the code somewhat (about 
   9513 13K), 
   9514 but all error/warning reporting may be disabled if desired (and code 
   9515 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
   9516 configuration option. The size of the debug version of ACPICA remains 
   9517 about 
   9518 the same.
   9519 
   9520 Fixed a memory leak within the AML Debugger "Set" command. One object was 
   9521 not properly deleted for every successful invocation of the command.
   9522 
   9523 Code and Data Size: The current and previous library sizes for the core 
   9524 subsystem are shown below. These are the code and data sizes for the 
   9525 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9526 These 
   9527 values do not include any ACPI driver or OSPM code. The debug version of 
   9528 the 
   9529 code includes the debug output trace mechanism and has a much larger code 
   9530 and data size. Note that these values will vary depending on the 
   9531 efficiency 
   9532 of the compiler and the compiler options used during generation.
   9533 
   9534   Previous Release:
   9535     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   9536     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   9537   Current Release:
   9538     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   9539     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   9540 
   9541 
   9542 2) iASL Compiler/Disassembler:
   9543 
   9544 The compiler now officially supports the ACPI 3.0a specification that was 
   9545 released on December 30, 2005. (Specification is available at 
   9546 www.acpi.info)
   9547 
   9548 ----------------------------------------
   9549 16 December 2005. Summary of changes for version 20051216:
   9550 
   9551 1) ACPI CA Core Subsystem:
   9552 
   9553 Implemented optional support to allow unresolved names within ASL Package 
   9554 objects. A null object is inserted in the package when a named reference 
   9555 cannot be located in the current namespace. Enabled via the interpreter 
   9556 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
   9557 machines 
   9558 that contain such code.
   9559 
   9560 Implemented an optimization to the initialization sequence that can 
   9561 improve 
   9562 boot time. During ACPI device initialization, the _STA method is now run 
   9563 if 
   9564 and only if the _INI method exists. The _STA method is used to determine 
   9565 if 
   9566 the device is present; An _INI can only be run if _STA returns present, 
   9567 but 
   9568 it is a waste of time to run the _STA method if the _INI does not exist. 
   9569 (Prototype and assistance from Dong Wei)
   9570 
   9571 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
   9572 is 
   9573 available in the current compiler. Otherwise, the default (void *) cast 
   9574 is 
   9575 used as before.
   9576 
   9577 Fixed some possible memory leaks found within the execution path of the 
   9578 Break, Continue, If, and CreateField operators. (Valery Podrezov)
   9579 
   9580 Fixed a problem introduced in the 20051202 release where an exception is 
   9581 generated during method execution if a control method attempts to declare 
   9582 another method.
   9583 
   9584 Moved resource descriptor string constants that are used by both the AML 
   9585 disassembler and AML debugger to the common utilities directory so that 
   9586 these components are independent.
   9587 
   9588 Implemented support in the AcpiExec utility (-e switch) to globally 
   9589 ignore 
   9590 exceptions during control method execution (method is not aborted.)
   9591 
   9592 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
   9593 generation.
   9594 
   9595 Code and Data Size: The current and previous library sizes for the core 
   9596 subsystem are shown below. These are the code and data sizes for the 
   9597 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9598 These 
   9599 values do not include any ACPI driver or OSPM code. The debug version of 
   9600 the 
   9601 code includes the debug output trace mechanism and has a much larger code 
   9602 and data size. Note that these values will vary depending on the 
   9603 efficiency 
   9604 of the compiler and the compiler options used during generation.
   9605 
   9606   Previous Release:
   9607     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   9608     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   9609   Current Release:
   9610     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   9611     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   9612 
   9613 
   9614 2) iASL Compiler/Disassembler:
   9615 
   9616 Fixed a problem where a CPU stack overflow fault could occur if a 
   9617 recursive 
   9618 method call was made from within a Return statement.
   9619 
   9620 ----------------------------------------
   9621 02 December 2005. Summary of changes for version 20051202:
   9622 
   9623 1) ACPI CA Core Subsystem:
   9624 
   9625 Modified the parsing of control methods to no longer create namespace 
   9626 objects during the first pass of the parse. Objects are now created only 
   9627 during the execute phase, at the moment the namespace creation operator 
   9628 is 
   9629 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
   9630 This 
   9631 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
   9632 reentrant control methods are protected by an AML mutex. The mutex will 
   9633 now 
   9634 correctly block multiple threads from attempting to create the same 
   9635 object 
   9636 more than once.
   9637 
   9638 Increased the number of available Owner Ids for namespace object tracking 
   9639 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
   9640 on 
   9641 some machines with a large number of ACPI tables (either static or 
   9642 dynamic).
   9643 
   9644 Fixed a problem with the AcpiExec utility where a fault could occur when 
   9645 the 
   9646 -b switch (batch mode) is used.
   9647 
   9648 Enhanced the namespace dump routine to output the owner ID for each 
   9649 namespace object.
   9650 
   9651 Code and Data Size: The current and previous library sizes for the core 
   9652 subsystem are shown below. These are the code and data sizes for the 
   9653 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9654 These 
   9655 values do not include any ACPI driver or OSPM code. The debug version of 
   9656 the 
   9657 code includes the debug output trace mechanism and has a much larger code 
   9658 and data size. Note that these values will vary depending on the 
   9659 efficiency 
   9660 of the compiler and the compiler options used during generation.
   9661 
   9662   Previous Release:
   9663     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   9664     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   9665   Current Release:
   9666     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   9667     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   9668 
   9669 
   9670 2) iASL Compiler/Disassembler:
   9671 
   9672 Fixed a parse error during compilation of certain Switch/Case constructs. 
   9673 To 
   9674 simplify the parse, the grammar now allows for multiple Default 
   9675 statements 
   9676 and this error is now detected and flagged during the analysis phase.
   9677 
   9678 Disassembler: The disassembly now includes the contents of the original 
   9679 table header within a comment at the start of the file. This includes the 
   9680 name and version of the original ASL compiler.
   9681 
   9682 ----------------------------------------
   9683 17 November 2005. Summary of changes for version 20051117:
   9684 
   9685 1) ACPI CA Core Subsystem:
   9686 
   9687 Fixed a problem in the AML parser where the method thread count could be 
   9688 decremented below zero if any errors occurred during the method parse 
   9689 phase. 
   9690 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
   9691 machines. 
   9692 This also fixed a related regression with the mechanism that detects and 
   9693 corrects methods that cannot properly handle reentrancy (related to the 
   9694 deployment of the new OwnerId mechanism.)
   9695 
   9696 Eliminated the pre-parsing of control methods (to detect errors) during 
   9697 table load. Related to the problem above, this was causing unwind issues 
   9698 if 
   9699 any errors occurred during the parse, and it seemed to be overkill. A 
   9700 table 
   9701 load should not be aborted if there are problems with any single control 
   9702 method, thus rendering this feature rather pointless.
   9703 
   9704 Fixed a problem with the new table-driven resource manager where an 
   9705 internal 
   9706 buffer overflow could occur for small resource templates.
   9707 
   9708 Implemented a new external interface, AcpiGetVendorResource. This 
   9709 interface 
   9710 will find and return a vendor-defined resource descriptor within a _CRS 
   9711 or 
   9712 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
   9713 Helgaas.
   9714 
   9715 Removed the length limit (200) on string objects as per the upcoming ACPI 
   9716 3.0A specification. This affects the following areas of the interpreter: 
   9717 1) 
   9718 any implicit conversion of a Buffer to a String, 2) a String object 
   9719 result 
   9720 of the ASL Concatentate operator, 3) the String object result of the ASL 
   9721 ToString operator.
   9722 
   9723 Fixed a problem in the Windows OS interface layer (OSL) where a 
   9724 WAIT_FOREVER 
   9725 on a semaphore object would incorrectly timeout. This allows the 
   9726 multithreading features of the AcpiExec utility to work properly under 
   9727 Windows.
   9728 
   9729 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
   9730 the recently added file named "utresrc.c".
   9731 
   9732 Code and Data Size: The current and previous library sizes for the core 
   9733 subsystem are shown below. These are the code and data sizes for the 
   9734 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9735 These 
   9736 values do not include any ACPI driver or OSPM code. The debug version of 
   9737 the 
   9738 code includes the debug output trace mechanism and has a much larger code 
   9739 and data size. Note that these values will vary depending on the 
   9740 efficiency 
   9741 of the compiler and the compiler options used during generation.
   9742 
   9743   Previous Release:
   9744     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   9745     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   9746   Current Release:
   9747     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   9748     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   9749 
   9750 
   9751 2) iASL Compiler/Disassembler:
   9752 
   9753 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
   9754 specification. For the iASL compiler, this means that string literals 
   9755 within 
   9756 the source ASL can be of any length. 
   9757 
   9758 Enhanced the listing output to dump the AML code for resource descriptors 
   9759 immediately after the ASL code for each descriptor, instead of in a block 
   9760 at 
   9761 the end of the entire resource template.
   9762 
   9763 Enhanced the compiler debug output to dump the entire original parse tree 
   9764 constructed during the parse phase, before any transforms are applied to 
   9765 the 
   9766 tree. The transformed tree is dumped also.
   9767 
   9768 ----------------------------------------
   9769 02 November 2005. Summary of changes for version 20051102:
   9770 
   9771 1) ACPI CA Core Subsystem:
   9772 
   9773 Modified the subsystem initialization sequence to improve GPE support. 
   9774 The 
   9775 GPE initialization has been split into two parts in order to defer 
   9776 execution 
   9777 of the _PRW methods (Power Resources for Wake) until after the hardware 
   9778 is 
   9779 fully initialized and the SCI handler is installed. This allows the _PRW 
   9780 methods to access fields protected by the Global Lock. This will fix 
   9781 systems 
   9782 where a NO_GLOBAL_LOCK exception has been seen during initialization.
   9783 
   9784 Converted the ACPI internal object disassemble and display code within 
   9785 the 
   9786 AML debugger to fully table-driven operation, reducing code size and 
   9787 increasing maintainability.
   9788 
   9789 Fixed a regression with the ConcatenateResTemplate() ASL operator 
   9790 introduced 
   9791 in the 20051021 release.
   9792 
   9793 Implemented support for "local" internal ACPI object types within the 
   9794 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
   9795 These local types include RegionFields, BankFields, IndexFields, Alias, 
   9796 and 
   9797 reference objects.
   9798 
   9799 Moved common AML resource handling code into a new file, "utresrc.c". 
   9800 This 
   9801 code is shared by both the Resource Manager and the AML Debugger.
   9802 
   9803 Code and Data Size: The current and previous library sizes for the core 
   9804 subsystem are shown below. These are the code and data sizes for the 
   9805 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9806 These 
   9807 values do not include any ACPI driver or OSPM code. The debug version of 
   9808 the 
   9809 code includes the debug output trace mechanism and has a much larger code 
   9810 and data size. Note that these values will vary depending on the 
   9811 efficiency 
   9812 of the compiler and the compiler options used during generation.
   9813 
   9814   Previous Release:
   9815     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   9816     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   9817   Current Release:
   9818     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   9819     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   9820 
   9821 
   9822 2) iASL Compiler/Disassembler:
   9823 
   9824 Fixed a problem with very large initializer lists (more than 4000 
   9825 elements) 
   9826 for both Buffer and Package objects where the parse stack could overflow.
   9827 
   9828 Enhanced the pre-compile source code scan for non-ASCII characters to 
   9829 ignore 
   9830 characters within comment fields. The scan is now always performed and is 
   9831 no 
   9832 longer optional, detecting invalid characters within a source file 
   9833 immediately rather than during the parse phase or later.
   9834 
   9835 Enhanced the ASL grammar definition to force early reductions on all 
   9836 list-
   9837 style grammar elements so that the overall parse stack usage is greatly 
   9838 reduced. This should improve performance and reduce the possibility of 
   9839 parse 
   9840 stack overflow.
   9841 
   9842 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
   9843 Also, 
   9844 with the addition of a %expected statement, the compiler generates from 
   9845 source with no warnings.
   9846 
   9847 Fixed a possible segment fault in the disassembler if the input filename 
   9848 does not contain a "dot" extension (Thomas Renninger).
   9849 
   9850 ----------------------------------------
   9851 21 October 2005. Summary of changes for version 20051021:
   9852 
   9853 1) ACPI CA Core Subsystem:
   9854 
   9855 Implemented support for the EM64T and other x86-64 processors. This 
   9856 essentially entails recognizing that these processors support non-aligned 
   9857 memory transfers. Previously, all 64-bit processors were assumed to lack 
   9858 hardware support for non-aligned transfers.
   9859 
   9860 Completed conversion of the Resource Manager to nearly full table-driven 
   9861 operation. Specifically, the resource conversion code (convert AML to 
   9862 internal format and the reverse) and the debug code to dump internal 
   9863 resource descriptors are fully table-driven, reducing code and data size 
   9864 and 
   9865 improving maintainability.
   9866 
   9867 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
   9868 word 
   9869 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
   9870 from 
   9871 Alexey Starikovskiy)
   9872 
   9873 Implemented support within the resource conversion code for the Type-
   9874 Specific byte within the various ACPI 3.0 *WordSpace macros.
   9875 
   9876 Fixed some issues within the resource conversion code for the type-
   9877 specific 
   9878 flags for both Memory and I/O address resource descriptors. For Memory, 
   9879 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
   9880 TTP flags into two separate fields.
   9881 
   9882 Code and Data Size: The current and previous library sizes for the core 
   9883 subsystem are shown below. These are the code and data sizes for the 
   9884 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9885 These 
   9886 values do not include any ACPI driver or OSPM code. The debug version of 
   9887 the 
   9888 code includes the debug output trace mechanism and has a much larger code 
   9889 and data size. Note that these values will vary depending on the 
   9890 efficiency 
   9891 of the compiler and the compiler options used during generation.
   9892 
   9893   Previous Release:
   9894     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   9895     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   9896   Current Release:
   9897     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   9898     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   9899 
   9900 
   9901 
   9902 2) iASL Compiler/Disassembler:
   9903 
   9904 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
   9905 the 
   9906 corresponding ResourceSource string was not also present in a resource 
   9907 descriptor declaration. This restriction caused problems with existing 
   9908 AML/ASL code that includes the Index byte without the string. When such 
   9909 AML 
   9910 was disassembled, it could not be compiled without modification. Further, 
   9911 the modified code created a resource template with a different size than 
   9912 the 
   9913 original, breaking code that used fixed offsets into the resource 
   9914 template 
   9915 buffer.
   9916 
   9917 Removed a recent feature of the disassembler to ignore a lone 
   9918 ResourceIndex 
   9919 byte. This byte is now emitted if present so that the exact AML can be 
   9920 reproduced when the disassembled code is recompiled.
   9921 
   9922 Improved comments and text alignment for the resource descriptor code 
   9923 emitted by the disassembler.
   9924 
   9925 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
   9926 a 
   9927 Register() resource descriptor.
   9928 
   9929 ----------------------------------------
   9930 30 September 2005. Summary of changes for version 20050930:
   9931 
   9932 1) ACPI CA Core Subsystem:
   9933 
   9934 Completed a major overhaul of the Resource Manager code - specifically, 
   9935 optimizations in the area of the AML/internal resource conversion code. 
   9936 The 
   9937 code has been optimized to simplify and eliminate duplicated code, CPU 
   9938 stack 
   9939 use has been decreased by optimizing function parameters and local 
   9940 variables, and naming conventions across the manager have been 
   9941 standardized 
   9942 for clarity and ease of maintenance (this includes function, parameter, 
   9943 variable, and struct/typedef names.) The update may force changes in some 
   9944 driver code, depending on how resources are handled by the host OS.
   9945 
   9946 All Resource Manager dispatch and information tables have been moved to a 
   9947 single location for clarity and ease of maintenance. One new file was 
   9948 created, named "rsinfo.c".
   9949 
   9950 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
   9951 guarantee that the argument is not evaluated twice, making them less 
   9952 prone 
   9953 to macro side-effects. However, since there exists the possibility of 
   9954 additional stack use if a particular compiler cannot optimize them (such 
   9955 as 
   9956 in the debug generation case), the original macros are optionally 
   9957 available.  
   9958 Note that some invocations of the return_VALUE macro may now cause size 
   9959 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
   9960 to 
   9961 eliminate these. (From Randy Dunlap)
   9962 
   9963 Implemented a new mechanism to enable debug tracing for individual 
   9964 control 
   9965 methods. A new external interface, AcpiDebugTrace, is provided to enable 
   9966 this mechanism. The intent is to allow the host OS to easily enable and 
   9967 disable tracing for problematic control methods. This interface can be 
   9968 easily exposed to a user or debugger interface if desired. See the file 
   9969 psxface.c for details.
   9970 
   9971 AcpiUtCallocate will now return a valid pointer if a length of zero is 
   9972 specified - a length of one is used and a warning is issued. This matches 
   9973 the behavior of AcpiUtAllocate.
   9974 
   9975 Code and Data Size: The current and previous library sizes for the core 
   9976 subsystem are shown below. These are the code and data sizes for the 
   9977 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9978 These 
   9979 values do not include any ACPI driver or OSPM code. The debug version of 
   9980 the 
   9981 code includes the debug output trace mechanism and has a much larger code 
   9982 and data size. Note that these values will vary depending on the 
   9983 efficiency 
   9984 of the compiler and the compiler options used during generation.
   9985 
   9986   Previous Release:
   9987     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   9988     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   9989   Current Release:
   9990     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   9991     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   9992 
   9993 
   9994 2) iASL Compiler/Disassembler:
   9995 
   9996 A remark is issued if the effective compile-time length of a package or 
   9997 buffer is zero. Previously, this was a warning.
   9998 
   9999 ----------------------------------------
   10000 16 September 2005. Summary of changes for version 20050916:
   10001 
   10002 1) ACPI CA Core Subsystem:
   10003 
   10004 Fixed a problem within the Resource Manager where support for the Generic 
   10005 Register descriptor was not fully implemented. This descriptor is now 
   10006 fully 
   10007 recognized, parsed, disassembled, and displayed.
   10008 
   10009 Completely restructured the Resource Manager code to utilize table-driven 
   10010 dispatch and lookup, eliminating many of the large switch() statements. 
   10011 This 
   10012 reduces overall subsystem code size and code complexity. Affects the 
   10013 resource parsing and construction, disassembly, and debug dump output.
   10014 
   10015 Cleaned up and restructured the debug dump output for all resource 
   10016 descriptors. Improved readability of the output and reduced code size.
   10017 
   10018 Fixed a problem where changes to internal data structures caused the 
   10019 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
   10020 
   10021 Code and Data Size: The current and previous library sizes for the core 
   10022 subsystem are shown below. These are the code and data sizes for the 
   10023 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   10024 These 
   10025 values do not include any ACPI driver or OSPM code. The debug version of 
   10026 the 
   10027 code includes the debug output trace mechanism and has a much larger code 
   10028 and data size. Note that these values will vary depending on the 
   10029 efficiency 
   10030 of the compiler and the compiler options used during generation.
   10031 
   10032   Previous Release:
   10033     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   10034     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   10035   Current Release:
   10036     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   10037     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   10038 
   10039 
   10040 2) iASL Compiler/Disassembler:
   10041 
   10042 Updated the disassembler to automatically insert an EndDependentFn() 
   10043 macro 
   10044 into the ASL stream if this macro is missing in the original AML code, 
   10045 simplifying compilation of the resulting ASL module.
   10046 
   10047 Fixed a problem in the disassembler where a disassembled ResourceSource 
   10048 string (within a large resource descriptor) was not surrounded by quotes 
   10049 and 
   10050 not followed by a comma, causing errors when the resulting ASL module was 
   10051 compiled. Also, escape sequences within a ResourceSource string are now 
   10052 handled correctly (especially "\\")
   10053 
   10054 ----------------------------------------
   10055 02 September 2005. Summary of changes for version 20050902:
   10056 
   10057 1) ACPI CA Core Subsystem:
   10058 
   10059 Fixed a problem with the internal Owner ID allocation and deallocation 
   10060 mechanisms for control method execution and recursive method invocation. 
   10061 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
   10062 messages seen on some systems. Recursive method invocation depth is 
   10063 currently limited to 255. (Alexey Starikovskiy)
   10064 
   10065 Completely eliminated all vestiges of support for the "module-level 
   10066 executable code" until this support is fully implemented and debugged. 
   10067 This 
   10068 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
   10069 some systems that invoke this support.
   10070 
   10071 Fixed a problem within the resource manager code where the transaction 
   10072 flags 
   10073 for a 64-bit address descriptor were handled incorrectly in the type-
   10074 specific flag byte.
   10075 
   10076 Consolidated duplicate code within the address descriptor resource 
   10077 manager 
   10078 code, reducing overall subsystem code size.
   10079 
   10080 Fixed a fault when using the AML debugger "disassemble" command to 
   10081 disassemble individual control methods.
   10082 
   10083 Removed references to the "release_current" directory within the Unix 
   10084 release package.
   10085 
   10086 Code and Data Size: The current and previous core subsystem library sizes 
   10087 are shown below. These are the code and data sizes for the acpica.lib 
   10088 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
   10089 include any ACPI driver or OSPM code. The debug version of the code 
   10090 includes 
   10091 the debug output trace mechanism and has a much larger code and data 
   10092 size. 
   10093 Note that these values will vary depending on the efficiency of the 
   10094 compiler 
   10095 and the compiler options used during generation.
   10096 
   10097   Previous Release:
   10098     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   10099     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   10100   Current Release:
   10101     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   10102     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   10103 
   10104 
   10105 2) iASL Compiler/Disassembler:
   10106 
   10107 Implemented an error check for illegal duplicate values in the interrupt 
   10108 and 
   10109 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
   10110 Interrupt().
   10111 
   10112 Implemented error checking for the Irq() and IrqNoFlags() macros to 
   10113 detect 
   10114 too many values in the interrupt list (16 max) and invalid values in the 
   10115 list (range 0 - 15)
   10116 
   10117 The maximum length string literal within an ASL file is now restricted to 
   10118 200 characters as per the ACPI specification.
   10119 
   10120 Fixed a fault when using the -ln option (generate namespace listing).
   10121 
   10122 Implemented an error check to determine if a DescriptorName within a 
   10123 resource descriptor has already been used within the current scope.
   10124 
   10125 ----------------------------------------
   10126 15 August 2005.  Summary of changes for version 20050815:
   10127  
   10128 1) ACPI CA Core Subsystem:
   10129  
   10130 Implemented a full bytewise compare to determine if a table load request 
   10131 is 
   10132 attempting to load a duplicate table. The compare is performed if the 
   10133 table 
   10134 signatures and table lengths match. This will allow different tables with 
   10135 the same OEM Table ID and revision to be loaded - probably against the 
   10136 ACPI 
   10137 specification, but discovered in the field nonetheless.
   10138  
   10139 Added the changes.txt logfile to each of the zipped release packages.
   10140  
   10141 Code and Data Size: Current and previous core subsystem library sizes are 
   10142 shown below. These are the code and data sizes for the acpica.lib 
   10143 produced 
   10144 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10145 any ACPI driver or OSPM code. The debug version of the code includes the 
   10146 debug output trace mechanism and has a much larger code and data size. 
   10147 Note 
   10148 that these values will vary depending on the efficiency of the compiler 
   10149 and 
   10150 the compiler options used during generation.
   10151  
   10152   Previous Release:
   10153     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   10154     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   10155   Current Release:
   10156     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   10157     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   10158  
   10159  
   10160 2) iASL Compiler/Disassembler:
   10161  
   10162 Fixed a problem where incorrect AML code could be generated for Package 
   10163 objects if optimization is disabled (via the -oa switch).
   10164  
   10165 Fixed a problem with where incorrect AML code is generated for variable-
   10166 length packages when the package length is not specified and the number 
   10167 of 
   10168 initializer values is greater than 255.
   10169  
   10170 
   10171 ----------------------------------------
   10172 29 July 2005.  Summary of changes for version 20050729:
   10173 
   10174 1) ACPI CA Core Subsystem:
   10175 
   10176 Implemented support to ignore an attempt to install/load a particular 
   10177 ACPI 
   10178 table more than once. Apparently there exists BIOS code that repeatedly 
   10179 attempts to load the same SSDT upon certain events. With assistance from 
   10180 Venkatesh Pallipadi.
   10181 
   10182 Restructured the main interface to the AML parser in order to correctly 
   10183 handle all exceptional conditions. This will prevent leakage of the 
   10184 OwnerId 
   10185 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
   10186 some 
   10187 machines. With assistance from Alexey Starikovskiy.
   10188 
   10189 Support for "module level code" has been disabled in this version due to 
   10190 a 
   10191 number of issues that have appeared on various machines. The support can 
   10192 be 
   10193 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
   10194 compilation. When the issues are fully resolved, the code will be enabled 
   10195 by 
   10196 default again.
   10197 
   10198 Modified the internal functions for debug print support to define the 
   10199 FunctionName parameter as a (const char *) for compatibility with 
   10200 compiler 
   10201 built-in macros such as __FUNCTION__, etc.
   10202 
   10203 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
   10204 
   10205 Implemented support to display an object count summary for the AML 
   10206 Debugger 
   10207 commands Object and Methods.
   10208 
   10209 Code and Data Size: Current and previous core subsystem library sizes are 
   10210 shown below. These are the code and data sizes for the acpica.lib 
   10211 produced 
   10212 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10213 any ACPI driver or OSPM code. The debug version of the code includes the 
   10214 debug output trace mechanism and has a much larger code and data size. 
   10215 Note 
   10216 that these values will vary depending on the efficiency of the compiler 
   10217 and 
   10218 the compiler options used during generation.
   10219 
   10220   Previous Release:
   10221     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   10222     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   10223   Current Release:
   10224     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   10225     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   10226 
   10227 
   10228 2) iASL Compiler/Disassembler:
   10229 
   10230 Fixed a regression that appeared in the 20050708 version of the compiler 
   10231 where an error message was inadvertently emitted for invocations of the 
   10232 _OSI 
   10233 reserved control method.
   10234 
   10235 ----------------------------------------
   10236 08 July 2005.  Summary of changes for version 20050708:
   10237 
   10238 1) ACPI CA Core Subsystem:
   10239 
   10240 The use of the CPU stack in the debug version of the subsystem has been 
   10241 considerably reduced. Previously, a debug structure was declared in every 
   10242 function that used the debug macros. This structure has been removed in 
   10243 favor of declaring the individual elements as parameters to the debug 
   10244 functions. This reduces the cumulative stack use during nested execution 
   10245 of 
   10246 ACPI function calls at the cost of a small increase in the code size of 
   10247 the 
   10248 debug version of the subsystem. With assistance from Alexey Starikovskiy 
   10249 and 
   10250 Len Brown.
   10251 
   10252 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
   10253 headers to define a macro that will return the current function name at 
   10254 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
   10255 by 
   10256 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
   10257 compiler-dependent header, the function name is saved on the CPU stack 
   10258 (one 
   10259 pointer per function.) This mechanism is used because apparently there 
   10260 exists no standard ANSI-C defined macro that that returns the function 
   10261 name.
   10262 
   10263 Redesigned and reimplemented the "Owner ID" mechanism used to track 
   10264 namespace objects created/deleted by ACPI tables and control method 
   10265 execution. A bitmap is now used to allocate and free the IDs, thus 
   10266 solving 
   10267 the wraparound problem present in the previous implementation. The size 
   10268 of 
   10269 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
   10270 Starikovskiy).
   10271 
   10272 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
   10273 bitfield 
   10274 flag definitions within the headers for the predefined ACPI tables. These 
   10275 have been replaced by UINT8_BIT in order to increase the code portability 
   10276 of 
   10277 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
   10278 eliminate bitfields entirely because of a lack of portability.
   10279 
   10280 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
   10281 This 
   10282 is a frequently used function and this improvement increases the 
   10283 performance 
   10284 of the entire subsystem (Alexey Starikovskiy).
   10285 
   10286 Fixed several possible memory leaks and the inverse - premature object 
   10287 deletion (Alexey Starikovskiy).
   10288 
   10289 Code and Data Size: Current and previous core subsystem library sizes are 
   10290 shown below. These are the code and data sizes for the acpica.lib 
   10291 produced 
   10292 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10293 any ACPI driver or OSPM code. The debug version of the code includes the 
   10294 debug output trace mechanism and has a much larger code and data size. 
   10295 Note 
   10296 that these values will vary depending on the efficiency of the compiler 
   10297 and 
   10298 the compiler options used during generation.
   10299 
   10300   Previous Release:
   10301     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   10302     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   10303   Current Release:
   10304     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   10305     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   10306 
   10307 ----------------------------------------
   10308 24 June 2005.  Summary of changes for version 20050624:
   10309 
   10310 1) ACPI CA Core Subsystem:
   10311 
   10312 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
   10313 the host-defined cache object. This allows the OSL implementation to 
   10314 define 
   10315 and type this object in any manner desired, simplifying the OSL 
   10316 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
   10317 Linux, and should be defined in the OS-specific header file for other 
   10318 operating systems as required.
   10319 
   10320 Changed the interface to AcpiOsAcquireObject to directly return the 
   10321 requested object as the function return (instead of ACPI_STATUS.) This 
   10322 change was made for performance reasons, since this is the purpose of the 
   10323 interface in the first place. AcpiOsAcquireObject is now similar to the 
   10324 AcpiOsAllocate interface.
   10325 
   10326 Implemented a new AML debugger command named Businfo. This command 
   10327 displays 
   10328 information about all devices that have an associate _PRT object. The 
   10329 _ADR, 
   10330 _HID, _UID, and _CID are displayed for these devices.
   10331 
   10332 Modified the initialization sequence in AcpiInitializeSubsystem to call 
   10333 the 
   10334 OSL interface AcpiOslInitialize first, before any local initialization. 
   10335 This 
   10336 change was required because the global initialization now calls OSL 
   10337 interfaces.
   10338 
   10339 Enhanced the Dump command to display the entire contents of Package 
   10340 objects 
   10341 (including all sub-objects and their values.) 
   10342 
   10343 Restructured the code base to split some files because of size and/or 
   10344 because the code logically belonged in a separate file. New files are 
   10345 listed 
   10346 below. All makefiles and project files included in the ACPI CA release 
   10347 have 
   10348 been updated.
   10349     utilities/utcache.c           /* Local cache interfaces */
   10350     utilities/utmutex.c           /* Local mutex support */
   10351     utilities/utstate.c           /* State object support */
   10352     interpreter/parser/psloop.c   /* Main AML parse loop */
   10353 
   10354 Code and Data Size: Current and previous core subsystem library sizes are 
   10355 shown below. These are the code and data sizes for the acpica.lib 
   10356 produced 
   10357 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10358 any ACPI driver or OSPM code. The debug version of the code includes the 
   10359 debug output trace mechanism and has a much larger code and data size. 
   10360 Note 
   10361 that these values will vary depending on the efficiency of the compiler 
   10362 and 
   10363 the compiler options used during generation.
   10364 
   10365   Previous Release:
   10366     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   10367     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   10368   Current Release:
   10369     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   10370     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   10371 
   10372 
   10373 2) iASL Compiler/Disassembler:
   10374 
   10375 Fixed a regression introduced in version 20050513 where the use of a 
   10376 Package 
   10377 object within a Case() statement caused a compile time exception. The 
   10378 original behavior has been restored (a Match() operator is emitted.)
   10379 
   10380 ----------------------------------------
   10381 17 June 2005.  Summary of changes for version 20050617:
   10382 
   10383 1) ACPI CA Core Subsystem:
   10384 
   10385 Moved the object cache operations into the OS interface layer (OSL) to 
   10386 allow 
   10387 the host OS to handle these operations if desired (for example, the Linux 
   10388 OSL will invoke the slab allocator). This support is optional; the 
   10389 compile 
   10390 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
   10391 cache 
   10392 code in the ACPI CA core. The new OSL interfaces are shown below. See 
   10393 utalloc.c for an example implementation, and acpiosxf.h for the exact 
   10394 interface definitions. With assistance from Alexey Starikovskiy.
   10395     AcpiOsCreateCache
   10396     AcpiOsDeleteCache
   10397     AcpiOsPurgeCache
   10398     AcpiOsAcquireObject
   10399     AcpiOsReleaseObject
   10400 
   10401 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
   10402 return 
   10403 and restore a flags parameter. This fits better with many OS lock models. 
   10404 Note: the current execution state (interrupt handler or not) is no longer 
   10405 passed to these interfaces. If necessary, the OSL must determine this 
   10406 state 
   10407 by itself, a simple and fast operation. With assistance from Alexey 
   10408 Starikovskiy.
   10409 
   10410 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
   10411 present if the revision of the RSDP was 2 or greater. According to the 
   10412 ACPI 
   10413 specification, the XSDT is optional in all cases, and the table manager 
   10414 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
   10415 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
   10416 contain 
   10417 only the RSDT.
   10418 
   10419 Fixed an interpreter problem with the Mid() operator in the case of an 
   10420 input 
   10421 string where the resulting output string is of zero length. It now 
   10422 correctly 
   10423 returns a valid, null terminated string object instead of a string object 
   10424 with a null pointer.
   10425 
   10426 Fixed a problem with the control method argument handling to allow a 
   10427 store 
   10428 to an Arg object that already contains an object of type Device. The 
   10429 Device 
   10430 object is now correctly overwritten. Previously, an error was returned.
   10431 
   10432 
   10433 Enhanced the debugger Find command to emit object values in addition to 
   10434 the 
   10435 found object pathnames. The output format is the same as the dump 
   10436 namespace 
   10437 command.
   10438 
   10439 Enhanced the debugger Set command. It now has the ability to set the 
   10440 value 
   10441 of any Named integer object in the namespace (Previously, only method 
   10442 locals 
   10443 and args could be set.)
   10444 
   10445 Code and Data Size: Current and previous core subsystem library sizes are 
   10446 shown below. These are the code and data sizes for the acpica.lib 
   10447 produced 
   10448 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10449 any ACPI driver or OSPM code. The debug version of the code includes the 
   10450 debug output trace mechanism and has a much larger code and data size. 
   10451 Note 
   10452 that these values will vary depending on the efficiency of the compiler 
   10453 and 
   10454 the compiler options used during generation.
   10455 
   10456   Previous Release:
   10457     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   10458     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   10459   Current Release:
   10460     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   10461     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   10462 
   10463 
   10464 2) iASL Compiler/Disassembler:
   10465 
   10466 Fixed a regression in the disassembler where if/else/while constructs 
   10467 were 
   10468 output incorrectly. This problem was introduced in the previous release 
   10469 (20050526). This problem also affected the single-step disassembly in the 
   10470 debugger.
   10471 
   10472 Fixed a problem where compiling the reserved _OSI method would randomly 
   10473 (but 
   10474 rarely) produce compile errors.
   10475 
   10476 Enhanced the disassembler to emit compilable code in the face of 
   10477 incorrect 
   10478 AML resource descriptors. If the optional ResourceSourceIndex is present, 
   10479 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
   10480 disassembly. Otherwise, the resulting code cannot be compiled without 
   10481 errors.
   10482 
   10483 ----------------------------------------
   10484 26 May 2005.  Summary of changes for version 20050526:
   10485 
   10486 1) ACPI CA Core Subsystem:
   10487 
   10488 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
   10489 the module level (not within a control method.) These opcodes are 
   10490 executed 
   10491 exactly once at the time the table is loaded. This type of code was legal 
   10492 up 
   10493 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
   10494 in 
   10495 order to provide backwards compatibility with earlier BIOS 
   10496 implementations. 
   10497 This eliminates the "Encountered executable code at module level" warning 
   10498 that was previously generated upon detection of such code.
   10499 
   10500 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
   10501 inadvertently be generated during the lookup of namespace objects in the 
   10502 second pass parse of ACPI tables and control methods. It appears that 
   10503 this 
   10504 problem could occur during the resolution of forward references to 
   10505 namespace 
   10506 objects.
   10507 
   10508 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
   10509 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
   10510 allows the deadlock detection debug code to be compiled out in the normal 
   10511 case, improving mutex performance (and overall subsystem performance) 
   10512 considerably.
   10513 
   10514 Implemented a handful of miscellaneous fixes for possible memory leaks on 
   10515 error conditions and error handling control paths. These fixes were 
   10516 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
   10517 
   10518 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
   10519 (tbxfroot.c) 
   10520 to prevent a fault in this error case.
   10521 
   10522 Code and Data Size: Current and previous core subsystem library sizes are 
   10523 shown below. These are the code and data sizes for the acpica.lib 
   10524 produced 
   10525 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10526 any ACPI driver or OSPM code. The debug version of the code includes the 
   10527 debug output trace mechanism and has a much larger code and data size. 
   10528 Note 
   10529 that these values will vary depending on the efficiency of the compiler 
   10530 and 
   10531 the compiler options used during generation.
   10532 
   10533   Previous Release:
   10534     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   10535     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   10536   Current Release:
   10537     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   10538     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   10539 
   10540 
   10541 2) iASL Compiler/Disassembler:
   10542 
   10543 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
   10544 the module level (not within a control method.) These operators will be 
   10545 executed once at the time the table is loaded. This type of code was 
   10546 legal 
   10547 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
   10548 compiler in order to provide backwards compatibility with earlier BIOS 
   10549 ASL 
   10550 code.
   10551 
   10552 The ACPI integer width (specified via the table revision ID or the -r 
   10553 override, 32 or 64 bits) is now used internally during compile-time 
   10554 constant 
   10555 folding to ensure that constants are truncated to 32 bits if necessary. 
   10556 Previously, the revision ID value was only emitted in the AML table 
   10557 header.
   10558 
   10559 An error message is now generated for the Mutex and Method operators if 
   10560 the 
   10561 SyncLevel parameter is outside the legal range of 0 through 15.
   10562 
   10563 Fixed a problem with the Method operator ParameterTypes list handling 
   10564 (ACPI 
   10565 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
   10566 error.  
   10567 The actual underlying implementation of method argument typechecking is 
   10568 still under development, however.
   10569 
   10570 ----------------------------------------
   10571 13 May 2005.  Summary of changes for version 20050513:
   10572 
   10573 1) ACPI CA Core Subsystem:
   10574 
   10575 Implemented support for PCI Express root bridges -- added support for 
   10576 device 
   10577 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
   10578 
   10579 The interpreter now automatically truncates incoming 64-bit constants to 
   10580 32 
   10581 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
   10582 This 
   10583 also affects the iASL compiler constant folding. (Note: as per below, the 
   10584 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
   10585 
   10586 Fixed a problem where string and buffer objects with "static" pointers 
   10587 (pointers to initialization data within an ACPI table) were not handled 
   10588 consistently. The internal object copy operation now always copies the 
   10589 data 
   10590 to a newly allocated buffer, regardless of whether the source object is 
   10591 static or not.
   10592 
   10593 Fixed a problem with the FromBCD operator where an implicit result 
   10594 conversion was improperly performed while storing the result to the 
   10595 target 
   10596 operand. Since this is an "explicit conversion" operator, the implicit 
   10597 conversion should never be performed on the output.
   10598 
   10599 Fixed a problem with the CopyObject operator where a copy to an existing 
   10600 named object did not always completely overwrite the existing object 
   10601 stored 
   10602 at name. Specifically, a buffer-to-buffer copy did not delete the 
   10603 existing 
   10604 buffer.
   10605 
   10606 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
   10607 and 
   10608 structs for consistency.
   10609 
   10610 Code and Data Size: Current and previous core subsystem library sizes are 
   10611 shown below. These are the code and data sizes for the acpica.lib 
   10612 produced 
   10613 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10614 any ACPI driver or OSPM code. The debug version of the code includes the 
   10615 debug output trace mechanism and has a much larger code and data size. 
   10616 Note 
   10617 that these values will vary depending on the efficiency of the compiler 
   10618 and 
   10619 the compiler options used during generation.
   10620 
   10621   Previous Release:
   10622     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   10623     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   10624   Current Release: (Same sizes)
   10625     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   10626     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   10627 
   10628 
   10629 2) iASL Compiler/Disassembler:
   10630 
   10631 The compiler now emits a warning if an attempt is made to generate a 64-
   10632 bit 
   10633 integer constant from within a 32-bit ACPI table (Revision < 2). The 
   10634 integer 
   10635 is truncated to 32 bits.
   10636 
   10637 Fixed a problem with large package objects: if the static length of the 
   10638 package is greater than 255, the "variable length package" opcode is 
   10639 emitted. Previously, this caused an error. This requires an update to the 
   10640 ACPI spec, since it currently (incorrectly) states that packages larger 
   10641 than 
   10642 255 elements are not allowed.
   10643 
   10644 The disassembler now correctly handles variable length packages and 
   10645 packages 
   10646 larger than 255 elements.
   10647 
   10648 ----------------------------------------
   10649 08 April 2005.  Summary of changes for version 20050408:
   10650 
   10651 1) ACPI CA Core Subsystem:
   10652 
   10653 Fixed three cases in the interpreter where an "index" argument to an ASL 
   10654 function was still (internally) 32 bits instead of the required 64 bits. 
   10655 This was the Index argument to the Index, Mid, and Match operators.
   10656 
   10657 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
   10658 is 
   10659 not a POSIX-defined function and not present in most kernel-level C 
   10660 libraries. All references to the C library strupr function have been 
   10661 removed 
   10662 from the headers.
   10663 
   10664 Completed the deployment of static functions/prototypes. All prototypes 
   10665 with 
   10666 the static attribute have been moved from the headers to the owning C 
   10667 file.
   10668 
   10669 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
   10670 utility). This option allows the utility to extract individual ACPI 
   10671 tables 
   10672 from the output of AcpiDmp. It provides the same functionality of the 
   10673 acpixtract.pl perl script without the worry of setting the correct perl 
   10674 options. AcpiBin runs on Windows and has not yet been generated/validated 
   10675 in 
   10676 the Linux/Unix environment (but should be soon).
   10677  
   10678 Updated and fixed the table dump option for AcpiBin (-d). This option 
   10679 converts a single ACPI table to a hex/ascii file, similar to the output 
   10680 of 
   10681 AcpiDmp.
   10682 
   10683 Code and Data Size: Current and previous core subsystem library sizes are 
   10684 shown below. These are the code and data sizes for the acpica.lib 
   10685 produced 
   10686 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10687 any ACPI driver or OSPM code. The debug version of the code includes the 
   10688 debug output trace mechanism and has a much larger code and data size. 
   10689 Note 
   10690 that these values will vary depending on the efficiency of the compiler 
   10691 and 
   10692 the compiler options used during generation.
   10693 
   10694   Previous Release:
   10695     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   10696     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   10697   Current Release:
   10698     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   10699     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   10700 
   10701 
   10702 2) iASL Compiler/Disassembler:
   10703 
   10704 Disassembler fix: Added a check to ensure that the table length found in 
   10705 the 
   10706 ACPI table header within the input file is not longer than the actual 
   10707 input 
   10708 file size. This indicates some kind of file or table corruption.
   10709 
   10710 ----------------------------------------
   10711 29 March 2005.  Summary of changes for version 20050329:
   10712 
   10713 1) ACPI CA Core Subsystem:
   10714 
   10715 An error is now generated if an attempt is made to create a Buffer Field 
   10716 of 
   10717 length zero (A CreateField with a length operand of zero.)
   10718 
   10719 The interpreter now issues a warning whenever executable code at the 
   10720 module 
   10721 level is detected during ACPI table load. This will give some idea of the 
   10722 prevalence of this type of code.
   10723 
   10724 Implemented support for references to named objects (other than control 
   10725 methods) within package objects.
   10726 
   10727 Enhanced package object output for the debug object. Package objects are 
   10728 now 
   10729 completely dumped, showing all elements.
   10730 
   10731 Enhanced miscellaneous object output for the debug object. Any object can 
   10732 now be written to the debug object (for example, a device object can be 
   10733 written, and the type of the object will be displayed.)
   10734 
   10735 The "static" qualifier has been added to all local functions across both 
   10736 the 
   10737 core subsystem and the iASL compiler.
   10738 
   10739 The number of "long" lines (> 80 chars) within the source has been 
   10740 significantly reduced, by about 1/3.
   10741 
   10742 Cleaned up all header files to ensure that all CA/iASL functions are 
   10743 prototyped (even static functions) and the formatting is consistent.
   10744 
   10745 Two new header files have been added, acopcode.h and acnames.h.
   10746 
   10747 Removed several obsolete functions that were no longer used.
   10748 
   10749 Code and Data Size: Current and previous core subsystem library sizes are 
   10750 shown below. These are the code and data sizes for the acpica.lib 
   10751 produced 
   10752 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10753 any ACPI driver or OSPM code. The debug version of the code includes the 
   10754 debug output trace mechanism and has a much larger code and data size. 
   10755 Note 
   10756 that these values will vary depending on the efficiency of the compiler 
   10757 and 
   10758 the compiler options used during generation.
   10759 
   10760   Previous Release:
   10761     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   10762     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   10763   Current Release:
   10764     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   10765     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   10766 
   10767 
   10768 
   10769 2) iASL Compiler/Disassembler:
   10770 
   10771 Fixed a problem with the resource descriptor generation/support. For the 
   10772 ResourceSourceIndex and the ResourceSource fields, both must be present, 
   10773 or 
   10774 both must be not present - can't have one without the other.
   10775 
   10776 The compiler now returns non-zero from the main procedure if any errors 
   10777 have 
   10778 occurred during the compilation.
   10779 
   10780 
   10781 ----------------------------------------
   10782 09 March 2005.  Summary of changes for version 20050309:
   10783 
   10784 1) ACPI CA Core Subsystem:
   10785 
   10786 The string-to-buffer implicit conversion code has been modified again 
   10787 after 
   10788 a change to the ACPI specification.  In order to match the behavior of 
   10789 the 
   10790 other major ACPI implementation, the target buffer is no longer truncated 
   10791 if 
   10792 the source string is smaller than an existing target buffer. This change 
   10793 requires an update to the ACPI spec, and should eliminate the recent 
   10794 AE_AML_BUFFER_LIMIT issues.
   10795 
   10796 The "implicit return" support was rewritten to a new algorithm that 
   10797 solves 
   10798 the general case. Rather than attempt to determine when a method is about 
   10799 to 
   10800 exit, the result of every ASL operator is saved momentarily until the 
   10801 very 
   10802 next ASL operator is executed. Therefore, no matter how the method exits, 
   10803 there will always be a saved implicit return value. This feature is only 
   10804 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
   10805 eliminate 
   10806 AE_AML_NO_RETURN_VALUE errors when enabled.
   10807 
   10808 Implemented implicit conversion support for the predicate (operand) of 
   10809 the 
   10810 If, Else, and While operators. String and Buffer arguments are 
   10811 automatically 
   10812 converted to Integers.
   10813 
   10814 Changed the string-to-integer conversion behavior to match the new ACPI 
   10815 errata: "If no integer object exists, a new integer is created. The ASCII 
   10816 string is interpreted as a hexadecimal constant. Each string character is 
   10817 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
   10818 with the first character as the most significant digit, and ending with 
   10819 the 
   10820 first non-hexadecimal character or end-of-string." This means that the 
   10821 first 
   10822 non-hex character terminates the conversion and this is the code that was 
   10823 changed.
   10824 
   10825 Fixed a problem where the ObjectType operator would fail (fault) when 
   10826 used 
   10827 on an Index of a Package which pointed to a null package element. The 
   10828 operator now properly returns zero (Uninitialized) in this case.
   10829 
   10830 Fixed a problem where the While operator used excessive memory by not 
   10831 properly popping the result stack during execution. There was no memory 
   10832 leak 
   10833 after execution, however. (Code provided by Valery Podrezov.)
   10834 
   10835 Fixed a problem where references to control methods within Package 
   10836 objects 
   10837 caused the method to be invoked, instead of producing a reference object 
   10838 pointing to the method.
   10839 
   10840 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
   10841 to 
   10842 improve performance and reduce code size. (Code provided by Alexey 
   10843 Starikovskiy.)
   10844 
   10845 Code and Data Size: Current and previous core subsystem library sizes are 
   10846 shown below. These are the code and data sizes for the acpica.lib 
   10847 produced 
   10848 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10849 any ACPI driver or OSPM code. The debug version of the code includes the 
   10850 debug output trace mechanism and has a much larger code and data size. 
   10851 Note 
   10852 that these values will vary depending on the efficiency of the compiler 
   10853 and 
   10854 the compiler options used during generation.
   10855 
   10856   Previous Release:
   10857     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   10858     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   10859   Current Release:
   10860     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   10861     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   10862 
   10863 
   10864 2) iASL Compiler/Disassembler:
   10865 
   10866 Fixed a problem with the Return operator with no arguments. Since the AML 
   10867 grammar for the byte encoding requires an operand for the Return opcode, 
   10868 the 
   10869 compiler now emits a Return(Zero) for this case.  An ACPI specification 
   10870 update has been written for this case.
   10871 
   10872 For tables other than the DSDT, namepath optimization is automatically 
   10873 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
   10874 the 
   10875 compiler has no knowledge of where, and thus cannot optimize namepaths.
   10876 
   10877 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
   10878 inadvertently omitted from the ACPI specification, and will require an 
   10879 update to the spec.
   10880 
   10881 The source file scan for ASCII characters is now optional (-a). This 
   10882 change 
   10883 was made because some vendors place non-ascii characters within comments. 
   10884 However, the scan is simply a brute-force byte compare to ensure all 
   10885 characters in the file are in the range 0x00 to 0x7F.
   10886 
   10887 Fixed a problem with the CondRefOf operator where the compiler was 
   10888 inappropriately checking for the existence of the target. Since the point 
   10889 of 
   10890 the operator is to check for the existence of the target at run-time, the 
   10891 compiler no longer checks for the target existence.
   10892 
   10893 Fixed a problem where errors generated from the internal AML interpreter 
   10894 during constant folding were not handled properly, causing a fault.
   10895 
   10896 Fixed a problem with overly aggressive range checking for the Stall 
   10897 operator. The valid range (max 255) is now only checked if the operand is 
   10898 of 
   10899 type Integer. All other operand types cannot be statically checked.
   10900 
   10901 Fixed a problem where control method references within the RefOf, 
   10902 DeRefOf, 
   10903 and ObjectType operators were not treated properly. They are now treated 
   10904 as 
   10905 actual references, not method invocations.
   10906 
   10907 Fixed and enhanced the "list namespace" option (-ln). This option was 
   10908 broken 
   10909 a number of releases ago.
   10910 
   10911 Improved error handling for the Field, IndexField, and BankField 
   10912 operators. 
   10913 The compiler now cleanly reports and recovers from errors in the field 
   10914 component (FieldUnit) list.
   10915 
   10916 Fixed a disassembler problem where the optional ResourceDescriptor fields 
   10917 TRS and TTP were not always handled correctly.
   10918 
   10919 Disassembler - Comments in output now use "//" instead of "/*"
   10920 
   10921 ----------------------------------------
   10922 28 February 2005.  Summary of changes for version 20050228:
   10923 
   10924 1) ACPI CA Core Subsystem:
   10925 
   10926 Fixed a problem where the result of an Index() operator (an object 
   10927 reference) must increment the reference count on the target object for 
   10928 the 
   10929 life of the object reference.
   10930 
   10931 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
   10932 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
   10933 WordSpace 
   10934 resource descriptors.
   10935 
   10936 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
   10937 Space Descriptor" string, indicating interpreter support for the 
   10938 descriptors 
   10939 above.
   10940 
   10941 Implemented header support for the new ACPI 3.0 FADT flag bits.
   10942 
   10943 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
   10944 PM1 
   10945 status/enable registers.
   10946 
   10947 Updated header support for the MADT processor local Apic struct and MADT 
   10948 platform interrupt source struct for new ACPI 3.0 fields.
   10949 
   10950 Implemented header support for the SRAT and SLIT ACPI tables.
   10951 
   10952 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
   10953 flag 
   10954 at runtime.
   10955 
   10956 Code and Data Size: Current and previous core subsystem library sizes are 
   10957 shown below. These are the code and data sizes for the acpica.lib 
   10958 produced 
   10959 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10960 any ACPI driver or OSPM code. The debug version of the code includes the 
   10961 debug output trace mechanism and has a much larger code and data size. 
   10962 Note 
   10963 that these values will vary depending on the efficiency of the compiler 
   10964 and 
   10965 the compiler options used during generation.
   10966 
   10967   Previous Release:
   10968     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   10969     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   10970   Current Release:
   10971     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   10972     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   10973 
   10974 
   10975 2) iASL Compiler/Disassembler:
   10976 
   10977 Fixed a problem with the internal 64-bit String-to-integer conversion 
   10978 with 
   10979 strings less than two characters long.
   10980 
   10981 Fixed a problem with constant folding where the result of the Index() 
   10982 operator can not be considered a constant. This means that Index() cannot 
   10983 be 
   10984 a type3 opcode and this will require an update to the ACPI specification.
   10985 
   10986 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
   10987 descriptor fields. These fields were inadvertently ignored and not output 
   10988 in 
   10989 the disassembly of the resource descriptor.
   10990 
   10991 
   10992  ----------------------------------------
   10993 11 February 2005.  Summary of changes for version 20050211:
   10994 
   10995 1) ACPI CA Core Subsystem:
   10996 
   10997 Implemented ACPI 3.0 support for implicit conversion within the Match() 
   10998 operator. MatchObjects can now be of type integer, buffer, or string 
   10999 instead 
   11000 of just type integer.  Package elements are implicitly converted to the 
   11001 type 
   11002 of the MatchObject. This change aligns the behavior of Match() with the 
   11003 behavior of the other logical operators (LLess(), etc.) It also requires 
   11004 an 
   11005 errata change to the ACPI specification as this support was intended for 
   11006 ACPI 3.0, but was inadvertently omitted.
   11007 
   11008 Fixed a problem with the internal implicit "to buffer" conversion. 
   11009 Strings 
   11010 that are converted to buffers will cause buffer truncation if the string 
   11011 is 
   11012 smaller than the target buffer. Integers that are converted to buffers 
   11013 will 
   11014 not cause buffer truncation, only zero extension (both as per the ACPI 
   11015 spec.) The problem was introduced when code was added to truncate the 
   11016 buffer, but this should not be performed in all cases, only the string 
   11017 case.
   11018 
   11019 Fixed a problem with the Buffer and Package operators where the 
   11020 interpreter 
   11021 would get confused if two such operators were used as operands to an ASL 
   11022 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
   11023 stack was not being popped after the execution of these operators, 
   11024 resulting 
   11025 in an AE_NO_RETURN_VALUE exception.
   11026 
   11027 Fixed a problem with constructs of the form Store(Index(...),...). The 
   11028 reference object returned from Index was inadvertently resolved to an 
   11029 actual 
   11030 value. This problem was introduced in version 20050114 when the behavior 
   11031 of 
   11032 Store() was modified to restrict the object types that can be used as the 
   11033 source operand (to match the ACPI specification.)
   11034 
   11035 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
   11036 
   11037 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
   11038 
   11039 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
   11040 
   11041 Code and Data Size: Current and previous core subsystem library sizes are 
   11042 shown below. These are the code and data sizes for the acpica.lib 
   11043 produced 
   11044 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11045 any ACPI driver or OSPM code. The debug version of the code includes the 
   11046 debug output trace mechanism and has a much larger code and data size. 
   11047 Note 
   11048 that these values will vary depending on the efficiency of the compiler 
   11049 and 
   11050 the compiler options used during generation.
   11051 
   11052   Previous Release:
   11053     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
   11054     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
   11055   Current Release:
   11056     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   11057     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   11058 
   11059 
   11060 2) iASL Compiler/Disassembler:
   11061 
   11062 Fixed a code generation problem in the constant folding optimization code 
   11063 where incorrect code was generated if a constant was reduced to a buffer 
   11064 object (i.e., a reduced type 5 opcode.)
   11065 
   11066 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
   11067 incorrect return type in the internal opcode information table.
   11068 
   11069 ----------------------------------------
   11070 25 January 2005.  Summary of changes for version 20050125:
   11071 
   11072 1) ACPI CA Core Subsystem:
   11073 
   11074 Fixed a recently introduced problem with the Global Lock where the 
   11075 underlying semaphore was not created.  This problem was introduced in 
   11076 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
   11077 Acquire() operation on _GL.
   11078 
   11079 The local object cache is now optional, and is disabled by default. Both 
   11080 AcpiExec and the iASL compiler enable the cache because they run in user 
   11081 mode and this enhances their performance. #define 
   11082 ACPI_ENABLE_OBJECT_CACHE 
   11083 to enable the local cache.
   11084 
   11085 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
   11086 the 
   11087 optional "implicit return" support where an error was returned if no 
   11088 return 
   11089 object was expected, but one was implicitly returned. AE_OK is now 
   11090 returned 
   11091 in this case and the implicitly returned object is deleted. 
   11092 AcpiUtEvaluateObject is only occasionally used, and only to execute 
   11093 reserved 
   11094 methods such as _STA and _INI where the return type is known up front.
   11095 
   11096 Fixed a few issues with the internal convert-to-integer code. It now 
   11097 returns 
   11098 an error if an attempt is made to convert a null string, a string of only 
   11099 blanks/tabs, or a zero-length buffer. This affects both implicit 
   11100 conversion 
   11101 and explicit conversion via the ToInteger() operator.
   11102 
   11103 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
   11104 is 
   11105 not needed for normal operation and should increase the performance of 
   11106 the 
   11107 entire subsystem. The code remains in case it is needed for debug 
   11108 purposes 
   11109 again.
   11110 
   11111 The AcpiExec source and makefile are included in the Unix/Linux package 
   11112 for 
   11113 the first time.
   11114 
   11115 Code and Data Size: Current and previous core subsystem library sizes are 
   11116 shown below. These are the code and data sizes for the acpica.lib 
   11117 produced 
   11118 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11119 any ACPI driver or OSPM code. The debug version of the code includes the 
   11120 debug output trace mechanism and has a much larger code and data size. 
   11121 Note 
   11122 that these values will vary depending on the efficiency of the compiler 
   11123 and 
   11124 the compiler options used during generation.
   11125 
   11126   Previous Release:
   11127     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   11128     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   11129   Current Release:
   11130     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
   11131     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
   11132 
   11133 2) iASL Compiler/Disassembler:
   11134 
   11135 Switch/Case support: A warning is now issued if the type of the Switch 
   11136 value 
   11137 cannot be determined at compile time. For example, Switch(Arg0) will 
   11138 generate the warning, and the type is assumed to be an integer. As per 
   11139 the 
   11140 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
   11141 the 
   11142 warning.
   11143 
   11144 Switch/Case support: Implemented support for buffer and string objects as 
   11145 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
   11146 buffers and strings.
   11147 
   11148 Switch/Case support: The emitted code for the LEqual() comparisons now 
   11149 uses 
   11150 the switch value as the first operand, not the second. The case value is 
   11151 now 
   11152 the second operand, and this allows the case value to be implicitly 
   11153 converted to the type of the switch value, not the other way around.
   11154 
   11155 Switch/Case support: Temporary variables are now emitted immediately 
   11156 within 
   11157 the control method, not at the global level. This means that there are 
   11158 now 
   11159 36 temps available per-method, not 36 temps per-module as was the case 
   11160 with 
   11161 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
   11162 
   11163 ----------------------------------------
   11164 14 January 2005.  Summary of changes for version 20050114:
   11165 
   11166 Added 2005 copyright to all module headers.  This affects every module in 
   11167 the core subsystem, iASL compiler, and the utilities.
   11168 
   11169 1) ACPI CA Core Subsystem:
   11170 
   11171 Fixed an issue with the String-to-Buffer conversion code where the string 
   11172 null terminator was not included in the buffer after conversion, but 
   11173 there 
   11174 is existing ASL that assumes the string null terminator is included. This 
   11175 is 
   11176 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
   11177 introduced in the previous version when the code was updated to correctly 
   11178 set the converted buffer size as per the ACPI specification. The ACPI 
   11179 spec 
   11180 is ambiguous and will be updated to specify that the null terminator must 
   11181 be 
   11182 included in the converted buffer. This also affects the ToBuffer() ASL 
   11183 operator.
   11184 
   11185 Fixed a problem with the Mid() ASL/AML operator where it did not work 
   11186 correctly on Buffer objects. Newly created sub-buffers were not being 
   11187 marked 
   11188 as initialized.
   11189 
   11190 
   11191 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
   11192 performed on the OemId and OemTableId table header fields.  These fields 
   11193 are 
   11194 not null terminated, so strncmp is now used instead of strcmp.
   11195 
   11196 Implemented a restriction on the Store() ASL/AML operator to align the 
   11197 behavior with the ACPI specification.  Previously, any object could be 
   11198 used 
   11199 as the source operand.  Now, the only objects that may be used are 
   11200 Integers, 
   11201 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
   11202 necessary, the original behavior can be restored by enabling the 
   11203 EnableInterpreterSlack flag.
   11204 
   11205 Enhanced the optional "implicit return" support to allow an implicit 
   11206 return 
   11207 value from methods that are invoked externally via the AcpiEvaluateObject 
   11208 interface.  This enables implicit returns from the _STA and _INI methods, 
   11209 for example.
   11210 
   11211 Changed the Revision() ASL/AML operator to return the current version of 
   11212 the 
   11213 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
   11214 returned 
   11215 the supported ACPI version (This is the function of the _REV method).
   11216 
   11217 Updated the _REV predefined method to return the currently supported 
   11218 version 
   11219 of ACPI, now 3.
   11220 
   11221 Implemented batch mode option for the AcpiExec utility (-b).
   11222 
   11223 Code and Data Size: Current and previous core subsystem library sizes are 
   11224 shown below. These are the code and data sizes for the acpica.lib 
   11225 produced 
   11226 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11227 any ACPI driver or OSPM code. The debug version of the code includes the 
   11228 debug output trace mechanism and has a much larger code and data size. 
   11229 Note 
   11230 that these values will vary depending on the efficiency of the compiler 
   11231 and 
   11232 the compiler options used during generation.
   11233 
   11234   Previous Release:
   11235     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   11236     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   11237   Current Release:
   11238     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   11239     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   11240 
   11241 ----------------------------------------
   11242 10 December 2004.  Summary of changes for version 20041210:
   11243 
   11244 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
   11245 ACPI CA core subsystem.
   11246 
   11247 1) ACPI CA Core Subsystem:
   11248 
   11249 Fixed a problem in the ToDecimalString operator where the resulting 
   11250 string 
   11251 length was incorrectly calculated. The length is now calculated exactly, 
   11252 eliminating incorrect AE_STRING_LIMIT exceptions.
   11253 
   11254 Fixed a problem in the ToHexString operator to allow a maximum 200 
   11255 character 
   11256 string to be produced.
   11257 
   11258 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
   11259 copy 
   11260 routine where the length of the resulting buffer was not truncated to the 
   11261 new size (if the target buffer already existed).
   11262 
   11263 Code and Data Size: Current and previous core subsystem library sizes are 
   11264 shown below. These are the code and data sizes for the acpica.lib 
   11265 produced 
   11266 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11267 any ACPI driver or OSPM code. The debug version of the code includes the 
   11268 debug output trace mechanism and has a much larger code and data size. 
   11269 Note 
   11270 that these values will vary depending on the efficiency of the compiler 
   11271 and 
   11272 the compiler options used during generation.
   11273 
   11274   Previous Release:
   11275     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   11276     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   11277   Current Release:
   11278     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   11279     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   11280 
   11281 
   11282 2) iASL Compiler/Disassembler:
   11283 
   11284 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
   11285 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
   11286 Includes support in the disassembler.
   11287 
   11288 Implemented support for the new (ACPI 3.0) parameter to the Register 
   11289 macro, 
   11290 AccessSize.
   11291 
   11292 Fixed a problem where the _HE resource name for the Interrupt macro was 
   11293 referencing bit 0 instead of bit 1.
   11294 
   11295 Implemented check for maximum 255 interrupts in the Interrupt macro.
   11296 
   11297 Fixed a problem with the predefined resource descriptor names where 
   11298 incorrect AML code was generated if the offset within the resource buffer 
   11299 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
   11300 but did not update the surrounding package lengths.
   11301 
   11302 Changes to the Dma macro:  All channels within the channel list must be 
   11303 in 
   11304 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
   11305 optional (default is BusMaster).
   11306 
   11307 Implemented check for maximum 7 data bytes for the VendorShort macro.
   11308 
   11309 The ReadWrite parameter is now optional for the Memory32 and similar 
   11310 macros.
   11311 
   11312 ----------------------------------------
   11313 03 December 2004.  Summary of changes for version 20041203:
   11314 
   11315 1) ACPI CA Core Subsystem:
   11316 
   11317 The low-level field insertion/extraction code (exfldio) has been 
   11318 completely 
   11319 rewritten to eliminate unnecessary complexity, bugs, and boundary 
   11320 conditions.
   11321 
   11322 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
   11323 ToDecimalString 
   11324 operators where the input operand could be inadvertently deleted if no 
   11325 conversion was necessary (e.g., if the input to ToInteger was an Integer 
   11326 object.)
   11327 
   11328 Fixed a problem with the ToDecimalString and ToHexString where an 
   11329 incorrect 
   11330 exception code was returned if the resulting string would be > 200 chars.  
   11331 AE_STRING_LIMIT is now returned.
   11332 
   11333 Fixed a problem with the Concatenate operator where AE_OK was always 
   11334 returned, even if the operation failed.
   11335 
   11336 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
   11337 semaphores to be allocated.
   11338 
   11339 Code and Data Size: Current and previous core subsystem library sizes are 
   11340 shown below. These are the code and data sizes for the acpica.lib 
   11341 produced 
   11342 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11343 any ACPI driver or OSPM code. The debug version of the code includes the 
   11344 debug output trace mechanism and has a much larger code and data size. 
   11345 Note 
   11346 that these values will vary depending on the efficiency of the compiler 
   11347 and 
   11348 the compiler options used during generation.
   11349 
   11350   Previous Release:
   11351     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   11352     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   11353   Current Release:
   11354     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   11355     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   11356 
   11357 
   11358 2) iASL Compiler/Disassembler:
   11359 
   11360 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
   11361 recently introduced in 20041119.
   11362 
   11363 Fixed a problem with the ToUUID macro where the upper nybble of each 
   11364 buffer 
   11365 byte was inadvertently set to zero.
   11366 
   11367 ----------------------------------------
   11368 19 November 2004.  Summary of changes for version 20041119:
   11369 
   11370 1) ACPI CA Core Subsystem:
   11371 
   11372 Fixed a problem in the internal ConvertToInteger routine where new 
   11373 integers 
   11374 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
   11375 converts 
   11376 buffers and strings to integers.
   11377 
   11378 Implemented support to store a value to an Index() on a String object. 
   11379 This 
   11380 is an ACPI 2.0 feature that had not yet been implemented.
   11381 
   11382 Implemented new behavior for storing objects to individual package 
   11383 elements 
   11384 (via the Index() operator). The previous behavior was to invoke the 
   11385 implicit 
   11386 conversion rules if an object was already present at the index.  The new 
   11387 behavior is to simply delete any existing object and directly store the 
   11388 new 
   11389 object. Although the ACPI specification seems unclear on this subject, 
   11390 other 
   11391 ACPI implementations behave in this manner.  (This is the root of the 
   11392 AE_BAD_HEX_CONSTANT issue.)
   11393 
   11394 Modified the RSDP memory scan mechanism to support the extended checksum 
   11395 for 
   11396 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
   11397 RSDP signature is found with a valid checksum.
   11398 
   11399 Code and Data Size: Current and previous core subsystem library sizes are 
   11400 shown below. These are the code and data sizes for the acpica.lib 
   11401 produced 
   11402 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11403 any ACPI driver or OSPM code. The debug version of the code includes the 
   11404 debug output trace mechanism and has a much larger code and data size. 
   11405 Note 
   11406 that these values will vary depending on the efficiency of the compiler 
   11407 and 
   11408 the compiler options used during generation.
   11409 
   11410   Previous Release:
   11411     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   11412     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   11413   Current Release:
   11414     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   11415     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   11416 
   11417 
   11418 2) iASL Compiler/Disassembler:
   11419 
   11420 Fixed a missing semicolon in the aslcompiler.y file.
   11421 
   11422 ----------------------------------------
   11423 05 November 2004.  Summary of changes for version 20041105:
   11424 
   11425 1) ACPI CA Core Subsystem:
   11426 
   11427 Implemented support for FADT revision 2.  This was an interim table 
   11428 (between 
   11429 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
   11430 
   11431 Implemented optional support to allow uninitialized LocalX and ArgX 
   11432 variables in a control method.  The variables are initialized to an 
   11433 Integer 
   11434 object with a value of zero.  This support is enabled by setting the 
   11435 AcpiGbl_EnableInterpreterSlack flag to TRUE.
   11436 
   11437 Implemented support for Integer objects for the SizeOf operator.  Either 
   11438 4 
   11439 or 8 is returned, depending on the current integer size (32-bit or 64-
   11440 bit, 
   11441 depending on the parent table revision).
   11442 
   11443 Fixed a problem in the implementation of the SizeOf and ObjectType 
   11444 operators 
   11445 where the operand was resolved to a value too early, causing incorrect 
   11446 return values for some objects.
   11447 
   11448 Fixed some possible memory leaks during exceptional conditions.
   11449 
   11450 Code and Data Size: Current and previous core subsystem library sizes are 
   11451 shown below. These are the code and data sizes for the acpica.lib 
   11452 produced 
   11453 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11454 any ACPI driver or OSPM code. The debug version of the code includes the 
   11455 debug output trace mechanism and has a much larger code and data size. 
   11456 Note 
   11457 that these values will vary depending on the efficiency of the compiler 
   11458 and 
   11459 the compiler options used during generation.
   11460 
   11461   Previous Release:
   11462     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   11463     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   11464   Current Release:
   11465     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   11466     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   11467 
   11468 
   11469 2) iASL Compiler/Disassembler:
   11470 
   11471 Implemented support for all ACPI 3.0 reserved names and methods.
   11472 
   11473 Implemented all ACPI 3.0 grammar elements in the front-end, including 
   11474 support for semicolons.
   11475 
   11476 Implemented the ACPI 3.0 Function() and ToUUID() macros
   11477 
   11478 Fixed a problem in the disassembler where a Scope() operator would not be 
   11479 emitted properly if the target of the scope was in another table.
   11480 
   11481 ----------------------------------------
   11482 15 October 2004.  Summary of changes for version 20041015:
   11483 
   11484 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
   11485 evaluation to test/verify the following areas. Other suggestions are 
   11486 welcome. This will result in an increase in the frequency of releases and 
   11487 the number of bug fixes in the next few months.
   11488   - Functional tests for all ASL/AML operators
   11489   - All implicit/explicit type conversions
   11490   - Bit fields and operation regions
   11491   - 64-bit math support and 32-bit-only "truncated" math support
   11492   - Exceptional conditions, both compiler and interpreter
   11493   - Dynamic object deletion and memory leaks
   11494   - ACPI 3.0 support when implemented
   11495   - External interfaces to the ACPI subsystem
   11496 
   11497 
   11498 1) ACPI CA Core Subsystem:
   11499 
   11500 Fixed two alignment issues on 64-bit platforms - within debug statements 
   11501 in 
   11502 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
   11503 Address 
   11504 field within the non-aligned ACPI generic address structure.
   11505 
   11506 Fixed a problem in the Increment and Decrement operators where incorrect 
   11507 operand resolution could result in the inadvertent modification of the 
   11508 original integer when the integer is passed into another method as an 
   11509 argument and the arg is then incremented/decremented.
   11510 
   11511 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
   11512 bit 
   11513 BCD number were truncated during conversion.
   11514 
   11515 Fixed a problem in the ToDecimal operator where the length of the 
   11516 resulting 
   11517 string could be set incorrectly too long if the input operand was a 
   11518 Buffer 
   11519 object.
   11520 
   11521 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
   11522 (0) 
   11523 within a buffer would prematurely terminate a compare between buffer 
   11524 objects.
   11525 
   11526 Added a check for string overflow (>200 characters as per the ACPI 
   11527 specification) during the Concatenate operator with two string operands.
   11528 
   11529 Code and Data Size: Current and previous core subsystem library sizes are 
   11530 shown below. These are the code and data sizes for the acpica.lib 
   11531 produced 
   11532 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11533 any ACPI driver or OSPM code. The debug version of the code includes the 
   11534 debug output trace mechanism and has a much larger code and data size. 
   11535 Note 
   11536 that these values will vary depending on the efficiency of the compiler 
   11537 and 
   11538 the compiler options used during generation.
   11539 
   11540   Previous Release:
   11541     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   11542     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   11543   Current Release:
   11544     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   11545     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   11546 
   11547 
   11548 
   11549 2) iASL Compiler/Disassembler:
   11550 
   11551 Allow the use of the ObjectType operator on uninitialized Locals and Args 
   11552 (returns 0 as per the ACPI specification).
   11553 
   11554 Fixed a problem where the compiler would fault if there was a syntax 
   11555 error 
   11556 in the FieldName of all of the various CreateXXXField operators.
   11557 
   11558 Disallow the use of lower case letters within the EISAID macro, as per 
   11559 the 
   11560 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
   11561 Where 
   11562 U is an uppercase letter and N is a hex digit.
   11563 
   11564 
   11565 ----------------------------------------
   11566 06 October 2004.  Summary of changes for version 20041006:
   11567 
   11568 1) ACPI CA Core Subsystem:
   11569 
   11570 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
   11571 implements a 64-bit timer with 100 nanosecond granularity.
   11572 
   11573 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
   11574 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
   11575 implement 
   11576 the timer with the best clock available. Also, it keeps the core 
   11577 subsystem 
   11578 out of the clock handling business, since the host OS (usually) performs 
   11579 this function.
   11580 
   11581 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
   11582 functions use a 64-bit address which is part of the packed ACPI Generic 
   11583 Address Structure. Since the structure is non-aligned, the alignment 
   11584 macros 
   11585 are now used to extract the address to a local variable before use.
   11586 
   11587 Fixed a problem where the ToInteger operator assumed all input strings 
   11588 were 
   11589 hexadecimal. The operator now handles both decimal strings and hex 
   11590 strings 
   11591 (prefixed with "0x").
   11592 
   11593 Fixed a problem where the string length in the string object created as a 
   11594 result of the internal ConvertToString procedure could be incorrect. This 
   11595 potentially affected all implicit conversions and also the 
   11596 ToDecimalString 
   11597 and ToHexString operators.
   11598 
   11599 Fixed two problems in the ToString operator. If the length parameter was 
   11600 zero, an incorrect string object was created and the value of the input 
   11601 length parameter was inadvertently changed from zero to Ones.
   11602 
   11603 Fixed a problem where the optional ResourceSource string in the 
   11604 ExtendedIRQ 
   11605 resource macro was ignored.
   11606 
   11607 Simplified the interfaces to the internal division functions, reducing 
   11608 code 
   11609 size and complexity.
   11610 
   11611 Code and Data Size: Current and previous core subsystem library sizes are 
   11612 shown below. These are the code and data sizes for the acpica.lib 
   11613 produced 
   11614 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11615 any ACPI driver or OSPM code. The debug version of the code includes the 
   11616 debug output trace mechanism and has a much larger code and data size. 
   11617 Note 
   11618 that these values will vary depending on the efficiency of the compiler 
   11619 and 
   11620 the compiler options used during generation.
   11621 
   11622   Previous Release:
   11623     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   11624     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   11625   Current Release:
   11626     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   11627     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   11628 
   11629 
   11630 2) iASL Compiler/Disassembler:
   11631 
   11632 Implemented support for the ACPI 3.0 Timer operator.
   11633 
   11634 Fixed a problem where the Default() operator was inadvertently ignored in 
   11635 a 
   11636 Switch/Case block.  This was a problem in the translation of the Switch 
   11637 statement to If...Else pairs.
   11638 
   11639 Added support to allow a standalone Return operator, with no parentheses 
   11640 (or 
   11641 operands).
   11642 
   11643 Fixed a problem with code generation for the ElseIf operator where the 
   11644 translated Else...If parse tree was improperly constructed leading to the 
   11645 loss of some code.
   11646 
   11647 ----------------------------------------
   11648 22 September 2004.  Summary of changes for version 20040922:
   11649 
   11650 1) ACPI CA Core Subsystem:
   11651 
   11652 Fixed a problem with the implementation of the LNot() operator where 
   11653 "Ones" 
   11654 was not returned for the TRUE case. Changed the code to return Ones 
   11655 instead 
   11656 of (!Arg) which was usually 1. This change affects iASL constant folding 
   11657 for 
   11658 this operator also.
   11659 
   11660 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
   11661 not 
   11662 initialized properly -- Now zero the entire buffer in this case where the 
   11663 buffer already exists.
   11664 
   11665 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
   11666 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
   11667 related code considerably. This will require changes/updates to all OS 
   11668 interface layers (OSLs.)
   11669 
   11670 Implemented a new external interface, AcpiInstallExceptionHandler, to 
   11671 allow 
   11672 a system exception handler to be installed. This handler is invoked upon 
   11673 any 
   11674 run-time exception that occurs during control method execution.
   11675 
   11676 Added support for the DSDT in AcpiTbFindTable. This allows the 
   11677 DataTableRegion() operator to access the local copy of the DSDT.
   11678 
   11679 Code and Data Size: Current and previous core subsystem library sizes are 
   11680 shown below. These are the code and data sizes for the acpica.lib 
   11681 produced 
   11682 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11683 any ACPI driver or OSPM code. The debug version of the code includes the 
   11684 debug output trace mechanism and has a much larger code and data size. 
   11685 Note 
   11686 that these values will vary depending on the efficiency of the compiler 
   11687 and 
   11688 the compiler options used during generation.
   11689 
   11690   Previous Release:
   11691     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   11692     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   11693   Current Release:
   11694     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   11695     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   11696 
   11697 
   11698 2) iASL Compiler/Disassembler:
   11699 
   11700 Fixed a problem with constant folding and the LNot operator. LNot was 
   11701 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
   11702 This 
   11703 could result in the generation of an incorrect folded/reduced constant.
   11704 
   11705 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
   11706 longer occurs if such a comment is at the very end of the input ASL 
   11707 source 
   11708 file.
   11709 
   11710 Implemented the "-r" option to override the Revision in the table header. 
   11711 The initial use of this option will be to simplify the evaluation of the 
   11712 AML 
   11713 interpreter by allowing a single ASL source module to be compiled for 
   11714 either 
   11715 32-bit or 64-bit integers.
   11716 
   11717 
   11718 ----------------------------------------
   11719 27 August 2004.  Summary of changes for version 20040827:
   11720 
   11721 1) ACPI CA Core Subsystem:
   11722 
   11723 - Implemented support for implicit object conversion in the non-numeric 
   11724 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
   11725 and 
   11726 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
   11727 the second operand is implicitly converted on the fly to match the type 
   11728 of 
   11729 the first operand.  For example:
   11730 
   11731     LEqual (Source1, Source2)
   11732 
   11733 Source1 and Source2 must each evaluate to an integer, a string, or a 
   11734 buffer. 
   11735 The data type of Source1 dictates the required type of Source2. Source2 
   11736 is 
   11737 implicitly converted if necessary to match the type of Source1.
   11738 
   11739 - Updated and corrected the behavior of the string conversion support.  
   11740 The 
   11741 rules concerning conversion of buffers to strings (according to the ACPI 
   11742 specification) are as follows:
   11743 
   11744 ToDecimalString - explicit byte-wise conversion of buffer to string of 
   11745 decimal values (0-255) separated by commas. ToHexString - explicit byte-
   11746 wise 
   11747 conversion of buffer to string of hex values (0-FF) separated by commas. 
   11748 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
   11749 byte 
   11750 copy with no transform except NULL terminated. Any other implicit buffer-
   11751 to-
   11752 string conversion - byte-wise conversion of buffer to string of hex 
   11753 values 
   11754 (0-FF) separated by spaces.
   11755 
   11756 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
   11757 
   11758 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
   11759 was 
   11760 one byte too short in the case of a node in the root scope.  This could 
   11761 cause a fault during debug output.
   11762 
   11763 - Code and Data Size: Current and previous core subsystem library sizes 
   11764 are 
   11765 shown below.  These are the code and data sizes for the acpica.lib 
   11766 produced 
   11767 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11768 any ACPI driver or OSPM code.  The debug version of the code includes the 
   11769 debug output trace mechanism and has a much larger code and data size.  
   11770 Note 
   11771 that these values will vary depending on the efficiency of the compiler 
   11772 and 
   11773 the compiler options used during generation.
   11774 
   11775   Previous Release:
   11776     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   11777     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   11778   Current Release:
   11779     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   11780     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   11781 
   11782 
   11783 2) iASL Compiler/Disassembler:
   11784 
   11785 - Fixed a Linux generation error.
   11786 
   11787 
   11788 ----------------------------------------
   11789 16 August 2004.  Summary of changes for version 20040816:
   11790 
   11791 1) ACPI CA Core Subsystem:
   11792 
   11793 Designed and implemented support within the AML interpreter for the so-
   11794 called "implicit return".  This support returns the result of the last 
   11795 ASL 
   11796 operation within a control method, in the absence of an explicit Return() 
   11797 operator.  A few machines depend on this behavior, even though it is not 
   11798 explicitly supported by the ASL language.  It is optional support that 
   11799 can 
   11800 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
   11801 
   11802 Removed support for the PCI_Config address space from the internal low 
   11803 level 
   11804 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
   11805 support was not used internally, and would not work correctly anyway 
   11806 because 
   11807 the PCI bus number and segment number were not supported.  There are 
   11808 separate interfaces for PCI configuration space access because of the 
   11809 unique 
   11810 interface.
   11811 
   11812 Code and Data Size: Current and previous core subsystem library sizes are 
   11813 shown below.  These are the code and data sizes for the acpica.lib 
   11814 produced 
   11815 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11816 any ACPI driver or OSPM code.  The debug version of the code includes the 
   11817 debug output trace mechanism and has a much larger code and data size.  
   11818 Note 
   11819 that these values will vary depending on the efficiency of the compiler 
   11820 and 
   11821 the compiler options used during generation.
   11822 
   11823   Previous Release:
   11824     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   11825     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   11826   Current Release:
   11827     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   11828     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   11829 
   11830 
   11831 2) iASL Compiler/Disassembler:
   11832 
   11833 Fixed a problem where constants in ASL expressions at the root level (not 
   11834 within a control method) could be inadvertently truncated during code 
   11835 generation.  This problem was introduced in the 20040715 release.
   11836 
   11837 
   11838 ----------------------------------------
   11839 15 July 2004.  Summary of changes for version 20040715:
   11840 
   11841 1) ACPI CA Core Subsystem:
   11842 
   11843 Restructured the internal HW GPE interfaces to pass/track the current 
   11844 state 
   11845 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
   11846 increase flexibility of the interfaces.
   11847 
   11848 Implemented a "lexicographical compare" for String and Buffer objects 
   11849 within 
   11850 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
   11851 - 
   11852 as per further clarification to the ACPI specification.  Behavior is 
   11853 similar 
   11854 to C library "strcmp".
   11855 
   11856 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
   11857 external function.  In the 32-bit non-debug case, the stack use has been 
   11858 reduced from 168 bytes to 32 bytes.
   11859 
   11860 Deployed a new run-time configuration flag, 
   11861 AcpiGbl_EnableInterpreterSlack, 
   11862 whose purpose is to allow the AML interpreter to forgive certain bad AML 
   11863 constructs.  Default setting is FALSE.
   11864 
   11865 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
   11866 IO 
   11867 support code.  If enabled, it allows field access to go beyond the end of 
   11868 a 
   11869 region definition if the field is within the region length rounded up to 
   11870 the 
   11871 next access width boundary (a common coding error.)
   11872 
   11873 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
   11874 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
   11875 these 
   11876 symbols are lowercased by the latest version of the AcpiSrc tool.
   11877 
   11878 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
   11879 rename "Register" to simply "Reg" to prevent certain compilers from 
   11880 complaining.
   11881 
   11882 Code and Data Size: Current and previous core subsystem library sizes are 
   11883 shown below.  These are the code and data sizes for the acpica.lib 
   11884 produced 
   11885 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11886 any ACPI driver or OSPM code.  The debug version of the code includes the 
   11887 debug output trace mechanism and has a much larger code and data size.  
   11888 Note 
   11889 that these values will vary depending on the efficiency of the compiler 
   11890 and 
   11891 the compiler options used during generation.
   11892 
   11893   Previous Release:
   11894     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   11895     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   11896   Current Release:
   11897     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   11898     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   11899 
   11900 
   11901 2) iASL Compiler/Disassembler:
   11902 
   11903 Implemented full support for Package objects within the Case() operator.  
   11904 Note: The Break() operator is currently not supported within Case blocks 
   11905 (TermLists) as there is some question about backward compatibility with 
   11906 ACPI 
   11907 1.0 interpreters.
   11908 
   11909 
   11910 Fixed a problem where complex terms were not supported properly within 
   11911 the 
   11912 Switch() operator.
   11913 
   11914 Eliminated extraneous warning for compiler-emitted reserved names of the 
   11915 form "_T_x".  (Used in Switch/Case operators.)
   11916 
   11917 Eliminated optimization messages for "_T_x" objects and small constants 
   11918 within the DefinitionBlock operator.
   11919 
   11920 
   11921 ----------------------------------------
   11922 15 June 2004.  Summary of changes for version 20040615:
   11923 
   11924 1) ACPI CA Core Subsystem:
   11925 
   11926 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   11927 the 
   11928 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   11929 LLessEqual.
   11930 
   11931 All directory names in the entire source package are lower case, as they 
   11932 were in earlier releases.
   11933 
   11934 Implemented "Disassemble" command in the AML debugger that will 
   11935 disassemble 
   11936 a single control method.
   11937 
   11938 Code and Data Size: Current and previous core subsystem library sizes are 
   11939 shown below.  These are the code and data sizes for the acpica.lib 
   11940 produced 
   11941 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11942 any ACPI driver or OSPM code.  The debug version of the code includes the 
   11943 debug output trace mechanism and has a much larger code and data size.  
   11944 Note 
   11945 that these values will vary depending on the efficiency of the compiler 
   11946 and 
   11947 the compiler options used during generation.
   11948 
   11949   Previous Release:
   11950     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   11951     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   11952 
   11953   Current Release:
   11954     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   11955     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   11956 
   11957 
   11958 2) iASL Compiler/Disassembler:
   11959 
   11960 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   11961 the 
   11962 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   11963 LLessEqual.
   11964 
   11965 All directory names in the entire source package are lower case, as they 
   11966 were in earlier releases.
   11967 
   11968 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
   11969 not found.
   11970 
   11971 Fixed an issue with the Windows version of the compiler where later 
   11972 versions 
   11973 of Windows place the FADT in the registry under the name "FADT" and not 
   11974 "FACP" as earlier versions did.  This applies when using the -g or -
   11975 d<nofilename> options.  The compiler now looks for both strings as 
   11976 necessary.
   11977 
   11978 Fixed a problem with compiler namepath optimization where a namepath 
   11979 within 
   11980 the Scope() operator could not be optimized if the namepath was a subpath 
   11981 of 
   11982 the current scope path.
   11983 
   11984 ----------------------------------------
   11985 27 May 2004.  Summary of changes for version 20040527:
   11986 
   11987 1) ACPI CA Core Subsystem:
   11988 
   11989 Completed a new design and implementation for EBDA (Extended BIOS Data 
   11990 Area) 
   11991 support in the RSDP scan code.  The original code improperly scanned for 
   11992 the 
   11993 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
   11994 method 
   11995 is to first obtain the EBDA pointer from within the BIOS data area, then 
   11996 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
   11997 if 
   11998 any machines that place the RSDP in the EBDA, however.
   11999 
   12000 Integrated a fix for a possible fault during evaluation of BufferField 
   12001 arguments.  Obsolete code that was causing the problem was removed.
   12002 
   12003 Found and fixed a problem in the Field Support Code where data could be 
   12004 corrupted on a bit field read that starts on an aligned boundary but does 
   12005 not end on an aligned boundary.  Merged the read/write "datum length" 
   12006 calculation code into a common procedure.
   12007 
   12008 Rolled in a couple of changes to the FreeBSD-specific header.
   12009 
   12010 
   12011 Code and Data Size: Current and previous core subsystem library sizes are 
   12012 shown below.  These are the code and data sizes for the acpica.lib 
   12013 produced 
   12014 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12015 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12016 debug output trace mechanism and has a much larger code and data size.  
   12017 Note 
   12018 that these values will vary depending on the efficiency of the compiler 
   12019 and 
   12020 the compiler options used during generation.
   12021 
   12022   Previous Release:
   12023     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   12024     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   12025   Current Release:
   12026     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   12027     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   12028 
   12029 
   12030 2) iASL Compiler/Disassembler:
   12031 
   12032 Fixed a generation warning produced by some overly-verbose compilers for 
   12033 a 
   12034 64-bit constant.
   12035 
   12036 ----------------------------------------
   12037 14 May 2004.  Summary of changes for version 20040514:
   12038 
   12039 1) ACPI CA Core Subsystem:
   12040 
   12041 Fixed a problem where hardware GPE enable bits sometimes not set properly 
   12042 during and after GPE method execution.  Result of 04/27 changes.
   12043 
   12044 Removed extra "clear all GPEs" when sleeping/waking.
   12045 
   12046 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
   12047 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
   12048 to 
   12049 the new AcpiEv* calls as appropriate.
   12050 
   12051 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
   12052 is 
   12053 now "Microsoft Windows NT" for maximum compatibility.  However this can 
   12054 be 
   12055 changed by modifying the acconfig.h file.
   12056 
   12057 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
   12058 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
   12059 
   12060 Run _INI methods on ThermalZone objects.  This is against the ACPI 
   12061 specification, but there is apparently ASL code in the field that has 
   12062 these 
   12063 _INI methods, and apparently "other" AML interpreters execute them.
   12064 
   12065 Performed a full 16/32/64 bit lint that resulted in some small changes.
   12066 
   12067 Added a sleep simulation command to the AML debugger to test sleep code. 
   12068 
   12069 Code and Data Size: Current and previous core subsystem library sizes are 
   12070 shown below.  These are the code and data sizes for the acpica.lib 
   12071 produced 
   12072 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12073 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12074 debug output trace mechanism and has a much larger code and data size.  
   12075 Note 
   12076 that these values will vary depending on the efficiency of the compiler 
   12077 and 
   12078 the compiler options used during generation.
   12079 
   12080   Previous Release:
   12081     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   12082     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   12083   Current Release:
   12084     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   12085     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   12086 
   12087 ----------------------------------------
   12088 27 April 2004.  Summary of changes for version 20040427:
   12089 
   12090 1) ACPI CA Core Subsystem:
   12091 
   12092 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
   12093 now three types of GPEs:  wake-only, runtime-only, and combination 
   12094 wake/run.  
   12095 The only GPEs allowed to be combination wake/run are for button-style 
   12096 devices such as a control-method power button, control-method sleep 
   12097 button, 
   12098 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
   12099 not 
   12100 referenced by any _PRW methods are marked for "runtime" and hardware 
   12101 enabled.  Any GPE that is referenced by a _PRW method is marked for 
   12102 "wake" 
   12103 (and disabled at runtime).  However, at sleep time, only those GPEs that 
   12104 have been specifically enabled for wake via the AcpiEnableGpe interface 
   12105 will 
   12106 actually be hardware enabled.
   12107 
   12108 A new external interface has been added, AcpiSetGpeType(), that is meant 
   12109 to 
   12110 be used by device drivers to force a GPE to a particular type.  It will 
   12111 be 
   12112 especially useful for the drivers for the button devices mentioned above.
   12113 
   12114 Completed restructuring of the ACPI CA initialization sequence so that 
   12115 default operation region handlers are installed before GPEs are 
   12116 initialized 
   12117 and the _PRW methods are executed.  This will prevent errors when the 
   12118 _PRW 
   12119 methods attempt to access system memory or I/O space.
   12120 
   12121 GPE enable/disable no longer reads the GPE enable register.  We now keep 
   12122 the 
   12123 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
   12124 thus no longer depend on the hardware to maintain these bits.
   12125 
   12126 Always clear the wake status and fixed/GPE status bits before sleep, even 
   12127 for state S5.
   12128 
   12129 Improved the AML debugger output for displaying the GPE blocks and their 
   12130 current status.
   12131 
   12132 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
   12133 where 
   12134 x = 0,1,2,3,4.
   12135 
   12136 Fixed a problem where the physical address was incorrectly calculated 
   12137 when 
   12138 the Load() operator was used to directly load from an Operation Region 
   12139 (vs. 
   12140 loading from a Field object.)  Also added check for minimum table length 
   12141 for 
   12142 this case.
   12143 
   12144 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
   12145 mutex release.
   12146 
   12147 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
   12148 consistency with the other fields returned.
   12149 
   12150 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
   12151 structure for each GPE in the system, so the size of this structure is 
   12152 important.
   12153 
   12154 CPU stack requirement reduction:  Cleaned up the method execution and 
   12155 object 
   12156 evaluation paths so that now a parameter structure is passed, instead of 
   12157 copying the various method parameters over and over again.
   12158 
   12159 In evregion.c:  Correctly exit and reenter the interpreter region if and 
   12160 only if dispatching an operation region request to a user-installed 
   12161 handler.  
   12162 Do not exit/reenter when dispatching to a default handler (e.g., default 
   12163 system memory or I/O handlers)
   12164 
   12165 
   12166 Notes for updating drivers for the new GPE support.  The following 
   12167 changes 
   12168 must be made to ACPI-related device drivers that are attached to one or 
   12169 more 
   12170 GPEs: (This information will be added to the ACPI CA Programmer 
   12171 Reference.)
   12172 
   12173 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
   12174 must 
   12175 explicitly call AcpiEnableGpe.
   12176 2) There is a new interface called AcpiSetGpeType. This should be called 
   12177 before enabling the GPE.  Also, this interface will automatically disable 
   12178 the GPE if it is currently enabled.
   12179 3) AcpiEnableGpe no longer supports a GPE type flag.
   12180 
   12181 Specific drivers that must be changed:
   12182 1) EC driver:
   12183     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
   12184 AeGpeHandler, NULL);
   12185     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
   12186     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
   12187 
   12188 2) Button Drivers (Power, Lid, Sleep):
   12189 Run _PRW method under parent device
   12190 If _PRW exists: /* This is a control-method button */
   12191     Extract GPE number and possibly GpeDevice
   12192     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
   12193     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
   12194 
   12195 For all other devices that have _PRWs, we automatically set the GPE type 
   12196 to 
   12197 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
   12198 This 
   12199 must be done on a selective basis, usually requiring some kind of user 
   12200 app 
   12201 to allow the user to pick the wake devices.
   12202 
   12203 
   12204 Code and Data Size: Current and previous core subsystem library sizes are 
   12205 shown below.  These are the code and data sizes for the acpica.lib 
   12206 produced 
   12207 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12208 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12209 debug output trace mechanism and has a much larger code and data size.  
   12210 Note 
   12211 that these values will vary depending on the efficiency of the compiler 
   12212 and 
   12213 the compiler options used during generation.
   12214 
   12215   Previous Release:
   12216     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   12217     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   12218   Current Release:
   12219 
   12220     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   12221     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   12222 
   12223 
   12224 
   12225 ----------------------------------------
   12226 02 April 2004.  Summary of changes for version 20040402:
   12227 
   12228 1) ACPI CA Core Subsystem:
   12229 
   12230 Fixed an interpreter problem where an indirect store through an ArgX 
   12231 parameter was incorrectly applying the "implicit conversion rules" during 
   12232 the store.  From the ACPI specification: "If the target is a method local 
   12233 or 
   12234 argument (LocalX or ArgX), no conversion is performed and the result is 
   12235 stored directly to the target".  The new behavior is to disable implicit 
   12236 conversion during ALL stores to an ArgX.
   12237 
   12238 Changed the behavior of the _PRW method scan to ignore any and all errors 
   12239 returned by a given _PRW.  This prevents the scan from aborting from the 
   12240 failure of any single _PRW.
   12241 
   12242 Moved the runtime configuration parameters from the global init procedure 
   12243 to 
   12244 static variables in acglobal.h.  This will allow the host to override the 
   12245 default values easily.
   12246 
   12247 Code and Data Size: Current and previous core subsystem library sizes are 
   12248 shown below.  These are the code and data sizes for the acpica.lib 
   12249 produced 
   12250 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12251 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12252 debug output trace mechanism and has a much larger code and data size.  
   12253 Note 
   12254 that these values will vary depending on the efficiency of the compiler 
   12255 and 
   12256 the compiler options used during generation.
   12257 
   12258   Previous Release:
   12259     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   12260     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   12261   Current Release:
   12262     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   12263     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   12264 
   12265 
   12266 2) iASL Compiler/Disassembler:
   12267 
   12268 iASL now fully disassembles SSDTs.  However, External() statements are 
   12269 not 
   12270 generated automatically for unresolved symbols at this time.  This is a 
   12271 planned feature for future implementation.
   12272 
   12273 Fixed a scoping problem in the disassembler that occurs when the type of 
   12274 the 
   12275 target of a Scope() operator is overridden.  This problem caused an 
   12276 incorrectly nested internal namespace to be constructed.
   12277 
   12278 Any warnings or errors that are emitted during disassembly are now 
   12279 commented 
   12280 out automatically so that the resulting file can be recompiled without 
   12281 any 
   12282 hand editing.
   12283 
   12284 ----------------------------------------
   12285 26 March 2004.  Summary of changes for version 20040326:
   12286 
   12287 1) ACPI CA Core Subsystem:
   12288 
   12289 Implemented support for "wake" GPEs via interaction between GPEs and the 
   12290 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
   12291 identified as a WAKE GPE and by default will no longer be enabled at 
   12292 runtime.  Previously, we were blindly enabling all GPEs with a 
   12293 corresponding 
   12294 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
   12295 We 
   12296 believe this has been the cause of thousands of "spurious" GPEs on some 
   12297 systems.
   12298 
   12299 This new GPE behavior is can be reverted to the original behavior (enable 
   12300 ALL GPEs at runtime) via a runtime flag.
   12301 
   12302 Fixed a problem where aliased control methods could not access objects 
   12303 properly.  The proper scope within the namespace was not initialized 
   12304 (transferred to the target of the aliased method) before executing the 
   12305 target method.
   12306 
   12307 Fixed a potential race condition on internal object deletion on the 
   12308 return 
   12309 object in AcpiEvaluateObject. 
   12310 
   12311 Integrated a fix for resource descriptors where both _MEM and _MTP were 
   12312 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
   12313 wide, 0x0F instead of 0x03.)
   12314 
   12315 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
   12316 preventing 
   12317 a 
   12318 fault in some cases.
   12319 
   12320 Updated Notify() values for debug statements in evmisc.c
   12321 
   12322 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
   12323 
   12324 Code and Data Size: Current and previous core subsystem library sizes are 
   12325 shown below.  These are the code and data sizes for the acpica.lib 
   12326 produced 
   12327 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12328 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12329 debug output trace mechanism and has a much larger code and data size.  
   12330 Note 
   12331 that these values will vary depending on the efficiency of the compiler 
   12332 and 
   12333 the compiler options used during generation.
   12334 
   12335   Previous Release:
   12336 
   12337     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   12338     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   12339   Current Release:
   12340     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   12341     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   12342 
   12343 ----------------------------------------
   12344 11 March 2004.  Summary of changes for version 20040311:
   12345 
   12346 1) ACPI CA Core Subsystem:
   12347 
   12348 Fixed a problem where errors occurring during the parse phase of control 
   12349 method execution did not abort cleanly.  For example, objects created and 
   12350 installed in the namespace were not deleted.  This caused all subsequent 
   12351 invocations of the method to return the AE_ALREADY_EXISTS exception.
   12352 
   12353 Implemented a mechanism to force a control method to "Serialized" 
   12354 execution 
   12355 if the method attempts to create namespace objects. (The root of the 
   12356 AE_ALREADY_EXISTS problem.)
   12357 
   12358 Implemented support for the predefined _OSI "internal" control method.  
   12359 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
   12360 and 
   12361 "Windows 2001.1", and can be easily upgraded for new strings as 
   12362 necessary.  
   12363 This feature will allow "other" operating systems to execute the fully 
   12364 tested, "Windows" code path through the ASL code
   12365 
   12366 Global Lock Support:  Now allows multiple acquires and releases with any 
   12367 internal thread.  Removed concept of "owning thread" for this special 
   12368 mutex.
   12369 
   12370 Fixed two functions that were inappropriately declaring large objects on 
   12371 the 
   12372 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
   12373 during 
   12374 method execution considerably.
   12375 
   12376 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
   12377 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
   12378 
   12379 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
   12380 defined on the machine.
   12381 
   12382 Implemented two runtime options:  One to force all control method 
   12383 execution 
   12384 to "Serialized" to mimic Windows behavior, another to disable _OSI 
   12385 support 
   12386 if it causes problems on a given machine.
   12387 
   12388 Code and Data Size: Current and previous core subsystem library sizes are 
   12389 shown below.  These are the code and data sizes for the acpica.lib 
   12390 produced 
   12391 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12392 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12393 debug output trace mechanism and has a much larger code and data size.  
   12394 Note 
   12395 that these values will vary depending on the efficiency of the compiler 
   12396 and 
   12397 the compiler options used during generation.
   12398 
   12399   Previous Release:
   12400     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   12401     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   12402   Current Release:
   12403     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   12404     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   12405 
   12406 2) iASL Compiler/Disassembler:
   12407 
   12408 Fixed an array size problem for FreeBSD that would cause the compiler to 
   12409 fault.
   12410 
   12411 ----------------------------------------
   12412 20 February 2004.  Summary of changes for version 20040220:
   12413 
   12414 
   12415 1) ACPI CA Core Subsystem:
   12416 
   12417 Implemented execution of _SxD methods for Device objects in the 
   12418 GetObjectInfo interface.
   12419 
   12420 Fixed calls to _SST method to pass the correct arguments.
   12421 
   12422 Added a call to _SST on wake to restore to "working" state.
   12423 
   12424 Check for End-Of-Buffer failure case in the WalkResources interface.
   12425 
   12426 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
   12427 structures to the beginning of the file.
   12428 
   12429 After wake, clear GPE status register(s) before enabling GPEs.
   12430 
   12431 After wake, clear/enable power button.  (Perhaps we should clear/enable 
   12432 all 
   12433 fixed events upon wake.)
   12434 
   12435 Fixed a couple of possible memory leaks in the Namespace manager.
   12436 
   12437 Integrated latest acnetbsd.h file.
   12438 
   12439 ----------------------------------------
   12440 11 February 2004.  Summary of changes for version 20040211:
   12441 
   12442 
   12443 1) ACPI CA Core Subsystem:
   12444 
   12445 Completed investigation and implementation of the call-by-reference 
   12446 mechanism for control method arguments.
   12447 
   12448 Fixed a problem where a store of an object into an indexed package could 
   12449 fail if the store occurs within a different method than the method that 
   12450 created the package.
   12451 
   12452 Fixed a problem where the ToDecimal operator could return incorrect 
   12453 results.
   12454 
   12455 Fixed a problem where the CopyObject operator could fail on some of the 
   12456 more 
   12457 obscure objects (e.g., Reference objects.)
   12458 
   12459 Improved the output of the Debug object to display buffer, package, and 
   12460 index objects.
   12461 
   12462 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
   12463 return 
   12464 the expected result.
   12465 
   12466 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
   12467 ACPI_AML_INTERNAL exception.
   12468 
   12469 Integrated latest version of acfreebsd.h
   12470 
   12471 ----------------------------------------
   12472 16 January 2004.  Summary of changes for version 20040116:
   12473 
   12474 The purpose of this release is primarily to update the copyright years in 
   12475 each module, thus causing a huge number of diffs.  There are a few small 
   12476 functional changes, however.
   12477 
   12478 1) ACPI CA Core Subsystem:
   12479 
   12480 Improved error messages when there is a problem finding one or more of 
   12481 the 
   12482 required base ACPI tables
   12483 
   12484 Reintroduced the definition of APIC_HEADER in actbl.h
   12485 
   12486 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
   12487 
   12488 Removed extraneous reference to NewObj in dsmthdat.c
   12489 
   12490 2) iASL compiler
   12491 
   12492 Fixed a problem introduced in December that disabled the correct 
   12493 disassembly 
   12494 of Resource Templates
   12495 
   12496 
   12497 ----------------------------------------
   12498 03 December 2003.  Summary of changes for version 20031203:
   12499 
   12500 1) ACPI CA Core Subsystem:
   12501 
   12502 Changed the initialization of Operation Regions during subsystem
   12503 init to perform two entire walks of the ACPI namespace; The first
   12504 to initialize the regions themselves, the second to execute the
   12505 _REG methods.  This fixed some interdependencies across _REG
   12506 methods found on some machines.
   12507 
   12508 Fixed a problem where a Store(Local0, Local1) could simply update
   12509 the object reference count, and not create a new copy of the
   12510 object if the Local1 is uninitialized.
   12511 
   12512 Implemented support for the _SST reserved method during sleep
   12513 transitions.
   12514 
   12515 Implemented support to clear the SLP_TYP and SLP_EN bits when
   12516 waking up, this is apparently required by some machines.
   12517 
   12518 When sleeping, clear the wake status only if SleepState is not S5.
   12519 
   12520 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
   12521 pointer arithmetic advanced a string pointer too far.
   12522 
   12523 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
   12524 could be returned if the requested table has not been loaded.
   12525 
   12526 Within the support for IRQ resources, restructured the handling of
   12527 the active and edge/level bits.
   12528 
   12529 Fixed a few problems in AcpiPsxExecute() where memory could be
   12530 leaked under certain error conditions.
   12531 
   12532 Improved error messages for the cases where the ACPI mode could
   12533 not be entered.
   12534 
   12535 Code and Data Size: Current and previous core subsystem library
   12536 sizes are shown below.  These are the code and data sizes for the
   12537 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   12538 these values do not include any ACPI driver or OSPM code.  The
   12539 debug version of the code includes the debug output trace
   12540 mechanism and has a much larger code and data size.  Note that
   12541 these values will vary depending on the efficiency of the compiler
   12542 and the compiler options used during generation.
   12543 
   12544   Previous Release (20031029):
   12545     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   12546     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   12547   Current Release:
   12548     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   12549     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   12550 
   12551 2) iASL Compiler/Disassembler:
   12552 
   12553 Implemented a fix for the iASL disassembler where a bad index was
   12554 generated.  This was most noticeable on 64-bit platforms
   12555 
   12556 
   12557 ----------------------------------------
   12558 29 October 2003.  Summary of changes for version 20031029:
   12559 
   12560 1) ACPI CA Core Subsystem:
   12561 
   12562 
   12563 Fixed a problem where a level-triggered GPE with an associated
   12564 _Lxx control method was incorrectly cleared twice.
   12565 
   12566 Fixed a problem with the Field support code where an access can
   12567 occur beyond the end-of-region if the field is non-aligned but
   12568 extends to the very end of the parent region (resulted in an
   12569 AE_AML_REGION_LIMIT exception.)
   12570 
   12571 Fixed a problem with ACPI Fixed Events where an RT Clock handler
   12572 would not get invoked on an RTC event.  The RTC event bitmasks for
   12573 the PM1 registers were not being initialized properly.
   12574 
   12575 Implemented support for executing _STA and _INI methods for
   12576 Processor objects.  Although this is currently not part of the
   12577 ACPI specification, there is existing ASL code that depends on the
   12578 init-time execution of these methods.
   12579 
   12580 Implemented and deployed a GetDescriptorName function to decode
   12581 the various types of internal descriptors.  Guards against null
   12582 descriptors during debug output also.
   12583 
   12584 Implemented and deployed a GetNodeName function to extract the 4-
   12585 character namespace node name.  This function simplifies the debug
   12586 and error output, as well as guarding against null pointers during
   12587 output.
   12588 
   12589 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
   12590 simplify the debug and error output of 64-bit integers.  This
   12591 macro replaces the HIDWORD and LODWORD macros for dumping these
   12592 integers.
   12593 
   12594 Updated the implementation of the Stall() operator to only call
   12595 AcpiOsStall(), and also return an error if the operand is larger
   12596 than 255.  This preserves the required behavior of not
   12597 relinquishing the processor, as would happen if AcpiOsSleep() was
   12598 called for "long stalls".
   12599 
   12600 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
   12601 initialized are now treated as NOOPs.
   12602 
   12603 Cleaned up a handful of warnings during 64-bit generation.
   12604 
   12605 Fixed a reported error where and incorrect GPE number was passed
   12606 to the GPE dispatch handler.  This value is only used for error
   12607 output, however.  Used this opportunity to clean up and streamline
   12608 the GPE dispatch code.
   12609 
   12610 Code and Data Size: Current and previous core subsystem library
   12611 sizes are shown below.  These are the code and data sizes for the
   12612 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   12613 these values do not include any ACPI driver or OSPM code.  The
   12614 
   12615 debug version of the code includes the debug output trace
   12616 mechanism and has a much larger code and data size.  Note that
   12617 these values will vary depending on the efficiency of the compiler
   12618 and the compiler options used during generation.
   12619 
   12620   Previous Release (20031002):
   12621     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   12622     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   12623   Current Release:
   12624     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   12625     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   12626 
   12627 
   12628 2) iASL Compiler/Disassembler:
   12629 
   12630 Updated the iASL compiler to return an error if the operand to the
   12631 Stall() operator is larger than 255.
   12632 
   12633 
   12634 ----------------------------------------
   12635 02 October 2003.  Summary of changes for version 20031002:
   12636 
   12637 
   12638 1) ACPI CA Core Subsystem:
   12639 
   12640 Fixed a problem with Index Fields where the index was not
   12641 incremented for fields that require multiple writes to the
   12642 index/data registers (Fields that are wider than the data
   12643 register.)
   12644 
   12645 Fixed a problem with all Field objects where a write could go
   12646 beyond the end-of-field if the field was larger than the access
   12647 granularity and therefore required multiple writes to complete the
   12648 request.  An extra write beyond the end of the field could happen
   12649 inadvertently.
   12650 
   12651 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
   12652 would incorrectly be returned if the width of the Data Register
   12653 was larger than the specified field access width.
   12654 
   12655 Completed fixes for LoadTable() and Unload() and verified their
   12656 operation.  Implemented full support for the "DdbHandle" object
   12657 throughout the ACPI CA subsystem.
   12658 
   12659 Implemented full support for the MADT and ECDT tables in the ACPI
   12660 CA header files.  Even though these tables are not directly
   12661 consumed by ACPI CA, the header definitions are useful for ACPI
   12662 device drivers.
   12663 
   12664 Integrated resource descriptor fixes posted to the Linux ACPI
   12665 list.  This included checks for minimum descriptor length, and
   12666 support for trailing NULL strings within descriptors that have
   12667 optional string elements.
   12668 
   12669 Code and Data Size: Current and previous core subsystem library
   12670 sizes are shown below.  These are the code and data sizes for the
   12671 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   12672 these values do not include any ACPI driver or OSPM code.  The
   12673 debug version of the code includes the debug output trace
   12674 mechanism and has a much larger code and data size.  Note that
   12675 these values will vary depending on the efficiency of the compiler
   12676 and the compiler options used during generation.
   12677 
   12678   Previous Release (20030918):
   12679     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   12680     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   12681   Current Release:
   12682     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   12683     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   12684 
   12685 
   12686 2) iASL Compiler:
   12687 
   12688 Implemented detection of non-ASCII characters within the input
   12689 source ASL file.  This catches attempts to compile binary (AML)
   12690 files early in the compile, with an informative error message.
   12691 
   12692 Fixed a problem where the disassembler would fault if the output
   12693 filename could not be generated or if the output file could not be
   12694 opened.
   12695 
   12696 ----------------------------------------
   12697 18 September 2003.  Summary of changes for version 20030918:
   12698 
   12699 
   12700 1) ACPI CA Core Subsystem:
   12701 
   12702 Found and fixed a longstanding problem with the late execution of
   12703 the various deferred AML opcodes (such as Operation Regions,
   12704 Buffer Fields, Buffers, and Packages).  If the name string
   12705 specified for the name of the new object placed the object in a
   12706 scope other than the current scope, the initialization/execution
   12707 of the opcode failed.  The solution to this problem was to
   12708 implement a mechanism where the late execution of such opcodes
   12709 does not attempt to lookup/create the name a second time in an
   12710 incorrect scope.  This fixes the "region size computed
   12711 incorrectly" problem.
   12712 
   12713 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
   12714 Global Lock AE_BAD_PARAMETER error.
   12715 
   12716 Fixed several 64-bit issues with prototypes, casting and data
   12717 types.
   12718 
   12719 Removed duplicate prototype from acdisasm.h
   12720 
   12721 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
   12722 
   12723 Code and Data Size: Current and previous core subsystem library
   12724 sizes are shown below.  These are the code and data sizes for the
   12725 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   12726 these values do not include any ACPI driver or OSPM code.  The
   12727 debug version of the code includes the debug output trace
   12728 mechanism and has a much larger code and data size.  Note that
   12729 these values will vary depending on the efficiency of the compiler
   12730 and the compiler options used during generation.
   12731 
   12732   Previous Release:
   12733 
   12734     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   12735     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   12736   Current Release:
   12737     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   12738     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   12739 
   12740 
   12741 2) Linux:
   12742 
   12743 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
   12744 correct sleep time in seconds.
   12745 
   12746 ----------------------------------------
   12747 14 July 2003.  Summary of changes for version 20030619:
   12748 
   12749 1) ACPI CA Core Subsystem:
   12750 
   12751 Parse SSDTs in order discovered, as opposed to reverse order
   12752 (Hrvoje Habjanic)
   12753 
   12754 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
   12755 Klausner,
   12756    Nate Lawson)
   12757 
   12758 
   12759 2) Linux:
   12760 
   12761 Dynamically allocate SDT list (suggested by Andi Kleen)
   12762 
   12763 proc function return value cleanups (Andi Kleen)
   12764 
   12765 Correctly handle NMI watchdog during long stalls (Andrew Morton)
   12766 
   12767 Make it so acpismp=force works (reported by Andrew Morton)
   12768 
   12769 
   12770 ----------------------------------------
   12771 19 June 2003.  Summary of changes for version 20030619:
   12772 
   12773 1) ACPI CA Core Subsystem:
   12774 
   12775 Fix To/FromBCD, eliminating the need for an arch-specific #define.
   12776 
   12777 Do not acquire a semaphore in the S5 shutdown path.
   12778 
   12779 Fix ex_digits_needed for 0. (Takayoshi Kochi)
   12780 
   12781 Fix sleep/stall code reversal. (Andi Kleen)
   12782 
   12783 Revert a change having to do with control method calling
   12784 semantics.
   12785 
   12786 2) Linux:
   12787 
   12788 acpiphp update (Takayoshi Kochi)
   12789 
   12790 Export acpi_disabled for sonypi (Stelian Pop)
   12791 
   12792 Mention acpismp=force in config help
   12793 
   12794 Re-add acpitable.c and acpismp=force. This improves backwards
   12795 
   12796 compatibility and also cleans up the code to a significant degree.
   12797 
   12798 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
   12799 
   12800 ----------------------------------------
   12801 22 May 2003.  Summary of changes for version 20030522:
   12802 
   12803 1) ACPI CA Core Subsystem:
   12804 
   12805 Found and fixed a reported problem where an AE_NOT_FOUND error
   12806 occurred occasionally during _BST evaluation.  This turned out to
   12807 be an Owner ID allocation issue where a called method did not get
   12808 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
   12809 ID UINT16 would wraparound so that the ID would be the same as the
   12810 caller's and the called method would delete the caller's
   12811 namespace.
   12812 
   12813 Implemented extended error reporting for control methods that are
   12814 aborted due to a run-time exception.  Output includes the exact
   12815 AML instruction that caused the method abort, a dump of the method
   12816 locals and arguments at the time of the abort, and a trace of all
   12817 nested control method calls.
   12818 
   12819 Modified the interpreter to allow the creation of buffers of zero
   12820 length from the AML code. Implemented new code to ensure that no
   12821 attempt is made to actually allocate a memory buffer (of length
   12822 zero) - instead, a simple buffer object with a NULL buffer pointer
   12823 and length zero is created.  A warning is no longer issued when
   12824 the AML attempts to create a zero-length buffer.
   12825 
   12826 Implemented a workaround for the "leading asterisk issue" in
   12827 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
   12828 asterisk is automatically removed if present in any HID, UID, or
   12829 CID strings.  The iASL compiler will still flag this asterisk as
   12830 an error, however.
   12831 
   12832 Implemented full support for _CID methods that return a package of
   12833 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
   12834 now additionally returns a device _CID list if present.  This
   12835 required a change to the external interface in order to pass an
   12836 ACPI_BUFFER object as a parameter since the _CID list is of
   12837 variable length.
   12838 
   12839 Fixed a problem with the new AE_SAME_HANDLER exception where
   12840 handler initialization code did not know about this exception.
   12841 
   12842 Code and Data Size: Current and previous core subsystem library
   12843 sizes are shown below.  These are the code and data sizes for the
   12844 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   12845 these values do not include any ACPI driver or OSPM code.  The
   12846 debug version of the code includes the debug output trace
   12847 mechanism and has a much larger code and data size.  Note that
   12848 these values will vary depending on the efficiency of the compiler
   12849 and the compiler options used during generation.
   12850 
   12851   Previous Release (20030509):
   12852     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   12853     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   12854   Current Release:
   12855     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   12856     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   12857 
   12858 
   12859 2) Linux:
   12860 
   12861 Fixed a bug in which we would reinitialize the ACPI interrupt
   12862 after it was already working, thus disabling all ACPI and the IRQs
   12863 for any other device sharing the interrupt. (Thanks to Stian
   12864 Jordet)
   12865 
   12866 Toshiba driver update (John Belmonte)
   12867 
   12868 Return only 0 or 1 for our interrupt handler status (Andrew
   12869 Morton)
   12870 
   12871 
   12872 3) iASL Compiler:
   12873 
   12874 Fixed a reported problem where multiple (nested) ElseIf()
   12875 statements were not handled correctly by the compiler, resulting
   12876 in incorrect warnings and incorrect AML code.  This was a problem
   12877 in both the ASL parser and the code generator.
   12878 
   12879 
   12880 4) Documentation:
   12881 
   12882 Added changes to existing interfaces, new exception codes, and new
   12883 text concerning reference count object management versus garbage
   12884 collection.
   12885 
   12886 ----------------------------------------
   12887 09 May 2003.  Summary of changes for version 20030509.
   12888 
   12889 
   12890 1) ACPI CA Core Subsystem:
   12891 
   12892 Changed the subsystem initialization sequence to hold off
   12893 installation of address space handlers until the hardware has been
   12894 initialized and the system has entered ACPI mode.  This is because
   12895 the installation of space handlers can cause _REG methods to be
   12896 run.  Previously, the _REG methods could potentially be run before
   12897 ACPI mode was enabled.
   12898 
   12899 Fixed some memory leak issues related to address space handler and
   12900 notify handler installation.  There were some problems with the
   12901 reference count mechanism caused by the fact that the handler
   12902 objects are shared across several namespace objects.
   12903 
   12904 Fixed a reported problem where reference counts within the
   12905 namespace were not properly updated when named objects created by
   12906 method execution were deleted.
   12907 
   12908 Fixed a reported problem where multiple SSDTs caused a deletion
   12909 issue during subsystem termination.  Restructured the table data
   12910 structures to simplify the linked lists and the related code.
   12911 
   12912 Fixed a problem where the table ID associated with secondary
   12913 tables (SSDTs) was not being propagated into the namespace objects
   12914 created by those tables.  This would only present a problem for
   12915 tables that are unloaded at run-time, however.
   12916 
   12917 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
   12918 type as the length parameter (instead of UINT32).
   12919 
   12920 Solved a long-standing problem where an ALREADY_EXISTS error
   12921 appears on various systems.  This problem could happen when there
   12922 are multiple PCI_Config operation regions under a single PCI root
   12923 bus.  This doesn't happen very frequently, but there are some
   12924 systems that do this in the ASL.
   12925 
   12926 Fixed a reported problem where the internal DeleteNode function
   12927 was incorrectly handling the case where a namespace node was the
   12928 first in the parent's child list, and had additional peers (not
   12929 the only child, but first in the list of children.)
   12930 
   12931 Code and Data Size: Current core subsystem library sizes are shown
   12932 below.  These are the code and data sizes for the acpica.lib
   12933 produced by the Microsoft Visual C++ 6.0 compiler, and these
   12934 values do not include any ACPI driver or OSPM code.  The debug
   12935 version of the code includes the debug output trace mechanism and
   12936 has a much larger code and data size.  Note that these values will
   12937 vary depending on the efficiency of the compiler and the compiler
   12938 options used during generation.
   12939 
   12940   Previous Release
   12941     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   12942     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   12943   Current Release:
   12944     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   12945     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   12946 
   12947 
   12948 2) Linux:
   12949 
   12950 Allow ":" in OS override string (Ducrot Bruno)
   12951 
   12952 Kobject fix (Greg KH)
   12953 
   12954 
   12955 3 iASL Compiler/Disassembler:
   12956 
   12957 Fixed a problem in the generation of the C source code files (AML
   12958 is emitted in C source statements for BIOS inclusion) where the
   12959 Ascii dump that appears within a C comment at the end of each line
   12960 could cause a compile time error if the AML sequence happens to
   12961 have an open comment or close comment sequence embedded.
   12962 
   12963 
   12964 ----------------------------------------
   12965 24 April 2003.  Summary of changes for version 20030424.
   12966 
   12967 
   12968 1) ACPI CA Core Subsystem:
   12969 
   12970 Support for big-endian systems has been implemented.  Most of the
   12971 support has been invisibly added behind big-endian versions of the
   12972 ACPI_MOVE_* macros.
   12973 
   12974 Fixed a problem in AcpiHwDisableGpeBlock() and
   12975 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
   12976 low level hardware write routine.  The offset parameter was
   12977 actually eliminated from the low level read/write routines because
   12978 they had become obsolete.
   12979 
   12980 Fixed a problem where a handler object was deleted twice during
   12981 the removal of a fixed event handler.
   12982 
   12983 
   12984 2) Linux:
   12985 
   12986 A fix for SMP systems with link devices was contributed by
   12987 
   12988 Compaq's Dan Zink.
   12989 
   12990 (2.5) Return whether we handled the interrupt in our IRQ handler.
   12991 (Linux ISRs no longer return void, so we can propagate the handler
   12992 return value from the ACPI CA core back to the OS.)
   12993 
   12994 
   12995 
   12996 3) Documentation:
   12997 
   12998 The ACPI CA Programmer Reference has been updated to reflect new
   12999 interfaces and changes to existing interfaces.
   13000 
   13001 ----------------------------------------
   13002 28 March 2003.  Summary of changes for version 20030328.
   13003 
   13004 1) ACPI CA Core Subsystem:
   13005 
   13006 The GPE Block Device support has been completed.  New interfaces
   13007 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
   13008 interfaces (enable, disable, clear, getstatus) have been split
   13009 into separate interfaces for Fixed Events and General Purpose
   13010 Events (GPEs) in order to support GPE Block Devices properly.
   13011 
   13012 Fixed a problem where the error message "Failed to acquire
   13013 semaphore" would appear during operations on the embedded
   13014 controller (EC).
   13015 
   13016 Code and Data Size: Current core subsystem library sizes are shown
   13017 below.  These are the code and data sizes for the acpica.lib
   13018 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13019 values do not include any ACPI driver or OSPM code.  The debug
   13020 version of the code includes the debug output trace mechanism and
   13021 has a much larger code and data size.  Note that these values will
   13022 vary depending on the efficiency of the compiler and the compiler
   13023 options used during generation.
   13024 
   13025   Previous Release
   13026     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   13027     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   13028   Current Release:
   13029     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   13030     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   13031 
   13032 
   13033 ----------------------------------------
   13034 28 February 2003.  Summary of changes for version 20030228.
   13035 
   13036 
   13037 1) ACPI CA Core Subsystem:
   13038 
   13039 The GPE handling and dispatch code has been completely overhauled
   13040 in preparation for support of GPE Block Devices (ID ACPI0006).
   13041 This affects internal data structures and code only; there should
   13042 be no differences visible externally.  One new file has been
   13043 added, evgpeblk.c
   13044 
   13045 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
   13046 fields that are used to determine the GPE block lengths.  The
   13047 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
   13048 structures are ignored.  This is per the ACPI specification but it
   13049 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
   13050 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
   13051 
   13052 In the SCI interrupt handler, removed the read of the PM1_CONTROL
   13053 register to look at the SCI_EN bit.  On some machines, this read
   13054 causes an SMI event and greatly slows down SCI events.  (This may
   13055 in fact be the cause of slow battery status response on some
   13056 systems.)
   13057 
   13058 Fixed a problem where a store of a NULL string to a package object
   13059 could cause the premature deletion of the object.  This was seen
   13060 during execution of the battery _BIF method on some systems,
   13061 resulting in no battery data being returned.
   13062 
   13063 Added AcpiWalkResources interface to simplify parsing of resource
   13064 lists.
   13065 
   13066 Code and Data Size: Current core subsystem library sizes are shown
   13067 below.  These are the code and data sizes for the acpica.lib
   13068 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13069 values do not include any ACPI driver or OSPM code.  The debug
   13070 version of the code includes the debug output trace mechanism and
   13071 has a much larger code and data size.  Note that these values will
   13072 vary depending on the efficiency of the compiler and the compiler
   13073 options used during generation.
   13074 
   13075   Previous Release
   13076     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   13077     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   13078   Current Release:
   13079     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   13080     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   13081 
   13082 
   13083 2) Linux
   13084 
   13085 S3 fixes (Ole Rohne)
   13086 
   13087 Update ACPI PHP driver with to use new acpi_walk_resource API
   13088 (Bjorn Helgaas)
   13089 
   13090 Add S4BIOS support (Pavel Machek)
   13091 
   13092 Map in entire table before performing checksum (John Stultz)
   13093 
   13094 Expand the mem= cmdline to allow the specification of reserved and
   13095 ACPI DATA blocks (Pavel Machek)
   13096 
   13097 Never use ACPI on VISWS
   13098 
   13099 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
   13100 
   13101 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
   13102 causing us to think that some systems support C2 when they really
   13103 don't.
   13104 
   13105 Do not count processor objects for non-present CPUs (Thanks to
   13106 Dominik Brodowski)
   13107 
   13108 
   13109 3) iASL Compiler:
   13110 
   13111 Fixed a problem where ASL include files could not be found and
   13112 opened.
   13113 
   13114 Added support for the _PDC reserved name.
   13115 
   13116 
   13117 ----------------------------------------
   13118 22 January 2003.  Summary of changes for version 20030122.
   13119 
   13120 
   13121 1) ACPI CA Core Subsystem:
   13122 
   13123 Added a check for constructs of the form:  Store (Local0, Local0)
   13124 where Local0 is not initialized.  Apparently, some BIOS
   13125 programmers believe that this is a NOOP.  Since this store doesn't
   13126 do anything anyway, the new prototype behavior will ignore this
   13127 error.  This is a case where we can relax the strict checking in
   13128 the interpreter in the name of compatibility.
   13129 
   13130 
   13131 2) Linux
   13132 
   13133 The AcpiSrc Source Conversion Utility has been released with the
   13134 Linux package for the first time.  This is the utility that is
   13135 used to convert the ACPI CA base source code to the Linux version.
   13136 
   13137 (Both) Handle P_BLK lengths shorter than 6 more gracefully
   13138 
   13139 (Both) Move more headers to include/acpi, and delete an unused
   13140 header.
   13141 
   13142 (Both) Move drivers/acpi/include directory to include/acpi
   13143 
   13144 (Both) Boot functions don't use cmdline, so don't pass it around
   13145 
   13146 (Both) Remove include of unused header (Adrian Bunk)
   13147 
   13148 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
   13149 the
   13150 former now also includes the latter, acpiphp.h only needs the one,
   13151 now.
   13152 
   13153 (2.5) Make it possible to select method of bios restoring after S3
   13154 resume. [=> no more ugly ifdefs] (Pavel Machek)
   13155 
   13156 (2.5) Make proc write interfaces work (Pavel Machek)
   13157 
   13158 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
   13159 
   13160 (2.5) Break out ACPI Perf code into its own module, under cpufreq
   13161 (Dominik Brodowski)
   13162 
   13163 (2.4) S4BIOS support (Ducrot Bruno)
   13164 
   13165 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
   13166 Visinoni)
   13167 
   13168 
   13169 3) iASL Compiler:
   13170 
   13171 Added support to disassemble SSDT and PSDTs.
   13172 
   13173 Implemented support to obtain SSDTs from the Windows registry if
   13174 available.
   13175 
   13176 
   13177 ----------------------------------------
   13178 09 January 2003.  Summary of changes for version 20030109.
   13179 
   13180 1) ACPI CA Core Subsystem:
   13181 
   13182 Changed the behavior of the internal Buffer-to-String conversion
   13183 function.  The current ACPI specification states that the contents
   13184 of the buffer are "converted to a string of two-character
   13185 hexadecimal numbers, each separated by a space".  Unfortunately,
   13186 this definition is not backwards compatible with existing ACPI 1.0
   13187 implementations (although the behavior was not defined in the ACPI
   13188 1.0 specification).  The new behavior simply copies data from the
   13189 buffer to the string until a null character is found or the end of
   13190 the buffer is reached.  The new String object is always null
   13191 terminated.  This problem was seen during the generation of _BIF
   13192 battery data where incorrect strings were returned for battery
   13193 type, etc.  This will also require an errata to the ACPI
   13194 specification.
   13195 
   13196 Renamed all instances of NATIVE_UINT and NATIVE_INT to
   13197 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
   13198 
   13199 Copyright in all module headers (both Linux and non-Linux) has be
   13200 updated to 2003.
   13201 
   13202 Code and Data Size: Current core subsystem library sizes are shown
   13203 below.  These are the code and data sizes for the acpica.lib
   13204 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13205 values do not include any ACPI driver or OSPM code.  The debug
   13206 version of the code includes the debug output trace mechanism and
   13207 has a much larger code and data size.  Note that these values will
   13208 vary depending on the efficiency of the compiler and the compiler
   13209 options used during generation.
   13210 
   13211   Previous Release
   13212     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   13213     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   13214   Current Release:
   13215     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   13216     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   13217 
   13218 
   13219 2) Linux
   13220 
   13221 Fixed an oops on module insertion/removal (Matthew Tippett)
   13222 
   13223 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
   13224 
   13225 (2.5) Replace pr_debug (Randy Dunlap)
   13226 
   13227 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
   13228 
   13229 (Both) Eliminate spawning of thread from timer callback, in favor
   13230 of schedule_work()
   13231 
   13232 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
   13233 
   13234 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
   13235 
   13236 (Both) Add missing statics to button.c (Pavel Machek)
   13237 
   13238 Several changes have been made to the source code translation
   13239 utility that generates the Linux Code in order to make the code
   13240 more "Linux-like":
   13241 
   13242 All typedefs on structs and unions have been removed in keeping
   13243 with the Linux coding style.
   13244 
   13245 Removed the non-Linux SourceSafe module revision number from each
   13246 module header.
   13247 
   13248 Completed major overhaul of symbols to be lowercased for linux.
   13249 Doubled the number of symbols that are lowercased.
   13250 
   13251 Fixed a problem where identifiers within procedure headers and
   13252 within quotes were not fully lower cased (they were left with a
   13253 starting capital.)
   13254 
   13255 Some C macros whose only purpose is to allow the generation of 16-
   13256 bit code are now completely removed in the Linux code, increasing
   13257 readability and maintainability.
   13258 
   13259 ----------------------------------------
   13260 
   13261 12 December 2002.  Summary of changes for version 20021212.
   13262 
   13263 
   13264 1) ACPI CA Core Subsystem:
   13265 
   13266 Fixed a problem where the creation of a zero-length AML Buffer
   13267 would cause a fault.
   13268 
   13269 Fixed a problem where a Buffer object that pointed to a static AML
   13270 buffer (in an ACPI table) could inadvertently be deleted, causing
   13271 memory corruption.
   13272 
   13273 Fixed a problem where a user buffer (passed in to the external
   13274 ACPI CA interfaces) could be overwritten if the buffer was too
   13275 small to complete the operation, causing memory corruption.
   13276 
   13277 Fixed a problem in the Buffer-to-String conversion code where a
   13278 string of length one was always returned, regardless of the size
   13279 of the input Buffer object.
   13280 
   13281 Removed the NATIVE_CHAR data type across the entire source due to
   13282 lack of need and lack of consistent use.
   13283 
   13284 Code and Data Size: Current core subsystem library sizes are shown
   13285 below.  These are the code and data sizes for the acpica.lib
   13286 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13287 values do not include any ACPI driver or OSPM code.  The debug
   13288 version of the code includes the debug output trace mechanism and
   13289 has a much larger code and data size.  Note that these values will
   13290 vary depending on the efficiency of the compiler and the compiler
   13291 options used during generation.
   13292 
   13293   Previous Release
   13294     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   13295     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   13296   Current Release:
   13297     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   13298     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   13299 
   13300 
   13301 ----------------------------------------
   13302 05 December 2002.  Summary of changes for version 20021205.
   13303 
   13304 1) ACPI CA Core Subsystem:
   13305 
   13306 Fixed a problem where a store to a String or Buffer object could
   13307 cause corruption of the DSDT if the object type being stored was
   13308 the same as the target object type and the length of the object
   13309 being stored was equal to or smaller than the original (existing)
   13310 target object.  This was seen to cause corruption of battery _BIF
   13311 buffers if the _BIF method modified the buffer on the fly.
   13312 
   13313 Fixed a problem where an internal error was generated if a control
   13314 method invocation was used in an OperationRegion, Buffer, or
   13315 Package declaration.  This was caused by the deferred parsing of
   13316 the control method and thus the deferred creation of the internal
   13317 method object.  The solution to this problem was to create the
   13318 internal method object at the moment the method is encountered in
   13319 the first pass - so that subsequent references to the method will
   13320 able to obtain the required parameter count and thus properly
   13321 parse the method invocation.  This problem presented itself as an
   13322 AE_AML_INTERNAL during the pass 1 parse phase during table load.
   13323 
   13324 Fixed a problem where the internal String object copy routine did
   13325 not always allocate sufficient memory for the target String object
   13326 and caused memory corruption.  This problem was seen to cause
   13327 "Allocation already present in list!" errors as memory allocation
   13328 became corrupted.
   13329 
   13330 Implemented a new function for the evaluation of namespace objects
   13331 that allows the specification of the allowable return object
   13332 types.  This simplifies a lot of code that checks for a return
   13333 object of one or more specific objects returned from the
   13334 evaluation (such as _STA, etc.)  This may become and external
   13335 function if it would be useful to ACPI-related drivers.
   13336 
   13337 Completed another round of prefixing #defines with "ACPI_" for
   13338 clarity.
   13339 
   13340 Completed additional code restructuring to allow more modular
   13341 linking for iASL compiler and AcpiExec.  Several files were split
   13342 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
   13343 
   13344 Implemented an abort mechanism to terminate an executing control
   13345 method via the AML debugger.  This feature is useful for debugging
   13346 control methods that depend (wait) for specific hardware
   13347 responses.
   13348 
   13349 Code and Data Size: Current core subsystem library sizes are shown
   13350 below.  These are the code and data sizes for the acpica.lib
   13351 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13352 values do not include any ACPI driver or OSPM code.  The debug
   13353 version of the code includes the debug output trace mechanism and
   13354 has a much larger code and data size.  Note that these values will
   13355 vary depending on the efficiency of the compiler and the compiler
   13356 options used during generation.
   13357 
   13358   Previous Release
   13359     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   13360     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   13361   Current Release:
   13362     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   13363     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   13364 
   13365 
   13366 2) iASL Compiler/Disassembler
   13367 
   13368 Fixed a compiler code generation problem for "Interrupt" Resource
   13369 Descriptors.  If specified in the ASL, the optional "Resource
   13370 Source Index" and "Resource Source" fields were not inserted into
   13371 the correct location within the AML resource descriptor, creating
   13372 an invalid descriptor.
   13373 
   13374 Fixed a disassembler problem for "Interrupt" resource descriptors.
   13375 The optional "Resource Source Index" and "Resource Source" fields
   13376 were ignored.
   13377 
   13378 
   13379 ----------------------------------------
   13380 22 November 2002.  Summary of changes for version 20021122.
   13381 
   13382 
   13383 1) ACPI CA Core Subsystem:
   13384 
   13385 Fixed a reported problem where an object stored to a Method Local
   13386 or Arg was not copied to a new object during the store - the
   13387 object pointer was simply copied to the Local/Arg.  This caused
   13388 all subsequent operations on the Local/Arg to also affect the
   13389 original source of the store operation.
   13390 
   13391 Fixed a problem where a store operation to a Method Local or Arg
   13392 was not completed properly if the Local/Arg contained a reference
   13393 (from RefOf) to a named field.  The general-purpose store-to-
   13394 namespace-node code is now used so that this case is handled
   13395 automatically.
   13396 
   13397 Fixed a problem where the internal object copy routine would cause
   13398 a protection fault if the object being copied was a Package and
   13399 contained either 1) a NULL package element or 2) a nested sub-
   13400 package.
   13401 
   13402 Fixed a problem with the GPE initialization that resulted from an
   13403 ambiguity in the ACPI specification.  One section of the
   13404 specification states that both the address and length of the GPE
   13405 block must be zero if the block is not supported.  Another section
   13406 implies that only the address need be zero if the block is not
   13407 supported.  The code has been changed so that both the address and
   13408 the length must be non-zero to indicate a valid GPE block (i.e.,
   13409 if either the address or the length is zero, the GPE block is
   13410 invalid.)
   13411 
   13412 Code and Data Size: Current core subsystem library sizes are shown
   13413 below.  These are the code and data sizes for the acpica.lib
   13414 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13415 values do not include any ACPI driver or OSPM code.  The debug
   13416 version of the code includes the debug output trace mechanism and
   13417 has a much larger code and data size.  Note that these values will
   13418 vary depending on the efficiency of the compiler and the compiler
   13419 options used during generation.
   13420 
   13421   Previous Release
   13422     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   13423     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   13424   Current Release:
   13425     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   13426     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   13427 
   13428 
   13429 2) Linux
   13430 
   13431 Cleaned up EC driver. Exported an external EC read/write
   13432 interface. By going through this, other drivers (most notably
   13433 sonypi) will be able to serialize access to the EC.
   13434 
   13435 
   13436 3) iASL Compiler/Disassembler
   13437 
   13438 Implemented support to optionally generate include files for both
   13439 ASM and C (the -i switch).  This simplifies BIOS development by
   13440 automatically creating include files that contain external
   13441 declarations for the symbols that are created within the
   13442 
   13443 (optionally generated) ASM and C AML source files.
   13444 
   13445 
   13446 ----------------------------------------
   13447 15 November 2002.  Summary of changes for version 20021115.
   13448 
   13449 1) ACPI CA Core Subsystem:
   13450 
   13451 Fixed a memory leak problem where an error during resolution of
   13452 
   13453 method arguments during a method invocation from another method
   13454 failed to cleanup properly by deleting all successfully resolved
   13455 argument objects.
   13456 
   13457 Fixed a problem where the target of the Index() operator was not
   13458 correctly constructed if the source object was a package.  This
   13459 problem has not been detected because the use of a target operand
   13460 with Index() is very rare.
   13461 
   13462 Fixed a problem with the Index() operator where an attempt was
   13463 made to delete the operand objects twice.
   13464 
   13465 Fixed a problem where an attempt was made to delete an operand
   13466 twice during execution of the CondRefOf() operator if the target
   13467 did not exist.
   13468 
   13469 Implemented the first of perhaps several internal create object
   13470 functions that create and initialize a specific object type.  This
   13471 consolidates duplicated code wherever the object is created, thus
   13472 shrinking the size of the subsystem.
   13473 
   13474 Implemented improved debug/error messages for errors that occur
   13475 during nested method invocations.  All executing method pathnames
   13476 are displayed (with the error) as the call stack is unwound - thus
   13477 simplifying debug.
   13478 
   13479 Fixed a problem introduced in the 10/02 release that caused
   13480 premature deletion of a buffer object if a buffer was used as an
   13481 ASL operand where an integer operand is required (Thus causing an
   13482 implicit object conversion from Buffer to Integer.)  The change in
   13483 the 10/02 release was attempting to fix a memory leak (albeit
   13484 incorrectly.)
   13485 
   13486 Code and Data Size: Current core subsystem library sizes are shown
   13487 below.  These are the code and data sizes for the acpica.lib
   13488 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13489 values do not include any ACPI driver or OSPM code.  The debug
   13490 version of the code includes the debug output trace mechanism and
   13491 has a much larger code and data size.  Note that these values will
   13492 vary depending on the efficiency of the compiler and the compiler
   13493 options used during generation.
   13494 
   13495   Previous Release
   13496     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   13497     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   13498   Current Release:
   13499     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   13500     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   13501 
   13502 
   13503 2) Linux
   13504 
   13505 Changed the implementation of the ACPI semaphores to use down()
   13506 instead of down_interruptable().  It is important that the
   13507 execution of ACPI control methods not be interrupted by signals.
   13508 Methods must run to completion, or the system may be left in an
   13509 unknown/unstable state.
   13510 
   13511 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
   13512 (Shawn Starr)
   13513 
   13514 
   13515 3) iASL Compiler/Disassembler
   13516 
   13517 
   13518 Changed the default location of output files.  All output files
   13519 are now placed in the current directory by default instead of in
   13520 the directory of the source file.  This change may affect some
   13521 existing makefiles, but it brings the behavior of the compiler in
   13522 line with other similar tools.  The location of the output files
   13523 can be overridden with the -p command line switch.
   13524 
   13525 
   13526 ----------------------------------------
   13527 11 November 2002.  Summary of changes for version 20021111.
   13528 
   13529 
   13530 0) ACPI Specification 2.0B is released and is now available at:
   13531 http://www.acpi.info/index.html
   13532 
   13533 
   13534 1) ACPI CA Core Subsystem:
   13535 
   13536 Implemented support for the ACPI 2.0 SMBus Operation Regions.
   13537 This includes the early detection and handoff of the request to
   13538 the SMBus region handler (avoiding all of the complex field
   13539 support code), and support for the bidirectional return packet
   13540 from an SMBus write operation.  This paves the way for the
   13541 development of SMBus drivers in each host operating system.
   13542 
   13543 Fixed a problem where the semaphore WAIT_FOREVER constant was
   13544 defined as 32 bits, but must be 16 bits according to the ACPI
   13545 specification.  This had the side effect of causing ASL
   13546 Mutex/Event timeouts even though the ASL code requested a wait
   13547 forever.  Changed all internal references to the ACPI timeout
   13548 parameter to 16 bits to prevent future problems.  Changed the name
   13549 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
   13550 
   13551 Code and Data Size: Current core subsystem library sizes are shown
   13552 below.  These are the code and data sizes for the acpica.lib
   13553 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13554 values do not include any ACPI driver or OSPM code.  The debug
   13555 version of the code includes the debug output trace mechanism and
   13556 has a much larger code and data size.  Note that these values will
   13557 vary depending on the efficiency of the compiler and the compiler
   13558 options used during generation.
   13559 
   13560   Previous Release
   13561     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   13562     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   13563   Current Release:
   13564     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   13565     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   13566 
   13567 
   13568 2) Linux
   13569 
   13570 Module loading/unloading fixes (John Cagle)
   13571 
   13572 
   13573 3) iASL Compiler/Disassembler
   13574 
   13575 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
   13576 
   13577 Implemented support for the disassembly of all SMBus protocol
   13578 keywords (SMBQuick, SMBWord, etc.)
   13579 
   13580 ----------------------------------------
   13581 01 November 2002.  Summary of changes for version 20021101.
   13582 
   13583 
   13584 1) ACPI CA Core Subsystem:
   13585 
   13586 Fixed a problem where platforms that have a GPE1 block but no GPE0
   13587 block were not handled correctly.  This resulted in a "GPE
   13588 overlap" error message.  GPE0 is no longer required.
   13589 
   13590 Removed code added in the previous release that inserted nodes
   13591 into the namespace in alphabetical order.  This caused some side-
   13592 effects on various machines.  The root cause of the problem is
   13593 still under investigation since in theory, the internal ordering
   13594 of the namespace nodes should not matter.
   13595 
   13596 
   13597 Enhanced error reporting for the case where a named object is not
   13598 found during control method execution.  The full ACPI namepath
   13599 (name reference) of the object that was not found is displayed in
   13600 this case.
   13601 
   13602 Note: as a result of the overhaul of the namespace object types in
   13603 the previous release, the namespace nodes for the predefined
   13604 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
   13605 instead of ACPI_TYPE_ANY.  This simplifies the namespace
   13606 management code but may affect code that walks the namespace tree
   13607 looking for specific object types.
   13608 
   13609 Code and Data Size: Current core subsystem library sizes are shown
   13610 below.  These are the code and data sizes for the acpica.lib
   13611 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13612 values do not include any ACPI driver or OSPM code.  The debug
   13613 version of the code includes the debug output trace mechanism and
   13614 has a much larger code and data size.  Note that these values will
   13615 vary depending on the efficiency of the compiler and the compiler
   13616 options used during generation.
   13617 
   13618   Previous Release
   13619     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   13620     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   13621   Current Release:
   13622     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   13623     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   13624 
   13625 
   13626 2) Linux
   13627 
   13628 Fixed a problem introduced in the previous release where the
   13629 Processor and Thermal objects were not recognized and installed in
   13630 /proc.  This was related to the scope type change described above.
   13631 
   13632 
   13633 3) iASL Compiler/Disassembler
   13634 
   13635 Implemented the -g option to get all of the required ACPI tables
   13636 from the registry and save them to files (Windows version of the
   13637 compiler only.)  The required tables are the FADT, FACS, and DSDT.
   13638 
   13639 Added ACPI table checksum validation during table disassembly in
   13640 order to catch corrupted tables.
   13641 
   13642 
   13643 ----------------------------------------
   13644 22 October 2002.  Summary of changes for version 20021022.
   13645 
   13646 1) ACPI CA Core Subsystem:
   13647 
   13648 Implemented a restriction on the Scope operator that the target
   13649 must already exist in the namespace at the time the operator is
   13650 encountered (during table load or method execution).  In other
   13651 words, forward references are not allowed and Scope() cannot
   13652 create a new object. This changes the previous behavior where the
   13653 interpreter would create the name if not found.  This new behavior
   13654 correctly enables the search-to-root algorithm during namespace
   13655 lookup of the target name.  Because of this upsearch, this fixes
   13656 the known Compaq _SB_.OKEC problem and makes both the AML
   13657 interpreter and iASL compiler compatible with other ACPI
   13658 implementations.
   13659 
   13660 Completed a major overhaul of the internal ACPI object types for
   13661 the ACPI Namespace and the associated operand objects.  Many of
   13662 these types had become obsolete with the introduction of the two-
   13663 pass namespace load.  This cleanup simplifies the code and makes
   13664 the entire namespace load mechanism much clearer and easier to
   13665 understand.
   13666 
   13667 Improved debug output for tracking scope opening/closing to help
   13668 diagnose scoping issues.  The old scope name as well as the new
   13669 scope name are displayed.  Also improved error messages for
   13670 problems with ASL Mutex objects and error messages for GPE
   13671 problems.
   13672 
   13673 Cleaned up the namespace dump code, removed obsolete code.
   13674 
   13675 All string output (for all namespace/object dumps) now uses the
   13676 common ACPI string output procedure which handles escapes properly
   13677 and does not emit non-printable characters.
   13678 
   13679 Fixed some issues with constants in the 64-bit version of the
   13680 local C library (utclib.c)
   13681 
   13682 
   13683 2) Linux
   13684 
   13685 EC Driver:  No longer attempts to acquire the Global Lock at
   13686 interrupt level.
   13687 
   13688 
   13689 3) iASL Compiler/Disassembler
   13690 
   13691 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
   13692 2 opcodes outside of a control method.  This means that the
   13693 "executable" operators (versus the "namespace" operators) cannot
   13694 be used at the table level; they can only be used within a control
   13695 method.
   13696 
   13697 Implemented the restriction on the Scope() operator where the
   13698 target must already exist in the namespace at the time the
   13699 operator is encountered (during ASL compilation). In other words,
   13700 forward references are not allowed and Scope() cannot create a new
   13701 object.  This makes the iASL compiler compatible with other ACPI
   13702 implementations and makes the Scope() implementation adhere to the
   13703 ACPI specification.
   13704 
   13705 Fixed a problem where namepath optimization for the Alias operator
   13706 was optimizing the wrong path (of the two namepaths.)  This caused
   13707 a "Missing alias link" error message.
   13708 
   13709 Fixed a problem where an "unknown reserved name" warning could be
   13710 incorrectly generated for names like "_SB" when the trailing
   13711 underscore is not used in the original ASL.
   13712 
   13713 Fixed a problem where the reserved name check did not handle
   13714 NamePaths with multiple NameSegs correctly.  The first nameseg of
   13715 the NamePath was examined instead of the last NameSeg.
   13716 
   13717 
   13718 ----------------------------------------
   13719 
   13720 02 October 2002.  Summary of changes for this release.
   13721 
   13722 
   13723 1) ACPI CA Core Subsystem version 20021002:
   13724 
   13725 Fixed a problem where a store/copy of a string to an existing
   13726 string did not always set the string length properly in the String
   13727 object.
   13728 
   13729 Fixed a reported problem with the ToString operator where the
   13730 behavior was identical to the ToHexString operator instead of just
   13731 simply converting a raw buffer to a string data type.
   13732 
   13733 Fixed a problem where CopyObject and the other "explicit"
   13734 conversion operators were not updating the internal namespace node
   13735 type as part of the store operation.
   13736 
   13737 Fixed a memory leak during implicit source operand conversion
   13738 where the original object was not deleted if it was converted to a
   13739 new object of a different type.
   13740 
   13741 Enhanced error messages for all problems associated with namespace
   13742 lookups.  Common procedure generates and prints the lookup name as
   13743 well as the formatted status.
   13744 
   13745 Completed implementation of a new design for the Alias support
   13746 within the namespace.  The existing design did not handle the case
   13747 where a new object was assigned to one of the two names due to the
   13748 use of an explicit conversion operator, resulting in the two names
   13749 pointing to two different objects.  The new design simply points
   13750 the Alias name to the original name node - not to the object.
   13751 This results in a level of indirection that must be handled in the
   13752 name resolution mechanism.
   13753 
   13754 Code and Data Size: Current core subsystem library sizes are shown
   13755 below.  These are the code and data sizes for the acpica.lib
   13756 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13757 values do not include any ACPI driver or OSPM code.  The debug
   13758 version of the code includes the debug output trace mechanism and
   13759 has a larger code and data size.  Note that these values will vary
   13760 depending on the efficiency of the compiler and the compiler
   13761 options used during generation.
   13762 
   13763   Previous Release
   13764     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   13765     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   13766   Current Release:
   13767     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   13768     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   13769 
   13770 
   13771 2) Linux
   13772 
   13773 Initialize thermal driver's timer before it is used. (Knut
   13774 Neumann)
   13775 
   13776 Allow handling negative celsius values. (Kochi Takayoshi)
   13777 
   13778 Fix thermal management and make trip points. R/W (Pavel Machek)
   13779 
   13780 Fix /proc/acpi/sleep. (P. Christeas)
   13781 
   13782 IA64 fixes. (David Mosberger)
   13783 
   13784 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
   13785 
   13786 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
   13787 Brodowski)
   13788 
   13789 
   13790 3) iASL Compiler/Disassembler
   13791 
   13792 Clarified some warning/error messages.
   13793 
   13794 
   13795 ----------------------------------------
   13796 18 September 2002.  Summary of changes for this release.
   13797 
   13798 
   13799 1) ACPI CA Core Subsystem version 20020918:
   13800 
   13801 Fixed a reported problem with reference chaining (via the Index()
   13802 and RefOf() operators) in the ObjectType() and SizeOf() operators.
   13803 The definition of these operators includes the dereferencing of
   13804 all chained references to return information on the base object.
   13805 
   13806 Fixed a problem with stores to indexed package elements - the
   13807 existing code would not complete the store if an "implicit
   13808 conversion" was not performed.  In other words, if the existing
   13809 object (package element) was to be replaced completely, the code
   13810 didn't handle this case.
   13811 
   13812 Relaxed typechecking on the ASL "Scope" operator to allow the
   13813 target name to refer to an object of type Integer, String, or
   13814 Buffer, in addition to the scoping object types (Device,
   13815 predefined Scopes, Processor, PowerResource, and ThermalZone.)
   13816 This allows existing AML code that has workarounds for a bug in
   13817 Windows to function properly.  A warning is issued, however.  This
   13818 affects both the AML interpreter and the iASL compiler. Below is
   13819 an example of this type of ASL code:
   13820 
   13821       Name(DEB,0x00)
   13822       Scope(DEB)
   13823       {
   13824 
   13825 Fixed some reported problems with 64-bit integer support in the
   13826 local implementation of C library functions (clib.c)
   13827 
   13828 
   13829 2) Linux
   13830 
   13831 Use ACPI fix map region instead of IOAPIC region, since it is
   13832 undefined in non-SMP.
   13833 
   13834 Ensure that the SCI has the proper polarity and trigger, even on
   13835 systems that do not have an interrupt override entry in the MADT.
   13836 
   13837 2.5 big driver reorganization (Pat Mochel)
   13838 
   13839 Use early table mapping code from acpitable.c (Andi Kleen)
   13840 
   13841 New blacklist entries (Andi Kleen)
   13842 
   13843 Blacklist improvements. Split blacklist code out into a separate
   13844 file. Move checking the blacklist to very early. Previously, we
   13845 would use ACPI tables, and then halfway through init, check the
   13846 blacklist -- too late. Now, it's early enough to completely fall-
   13847 back to non-ACPI.
   13848 
   13849 
   13850 3) iASL Compiler/Disassembler version 20020918:
   13851 
   13852 Fixed a problem where the typechecking code didn't know that an
   13853 alias could point to a method.  In other words, aliases were not
   13854 being dereferenced during typechecking.
   13855 
   13856 
   13857 ----------------------------------------
   13858 29 August 2002.  Summary of changes for this release.
   13859 
   13860 1) ACPI CA Core Subsystem Version 20020829:
   13861 
   13862 If the target of a Scope() operator already exists, it must be an
   13863 object type that actually opens a scope -- such as a Device,
   13864 Method, Scope, etc.  This is a fatal runtime error.  Similar error
   13865 check has been added to the iASL compiler also.
   13866 
   13867 Tightened up the namespace load to disallow multiple names in the
   13868 same scope.  This previously was allowed if both objects were of
   13869 the same type.  (i.e., a lookup was the same as entering a new
   13870 name).
   13871 
   13872 
   13873 2) Linux
   13874 
   13875 Ensure that the ACPI interrupt has the proper trigger and
   13876 polarity.
   13877 
   13878 local_irq_disable is extraneous. (Matthew Wilcox)
   13879 
   13880 Make "acpi=off" actually do what it says, and not use the ACPI
   13881 interpreter *or* the tables.
   13882 
   13883 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
   13884 Takayoshi)
   13885 
   13886 
   13887 3) iASL Compiler/Disassembler  Version 20020829:
   13888 
   13889 Implemented namepath optimization for name declarations.  For
   13890 example, a declaration like "Method (\_SB_.ABCD)" would get
   13891 optimized to "Method (ABCD)" if the declaration is within the
   13892 \_SB_ scope.  This optimization is in addition to the named
   13893 reference path optimization first released in the previous
   13894 version. This would seem to complete all possible optimizations
   13895 for namepaths within the ASL/AML.
   13896 
   13897 If the target of a Scope() operator already exists, it must be an
   13898 object type that actually opens a scope -- such as a Device,
   13899 Method, Scope, etc.
   13900 
   13901 Implemented a check and warning for unreachable code in the same
   13902 block below a Return() statement.
   13903 
   13904 Fixed a problem where the listing file was not generated if the
   13905 compiler aborted if the maximum error count was exceeded (200).
   13906 
   13907 Fixed a problem where the typechecking of method return values was
   13908 broken.  This includes the check for a return value when the
   13909 method is invoked as a TermArg (a return value is expected.)
   13910 
   13911 Fixed a reported problem where EOF conditions during a quoted
   13912 string or comment caused a fault.
   13913 
   13914 
   13915 ----------------------------------------
   13916 15 August 2002.  Summary of changes for this release.
   13917 
   13918 1) ACPI CA Core Subsystem Version 20020815:
   13919 
   13920 Fixed a reported problem where a Store to a method argument that
   13921 contains a reference did not perform the indirect store correctly.
   13922 This problem was created during the conversion to the new
   13923 reference object model - the indirect store to a method argument
   13924 code was not updated to reflect the new model.
   13925 
   13926 Reworked the ACPI mode change code to better conform to ACPI 2.0,
   13927 handle corner cases, and improve code legibility (Kochi Takayoshi)
   13928 
   13929 Fixed a problem with the pathname parsing for the carat (^)
   13930 prefix.  The heavy use of the carat operator by the new namepath
   13931 optimization in the iASL compiler uncovered a problem with the AML
   13932 interpreter handling of this prefix.  In the case where one or
   13933 more carats precede a single nameseg, the nameseg was treated as
   13934 standalone and the search rule (to root) was inadvertently
   13935 applied.  This could cause both the iASL compiler and the
   13936 interpreter to find the wrong object or to miss the error that
   13937 should occur if the object does not exist at that exact pathname.
   13938 
   13939 Found and fixed the problem where the HP Pavilion DSDT would not
   13940 load.  This was a relatively minor tweak to the table loading code
   13941 (a problem caused by the unexpected encounter with a method
   13942 invocation not within a control method), but it does not solve the
   13943 overall issue of the execution of AML code at the table level.
   13944 This investigation is still ongoing.
   13945 
   13946 Code and Data Size: Current core subsystem library sizes are shown
   13947 below.  These are the code and data sizes for the acpica.lib
   13948 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13949 values do not include any ACPI driver or OSPM code.  The debug
   13950 version of the code includes the debug output trace mechanism and
   13951 has a larger code and data size.  Note that these values will vary
   13952 depending on the efficiency of the compiler and the compiler
   13953 options used during generation.
   13954 
   13955   Previous Release
   13956     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   13957     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   13958   Current Release:
   13959     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   13960     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   13961 
   13962 
   13963 2) Linux
   13964 
   13965 Remove redundant slab.h include (Brad Hards)
   13966 
   13967 Fix several bugs in thermal.c (Herbert Nachtnebel)
   13968 
   13969 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
   13970 
   13971 Change acpi_system_suspend to use updated irq functions (Pavel
   13972 Machek)
   13973 
   13974 Export acpi_get_firmware_table (Matthew Wilcox)
   13975 
   13976 Use proper root proc entry for ACPI (Kochi Takayoshi)
   13977 
   13978 Fix early-boot table parsing (Bjorn Helgaas)
   13979 
   13980 
   13981 3) iASL Compiler/Disassembler
   13982 
   13983 Reworked the compiler options to make them more consistent and to
   13984 use two-letter options where appropriate.  We were running out of
   13985 sensible letters.   This may break some makefiles, so check the
   13986 current options list by invoking the compiler with no parameters.
   13987 
   13988 Completed the design and implementation of the ASL namepath
   13989 optimization option for the compiler.  This option optimizes all
   13990 references to named objects to the shortest possible path.  The
   13991 first attempt tries to utilize a single nameseg (4 characters) and
   13992 the "search-to-root" algorithm used by the interpreter.  If that
   13993 cannot be used (because either the name is not in the search path
   13994 or there is a conflict with another object with the same name),
   13995 the pathname is optimized using the carat prefix (usually a
   13996 shorter string than specifying the entire path from the root.)
   13997 
   13998 Implemented support to obtain the DSDT from the Windows registry
   13999 (when the disassembly option is specified with no input file).
   14000 Added this code as the implementation for AcpiOsTableOverride in
   14001 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
   14002 utility) to scan memory for the DSDT to the AcpiOsTableOverride
   14003 function in the DOS OSL to make the disassembler truly OS
   14004 independent.
   14005 
   14006 Implemented a new option to disassemble and compile in one step.
   14007 When used without an input filename, this option will grab the
   14008 DSDT from the local machine, disassemble it, and compile it in one
   14009 step.
   14010 
   14011 Added a warning message for invalid escapes (a backslash followed
   14012 by any character other than the allowable escapes).  This catches
   14013 the quoted string error "\_SB_" (which should be "\\_SB_" ).
   14014 
   14015 Also, there are numerous instances in the ACPI specification where
   14016 this error occurs.
   14017 
   14018 Added a compiler option to disable all optimizations.  This is
   14019 basically the "compatibility mode" because by using this option,
   14020 the AML code will come out exactly the same as other ASL
   14021 compilers.
   14022 
   14023 Added error messages for incorrectly ordered dependent resource
   14024 functions.  This includes: missing EndDependentFn macro at end of
   14025 dependent resource list, nested dependent function macros (both
   14026 start and end), and missing StartDependentFn macro.  These are
   14027 common errors that should be caught at compile time.
   14028 
   14029 Implemented _OSI support for the disassembler and compiler.  _OSI
   14030 must be included in the namespace for proper disassembly (because
   14031 the disassembler must know the number of arguments.)
   14032 
   14033 Added an "optimization" message type that is optional (off by
   14034 default).  This message is used for all optimizations - including
   14035 constant folding, integer optimization, and namepath optimization.
   14036 
   14037 ----------------------------------------
   14038 25 July 2002.  Summary of changes for this release.
   14039 
   14040 
   14041 1) ACPI CA Core Subsystem Version 20020725:
   14042 
   14043 The AML Disassembler has been enhanced to produce compilable ASL
   14044 code and has been integrated into the iASL compiler (see below) as
   14045 well as the single-step disassembly for the AML debugger and the
   14046 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
   14047 resource templates and macros are fully supported.  The
   14048 disassembler has been tested on over 30 different AML files,
   14049 producing identical AML when the resulting disassembled ASL file
   14050 is recompiled with the same ASL compiler.
   14051 
   14052 Modified the Resource Manager to allow zero interrupts and zero
   14053 dma channels during the GetCurrentResources call.  This was
   14054 causing problems on some platforms.
   14055 
   14056 Added the AcpiOsRedirectOutput interface to the OSL to simplify
   14057 output redirection for the AcpiOsPrintf and AcpiOsVprintf
   14058 interfaces.
   14059 
   14060 Code and Data Size: Current core subsystem library sizes are shown
   14061 below.  These are the code and data sizes for the acpica.lib
   14062 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14063 values do not include any ACPI driver or OSPM code.  The debug
   14064 version of the code includes the debug output trace mechanism and
   14065 has a larger code and data size.  Note that these values will vary
   14066 depending on the efficiency of the compiler and the compiler
   14067 options used during generation.
   14068 
   14069   Previous Release
   14070     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   14071     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   14072   Current Release:
   14073     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   14074     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   14075 
   14076 
   14077 2) Linux
   14078 
   14079 Fixed a panic in the EC driver (Dominik Brodowski)
   14080 
   14081 Implemented checksum of the R/XSDT itself during Linux table scan
   14082 (Richard Schaal)
   14083 
   14084 
   14085 3) iASL compiler
   14086 
   14087 The AML disassembler is integrated into the compiler.  The "-d"
   14088 option invokes the disassembler  to completely disassemble an
   14089 input AML file, producing as output a text ASL file with the
   14090 extension ".dsl" (to avoid name collisions with existing .asl
   14091 source files.)  A future enhancement will allow the disassembler
   14092 to obtain the BIOS DSDT from the registry under Windows.
   14093 
   14094 Fixed a problem with the VendorShort and VendorLong resource
   14095 descriptors where an invalid AML sequence was created.
   14096 
   14097 Implemented a fix for BufferData term in the ASL parser.  It was
   14098 inadvertently defined twice, allowing invalid syntax to pass and
   14099 causing reduction conflicts.
   14100 
   14101 Fixed a problem where the Ones opcode could get converted to a
   14102 value of zero if "Ones" was used where a byte, word or dword value
   14103 was expected.  The 64-bit value is now truncated to the correct
   14104 size with the correct value.
   14105 
   14106 
   14107 
   14108 ----------------------------------------
   14109 02 July 2002.  Summary of changes for this release.
   14110 
   14111 
   14112 1) ACPI CA Core Subsystem Version 20020702:
   14113 
   14114 The Table Manager code has been restructured to add several new
   14115 features.  Tables that are not required by the core subsystem
   14116 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
   14117 validated in any way and are returned from AcpiGetFirmwareTable if
   14118 requested.  The AcpiOsTableOverride interface is now called for
   14119 each table that is loaded by the subsystem in order to allow the
   14120 host to override any table it chooses.  Previously, only the DSDT
   14121 could be overridden.  Added one new files, tbrsdt.c and
   14122 tbgetall.c.
   14123 
   14124 Fixed a problem with the conversion of internal package objects to
   14125 external objects (when a package is returned from a control
   14126 method.)  The return buffer length was set to zero instead of the
   14127 proper length of the package object.
   14128 
   14129 Fixed a reported problem with the use of the RefOf and DeRefOf
   14130 operators when passing reference arguments to control methods.  A
   14131 new type of Reference object is used internally for references
   14132 produced by the RefOf operator.
   14133 
   14134 Added additional error messages in the Resource Manager to explain
   14135 AE_BAD_DATA errors when they occur during resource parsing.
   14136 
   14137 Split the AcpiEnableSubsystem into two primitives to enable a
   14138 finer granularity initialization sequence.  These two calls should
   14139 be called in this order: AcpiEnableSubsystem (flags),
   14140 AcpiInitializeObjects (flags).  The flags parameter remains the
   14141 same.
   14142 
   14143 
   14144 2) Linux
   14145 
   14146 Updated the ACPI utilities module to understand the new style of
   14147 fully resolved package objects that are now returned from the core
   14148 subsystem.  This eliminates errors of the form:
   14149 
   14150     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
   14151     acpi_utils-0430 [145] acpi_evaluate_reference:
   14152         Invalid element in package (not a device reference)
   14153 
   14154 The method evaluation utility uses the new buffer allocation
   14155 scheme instead of calling AcpiEvaluate Object twice.
   14156 
   14157 Added support for ECDT. This allows the use of the Embedded
   14158 
   14159 Controller before the namespace has been fully initialized, which
   14160 is necessary for ACPI 2.0 support, and for some laptops to
   14161 initialize properly. (Laptops using ECDT are still rare, so only
   14162 limited testing was performed of the added functionality.)
   14163 
   14164 Fixed memory leaks in the EC driver.
   14165 
   14166 Eliminated a brittle code structure in acpi_bus_init().
   14167 
   14168 Eliminated the acpi_evaluate() helper function in utils.c. It is
   14169 no longer needed since acpi_evaluate_object can optionally
   14170 allocate memory for the return object.
   14171 
   14172 Implemented fix for keyboard hang when getting battery readings on
   14173 some systems (Stephen White)
   14174 
   14175 PCI IRQ routing update (Dominik Brodowski)
   14176 
   14177 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
   14178 support
   14179 
   14180 ----------------------------------------
   14181 11 June 2002.  Summary of changes for this release.
   14182 
   14183 
   14184 1) ACPI CA Core Subsystem Version 20020611:
   14185 
   14186 Fixed a reported problem where constants such as Zero and One
   14187 appearing within _PRT packages were not handled correctly within
   14188 the resource manager code.  Originally reported against the ASL
   14189 compiler because the code generator now optimizes integers to
   14190 their minimal AML representation (i.e. AML constants if possible.)
   14191 The _PRT code now handles all AML constant opcodes correctly
   14192 (Zero, One, Ones, Revision).
   14193 
   14194 Fixed a problem with the Concatenate operator in the AML
   14195 interpreter where a buffer result object was incorrectly marked as
   14196 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
   14197 
   14198 All package sub-objects are now fully resolved before they are
   14199 returned from the external ACPI interfaces.  This means that name
   14200 strings are resolved to object handles, and constant operators
   14201 (Zero, One, Ones, Revision) are resolved to Integers.
   14202 
   14203 Implemented immediate resolution of the AML Constant opcodes
   14204 (Zero, One, Ones, Revision) to Integer objects upon detection
   14205 within the AML stream. This has simplified and reduced the
   14206 generated code size of the subsystem by eliminating about 10
   14207 switch statements for these constants (which previously were
   14208 contained in Reference objects.)  The complicating issues are that
   14209 the Zero opcode is used as a "placeholder" for unspecified
   14210 optional target operands and stores to constants are defined to be
   14211 no-ops.
   14212 
   14213 Code and Data Size: Current core subsystem library sizes are shown
   14214 below. These are the code and data sizes for the acpica.lib
   14215 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14216 values do not include any ACPI driver or OSPM code.  The debug
   14217 version of the code includes the debug output trace mechanism and
   14218 has a larger code and data size.  Note that these values will vary
   14219 depending on the efficiency of the compiler and the compiler
   14220 options used during generation.
   14221 
   14222   Previous Release
   14223     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   14224     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   14225   Current Release:
   14226     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   14227     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   14228 
   14229 
   14230 2) Linux
   14231 
   14232 
   14233 Added preliminary support for obtaining _TRA data for PCI root
   14234 bridges (Bjorn Helgaas).
   14235 
   14236 
   14237 3) iASL Compiler Version X2046:
   14238 
   14239 Fixed a problem where the "_DDN" reserved name was defined to be a
   14240 control method with one argument.  There are no arguments, and
   14241 _DDN does not have to be a control method.
   14242 
   14243 Fixed a problem with the Linux version of the compiler where the
   14244 source lines printed with error messages were the wrong lines.
   14245 This turned out to be the "LF versus CR/LF" difference between
   14246 Windows and Unix.  This appears to be the longstanding issue
   14247 concerning listing output and error messages.
   14248 
   14249 Fixed a problem with the Linux version of compiler where opcode
   14250 names within error messages were wrong.  This was caused by a
   14251 slight difference in the output of the Flex tool on Linux versus
   14252 Windows.
   14253 
   14254 Fixed a problem with the Linux compiler where the hex output files
   14255 contained some garbage data caused by an internal buffer overrun.
   14256 
   14257 
   14258 ----------------------------------------
   14259 17 May 2002.  Summary of changes for this release.
   14260 
   14261 
   14262 1) ACPI CA Core Subsystem Version 20020517:
   14263 
   14264 Implemented a workaround to an BIOS bug discovered on the HP
   14265 OmniBook where the FADT revision number and the table size are
   14266 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
   14267 behavior is to fallback to using only the ACPI 1.0 fields of the
   14268 FADT if the table is too small to be a ACPI 2.0 table as claimed
   14269 by the revision number.  Although this is a BIOS bug, this is a
   14270 case where the workaround is simple enough and with no side
   14271 effects, so it seemed prudent to add it.  A warning message is
   14272 issued, however.
   14273 
   14274 Implemented minimum size checks for the fixed-length ACPI tables -
   14275 - the FADT and FACS, as well as consistency checks between the
   14276 revision number and the table size.
   14277 
   14278 Fixed a reported problem in the table override support where the
   14279 new table pointer was incorrectly treated as a physical address
   14280 instead of a logical address.
   14281 
   14282 Eliminated the use of the AE_AML_ERROR exception and replaced it
   14283 with more descriptive codes.
   14284 
   14285 Fixed a problem where an exception would occur if an ASL Field was
   14286 defined with no named Field Units underneath it (used by some
   14287 index fields).
   14288 
   14289 Code and Data Size: Current core subsystem library sizes are shown
   14290 below.  These are the code and data sizes for the acpica.lib
   14291 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14292 values do not include any ACPI driver or OSPM code.  The debug
   14293 version of the code includes the debug output trace mechanism and
   14294 has a larger code and data size.  Note that these values will vary
   14295 depending on the efficiency of the compiler and the compiler
   14296 options used during generation.
   14297 
   14298   Previous Release
   14299     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   14300     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   14301   Current Release:
   14302     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   14303     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   14304 
   14305 
   14306 
   14307 2) Linux
   14308 
   14309 Much work done on ACPI init (MADT and PCI IRQ routing support).
   14310 (Paul D. and Dominik Brodowski)
   14311 
   14312 Fix PCI IRQ-related panic on boot (Sam Revitch)
   14313 
   14314 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
   14315 
   14316 Fix "MHz" typo (Dominik Brodowski)
   14317 
   14318 Fix RTC year 2000 issue (Dominik Brodowski)
   14319 
   14320 Preclude multiple button proc entries (Eric Brunet)
   14321 
   14322 Moved arch-specific code out of include/platform/aclinux.h
   14323 
   14324 3) iASL Compiler Version X2044:
   14325 
   14326 Implemented error checking for the string used in the EISAID macro
   14327 (Usually used in the definition of the _HID object.)  The code now
   14328 strictly enforces the PnP format - exactly 7 characters, 3
   14329 uppercase letters and 4 hex digits.
   14330 
   14331 If a raw string is used in the definition of the _HID object
   14332 (instead of the EISAID macro), the string must contain all
   14333 alphanumeric characters (e.g., "*PNP0011" is not allowed because
   14334 of the asterisk.)
   14335 
   14336 Implemented checking for invalid use of ACPI reserved names for
   14337 most of the name creation operators (Name, Device, Event, Mutex,
   14338 OperationRegion, PowerResource, Processor, and ThermalZone.)
   14339 Previously, this check was only performed for control methods.
   14340 
   14341 Implemented an additional check on the Name operator to emit an
   14342 error if a reserved name that must be implemented in ASL as a
   14343 control method is used.  We know that a reserved name must be a
   14344 method if it is defined with input arguments.
   14345 
   14346 The warning emitted when a namespace object reference is not found
   14347 during the cross reference phase has been changed into an error.
   14348 The "External" directive should be used for names defined in other
   14349 modules.
   14350 
   14351 
   14352 4) Tools and Utilities
   14353 
   14354 The 16-bit tools (adump16 and aexec16) have been regenerated and
   14355 tested.
   14356 
   14357 Fixed a problem with the output of both acpidump and adump16 where
   14358 the indentation of closing parentheses and brackets was not
   14359 
   14360 aligned properly with the parent block.
   14361 
   14362 
   14363 ----------------------------------------
   14364 03 May 2002.  Summary of changes for this release.
   14365 
   14366 
   14367 1) ACPI CA Core Subsystem Version 20020503:
   14368 
   14369 Added support a new OSL interface that allows the host operating
   14370 
   14371 system software to override the DSDT found in the firmware -
   14372 AcpiOsTableOverride.  With this interface, the OSL can examine the
   14373 version of the firmware DSDT and replace it with a different one
   14374 if desired.
   14375 
   14376 Added new external interfaces for accessing ACPI registers from
   14377 device drivers and other system software - AcpiGetRegister and
   14378 AcpiSetRegister.  This was simply an externalization of the
   14379 existing AcpiHwBitRegister interfaces.
   14380 
   14381 Fixed a regression introduced in the previous build where the
   14382 ASL/AML CreateField operator always returned an error,
   14383 "destination must be a NS Node".
   14384 
   14385 Extended the maximum time (before failure) to successfully enable
   14386 ACPI mode to 3 seconds.
   14387 
   14388 Code and Data Size: Current core subsystem library sizes are shown
   14389 below.  These are the code and data sizes for the acpica.lib
   14390 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14391 values do not include any ACPI driver or OSPM code.  The debug
   14392 version of the code includes the debug output trace mechanism and
   14393 has a larger code and data size.  Note that these values will vary
   14394 depending on the efficiency of the compiler and the compiler
   14395 options used during generation.
   14396 
   14397   Previous Release
   14398     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   14399     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   14400   Current Release:
   14401     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   14402     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   14403 
   14404 
   14405 2) Linux
   14406 
   14407 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
   14408 free. While 3 out of 4 of our in-house systems work fine, the last
   14409 one still hangs when testing the LAPIC timer.
   14410 
   14411 Renamed many files in 2.5 kernel release to omit "acpi_" from the
   14412 name.
   14413 
   14414 Added warning on boot for Presario 711FR.
   14415 
   14416 Sleep improvements (Pavel Machek)
   14417 
   14418 ACPI can now be built without CONFIG_PCI enabled.
   14419 
   14420 IA64: Fixed memory map functions (JI Lee)
   14421 
   14422 
   14423 3) iASL Compiler Version X2043:
   14424 
   14425 Added support to allow the compiler to be integrated into the MS
   14426 VC++ development environment for one-button compilation of single
   14427 files or entire projects -- with error-to-source-line mapping.
   14428 
   14429 Implemented support for compile-time constant folding for the
   14430 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
   14431 specification.  This allows the ASL writer to use expressions
   14432 instead of Integer/Buffer/String constants in terms that must
   14433 evaluate to constants at compile time and will also simplify the
   14434 emitted AML in any such sub-expressions that can be folded
   14435 (evaluated at compile-time.)  This increases the size of the
   14436 compiler significantly because a portion of the ACPI CA AML
   14437 interpreter is included within the compiler in order to pre-
   14438 evaluate constant expressions.
   14439 
   14440 
   14441 Fixed a problem with the "Unicode" ASL macro that caused the
   14442 compiler to fault.  (This macro is used in conjunction with the
   14443 _STR reserved name.)
   14444 
   14445 Implemented an AML opcode optimization to use the Zero, One, and
   14446 Ones opcodes where possible to further reduce the size of integer
   14447 constants and thus reduce the overall size of the generated AML
   14448 code.
   14449 
   14450 Implemented error checking for new reserved terms for ACPI version
   14451 2.0A.
   14452 
   14453 Implemented the -qr option to display the current list of ACPI
   14454 reserved names known to the compiler.
   14455 
   14456 Implemented the -qc option to display the current list of ASL
   14457 operators that are allowed within constant expressions and can
   14458 therefore be folded at compile time if the operands are constants.
   14459 
   14460 
   14461 4) Documentation
   14462 
   14463 Updated the Programmer's Reference for new interfaces, data types,
   14464 and memory allocation model options.
   14465 
   14466 Updated the iASL Compiler User Reference to apply new format and
   14467 add information about new features and options.
   14468 
   14469 ----------------------------------------
   14470 19 April 2002.  Summary of changes for this release.
   14471 
   14472 1) ACPI CA Core Subsystem Version 20020419:
   14473 
   14474 The source code base for the Core Subsystem has been completely
   14475 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
   14476 versions.  The Lint option files used are included in the
   14477 /acpi/generate/lint directory.
   14478 
   14479 Implemented enhanced status/error checking across the entire
   14480 Hardware manager subsystem.  Any hardware errors (reported from
   14481 the OSL) are now bubbled up and will abort a running control
   14482 method.
   14483 
   14484 
   14485 Fixed a problem where the per-ACPI-table integer width (32 or 64)
   14486 was stored only with control method nodes, causing a fault when
   14487 non-control method code was executed during table loading.  The
   14488 solution implemented uses a global variable to indicate table
   14489 width across the entire ACPI subsystem.  Therefore, ACPI CA does
   14490 not support mixed integer widths across different ACPI tables
   14491 (DSDT, SSDT).
   14492 
   14493 Fixed a problem where NULL extended fields (X fields) in an ACPI
   14494 2.0 ACPI FADT caused the table load to fail.  Although the
   14495 existing ACPI specification is a bit fuzzy on this topic, the new
   14496 behavior is to fall back on a ACPI 1.0 field if the corresponding
   14497 ACPI 2.0 X field is zero (even though the table revision indicates
   14498 a full ACPI 2.0 table.)  The ACPI specification will be updated to
   14499 clarify this issue.
   14500 
   14501 Fixed a problem with the SystemMemory operation region handler
   14502 where memory was always accessed byte-wise even if the AML-
   14503 specified access width was larger than a byte.  This caused
   14504 problems on systems with memory-mapped I/O.  Memory is now
   14505 accessed with the width specified.  On systems that do not support
   14506 non-aligned transfers, a check is made to guarantee proper address
   14507 alignment before proceeding in order to avoid an AML-caused
   14508 alignment fault within the kernel.
   14509 
   14510 
   14511 Fixed a problem with the ExtendedIrq resource where only one byte
   14512 of the 4-byte Irq field was extracted.
   14513 
   14514 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
   14515 function was out of date and required a rewrite.
   14516 
   14517 Code and Data Size: Current core subsystem library sizes are shown
   14518 below.  These are the code and data sizes for the acpica.lib
   14519 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14520 values do not include any ACPI driver or OSPM code.  The debug
   14521 version of the code includes the debug output trace mechanism and
   14522 has a larger code and data size.  Note that these values will vary
   14523 depending on the efficiency of the compiler and the compiler
   14524 options used during generation.
   14525 
   14526   Previous Release
   14527     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   14528     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   14529   Current Release:
   14530     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   14531     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   14532 
   14533 
   14534 2) Linux
   14535 
   14536 PCI IRQ routing fixes (Dominik Brodowski)
   14537 
   14538 
   14539 3) iASL Compiler Version X2042:
   14540 
   14541 Implemented an additional compile-time error check for a field
   14542 unit whose size + minimum access width would cause a run-time
   14543 access beyond the end-of-region.  Previously, only the field size
   14544 itself was checked.
   14545 
   14546 The Core subsystem and iASL compiler now share a common parse
   14547 object in preparation for compile-time evaluation of the type
   14548 3/4/5 ASL operators.
   14549 
   14550 
   14551 ----------------------------------------
   14552 Summary of changes for this release: 03_29_02
   14553 
   14554 1) ACPI CA Core Subsystem Version 20020329:
   14555 
   14556 Implemented support for late evaluation of TermArg operands to
   14557 Buffer and Package objects.  This allows complex expressions to be
   14558 used in the declarations of these object types.
   14559 
   14560 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
   14561 1.0, if the field was larger than 32 bits, it was returned as a
   14562 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
   14563 the field is returned as a buffer only if the field is larger than
   14564 64 bits.  The TableRevision is now considered when making this
   14565 conversion to avoid incompatibility with existing ASL code.
   14566 
   14567 Implemented logical addressing for AcpiOsGetRootPointer.  This
   14568 allows an RSDP with either a logical or physical address.  With
   14569 this support, the host OS can now override all ACPI tables with
   14570 one logical RSDP.  Includes implementation of  "typed" pointer
   14571 support to allow a common data type for both physical and logical
   14572 pointers internally.  This required a change to the
   14573 AcpiOsGetRootPointer interface.
   14574 
   14575 Implemented the use of ACPI 2.0 Generic Address Structures for all
   14576 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
   14577 mapped I/O for these ACPI features.
   14578 
   14579 Initialization now ignores not only non-required tables (All
   14580 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
   14581 not validate the table headers of unrecognized tables.
   14582 
   14583 Fixed a problem where a notify handler could only be
   14584 installed/removed on an object of type Device.  All "notify"
   14585 
   14586 objects are now supported -- Devices, Processor, Power, and
   14587 Thermal.
   14588 
   14589 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
   14590 critical information is returned when this debug level is enabled.
   14591 
   14592 Code and Data Size: Current core subsystem library sizes are shown
   14593 below.  These are the code and data sizes for the acpica.lib
   14594 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14595 values do not include any ACPI driver or OSPM code.  The debug
   14596 version of the code includes the debug output trace mechanism and
   14597 has a larger code and data size.  Note that these values will vary
   14598 depending on the efficiency of the compiler and the compiler
   14599 options used during generation.
   14600 
   14601   Previous Release
   14602     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   14603     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   14604   Current Release:
   14605     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   14606     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   14607 
   14608 
   14609 2) Linux:
   14610 
   14611 The processor driver (acpi_processor.c) now fully supports ACPI
   14612 2.0-based processor performance control (e.g. Intel(R)
   14613 SpeedStep(TM) technology) Note that older laptops that only have
   14614 the Intel "applet" interface are not supported through this.  The
   14615 'limit' and 'performance' interface (/proc) are fully functional.
   14616 [Note that basic policy for controlling performance state
   14617 transitions will be included in the next version of ospmd.]  The
   14618 idle handler was modified to more aggressively use C2, and PIIX4
   14619 errata handling underwent a complete overhaul (big thanks to
   14620 Dominik Brodowski).
   14621 
   14622 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
   14623 based devices in the ACPI namespace are now dynamically bound
   14624 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
   14625 This allows, among other things, ACPI to resolve bus numbers for
   14626 subordinate PCI bridges.
   14627 
   14628 Enhanced PCI IRQ routing to get the proper bus number for _PRT
   14629 entries defined underneath PCI bridges.
   14630 
   14631 Added IBM 600E to bad bios list due to invalid _ADR value for
   14632 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
   14633 
   14634 In the process of adding full MADT support (e.g. IOAPIC) for IA32
   14635 (acpi.c, mpparse.c) -- stay tuned.
   14636 
   14637 Added back visual differentiation between fixed-feature and
   14638 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
   14639 button/power/PWRF) to simplify button identification.
   14640 
   14641 We no longer use -Wno-unused when compiling debug. Please ignore
   14642 any "_THIS_MODULE defined but not used" messages.
   14643 
   14644 Can now shut down the system using "magic sysrq" key.
   14645 
   14646 
   14647 3) iASL Compiler version 2041:
   14648 
   14649 Fixed a problem where conversion errors for hex/octal/decimal
   14650 constants were not reported.
   14651 
   14652 Implemented a fix for the General Register template Address field.
   14653 This field was 8 bits when it should be 64.
   14654 
   14655 Fixed a problem where errors/warnings were no longer being emitted
   14656 within the listing output file.
   14657 
   14658 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
   14659 exactly 4 characters, alphanumeric only.
   14660 
   14661 
   14662 
   14663 
   14664 ----------------------------------------
   14665 Summary of changes for this release: 03_08_02
   14666 
   14667 
   14668 1) ACPI CA Core Subsystem Version 20020308:
   14669 
   14670 Fixed a problem with AML Fields where the use of the "AccessAny"
   14671 keyword could cause an interpreter error due to attempting to read
   14672 or write beyond the end of the parent Operation Region.
   14673 
   14674 Fixed a problem in the SystemMemory Operation Region handler where
   14675 an attempt was made to map memory beyond the end of the region.
   14676 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
   14677 errors on some Linux systems.
   14678 
   14679 Fixed a problem where the interpreter/namespace "search to root"
   14680 algorithm was not functioning for some object types.  Relaxed the
   14681 internal restriction on the search to allow upsearches for all
   14682 external object types as well as most internal types.
   14683 
   14684 
   14685 2) Linux:
   14686 
   14687 We now use safe_halt() macro versus individual calls to sti | hlt.
   14688 
   14689 Writing to the processor limit interface should now work. "echo 1"
   14690 will increase the limit, 2 will decrease, and 0 will reset to the
   14691 
   14692 default.
   14693 
   14694 
   14695 3) ASL compiler:
   14696 
   14697 Fixed segfault on Linux version.
   14698 
   14699 
   14700 ----------------------------------------
   14701 Summary of changes for this release: 02_25_02
   14702 
   14703 1) ACPI CA Core Subsystem:
   14704 
   14705 
   14706 Fixed a problem where the GPE bit masks were not initialized
   14707 properly, causing erratic GPE behavior.
   14708 
   14709 Implemented limited support for multiple calling conventions.  The
   14710 code can be generated with either the VPL (variable parameter
   14711 list, or "C") convention, or the FPL (fixed parameter list, or
   14712 "Pascal") convention.  The core subsystem is about 3.4% smaller
   14713 when generated with FPL.
   14714 
   14715 
   14716 2) Linux
   14717 
   14718 Re-add some /proc/acpi/event functionality that was lost during
   14719 the rewrite
   14720 
   14721 Resolved issue with /proc events for fixed-feature buttons showing
   14722 up as the system device.
   14723 
   14724 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
   14725 
   14726 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
   14727 
   14728 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
   14729 
   14730 Fixed limit interface & usage to fix bugs with passive cooling
   14731 hysterisis.
   14732 
   14733 Restructured PRT support.
   14734 
   14735 
   14736 ----------------------------------------
   14737 Summary of changes for this label: 02_14_02
   14738 
   14739 
   14740 1) ACPI CA Core Subsystem:
   14741 
   14742 Implemented support in AcpiLoadTable to allow loading of FACS and
   14743 FADT tables.
   14744 
   14745 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
   14746 been removed.  All 64-bit platforms should be migrated to the ACPI
   14747 2.0 tables.  The actbl71.h header has been removed from the source
   14748 tree.
   14749 
   14750 All C macros defined within the subsystem have been prefixed with
   14751 "ACPI_" to avoid collision with other system include files.
   14752 
   14753 Removed the return value for the two AcpiOsPrint interfaces, since
   14754 it is never used and causes lint warnings for ignoring the return
   14755 value.
   14756 
   14757 Added error checking to all internal mutex acquire and release
   14758 calls.  Although a failure from one of these interfaces is
   14759 probably a fatal system error, these checks will cause the
   14760 immediate abort of the currently executing method or interface.
   14761 
   14762 Fixed a problem where the AcpiSetCurrentResources interface could
   14763 fault.  This was a side effect of the deployment of the new memory
   14764 allocation model.
   14765 
   14766 Fixed a couple of problems with the Global Lock support introduced
   14767 in the last major build.  The "common" (1.0/2.0) internal FACS was
   14768 being overwritten with the FACS signature and clobbering the
   14769 Global Lock pointer.  Also, the actual firmware FACS was being
   14770 unmapped after construction of the "common" FACS, preventing
   14771 access to the actual Global Lock field within it.  The "common"
   14772 internal FACS is no longer installed as an actual ACPI table; it
   14773 is used simply as a global.
   14774 
   14775 Code and Data Size: Current core subsystem library sizes are shown
   14776 below.  These are the code and data sizes for the acpica.lib
   14777 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14778 values do not include any ACPI driver or OSPM code.  The debug
   14779 version of the code includes the debug output trace mechanism and
   14780 has a larger code and data size.  Note that these values will vary
   14781 depending on the efficiency of the compiler and the compiler
   14782 options used during generation.
   14783 
   14784   Previous Release (02_07_01)
   14785     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   14786     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   14787   Current Release:
   14788     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   14789     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   14790 
   14791 
   14792 2) Linux
   14793 
   14794 Updated Linux-specific code for core macro and OSL interface
   14795 changes described above.
   14796 
   14797 Improved /proc/acpi/event. It now can be opened only once and has
   14798 proper poll functionality.
   14799 
   14800 Fixed and restructured power management (acpi_bus).
   14801 
   14802 Only create /proc "view by type" when devices of that class exist.
   14803 
   14804 Fixed "charging/discharging" bug (and others) in acpi_battery.
   14805 
   14806 Improved thermal zone code.
   14807 
   14808 
   14809 3) ASL Compiler, version X2039:
   14810 
   14811 
   14812 Implemented the new compiler restriction on ASL String hex/octal
   14813 escapes to non-null, ASCII values.  An error results if an invalid
   14814 value is used.  (This will require an ACPI 2.0 specification
   14815 change.)
   14816 
   14817 AML object labels that are output to the optional C and ASM source
   14818 are now prefixed with both the ACPI table signature and table ID
   14819 to help guarantee uniqueness within a large BIOS project.
   14820 
   14821 
   14822 ----------------------------------------
   14823 Summary of changes for this label: 02_01_02
   14824 
   14825 1) ACPI CA Core Subsystem:
   14826 
   14827 ACPI 2.0 support is complete in the entire Core Subsystem and the
   14828 ASL compiler. All new ACPI 2.0 operators are implemented and all
   14829 other changes for ACPI 2.0 support are complete.  With
   14830 simultaneous code and data optimizations throughout the subsystem,
   14831 ACPI 2.0 support has been implemented with almost no additional
   14832 cost in terms of code and data size.
   14833 
   14834 Implemented a new mechanism for allocation of return buffers.  If
   14835 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
   14836 be allocated on behalf of the caller.  Consolidated all return
   14837 buffer validation and allocation to a common procedure.  Return
   14838 buffers will be allocated via the primary OSL allocation interface
   14839 since it appears that a separate pool is not needed by most users.
   14840 If a separate pool is required for these buffers, the caller can
   14841 still use the original mechanism and pre-allocate the buffer(s).
   14842 
   14843 Implemented support for string operands within the DerefOf
   14844 operator.
   14845 
   14846 Restructured the Hardware and Event managers to be table driven,
   14847 simplifying the source code and reducing the amount of generated
   14848 code.
   14849 
   14850 Split the common read/write low-level ACPI register bitfield
   14851 procedure into a separate read and write, simplifying the code
   14852 considerably.
   14853 
   14854 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
   14855 used only a handful of times and didn't have enough critical mass
   14856 for a separate interface.  Replaced with a common calloc procedure
   14857 in the core.
   14858 
   14859 Fixed a reported problem with the GPE number mapping mechanism
   14860 that allows GPE1 numbers to be non-contiguous with GPE0.
   14861 Reorganized the GPE information and shrunk a large array that was
   14862 originally large enough to hold info for all possible GPEs (256)
   14863 to simply large enough to hold all GPEs up to the largest GPE
   14864 number on the machine.
   14865 
   14866 Fixed a reported problem with resource structure alignment on 64-
   14867 bit platforms.
   14868 
   14869 Changed the AcpiEnableEvent and AcpiDisableEvent external
   14870 interfaces to not require any flags for the common case of
   14871 enabling/disabling a GPE.
   14872 
   14873 Implemented support to allow a "Notify" on a Processor object.
   14874 
   14875 Most TBDs in comments within the source code have been resolved
   14876 and eliminated.
   14877 
   14878 
   14879 Fixed a problem in the interpreter where a standalone parent
   14880 prefix (^) was not handled correctly in the interpreter and
   14881 debugger.
   14882 
   14883 Removed obsolete and unnecessary GPE save/restore code.
   14884 
   14885 Implemented Field support in the ASL Load operator.  This allows a
   14886 table to be loaded from a named field, in addition to loading a
   14887 table directly from an Operation Region.
   14888 
   14889 Implemented timeout and handle support in the external Global Lock
   14890 interfaces.
   14891 
   14892 Fixed a problem in the AcpiDump utility where pathnames were no
   14893 longer being generated correctly during the dump of named objects.
   14894 
   14895 Modified the AML debugger to give a full display of if/while
   14896 predicates instead of just one AML opcode at a time.  (The
   14897 predicate can have several nested ASL statements.)  The old method
   14898 was confusing during single stepping.
   14899 
   14900 Code and Data Size: Current core subsystem library sizes are shown
   14901 below. These are the code and data sizes for the acpica.lib
   14902 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14903 values do not include any ACPI driver or OSPM code.  The debug
   14904 version of the code includes the debug output trace mechanism and
   14905 has a larger code and data size.  Note that these values will vary
   14906 depending on the efficiency of the compiler and the compiler
   14907 options used during generation.
   14908 
   14909   Previous Release (12_18_01)
   14910      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   14911      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   14912    Current Release:
   14913      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   14914      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   14915 
   14916 2) Linux
   14917 
   14918  Implemented fix for PIIX reverse throttling errata (Processor
   14919 driver)
   14920 
   14921 Added new Limit interface (Processor and Thermal drivers)
   14922 
   14923 New thermal policy (Thermal driver)
   14924 
   14925 Many updates to /proc
   14926 
   14927 Battery "low" event support (Battery driver)
   14928 
   14929 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
   14930 
   14931 IA32 - IA64 initialization unification, no longer experimental
   14932 
   14933 Menuconfig options redesigned
   14934 
   14935 3) ASL Compiler, version X2037:
   14936 
   14937 Implemented several new output features to simplify integration of
   14938 AML code into  firmware: 1) Output the AML in C source code with
   14939 labels for each named ASL object.  The    original ASL source code
   14940 is interleaved as C comments. 2) Output the AML in ASM source code
   14941 with labels and interleaved ASL    source. 3) Output the AML in
   14942 raw hex table form, in either C or ASM.
   14943 
   14944 Implemented support for optional string parameters to the
   14945 LoadTable operator.
   14946 
   14947 Completed support for embedded escape sequences within string
   14948 literals.  The compiler now supports all single character escapes
   14949 as well as the Octal and Hex escapes.  Note: the insertion of a
   14950 null byte into a string literal (via the hex/octal escape) causes
   14951 the string to be immediately terminated.  A warning is issued.
   14952 
   14953 Fixed a problem where incorrect AML was generated for the case
   14954 where an ASL namepath consists of a single parent prefix (
   14955 
   14956 ) with no trailing name segments.
   14957 
   14958 The compiler has been successfully generated with a 64-bit C
   14959 compiler.
   14960 
   14961 
   14962 
   14963 
   14964 ----------------------------------------
   14965 Summary of changes for this label: 12_18_01
   14966 
   14967 1) Linux
   14968 
   14969 Enhanced blacklist with reason and severity fields. Any table's
   14970 signature may now be used to identify a blacklisted system.
   14971 
   14972 Call _PIC control method to inform the firmware which interrupt
   14973 model the OS is using. Turn on any disabled link devices.
   14974 
   14975 Cleaned up busmgr /proc error handling (Andreas Dilger)
   14976 
   14977  2) ACPI CA Core Subsystem:
   14978 
   14979 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
   14980 while loop)
   14981 
   14982 Completed implementation of the ACPI 2.0 "Continue",
   14983 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
   14984 operators.  All new ACPI 2.0 operators are now implemented in both
   14985 the ASL compiler and the AML interpreter.  The only remaining ACPI
   14986 2.0 task is support for the String data type in the DerefOf
   14987 operator.  Fixed a problem with AcquireMutex where the status code
   14988 was lost if the caller had to actually wait for the mutex.
   14989 
   14990 Increased the maximum ASL Field size from 64K bits to 4G bits.
   14991 
   14992 Completed implementation of the external Global Lock interfaces --
   14993 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
   14994 Handler parameters were added.
   14995 
   14996 Completed another pass at removing warnings and issues when
   14997 compiling with 64-bit compilers.  The code now compiles cleanly
   14998 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
   14999 add and subtract (diff) macros have changed considerably.
   15000 
   15001 
   15002 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
   15003 64-bit platforms, 32-bits on all others.  This type is used
   15004 wherever memory allocation and/or the C sizeof() operator is used,
   15005 and affects the OSL memory allocation interfaces AcpiOsAllocate
   15006 and AcpiOsCallocate.
   15007 
   15008 Implemented sticky user breakpoints in the AML debugger.
   15009 
   15010 Code and Data Size: Current core subsystem library sizes are shown
   15011 below. These are the code and data sizes for the acpica.lib
   15012 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15013 values do not include any ACPI driver or OSPM code.  The debug
   15014 version of the code includes the debug output trace mechanism and
   15015 has a larger code and data size. Note that these values will vary
   15016 depending on the efficiency of the compiler and the compiler
   15017 options used during generation.
   15018 
   15019   Previous Release (12_05_01)
   15020      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   15021      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   15022    Current Release:
   15023      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   15024      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   15025 
   15026  3) ASL Compiler, version X2034:
   15027 
   15028 Now checks for (and generates an error if detected) the use of a
   15029 Break or Continue statement without an enclosing While statement.
   15030 
   15031 
   15032 Successfully generated the compiler with the Intel 64-bit C
   15033 compiler.
   15034 
   15035  ----------------------------------------
   15036 Summary of changes for this label: 12_05_01
   15037 
   15038  1) ACPI CA Core Subsystem:
   15039 
   15040 The ACPI 2.0 CopyObject operator is fully implemented.  This
   15041 operator creates a new copy of an object (and is also used to
   15042 bypass the "implicit conversion" mechanism of the Store operator.)
   15043 
   15044 The ACPI 2.0 semantics for the SizeOf operator are fully
   15045 implemented.  The change is that performing a SizeOf on a
   15046 reference object causes an automatic dereference of the object to
   15047 tha actual value before the size is evaluated. This behavior was
   15048 undefined in ACPI 1.0.
   15049 
   15050 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
   15051 have been implemented.  The interrupt polarity and mode are now
   15052 independently set.
   15053 
   15054 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
   15055 appearing in Package objects were not properly converted to
   15056 integers when the internal Package was converted to an external
   15057 object (via the AcpiEvaluateObject interface.)
   15058 
   15059 Fixed a problem with the namespace object deletion mechanism for
   15060 objects created by control methods.  There were two parts to this
   15061 problem: 1) Objects created during the initialization phase method
   15062 parse were not being deleted, and 2) The object owner ID mechanism
   15063 to track objects was broken.
   15064 
   15065 Fixed a problem where the use of the ASL Scope operator within a
   15066 control method would result in an invalid opcode exception.
   15067 
   15068 Fixed a problem introduced in the previous label where the buffer
   15069 length required for the _PRT structure was not being returned
   15070 correctly.
   15071 
   15072 Code and Data Size: Current core subsystem library sizes are shown
   15073 below. These are the code and data sizes for the acpica.lib
   15074 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15075 values do not include any ACPI driver or OSPM code.  The debug
   15076 version of the code includes the debug output trace mechanism and
   15077 has a larger code and data size.  Note that these values will vary
   15078 depending on the efficiency of the compiler and the compiler
   15079 options used during generation.
   15080 
   15081   Previous Release (11_20_01)
   15082      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   15083      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   15084 
   15085   Current Release:
   15086      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   15087      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   15088 
   15089  2) Linux:
   15090 
   15091 Updated all files to apply cleanly against 2.4.16.
   15092 
   15093 Added basic PCI Interrupt Routing Table (PRT) support for IA32
   15094 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
   15095 version supports both static and dyanmic PRT entries, but dynamic
   15096 entries are treated as if they were static (not yet
   15097 reconfigurable).  Architecture- specific code to use this data is
   15098 absent on IA32 but should be available shortly.
   15099 
   15100 Changed the initialization sequence to start the ACPI interpreter
   15101 (acpi_init) prior to initialization of the PCI driver (pci_init)
   15102 in init/main.c.  This ordering is required to support PRT and
   15103 facilitate other (future) enhancement.  A side effect is that the
   15104 ACPI bus driver and certain device drivers can no longer be loaded
   15105 as modules.
   15106 
   15107 Modified the 'make menuconfig' options to allow PCI Interrupt
   15108 Routing support to be included without the ACPI Bus and other
   15109 device drivers.
   15110 
   15111  3) ASL Compiler, version X2033:
   15112 
   15113 Fixed some issues with the use of the new CopyObject and
   15114 DataTableRegion operators.  Both are fully functional.
   15115 
   15116  ----------------------------------------
   15117 Summary of changes for this label: 11_20_01
   15118 
   15119  20 November 2001.  Summary of changes for this release.
   15120 
   15121  1) ACPI CA Core Subsystem:
   15122 
   15123 Updated Index support to match ACPI 2.0 semantics.  Storing a
   15124 Integer, String, or Buffer to an Index of a Buffer will store only
   15125 the least-significant byte of the source to the Indexed buffer
   15126 byte.  Multiple writes are not performed.
   15127 
   15128 Fixed a problem where the access type used in an AccessAs ASL
   15129 operator was not recorded correctly into the field object.
   15130 
   15131 Fixed a problem where ASL Event objects were created in a
   15132 signalled state. Events are now created in an unsignalled state.
   15133 
   15134 The internal object cache is now purged after table loading and
   15135 initialization to reduce the use of dynamic kernel memory -- on
   15136 the assumption that object use is greatest during the parse phase
   15137 of the entire table (versus the run-time use of individual control
   15138 methods.)
   15139 
   15140 ACPI 2.0 variable-length packages are now fully operational.
   15141 
   15142 Code and Data Size: Code and Data optimizations have permitted new
   15143 feature development with an actual reduction in the library size.
   15144 Current core subsystem library sizes are shown below.  These are
   15145 the code and data sizes for the acpica.lib produced by the
   15146 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15147 any ACPI driver or OSPM code.  The debug version of the code
   15148 includes the debug output trace mechanism and has a larger code
   15149 and data size.  Note that these values will vary depending on the
   15150 efficiency of the compiler and the compiler options used during
   15151 generation.
   15152 
   15153   Previous Release (11_09_01):
   15154      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   15155      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   15156 
   15157   Current Release:
   15158      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   15159      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   15160 
   15161  2) Linux:
   15162 
   15163 Enhanced the ACPI boot-time initialization code to allow the use
   15164 of Local APIC tables for processor enumeration on IA-32, and to
   15165 pave the way for a fully MPS-free boot (on SMP systems) in the
   15166 near future.  This functionality replaces
   15167 arch/i386/kernel/acpitables.c, which was introduced in an earlier
   15168 2.4.15-preX release.  To enable this feature you must add
   15169 "acpi_boot=on" to the kernel command line -- see the help entry
   15170 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
   15171 the works...
   15172 
   15173 Restructured the configuration options to allow boot-time table
   15174 parsing support without inclusion of the ACPI Interpreter (and
   15175 other) code.
   15176 
   15177 NOTE: This release does not include fixes for the reported events,
   15178 power-down, and thermal passive cooling issues (coming soon).
   15179 
   15180  3) ASL Compiler:
   15181 
   15182 Added additional typechecking for Fields within restricted access
   15183 Operation Regions.  All fields within EC and CMOS regions must be
   15184 declared with ByteAcc. All fields withing SMBus regions must be
   15185 declared with the BufferAcc access type.
   15186 
   15187 Fixed a problem where the listing file output of control methods
   15188 no longer interleaved the actual AML code with the ASL source
   15189 code.
   15190 
   15191 
   15192 
   15193 
   15194 ----------------------------------------
   15195 Summary of changes for this label: 11_09_01
   15196 
   15197 1) ACPI CA Core Subsystem:
   15198 
   15199 Implemented ACPI 2.0-defined support for writes to fields with a
   15200 Buffer, String, or Integer source operand that is smaller than the
   15201 target field. In these cases, the source operand is zero-extended
   15202 to fill the target field.
   15203 
   15204 Fixed a problem where a Field starting bit offset (within the
   15205 parent operation region) was calculated incorrectly if the
   15206 
   15207 alignment of the field differed from the access width.  This
   15208 affected CreateWordField, CreateDwordField, CreateQwordField, and
   15209 possibly other fields that use the "AccessAny" keyword.
   15210 
   15211 Fixed a problem introduced in the 11_02_01 release where indirect
   15212 stores through method arguments did not operate correctly.
   15213 
   15214 2) Linux:
   15215 
   15216 Implemented boot-time ACPI table parsing support
   15217 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
   15218 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
   15219 legacy BIOS interfaces (e.g. MPS) for the configuration of system
   15220 processors, memory, and interrupts during setup_arch().  Note that
   15221 this patch does not include the required architecture-specific
   15222 changes required to apply this information -- subsequent patches
   15223 will be posted for both IA32 and IA64 to achieve this.
   15224 
   15225 Added low-level sleep support for IA32 platforms, courtesy of Pat
   15226 Mochel. This allows IA32 systems to transition to/from various
   15227 sleeping states (e.g. S1, S3), although the lack of a centralized
   15228 driver model and power-manageable drivers will prevent its
   15229 (successful) use on most systems.
   15230 
   15231 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
   15232 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
   15233 tables" option, etc.
   15234 
   15235 Increased the default timeout for the EC driver from 1ms to 10ms
   15236 (1000 cycles of 10us) to try to address AE_TIME errors during EC
   15237 transactions.
   15238 
   15239  ----------------------------------------
   15240 Summary of changes for this label: 11_02_01
   15241 
   15242 1) ACPI CA Core Subsystem:
   15243 
   15244 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
   15245 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
   15246 implemented.
   15247 
   15248 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
   15249 changes to support ACPI 2.0 Qword field access.  Read/Write
   15250 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
   15251 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
   15252 the value parameter for the address space handler interface is now
   15253 an ACPI_INTEGER.  OSL implementations of these interfaces must now
   15254 handle the case where the Width parameter is 64.
   15255 
   15256 Index Fields: Fixed a problem where unaligned bit assembly and
   15257 disassembly for IndexFields was not supported correctly.
   15258 
   15259 Index and Bank Fields:  Nested Index and Bank Fields are now
   15260 supported. During field access, a check is performed to ensure
   15261 that the value written to an Index or Bank register is not out of
   15262 the range of the register.  The Index (or Bank) register is
   15263 written before each access to the field data. Future support will
   15264 include allowing individual IndexFields to be wider than the
   15265 DataRegister width.
   15266 
   15267 Fields: Fixed a problem where the AML interpreter was incorrectly
   15268 attempting to write beyond the end of a Field/OpRegion.  This was
   15269 a boundary case that occurred when a DWORD field was written to a
   15270 BYTE access OpRegion, forcing multiple writes and causing the
   15271 interpreter to write one datum too many.
   15272 
   15273 Fields: Fixed a problem with Field/OpRegion access where the
   15274 starting bit address of a field was incorrectly calculated if the
   15275 current access type was wider than a byte (WordAcc, DwordAcc, or
   15276 QwordAcc).
   15277 
   15278 Fields: Fixed a problem where forward references to individual
   15279 FieldUnits (individual Field names within a Field definition) were
   15280 not resolved during the AML table load.
   15281 
   15282 Fields: Fixed a problem where forward references from a Field
   15283 definition to the parent Operation Region definition were not
   15284 resolved during the AML table load.
   15285 
   15286 Fields: Duplicate FieldUnit names within a scope are now detected
   15287 during AML table load.
   15288 
   15289 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
   15290 returned an incorrect name for the root node.
   15291 
   15292 Code and Data Size: Code and Data optimizations have permitted new
   15293 feature development with an actual reduction in the library size.
   15294 Current core subsystem library sizes are shown below.  These are
   15295 the code and data sizes for the acpica.lib produced by the
   15296 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15297 any ACPI driver or OSPM code.  The debug version of the code
   15298 includes the debug output trace mechanism and has a larger code
   15299 and data size.  Note that these values will vary depending on the
   15300 efficiency of the compiler and the compiler options used during
   15301 generation.
   15302 
   15303   Previous Release (10_18_01):
   15304      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   15305      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   15306 
   15307   Current Release:
   15308      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   15309      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   15310 
   15311  2) Linux:
   15312 
   15313 Improved /proc processor output (Pavel Machek) Re-added
   15314 MODULE_LICENSE("GPL") to all modules.
   15315 
   15316  3) ASL Compiler version X2030:
   15317 
   15318 Duplicate FieldUnit names within a scope are now detected and
   15319 flagged as errors.
   15320 
   15321  4) Documentation:
   15322 
   15323 Programmer Reference updated to reflect OSL and address space
   15324 handler interface changes described above.
   15325 
   15326 ----------------------------------------
   15327 Summary of changes for this label: 10_18_01
   15328 
   15329 ACPI CA Core Subsystem:
   15330 
   15331 Fixed a problem with the internal object reference count mechanism
   15332 that occasionally caused premature object deletion. This resolves
   15333 all of the outstanding problem reports where an object is deleted
   15334 in the middle of an interpreter evaluation.  Although this problem
   15335 only showed up in rather obscure cases, the solution to the
   15336 problem involved an adjustment of all reference counts involving
   15337 objects attached to namespace nodes.
   15338 
   15339 Fixed a problem with Field support in the interpreter where
   15340 writing to an aligned field whose length is an exact multiple (2
   15341 or greater) of the field access granularity would cause an attempt
   15342 to write beyond the end of the field.
   15343 
   15344 The top level AML opcode execution functions within the
   15345 interpreter have been renamed with a more meaningful and
   15346 consistent naming convention.  The modules exmonad.c and
   15347 exdyadic.c were eliminated.  New modules are exoparg1.c,
   15348 exoparg2.c, exoparg3.c, and exoparg6.c.
   15349 
   15350 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
   15351 
   15352 Fixed a problem where the AML debugger was causing some internal
   15353 objects to not be deleted during subsystem termination.
   15354 
   15355 Fixed a problem with the external AcpiEvaluateObject interface
   15356 where the subsystem would fault if the named object to be
   15357 evaluated refered to a constant such as Zero, Ones, etc.
   15358 
   15359 Fixed a problem with IndexFields and BankFields where the
   15360 subsystem would fault if the index, data, or bank registers were
   15361 not defined in the same scope as the field itself.
   15362 
   15363 Added printf format string checking for compilers that support
   15364 this feature.  Corrected more than 50 instances of issues with
   15365 format specifiers within invocations of ACPI_DEBUG_PRINT
   15366 throughout the core subsystem code.
   15367 
   15368 The ASL "Revision" operator now returns the ACPI support level
   15369 implemented in the core - the value "2" since the ACPI 2.0 support
   15370 is more than 50% implemented.
   15371 
   15372 Enhanced the output of the AML debugger "dump namespace" command
   15373 to output in a more human-readable form.
   15374 
   15375 Current core subsystem library code sizes are shown below.  These
   15376 
   15377 are the code and data sizes for the acpica.lib produced by the
   15378 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15379 any ACPI driver or OSPM code.  The debug version of the code
   15380 includes the full debug trace mechanism -- leading to a much
   15381 
   15382 larger code and data size.  Note that these values will vary
   15383 depending on the efficiency of the compiler and the compiler
   15384 options used during generation.
   15385 
   15386      Previous Label (09_20_01):
   15387      Non-Debug Version:    65K Code,     5K Data,     70K Total
   15388      Debug Version:       138K Code,    58K Data,    196K Total
   15389 
   15390      This Label:
   15391 
   15392      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   15393      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   15394 
   15395 Linux:
   15396 
   15397 Implemented a "Bad BIOS Blacklist" to track machines that have
   15398 known ASL/AML problems.
   15399 
   15400 Enhanced the /proc interface for the thermal zone driver and added
   15401 support for _HOT (the critical suspend trip point).  The 'info'
   15402 file now includes threshold/policy information, and allows setting
   15403 of _SCP (cooling preference) and _TZP (polling frequency) values
   15404 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
   15405 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
   15406 preference to the passive/quiet mode (if supported by the ASL).
   15407 
   15408 Implemented a workaround for a gcc bug that resuted in an OOPs
   15409 when loading the control method battery driver.
   15410 
   15411  ----------------------------------------
   15412 Summary of changes for this label: 09_20_01
   15413 
   15414  ACPI CA Core Subsystem:
   15415 
   15416 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
   15417 modified to allow individual GPE levels to be flagged as wake-
   15418 enabled (i.e., these GPEs are to remain enabled when the platform
   15419 sleeps.)
   15420 
   15421 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
   15422 support wake-enabled GPEs.  This means that upon entering the
   15423 sleep state, all GPEs that are not wake-enabled are disabled.
   15424 When leaving the sleep state, these GPEs are reenabled.
   15425 
   15426 A local double-precision divide/modulo module has been added to
   15427 enhance portability to OS kernels where a 64-bit math library is
   15428 not available.  The new module is "utmath.c".
   15429 
   15430 Several optimizations have been made to reduce the use of CPU
   15431 stack.  Originally over 2K, the maximum stack usage is now below
   15432 2K at 1860  bytes (1.82k)
   15433 
   15434 Fixed a problem with the AcpiGetFirmwareTable interface where the
   15435 root table pointer was not mapped into a logical address properly.
   15436 
   15437 Fixed a problem where a NULL pointer was being dereferenced in the
   15438 interpreter code for the ASL Notify operator.
   15439 
   15440 Fixed a problem where the use of the ASL Revision operator
   15441 returned an error. This operator now returns the current version
   15442 of the ACPI CA core subsystem.
   15443 
   15444 Fixed a problem where objects passed as control method parameters
   15445 to AcpiEvaluateObject were always deleted at method termination.
   15446 However, these objects may end up being stored into the namespace
   15447 by the called method.  The object reference count mechanism was
   15448 applied to these objects instead of a force delete.
   15449 
   15450 Fixed a problem where static strings or buffers (contained in the
   15451 AML code) that are declared as package elements within the ASL
   15452 code could cause a fault because the interpreter would attempt to
   15453 delete them.  These objects are now marked with the "static
   15454 object" flag to prevent any attempt to delete them.
   15455 
   15456 Implemented an interpreter optimization to use operands directly
   15457 from the state object instead of extracting the operands to local
   15458 variables.  This reduces stack use and code size, and improves
   15459 performance.
   15460 
   15461 The module exxface.c was eliminated as it was an unnecessary extra
   15462 layer of code.
   15463 
   15464 Current core subsystem library code sizes are shown below.  These
   15465 are the code and data sizes for the acpica.lib produced by the
   15466 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15467 any ACPI driver or OSPM code.  The debug version of the code
   15468 includes the full debug trace mechanism -- leading to a much
   15469 larger code and data size.  Note that these values will vary
   15470 depending on the efficiency of the compiler and the compiler
   15471 options used during generation.
   15472 
   15473   Non-Debug Version:  65K Code,   5K Data,   70K Total
   15474 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
   15475 Total  (Previously 195K)
   15476 
   15477 Linux:
   15478 
   15479 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
   15480 Integer objects are now 64 bits wide
   15481 
   15482 All Acpi data types and structures are now in lower case.  Only
   15483 Acpi macros are upper case for differentiation.
   15484 
   15485  Documentation:
   15486 
   15487 Changes to the external interfaces as described above.
   15488 
   15489  ----------------------------------------
   15490 Summary of changes for this label: 08_31_01
   15491 
   15492  ACPI CA Core Subsystem:
   15493 
   15494 A bug with interpreter implementation of the ASL Divide operator
   15495 was found and fixed.  The implicit function return value (not the
   15496 explicit store operands) was returning the remainder instead of
   15497 the quotient.  This was a longstanding bug and it fixes several
   15498 known outstanding issues on various platforms.
   15499 
   15500 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
   15501 been further optimized for size.  There are 700 invocations of the
   15502 DEBUG_PRINT macro alone, so each optimization reduces the size of
   15503 the debug version of the subsystem significantly.
   15504 
   15505 A stack trace mechanism has been implemented.  The maximum stack
   15506 usage is about 2K on 32-bit platforms.  The debugger command "stat
   15507 stack" will display the current maximum stack usage.
   15508 
   15509 All public symbols and global variables within the subsystem are
   15510 now prefixed with the string "Acpi".  This keeps all of the
   15511 symbols grouped together in a kernel map, and avoids conflicts
   15512 with other kernel subsystems.
   15513 
   15514 Most of the internal fixed lookup tables have been moved into the
   15515 code segment via the const operator.
   15516 
   15517 Several enhancements have been made to the interpreter to both
   15518 reduce the code size and improve performance.
   15519 
   15520 Current core subsystem library code sizes are shown below.  These
   15521 are the code and data sizes for the acpica.lib produced by the
   15522 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15523 any ACPI driver or OSPM code.  The debug version of the code
   15524 includes the full debug trace mechanism which contains over 700
   15525 invocations of the DEBUG_PRINT macro, 500 function entry macro
   15526 invocations, and over 900 function exit macro invocations --
   15527 leading to a much larger code and data size.  Note that these
   15528 values will vary depending on the efficiency of the compiler and
   15529 the compiler options used during generation.
   15530 
   15531         Non-Debug Version:  64K Code,   5K Data,   69K Total
   15532 Debug Version:     137K Code,  58K Data,  195K Total
   15533 
   15534  Linux:
   15535 
   15536 Implemented wbinvd() macro, pending a kernel-wide definition.
   15537 
   15538 Fixed /proc/acpi/event to handle poll() and short reads.
   15539 
   15540  ASL Compiler, version X2026:
   15541 
   15542 Fixed a problem introduced in the previous label where the AML
   15543 
   15544 code emitted for package objects produced packages with zero
   15545 length.
   15546 
   15547  ----------------------------------------
   15548 Summary of changes for this label: 08_16_01
   15549 
   15550 ACPI CA Core Subsystem:
   15551 
   15552 The following ACPI 2.0 ASL operators have been implemented in the
   15553 AML interpreter (These are already supported by the Intel ASL
   15554 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
   15555 ToBuffer.  Support for 64-bit AML constants is implemented in the
   15556 AML parser, debugger, and disassembler.
   15557 
   15558 The internal memory tracking mechanism (leak detection code) has
   15559 been upgraded to reduce the memory overhead (a separate tracking
   15560 block is no longer allocated for each memory allocation), and now
   15561 supports all of the internal object caches.
   15562 
   15563 The data structures and code for the internal object caches have
   15564 been coelesced and optimized so that there is a single cache and
   15565 memory list data structure and a single group of functions that
   15566 implement generic cache management.  This has reduced the code
   15567 size in both the debug and release versions of the subsystem.
   15568 
   15569 The DEBUG_PRINT macro(s) have been optimized for size and replaced
   15570 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
   15571 different, because it generates a single call to an internal
   15572 function.  This results in a savings of about 90 bytes per
   15573 invocation, resulting in an overall code and data savings of about
   15574 16% in the debug version of the subsystem.
   15575 
   15576  Linux:
   15577 
   15578 Fixed C3 disk corruption problems and re-enabled C3 on supporting
   15579 machines.
   15580 
   15581 Integrated low-level sleep code by Patrick Mochel.
   15582 
   15583 Further tweaked source code Linuxization.
   15584 
   15585 Other minor fixes.
   15586 
   15587  ASL Compiler:
   15588 
   15589 Support for ACPI 2.0 variable length packages is fixed/completed.
   15590 
   15591 Fixed a problem where the optional length parameter for the ACPI
   15592 2.0 ToString operator.
   15593 
   15594 Fixed multiple extraneous error messages when a syntax error is
   15595 detected within the declaration line of a control method.
   15596 
   15597  ----------------------------------------
   15598 Summary of changes for this label: 07_17_01
   15599 
   15600 ACPI CA Core Subsystem:
   15601 
   15602 Added a new interface named AcpiGetFirmwareTable to obtain any
   15603 ACPI table via the ACPI signature.  The interface can be called at
   15604 any time during kernel initialization, even before the kernel
   15605 virtual memory manager is initialized and paging is enabled.  This
   15606 allows kernel subsystems to obtain ACPI tables very early, even
   15607 before the ACPI CA subsystem is initialized.
   15608 
   15609 Fixed a problem where Fields defined with the AnyAcc attribute
   15610 could be resolved to the incorrect address under the following
   15611 conditions: 1) the field width is larger than 8 bits and 2) the
   15612 parent operation region is not defined on a DWORD boundary.
   15613 
   15614 Fixed a problem where the interpreter is not being locked during
   15615 namespace initialization (during execution of the _INI control
   15616 methods), causing an error when an attempt is made to release it
   15617 later.
   15618 
   15619 ACPI 2.0 support in the AML Interpreter has begun and will be
   15620 ongoing throughout the rest of this year.  In this label, The Mod
   15621 operator is implemented.
   15622 
   15623 Added a new data type to contain full PCI addresses named
   15624 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
   15625 and Function values.
   15626 
   15627  Linux:
   15628 
   15629 Enhanced the Linux version of the source code to change most
   15630 capitalized ACPI type names to lowercase. For example, all
   15631 instances of ACPI_STATUS are changed to acpi_status.  This will
   15632 result in a large diff, but the change is strictly cosmetic and
   15633 aligns the CA code closer to the Linux coding standard.
   15634 
   15635 OSL Interfaces:
   15636 
   15637 The interfaces to the PCI configuration space have been changed to
   15638 add the PCI Segment number and to split the single 32-bit combined
   15639 DeviceFunction field into two 16-bit fields.  This was
   15640 accomplished by moving the four values that define an address in
   15641 PCI configuration space (segment, bus, device, and function) to
   15642 the new ACPI_PCI_ID structure.
   15643 
   15644 The changes to the PCI configuration space interfaces led to a
   15645 reexamination of the complete set of address space access
   15646 interfaces for PCI, I/O, and Memory.  The previously existing 18
   15647 interfaces have proven difficult to maintain (any small change
   15648 must be propagated across at least 6 interfaces) and do not easily
   15649 allow for future expansion to 64 bits if necessary.  Also, on some
   15650 systems, it would not be appropriate to demultiplex the access
   15651 width (8, 16, 32,or 64) before calling the OSL if the
   15652 corresponding native OS interfaces contain a similar access width
   15653 parameter.  For these reasons, the 18 address space interfaces
   15654 have been replaced by these 6 new ones:
   15655 
   15656 AcpiOsReadPciConfiguration
   15657 AcpiOsWritePciConfiguration
   15658 AcpiOsReadMemory
   15659 AcpiOsWriteMemory
   15660 AcpiOsReadPort
   15661 AcpiOsWritePort
   15662 
   15663 Added a new interface named AcpiOsGetRootPointer to allow the OSL
   15664 to perform the platform and/or OS-specific actions necessary to
   15665 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
   15666 interface will simply call down to the CA core to perform the low-
   15667 memory search for the table.  On IA-64, the RSDP is obtained from
   15668 EFI.  Migrating this interface to the OSL allows the CA core to
   15669 
   15670 remain OS and platform independent.
   15671 
   15672 Added a new interface named AcpiOsSignal to provide a generic
   15673 "function code and pointer" interface for various miscellaneous
   15674 signals and notifications that must be made to the host OS.   The
   15675 first such signals are intended to support the ASL Fatal and
   15676 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
   15677 interface has been obsoleted.
   15678 
   15679 The definition of the AcpiFormatException interface has been
   15680 changed to simplify its use.  The caller no longer must supply a
   15681 buffer to the call; A pointer to a const string is now returned
   15682 directly.  This allows the call to be easily used in printf
   15683 statements, etc. since the caller does not have to manage a local
   15684 buffer.
   15685 
   15686 
   15687  ASL Compiler, Version X2025:
   15688 
   15689 The ACPI 2.0 Switch/Case/Default operators have been implemented
   15690 and are fully functional.  They will work with all ACPI 1.0
   15691 interpreters, since the operators are simply translated to If/Else
   15692 pairs.
   15693 
   15694 The ACPI 2.0 ElseIf operator is implemented and will also work
   15695 with 1.0 interpreters, for the same reason.
   15696 
   15697 Implemented support for ACPI 2.0 variable-length packages.  These
   15698 packages have a separate opcode, and their size is determined by
   15699 the interpreter at run-time.
   15700 
   15701 Documentation The ACPI CA Programmer Reference has been updated to
   15702 reflect the new interfaces and changes to existing interfaces.
   15703 
   15704  ------------------------------------------
   15705 Summary of changes for this label: 06_15_01
   15706 
   15707  ACPI CA Core Subsystem:
   15708 
   15709 Fixed a problem where a DWORD-accessed field within a Buffer
   15710 object would get its byte address inadvertently rounded down to
   15711 the nearest DWORD.  Buffers are always Byte-accessible.
   15712 
   15713  ASL Compiler, version X2024:
   15714 
   15715 Fixed a problem where the Switch() operator would either fault or
   15716 hang the compiler.  Note however, that the AML code for this ACPI
   15717 2.0 operator is not yet implemented.
   15718 
   15719 Compiler uses the new AcpiOsGetTimer interface to obtain compile
   15720 timings.
   15721 
   15722 Implementation of the CreateField operator automatically converts
   15723 a reference to a named field within a resource descriptor from a
   15724 byte offset to a bit offset if required.
   15725 
   15726 Added some missing named fields from the resource descriptor
   15727 support. These are the names that are automatically created by the
   15728 compiler to reference fields within a descriptor.  They are only
   15729 valid at compile time and are not passed through to the AML
   15730 interpreter.
   15731 
   15732 Resource descriptor named fields are now typed as Integers and
   15733 subject to compile-time typechecking when used in expressions.
   15734 
   15735  ------------------------------------------
   15736 Summary of changes for this label: 05_18_01
   15737 
   15738  ACPI CA Core Subsystem:
   15739 
   15740 Fixed a couple of problems in the Field support code where bits
   15741 from adjacent fields could be returned along with the proper field
   15742 bits. Restructured the field support code to improve performance,
   15743 readability and maintainability.
   15744 
   15745 New DEBUG_PRINTP macro automatically inserts the procedure name
   15746 into the output, saving hundreds of copies of procedure name
   15747 strings within the source, shrinking the memory footprint of the
   15748 debug version of the core subsystem.
   15749 
   15750  Source Code Structure:
   15751 
   15752 The source code directory tree was restructured to reflect the
   15753 current organization of the component architecture.  Some files
   15754 and directories have been moved and/or renamed.
   15755 
   15756  Linux:
   15757 
   15758 Fixed leaking kacpidpc processes.
   15759 
   15760 Fixed queueing event data even when /proc/acpi/event is not
   15761 opened.
   15762 
   15763  ASL Compiler, version X2020:
   15764 
   15765 Memory allocation performance enhancement - over 24X compile time
   15766 improvement on large ASL files.  Parse nodes and namestring
   15767 buffers are now allocated from a large internal compiler buffer.
   15768 
   15769 The temporary .SRC file is deleted unless the "-s" option is
   15770 specified
   15771 
   15772 The "-d" debug output option now sends all output to the .DBG file
   15773 instead of the console.
   15774 
   15775 "External" second parameter is now optional
   15776 
   15777 "ElseIf" syntax now properly allows the predicate
   15778 
   15779 Last operand to "Load" now recognized as a Target operand
   15780 
   15781 Debug object can now be used anywhere as a normal object.
   15782 
   15783 ResourceTemplate now returns an object of type BUFFER
   15784 
   15785 EISAID now returns an object of type INTEGER
   15786 
   15787 "Index" now works with a STRING operand
   15788 
   15789 "LoadTable" now accepts optional parameters
   15790 
   15791 "ToString" length parameter is now optional
   15792 
   15793 "Interrupt (ResourceType," parse error fixed.
   15794 
   15795 "Register" with a user-defined region space parse error fixed
   15796 
   15797 Escaped backslash at the end of a string ("\\") scan/parse error
   15798 fixed
   15799 
   15800 "Revision" is now an object of type INTEGER.
   15801 
   15802 
   15803 
   15804 ------------------------------------------
   15805 Summary of changes for this label: 05_02_01
   15806 
   15807 Linux:
   15808 
   15809 /proc/acpi/event now blocks properly.
   15810 
   15811 Removed /proc/sys/acpi. You can still dump your DSDT from
   15812 /proc/acpi/dsdt.
   15813 
   15814  ACPI CA Core Subsystem:
   15815 
   15816 Fixed a problem introduced in the previous label where some of the
   15817 "small" resource descriptor types were not recognized.
   15818 
   15819 Improved error messages for the case where an ASL Field is outside
   15820 the range of the parent operation region.
   15821 
   15822  ASL Compiler, version X2018:
   15823 
   15824 
   15825 Added error detection for ASL Fields that extend beyond the length
   15826 of the parent operation region (only if the length of the region
   15827 is known at compile time.)  This includes fields that have a
   15828 minimum access width that is smaller than the parent region, and
   15829 individual field units that are partially or entirely beyond the
   15830 extent of the parent.
   15831 
   15832 
   15833 
   15834 ------------------------------------------
   15835 Summary of changes for this label: 04_27_01
   15836 
   15837  ACPI CA Core Subsystem:
   15838 
   15839 Fixed a problem where the namespace mutex could be released at the
   15840 wrong time during execution of AcpiRemoveAddressSpaceHandler.
   15841 
   15842 Added optional thread ID output for debug traces, to simplify
   15843 debugging of multiple threads.  Added context switch notification
   15844 when the debug code realizes that a different thread is now
   15845 executing ACPI code.
   15846 
   15847 Some additional external data types have been prefixed with the
   15848 string "ACPI_" for consistency.  This may effect existing code.
   15849 The data types affected are the external callback typedefs - e.g.,
   15850 
   15851 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
   15852 
   15853  Linux:
   15854 
   15855 Fixed an issue with the OSL semaphore implementation where a
   15856 thread was waking up with an error from receiving a SIGCHLD
   15857 signal.
   15858 
   15859 Linux version of ACPI CA now uses the system C library for string
   15860 manipulation routines instead of a local implementation.
   15861 
   15862 Cleaned up comments and removed TBDs.
   15863 
   15864  ASL Compiler, version X2017:
   15865 
   15866 Enhanced error detection and reporting for all file I/O
   15867 operations.
   15868 
   15869  Documentation:
   15870 
   15871 Programmer Reference updated to version 1.06.
   15872 
   15873 
   15874 
   15875 ------------------------------------------
   15876 Summary of changes for this label: 04_13_01
   15877 
   15878  ACPI CA Core Subsystem:
   15879 
   15880 Restructured support for BufferFields and RegionFields.
   15881 BankFields support is now fully operational.  All known 32-bit
   15882 limitations on field sizes have been removed.  Both BufferFields
   15883 and (Operation) RegionFields are now supported by the same field
   15884 management code.
   15885 
   15886 Resource support now supports QWORD address and IO resources. The
   15887 16/32/64 bit address structures and the Extended IRQ structure
   15888 have been changed to properly handle Source Resource strings.
   15889 
   15890 A ThreadId of -1 is now used to indicate a "mutex not acquired"
   15891 condition internally and must never be returned by AcpiOsThreadId.
   15892 This reserved value was changed from 0 since Unix systems allow a
   15893 thread ID of 0.
   15894 
   15895 Linux:
   15896 
   15897 Driver code reorganized to enhance portability
   15898 
   15899 Added a kernel configuration option to control ACPI_DEBUG
   15900 
   15901 Fixed the EC driver to honor _GLK.
   15902 
   15903 ASL Compiler, version X2016:
   15904 
   15905 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
   15906 address space was set to 0, not 0x7f as it should be.
   15907 
   15908  ------------------------------------------
   15909 Summary of changes for this label: 03_13_01
   15910 
   15911  ACPI CA Core Subsystem:
   15912 
   15913 During ACPI initialization, the _SB_._INI method is now run if
   15914 present.
   15915 
   15916 Notify handler fix - notifies are deferred until the parent method
   15917 completes execution.  This fixes the "mutex already acquired"
   15918 issue seen occasionally.
   15919 
   15920 Part of the "implicit conversion" rules in ACPI 2.0 have been
   15921 found to cause compatibility problems with existing ASL/AML.  The
   15922 convert "result-to-target-type" implementation has been removed
   15923 for stores to method Args and Locals.  Source operand conversion
   15924 is still fully implemented.  Possible changes to ACPI 2.0
   15925 specification pending.
   15926 
   15927 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
   15928 length.
   15929 
   15930 Fix for compiler warnings for 64-bit compiles.
   15931 
   15932  Linux:
   15933 
   15934 /proc output aligned for easier parsing.
   15935 
   15936 Release-version compile problem fixed.
   15937 
   15938 New kernel configuration options documented in Configure.help.
   15939 
   15940 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
   15941 context" message.
   15942 
   15943  OSPM:
   15944 
   15945 Power resource driver integrated with bus manager.
   15946 
   15947 Fixed kernel fault during active cooling for thermal zones.
   15948 
   15949 Source Code:
   15950 
   15951 The source code tree has been restructured.
   15952 
   15953 
   15954 
   15955 ------------------------------------------
   15956 Summary of changes for this label: 03_02_01
   15957 
   15958  Linux OS Services Layer (OSL):
   15959 
   15960 Major revision of all Linux-specific code.
   15961 
   15962 Modularized all ACPI-specific drivers.
   15963 
   15964 Added new thermal zone and power resource drivers.
   15965 
   15966 Revamped /proc interface (new functionality is under /proc/acpi).
   15967 
   15968 New kernel configuration options.
   15969 
   15970  Linux known issues:
   15971 
   15972 New kernel configuration options not documented in Configure.help
   15973 yet.
   15974 
   15975 
   15976 Module dependencies not currently implemented. If used, they
   15977 should be loaded in this order: busmgr, power, ec, system,
   15978 processor, battery, ac_adapter, button, thermal.
   15979 
   15980 Modules will not load if CONFIG_MODVERSION is set.
   15981 
   15982 IBM 600E - entering S5 may reboot instead of shutting down.
   15983 
   15984 IBM 600E - Sleep button may generate "Invalid <NULL> context"
   15985 message.
   15986 
   15987 Some systems may fail with "execution mutex already acquired"
   15988 message.
   15989 
   15990  ACPI CA Core Subsystem:
   15991 
   15992 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
   15993 for the  deadlock detection code. Defined to return a non-zero, 32-
   15994 bit thread ID for the currently executing thread.  May be a non-
   15995 zero constant integer on single-thread systems.
   15996 
   15997 Implemented deadlock detection for internal subsystem mutexes.  We
   15998 may add conditional compilation for this code (debug only) later.
   15999 
   16000 ASL/AML Mutex object semantics are now fully supported.  This
   16001 includes multiple acquires/releases by owner and support for the
   16002 
   16003 Mutex SyncLevel parameter.
   16004 
   16005 A new "Force Release" mechanism automatically frees all ASL
   16006 Mutexes that have been acquired but not released when a thread
   16007 exits the interpreter.  This forces conformance to the ACPI spec
   16008 ("All mutexes must be released when an invocation exits") and
   16009 prevents deadlocked ASL threads.  This mechanism can be expanded
   16010 (later) to monitor other resource acquisitions if OEM ASL code
   16011 continues to misbehave (which it will).
   16012 
   16013 Several new ACPI exception codes have been added for the Mutex
   16014 support.
   16015 
   16016 Recursive method calls are now allowed and supported (the ACPI
   16017 spec does in fact allow recursive method calls.)  The number of
   16018 recursive calls is subject to the restrictions imposed by the
   16019 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
   16020 parameter.
   16021 
   16022 Implemented support for the SyncLevel parameter for control
   16023 methods (ACPI 2.0 feature)
   16024 
   16025 Fixed a deadlock problem when multiple threads attempted to use
   16026 the interpreter.
   16027 
   16028 Fixed a problem where the string length of a String package
   16029 element was not always set in a package returned from
   16030 AcpiEvaluateObject.
   16031 
   16032 Fixed a problem where the length of a String package element was
   16033 not always included in the length of the overall package returned
   16034 from AcpiEvaluateObject.
   16035 
   16036 Added external interfaces (Acpi*) to the ACPI debug memory
   16037 manager.  This manager keeps a list of all outstanding
   16038 allocations, and can therefore detect memory leaks and attempts to
   16039 free memory blocks more than once. Useful for code such as the
   16040 power manager, etc.  May not be appropriate for device drivers.
   16041 Performance with the debug code enabled is slow.
   16042 
   16043 The ACPI Global Lock is now an optional hardware element.
   16044 
   16045  ASL Compiler Version X2015:
   16046 
   16047 Integrated changes to allow the compiler to be generated on
   16048 multiple platforms.
   16049 
   16050 Linux makefile added to generate the compiler on Linux
   16051 
   16052  Source Code:
   16053 
   16054 All platform-specific headers have been moved to their own
   16055 subdirectory, Include/Platform.
   16056 
   16057 New source file added, Interpreter/ammutex.c
   16058 
   16059 New header file, Include/acstruct.h
   16060 
   16061  Documentation:
   16062 
   16063 The programmer reference has been updated for the following new
   16064 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
   16065 
   16066  ------------------------------------------
   16067 Summary of changes for this label: 02_08_01
   16068 
   16069 Core ACPI CA Subsystem: Fixed a problem where an error was
   16070 incorrectly returned if the return resource buffer was larger than
   16071 the actual data (in the resource interfaces).
   16072 
   16073 References to named objects within packages are resolved to the
   16074 
   16075 full pathname string before packages are returned directly (via
   16076 the AcpiEvaluateObject interface) or indirectly via the resource
   16077 interfaces.
   16078 
   16079 Linux OS Services Layer (OSL):
   16080 
   16081 Improved /proc battery interface.
   16082 
   16083 
   16084 Added C-state debugging output and other miscellaneous fixes.
   16085 
   16086 ASL Compiler Version X2014:
   16087 
   16088 All defined method arguments can now be used as local variables,
   16089 including the ones that are not actually passed in as parameters.
   16090 The compiler tracks initialization of the arguments and issues an
   16091 exception if they are used without prior assignment (just like
   16092 locals).
   16093 
   16094 The -o option now specifies a filename prefix that is used for all
   16095 output files, including the AML output file.  Otherwise, the
   16096 default behavior is as follows:  1) the AML goes to the file
   16097 specified in the DSDT.  2) all other output files use the input
   16098 source filename as the base.
   16099 
   16100  ------------------------------------------
   16101 Summary of changes for this label: 01_25_01
   16102 
   16103 Core ACPI CA Subsystem: Restructured the implementation of object
   16104 store support within the  interpreter.  This includes support for
   16105 the Store operator as well  as any ASL operators that include a
   16106 target operand.
   16107 
   16108 Partially implemented support for Implicit Result-to-Target
   16109 conversion. This is when a result object is converted on the fly
   16110 to the type of  an existing target object.  Completion of this
   16111 support is pending  further analysis of the ACPI specification
   16112 concerning this matter.
   16113 
   16114 CPU-specific code has been removed from the subsystem (hardware
   16115 directory).
   16116 
   16117 New Power Management Timer functions added
   16118 
   16119 Linux OS Services Layer (OSL): Moved system state transition code
   16120 to the core, fixed it, and modified  Linux OSL accordingly.
   16121 
   16122 Fixed C2 and C3 latency calculations.
   16123 
   16124 
   16125 We no longer use the compilation date for the version message on
   16126 initialization, but retrieve the version from AcpiGetSystemInfo().
   16127 
   16128 Incorporated for fix Sony VAIO machines.
   16129 
   16130 Documentation:  The Programmer Reference has been updated and
   16131 reformatted.
   16132 
   16133 
   16134 ASL Compiler:  Version X2013: Fixed a problem where the line
   16135 numbering and error reporting could get out  of sync in the
   16136 presence of multiple include files.
   16137 
   16138  ------------------------------------------
   16139 Summary of changes for this label: 01_15_01
   16140 
   16141 Core ACPI CA Subsystem:
   16142 
   16143 Implemented support for type conversions in the execution of the
   16144 ASL  Concatenate operator (The second operand is converted to
   16145 match the type  of the first operand before concatenation.)
   16146 
   16147 Support for implicit source operand conversion is partially
   16148 implemented.   The ASL source operand types Integer, Buffer, and
   16149 String are freely  interchangeable for most ASL operators and are
   16150 converted by the interpreter  on the fly as required.  Implicit
   16151 Target operand conversion (where the  result is converted to the
   16152 target type before storing) is not yet implemented.
   16153 
   16154 Support for 32-bit and 64-bit BCD integers is implemented.
   16155 
   16156 Problem fixed where a field read on an aligned field could cause a
   16157 read  past the end of the field.
   16158 
   16159 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
   16160 does not return a value, but the caller expects one.  (The ASL
   16161 compiler flags this as a warning.)
   16162 
   16163 ASL Compiler:
   16164 
   16165 Version X2011:
   16166 1. Static typechecking of all operands is implemented. This
   16167 prevents the use of invalid objects (such as using a Package where
   16168 an Integer is required) at compile time instead of at interpreter
   16169 run-time.
   16170 2. The ASL source line is printed with ALL errors and warnings.
   16171 3. Bug fix for source EOF without final linefeed.
   16172 4. Debug option is split into a parse trace and a namespace trace.
   16173 5. Namespace output option (-n) includes initial values for
   16174 integers and strings.
   16175 6. Parse-only option added for quick syntax checking.
   16176 7. Compiler checks for duplicate ACPI name declarations
   16177 
   16178 Version X2012:
   16179 1. Relaxed typechecking to allow interchangeability between
   16180 strings, integers, and buffers.  These types are now converted by
   16181 the interpreter at runtime.
   16182 2. Compiler reports time taken by each internal subsystem in the
   16183 debug         output file.
   16184 
   16185 
   16186  ------------------------------------------
   16187 Summary of changes for this label: 12_14_00
   16188 
   16189 ASL Compiler:
   16190 
   16191 This is the first official release of the compiler. Since the
   16192 compiler requires elements of the Core Subsystem, this label
   16193 synchronizes everything.
   16194 
   16195 ------------------------------------------
   16196 Summary of changes for this label: 12_08_00
   16197 
   16198 
   16199 Fixed a problem where named references within the ASL definition
   16200 of both OperationRegions and CreateXXXFields did not work
   16201 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   16202 initialization of the region/field. This is similar (but not
   16203 related internally) to the problem that was fixed in the last
   16204 label.
   16205 
   16206 Implemented both 32-bit and 64-bit support for the BCD ASL
   16207 functions ToBCD and FromBCD.
   16208 
   16209 Updated all legal headers to include "2000" in the copyright
   16210 years.
   16211 
   16212  ------------------------------------------
   16213 Summary of changes for this label: 12_01_00
   16214 
   16215 Fixed a problem where method invocations within the ASL definition
   16216 of both OperationRegions and CreateXXXFields did not work
   16217 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   16218 initialization of the region/field:
   16219 
   16220   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
   16221 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
   16222 (0x3005)
   16223 
   16224 Fixed a problem where operators with more than one nested
   16225 subexpression would fail.  The symptoms were varied, by mostly
   16226 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
   16227 problem that has gone unnoticed until now.
   16228 
   16229   Subtract (Add (1,2), Multiply (3,4))
   16230 
   16231 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
   16232 previous build (The prefix part of a relative path was handled
   16233 incorrectly).
   16234 
   16235 Fixed a problem where Operation Region initialization failed if
   16236 the operation region name was a "namepath" instead of a simple
   16237 "nameseg". Symptom was an AE_NO_OPERAND error.
   16238 
   16239 Fixed a problem where an assignment to a local variable via the
   16240 indirect RefOf mechanism only worked for the first such
   16241 assignment.  Subsequent assignments were ignored.
   16242 
   16243  ------------------------------------------
   16244 Summary of changes for this label: 11_15_00
   16245 
   16246 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
   16247 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
   16248 the AML  interpreter does NOT have support for the new 2.0 ASL
   16249 grammar terms at this time.
   16250 
   16251 All ACPI hardware access is via the GAS structures in the ACPI 2.0
   16252 FADT.
   16253 
   16254 All physical memory addresses across all platforms are now 64 bits
   16255 wide. Logical address width remains dependent on the platform
   16256 (i.e., "void *").
   16257 
   16258 AcpiOsMapMemory interface changed to a 64-bit physical address.
   16259 
   16260 The AML interpreter integer size is now 64 bits, as per the ACPI
   16261 2.0 specification.
   16262 
   16263 For backwards compatibility with ACPI 1.0, ACPI tables with a
   16264 revision number less than 2 use 32-bit integers only.
   16265 
   16266 Fixed a problem where the evaluation of OpRegion operands did not
   16267 always resolve them to numbers properly.
   16268 
   16269 ------------------------------------------
   16270 Summary of changes for this label: 10_20_00
   16271 
   16272 Fix for CBN_._STA issue.  This fix will allow correct access to
   16273 CBN_ OpRegions when the _STA returns 0x8.
   16274 
   16275 Support to convert ACPI constants (Ones, Zeros, One) to actual
   16276 values before a package object is returned
   16277 
   16278 Fix for method call as predicate to if/while construct causing
   16279 incorrect if/while behavior
   16280 
   16281 Fix for Else block package lengths sometimes calculated wrong (if
   16282 block > 63 bytes)
   16283 
   16284 Fix for Processor object length field, was always zero
   16285 
   16286 Table load abort if FACP sanity check fails
   16287 
   16288 Fix for problem with Scope(name) if name already exists
   16289 
   16290 Warning emitted if a named object referenced cannot be found
   16291 (resolved) during method execution.
   16292 
   16293 
   16294 
   16295 
   16296 
   16297 ------------------------------------------
   16298 Summary of changes for this label: 9_29_00
   16299 
   16300 New table initialization interfaces: AcpiInitializeSubsystem no
   16301 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
   16302 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
   16303 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
   16304 AcpiLoadTables
   16305 
   16306 Note: These interface changes require changes to all existing OSDs
   16307 
   16308 The PCI_Config default address space handler is always installed
   16309 at the root namespace object.
   16310 
   16311 -------------------------------------------
   16312 Summary of changes for this label: 09_15_00
   16313 
   16314 The new initialization architecture is implemented.  New
   16315 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
   16316 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
   16317 
   16318 (Namespace is automatically loaded when a table is loaded)
   16319 
   16320 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
   16321 52 bytes to 32 bytes.  There is usually one of these for every
   16322 namespace object, so the memory savings is significant.
   16323 
   16324 Implemented just-in-time evaluation of the CreateField operators.
   16325 
   16326 Bug fixes for IA-64 support have been integrated.
   16327 
   16328 Additional code review comments have been implemented
   16329 
   16330 The so-called "third pass parse" has been replaced by a final walk
   16331 through the namespace to initialize all operation regions (address
   16332 spaces) and fields that have not yet been initialized during the
   16333 execution of the various _INI and REG methods.
   16334 
   16335 New file - namespace/nsinit.c
   16336 
   16337 -------------------------------------------
   16338 Summary of changes for this label: 09_01_00
   16339 
   16340 Namespace manager data structures have been reworked to change the
   16341 primary  object from a table to a single object.  This has
   16342 resulted in dynamic memory  savings of 3X within the namespace and
   16343 2X overall in the ACPI CA subsystem.
   16344 
   16345 Fixed problem where the call to AcpiEvFindPciRootBuses was
   16346 inadvertently left  commented out.
   16347 
   16348 Reduced the warning count when generating the source with the GCC
   16349 compiler.
   16350 
   16351 Revision numbers added to each module header showing the
   16352 SourceSafe version of the file.  Please refer to this version
   16353 number when giving us feedback or comments on individual modules.
   16354 
   16355 The main object types within the subsystem have been renamed to
   16356 clarify their  purpose:
   16357 
   16358 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
   16359 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
   16360 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
   16361 
   16362 NOTE: no changes to the initialization sequence are included in
   16363 this label.
   16364 
   16365 -------------------------------------------
   16366 Summary of changes for this label: 08_23_00
   16367 
   16368 Fixed problem where TerminateControlMethod was being called
   16369 multiple times per  method
   16370 
   16371 Fixed debugger problem where single stepping caused a semaphore to
   16372 be  oversignalled
   16373 
   16374 Improved performance through additional parse object caching -
   16375 added  ACPI_EXTENDED_OP type
   16376 
   16377 -------------------------------------------
   16378 Summary of changes for this label: 08_10_00
   16379 
   16380 Parser/Interpreter integration:  Eliminated the creation of
   16381 complete parse trees  for ACPI tables and control methods.
   16382 Instead, parse subtrees are created and  then deleted as soon as
   16383 they are processed (Either entered into the namespace or  executed
   16384 by the interpreter).  This reduces the use of dynamic kernel
   16385 memory  significantly. (about 10X)
   16386 
   16387 Exception codes broken into classes and renumbered.  Be sure to
   16388 recompile all  code that includes acexcep.h.  Hopefully we won't
   16389 have to renumber the codes  again now that they are split into
   16390 classes (environment, programmer, AML code,  ACPI table, and
   16391 internal).
   16392 
   16393 Fixed some additional alignment issues in the Resource Manager
   16394 subcomponent
   16395 
   16396 Implemented semaphore tracking in the AcpiExec utility, and fixed
   16397 several places  where mutexes/semaphores were being unlocked
   16398 without a corresponding lock  operation.  There are no known
   16399 semaphore or mutex "leaks" at this time.
   16400 
   16401 Fixed the case where an ASL Return operator is used to return an
   16402 unnamed  package.
   16403 
   16404 -------------------------------------------
   16405 Summary of changes for this label: 07_28_00
   16406 
   16407 Fixed a problem with the way addresses were calculated in
   16408 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
   16409 manifested itself when a Field was  created with WordAccess or
   16410 DwordAccess, but the field unit defined within the  Field was less
   16411 
   16412 than a Word or Dword.
   16413 
   16414 Fixed a problem in AmlDumpOperands() module's loop to pull
   16415 operands off of the  operand stack to display information. The
   16416 problem manifested itself as a TLB  error on 64-bit systems when
   16417 accessing an operand stack with two or more  operands.
   16418 
   16419 Fixed a problem with the PCI configuration space handlers where
   16420 context was  getting confused between accesses. This required a
   16421 change to the generic address  space handler and address space
   16422 setup definitions. Handlers now get both a  global handler context
   16423 (this is the one passed in by the user when executing
   16424 AcpiInstallAddressSpaceHandler() and a specific region context
   16425 that is unique to  each region (For example, the _ADR, _SEG and
   16426 _BBN values associated with a  specific region). The generic
   16427 function definitions have changed to the  following:
   16428 
   16429 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
   16430 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
   16431 *HandlerContext, // This used to be void *Context void
   16432 *RegionContext); // This is an additional parameter
   16433 
   16434 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
   16435 RegionHandle, UINT32 Function, void *HandlerContext,  void
   16436 **RegionContext); // This used to be **ReturnContext
   16437 
   16438 -------------------------------------------
   16439 Summary of changes for this label: 07_21_00
   16440 
   16441 Major file consolidation and rename.  All files within the
   16442 interpreter have been  renamed as well as most header files.  This
   16443 was done to prevent collisions with  existing files in the host
   16444 OSs -- filenames such as "config.h" and "global.h"  seem to be
   16445 quite common.  The VC project files have been updated.  All
   16446 makefiles  will require modification.
   16447 
   16448 The parser/interpreter integration continues in Phase 5 with the
   16449 implementation  of a complete 2-pass parse (the AML is parsed
   16450 twice) for each table;  This  avoids the construction of a huge
   16451 parse tree and therefore reduces the amount of  dynamic memory
   16452 required by the subsystem.  Greater use of the parse object cache
   16453 means that performance is unaffected.
   16454 
   16455 Many comments from the two code reviews have been rolled in.
   16456 
   16457 The 64-bit alignment support is complete.
   16458 
   16459 -------------------------------------------
   16460 Summary of changes for this label: 06_30_00
   16461 
   16462 With a nod and a tip of the hat to the technology of yesteryear,
   16463 we've added  support in the source code for 80 column output
   16464 devices.  The code is now mostly  constrained to 80 columns or
   16465 less to support environments and editors that 1)  cannot display
   16466 or print more than 80 characters on a single line, and 2) cannot
   16467 disable line wrapping.
   16468 
   16469 A major restructuring of the namespace data structure has been
   16470 completed.  The  result is 1) cleaner and more
   16471 understandable/maintainable code, and 2) a  significant reduction
   16472 in the dynamic memory requirement for each named ACPI  object
   16473 (almost half).
   16474 
   16475 -------------------------------------------
   16476 Summary of changes for this label: 06_23_00
   16477 
   16478 Linux support has been added.  In order to obtain approval to get
   16479 the ACPI CA  subsystem into the Linux kernel, we've had to make
   16480 quite a few changes to the  base subsystem that will affect all
   16481 users (all the changes are generic and OS- independent).  The
   16482 effects of these global changes have been somewhat far  reaching.
   16483 Files have been merged and/or renamed and interfaces have been
   16484 renamed.   The major changes are described below.
   16485 
   16486 Osd* interfaces renamed to AcpiOs* to eliminate namespace
   16487 pollution/confusion  within our target kernels.  All OSD
   16488 interfaces must be modified to match the new  naming convention.
   16489 
   16490 Files merged across the subsystem.  A number of the smaller source
   16491 and header  files have been merged to reduce the file count and
   16492 increase the density of the  existing files.  There are too many
   16493 to list here.  In general, makefiles that  call out individual
   16494 files will require rebuilding.
   16495 
   16496 Interpreter files renamed.  All interpreter files now have the
   16497 prefix am*  instead of ie* and is*.
   16498 
   16499 Header files renamed:  The acapi.h file is now acpixf.h.  The
   16500 acpiosd.h file is  now acpiosxf.h.  We are removing references to
   16501 the acronym "API" since it is  somewhat windowsy. The new name is
   16502 "external interface" or xface or xf in the  filenames.j
   16503 
   16504 
   16505 All manifest constants have been forced to upper case (some were
   16506 mixed case.)   Also, the string "ACPI_" has been prepended to many
   16507 (not all) of the constants,  typedefs, and structs.
   16508 
   16509 The globals "DebugLevel" and "DebugLayer" have been renamed
   16510 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
   16511 
   16512 All other globals within the subsystem are now prefixed with
   16513 "AcpiGbl_" Internal procedures within the subsystem are now
   16514 prefixed with "Acpi" (with only  a few exceptions).  The original
   16515 two-letter abbreviation for the subcomponent  remains after "Acpi"
   16516 - for example, CmCallocate became AcpiCmCallocate.
   16517 
   16518 Added a source code translation/conversion utility.  Used to
   16519 generate the Linux  source code, it can be modified to generate
   16520 other types of source as well. Can  also be used to cleanup
   16521 existing source by removing extraneous spaces and blank  lines.
   16522 Found in tools/acpisrc/*
   16523 
   16524 OsdUnMapMemory was renamed to OsdUnmapMemory and then
   16525 AcpiOsUnmapMemory.  (UnMap  became Unmap).
   16526 
   16527 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
   16528 When set to  one, this indicates that the caller wants to use the
   16529 
   16530 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
   16531 both types.  However, implementers of this  call may want to use
   16532 different OS primitives depending on the type of semaphore
   16533 requested.  For example, some operating systems provide separate
   16534 
   16535 "mutex" and  "semaphore" interfaces - where the mutex interface is
   16536 much faster because it  doesn't have all the overhead of a full
   16537 semaphore implementation.
   16538 
   16539 Fixed a deadlock problem where a method that accesses the PCI
   16540 address space can  block forever if it is the first access to the
   16541 space.
   16542 
   16543 -------------------------------------------
   16544 Summary of changes for this label: 06_02_00
   16545 
   16546 Support for environments that cannot handle unaligned data
   16547 accesses (e.g.  firmware and OS environments devoid of alignment
   16548 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
   16549 been added (via configurable macros) in  these three areas: -
   16550 Transfer of data from the raw AML byte stream is done via byte
   16551 moves instead of    word/dword/qword moves. - External objects are
   16552 aligned within the user buffer, including package   elements (sub-
   16553 objects). - Conversion of name strings to UINT32 Acpi Names is now
   16554 done byte-wise.
   16555 
   16556 The Store operator was modified to mimic Microsoft's
   16557 implementation when storing  to a Buffer Field.
   16558 
   16559 Added a check of the BM_STS bit before entering C3.
   16560 
   16561 The methods subdirectory has been obsoleted and removed.  A new
   16562 file, cmeval.c  subsumes the functionality.
   16563 
   16564 A 16-bit (DOS) version of AcpiExec has been developed.  The
   16565 makefile is under  the acpiexec directory.
   16566