Home | History | Annotate | Line # | Download | only in dist
changes.txt revision 1.1.1.9
      1 ----------------------------------------
      2 22 April 2016. Summary of changes for version 20160422:
      3 
      4 1) ACPICA kernel-resident subsystem:
      5 
      6 Fixed a regression in the GAS (generic address structure) arbitrary bit 
      7 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
      8 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
      9 
     10 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
     11 was added to each of these macros, and the original name has been 
     12 deprecated. The AML disassembler will always disassemble to the new 
     13 names. Support for the new macros was added to iASL, disassembler, 
     14 resource manager, and the acpihelp utility. ACPICA BZ 1274.
     15 
     16     I2cSerialBus  -> I2cSerialBusV2
     17     SpiSerialBus  -> SpiSerialBusV2
     18     UartSerialBus -> UartSerialBusV2
     19 
     20 ACPI 6.0: Added support for a new integer field that was appended to the 
     21 package object returned by the _BIX method. This adds iASL compile-time 
     22 and AML runtime error checking. ACPICA BZ 1273.
     23 
     24 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
     25 Subspace Type2" (Headers, Disassembler, and data table compiler).
     26 
     27 Example Code and Data Size: These are the sizes for the OS-independent 
     28 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
     29 debug version of the code includes the debug output trace mechanism and 
     30 has a much larger code and data size.
     31 
     32   Current Release:
     33     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
     34     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
     35   Previous Release:
     36     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
     37     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
     38 
     39 
     40 2) iASL Compiler/Disassembler and Tools:
     41 
     42 iASL: Implemented an ASL grammar extension to allow/enable executable 
     43 "module-level code" to be created and executed under the various 
     44 operators that create new scopes. This type of AML code is already 
     45 supported in all known AML interpreters, and the grammar change will 
     46 appear in the next version of the ACPI specification. Simplifies the 
     47 conditional runtime creation of named objects under these object types: 
     48 
     49     Device
     50     PowerResource
     51     Processor
     52     Scope
     53     ThermalZone
     54 
     55 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
     56 ease-of-use to the ASL language. The syntax is similar to the 
     57 corresponding C operator, and is implemented with the existing AML While 
     58 opcode -- thus requiring no changes to existing AML interpreters.
     59 
     60     For (Initialize, Predicate, Update) {TermList}
     61 
     62 Grammar:
     63     ForTerm :=
     64         For (
     65             Initializer    // Nothing | TermArg => ComputationalData
     66             Predicate      // Nothing | TermArg => ComputationalData
     67             Update         // Nothing | TermArg => ComputationalData
     68         ) {TermList}
     69 
     70 
     71 iASL: The _HID/_ADR detection and validation has been enhanced to search 
     72 under conditionals in order to allow these objects to be conditionally 
     73 created at runtime.
     74 
     75 iASL: Fixed several issues with the constant folding feature. The 
     76 improvement allows better detection and resolution of statements that can 
     77 be folded at compile time. ACPICA BZ 1266. 
     78 
     79 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
     80 conversion to the ASL ElseIf operator where incorrect ASL code could be 
     81 generated.
     82 
     83 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
     84 sometimes an extra (and extraneous) set of parentheses were emitted for 
     85 some combinations of operators. Although this did not cause any problems 
     86 with recompilation of the disassembled code, it made the code more 
     87 difficult to read. David Box. ACPICA BZ 1231.
     88 
     89 iASL: Changed to ignore the unreferenced detection for predefined names 
     90 of resource descriptor elements, when the resource descriptor is 
     91 created/defined within a control method.
     92 
     93 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
     94 objects.
     95 
     96 ----------------------------------------
     97 18 March 2016. Summary of changes for version 20160318:
     98 
     99 1) ACPICA kernel-resident subsystem:
    100 
    101 Added support for arbitrary bit lengths and bit offsets for registers 
    102 defined by the Generic Address Structure. Previously, only aligned bit 
    103 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
    104 but recently some machines have been seen that require arbitrary bit-
    105 level support. ACPICA BZ 1240. Lv Zheng.
    106 
    107 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
    108 before any _REG methods are evaluated. Lv Zheng.
    109 
    110 Implemented several changes related to ACPI table support 
    111 (Headers/Disassembler/TableCompiler):
    112 NFIT: For ACPI 6.1, updated to add some additional new fields and 
    113 constants.
    114 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
    115 6).
    116 DMAR: Added new constants per the 10/2014 DMAR spec.
    117 IORT: Added new subtable per the 10/2015 IORT spec.
    118 HEST: For ACPI 6.1, added new constants and new subtable.
    119 DBG2: Added new constants per the 12/2015 DBG2 spec.
    120 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
    121 ACPICA BZ 1249.
    122 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
    123 
    124 Updated header support for the DMAR table to match the current version of 
    125 the related spec.
    126 
    127 Added extensions to the ASL Concatenate operator to allow any ACPI object 
    128 to be passed as an operand. Any object other than Integer/String/Buffer 
    129 simply returns a string containing the object type. This extends the 
    130 usefulness of the Printf macros. Previously, Concatenate would abort the 
    131 control method if a non-data object was encountered.
    132 
    133 ACPICA source code: Deployed the C "const" keyword across the source code 
    134 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
    135 
    136 Example Code and Data Size: These are the sizes for the OS-independent 
    137 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    138 debug version of the code includes the debug output trace mechanism and 
    139 has a much larger code and data size.
    140 
    141   Current Release:
    142     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
    143     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
    144   Previous Release:
    145     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
    146     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
    147 
    148 
    149 2) iASL Compiler/Disassembler and Tools:
    150 
    151 iASL/Disassembler: Improved the heuristic used to determine the number of 
    152 arguments for an externally defined control method (a method in another 
    153 table). Although this is an improvement, there is no deterministic way to 
    154 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
    155 will completely solve this problem as it is deployed (automatically) in 
    156 newer BIOS code.
    157 
    158 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
    159 statements that could cause errors when the disassembled file is 
    160 compiled. ACPICA BZ 1243. David Box.
    161 
    162 iASL: Fixed a regression caused by the merger of the two versions of the 
    163 local strtoul64. Because of a dependency on a global variable, strtoul64 
    164 could return an error for integers greater than a 32-bit value. ACPICA BZ 
    165 1260.
    166 
    167 iASL: Fixed a regression where a fault could occur for an ASL Return 
    168 statement if it invokes a control method that is not resolved. ACPICA BZ 
    169 1264.
    170 
    171 AcpiXtract: Improved input file validation: detection of binary files and 
    172 non-acpidump text files.
    173 
    174 ----------------------------------------
    175 12 February 2016. Summary of changes for version 20160212:
    176 
    177 1) ACPICA kernel-resident subsystem:
    178 
    179 Implemented full support for the ACPI 6.1 specification (released in 
    180 January). This version of the specification is available at:  
    181 http://www.uefi.org/specifications
    182 
    183 Only a relatively small number of changes were required in ACPICA to 
    184 support ACPI 6.1, in these areas:
    185 - New predefined names
    186 - New _HID values
    187 - A new subtable for HEST
    188 - A few other header changes for new values
    189 
    190 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
    191 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
    192 
    193 Reverted a change made in version 20151218 which enabled method 
    194 invocations to be targets of various ASL operators (SuperName and Target 
    195 grammar elements). While the new behavior is supported by the ACPI 
    196 specification, other AML interpreters do not support this behavior and 
    197 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
    198 this support. Therefore, the change was reverted to the original ACPICA 
    199 behavior.
    200 
    201 ACPICA now supports the GCC 6 compiler.
    202 
    203 Current Release: (Note: build changes increased sizes)
    204     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
    205     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
    206 Previous Release:
    207     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
    208     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
    209 
    210 
    211 2) iASL Compiler/Disassembler and Tools:
    212 
    213 Completed full support for the ACPI 6.0 External() AML opcode. The 
    214 compiler emits an external AML opcode for each ASL External statement. 
    215 This opcode is used by the disassembler to assist with the disassembly of 
    216 external control methods by specifying the required number of arguments 
    217 for the method. AML interpreters do not use this opcode. To ensure that 
    218 interpreters do not even see the opcode, a block of one or more external 
    219 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
    220 commonly deployed in BIOS code, the ability of disassemblers to correctly 
    221 disassemble AML code will be greatly improved. David Box.
    222 
    223 iASL: Implemented support for an optional cross-reference output file. 
    224 The -lx option will create a the cross-reference file with the suffix 
    225 "xrf". Three different types of cross-reference are created in this file:
    226 - List of object references made from within each control method
    227 - Invocation (caller) list for each user-defined control method
    228 - List of references to each non-method object in the namespace
    229 
    230 iASL: Method invocations as ASL Target operands are now disallowed and 
    231 flagged as errors in preparation for ACPI 6.2 (see the description of the 
    232 problem above).
    233 
    234 ----------------------------------------
    235 8 January 2016. Summary of changes for version 20160108:
    236 
    237 1) ACPICA kernel-resident subsystem:
    238 
    239 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
    240 copyright to all source code module headers and utility/tool signons. 
    241 This includes the standard Linux dual-license header. This affects 
    242 virtually every file in the ACPICA core subsystem, iASL compiler, all 
    243 ACPICA utilities, and the ACPICA test suite.
    244 
    245 Fixed a regression introduced in version 20151218 concerning the 
    246 execution of so-called module-level ASL/AML code. Namespace objects 
    247 created under a module-level If() construct were not properly/fully 
    248 entered into the namespace and could cause an interpreter fault when 
    249 accessed.
    250 
    251 Example Code and Data Size: These are the sizes for the OS-independent 
    252 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    253 debug version of the code includes the debug output trace mechanism and 
    254 has a much larger code and data size.
    255 
    256 Current Release:
    257     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
    258     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
    259   Previous Release:
    260     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
    261     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
    262 
    263 
    264 2) iASL Compiler/Disassembler and Tools:
    265 
    266 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
    267 descriptors. The _PIN field name was incorrectly defined to be an array 
    268 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
    269 would cause incorrect bit width warnings when using Word (16-bit) fields 
    270 to access the descriptors.
    271 
    272 
    273 ----------------------------------------
    274 18 December 2015. Summary of changes for version 20151218:
    275 
    276 1) ACPICA kernel-resident subsystem:
    277 
    278 Implemented per-AML-table execution of "module-level code" as individual 
    279 ACPI tables are loaded into the namespace during ACPICA initialization. 
    280 In other words, any module-level code within an AML table is executed 
    281 immediately after the table is loaded, instead of batched and executed 
    282 after all of the tables have been loaded. This provides compatibility 
    283 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
    284 David Box.
    285 
    286 To fully support the feature above, the default operation region handlers 
    287 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
    288 installed before any ACPI tables are loaded. This enables module-level 
    289 code to access these address spaces during the table load and module-
    290 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
    291 Box.
    292 
    293 Implemented several changes to the internal _REG support in conjunction 
    294 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
    295 utilities for the changes above. Although these tools were changed, host 
    296 operating systems that simply use the default handlers for SystemMemory, 
    297 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
    298 
    299 For example, in the code below, DEV1 is conditionally added to the 
    300 namespace by the DSDT via module-level code that accesses an operation 
    301 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
    302 created immediately after the DSDT is loaded in order for the SSDT to 
    303 successfully reference DEV1. Previously, this code would cause an 
    304 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
    305 fully supported by ACPICA.
    306 
    307     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
    308     {
    309         OperationRegion (OPR1, SystemMemory, 0x400, 32)
    310         Field (OPR1, AnyAcc, NoLock, Preserve)
    311         {
    312             FLD1, 1
    313         }
    314         If (FLD1)
    315         {
    316             Device (\DEV1)
    317             {
    318             }
    319         }
    320     }
    321     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
    322     {
    323         External (\DEV1, DeviceObj)
    324         Scope (\DEV1)
    325         {
    326         }
    327     }
    328 
    329 Fixed an AML interpreter problem where control method invocations were 
    330 not handled correctly when the invocation was itself a SuperName argument 
    331 to another ASL operator. In these cases, the method was not invoked. 
    332 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
    333 argument:
    334     Store
    335     Acquire, Wait
    336     CondRefOf, RefOf
    337     Decrement, Increment
    338     Load, Unload
    339     Notify
    340     Signal, Release, Reset
    341     SizeOf
    342 
    343 Implemented automatic String-to-ObjectReference conversion support for 
    344 packages returned by predefined names (such as _DEP). A common BIOS error 
    345 is to add double quotes around an ObjectReference namepath, which turns 
    346 the reference into an unexpected string object. This support detects the 
    347 problem and corrects it before the package is returned to the caller that 
    348 invoked the method. Lv Zheng.
    349 
    350 Implemented extensions to the Concatenate operator. Concatenate now 
    351 accepts any type of object, it is not restricted to simply 
    352 Integer/String/Buffer. For objects other than these 3 basic data types, 
    353 the argument is treated as a string containing the name of the object 
    354 type. This expands the utility of Concatenate and the Printf/Fprintf 
    355 macros. ACPICA BZ 1222.
    356 
    357 Cleaned up the output of the ASL Debug object. The timer() value is now 
    358 optional and no longer emitted by default. Also, the basic data types of 
    359 Integer/String/Buffer are simply emitted as their values, without a data 
    360 type string -- since the data type is obvious from the output. ACPICA BZ 
    361 1221.
    362 
    363 Example Code and Data Size: These are the sizes for the OS-independent 
    364 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    365 debug version of the code includes the debug output trace mechanism and 
    366 has a much larger code and data size.
    367 
    368   Current Release:
    369     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
    370     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
    371   Previous Release:
    372     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
    373     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
    374 
    375 
    376 2) iASL Compiler/Disassembler and Tools:
    377 
    378 iASL: Fixed some issues with the ASL Include() operator. This operator 
    379 was incorrectly defined in the iASL parser rules, causing a new scope to 
    380 be opened for the code within the include file. This could lead to 
    381 several issues, including allowing ASL code that is technically illegal 
    382 and not supported by AML interpreters. Note, this does not affect the 
    383 related #include preprocessor operator. ACPICA BZ 1212.
    384 
    385 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
    386 operator is essentially an ASL macro since there is no AML opcode 
    387 associated with it. The code emitted by the iASL compiler for ElseIf is 
    388 an Else opcode followed immediately by an If opcode. The disassembler 
    389 will now emit an ElseIf if it finds an Else immediately followed by an 
    390 If. This simplifies the decoded ASL, especially for deeply nested 
    391 If..Else and large Switch constructs. Thus, the disassembled code more 
    392 closely follows the original source ASL. ACPICA BZ 1211. Example:
    393 
    394     Old disassembly:
    395         Else
    396         {
    397             If (Arg0 == 0x02)
    398             {
    399                 Local0 = 0x05
    400             }
    401         }
    402 
    403     New disassembly:
    404         ElseIf (Arg0 == 0x02)
    405         {
    406             Local0 = 0x05
    407         }
    408 
    409 AcpiExec: Added support for the new module level code behavior and the 
    410 early region installation. This required a small change to the 
    411 initialization, since AcpiExec must install its own operation region 
    412 handlers.
    413 
    414 AcpiExec: Added support to make the debug object timer optional. Default 
    415 is timer disabled. This cleans up the debug object output -- the timer 
    416 data is rarely used.
    417 
    418 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
    419 appear on the command line. This can be important when there are 
    420 interdependencies/references between the tables.
    421 
    422 iASL/Templates. Add support to generate template files with multiple 
    423 SSDTs within a single output file. Also added ommand line support to 
    424 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
    425 1223, 1225.
    426 
    427 
    428 ----------------------------------------
    429 24 November 2015. Summary of changes for version 20151124:
    430 
    431 1) ACPICA kernel-resident subsystem:
    432 
    433 Fixed a possible regression for a previous update to FADT handling. The 
    434 FADT no longer has a fixed table ID, causing some issues with code that 
    435 was hardwired to a specific ID. Lv Zheng.
    436 
    437 Fixed a problem where the method auto-serialization could interfere with 
    438 the current SyncLevel. This change makes the auto-serialization support 
    439 transparent to the SyncLevel support and management.
    440 
    441 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
    442 interface is intended for early access to the namespace during the 
    443 initial namespace device discovery walk. The _SUB method has been seen to 
    444 access operation regions in some cases, causing errors because the 
    445 operation regions are not fully initialized.
    446 
    447 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
    448 that can cause faults. Lv Zheng.
    449 
    450 AML Debugger: Add thread ID support so that single-step mode only applies 
    451 to the AML Debugger thread. This prevents runtime errors within some 
    452 kernels. Lv Zheng. 
    453 
    454 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
    455 methods that are invoked by this interface are optional, removed warnings 
    456 emitted for the case where one or more of these methods do not exist. 
    457 ACPICA BZ 1208, original change by Prarit Bhargava.
    458 
    459 Made a major pass through the entire ACPICA source code base to 
    460 standardize formatting that has diverged a bit over time. There are no 
    461 functional changes, but this will of course cause quite a few code 
    462 differences from the previous ACPICA release.
    463 
    464 Example Code and Data Size: These are the sizes for the OS-independent 
    465 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    466 debug version of the code includes the debug output trace mechanism and 
    467 has a much larger code and data size.
    468 
    469   Current Release:
    470     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
    471     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
    472   Previous Release:
    473     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
    474     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
    475 
    476 
    477 2) iASL Compiler/Disassembler and Tools:
    478 
    479 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
    480 definition blocks within a single ASL file and the resulting AML file. 
    481 Support for this type of file was also added to the various tools that 
    482 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
    483 example code below shows two definition blocks within the same file:
    484 
    485     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
    486 0x12345678)
    487     {
    488     }
    489     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
    490     {
    491     }
    492 
    493 iASL: Enhanced typechecking for the Name() operator. All expressions for 
    494 the value of the named object must be reduced/folded to a single constant 
    495 at compile time, as per the ACPI specification (the AML definition of 
    496 Name()).
    497 
    498 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
    499 and assembly headers). Now all emitted code correctly begins in column 1.
    500 
    501 iASL: Added an error message for an attempt to open a Scope() on an 
    502 object defined in an SSDT. The DSDT is always loaded into the namespace 
    503 first, so any attempt to open a Scope on an SSDT object will fail at 
    504 runtime.
    505 
    506 
    507 ----------------------------------------
    508 30 September 2015. Summary of changes for version 20150930:
    509 
    510 1) ACPICA kernel-resident subsystem:
    511 
    512 Debugger: Implemented several changes and bug fixes to assist support for 
    513 the in-kernel version of the AML debugger. Lv Zheng.
    514 - Fix the "predefined" command for in-kernel debugger.
    515 - Do not enter debug command loop for the help and version commands.
    516 - Disallow "execute" command during execution/single-step of a method.
    517 
    518 Interpreter: Updated runtime typechecking for all operators that have 
    519 target operands. The operand is resolved and validated that it is legal. 
    520 For example, the target cannot be a non-data object such as a Device, 
    521 Mutex, ThermalZone, etc., as per the ACPI specification.
    522 
    523 Debugger: Fixed the double-mutex user I/O handshake to work when local 
    524 deadlock detection is enabled.
    525 
    526 Debugger: limited display of method locals and arguments (LocalX and 
    527 ArgX) to only those that have actually been initialized. This prevents 
    528 lines of extraneous output.
    529 
    530 Updated the definition of the NFIT table to correct the bit polarity of 
    531 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
    532 
    533 Example Code and Data Size: These are the sizes for the OS-independent 
    534 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    535 debug version of the code includes the debug output trace mechanism and 
    536 has a much larger code and data size.
    537 
    538   Current Release:
    539     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
    540     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
    541   Previous Release:
    542     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
    543     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
    544 
    545 
    546 2) iASL Compiler/Disassembler and Tools:
    547 
    548 iASL: Improved the compile-time typechecking for operands of many of the 
    549 ASL operators:
    550 
    551 -- Added an option to disable compiler operand/operator typechecking (-
    552 ot).
    553 
    554 -- For the following operators, the TermArg operands are now validated 
    555 when possible to be Integer data objects: BankField, OperationRegion, 
    556 DataTableRegion, Buffer, and Package.
    557 
    558 -- Store (Source, Target): Both the source and target operands are 
    559 resolved and checked that the operands are both legal. For example, 
    560 neither operand can be a non-data object such as a Device, Mutex, 
    561 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
    562 operator can be used to store an object to any type of target object.
    563 
    564 -- Store (Source, Target): If the source is a Package object, the target 
    565 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
    566 is a Package, the source must also be a Package.
    567 
    568 -- Store (Source, Target): A warning is issued if the source and target 
    569 resolve to the identical named object.
    570 
    571 -- Store (Source, <method invocation>): An error is generated for the 
    572 target method invocation, as this construct is not supported by the AML 
    573 interpreter.
    574 
    575 -- For all ASL math and logic operators, the target operand must be a 
    576 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
    577 includes the function return value also.
    578 
    579 -- External declarations are also included in the typechecking where 
    580 possible. External objects defined using the UnknownObj keyword cannot be 
    581 typechecked, however.
    582 
    583 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
    584 operator:
    585 - Legacy code: Index(PKG1, 3)
    586 - New ASL+ code: PKG1[3]
    587 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
    588 supported.
    589 
    590 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
    591 spaces were inadvertently appended to the filename, causing file access 
    592 and deletion problems on some systems.
    593 
    594 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
    595 possible compiler output files when building the test suite -- thus 
    596 exercising these features of the compiler. These files are automatically 
    597 deleted when the test suite exits.
    598 
    599 
    600 ----------------------------------------
    601 18 August 2015. Summary of changes for version 20150818:
    602 
    603 1) ACPICA kernel-resident subsystem:
    604 
    605 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
    606 Zheng. ACPICA BZ 1186.
    607 
    608 Completed development to ensure that the ACPICA Disassembler and Debugger 
    609 are fully standalone components of ACPICA. Removed cross-component 
    610 dependences. Lv Zheng.
    611 
    612 The max-number-of-AML-loops is now runtime configurable (previously was 
    613 compile-time only). This is essentially a loop timeout to force-abort 
    614 infinite AML loops. ACPCIA BZ 1192.
    615 
    616 Debugger: Cleanup output to dump ACPI names and namepaths without any 
    617 trailing underscores. Lv Zheng. ACPICA BZ 1135.
    618 
    619 Removed unnecessary conditional compilations across the Debugger and 
    620 Disassembler components where entire modules could be left uncompiled.
    621 
    622 The aapits test is deprecated and has been removed from the ACPICA git 
    623 tree. The test has never been completed and has not been maintained, thus 
    624 becoming rather useless. ACPICA BZ 1015, 794.
    625 
    626 A batch of small changes to close bugzilla and other reports:
    627 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
    628 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
    629 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
    630 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
    631 Moore.
    632 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
    633 ACPICA BZ 1184.
    634 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
    635 operators.
    636 - Debugger: Split debugger initialization/termination interfaces. Lv 
    637 Zheng.
    638 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
    639 identification.
    640 - AcpiExec: Add debug message during _REG method phase during table 
    641 load/init.
    642 - AcpiNames: Fix a regression where some output was missing and no longer 
    643 emitted.
    644 - Debugger: General cleanup and simplification. Lv Zheng.
    645 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
    646 
    647 Example Code and Data Size: These are the sizes for the OS-independent 
    648 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    649 debug version of the code includes the debug output trace mechanism and 
    650 has a much larger code and data size.
    651 
    652   Current Release:
    653     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
    654     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
    655   Previous Release:
    656     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
    657     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
    658 
    659 
    660 2) iASL Compiler/Disassembler and Tools:
    661 
    662 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
    663 were not handled properly and caused load errors. Now, properly invoke 
    664 and use the ACPICA auto-reallocate mechanism for ACPI table data 
    665 structures. ACPICA BZ 1188
    666 
    667 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
    668 BZ 1190.
    669 
    670 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
    671 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
    672 executed during initialization. ACPICA BZ 1187, 1189.
    673 
    674 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
    675 that corresponds to each disassembled ASL statement, to simplify 
    676 debugging. ACPICA BZ 1191.
    677 
    678 Debugger: Add option to the "objects" command to display a summary of the 
    679 current namespace objects (Object type and count). This is displayed if 
    680 the command is entered with no arguments.
    681 
    682 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
    683 
    684 
    685 ----------------------------------------
    686 17 July 2015. Summary of changes for version 20150717:
    687 
    688 1) ACPICA kernel-resident subsystem:
    689 
    690 Improved the partitioning between the Debugger and Disassembler 
    691 components. This allows the Debugger to be used standalone within kernel 
    692 code without the Disassembler (which is used for single stepping also). 
    693 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
    694 
    695 Debugger: Implemented a new command to trace the execution of control 
    696 methods (Trace). This is especially useful for the in-kernel version of 
    697 the debugger when file I/O may not be available for method trace output. 
    698 See the ACPICA reference for more information. Lv Zheng.
    699 
    700 Moved all C library prototypes (used for the local versions of these 
    701 functions when requested) to a new header, acclib.h
    702 Cleaned up the use of non-ANSI C library functions. These functions are 
    703 implemented locally in ACPICA. Moved all such functions to a common 
    704 source file, utnonansi.c
    705 
    706 Debugger: Fixed a problem with the "!!" command (get last command 
    707 executed) where the debugger could enter an infinite loop and eventually 
    708 crash.
    709 
    710 Removed the use of local macros that were used for some of the standard C 
    711 library functions to automatically cast input parameters. This mostly 
    712 affected the is* functions where the input parameter is defined to be an 
    713 int. This required a few modifications to the main ACPICA source code to 
    714 provide casting for these functions and eliminate possible compiler 
    715 warnings for these parameters.
    716 
    717 Across the source code, added additional status/error checking to resolve 
    718 issues discovered by static source code analysis tools such as Coverity.
    719 
    720 Example Code and Data Size: These are the sizes for the OS-independent 
    721 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    722 debug version of the code includes the debug output trace mechanism and 
    723 has a much larger code and data size.
    724 
    725   Current Release:
    726     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
    727     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
    728   Previous Release:
    729     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
    730     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
    731 
    732 
    733 2) iASL Compiler/Disassembler and Tools:
    734 
    735 iASL: Fixed a regression where the device map file feature no longer 
    736 worked properly when used in conjunction with the disassembler. It only 
    737 worked properly with the compiler itself.
    738 
    739 iASL: Implemented a new warning for method LocalX variables that are set 
    740 but never used (similar to a C compiler such as gcc). This also applies 
    741 to ArgX variables that are not defined by the parent method, and are 
    742 instead (legally) used as local variables.
    743 
    744 iASL/Preprocessor: Finished the pass-through of line numbers from the 
    745 preprocessor to the compiler. This ensures that compiler errors/warnings 
    746 have the correct original line numbers and filenames, regardless of any 
    747 #include files.
    748 
    749 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
    750 pass-through of comments to the preprocessor output file (which becomes 
    751 the compiler input file). Also fixed a problem with // comments that 
    752 appear after a math expression.
    753 
    754 iASL: Added support for the TCPA server table to the table compiler and 
    755 template generator. (The client table was already previously supported)
    756 
    757 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
    758 identify the iASL compiler.
    759 
    760 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
    761 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
    762 ACPI_SIGN_POSITIVE.
    763 
    764 AcpiHelp: Update to expand help messages for the iASL preprocessor 
    765 directives.
    766 
    767 
    768 ----------------------------------------
    769 19 June 2015. Summary of changes for version 20150619:
    770 
    771 Two regressions in version 20150616 have been addressed:
    772 
    773 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
    774 etc.) This update changes ACPICA to only use the standard headers for 
    775 functions, or the prototypes for the local versions of the C library 
    776 functions. Across the source code, this required some additional casts 
    777 for some Clib invocations for portability. Moved all local prototypes to 
    778 a new file, acclib.h
    779 
    780 Fixes several problems with recent changes to the handling of the FACS 
    781 table that could cause some systems not to boot.
    782 
    783 
    784 ----------------------------------------
    785 16 June 2015. Summary of changes for version 20150616:
    786 
    787 
    788 1) ACPICA kernel-resident subsystem:
    789 
    790 Across the entire ACPICA source code base, the various macros for the C 
    791 library functions (such as ACPI_STRLEN, etc.) have been removed and 
    792 replaced by the standard C library names (strlen, etc.) The original 
    793 purpose for these macros is no longer applicable. This simplification 
    794 reduces the number of macros used in the ACPICA source code 
    795 significantly, improving readability and maintainability.
    796 
    797 Implemented support for a new ACPI table, the OSDT. This table, the 
    798 "override" SDT, can be loaded directly by the host OS at boot time. It 
    799 enables the replacement of existing namespace objects that were installed 
    800 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
    801 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
    802 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
    803 Moore.
    804 
    805 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
    806 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
    807 X field). This change will support both automatically. There continues to 
    808 be systems found with this issue. This support requires a change to the 
    809 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
    810 been added to allow the host to select which FACS is desired 
    811 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
    812 details Lv Zheng.
    813 
    814 Added a new feature to allow for systems that do not contain an FACS. 
    815 Although this is already supported on hardware-reduced platforms, the 
    816 feature has been extended for all platforms. The reasoning is that we do 
    817 not want to abort the entire ACPICA initialization just because the 
    818 system is seriously buggy and has no FACS.
    819 
    820 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
    821 not correctly transcribed from the ACPI specification in ACPICA version 
    822 20150515.
    823 
    824 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
    825 interface.
    826 
    827 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
    828 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
    829 compiler also updated. Note: The TCPA "server" table is not supported by 
    830 the disassembler/table-compiler at this time.
    831 
    832 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
    833 
    834 Example Code and Data Size: These are the sizes for the OS-independent 
    835 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    836 debug version of the code includes the debug output trace mechanism and 
    837 has a much larger code and data size.
    838 
    839   Current Release:
    840     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
    841     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
    842   Previous Release:
    843     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
    844     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
    845 
    846 
    847 2) iASL Compiler/Disassembler and Tools:
    848 
    849 Disassembler: Fixed a problem with the new symbolic operator disassembler 
    850 where incorrect ASL code could be emitted in some cases for the "non-
    851 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
    852 ShiftRight. The actual problem cases seem to be rather unusual in common 
    853 ASL code, however. David Box.
    854 
    855 Modified the linux version of acpidump to obtain ACPI tables from not 
    856 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
    857 Zheng.
    858 
    859 iASL: Fixed a problem where the user preprocessor output file (.i) 
    860 contained extra data that was not expected. The compiler was using this 
    861 file as a temporary file and passed through #line directives in order to 
    862 keep compiler error messages in sync with the input file and line number 
    863 across multiple include files. The (.i) is no longer a temporary file as 
    864 the compiler uses a new, different file for the original purpose.
    865 
    866 iASL: Fixed a problem where comments within the original ASL source code 
    867 file were not passed through to the preprocessor output file, nor any 
    868 listing files.
    869 
    870 iASL: Fixed some issues for the handling of the "#include" preprocessor 
    871 directive and the similar (but not the same) "Include" ASL operator.
    872 
    873 iASL: Add support for the new OSDT in both the disassembler and compiler.
    874 
    875 iASL: Fixed a problem with the constant folding support where a Buffer 
    876 object could be incorrectly generated (incorrectly formed) during a 
    877 conversion to a Store() operator.
    878 
    879 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
    880 description text for the _REV predefined name. _REV now permanently 
    881 returns 2, as per the ACPI 6.0 specification.
    882 
    883 Debugger: Enhanced the output of the Debug ASL object for references 
    884 produced by the Index operator. For Buffers and strings, only output the 
    885 actual byte pointed to by the index. For packages, only print the single 
    886 package element decoded by the index. Previously, the entire 
    887 buffer/string/package was emitted.
    888 
    889 iASL/Table-compiler: Fixed a regression where the "generic" data types 
    890 were no longer recognized, causing errors.
    891 
    892 
    893 ----------------------------------------
    894 15 May 2015. Summary of changes for version 20150515:
    895 
    896 This release implements most of ACPI 6.0 as described below.
    897 
    898 1) ACPICA kernel-resident subsystem:
    899 
    900 Implemented runtime argument checking and return value checking for all 
    901 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
    902 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
    903 
    904 Example Code and Data Size: These are the sizes for the OS-independent 
    905 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    906 debug version of the code includes the debug output trace mechanism and 
    907 has a much larger code and data size.
    908 
    909   Current Release:
    910     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
    911     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
    912   Previous Release:
    913     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
    914     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
    915 
    916 
    917 2) iASL Compiler/Disassembler and Tools:
    918 
    919 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
    920 names (argument count validation and return value typechecking.)
    921 
    922 iASL disassembler and table compiler: implemented support for all new 
    923 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
    924 
    925 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
    926 tables: FADT, MADT.
    927 
    928 iASL preprocessor: Added a new directive to enable inclusion of binary 
    929 blobs into ASL code. The new directive is #includebuffer. It takes a 
    930 binary file as input and emits a named ascii buffer object into the ASL 
    931 code.
    932 
    933 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
    934 
    935 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
    936 directives.
    937 
    938 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
    939 tables.
    940 
    941 
    942 ----------------------------------------
    943 10 April 2015. Summary of changes for version 20150410:
    944 
    945 Reverted a change introduced in version 20150408 that caused
    946 a regression in the disassembler where incorrect operator
    947 symbols could be emitted.
    948 
    949 
    950 ----------------------------------------
    951 08 April 2015. Summary of changes for version 20150408:
    952 
    953 
    954 1) ACPICA kernel-resident subsystem:
    955 
    956 Permanently set the return value for the _REV predefined name. It now 
    957 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
    958 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
    959 for ACPI 2.0 and later. It should never be used to differentiate or 
    960 identify operating systems.
    961 
    962 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
    963 return TRUE to a query with this string.
    964 
    965 Fixed several issues with the local version of the printf function.
    966 
    967 Added the C99 compiler option (-std=c99) to the Unix makefiles.
    968 
    969   Current Release:
    970     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
    971     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
    972   Previous Release:
    973     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
    974     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
    975 
    976 
    977 2) iASL Compiler/Disassembler and Tools:
    978 
    979 iASL: Implemented an enhancement to the constant folding feature to 
    980 transform the parse tree to a simple Store operation whenever possible:
    981     Add (2, 3, X) ==> is converted to: Store (5, X)
    982     X = 2 + 3     ==> is converted to: Store (5, X)
    983 
    984 Updated support for the SLIC table (Software Licensing Description Table) 
    985 in both the Data Table compiler and the disassembler. The SLIC table 
    986 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
    987 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
    988 following the ACPI header is now defined to be "Proprietary Data", and as 
    989 such, can only be entered or displayed as a hex data block.
    990 
    991 Implemented full support for the MSDM table as described in the document 
    992 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
    993 following the ACPI header is defined to be "Proprietary Data", and can 
    994 only be entered or displayed as a hex data block.
    995 
    996 Implemented the -Pn option for the iASL Table Compiler (was only 
    997 implemented for the ASL compiler). This option disables the iASL 
    998 preprocessor.
    999 
   1000 Disassembler: For disassembly of Data Tables, added a comment field 
   1001 around the Ascii equivalent data that is emitted as part of the "Raw 
   1002 Table Data" block. This prevents the iASL Preprocessor from possible 
   1003 confusion if/when the table is compiled.
   1004 
   1005 Disassembler: Added an option (-df) to force the disassembler to assume 
   1006 that the table being disassembled contains valid AML. This feature is 
   1007 useful for disassembling AML files that contain ACPI signatures other 
   1008 than DSDT or SSDT (such as OEMx or other signatures).
   1009 
   1010 Changes for the EFI version of the tools:
   1011 1) Fixed a build error/issue
   1012 2) Fixed a cast warning
   1013 
   1014 iASL: Fixed a path issue with the __FILE__ operator by making the 
   1015 directory prefix optional within the internal SplitInputFilename 
   1016 function.
   1017 
   1018 Debugger: Removed some unused global variables.
   1019 
   1020 Tests: Updated the makefile for proper generation of the AAPITS suite.
   1021 
   1022 
   1023 ----------------------------------------
   1024 04 February 2015. Summary of changes for version 20150204:
   1025 
   1026 ACPICA kernel-resident subsystem:
   1027 
   1028 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   1029 copyright to all module headers and signons, including the standard Linux 
   1030 header. This affects virtually every file in the ACPICA core subsystem, 
   1031 iASL compiler, all ACPICA utilities, and the test suites.
   1032 
   1033 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
   1034 A raw gpe handling mechanism was created to allow better handling of GPE
   1035 storms that aren't easily managed by the normal handler. The raw handler
   1036 allows disabling/renabling of the the GPE so that interrupt storms can be
   1037 avoided in cases where events cannot be timely serviced. In this 
   1038 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
   1039 GPE. This API will leave the reference counts undisturbed, thereby 
   1040 preventing unintentional clearing of the GPE when the intent in only to 
   1041 temporarily disable it. Raw handlers allow enabling and disabling of a 
   1042 GPE by removing GPE register locking. As such, raw handlers much provide 
   1043 their own locks while using GPE API's to protect access to GPE data 
   1044 structures.
   1045 Lv Zheng
   1046 
   1047 Events: Always modify GPE registers under the GPE lock.
   1048 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
   1049 values. Reported as bug by joe.liu (a] apple.com.
   1050 
   1051 Unix makefiles: Separate option to disable optimizations and 
   1052 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
   1053 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
   1054 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
   1055 errors when building ACPICA. This allows disabling the option without 
   1056 also having to disable optimazations.
   1057 David Box
   1058 
   1059   Current Release:
   1060     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   1061     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
   1062 
   1063 --
   1064 --------------------------------------
   1065 07 November 2014. Summary of changes for version 20141107:
   1066 
   1067 This release is available at https://acpica.org/downloads
   1068 
   1069 This release introduces and implements language extensions to ASL that 
   1070 provide support for symbolic ("C-style") operators and expressions. These 
   1071 language extensions are known collectively as ASL+.
   1072 
   1073 
   1074 1) iASL Compiler/Disassembler and Tools:
   1075 
   1076 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
   1077 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
   1078 Box.
   1079 
   1080 Disassembler: Fixed the Unicode macro support to add escape sequences. 
   1081 All non-printable ASCII values are emitted as escape sequences, as well 
   1082 as the standard escapes for quote and backslash. Ensures that the 
   1083 disassembled macro can be correctly recompiled.
   1084 
   1085 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
   1086 translated to existing AML Concatenate and Store operations. Printf 
   1087 writes to the ASL Debug object. Fprintf allows the specification of an 
   1088 ASL name as the target. Only a single format specifier is required, %o, 
   1089 since the AML interpreter dynamically converts objects to the required 
   1090 type. David E. Box.
   1091 
   1092     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   1093                  (Concatenate (Concatenate (Concatenate ("", Arg0),
   1094                  ": Unexpected value for "), Arg1), ", "), Arg2),
   1095                  " at line "), Arg3), Debug)
   1096 
   1097     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
   1098                  Arg0, Arg1, Arg2, Arg3)
   1099 
   1100     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   1101                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
   1102 
   1103     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
   1104 
   1105 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
   1106 ASL parse tree before the AML code is generated. This allows blocks of 
   1107 ASL code to be removed in order to help locate and identify problem 
   1108 devices and/or code. David E. Box.
   1109 
   1110 AcpiExec: Added support (-fi) for an optional namespace object 
   1111 initialization file. This file specifies initial values for namespace 
   1112 objects as necessary for debugging and testing different ASL code paths 
   1113 that may be taken as a result of BIOS options.
   1114 
   1115 
   1116 2) Overview of symbolic operator support for ASL (ASL+)
   1117 -------------------------------------------------------
   1118 
   1119 As an extension to the ASL language, iASL implements support for symbolic 
   1120 (C-style) operators for math and logical expressions. This can greatly 
   1121 simplify ASL code as well as improve both readability and 
   1122 maintainability. These language extensions can exist concurrently with 
   1123 all legacy ASL code and expressions.
   1124 
   1125 The symbolic extensions are 100% compatible with existing AML 
   1126 interpreters, since no new AML opcodes are created. To implement the 
   1127 extensions, the iASL compiler transforms the symbolic expressions into 
   1128 the legacy ASL/AML equivalents at compile time.
   1129 
   1130 Full symbolic expressions are supported, along with the standard C 
   1131 precedence and associativity rules.
   1132 
   1133 Full disassembler support for the symbolic expressions is provided, and 
   1134 creates an automatic migration path for existing ASL code to ASL+ code 
   1135 via the disassembly process. By default, the disassembler now emits ASL+ 
   1136 code with symbolic expressions. An option (-dl) is provided to force the 
   1137 disassembler to emit legacy ASL code if desired.
   1138 
   1139 Below is the complete list of the currently supported symbolic operators 
   1140 with examples. See the iASL User Guide for additional information.
   1141 
   1142 
   1143 ASL+ Syntax      Legacy ASL Equivalent
   1144 -----------      ---------------------
   1145 
   1146     // Math operators
   1147 
   1148 Z = X + Y        Add (X, Y, Z)
   1149 Z = X - Y        Subtract (X, Y, Z)
   1150 Z = X * Y        Multiply (X, Y, Z)
   1151 Z = X / Y        Divide (X, Y, , Z)
   1152 Z = X % Y        Mod (X, Y, Z)
   1153 Z = X << Y       ShiftLeft (X, Y, Z)
   1154 Z = X >> Y       ShiftRight (X, Y, Z)
   1155 Z = X & Y        And (X, Y, Z)
   1156 Z = X | Y        Or (X, Y, Z)
   1157 Z = X ^ Y        Xor (X, Y, Z)
   1158 Z = ~X           Not (X, Z)
   1159 X++              Increment (X)
   1160 X--              Decrement (X)
   1161 
   1162     // Logical operators
   1163 
   1164 (X == Y)         LEqual (X, Y)
   1165 (X != Y)         LNotEqual (X, Y)
   1166 (X < Y)          LLess (X, Y)
   1167 (X > Y)          LGreater (X, Y)
   1168 (X <= Y)         LLessEqual (X, Y)
   1169 (X >= Y)         LGreaterEqual (X, Y)
   1170 (X && Y)         LAnd (X, Y)
   1171 (X || Y)         LOr (X, Y)
   1172 (!X)             LNot (X)
   1173 
   1174     // Assignment and compound assignment operations
   1175 
   1176 X = Y           Store (Y, X)
   1177 X += Y          Add (X, Y, X)
   1178 X -= Y          Subtract (X, Y, X)
   1179 X *= Y          Multiply (X, Y, X)
   1180 X /= Y          Divide (X, Y, , X)
   1181 X %= Y          Mod (X, Y, X)
   1182 X <<= Y         ShiftLeft (X, Y, X)
   1183 X >>= Y         ShiftRight (X, Y, X)
   1184 X &= Y          And (X, Y, X)
   1185 X |= Y          Or (X, Y, X)
   1186 X ^= Y          Xor (X, Y, X)
   1187 
   1188 
   1189 3) ASL+ Examples:
   1190 -----------------
   1191 
   1192 Legacy ASL:
   1193         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
   1194             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
   1195 0x03FB), 
   1196             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
   1197         {
   1198             And (MEMB, 0xFFFFFFF0, SRMB)
   1199             Store (MEMB, Local2)
   1200             Store (PDBM, Local1)
   1201             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
   1202             Store (SRMB, MEMB)
   1203             Or (PDBM, 0x02, PDBM)
   1204         }
   1205 
   1206 ASL+ version:
   1207         If (((R510 & 0x03FB) == 0x02E0) ||
   1208             ((R520 & 0x03FB) == 0x02E0) ||
   1209             ((R530 & 0x03FB) == 0x02E0) || 
   1210             ((R540 & 0x03FB) == 0x02E0))
   1211         {
   1212             SRMB = (MEMB & 0xFFFFFFF0)
   1213             Local2 = MEMB
   1214             Local1 = PDBM
   1215             PDBM &= 0xFFFFFFFFFFFFFFF9
   1216             MEMB = SRMB
   1217             PDBM |= 0x02
   1218         }
   1219 
   1220 Legacy ASL:
   1221         Store (0x1234, Local1)
   1222         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
   1223         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
   1224         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
   1225         Store (Index (PKG1, 0x03), Local6)
   1226         Store (Add (Local3, Local2), Debug)
   1227         Add (Local1, 0x0F, Local2)
   1228         Add (Local1, Multiply (Local2, Local3), Local2)
   1229         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
   1230 
   1231 ASL+ version:
   1232         Local1 = 0x1234
   1233         Local3 = (((Local1 + TEST) + 0x20) * Local2)
   1234         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
   1235         Local3 = (Local1 + (TEST + (0x20 * Local2)))
   1236         Local6 = Index (PKG1, 0x03)
   1237         Debug = (Local3 + Local2)
   1238         Local2 = (Local1 + 0x0F)
   1239         Local2 = (Local1 + (Local2 * Local3))
   1240         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
   1241 
   1242 
   1243 ----------------------------------------
   1244 26 September 2014. Summary of changes for version 20140926:
   1245 
   1246 1) ACPICA kernel-resident subsystem:
   1247 
   1248 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
   1249 In order to support GPIO Connection objects with multiple pins, along 
   1250 with the related Field objects, the following changes to the interface 
   1251 have been made: The Address is now defined to be the offset in bits of 
   1252 the field unit from the previous invocation of a Connection. It can be 
   1253 viewed as a "Pin Number Index" into the connection resource descriptor. 
   1254 The BitWidth is the exact bit width of the field. It is usually one bit, 
   1255 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
   1256 additional information and examples.
   1257 
   1258 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
   1259 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
   1260 by the firmware), so that they cannot fire until they are enabled via 
   1261 AcpiUpdateAllGpes. Rafael J. Wysocki.
   1262 
   1263 Added a new return flag for the Event/GPE status interfaces -- 
   1264 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
   1265 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
   1266 GPE currently has a handler associated with it, and can thus actually 
   1267 affect the system. Lv Zheng.
   1268 
   1269 Example Code and Data Size: These are the sizes for the OS-independent 
   1270 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1271 debug version of the code includes the debug output trace mechanism and 
   1272 has a much larger code and data size.
   1273 
   1274   Current Release:
   1275     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
   1276     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
   1277   Previous Release:
   1278     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   1279     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   1280 
   1281 2) iASL Compiler/Disassembler and Tools:
   1282 
   1283 iASL: Fixed a memory allocation/free regression introduced in 20140828 
   1284 that could cause the compiler to crash. This was introduced inadvertently 
   1285 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
   1286 1113.
   1287 
   1288 iASL: Removed two error messages that have been found to create false 
   1289 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
   1290 1) Illegal forward reference within a method
   1291 2) Illegal reference across two methods
   1292 
   1293 iASL: Implemented a new option (-lm) to create a hardware mapping file 
   1294 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
   1295 works for both the compiler and disassembler. See the iASL compiler user 
   1296 guide for additional information and examples (section 6.4.6).
   1297 
   1298 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
   1299 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
   1300 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
   1301 
   1302 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
   1303 unless STDIN is actually a terminal. Assists with batch-mode processing. 
   1304 ACPICA BZ 1114.
   1305 
   1306 Disassembler/AcpiHelp: Added another large group of recognized _HID 
   1307 values.
   1308 
   1309 
   1310 ----------------------------------------
   1311 28 August 2014. Summary of changes for version 20140828:
   1312 
   1313 1) ACPICA kernel-resident subsystem:
   1314 
   1315 Fixed a problem related to the internal use of the Timer() operator where 
   1316 a 64-bit divide could cause an attempted link to a double-precision math 
   1317 library. This divide is not actually necessary, so the code was 
   1318 restructured to eliminate it. Lv Zheng.
   1319 
   1320 ACPI 5.1: Added support for the runtime validation of the _DSD package 
   1321 (similar to the iASL support).
   1322 
   1323 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
   1324 SRAT table. Hanjun Guo <hanjun.guo (a] linaro.org>.
   1325 
   1326 Example Code and Data Size: These are the sizes for the OS-independent 
   1327 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1328 debug version of the code includes the debug output trace mechanism and 
   1329 has a much larger code and data size.
   1330 
   1331   Current Release:
   1332     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   1333     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   1334   Previous Release:
   1335     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
   1336     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   1337 
   1338 2) iASL Compiler/Disassembler and Tools:
   1339 
   1340 AcpiExec: Fixed a problem on unix systems where the original terminal 
   1341 state was not always properly restored upon exit. Seen when using the -v 
   1342 option. ACPICA BZ 1104.
   1343 
   1344 iASL: Fixed a problem with the validation of the ranges/length within the 
   1345 Memory24 resource descriptor. There was a boundary condition when the 
   1346 range was equal to the (length -1) caused by the fact that these values 
   1347 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
   1348 
   1349 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
   1350 polarity 
   1351 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
   1352 is 
   1353 now supported properly.
   1354 
   1355 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
   1356 in the disassembler, data table compiler, and table template generator.
   1357 
   1358 iASL: Added a requirement for Device() objects that one of either a _HID 
   1359 or _ADR must exist within the scope of a Device, as per the ACPI 
   1360 specification. Remove a similar requirement that was incorrectly in place 
   1361 for the _DSD object.
   1362 
   1363 iASL: Added error detection for illegal named references within control 
   1364 methods that would cause runtime failures. Now trapped as errors are: 1) 
   1365 References to objects within a non-parent control method. 2) Forward 
   1366 references (within a method) -- for control methods, AML interpreters use 
   1367 a one-pass parse of control methods. ACPICA BZ 1008.
   1368 
   1369 iASL: Added error checking for dependencies related to the _PSx power 
   1370 methods. ACPICA BZ 1029.
   1371 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
   1372 _PS3.
   1373 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
   1374 scope.
   1375 
   1376 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
   1377 deploying the existing object and string caches and adding new caches for 
   1378 the table compiler.
   1379 
   1380 iASL: Split the huge parser source file into multiple subfiles to improve 
   1381 manageability. Generation now requires the M4 macro preprocessor, which 
   1382 is part of the Bison distribution on both unix and windows platforms.
   1383 
   1384 AcpiSrc: Fixed and removed all extraneous warnings generated during 
   1385 entire ACPICA source code scan and/or conversion.
   1386 
   1387 
   1388 ----------------------------------------
   1389 
   1390 24 July 2014. Summary of changes for version 20140724: 
   1391 
   1392 The ACPI 5.1 specification has been released and is available at: 
   1393 http://uefi.org/specs/access
   1394 
   1395 
   1396 0) ACPI 5.1 support in ACPICA:
   1397 
   1398 ACPI 5.1 is fully supported in ACPICA as of this release.
   1399 
   1400 New predefined names. Support includes iASL and runtime ACPICA 
   1401 validation.
   1402     _CCA (Cache Coherency Attribute).
   1403     _DSD (Device-Specific Data). David Box.
   1404 
   1405 Modifications to existing ACPI tables. Support includes headers, iASL 
   1406 Data Table compiler, disassembler, and the template generator.
   1407     FADT - New fields and flags. Graeme Gregory.
   1408     GTDT - One new subtable and new fields. Tomasz Nowicki.
   1409     MADT - Two new subtables. Tomasz Nowicki.
   1410     PCCT - One new subtable.
   1411 
   1412 Miscellaneous.
   1413     New notification type for System Resource Affinity change events.
   1414 
   1415 
   1416 1) ACPICA kernel-resident subsystem:
   1417 
   1418 Fixed a regression introduced in 20140627 where a fault can happen during 
   1419 the deletion of Alias AML namespace objects. The problem affected both 
   1420 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
   1421 
   1422 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
   1423 simple mechanism to enable wake GPEs that have no associated handler or 
   1424 control method. Rafael Wysocki.
   1425 
   1426 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
   1427 handler or control method associated with the particular GPE. This will 
   1428 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
   1429 
   1430 Updated GPE handling and dispatch by disabling the GPE before clearing 
   1431 the status bit for edge-triggered GPEs. Lv Zheng.
   1432 
   1433 Added Timer() support to the AML Debug object. The current timer value is 
   1434 now displayed with each invocation of (Store to) the debug object to 
   1435 enable simple generation of execution times for AML code (method 
   1436 execution for example.) ACPICA BZ 1093.
   1437 
   1438 Example Code and Data Size: These are the sizes for the OS-independent 
   1439 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1440 debug version of the code includes the debug output trace mechanism and 
   1441 has a much larger code and data size.
   1442 
   1443   Current Release:
   1444     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
   1445     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   1446   Previous Release:
   1447     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   1448     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   1449 
   1450 
   1451 2) iASL Compiler/Disassembler and Tools:
   1452 
   1453 Fixed an issue with the recently added local printf implementation, 
   1454 concerning width/precision specifiers that could cause incorrect output. 
   1455 Lv Zheng. ACPICA BZ 1094.
   1456 
   1457 Disassembler: Added support to detect buffers that contain UUIDs and 
   1458 disassemble them to an invocation of the ToUUID operator. Also emit 
   1459 commented descriptions of known ACPI-related UUIDs.
   1460 
   1461 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
   1462 -u. Adds three new files. 
   1463 
   1464 iASL: Update table compiler and disassembler for DMAR table changes that 
   1465 were introduced in September 2013. With assistance by David Woodhouse.
   1466 
   1467 ----------------------------------------
   1468 27 June 2014. Summary of changes for version 20140627:
   1469 
   1470 1) ACPICA kernel-resident subsystem:
   1471 
   1472 Formatted Output: Implemented local versions of standard formatted output 
   1473 utilities such as printf, etc. Over time, it has been discovered that 
   1474 there are in fact many portability issues with printf, and the addition 
   1475 of this feature will fix/prevent these issues once and for all. Some 
   1476 known issues are summarized below:
   1477 
   1478 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
   1479 for the Linux kernel and is %uI64 for some MSVC versions.
   1480 2) Invoking printf consistently in a manner that is portable across both 
   1481 32-bit and 64-bit platforms is difficult at best in many situations.
   1482 3) The output format for pointers varies from system to system (leading 
   1483 zeros especially), and leads to inconsistent output from ACPICA across 
   1484 platforms.
   1485 4) Certain platform-specific printf formats may conflict with ACPICA use.
   1486 5) If there is no local C library available, ACPICA now has local support 
   1487 for printf.
   1488 
   1489 -- To address these printf issues in a complete manner, ACPICA now 
   1490 directly implements a small subset of printf format specifiers, only 
   1491 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
   1492 
   1493 Implemented support for ACPICA generation within the EFI environment. 
   1494 Initially, the AcpiDump utility is supported in the UEFI shell 
   1495 environment. Lv Zheng.
   1496 
   1497 Added a new external interface, AcpiLogError, to improve ACPICA 
   1498 portability. This allows the host to redirect error messages from the 
   1499 ACPICA utilities. Lv Zheng.
   1500 
   1501 Added and deployed new OSL file I/O interfaces to improve ACPICA 
   1502 portability:
   1503   AcpiOsOpenFile
   1504   AcpiOsCloseFile
   1505   AcpiOsReadFile
   1506   AcpiOsWriteFile
   1507   AcpiOsGetFileOffset
   1508   AcpiOsSetFileOffset
   1509 There are C library implementations of these functions in the new file 
   1510 service_layers/oslibcfs.c -- however, the functions can be implemented by 
   1511 the local host in any way necessary. Lv Zheng.
   1512 
   1513 Implemented a mechanism to disable/enable ACPI table checksum validation 
   1514 at runtime. This can be useful when loading tables very early during OS 
   1515 initialization when it may not be possible to map the entire table in 
   1516 order to compute the checksum. Lv Zheng.
   1517 
   1518 Fixed a buffer allocation issue for the Generic Serial Bus support. 
   1519 Originally, a fixed buffer length was used. This change allows for 
   1520 variable-length buffers based upon the protocol indicated by the field 
   1521 access attributes. Reported by Lan Tianyu. Lv Zheng.
   1522 
   1523 Fixed a problem where an object detached from a namespace node was not 
   1524 properly terminated/cleared and could cause a circular list problem if 
   1525 reattached. ACPICA BZ 1063. David Box.
   1526 
   1527 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
   1528 
   1529 Fixed a possible memory leak in an error return path within the function 
   1530 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
   1531 
   1532 Example Code and Data Size: These are the sizes for the OS-independent 
   1533 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1534 debug version of the code includes the debug output trace mechanism and 
   1535 has a much larger code and data size.
   1536 
   1537   Current Release:
   1538     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   1539     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   1540   Previous Release:
   1541     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   1542     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   1543 
   1544 
   1545 2) iASL Compiler/Disassembler and Tools:
   1546 
   1547 Disassembler: Add dump of ASCII equivalent text within a comment at the 
   1548 end of each line of the output for the Buffer() ASL operator.
   1549 
   1550 AcpiDump: Miscellaneous changes:
   1551   Fixed repetitive table dump in -n mode.
   1552   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
   1553 the ACPI 2.0 GUID fails.
   1554 
   1555 iASL: Fixed a problem where the compiler could fault if incorrectly given 
   1556 an acpidump output file as input. ACPICA BZ 1088. David Box.
   1557 
   1558 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
   1559 they are invoked without any arguments.
   1560 
   1561 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
   1562 1086. Colin Ian King.
   1563 
   1564 Disassembler: Cleaned up a block of code that extracts a parent Op 
   1565 object. Added a comment that explains that the parent is guaranteed to be 
   1566 valid in this case. ACPICA BZ 1069.
   1567 
   1568 
   1569 ----------------------------------------
   1570 24 April 2014. Summary of changes for version 20140424:
   1571 
   1572 1) ACPICA kernel-resident subsystem:
   1573 
   1574 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
   1575 Some of these tables are known to contain a trailing NULL entry. Lv 
   1576 Zheng.
   1577 
   1578 Removed an extraneous error message for the case where there are a large 
   1579 number of system GPEs (> 124). This was the "32-bit FADT register is too 
   1580 long to convert to GAS struct" message, which is irrelevant for GPEs 
   1581 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
   1582 (limited capacity) GAS bit length. Also, several changes to ensure proper 
   1583 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
   1584 internally.
   1585 
   1586 Implemented and deployed additional configuration support for the public 
   1587 ACPICA external interfaces. Entire classes of interfaces can now be 
   1588 easily modified or configured out, replaced by stubbed inline functions 
   1589 by default. Lv Zheng.
   1590 
   1591 Moved all public ACPICA runtime configuration globals to the public 
   1592 ACPICA external interface file for convenience. Also, removed some 
   1593 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
   1594 
   1595 Documentation: Added a new section to the ACPICA reference describing the 
   1596 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
   1597 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
   1598 reference.
   1599 
   1600 Example Code and Data Size: These are the sizes for the OS-independent 
   1601 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1602 debug version of the code includes the debug output trace mechanism and 
   1603 has a much larger code and data size.
   1604 
   1605   Current Release:
   1606     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   1607     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   1608   Previous Release:
   1609     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   1610     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   1611 
   1612 
   1613 2) iASL Compiler/Disassembler and Tools:
   1614 
   1615 iASL and disassembler: Add full support for the LPIT table (Low Power 
   1616 Idle Table). Includes support in the disassembler, data table compiler, 
   1617 and template generator.
   1618 
   1619 AcpiDump utility:
   1620 1) Add option to force the use of the RSDT (over the XSDT).
   1621 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
   1622 
   1623 iASL: Add check for predefined packages that are too large.  For 
   1624 predefined names that contain subpackages, check if each subpackage is 
   1625 too large. (Check for too small already exists.)
   1626 
   1627 Debugger: Updated the GPE command (which simulates a GPE by executing the 
   1628 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
   1629 to the GPE 0/1 FADT-defined blocks.
   1630 
   1631 Unix application OSL: Update line-editing support. Add additional error 
   1632 checking and take care not to reset terminal attributes on exit if they 
   1633 were never set. This should help guarantee that the terminal is always 
   1634 left in the previous state on program exit.
   1635 
   1636 
   1637 ----------------------------------------
   1638 25 March 2014. Summary of changes for version 20140325:
   1639 
   1640 1) ACPICA kernel-resident subsystem:
   1641 
   1642 Updated the auto-serialize feature for control methods. This feature 
   1643 automatically serializes all methods that create named objects in order 
   1644 to prevent runtime errors. The update adds support to ignore the 
   1645 currently executing AML SyncLevel when invoking such a method, in order 
   1646 to prevent disruption of any existing SyncLevel priorities that may exist 
   1647 in the AML code. Although the use of SyncLevels is relatively rare, this 
   1648 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
   1649 appear on some machines starting with the 20140214 release.
   1650 
   1651 Added a new external interface to allow the host to install ACPI tables 
   1652 very early, before the namespace is even created. AcpiInstallTable gives 
   1653 the host additional flexibility for ACPI table management. Tables can be 
   1654 installed directly by the host as if they had originally appeared in the 
   1655 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
   1656 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
   1657 with additional internal restructuring and cleanup. See the ACPICA 
   1658 Reference for interface details. Lv Zheng.
   1659 
   1660 Added validation of the checksum for all incoming dynamically loaded 
   1661 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
   1662 Zheng.
   1663 
   1664 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
   1665 and GPE handler removal. Restructured calls to eliminate possible race 
   1666 conditions. Lv Zheng.
   1667 
   1668 Added a warning for the use/execution of the ASL/AML Unload (table) 
   1669 operator. This will help detect and identify machines that use this 
   1670 operator if and when it is ever used. This operator has never been seen 
   1671 in the field and the usage model and possible side-effects of the drastic 
   1672 runtime action of a full table removal are unknown.
   1673 
   1674 Reverted the use of #pragma push/pop which was introduced in the 20140214 
   1675 release. It appears that push and pop are not implemented by enough 
   1676 compilers to make the use of this feature feasible for ACPICA at this 
   1677 time. However, these operators may be deployed in a future ACPICA 
   1678 release.
   1679 
   1680 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
   1681 handler interfaces.
   1682 
   1683 Source code generation:
   1684 1) Disabled the use of the "strchr" macro for the gcc-specific 
   1685 generation. For some versions of gcc, this macro can periodically expose 
   1686 a compiler bug which in turn causes compile-time error(s).
   1687 2) Added support for PPC64 compilation. Colin Ian King.
   1688 
   1689 Example Code and Data Size: These are the sizes for the OS-independent 
   1690 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1691 debug version of the code includes the debug output trace mechanism and 
   1692 has a much larger code and data size.
   1693 
   1694   Current Release:
   1695     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   1696     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   1697   Previous Release:
   1698     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   1699     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   1700 
   1701 
   1702 2) iASL Compiler/Disassembler and Tools:
   1703 
   1704 Disassembler: Added several new features to improve the readability of 
   1705 the resulting ASL code. Extra information is emitted within comment 
   1706 fields in the ASL code:
   1707 1) Known _HID/_CID values are decoded to descriptive text.
   1708 2) Standard values for the Notify() operator are decoded to descriptive 
   1709 text.
   1710 3) Target operands are expanded to full pathnames (in a comment) when 
   1711 possible.
   1712 
   1713 Disassembler: Miscellaneous updates for extern() handling:
   1714 1) Abort compiler if file specified by -fe option does not exist.
   1715 2) Silence unnecessary warnings about argument count mismatches.
   1716 3) Update warning messages concerning unresolved method externals.
   1717 4) Emit "UnknownObj" keyword for externals whose type cannot be 
   1718 determined.
   1719 
   1720 AcpiHelp utility:
   1721 1) Added the -a option to display both the ASL syntax and the AML 
   1722 encoding for an input ASL operator. This effectively displays all known 
   1723 information about an ASL operator with one AcpiHelp invocation.
   1724 2) Added substring match support (similar to a wildcard) for the -i 
   1725 (_HID/PNP IDs) option.
   1726 
   1727 iASL/Disassembler: Since this tool does not yet support execution on big-
   1728 endian machines, added detection of endianness and an error message if 
   1729 execution is attempted on big-endian. Support for big-endian within iASL 
   1730 is a feature that is on the ACPICA to-be-done list.
   1731 
   1732 AcpiBin utility:
   1733 1) Remove option to extract binary files from an acpidump; this function 
   1734 is made obsolete by the AcpiXtract utility.
   1735 2) General cleanup of open files and allocated buffers.
   1736 
   1737 
   1738 ----------------------------------------
   1739 14 February 2014. Summary of changes for version 20140214:
   1740 
   1741 1) ACPICA kernel-resident subsystem:
   1742 
   1743 Implemented a new mechanism to proactively prevent problems with ill-
   1744 behaved reentrant control methods that create named ACPI objects. This 
   1745 behavior is illegal as per the ACPI specification, but is nonetheless 
   1746 frequently seen in the field. Previously, this could lead to an 
   1747 AE_ALREADY_EXISTS exception if the method was actually entered by more 
   1748 than one thread. This new mechanism detects such methods at table load 
   1749 time and marks them "serialized" to prevent reentrancy. A new global 
   1750 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
   1751 feature if desired. This mechanism and global option obsoletes and 
   1752 supersedes the previous AcpiGbl_SerializeAllMethods option.
   1753 
   1754 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
   1755 respond TRUE to _OSI queries with this string. It is the stated policy of 
   1756 ACPICA to add new strings to the _OSI support as soon as possible after 
   1757 they are defined. See the full ACPICA _OSI policy which has been added to 
   1758 the utilities/utosi.c file.
   1759 
   1760 Hardened/updated the _PRT return value auto-repair code:
   1761 1) Do not abort the repair on a single subpackage failure, continue to 
   1762 check all subpackages.
   1763 2) Add check for the minimum subpackage length (4).
   1764 3) Properly handle extraneous NULL package elements.
   1765 
   1766 Added support to avoid the possibility of infinite loops when traversing 
   1767 object linked lists. Never allow an infinite loop, even in the face of 
   1768 corrupted object lists.
   1769 
   1770 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
   1771 pack(pop) directives to ensure that the ACPICA headers are independent of 
   1772 compiler settings or other host headers.
   1773 
   1774 Example Code and Data Size: These are the sizes for the OS-independent 
   1775 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1776 debug version of the code includes the debug output trace mechanism and 
   1777 has a much larger code and data size.
   1778 
   1779   Current Release:
   1780     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   1781     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   1782   Previous Release:
   1783     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   1784     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   1785 
   1786 
   1787 2) iASL Compiler/Disassembler and Tools:
   1788 
   1789 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
   1790 first reserved field was incorrectly forced to have a value of zero. This 
   1791 change correctly forces the field to have a value of one. ACPICA BZ 1081.
   1792 
   1793 Debugger: Added missing support for the "Extra" and "Data" subobjects 
   1794 when displaying object data.
   1795 
   1796 Debugger: Added support to display entire object linked lists when 
   1797 displaying object data.
   1798 
   1799 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
   1800 Windows registry. This feature has been superseded by the acpidump 
   1801 utility. 
   1802 
   1803 
   1804 ----------------------------------------
   1805 14 January 2014. Summary of changes for version 20140114:
   1806 
   1807 1) ACPICA kernel-resident subsystem:
   1808 
   1809 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   1810 copyright to all module headers and signons, including the standard Linux 
   1811 header. This affects virtually every file in the ACPICA core subsystem, 
   1812 iASL compiler, all ACPICA utilities, and the test suites.
   1813 
   1814 Improved parameter validation for AcpiInstallGpeBlock. Added the 
   1815 following checks:
   1816 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
   1817 2) There is not already a GPE block attached to the device.
   1818 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
   1819 device.
   1820 
   1821 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
   1822 support to allow references (namespace nodes) to be passed as arguments 
   1823 to control methods via the evaluate object interface. This is probably 
   1824 most useful for testing purposes, however.
   1825 
   1826 Improved support for 32/64 bit physical addresses in printf()-like 
   1827 output. This change improves the support for physical addresses in printf 
   1828 debug statements and other output on both 32-bit and 64-bit hosts. It 
   1829 consistently outputs the appropriate number of bytes for each host. The 
   1830 %p specifier is unsatisfactory since it does not emit uniform output on 
   1831 all hosts/clib implementations (on some, leading zeros are not supported, 
   1832 leading to difficult-to-read output).
   1833 
   1834 Example Code and Data Size: These are the sizes for the OS-independent 
   1835 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1836 debug version of the code includes the debug output trace mechanism and 
   1837 has a much larger code and data size.
   1838 
   1839   Current Release:
   1840     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   1841     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   1842   Previous Release:
   1843     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   1844     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   1845 
   1846 
   1847 2) iASL Compiler/Disassembler and Tools:
   1848 
   1849 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
   1850 problem if the parent Field definition for the Connection operator refers 
   1851 to an operation region that does not exist. ACPICA BZ 1064.
   1852 
   1853 AcpiExec: Load of local test tables is now optional. The utility has the 
   1854 capability to load some various tables to test features of ACPICA. 
   1855 However, there are enough of them that the output of the utility became 
   1856 confusing. With this change, only the required local tables are displayed 
   1857 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
   1858 line specification. This makes the default output simler and easier to 
   1859 understand. The -el command line option restores the original behavior 
   1860 for testing purposes.
   1861 
   1862 AcpiExec: Added support for overlapping operation regions. This change 
   1863 expands the simulation of operation regions by supporting regions that 
   1864 overlap within the given address space. Supports SystemMemory and 
   1865 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
   1866 
   1867 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
   1868 allows AcpiExec to simulate these address spaces, similar to the current 
   1869 support for SystemMemory and SystemIO.
   1870 
   1871 Debugger: Added new command to read/write/compare all namespace objects. 
   1872 The command "test objects" will exercise the entire namespace by writing 
   1873 new values to each data object, and ensuring that the write was 
   1874 successful. The original value is then restored and verified.
   1875 
   1876 Debugger: Added the "test predefined" command. This change makes this 
   1877 test public and puts it under the new "test" command. The test executes 
   1878 each and every predefined name within the current namespace.
   1879 
   1880 
   1881 ----------------------------------------
   1882 18 December 2013. Summary of changes for version 20131218:
   1883 
   1884 Global note: The ACPI 5.0A specification was released this month. There 
   1885 are no changes needed for ACPICA since this release of ACPI is an 
   1886 errata/clarification release. The specification is available at 
   1887 acpi.info. 
   1888 
   1889 
   1890 1) ACPICA kernel-resident subsystem:
   1891 
   1892 Added validation of the XSDT root table if it is present. Some older 
   1893 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
   1894 as containing some or all entries that are NULL pointers). This change 
   1895 adds a new function to validate the XSDT before actually using it. If the 
   1896 XSDT is found to be invalid, ACPICA will now automatically fall back to 
   1897 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
   1898 ACPICA and enhanced by Lv Zheng and Bob Moore.
   1899 
   1900 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
   1901 This change adds a runtime option that will force ACPICA to use the RSDT 
   1902 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
   1903 requires that an XSDT be used instead of the RSDT, the XSDT has been 
   1904 found to be corrupt or ill-formed on some machines. Lv Zheng.
   1905 
   1906 Added a runtime option to favor 32-bit FADT register addresses over the 
   1907 64-bit addresses. This change adds an option to favor 32-bit FADT 
   1908 addresses when there is a conflict between the 32-bit and 64-bit versions 
   1909 of the same register. The default behavior is to use the 64-bit version 
   1910 in accordance with the ACPI specification. This can now be overridden via 
   1911 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
   1912 
   1913 During the change above, the internal "Convert FADT" and "Verify FADT" 
   1914 functions have been merged to simplify the code, making it easier to 
   1915 understand and maintain. ACPICA BZ 933.
   1916 
   1917 Improve exception reporting and handling for GPE block installation. 
   1918 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
   1919 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
   1920 
   1921 Added helper macros to extract bus/segment numbers from the HEST table. 
   1922 This change adds two macros to extract the encoded bus and segment 
   1923 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
   1924 Betty Dall <betty.dall (a] hp.com>
   1925 
   1926 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
   1927 by ACPICA. It is not a public macro, so it should have no effect on 
   1928 existing OSV code. Lv Zheng.
   1929 
   1930 Example Code and Data Size: These are the sizes for the OS-independent 
   1931 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1932 debug version of the code includes the debug output trace mechanism and 
   1933 has a much larger code and data size.
   1934 
   1935   Current Release:
   1936     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   1937     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   1938   Previous Release:
   1939     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   1940     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   1941 
   1942 
   1943 2) iASL Compiler/Disassembler and Tools:
   1944 
   1945 Disassembler: Improved pathname support for emitted External() 
   1946 statements. This change adds full pathname support for external names 
   1947 that have been resolved internally by the inclusion of additional ACPI 
   1948 tables (via the iASL -e option). Without this change, the disassembler 
   1949 can emit multiple externals for the same object, or it become confused 
   1950 when the Scope() operator is used on an external object. Overall, greatly 
   1951 improves the ability to actually recompile the emitted ASL code when 
   1952 objects a referenced across multiple ACPI tables. Reported by Michael 
   1953 Tsirkin (mst (a] redhat.com).
   1954 
   1955 Tests/ASLTS: Updated functional control suite to execute with no errors. 
   1956 David Box. Fixed several errors related to the testing of the interpreter 
   1957 slack mode. Lv Zheng.
   1958 
   1959 iASL: Added support to detect names that are declared within a control 
   1960 method, but are unused (these are temporary names that are only valid 
   1961 during the time the method is executing). A remark is issued for these 
   1962 cases. ACPICA BZ 1022.
   1963 
   1964 iASL: Added full support for the DBG2 table. Adds full disassembler, 
   1965 table compiler, and template generator support for the DBG2 table (Debug 
   1966 Port 2 table).
   1967 
   1968 iASL: Added full support for the PCCT table, update the table definition. 
   1969 Updates the PCCT table definition in the actbl3.h header and adds table 
   1970 compiler and template generator support.
   1971 
   1972 iASL: Added an option to emit only error messages (no warnings/remarks). 
   1973 The -ve option will enable only error messages, warnings and remarks are 
   1974 suppressed. This can simplify debugging when only the errors are 
   1975 important, such as when an ACPI table is disassembled and there are many 
   1976 warnings and remarks -- but only the actual errors are of real interest.
   1977 
   1978 Example ACPICA code (source/tools/examples): Updated the example code so 
   1979 that it builds to an actual working program, not just example code. Added 
   1980 ACPI tables and execution of an example control method in the DSDT. Added 
   1981 makefile support for Unix generation.
   1982 
   1983 
   1984 ----------------------------------------
   1985 15 November 2013. Summary of changes for version 20131115:
   1986 
   1987 This release is available at https://acpica.org/downloads
   1988 
   1989 
   1990 1) ACPICA kernel-resident subsystem:
   1991 
   1992 Resource Manager: Fixed loop termination for the "get AML length" 
   1993 function. The loop previously had an error termination on a NULL resource 
   1994 pointer, which can never happen since the loop simply increments a valid 
   1995 resource pointer. This fix changes the loop to terminate with an error on 
   1996 an invalid end-of-buffer condition. The problem can be seen as an 
   1997 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
   1998 corrupted resource descriptor, or a resource descriptor that is missing 
   1999 an END_TAG descriptor. Reported by Dan Carpenter 
   2000 <dan.carpenter (a] oracle.com>. Lv Zheng, Bob Moore.
   2001 
   2002 Table unload and ACPICA termination: Delete all attached data objects 
   2003 during namespace node deletion. This fix updates namespace node deletion 
   2004 to delete the entire list of attached objects (attached via 
   2005 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
   2006 1024. Tomasz Nowicki (tomasz.nowicki (a] linaro.org).
   2007 
   2008 ACPICA termination: Added support to delete all objects attached to the 
   2009 root namespace node. This fix deletes any and all objects that have been 
   2010 attached to the root node via AcpiAttachData. Previously, none of these 
   2011 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
   2012 
   2013 Debug output: Do not emit the function nesting level for the in-kernel 
   2014 build. The nesting level is really only useful during a single-thread 
   2015 execution. Therefore, only enable this output for the AcpiExec utility. 
   2016 Also, only emit the thread ID when executing under AcpiExec (Context 
   2017 switches are still always detected and a message is emitted). ACPICA BZ 
   2018 972.
   2019 
   2020 Example Code and Data Size: These are the sizes for the OS-independent 
   2021 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2022 debug version of the code includes the debug output trace mechanism and 
   2023 has a much larger code and data size.
   2024 
   2025   Current Release:
   2026     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   2027     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   2028   Previous Release:
   2029     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   2030     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   2031 
   2032 
   2033 2) iASL Compiler/Disassembler and Tools:
   2034 
   2035 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
   2036 correct portable POSIX header for terminal control functions.
   2037 
   2038 Disassembler: Fixed control method invocation issues related to the use 
   2039 of the CondRefOf() operator. The problem is seen in the disassembly where 
   2040 control method invocations may not be disassembled properly if the 
   2041 control method name has been used previously as an argument to CondRefOf. 
   2042 The solution is to not attempt to emit an external declaration for the 
   2043 CondRefOf target (it is not necessary in the first place). This prevents 
   2044 disassembler object type confusion. ACPICA BZ 988.
   2045 
   2046 Unix Makefiles: Added an option to disable compiler optimizations and the 
   2047 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
   2048 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
   2049 command line option for make (NOOPT) that disables all compiler 
   2050 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
   2051 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
   2052 1034. Lv Zheng, Bob Moore.
   2053 
   2054 Tests/ASLTS: Added options to specify individual test cases and modes. 
   2055 This allows testers running aslts.sh to optionally specify individual 
   2056 test modes and test cases. Also added an option to disable the forced 
   2057 generation of the ACPICA tools from source if desired. Lv Zheng.
   2058 
   2059 ----------------------------------------
   2060 27 September 2013. Summary of changes for version 20130927:
   2061 
   2062 This release is available at https://acpica.org/downloads
   2063 
   2064 
   2065 1) ACPICA kernel-resident subsystem:
   2066 
   2067 Fixed a problem with store operations to reference objects. This change 
   2068 fixes a problem where a Store operation to an ArgX object that contained 
   2069 a 
   2070 reference to a field object did not complete the automatic dereference 
   2071 and 
   2072 then write to the actual field object. Instead, the object type of the 
   2073 field object was inadvertently changed to match the type of the source 
   2074 operand. The new behavior will actually write to the field object (buffer 
   2075 field or field unit), thus matching the correct ACPI-defined behavior.
   2076 
   2077 Implemented support to allow the host to redefine individual OSL 
   2078 prototypes. This change enables the host to redefine OSL prototypes found 
   2079 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
   2080 with a macro or inlined function. Further, it allows the host to add any 
   2081 additional required modifiers such as __iomem, __init, __exit, etc., as 
   2082 necessary on a per-interface basis. Enables maximum flexibility for the 
   2083 OSL interfaces. Lv Zheng.
   2084 
   2085 Hardcoded the access width for the FADT-defined reset register. The ACPI 
   2086 specification requires the reset register width to be 8 bits. ACPICA now 
   2087 hardcodes the width to 8 and ignores the FADT width value. This provides 
   2088 compatibility with other ACPI implementations that have allowed BIOS code 
   2089 with bad register width values to go unnoticed. Matthew Garett, Bob 
   2090 Moore, 
   2091 Lv Zheng.
   2092 
   2093 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
   2094 used 
   2095 in the OSL header (acpiosxf). The change modifies the position of this 
   2096 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
   2097 build issues if the OSL defines the implementation of the interface to be 
   2098 an inline stub function. Lv Zheng.
   2099 
   2100 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
   2101 initialization interfaces. This change adds a new macro for the main init 
   2102 and terminate external interfaces in order to support hosts that require 
   2103 additional or different processing for these functions. Changed from 
   2104 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
   2105 Zheng, Bob Moore.
   2106 
   2107 Cleaned up the memory allocation macros for configurability. In the 
   2108 common 
   2109 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
   2110 respective AcpiOs* OSL interfaces. Two options:
   2111 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
   2112 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
   2113 2) For AcpiExec (and for debugging), the macros can optionally be 
   2114 resolved 
   2115 to the local ACPICA interfaces that track each allocation (local tracking 
   2116 is used to immediately detect memory leaks).
   2117 Lv Zheng.
   2118 
   2119 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
   2120 to predefine this macro to either TRUE or FALSE during the system build.
   2121 
   2122 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
   2123 
   2124 Example Code and Data Size: These are the sizes for the OS-independent 
   2125 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2126 debug version of the code includes the debug output trace mechanism and 
   2127 has a much larger code and data size.
   2128 
   2129   Current Release:
   2130     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   2131     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   2132   Previous Release:
   2133     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   2134     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   2135 
   2136 
   2137 2) iASL Compiler/Disassembler and Tools:
   2138 
   2139 iASL: Implemented wildcard support for the -e option. This simplifies use 
   2140 when there are many SSDTs that must be included to resolve external 
   2141 method 
   2142 declarations. ACPICA BZ 1041. Example:
   2143     iasl -e ssdt*.dat -d dsdt.dat
   2144 
   2145 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
   2146 adds a portable module that implements full history and limited line 
   2147 editing for Unix and Linux systems. It does not use readline() due to 
   2148 portability issues. Instead it uses the POSIX termio interface to put the 
   2149 terminal in raw input mode so that the various special keys can be 
   2150 trapped 
   2151 (such as up/down-arrow for history support and left/right-arrow for line 
   2152 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
   2153 
   2154 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
   2155 one or more spaces. This provides compatible with early or different 
   2156 versions of the AcpiDump utility. ACPICA BZ 1044.
   2157 
   2158 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
   2159 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
   2160 no other data. This change adds support to dump these tables. Any tables 
   2161 shorter than the length of an ACPI table header remain in error (an error 
   2162 message is emitted). Reported by Yi Li.
   2163 
   2164 Debugger: Echo actual command along with the "unknown command" message.
   2165 
   2166 ----------------------------------------
   2167 23 August 2013. Summary of changes for version 20130823:
   2168 
   2169 1) ACPICA kernel-resident subsystem:
   2170 
   2171 Implemented support for host-installed System Control Interrupt (SCI) 
   2172 handlers. Certain ACPI functionality requires the host to handle raw 
   2173 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
   2174 state support requires the host device driver to handle SCIs to examine 
   2175 if the doorbell has been activated. Multiple SCI handlers can be 
   2176 installed to allow for future expansion. New external interfaces are 
   2177 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
   2178 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
   2179 
   2180 Operation region support: Never locally free the handler "context" 
   2181 pointer. This change removes some dangerous code that attempts to free 
   2182 the handler context pointer in some (rare) circumstances. The owner of 
   2183 the handler owns this pointer and the ACPICA code should never touch it. 
   2184 Although not seen to be an issue in any kernel, it did show up as a 
   2185 problem (fault) under AcpiExec. Also, set the internal storage field for 
   2186 the context pointer to zero when the region is deactivated, simply for 
   2187 sanity. David Box. ACPICA BZ 1039.
   2188 
   2189 AcpiRead: On error, do not modify the return value target location. If an 
   2190 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
   2191 modify the target of the return value pointer. Makes the code consistent 
   2192 with the rest of ACPICA. Bjorn Helgaas.
   2193 
   2194 Example Code and Data Size: These are the sizes for the OS-independent 
   2195 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2196 debug version of the code includes the debug output trace mechanism and 
   2197 has a much larger code and data size.
   2198 
   2199   Current Release:
   2200     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   2201     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   2202   Previous Release:
   2203     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   2204     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
   2205 
   2206 
   2207 2) iASL Compiler/Disassembler and Tools:
   2208 
   2209 AcpiDump: Implemented several new features and fixed some problems:
   2210 1) Added support to dump the RSDP, RSDT, and XSDT tables.
   2211 2) Added support for multiple table instances (SSDT, UEFI).
   2212 3) Added option to dump "customized" (overridden) tables (-c).
   2213 4) Fixed a problem where some table filenames were improperly 
   2214 constructed.
   2215 5) Improved some error messages, removed some unnecessary messages.
   2216 
   2217 iASL: Implemented additional support for disassembly of ACPI tables that 
   2218 contain invocations of external control methods. The -fe<file> option 
   2219 allows the import of a file that specifies the external methods along 
   2220 with the required number of arguments for each -- allowing for the 
   2221 correct disassembly of the table. This is a workaround for a limitation 
   2222 of AML code where the disassembler often cannot determine the number of 
   2223 arguments required for an external control method and generates incorrect 
   2224 ASL code. See the iASL reference for details. ACPICA BZ 1030.
   2225 
   2226 Debugger: Implemented a new command (paths) that displays the full 
   2227 pathnames (namepaths) and object types of all objects in the namespace. 
   2228 This is an alternative to the namespace command.
   2229 
   2230 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
   2231 mechanism and any installed handlers.
   2232 
   2233 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
   2234 This can occur if there are too many parent prefixes in a namepath (for 
   2235 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
   2236 
   2237 Application OSLs: Set the return value for the PCI read functions. These 
   2238 functions simply return AE_OK, but should set the return value to zero 
   2239 also. This change implements this. ACPICA BZ 1038.
   2240 
   2241 Debugger: Prevent possible command line buffer overflow. Increase the 
   2242 size of a couple of the debugger line buffers, and ensure that overflow 
   2243 cannot happen. ACPICA BZ 1037.
   2244 
   2245 iASL: Changed to abort immediately on serious errors during the parsing 
   2246 phase. Due to the nature of ASL, there is no point in attempting to 
   2247 compile these types of errors, and they typically end up causing a 
   2248 cascade of hundreds of errors which obscure the original problem.
   2249 
   2250 ----------------------------------------
   2251 25 July 2013. Summary of changes for version 20130725:
   2252 
   2253 1) ACPICA kernel-resident subsystem:
   2254 
   2255 Fixed a problem with the DerefOf operator where references to FieldUnits 
   2256 and BufferFields incorrectly returned the parent object, not the actual 
   2257 value of the object. After this change, a dereference of a FieldUnit 
   2258 reference results in a read operation on the field to get the value, and 
   2259 likewise, the appropriate BufferField value is extracted from the target 
   2260 buffer.
   2261 
   2262 Fixed a problem where the _WAK method could cause a fault under these 
   2263 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
   2264 method returned no value. The problem is rarely seen because most kernels 
   2265 run ACPICA in slack mode.
   2266 
   2267 For the DerefOf operator, a fatal error now results if an attempt is made 
   2268 to dereference a reference (created by the Index operator) to a NULL 
   2269 package element. Provides compatibility with other ACPI implementations, 
   2270 and this behavior will be added to a future version of the ACPI 
   2271 specification.
   2272 
   2273 The ACPI Power Management Timer (defined in the FADT) is now optional. 
   2274 This provides compatibility with other ACPI implementations and will 
   2275 appear in the next version of the ACPI specification. If there is no PM 
   2276 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
   2277 zero in the FADT indicates no PM timer.
   2278 
   2279 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
   2280 allows the host to globally enable/disable all vendor strings, all 
   2281 feature strings, or both. Intended to be primarily used for debugging 
   2282 purposes only. Lv Zheng.
   2283 
   2284 Expose the collected _OSI data to the host via a global variable. This 
   2285 data tracks the highest level vendor ID that has been invoked by the BIOS 
   2286 so that the host (and potentially ACPICA itself) can change behaviors 
   2287 based upon the age of the BIOS.
   2288 
   2289 Example Code and Data Size: These are the sizes for the OS-independent 
   2290 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2291 debug version of the code includes the debug output trace mechanism and 
   2292 has a much larger code and data size.
   2293 
   2294   Current Release:
   2295     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   2296     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   2297   Previous Release:
   2298     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   2299     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   2300 
   2301 
   2302 2) iASL Compiler/Disassembler and Tools:
   2303 
   2304 iASL: Created the following enhancements for the -so option (create 
   2305 offset table):
   2306 1)Add offsets for the last nameseg in each namepath for every supported 
   2307 object type
   2308 2)Add support for Processor, Device, Thermal Zone, and Scope objects
   2309 3)Add the actual AML opcode for the parent object of every supported 
   2310 object type
   2311 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
   2312 
   2313 Disassembler: Emit all unresolved external symbols in a single block. 
   2314 These are external references to control methods that could not be 
   2315 resolved, and thus, the disassembler had to make a guess at the number of 
   2316 arguments to parse.
   2317 
   2318 iASL: The argument to the -T option (create table template) is now 
   2319 optional. If not specified, the default table is a DSDT, typically the 
   2320 most common case.
   2321 
   2322 ----------------------------------------
   2323 26 June 2013. Summary of changes for version 20130626:
   2324 
   2325 1) ACPICA kernel-resident subsystem:
   2326 
   2327 Fixed an issue with runtime repair of the _CST object. Null or invalid 
   2328 elements were not always removed properly. Lv Zheng. 
   2329 
   2330 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
   2331 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
   2332 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
   2333 makes the system-wide number of GPEs essentially unlimited.
   2334 
   2335 Example Code and Data Size: These are the sizes for the OS-independent 
   2336 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2337 debug version of the code includes the debug output trace mechanism and 
   2338 has a much larger code and data size.
   2339 
   2340   Current Release:
   2341     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   2342     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   2343   Previous Release:
   2344     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   2345     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   2346 
   2347 
   2348 2) iASL Compiler/Disassembler and Tools:
   2349 
   2350 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
   2351 hosts. Now supports Linux, FreeBSD, and Windows.
   2352 
   2353 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
   2354 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
   2355 
   2356 iASL/Preprocessor: Implemented full support for nested 
   2357 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
   2358 
   2359 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
   2360 max. The original purpose of this constraint was to limit the amount of 
   2361 debug output. However, the string function in question (UtPrintString) is 
   2362 now used for the disassembler also, where 256 bytes is insufficient. 
   2363 Reported by RehabMan@GitHub.
   2364 
   2365 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
   2366 tables. ACPICA BZ 999. Lv Zheng.
   2367 
   2368 iASL: Fixed a couple of error exit issues that could result in a "Could 
   2369 not delete <file>" message during ASL compilation.
   2370 
   2371 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
   2372 the actual signatures for these tables are "FACP" and "APIC", 
   2373 respectively.
   2374 
   2375 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
   2376 tables are allowed to have multiple instances.
   2377 
   2378 ----------------------------------------
   2379 17 May 2013. Summary of changes for version 20130517:
   2380 
   2381 1) ACPICA kernel-resident subsystem:
   2382 
   2383 Fixed a regression introduced in version 20130328 for _INI methods. This 
   2384 change fixes a problem introduced in 20130328 where _INI methods are no 
   2385 longer executed properly because of a memory block that was not 
   2386 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
   2387 <tomasz.nowicki (a] linaro.org>.
   2388 
   2389 Fixed a possible problem with the new extended sleep registers in the 
   2390 ACPI 
   2391 5.0 FADT. Do not use these registers (even if populated) unless the HW-
   2392 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
   2393 1020. Lv Zheng.
   2394 
   2395 Implemented return value repair code for _CST predefined objects: Sort 
   2396 the 
   2397 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
   2398 
   2399 Implemented a debug-only option to disable loading of SSDTs from the 
   2400 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
   2401 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
   2402 acglobal.h - ACPICA BZ 1005. Lv Zheng.
   2403 
   2404 Fixed some issues in the ACPICA initialization and termination code: 
   2405 Tomasz Nowicki <tomasz.nowicki (a] linaro.org>
   2406 1) Clear events initialized flag upon event component termination. ACPICA 
   2407 BZ 1013.
   2408 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
   2409 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
   2410 4) Clear debug buffer global on termination to prevent possible multiple 
   2411 delete. ACPICA BZ 1010.
   2412 
   2413 Standardized all switch() blocks across the entire source base. After 
   2414 many 
   2415 years, different formatting for switch() had crept in. This change makes 
   2416 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
   2417 
   2418 Split some files to enhance ACPICA modularity and configurability:
   2419 1) Split buffer dump routines into utilities/utbuffer.c
   2420 2) Split internal error message routines into utilities/uterror.c
   2421 3) Split table print utilities into tables/tbprint.c
   2422 4) Split iASL command-line option processing into asloptions.c
   2423 
   2424 Makefile enhancements:
   2425 1) Support for all new files above.
   2426 2) Abort make on errors from any subcomponent. Chao Guan.
   2427 3) Add build support for Apple Mac OS X. Liang Qi.
   2428 
   2429 Example Code and Data Size: These are the sizes for the OS-independent 
   2430 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2431 debug version of the code includes the debug output trace mechanism and 
   2432 has a much larger code and data size.
   2433 
   2434   Current Release:
   2435     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   2436     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   2437   Previous Release:
   2438     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   2439     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   2440 
   2441 
   2442 2) iASL Compiler/Disassembler and Tools:
   2443 
   2444 New utility: Implemented an easily portable version of the acpidump 
   2445 utility to extract ACPI tables from the system (or a file) in an ASCII 
   2446 hex 
   2447 dump format. The top-level code implements the various command line 
   2448 options, file I/O, and table dump routines. To port to a new host, only 
   2449 three functions need to be implemented to get tables -- since this 
   2450 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
   2451 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
   2452 1) The Windows version obtains the ACPI tables from the Registry.
   2453 2) The Linux version is under development.
   2454 3) Other hosts - If an OS-dependent module is submitted, it will be 
   2455 distributed with ACPICA.
   2456 
   2457 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
   2458 restructuring/change to the initialization sequence caused this option to 
   2459 no longer work properly.
   2460 
   2461 iASL: Implemented a mechanism to disable specific warnings and remarks. 
   2462 Adds a new command line option, "-vw <messageid> as well as "#pragma 
   2463 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
   2464 
   2465 iASL: Fix for too-strict package object validation. The package object 
   2466 validation for return values from the predefined names is a bit too 
   2467 strict, it does not allow names references within the package (which will 
   2468 be resolved at runtime.) These types of references cannot be validated at 
   2469 compile time. This change ignores named references within package objects 
   2470 for names that return or define static packages.
   2471 
   2472 Debugger: Fixed the 80-character command line limitation for the History 
   2473 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
   2474 
   2475 iASL: Added control method and package support for the -so option 
   2476 (generates AML offset table for BIOS support.)
   2477 
   2478 iASL: issue a remark if a non-serialized method creates named objects. If 
   2479 a thread blocks within the method for any reason, and another thread 
   2480 enters the method, the method will fail because an attempt will be made 
   2481 to 
   2482 create the same (named) object twice. In this case, issue a remark that 
   2483 the method should be marked serialized. NOTE: may become a warning later. 
   2484 ACPICA BZ 909.
   2485 
   2486 ----------------------------------------
   2487 18 April 2013. Summary of changes for version 20130418:
   2488 
   2489 1) ACPICA kernel-resident subsystem:
   2490 
   2491 Fixed a possible buffer overrun during some rare but specific field unit 
   2492 read operations. This overrun can only happen if the DSDT version is 1 -- 
   2493 meaning that all AML integers are 32 bits -- and the field length is 
   2494 between 33 and 55 bits long. During the read, an internal buffer object 
   2495 is 
   2496 created for the field unit because the field is larger than an integer 
   2497 (32 
   2498 bits). However, in this case, the buffer will be incorrectly written 
   2499 beyond the end because the buffer length is less than the internal 
   2500 minimum 
   2501 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
   2502 long, but a full 8 bytes will be written.
   2503 
   2504 Updated the Embedded Controller "orphan" _REG method support. This refers 
   2505 to _REG methods under the EC device that have no corresponding operation 
   2506 region. This is allowed by the ACPI specification. This update removes a 
   2507 dependency on the existence an ECDT table. It will execute an orphan _REG 
   2508 method as long as the operation region handler for the EC is installed at 
   2509 the EC device node and not the namespace root. Rui Zhang (original 
   2510 update), Bob Moore (update/integrate).
   2511 
   2512 Implemented run-time argument typechecking for all predefined ACPI names 
   2513 (_STA, _BIF, etc.) This change performs object typechecking on all 
   2514 incoming arguments for all predefined names executed via 
   2515 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
   2516 passing correct object types as well as the correct number of arguments 
   2517 (therefore identifying any issues immediately). Also, the ASL/namespace 
   2518 definition of the predefined name is checked against the ACPI 
   2519 specification for the proper argument count. Adds one new file, 
   2520 nsarguments.c
   2521 
   2522 Changed an exception code for the ASL UnLoad() operator. Changed the 
   2523 exception code for the case where the input DdbHandle is invalid, from 
   2524 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
   2525 
   2526 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
   2527 global makefile. The use of this flag causes compiler errors on earlier 
   2528 versions of GCC, so it has been removed for compatibility.
   2529 
   2530 Miscellaneous cleanup:
   2531 1) Removed some unused/obsolete macros
   2532 2) Fixed a possible memory leak in the _OSI support
   2533 3) Removed an unused variable in the predefined name support
   2534 4) Windows OSL: remove obsolete reference to a memory list field
   2535 
   2536 Example Code and Data Size: These are the sizes for the OS-independent 
   2537 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2538 debug version of the code includes the debug output trace mechanism and 
   2539 has a much larger code and data size.
   2540 
   2541   Current Release:
   2542     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   2543     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   2544   Previous Release:
   2545     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   2546     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   2547 
   2548 
   2549 2) iASL Compiler/Disassembler and Tools:
   2550 
   2551 AcpiExec: Added installation of a handler for the SystemCMOS address 
   2552 space. This prevents control method abort if a method accesses this 
   2553 space.
   2554 
   2555 AcpiExec: Added support for multiple EC devices, and now install EC 
   2556 operation region handler(s) at the actual EC device instead of the 
   2557 namespace root. This reflects the typical behavior of host operating 
   2558 systems.
   2559 
   2560 AcpiExec: Updated to ensure that all operation region handlers are 
   2561 installed before the _REG methods are executed. This prevents a _REG 
   2562 method from aborting if it accesses an address space has no handler. 
   2563 AcpiExec installs a handler for every possible address space.
   2564 
   2565 Debugger: Enhanced the "handlers" command to display non-root handlers. 
   2566 This change enhances the handlers command to display handlers associated 
   2567 with individual devices throughout the namespace, in addition to the 
   2568 currently supported display of handlers associated with the root 
   2569 namespace 
   2570 node.
   2571 
   2572 ASL Test Suite: Several test suite errors have been identified and 
   2573 resolved, reducing the total error count during execution. Chao Guan.
   2574 
   2575 ----------------------------------------
   2576 28 March 2013. Summary of changes for version 20130328:
   2577 
   2578 1) ACPICA kernel-resident subsystem:
   2579 
   2580 Fixed several possible race conditions with the internal object reference 
   2581 counting mechanism. Some of the external ACPICA interfaces update object 
   2582 reference counts without holding the interpreter or namespace lock. This 
   2583 change adds a spinlock to protect reference count updates on the internal 
   2584 ACPICA objects. Reported by and with assistance from Andriy Gapon 
   2585 (avg (a] FreeBSD.org).
   2586 
   2587 FADT support: Removed an extraneous warning for very large GPE register 
   2588 sets. This change removes a size mismatch warning if the legacy length 
   2589 field for a GPE register set is larger than the 64-bit GAS structure can 
   2590 accommodate. GPE register sets can be larger than the 255-bit width 
   2591 limitation of the GAS structure. Linn Crosetto (linn (a] hp.com).
   2592 
   2593 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
   2594 return from this interface. Handles a possible timeout case if 
   2595 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
   2596 "forever". Jung-uk Kim.
   2597 
   2598 Predefined name support: Add allowed/required argument type information 
   2599 to 
   2600 the master predefined info table. This change adds the infrastructure to 
   2601 enable typechecking on incoming arguments for all predefined 
   2602 methods/objects. It does not actually contain the code that will fully 
   2603 utilize this information, this is still under development. Also condenses 
   2604 some duplicate code for the predefined names into a new module, 
   2605 utilities/utpredef.c
   2606 
   2607 Example Code and Data Size: These are the sizes for the OS-independent 
   2608 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2609 debug version of the code includes the debug output trace mechanism and 
   2610 has a much larger code and data size.
   2611 
   2612   Previous Release:
   2613     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   2614     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   2615   Current Release:
   2616     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   2617     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   2618 
   2619 
   2620 2) iASL Compiler/Disassembler and Tools:
   2621 
   2622 iASL: Implemented a new option to simplify the development of ACPI-
   2623 related 
   2624 BIOS code. Adds support for a new "offset table" output file. The -so 
   2625 option will create a C table containing the AML table offsets of various 
   2626 named objects in the namespace so that BIOS code can modify them easily 
   2627 at 
   2628 boot time. This can simplify BIOS runtime code by eliminating expensive 
   2629 searches for "magic values", enhancing boot times and adding greater 
   2630 reliability. With assistance from Lee Hamel.
   2631 
   2632 iASL: Allow additional predefined names to return zero-length packages. 
   2633 Now, all predefined names that are defined by the ACPI specification to 
   2634 return a "variable-length package of packages" are allowed to return a 
   2635 zero length top-level package. This allows the BIOS to tell the host that 
   2636 the requested feature is not supported, and supports existing BIOS/ASL 
   2637 code and practices.
   2638 
   2639 iASL: Changed the "result not used" warning to an error. This is the case 
   2640 where an ASL operator is effectively a NOOP because the result of the 
   2641 operation is not stored anywhere. For example:
   2642     Add (4, Local0)
   2643 There is no target (missing 3rd argument), nor is the function return 
   2644 value used. This is potentially a very serious problem -- since the code 
   2645 was probably intended to do something, but for whatever reason, the value 
   2646 was not stored. Therefore, this issue has been upgraded from a warning to 
   2647 an error.
   2648 
   2649 AcpiHelp: Added allowable/required argument types to the predefined names 
   2650 info display. This feature utilizes the recent update to the predefined 
   2651 names table (above).
   2652 
   2653 ----------------------------------------
   2654 14 February 2013. Summary of changes for version 20130214:
   2655 
   2656 1) ACPICA Kernel-resident Subsystem:
   2657 
   2658 Fixed a possible regression on some hosts: Reinstated the safe return 
   2659 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
   2660 evaluated only once. Although these macros are not needed for the ACPICA 
   2661 code itself, they are often used by ACPI-related host device drivers 
   2662 where 
   2663 the safe feature may be necessary.
   2664 
   2665 Fixed several issues related to the ACPI 5.0 reduced hardware support 
   2666 (SOC): Now ensure that if the platform declares itself as hardware-
   2667 reduced 
   2668 via the FADT, the following functions become NOOPs (and always return 
   2669 AE_OK) because ACPI is always enabled by definition on these machines:
   2670   AcpiEnable
   2671   AcpiDisable
   2672   AcpiHwGetMode
   2673   AcpiHwSetMode
   2674 
   2675 Dynamic Object Repair: Implemented additional runtime repairs for 
   2676 predefined name return values. Both of these repairs can simplify code in 
   2677 the related device drivers that invoke these methods:
   2678 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
   2679 string to a Unicode buffer. 
   2680 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
   2681 a 
   2682 lone end tag descriptor in the following cases: A Return(0) was executed, 
   2683 a null buffer was returned, or no object at all was returned (non-slack 
   2684 mode only). Adds a new file, nsconvert.c
   2685 ACPICA BZ 998. Bob Moore, Lv Zheng.
   2686 
   2687 Resource Manager: Added additional code to prevent possible infinite 
   2688 loops 
   2689 while traversing corrupted or ill-formed resource template buffers. Check 
   2690 for zero-length resource descriptors in all code that loops through 
   2691 resource templates (the length field is used to index through the 
   2692 template). This change also hardens the external AcpiWalkResources and 
   2693 AcpiWalkResourceBuffer interfaces.
   2694 
   2695 Local Cache Manager: Enhanced the main data structure to eliminate an 
   2696 unnecessary mechanism to access the next object in the list. Actually 
   2697 provides a small performance enhancement for hosts that use the local 
   2698 ACPICA cache manager. Jung-uk Kim.
   2699 
   2700 Example Code and Data Size: These are the sizes for the OS-independent 
   2701 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2702 debug version of the code includes the debug output trace mechanism and 
   2703 has a much larger code and data size.
   2704 
   2705   Previous Release:
   2706     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   2707     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   2708   Current Release:
   2709     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   2710     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   2711 
   2712 
   2713 2) iASL Compiler/Disassembler and Tools:
   2714 
   2715 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
   2716 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
   2717 that were made to the ACPI 5.0 specification.
   2718 
   2719 iASL/Disassembler: Added full support for the following new ACPI tables:
   2720   1) The MTMR table (MID Timer Table)
   2721   2) The VRTC table (Virtual Real Time Clock Table).
   2722 Includes header file, disassembler, table compiler, and template support 
   2723 for both tables.
   2724 
   2725 iASL: Implemented compile-time validation of package objects returned by 
   2726 predefined names. This new feature validates static package objects 
   2727 returned by the various predefined names defined to return packages. Both 
   2728 object types and package lengths are validated, for both parent packages 
   2729 and sub-packages, if any. The code is similar in structure and behavior 
   2730 to 
   2731 the runtime repair mechanism within the AML interpreter and uses the 
   2732 existing predefined name information table. Adds a new file, aslprepkg.c. 
   2733 ACPICA BZ 938.
   2734 
   2735 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
   2736 This feature detects a binary file with a valid ACPI table header and 
   2737 invokes the disassembler automatically. Eliminates the need to 
   2738 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
   2739 
   2740 iASL/Disassembler: Added several warnings for the case where there are 
   2741 unresolved control methods during the disassembly. This can potentially 
   2742 cause errors when the output file is compiled, because the disassembler 
   2743 assumes zero method arguments in these cases (it cannot determine the 
   2744 actual number of arguments without resolution/definition of the method).
   2745 
   2746 Debugger: Added support to display all resources with a single command. 
   2747 Invocation of the resources command with no arguments will now display 
   2748 all 
   2749 resources within the current namespace.
   2750 
   2751 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
   2752 via the -e option.
   2753 
   2754 ----------------------------------------
   2755 17 January 2013. Summary of changes for version 20130117:
   2756 
   2757 1) ACPICA Kernel-resident Subsystem:
   2758 
   2759 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
   2760 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
   2761 objects to return a package containing one integer, most BIOS code 
   2762 returns 
   2763 two integers and the previous code reflects that. However, we also need 
   2764 to 
   2765 support BIOS code that actually implements to the ACPI spec, and this 
   2766 change reflects this.
   2767 
   2768 Fixed two issues with the ACPI_DEBUG_PRINT macros:
   2769 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
   2770 C compilers that require this support.
   2771 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
   2772 ACPI_DEBUG is already used by many of the various hosts.
   2773 
   2774 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
   2775 copyright to all module headers and signons, including the standard Linux 
   2776 header. This affects virtually every file in the ACPICA core subsystem, 
   2777 iASL compiler, all ACPICA utilities, and the test suites.
   2778 
   2779 Example Code and Data Size: These are the sizes for the OS-independent 
   2780 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2781 debug version of the code includes the debug output trace mechanism and 
   2782 has a much larger code and data size.
   2783 
   2784   Previous Release:
   2785     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   2786     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   2787   Current Release:
   2788     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   2789     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   2790 
   2791 
   2792 2) iASL Compiler/Disassembler and Tools:
   2793 
   2794 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
   2795 prevent a possible fault on some hosts. Some C libraries modify the arg 
   2796 pointer parameter to vfprintf making it difficult to call it twice in the 
   2797 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
   2798 does not affect the Windows OSL since the Win C library does not modify 
   2799 the arg pointer. Chao Guan, Bob Moore.
   2800 
   2801 iASL: Fixed a possible infinite loop when the maximum error count is 
   2802 reached. If an output file other than the .AML file is specified (such as 
   2803 a listing file), and the maximum number of errors is reached, do not 
   2804 attempt to flush data to the output file(s) as the compiler is aborting. 
   2805 This can cause an infinite loop as the max error count code essentially 
   2806 keeps calling itself.
   2807 
   2808 iASL/Disassembler: Added an option (-in) to ignore NOOP 
   2809 opcodes/operators. 
   2810 Implemented for both the compiler and the disassembler. Often, the NOOP 
   2811 opcode is used as padding for packages that are changed dynamically by 
   2812 the 
   2813 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
   2814 errors. This option causes the disassembler to ignore all NOOP opcodes 
   2815 (0xA3), and it also causes the compiler to ignore all ASL source code 
   2816 NOOP 
   2817 statements as well.
   2818 
   2819 Debugger: Enhanced the Sleep command to execute all sleep states. This 
   2820 change allows Sleep to be invoked with no arguments and causes the 
   2821 debugger to execute all of the sleep states, 0-5, automatically.
   2822 
   2823 ----------------------------------------
   2824 20 December 2012. Summary of changes for version 20121220:
   2825 
   2826 1) ACPICA Kernel-resident Subsystem:
   2827 
   2828 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
   2829 alternate entry point for AcpiWalkResources and improves the usability of 
   2830 the resource manager by accepting as input a buffer containing the output 
   2831 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
   2832 input buffer is not deleted by this interface so that it can be used by 
   2833 the host later. See the ACPICA reference for details.
   2834 
   2835 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
   2836 (DSDT version < 2). The constant will be truncated and this warning 
   2837 reflects that behavior.
   2838 
   2839 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
   2840 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
   2841 both get and set the new wake bit in these descriptors, separately from 
   2842 the existing share bit. Reported by Aaron Lu.
   2843 
   2844 Interpreter: Fix Store() when an implicit conversion is not possible. For 
   2845 example, in the cases such as a store of a string to an existing package 
   2846 object, implement the store as a CopyObject(). This is a small departure 
   2847 from the ACPI specification which states that the control method should 
   2848 be 
   2849 aborted in this case. However, the ASLTS suite depends on this behavior.
   2850 
   2851 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
   2852 macros: check if debug output is currently enabled as soon as possible to 
   2853 minimize performance impact if debug is in fact not enabled.
   2854 
   2855 Source code restructuring: Cleanup to improve modularity. The following 
   2856 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
   2857 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
   2858 Associated makefiles and project files have been updated.
   2859 
   2860 Changed an exception code for LoadTable operator. For the case where one 
   2861 of the input strings is too long, change the returned exception code from 
   2862 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
   2863 
   2864 Fixed a possible memory leak in dispatcher error path. On error, delete 
   2865 the mutex object created during method mutex creation. Reported by 
   2866 tim.gardner (a] canonical.com.
   2867 
   2868 Example Code and Data Size: These are the sizes for the OS-independent 
   2869 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2870 debug version of the code includes the debug output trace mechanism and 
   2871 has a much larger code and data size.
   2872 
   2873   Previous Release:
   2874     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   2875     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   2876   Current Release:
   2877     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   2878     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   2879 
   2880 
   2881 2) iASL Compiler/Disassembler and Tools:
   2882 
   2883 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
   2884 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
   2885 will not allow the interpreter to differentiate between a method and a 
   2886 method invocation when these are used as an argument to the ObjectType 
   2887 operator. The ACPI specification change is to disallow a method 
   2888 invocation 
   2889 (UserTerm) for the ObjectType operator.
   2890 
   2891 Finish support for the TPM2 and CSRT tables in the headers, table 
   2892 compiler, and disassembler.
   2893 
   2894 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
   2895 always expires immediately if the semaphore is not available. The 
   2896 original 
   2897 code was using a relative-time timeout, but sem_timedwait requires the 
   2898 use 
   2899 of an absolute time.
   2900 
   2901 iASL: Added a remark if the Timer() operator is used within a 32-bit 
   2902 table. This operator returns a 64-bit time value that will be truncated 
   2903 within a 32-bit table.
   2904 
   2905 iASL Source code restructuring: Cleanup to improve modularity. The 
   2906 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
   2907 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
   2908 been updated.
   2909 
   2910 
   2911 ----------------------------------------
   2912 14 November 2012. Summary of changes for version 20121114:
   2913 
   2914 1) ACPICA Kernel-resident Subsystem:
   2915 
   2916 Implemented a performance enhancement for ACPI/AML Package objects. This 
   2917 change greatly increases the performance of Package objects within the 
   2918 interpreter. It changes the processing of reference counts for packages 
   2919 by 
   2920 optimizing for the most common case where the package sub-objects are 
   2921 either Integers, Strings, or Buffers. Increases the overall performance 
   2922 of 
   2923 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
   2924 2X.) 
   2925 Chao Guan. ACPICA BZ 943.
   2926 
   2927 Implemented and deployed common macros to extract flag bits from resource 
   2928 descriptors. Improves readability and maintainability of the code. Fixes 
   2929 a 
   2930 problem with the UART serial bus descriptor for the number of data bits 
   2931 flags (was incorrectly 2 bits, should be 3).
   2932 
   2933 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
   2934 of the macros and changed the SETx macros to the style of (destination, 
   2935 source). Also added ACPI_CASTx companion macros. Lv Zheng.
   2936 
   2937 Example Code and Data Size: These are the sizes for the OS-independent 
   2938 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2939 debug version of the code includes the debug output trace mechanism and 
   2940 has a much larger code and data size.
   2941 
   2942   Previous Release:
   2943     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   2944     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   2945   Current Release:
   2946     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   2947     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   2948 
   2949 
   2950 2) iASL Compiler/Disassembler and Tools:
   2951 
   2952 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
   2953 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
   2954 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
   2955 
   2956 Disassembler: Fixed a problem with external declaration generation. Fixes 
   2957 a problem where an incorrect pathname could be generated for an external 
   2958 declaration if the original reference to the object includes leading 
   2959 carats (^). ACPICA BZ 984.
   2960 
   2961 Debugger: Completed a major update for the Disassemble<method> command. 
   2962 This command was out-of-date and did not properly disassemble control 
   2963 methods that had any reasonable complexity. This fix brings the command 
   2964 up 
   2965 to the same level as the rest of the disassembler. Adds one new file, 
   2966 dmdeferred.c, which is existing code that is now common with the main 
   2967 disassembler and the debugger disassemble command. ACPICA MZ 978.
   2968 
   2969 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
   2970 Newer versions of Bison emit this prototype, so moved the prototype out 
   2971 of 
   2972 the iASL header to where it is actually used in order to avoid a 
   2973 duplicate 
   2974 declaration.
   2975 
   2976 iASL/Tools: Standardized use of the stream I/O functions:
   2977   1) Ensure check for I/O error after every fopen/fread/fwrite
   2978   2) Ensure proper order of size/count arguments for fread/fwrite
   2979   3) Use test of (Actual != Requested) after all fwrite, and most fread
   2980   4) Standardize I/O error messages
   2981 Improves reliability and maintainability of the code. Bob Moore, Lv 
   2982 Zheng. 
   2983 ACPICA BZ 981.
   2984 
   2985 Disassembler: Prevent duplicate External() statements. During generation 
   2986 of external statements, detect similar pathnames that are actually 
   2987 duplicates such as these:
   2988   External (\ABCD)
   2989   External (ABCD)
   2990 Remove all leading '\' characters from pathnames during the external 
   2991 statement generation so that duplicates will be detected and tossed. 
   2992 ACPICA BZ 985.
   2993 
   2994 Tools: Replace low-level I/O with stream I/O functions. Replace 
   2995 open/read/write/close with the stream I/O equivalents 
   2996 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
   2997 Moore.
   2998 
   2999 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
   3000 name header so that AcpiXtract recognizes the output file/table.
   3001 
   3002 iASL: Remove obsolete -2 option flag. Originally intended to force the 
   3003 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
   3004 and the entire concept is now obsolete.
   3005 
   3006 ----------------------------------------
   3007 18 October 2012. Summary of changes for version 20121018:
   3008 
   3009 
   3010 1) ACPICA Kernel-resident Subsystem:
   3011 
   3012 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
   3013 introduced by late changes to the table as it was added to the ACPI 5.0 
   3014 specification. Includes header, disassembler, and data table compiler 
   3015 support as well as a new version of the MPST template.
   3016 
   3017 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
   3018 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
   3019 methods: _HID, _CID, and _UID.
   3020 
   3021 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
   3022 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
   3023 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
   3024 names for their various drivers. Affects the AcpiGetObjectInfo external 
   3025 interface, and other internal interfaces as well.
   3026 
   3027 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
   3028 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
   3029 on machines that support non-aligned transfers. Optimizes for this case 
   3030 rather than using a strncpy. With assistance from Zheng Lv.
   3031 
   3032 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
   3033 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
   3034 
   3035 Added a new debug print message for AML mutex objects that are force-
   3036 released. At control method termination, any currently acquired mutex 
   3037 objects are force-released. Adds a new debug-only message for each one 
   3038 that is released.
   3039 
   3040 Audited/updated all ACPICA return macros and the function debug depth 
   3041 counter: 1) Ensure that all functions that use the various TRACE macros 
   3042 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
   3043 return statements surround the return expression (value) with parens to 
   3044 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
   3045 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
   3046 
   3047 Global source code changes/maintenance: All extra lines at the start and 
   3048 end of each source file have been removed for consistency. Also, within 
   3049 comments, all new sentences start with a single space instead of a double 
   3050 space, again for consistency across the code base.
   3051 
   3052 Example Code and Data Size: These are the sizes for the OS-independent 
   3053 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3054 debug version of the code includes the debug output trace mechanism and 
   3055 has a much larger code and data size.
   3056 
   3057   Previous Release:
   3058     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   3059     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   3060   Current Release:
   3061     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   3062     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   3063 
   3064 
   3065 2) iASL Compiler/Disassembler and Tools:
   3066 
   3067 AcpiExec: Improved the algorithm used for memory leak/corruption 
   3068 detection. Added some intelligence to the code that maintains the global 
   3069 list of allocated memory. The list is now ordered by allocated memory 
   3070 address, significantly improving performance. When running AcpiExec on 
   3071 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
   3072 on the platform and/or the environment. Note, this performance 
   3073 enhancement affects the AcpiExec utility only, not the kernel-resident 
   3074 ACPICA code.
   3075 
   3076 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
   3077 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
   3078 incorrect table offset reported for invalid opcodes. Report the original 
   3079 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
   3080 
   3081 Disassembler: Enhanced the -vt option to emit the binary table data in 
   3082 hex format to assist with debugging.
   3083 
   3084 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
   3085 size of file structure. Colin Ian King.
   3086 
   3087 ----------------------------------------
   3088 13 September 2012. Summary of changes for version 20120913:
   3089 
   3090 
   3091 1) ACPICA Kernel-resident Subsystem:
   3092 
   3093 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
   3094 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
   3095 and 
   3096 MCE(6).
   3097  
   3098 Table Manager: Merged/removed duplicate code in the root table resize 
   3099 functions. One function is external, the other is internal. Lv Zheng, 
   3100 ACPICA 
   3101 BZ 846.
   3102 
   3103 Makefiles: Completely removed the obsolete "Linux" makefiles under 
   3104 acpica/generate/linux. These makefiles are obsolete and have been 
   3105 replaced 
   3106 by 
   3107 the generic unix makefiles under acpica/generate/unix.
   3108 
   3109 Makefiles: Ensure that binary files always copied properly. Minor rule 
   3110 change 
   3111 to ensure that the final binary output files are always copied up to the 
   3112 appropriate binary directory (bin32 or bin64.)
   3113 
   3114 Example Code and Data Size: These are the sizes for the OS-independent 
   3115 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3116 debug 
   3117 version of the code includes the debug output trace mechanism and has a 
   3118 much 
   3119 larger code and data size.
   3120 
   3121   Previous Release:
   3122     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   3123     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   3124   Current Release:
   3125     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   3126     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   3127 
   3128 
   3129 2) iASL Compiler/Disassembler and Tools:
   3130 
   3131 Disassembler: Fixed a possible fault during the disassembly of resource 
   3132 descriptors when a second parse is required because of the invocation of 
   3133 external control methods within the table. With assistance from 
   3134 adq (a] lidskialf.net. ACPICA BZ 976.
   3135 
   3136 iASL: Fixed a namepath optimization problem. An error can occur if the 
   3137 parse 
   3138 node that contains the namepath to be optimized does not have a parent 
   3139 node 
   3140 that is a named object. This change fixes the problem.
   3141 
   3142 iASL: Fixed a regression where the AML file is not deleted on errors. The 
   3143 AML 
   3144 output file should be deleted if there are any errors during the 
   3145 compiler. 
   3146 The 
   3147 only exception is if the -f (force output) option is used. ACPICA BZ 974.
   3148 
   3149 iASL: Added a feature to automatically increase internal line buffer 
   3150 sizes. 
   3151 Via realloc(), automatically increase the internal line buffer sizes as 
   3152 necessary to support very long source code lines. The current version of 
   3153 the 
   3154 preprocessor requires a buffer long enough to contain full source code 
   3155 lines. 
   3156 This change increases the line buffer(s) if the input lines go beyond the 
   3157 current buffer size. This eliminates errors that occurred when a source 
   3158 code 
   3159 line was longer than the buffer.
   3160 
   3161 iASL: Fixed a problem with constant folding in method declarations. The 
   3162 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
   3163 if a 
   3164 Type3 opcode was used.
   3165 
   3166 Debugger: Improved command help support. For incorrect argument count, 
   3167 display 
   3168 full help for the command. For help command itself, allow an argument to 
   3169 specify a command.
   3170 
   3171 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
   3172 errors during execution of the suite. Guan Chao.
   3173 
   3174 ----------------------------------------
   3175 16 August 2012. Summary of changes for version 20120816:
   3176 
   3177 
   3178 1) ACPICA Kernel-resident Subsystem:
   3179 
   3180 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
   3181 _GTS 
   3182 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
   3183 deprecated and will probably be removed from the ACPI specification. 
   3184 Windows 
   3185 does not invoke them, and reportedly never will. The final nail in the 
   3186 coffin 
   3187 is that the ACPI specification states that these methods must be run with 
   3188 interrupts off, which is not going to happen in a kernel interpreter. 
   3189 Note: 
   3190 Linux has removed all use of the methods also. It was discovered that 
   3191 invoking these functions caused failures on some machines, probably 
   3192 because 
   3193 they were never tested since Windows does not call them. Affects two 
   3194 external 
   3195 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
   3196 ACPICA BZ 969.
   3197 
   3198 Implemented support for complex bit-packed buffers returned from the _PLD 
   3199 (Physical Location of Device) predefined method. Adds a new external 
   3200 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
   3201 C 
   3202 structure. Note: C Bitfields cannot be used for this type of predefined 
   3203 structure since the memory layout of individual bitfields is not defined 
   3204 by 
   3205 the C language. In addition, there are endian concerns where a compiler 
   3206 will 
   3207 change the bitfield ordering based on the machine type. The new ACPICA 
   3208 interface eliminates these issues, and should be called after _PLD is 
   3209 executed. ACPICA BZ 954.
   3210 
   3211 Implemented a change to allow a scope change to root (via "Scope (\)") 
   3212 during 
   3213 execution of module-level ASL code (code that is executed at table load 
   3214 time.) Lin Ming.
   3215 
   3216 Added the Windows8/Server2012 string for the _OSI method. This change 
   3217 adds 
   3218 a 
   3219 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
   3220 2012.
   3221 
   3222 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
   3223 2) 
   3224 and CSRT (Core System Resource Table).
   3225 
   3226 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
   3227 names. This simplifies access to the buffers returned by these predefined 
   3228 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
   3229 
   3230 GPE support: Removed an extraneous parameter from the various low-level 
   3231 internal GPE functions. Tang Feng.
   3232 
   3233 Removed the linux makefiles from the unix packages. The generate/linux 
   3234 makefiles are obsolete and have been removed from the unix tarball 
   3235 release 
   3236 packages. The replacement makefiles are under generate/unix, and there is 
   3237 a 
   3238 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
   3239 
   3240 Updates for Unix makefiles:
   3241 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
   3242 2) Update linker flags (move to end of command line) for AcpiExec 
   3243 utility. 
   3244 Guan Chao.
   3245 
   3246 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
   3247 utxface.c to improve modularity and reduce file size.
   3248 
   3249 Example Code and Data Size: These are the sizes for the OS-independent 
   3250 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3251 debug version of the code includes the debug output trace mechanism and 
   3252 has a 
   3253 much larger code and data size.
   3254 
   3255   Previous Release:
   3256     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   3257     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   3258   Current Release:
   3259     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   3260     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   3261 
   3262 
   3263 2) iASL Compiler/Disassembler and Tools:
   3264 
   3265 iASL: Fixed a problem with constant folding for fixed-length constant 
   3266 expressions. The constant-folding code was not being invoked for constant 
   3267 expressions that allow the use of type 3/4/5 opcodes to generate 
   3268 constants 
   3269 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
   3270 result 
   3271 in the generation of invalid AML bytecode. ACPICA BZ 970.
   3272 
   3273 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
   3274 apparently automatically emit some of the necessary externals. This 
   3275 change 
   3276 handles these versions in order to eliminate generation warnings.
   3277 
   3278 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
   3279 
   3280 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
   3281 appears 
   3282 within comments in the output file.
   3283 
   3284 Debugger: Fixed a regression with the "Threads" command where 
   3285 AE_BAD_PARAMETER was always returned.
   3286 
   3287 ----------------------------------------
   3288 11 July 2012. Summary of changes for version 20120711:
   3289 
   3290 1) ACPICA Kernel-resident Subsystem:
   3291 
   3292 Fixed a possible fault in the return package object repair code. Fixes a 
   3293 problem that can occur when a lone package object is wrapped with an 
   3294 outer 
   3295 package object in order to force conformance to the ACPI specification. 
   3296 Can 
   3297 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
   3298 _DLM, 
   3299 _CSD, _PSD, _TSD.
   3300 
   3301 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
   3302 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
   3303 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
   3304 state 
   3305 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
   3306 both 
   3307 Intel and other vendors. (for Intel: ICH4-M and earlier)
   3308 
   3309 This change removes the code to disable/enable bus master arbitration 
   3310 during 
   3311 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
   3312 causes 
   3313 resume problems on some machines. The change has been in use for over 
   3314 seven 
   3315 years within Linux.
   3316 
   3317 Implemented two new external interfaces to support host-directed dynamic 
   3318 ACPI 
   3319 table load and unload. They are intended to simplify the host 
   3320 implementation 
   3321 of hot-plug support:
   3322   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
   3323   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
   3324 table.
   3325 See the ACPICA reference for additional details. Adds one new file, 
   3326 components/tables/tbxfload.c
   3327 
   3328 Implemented and deployed two new interfaces for errors and warnings that 
   3329 are 
   3330 known to be caused by BIOS/firmware issues:
   3331   AcpiBiosError: Prints "ACPI Firmware Error" message.
   3332   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
   3333 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
   3334 table 
   3335 and FADT errors. Additional deployment to be completed as appropriate in 
   3336 the 
   3337 future. The associated conditional macros are ACPI_BIOS_ERROR and 
   3338 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
   3339 ACPICA 
   3340 BZ 
   3341 843.
   3342 
   3343 Implicit notify support: ensure that no memory allocation occurs within a 
   3344 critical region. This fix moves a memory allocation outside of the time 
   3345 that a 
   3346 spinlock is held. Fixes issues on systems that do not allow this 
   3347 behavior. 
   3348 Jung-uk Kim.
   3349 
   3350 Split exception code utilities and tables into a new file, 
   3351 utilities/utexcep.c
   3352 
   3353 Example Code and Data Size: These are the sizes for the OS-independent 
   3354 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3355 debug 
   3356 version of the code includes the debug output trace mechanism and has a 
   3357 much 
   3358 larger code and data size.
   3359 
   3360   Previous Release:
   3361     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   3362     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   3363   Current Release:
   3364     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   3365     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   3366 
   3367 
   3368 2) iASL Compiler/Disassembler and Tools:
   3369 
   3370 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
   3371 of 
   3372 0. Jung-uk Kim.
   3373 
   3374 Debugger: Enhanced the "tables" command to emit additional information 
   3375 about 
   3376 the current set of ACPI tables, including the owner ID and flags decode.
   3377 
   3378 Debugger: Reimplemented the "unload" command to use the new 
   3379 AcpiUnloadParentTable external interface. This command was disable 
   3380 previously 
   3381 due to need for an unload interface.
   3382 
   3383 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
   3384 option 
   3385 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
   3386 
   3387 ----------------------------------------
   3388 20 June 2012. Summary of changes for version 20120620:
   3389 
   3390 
   3391 1) ACPICA Kernel-resident Subsystem:
   3392 
   3393 Implemented support to expand the "implicit notify" feature to allow 
   3394 multiple 
   3395 devices to be notified by a single GPE. This feature automatically 
   3396 generates a 
   3397 runtime device notification in the absence of a BIOS-provided GPE control 
   3398 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
   3399 notify is 
   3400 provided by ACPICA for Windows compatibility, and is a workaround for 
   3401 BIOS 
   3402 AML 
   3403 code errors. See the description of the AcpiSetupGpeForWake interface in 
   3404 the 
   3405 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
   3406 
   3407 Changed some comments and internal function names to simplify and ensure 
   3408 correctness of the Linux code translation. No functional changes.
   3409 
   3410 Example Code and Data Size: These are the sizes for the OS-independent 
   3411 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3412 debug 
   3413 version of the code includes the debug output trace mechanism and has a 
   3414 much 
   3415 larger code and data size.
   3416 
   3417   Previous Release:
   3418     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   3419     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   3420   Current Release:
   3421     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   3422     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   3423 
   3424 
   3425 2) iASL Compiler/Disassembler and Tools:
   3426 
   3427 Disassembler: Added support to emit short, commented descriptions for the 
   3428 ACPI 
   3429 predefined names in order to improve the readability of the disassembled 
   3430 output. ACPICA BZ 959. Changes include:
   3431   1) Emit descriptions for all standard predefined names (_INI, _STA, 
   3432 _PRW, 
   3433 etc.)
   3434   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
   3435   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
   3436 etc.)
   3437 
   3438 AcpiSrc: Fixed several long-standing Linux code translation issues. 
   3439 Argument 
   3440 descriptions in function headers are now translated properly to lower 
   3441 case 
   3442 and 
   3443 underscores. ACPICA BZ 961. Also fixes translation problems such as 
   3444 these: 
   3445 (old -> new)
   3446   i_aSL -> iASL
   3447   00-7_f -> 00-7F
   3448   16_k -> 16K
   3449   local_fADT -> local_FADT
   3450   execute_oSI -> execute_OSI
   3451 
   3452 iASL: Fixed a problem where null bytes were inadvertently emitted into 
   3453 some 
   3454 listing files.
   3455 
   3456 iASL: Added the existing debug options to the standard help screen. There 
   3457 are 
   3458 no longer two different help screens. ACPICA BZ 957.
   3459 
   3460 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
   3461 Also 
   3462 expand some of the descriptions where appropriate.
   3463 
   3464 iASL: Fixed the -ot option (display compile times/statistics). Was not 
   3465 working 
   3466 properly for standard output; only worked for the debug file case.
   3467 
   3468 ----------------------------------------
   3469 18 May 2012. Summary of changes for version 20120518:
   3470 
   3471 
   3472 1) ACPICA Core Subsystem:
   3473 
   3474 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
   3475 defined 
   3476 to block until asynchronous events such as notifies and GPEs have 
   3477 completed. 
   3478 Within ACPICA, it is only called before a notify or GPE handler is 
   3479 removed/uninstalled. It also may be useful for the host OS within related 
   3480 drivers such as the Embedded Controller driver. See the ACPICA reference 
   3481 for 
   3482 additional information. ACPICA BZ 868.
   3483 
   3484 ACPI Tables: Added a new error message for a possible overflow failure 
   3485 during 
   3486 the conversion of FADT 32-bit legacy register addresses to internal 
   3487 common 
   3488 64-
   3489 bit GAS structure representation. The GAS has a one-byte "bit length" 
   3490 field, 
   3491 thus limiting the register length to 255 bits. ACPICA BZ 953.
   3492 
   3493 Example Code and Data Size: These are the sizes for the OS-independent 
   3494 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3495 debug 
   3496 version of the code includes the debug output trace mechanism and has a 
   3497 much 
   3498 larger code and data size.
   3499 
   3500   Previous Release:
   3501     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   3502     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   3503   Current Release:
   3504     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   3505     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   3506 
   3507 
   3508 2) iASL Compiler/Disassembler and Tools:
   3509 
   3510 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
   3511 macro. 
   3512 This keyword was added late in the ACPI 5.0 release cycle and was not 
   3513 implemented until now.
   3514 
   3515 Disassembler: Added support for Operation Region externals. Adds missing 
   3516 support for operation regions that are defined in another table, and 
   3517 referenced locally via a Field or BankField ASL operator. Now generates 
   3518 the 
   3519 correct External statement.
   3520 
   3521 Disassembler: Several additional fixes for the External() statement 
   3522 generation 
   3523 related to some ASL operators. Also, order the External() statements 
   3524 alphabetically in the disassembler output. Fixes the External() 
   3525 generation 
   3526 for 
   3527 the Create* field, Alias, and Scope operators:
   3528  1) Create* buffer field operators - fix type mismatch warning on 
   3529 disassembly
   3530  2) Alias - implement missing External support
   3531  3) Scope - fix to make sure all necessary externals are emitted.
   3532 
   3533 iASL: Improved pathname support. For include files, merge the prefix 
   3534 pathname 
   3535 with the file pathname and eliminate unnecessary components. Convert 
   3536 backslashes in all pathnames to forward slashes, for readability. Include 
   3537 file 
   3538 pathname changes affect both #include and Include() type operators.
   3539 
   3540 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
   3541 end 
   3542 of a valid line by inserting a newline and then returning the EOF during 
   3543 the 
   3544 next call to GetNextLine. Prevents the line from being ignored due to EOF 
   3545 condition.
   3546 
   3547 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
   3548 Error 
   3549 and Warning messages are now correctly recognized for both the source 
   3550 code 
   3551 browser and the global error and warning counts.
   3552 
   3553 ----------------------------------------
   3554 20 April 2012. Summary of changes for version 20120420:
   3555 
   3556 
   3557 1) ACPICA Core Subsystem:
   3558 
   3559 Implemented support for multiple notify handlers. This change adds 
   3560 support 
   3561 to 
   3562 allow multiple system and device notify handlers on Device, Thermal Zone, 
   3563 and 
   3564 Processor objects. This can simplify the host OS notification 
   3565 implementation. 
   3566 Also re-worked and restructured the entire notify support code to 
   3567 simplify 
   3568 handler installation, handler removal, notify event queuing, and notify 
   3569 dispatch to handler(s). Note: there can still only be two global notify 
   3570 handlers - one for system notifies and one for device notifies. There are 
   3571 no 
   3572 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
   3573 Moore, Rafael Wysocki.
   3574 
   3575 Fixed a regression in the package repair code where the object reference 
   3576 count was calculated incorrectly. Regression was introduced in the commit 
   3577 "Support to add Package wrappers".
   3578 
   3579 Fixed a couple possible memory leaks in the AML parser, in the error 
   3580 recovery 
   3581 path. Jesper Juhl, Lin Ming.
   3582 
   3583 Example Code and Data Size: These are the sizes for the OS-independent 
   3584 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3585 debug version of the code includes the debug output trace mechanism and 
   3586 has a 
   3587 much larger code and data size.
   3588 
   3589   Previous Release:
   3590     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   3591     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   3592   Current Release:
   3593     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   3594     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   3595 
   3596 
   3597 2) iASL Compiler/Disassembler and Tools:
   3598 
   3599 iASL: Fixed a problem with the resource descriptor support where the 
   3600 length 
   3601 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
   3602 included in cumulative descriptor offset, resulting in incorrect values 
   3603 for 
   3604 resource tags within resource descriptors appearing after a 
   3605 StartDependent* 
   3606 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
   3607 
   3608 iASL and Preprocessor: Implemented full support for the #line directive 
   3609 to 
   3610 correctly track original source file line numbers through the .i 
   3611 preprocessor 
   3612 output file - for error and warning messages.
   3613 
   3614 iASL: Expand the allowable byte constants for address space IDs. 
   3615 Previously, 
   3616 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
   3617 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
   3618 
   3619 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
   3620 
   3621 iASL: Add option to completely disable the preprocessor (-Pn).
   3622 
   3623 iASL: Now emit all error/warning messages to standard error (stderr) by 
   3624 default (instead of the previous stdout).
   3625 
   3626 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
   3627 Update 
   3628 for resource descriptor offset fix above. Update/cleanup error output 
   3629 routines. Enable and send iASL errors/warnings to an error logfile 
   3630 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
   3631 Fixed 
   3632 several extraneous "unrecognized operator" messages.
   3633 
   3634 ----------------------------------------
   3635 20 March 2012. Summary of changes for version 20120320:
   3636 
   3637 
   3638 1) ACPICA Core Subsystem:
   3639 
   3640 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
   3641 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
   3642 apparently 
   3643 does not execute these methods, and therefore these methods are often 
   3644 untested. It has been seen on some systems where the execution of these 
   3645 methods causes errors and also prevents the machine from entering S5. It 
   3646 is 
   3647 therefore suggested that host operating systems do not execute these 
   3648 methods 
   3649 by default. In the future, perhaps these methods can be optionally 
   3650 executed 
   3651 based on the age of the system and/or what is the newest version of 
   3652 Windows 
   3653 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
   3654 and 
   3655 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
   3656 Ming.
   3657 
   3658 Fixed a problem where the length of the local/common FADT was set too 
   3659 early. 
   3660 The local FADT table length cannot be set to the common length until the 
   3661 original length has been examined. There is code that checks the table 
   3662 length 
   3663 and sets various fields appropriately. This can affect older machines 
   3664 with 
   3665 early FADT versions. For example, this can cause inadvertent writes to 
   3666 the 
   3667 CST_CNT register. Julian Anastasov.
   3668 
   3669 Fixed a mapping issue related to a physical table override. Use the 
   3670 deferred 
   3671 mapping mechanism for tables loaded via the physical override OSL 
   3672 interface. 
   3673 This allows for early mapping before the virtual memory manager is 
   3674 available. 
   3675 Thomas Renninger, Bob Moore.
   3676 
   3677 Enhanced the automatic return-object repair code: Repair a common problem 
   3678 with 
   3679 predefined methods that are defined to return a variable-length Package 
   3680 of 
   3681 sub-objects. If there is only one sub-object, some BIOS ASL code 
   3682 mistakenly 
   3683 simply returns the single object instead of a Package with one sub-
   3684 object. 
   3685 This new support will repair this error by wrapping a Package object 
   3686 around 
   3687 the original object, creating the correct and expected Package with one 
   3688 sub-
   3689 object. Names that can be repaired in this manner include: _ALR, _CSD, 
   3690 _HPX, 
   3691 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
   3692 939.
   3693 
   3694 Changed the exception code returned for invalid ACPI paths passed as 
   3695 parameters to external interfaces such as AcpiEvaluateObject. Was 
   3696 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
   3697 
   3698 Example Code and Data Size: These are the sizes for the OS-independent 
   3699 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3700 debug 
   3701 version of the code includes the debug output trace mechanism and has a 
   3702 much 
   3703 larger code and data size.
   3704 
   3705   Previous Release:
   3706     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   3707     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   3708   Current Release:
   3709     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   3710     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   3711 
   3712 
   3713 2) iASL Compiler/Disassembler and Tools:
   3714 
   3715 iASL: Added the infrastructure and initial implementation of a integrated 
   3716 C-
   3717 like preprocessor. This will simplify BIOS development process by 
   3718 eliminating 
   3719 the need for a separate preprocessing step during builds. On Windows, it 
   3720 also 
   3721 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
   3722 features including full #define() macro support are still under 
   3723 development. 
   3724 These preprocessor directives are supported:
   3725     #define
   3726     #elif
   3727     #else
   3728     #endif
   3729     #error
   3730     #if
   3731     #ifdef
   3732     #ifndef
   3733     #include
   3734     #pragma message
   3735     #undef
   3736     #warning
   3737 In addition, these new command line options are supported:
   3738     -D <symbol> Define symbol for preprocessor use
   3739     -li         Create preprocessed output file (*.i)
   3740     -P          Preprocess only and create preprocessor output file (*.i)
   3741 
   3742 Table Compiler: Fixed a problem where the equals operator within an 
   3743 expression 
   3744 did not work properly.
   3745 
   3746 Updated iASL to use the current versions of Bison/Flex. Updated the 
   3747 Windows 
   3748 project file to invoke these tools from the standard location. ACPICA BZ 
   3749 904. 
   3750 Versions supported:
   3751     Flex for Windows:  V2.5.4
   3752     Bison for Windows: V2.4.1
   3753 
   3754 ----------------------------------------
   3755 15 February 2012. Summary of changes for version 20120215:
   3756 
   3757 
   3758 1) ACPICA Core Subsystem:
   3759 
   3760 There have been some major changes to the sleep/wake support code, as 
   3761 described below (a - e).
   3762 
   3763 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
   3764 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
   3765 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
   3766 the 
   3767 time the _BFS method is called and the _WAK method is called. NOTE: all 
   3768 hosts 
   3769 must update their wake/resume code or else sleep/wake will not work 
   3770 properly. 
   3771 Rafael Wysocki.
   3772 
   3773 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
   3774 _WAK 
   3775 method. Some machines require that the GPEs are enabled before the _WAK 
   3776 method 
   3777 is executed. Thomas Renninger.
   3778 
   3779 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
   3780 bit. 
   3781 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
   3782 to 
   3783 determine whether the system is rebooting or resuming. Matthew Garrett.
   3784 
   3785 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
   3786 Sleep) to 
   3787 match the ACPI specification requirement. Rafael Wysocki.
   3788 
   3789 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
   3790 registers within the V5 FADT. This support adds two new files: 
   3791 hardware/hwesleep.c implements the support for the new registers. Moved 
   3792 all 
   3793 sleep/wake external interfaces to hardware/hwxfsleep.c.
   3794 
   3795 
   3796 Added a new OSL interface for ACPI table overrides, 
   3797 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
   3798 table via a physical address, instead of the logical address required by 
   3799 AcpiOsTableOverride. This simplifies the host implementation. Initial 
   3800 implementation by Thomas Renninger. The ACPICA implementation creates a 
   3801 single 
   3802 shared function for table overrides that attempts both a logical and a 
   3803 physical override.
   3804 
   3805 Expanded the OSL memory read/write interfaces to 64-bit data 
   3806 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
   3807 transfer support for GAS register structures passed to AcpiRead and 
   3808 AcpiWrite.
   3809 
   3810 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
   3811 custom 
   3812 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
   3813 model. 
   3814 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
   3815 about 
   3816 10% of the code and 5% of the static data, and the following hardware 
   3817 ACPI 
   3818 features become unavailable:
   3819     PM Event and Control registers
   3820     SCI interrupt (and handler)
   3821     Fixed Events
   3822     General Purpose Events (GPEs)
   3823     Global Lock
   3824     ACPI PM timer
   3825     FACS table (Waking vectors and Global Lock)
   3826 
   3827 Updated the unix tarball directory structure to match the ACPICA git 
   3828 source 
   3829 tree. This ensures that the generic unix makefiles work properly (in 
   3830 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
   3831 867.
   3832 
   3833 Updated the return value of the _REV predefined method to integer value 5 
   3834 to 
   3835 reflect ACPI 5.0 support.
   3836 
   3837 Moved the external ACPI PM timer interface prototypes to the public 
   3838 acpixf.h 
   3839 file where they belong.
   3840 
   3841 Example Code and Data Size: These are the sizes for the OS-independent 
   3842 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3843 debug 
   3844 version of the code includes the debug output trace mechanism and has a 
   3845 much 
   3846 larger code and data size.
   3847 
   3848   Previous Release:
   3849     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   3850     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   3851   Current Release:
   3852     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   3853     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   3854 
   3855 
   3856 2) iASL Compiler/Disassembler and Tools:
   3857 
   3858 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
   3859 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
   3860 incorrectly displayed.
   3861 
   3862 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
   3863 specification.
   3864 
   3865 ----------------------------------------
   3866 11 January 2012. Summary of changes for version 20120111:
   3867 
   3868 
   3869 1) ACPICA Core Subsystem:
   3870 
   3871 Implemented a new mechanism to allow host device drivers to check for 
   3872 address 
   3873 range conflicts with ACPI Operation Regions. Both SystemMemory and 
   3874 SystemIO 
   3875 address spaces are supported. A new external interface, 
   3876 AcpiCheckAddressRange, 
   3877 allows drivers to check an address range against the ACPI namespace. See 
   3878 the 
   3879 ACPICA reference for additional details. Adds one new file, 
   3880 utilities/utaddress.c. Lin Ming, Bob Moore.
   3881 
   3882 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
   3883 Control 
   3884 and 
   3885 Status registers, update the ACPI 5.0 flags, and update internal data 
   3886 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
   3887 5.0 
   3888 FADT is 268 bytes.
   3889 
   3890 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
   3891 copyright to 
   3892 all module headers and signons, including the standard Linux header. This 
   3893 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
   3894 and 
   3895 all ACPICA utilities.
   3896 
   3897 Example Code and Data Size: These are the sizes for the OS-independent 
   3898 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3899 debug 
   3900 version of the code includes the debug output trace mechanism and has a 
   3901 much 
   3902 larger code and data size.
   3903 
   3904   Previous Release:
   3905     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   3906     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   3907   Current Release:
   3908     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   3909     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   3910 
   3911 
   3912 2) iASL Compiler/Disassembler and Tools:
   3913 
   3914 Disassembler: fixed a problem with the automatic resource tag generation 
   3915 support. Fixes a problem where the resource tags are inadvertently not 
   3916 constructed if the table being disassembled contains external references 
   3917 to 
   3918 control methods. Moved the actual construction of the tags to after the 
   3919 final 
   3920 namespace is constructed (after 2nd parse is invoked due to external 
   3921 control 
   3922 method references.) ACPICA BZ 941.
   3923 
   3924 Table Compiler: Make all "generic" operators caseless. These are the 
   3925 operators 
   3926 like UINT8, String, etc. Making these caseless improves ease-of-use. 
   3927 ACPICA BZ 
   3928 934.
   3929 
   3930 ----------------------------------------
   3931 23 November 2011. Summary of changes for version 20111123:
   3932 
   3933 0) ACPI 5.0 Support:
   3934 
   3935 This release contains full support for the ACPI 5.0 specification, as 
   3936 summarized below.
   3937 
   3938 Reduced Hardware Support:
   3939 -------------------------
   3940 
   3941 This support allows for ACPI systems without the usual ACPI hardware. 
   3942 This 
   3943 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
   3944 will 
   3945 not attempt to initialize or use any of the usual ACPI hardware. Note, 
   3946 when 
   3947 this flag is set, all of the following ACPI hardware is assumed to be not 
   3948 present and is not initialized or accessed:
   3949 
   3950     General Purpose Events (GPEs)
   3951     Fixed Events (PM1a/PM1b and PM Control)
   3952     Power Management Timer and Console Buttons (power/sleep)
   3953     Real-time Clock Alarm
   3954     Global Lock
   3955     System Control Interrupt (SCI)
   3956     The FACS is assumed to be non-existent
   3957 
   3958 ACPI Tables:
   3959 ------------
   3960 
   3961 All new tables and updates to existing tables are fully supported in the 
   3962 ACPICA headers (for use by device drivers), the disassembler, and the 
   3963 iASL 
   3964 Data Table Compiler. ACPI 5.0 defines these new tables:
   3965 
   3966     BGRT        /* Boot Graphics Resource Table */
   3967     DRTM        /* Dynamic Root of Trust for Measurement table */
   3968     FPDT        /* Firmware Performance Data Table */
   3969     GTDT        /* Generic Timer Description Table */
   3970     MPST        /* Memory Power State Table */
   3971     PCCT        /* Platform Communications Channel Table */
   3972     PMTT        /* Platform Memory Topology Table */
   3973     RASF        /* RAS Feature table */
   3974 
   3975 Operation Regions/SpaceIDs:
   3976 ---------------------------
   3977 
   3978 All new operation regions are fully supported by the iASL compiler, the 
   3979 disassembler, and the ACPICA runtime code (for dispatch to region 
   3980 handlers.) 
   3981 The new operation region Space IDs are:
   3982 
   3983     GeneralPurposeIo
   3984     GenericSerialBus
   3985 
   3986 Resource Descriptors:
   3987 ---------------------
   3988 
   3989 All new ASL resource descriptors are fully supported by the iASL 
   3990 compiler, 
   3991 the 
   3992 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
   3993 (including 
   3994 all new predefined resource tags). New descriptors are:
   3995 
   3996     FixedDma
   3997     GpioIo
   3998     GpioInt
   3999     I2cSerialBus
   4000     SpiSerialBus
   4001     UartSerialBus
   4002 
   4003 ASL/AML Operators, New and Modified:
   4004 ------------------------------------
   4005 
   4006 One new operator is added, the Connection operator, which is used to 
   4007 associate 
   4008 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
   4009 individual 
   4010 field objects within an operation region. Several new protocols are 
   4011 associated 
   4012 with the AccessAs operator. All are fully supported by the iASL compiler, 
   4013 disassembler, and runtime ACPICA AML interpreter:
   4014 
   4015     Connection                      // Declare Field Connection 
   4016 attributes
   4017     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
   4018     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
   4019 Protocol
   4020     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
   4021     RawDataBuffer                       // Data type for Vendor Data 
   4022 fields
   4023 
   4024 Predefined ASL/AML Objects:
   4025 ---------------------------
   4026 
   4027 All new predefined objects/control-methods are supported by the iASL 
   4028 compiler 
   4029 and the ACPICA runtime validation/repair (arguments and return values.) 
   4030 New 
   4031 predefined names include the following:
   4032 
   4033 Standard Predefined Names (Objects or Control Methods):
   4034     _AEI, _CLS, _CPC, _CWS, _DEP,
   4035     _DLM, _EVT, _GCP, _CRT, _GWS,
   4036     _HRV, _PRE, _PSE, _SRT, _SUB.
   4037 
   4038 Resource Tags (Names used to access individual fields within resource 
   4039 descriptors):
   4040     _DBT, _DPL, _DRS, _END, _FLC,
   4041     _IOR, _LIN, _MOD, _PAR, _PHA,
   4042     _PIN, _PPI, _POL, _RXL, _SLV,
   4043     _SPE, _STB, _TXL, _VEN.
   4044 
   4045 ACPICA External Interfaces:
   4046 ---------------------------
   4047 
   4048 Several new interfaces have been defined for use by ACPI-related device 
   4049 drivers and other host OS services:
   4050 
   4051 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
   4052 to 
   4053 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
   4054 provided by the BIOS. They are intended to be used in conjunction with 
   4055 the 
   4056 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
   4057 mutual exclusion with the AML code/interpreter.
   4058 
   4059 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
   4060 defined 
   4061 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
   4062 provides 
   4063 resource descriptors associated with hardware-reduced platform events, 
   4064 similar 
   4065 to the AcpiGetCurrentResources interface.
   4066 
   4067 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
   4068 operation regions, information about the Connection() object and any 
   4069 optional 
   4070 length information is passed to the region handler within the Context 
   4071 parameter.
   4072 
   4073 AcpiBufferToResource: This interface converts a raw AML buffer containing 
   4074 a 
   4075 resource template or resource descriptor to the ACPI_RESOURCE internal 
   4076 format 
   4077 suitable for use by device drivers. Can be used by an operation region 
   4078 handler 
   4079 to convert the Connection() buffer object into a ACPI_RESOURCE.
   4080 
   4081 Miscellaneous/Tools/TestSuites: 
   4082 -------------------------------
   4083 
   4084 Support for extended _HID names (Four alpha characters instead of three).
   4085 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
   4086 Support for ACPI 5.0 features in the ASLTS test suite.
   4087 Fully updated documentation (ACPICA and iASL reference documents.)
   4088 
   4089 ACPI Table Definition Language:
   4090 -------------------------------
   4091 
   4092 Support for this language was implemented and released as a subsystem of 
   4093 the 
   4094 iASL compiler in 2010. (See the iASL compiler User Guide.)
   4095 
   4096 
   4097 Non-ACPI 5.0 changes for this release:
   4098 --------------------------------------
   4099 
   4100 1) ACPICA Core Subsystem:
   4101 
   4102 Fix a problem with operation region declarations where a failure can 
   4103 occur 
   4104 if 
   4105 the region name and an argument that evaluates to an object (such as the 
   4106 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
   4107 937.
   4108 
   4109 Do not abort an ACPI table load if an invalid space ID is found within. 
   4110 This 
   4111 will be caught later if the offending method is executed. ACPICA BZ 925.
   4112 
   4113 Fixed an issue with the FFixedHW space ID where the ID was not always 
   4114 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
   4115 
   4116 Fixed a problem with the 32-bit generation of the unix-specific OSL 
   4117 (osunixxf.c). Lin Ming, ACPICA BZ 936.
   4118 
   4119 Several changes made to enable generation with the GCC 4.6 compiler. 
   4120 ACPICA BZ 
   4121 935.
   4122 
   4123 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
   4124 Index/Bank 
   4125 field registers out-of-range.
   4126 
   4127 2) iASL Compiler/Disassembler and Tools:
   4128 
   4129 iASL: Implemented the __PATH__ operator, which returns the full pathname 
   4130 of 
   4131 the current source file.
   4132 
   4133 AcpiHelp: Automatically display expanded keyword information for all ASL 
   4134 operators.
   4135 
   4136 Debugger: Add "Template" command to disassemble/dump resource template 
   4137 buffers.
   4138 
   4139 Added a new master script to generate and execute the ASLTS test suite. 
   4140 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
   4141 
   4142 iASL: Fix problem with listing generation during processing of the 
   4143 Switch() 
   4144 operator where AML listing was disabled until the entire Switch block was 
   4145 completed.
   4146 
   4147 iASL: Improve support for semicolon statement terminators. Fix "invalid 
   4148 character" message for some cases when the semicolon is used. Semicolons 
   4149 are 
   4150 now allowed after every <Term> grammar element. ACPICA BZ 927.
   4151 
   4152 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
   4153 923.
   4154 
   4155 Disassembler: Fix problem with disassembly of the DataTableRegion 
   4156 operator 
   4157 where an inadvertent "Unhandled deferred opcode" message could be 
   4158 generated.
   4159 
   4160 3) Example Code and Data Size
   4161 
   4162 These are the sizes for the OS-independent acpica.lib produced by the 
   4163 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   4164 includes the debug output trace mechanism and has a much larger code and 
   4165 data 
   4166 size.
   4167 
   4168   Previous Release:
   4169     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   4170     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4171   Current Release:
   4172     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   4173     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   4174 
   4175 ----------------------------------------
   4176 22 September 2011. Summary of changes for version 20110922:
   4177 
   4178 0) ACPI 5.0 News:
   4179 
   4180 Support for ACPI 5.0 in ACPICA has been underway for several months and 
   4181 will 
   4182 be released at the same time that ACPI 5.0 is officially released.
   4183 
   4184 The ACPI 5.0 specification is on track for release in the next few 
   4185 months.
   4186  
   4187 1) ACPICA Core Subsystem:
   4188 
   4189 Fixed a problem where the maximum sleep time for the Sleep() operator was 
   4190 intended to be limited to two seconds, but was inadvertently limited to 
   4191 20 
   4192 seconds instead.
   4193 
   4194 Linux and Unix makefiles: Added header file dependencies to ensure 
   4195 correct 
   4196 generation of ACPICA core code and utilities. Also simplified the 
   4197 makefiles 
   4198 considerably through the use of the vpath variable to specify search 
   4199 paths. 
   4200 ACPICA BZ 924.
   4201 
   4202 2) iASL Compiler/Disassembler and Tools:
   4203 
   4204 iASL: Implemented support to check the access length for all fields 
   4205 created to 
   4206 access named Resource Descriptor fields. For example, if a resource field 
   4207 is 
   4208 defined to be two bits, a warning is issued if a CreateXxxxField() is 
   4209 used 
   4210 with an incorrect bit length. This is implemented for all current 
   4211 resource 
   4212 descriptor names. ACPICA BZ 930.
   4213   
   4214 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
   4215 56-
   4216 bit integers.
   4217 
   4218 iASL: Fixed a couple of issues associated with variable-length package 
   4219 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
   4220 a 
   4221 VAR_PACKAGE when these are used as a package length. 2) Allow the 
   4222 VAR_PACKAGE 
   4223 opcode (in addition to PACKAGE) when validating object types for 
   4224 predefined 
   4225 names.
   4226 
   4227 iASL: Emit statistics for all output files (instead of just the ASL input 
   4228 and 
   4229 AML output). Includes listings, hex files, etc.
   4230 
   4231 iASL: Added -G option to the table compiler to allow the compilation of 
   4232 custom 
   4233 ACPI tables. The only part of a table that is required is the standard 
   4234 36-
   4235 byte 
   4236 ACPI header.
   4237 
   4238 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
   4239 headers), 
   4240 which also adds correct 64-bit support. Also, now all output filenames 
   4241 are 
   4242 completely lower case.
   4243 
   4244 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
   4245 loading table files. A warning is issued for any such tables. The only 
   4246 exception is an FADT. This also fixes a possible fault when attempting to 
   4247 load 
   4248 non-AML tables. ACPICA BZ 932.
   4249 
   4250 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
   4251 a 
   4252 missing table terminator could cause a fault when using the -p option.
   4253 
   4254 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
   4255 statistics.
   4256 
   4257 3) Example Code and Data Size
   4258 
   4259 These are the sizes for the OS-independent acpica.lib produced by the 
   4260 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   4261 includes the debug output trace mechanism and has a much larger code and 
   4262 data 
   4263 size.
   4264 
   4265   Previous Release (VC 9.0):
   4266     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   4267     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4268   Current Release (VC 9.0):
   4269     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   4270     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4271 
   4272 
   4273 ----------------------------------------
   4274 23 June 2011. Summary of changes for version 20110623:
   4275 
   4276 1) ACPI CA Core Subsystem:
   4277 
   4278 Updated the predefined name repair mechanism to not attempt repair of a 
   4279 _TSS 
   4280 return object if a _PSS object is present. We can only sort the _TSS 
   4281 return 
   4282 package if there is no _PSS within the same scope. This is because if 
   4283 _PSS 
   4284 is 
   4285 present, the ACPI specification dictates that the _TSS Power Dissipation 
   4286 field 
   4287 is to be ignored, and therefore some BIOSs leave garbage values in the 
   4288 _TSS 
   4289 Power field(s). In this case, it is best to just return the _TSS package 
   4290 as-
   4291 is. Reported by, and fixed with assistance from Fenghua Yu.
   4292 
   4293 Added an option to globally disable the control method return value 
   4294 validation 
   4295 and repair. This runtime option can be used to disable return value 
   4296 repair 
   4297 if 
   4298 this is causing a problem on a particular machine. Also added an option 
   4299 to 
   4300 AcpiExec (-dr) to set this disable flag.
   4301 
   4302 All makefiles and project files: Major changes to improve generation of 
   4303 ACPICA 
   4304 tools. ACPICA BZ 912:
   4305     Reduce default optimization levels to improve compatibility
   4306     For Linux, add strict-aliasing=0 for gcc 4
   4307     Cleanup and simplify use of command line defines
   4308     Cleanup multithread library support
   4309     Improve usage messages
   4310 
   4311 Linux-specific header: update handling of THREAD_ID and pthread. For the 
   4312 32-
   4313 bit case, improve casting to eliminate possible warnings, especially with 
   4314 the 
   4315 acpica tools.
   4316 
   4317 Example Code and Data Size: These are the sizes for the OS-independent 
   4318 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4319 debug 
   4320 version of the code includes the debug output trace mechanism and has a 
   4321 much 
   4322 larger code and data size.
   4323 
   4324   Previous Release (VC 9.0):
   4325     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   4326     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4327   Current Release (VC 9.0):
   4328     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   4329     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4330 
   4331 2) iASL Compiler/Disassembler and Tools:
   4332 
   4333 With this release, a new utility named "acpihelp" has been added to the 
   4334 ACPICA 
   4335 package. This utility summarizes the ACPI specification chapters for the 
   4336 ASL 
   4337 and AML languages. It generates under Linux/Unix as well as Windows, and 
   4338 provides the following functionality:
   4339     Find/display ASL operator(s) -- with description and syntax.
   4340     Find/display ASL keyword(s) -- with exact spelling and descriptions.
   4341     Find/display ACPI predefined name(s) -- with description, number
   4342         of arguments, and the return value data type.
   4343     Find/display AML opcode name(s) -- with opcode, arguments, and 
   4344 grammar.
   4345     Decode/display AML opcode -- with opcode name, arguments, and 
   4346 grammar.
   4347 
   4348 Service Layers: Make multi-thread support configurable. Conditionally 
   4349 compile 
   4350 the multi-thread support so that threading libraries will not be linked 
   4351 if 
   4352 not 
   4353 necessary. The only tool that requires multi-thread support is AcpiExec.
   4354 
   4355 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
   4356 of 
   4357 Bison appear to want the interface to yyerror to be a const char * (or at 
   4358 least this is a problem when generating iASL on some systems.) ACPICA BZ 
   4359 923 
   4360 Pierre Lejeune.
   4361 
   4362 Tools: Fix for systems where O_BINARY is not defined. Only used for 
   4363 Windows 
   4364 versions of the tools.
   4365 
   4366 ----------------------------------------
   4367 27 May 2011. Summary of changes for version 20110527:
   4368 
   4369 1) ACPI CA Core Subsystem:
   4370 
   4371 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
   4372 table 
   4373 signature. Now, only allow SSDT, OEMx, and a null signature. History:
   4374     1) Originally, we checked the table signature for "SSDT" or "PSDT".
   4375        (PSDT is now obsolete.)
   4376     2) We added support for OEMx tables, signature "OEM" plus a fourth
   4377        "don't care" character.
   4378     3) Valid tables were encountered with a null signature, so we just
   4379        gave up on validating the signature, (05/2008).
   4380     4) We encountered non-AML tables such as the MADT, which caused
   4381        interpreter errors and kernel faults. So now, we once again allow
   4382        only SSDT, OEMx, and now, also a null signature. (05/2011).
   4383 
   4384 Added the missing _TDL predefined name to the global name list in order 
   4385 to 
   4386 enable validation. Affects both the core ACPICA code and the iASL 
   4387 compiler.
   4388 
   4389 Example Code and Data Size: These are the sizes for the OS-independent 
   4390 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4391 debug 
   4392 version of the code includes the debug output trace mechanism and has a 
   4393 much 
   4394 larger code and data size.
   4395 
   4396   Previous Release (VC 9.0):
   4397     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   4398     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   4399   Current Release (VC 9.0):
   4400     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   4401     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4402 
   4403 2) iASL Compiler/Disassembler and Tools:
   4404 
   4405 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
   4406 the 
   4407 debugger command line. This adds support beyond simple integers -- 
   4408 including 
   4409 Strings, Buffers, and Packages. Includes support for nested packages. 
   4410 Increased the default command line buffer size to accommodate these 
   4411 arguments. 
   4412 See the ACPICA reference for details and syntax. ACPICA BZ 917.
   4413  
   4414 Debugger/AcpiExec: Implemented support for "default" method arguments for 
   4415 the 
   4416 Execute/Debug command. Now, the debugger will always invoke a control 
   4417 method 
   4418 with the required number of arguments -- even if the command line 
   4419 specifies 
   4420 none or insufficient arguments. It uses default integer values for any 
   4421 missing 
   4422 arguments. Also fixes a bug where only six method arguments maximum were 
   4423 supported instead of the required seven.
   4424 
   4425 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
   4426 and 
   4427 also return status in order to prevent buffer overruns. See the ACPICA 
   4428 reference for details and syntax. ACPICA BZ 921
   4429 
   4430 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
   4431 makefiles to simplify support for the two different but similar parser 
   4432 generators, bison and yacc.
   4433 
   4434 Updated the generic unix makefile for gcc 4. The default gcc version is 
   4435 now 
   4436 expected to be 4 or greater, since options specific to gcc 4 are used.
   4437 
   4438 ----------------------------------------
   4439 13 April 2011. Summary of changes for version 20110413:
   4440 
   4441 1) ACPI CA Core Subsystem:
   4442 
   4443 Implemented support to execute a so-called "orphan" _REG method under the 
   4444 EC 
   4445 device. This change will force the execution of a _REG method underneath 
   4446 the 
   4447 EC 
   4448 device even if there is no corresponding operation region of type 
   4449 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
   4450 compatible with Windows behavior. ACPICA BZ 875.
   4451 
   4452 Added more predefined methods that are eligible for automatic NULL 
   4453 package 
   4454 element removal. This change adds another group of predefined names to 
   4455 the 
   4456 list 
   4457 of names that can be repaired by having NULL package elements dynamically 
   4458 removed. This group are those methods that return a single variable-
   4459 length 
   4460 package containing simple data types such as integers, buffers, strings. 
   4461 This 
   4462 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
   4463 _PSL, 
   4464 _Sx, 
   4465 and _TZD. ACPICA BZ 914.
   4466 
   4467 Split and segregated all internal global lock functions to a new file, 
   4468 evglock.c.
   4469 
   4470 Updated internal address SpaceID for DataTable regions. Moved this 
   4471 internal 
   4472 space 
   4473 id in preparation for ACPI 5.0 changes that will include some new space 
   4474 IDs. 
   4475 This 
   4476 change should not affect user/host code.
   4477 
   4478 Example Code and Data Size: These are the sizes for the OS-independent 
   4479 acpica.lib 
   4480 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   4481 version of 
   4482 the code includes the debug output trace mechanism and has a much larger 
   4483 code 
   4484 and 
   4485 data size.
   4486 
   4487   Previous Release (VC 9.0):
   4488     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   4489     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   4490   Current Release (VC 9.0):
   4491     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   4492     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   4493 
   4494 2) iASL Compiler/Disassembler and Tools:
   4495 
   4496 iASL/DTC: Major update for new grammar features. Allow generic data types 
   4497 in 
   4498 custom ACPI tables. Field names are now optional. Any line can be split 
   4499 to 
   4500 multiple lines using the continuation char (\). Large buffers now use 
   4501 line-
   4502 continuation character(s) and no colon on the continuation lines. See the 
   4503 grammar 
   4504 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
   4505 Moore.
   4506 
   4507 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
   4508 statements. 
   4509 Since the parser stuffs a "zero" as the return value for these statements 
   4510 (due 
   4511 to 
   4512 the underlying AML grammar), they were seen as "return with value" by the 
   4513 iASL 
   4514 semantic checking. They are now seen correctly as "null" return 
   4515 statements.
   4516 
   4517 iASL: Check if a_REG declaration has a corresponding Operation Region. 
   4518 Adds a 
   4519 check for each _REG to ensure that there is in fact a corresponding 
   4520 operation 
   4521 region declaration in the same scope. If not, the _REG method is not very 
   4522 useful 
   4523 since it probably won't be executed. ACPICA BZ 915.
   4524 
   4525 iASL/DTC: Finish support for expression evaluation. Added a new 
   4526 expression 
   4527 parser 
   4528 that implements c-style operator precedence and parenthesization. ACPICA 
   4529 bugzilla 
   4530 908.
   4531 
   4532 Disassembler/DTC: Remove support for () and <> style comments in data 
   4533 tables. 
   4534 Now 
   4535 that DTC has full expression support, we don't want to have comment 
   4536 strings 
   4537 that 
   4538 start with a parentheses or a less-than symbol. Now, only the standard /* 
   4539 and 
   4540 // 
   4541 comments are supported, as well as the bracket [] comments.
   4542 
   4543 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
   4544 "unusual" 
   4545 headers in the acpidump file. Update the header validation to support 
   4546 these 
   4547 tables. Problem introduced in previous AcpiXtract version in the change 
   4548 to 
   4549 support "wrong checksum" error messages emitted by acpidump utility.
   4550 
   4551 iASL: Add a * option to generate all template files (as a synonym for 
   4552 ALL) 
   4553 as 
   4554 in 
   4555 "iasl -T *" or "iasl -T ALL".
   4556 
   4557 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
   4558 completely 
   4559 abort the compiler on "fatal" errors, simply should abort the current 
   4560 compile. 
   4561 This allows multiple compiles with a single (possibly wildcard) compiler 
   4562 invocation.
   4563 
   4564 ----------------------------------------
   4565 16 March 2011. Summary of changes for version 20110316:
   4566 
   4567 1) ACPI CA Core Subsystem:
   4568 
   4569 Fixed a problem caused by a _PRW method appearing at the namespace root 
   4570 scope 
   4571 during the setup of wake GPEs. A fault could occur if a _PRW directly 
   4572 under 
   4573 the 
   4574 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
   4575 
   4576 Implemented support for "spurious" Global Lock interrupts. On some 
   4577 systems, a 
   4578 global lock interrupt can occur without the pending flag being set. Upon 
   4579 a 
   4580 GL 
   4581 interrupt, we now ensure that a thread is actually waiting for the lock 
   4582 before 
   4583 signaling GL availability. Rafael Wysocki, Bob Moore.
   4584 
   4585 Example Code and Data Size: These are the sizes for the OS-independent 
   4586 acpica.lib 
   4587 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   4588 version of 
   4589 the code includes the debug output trace mechanism and has a much larger 
   4590 code 
   4591 and 
   4592 data size.
   4593 
   4594   Previous Release (VC 9.0):
   4595     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   4596     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   4597   Current Release (VC 9.0):
   4598     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   4599     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   4600 
   4601 2) iASL Compiler/Disassembler and Tools:
   4602 
   4603 Implemented full support for the "SLIC" ACPI table. Includes support in 
   4604 the 
   4605 header files, disassembler, table compiler, and template generator. Bob 
   4606 Moore, 
   4607 Lin Ming.
   4608 
   4609 AcpiXtract: Correctly handle embedded comments and messages from 
   4610 AcpiDump. 
   4611 Apparently some or all versions of acpidump will occasionally emit a 
   4612 comment 
   4613 like 
   4614 "Wrong checksum", etc., into the dump file. This was causing problems for 
   4615 AcpiXtract. ACPICA BZ 905.
   4616 
   4617 iASL: Fix the Linux makefile by removing an inadvertent double file 
   4618 inclusion. 
   4619 ACPICA BZ 913.
   4620 
   4621 AcpiExec: Update installation of operation region handlers. Install one 
   4622 handler 
   4623 for a user-defined address space. This is used by the ASL test suite 
   4624 (ASLTS).
   4625 
   4626 ----------------------------------------
   4627 11 February 2011. Summary of changes for version 20110211:
   4628 
   4629 1) ACPI CA Core Subsystem:
   4630 
   4631 Added a mechanism to defer _REG methods for some early-installed 
   4632 handlers. 
   4633 Most user handlers should be installed before call to 
   4634 AcpiEnableSubsystem. 
   4635 However, Event handlers and region handlers should be installed after 
   4636 AcpiInitializeObjects. Override handlers for the "default" regions should 
   4637 be 
   4638 installed early, however. This change executes all _REG methods for the 
   4639 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
   4640 chicken/egg issues between them. ACPICA BZ 848.
   4641 
   4642 Implemented an optimization for GPE detection. This optimization will 
   4643 simply 
   4644 ignore GPE registers that contain no enabled GPEs -- there is no need to 
   4645 read the register since this information is available internally. This 
   4646 becomes more important on machines with a large GPE space. ACPICA 
   4647 bugzilla 
   4648 884. Lin Ming. Suggestion from Joe Liu.
   4649 
   4650 Removed all use of the highly unreliable FADT revision field. The 
   4651 revision 
   4652 number in the FADT has been found to be completely unreliable and cannot 
   4653 be 
   4654 trusted. Only the actual table length can be used to infer the version. 
   4655 This 
   4656 change updates the ACPICA core and the disassembler so that both no 
   4657 longer 
   4658 even look at the FADT version and instead depend solely upon the FADT 
   4659 length.
   4660 
   4661 Fix an unresolved name issue for the no-debug and no-error-message source 
   4662 generation cases. The _AcpiModuleName was left undefined in these cases, 
   4663 but 
   4664 it is actually needed as a parameter to some interfaces. Define 
   4665 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
   4666 
   4667 Split several large files (makefiles and project files updated)
   4668   utglobal.c   -> utdecode.c
   4669   dbcomds.c    -> dbmethod.c dbnames.c
   4670   dsopcode.c   -> dsargs.c dscontrol.c
   4671   dsload.c     -> dsload2.c
   4672   aslanalyze.c -> aslbtypes.c aslwalks.c
   4673 
   4674 Example Code and Data Size: These are the sizes for the OS-independent 
   4675 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4676 debug version of the code includes the debug output trace mechanism and 
   4677 has 
   4678 a much larger code and data size.
   4679 
   4680   Previous Release (VC 9.0):
   4681     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   4682     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   4683   Current Release (VC 9.0):
   4684     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   4685     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   4686 
   4687 2) iASL Compiler/Disassembler and Tools:
   4688 
   4689 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
   4690 These are useful C-style macros with the standard definitions. ACPICA 
   4691 bugzilla 898.
   4692 
   4693 iASL/DTC: Added support for integer expressions and labels. Support for 
   4694 full 
   4695 expressions for all integer fields in all ACPI tables. Support for labels 
   4696 in 
   4697 "generic" portions of tables such as UEFI. See the iASL reference manual.
   4698 
   4699 Debugger: Added a command to display the status of global handlers. The 
   4700 "handlers" command will display op region, fixed event, and miscellaneous 
   4701 global handlers. installation status -- and for op regions, whether 
   4702 default 
   4703 or user-installed handler will be used.
   4704 
   4705 iASL: Warn if reserved method incorrectly returns a value. Many 
   4706 predefined 
   4707 names are defined such that they do not return a value. If implemented as 
   4708 a 
   4709 method, issue a warning if such a name explicitly returns a value. ACPICA 
   4710 Bugzilla 855.
   4711 
   4712 iASL: Added detection of GPE method name conflicts. Detects a conflict 
   4713 where 
   4714 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
   4715 (For 
   4716 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
   4717 
   4718 iASL/DTC: Fixed a couple input scanner issues with comments and line 
   4719 numbers. Comment remover could get confused and miss a comment ending. 
   4720 Fixed 
   4721 a problem with line counter maintenance.
   4722 
   4723 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
   4724 is 
   4725 no need to abort on simple errors within a field definition.
   4726 
   4727 Debugger: Simplified the output of the help command. All help output now 
   4728 in 
   4729 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
   4730 
   4731 ----------------------------------------
   4732 12 January 2011. Summary of changes for version 20110112:
   4733 
   4734 1) ACPI CA Core Subsystem:
   4735 
   4736 Fixed a race condition between method execution and namespace walks that 
   4737 can 
   4738 possibly cause a fault. The problem was apparently introduced in version 
   4739 20100528 as a result of a performance optimization that reduces the 
   4740 number 
   4741 of 
   4742 namespace walks upon method exit by using the delete_namespace_subtree 
   4743 function instead of the delete_namespace_by_owner function used 
   4744 previously. 
   4745 Bug is a missing namespace lock in the delete_namespace_subtree function. 
   4746 dana.myers (a] oracle.com
   4747 
   4748 Fixed several issues and a possible fault with the automatic "serialized" 
   4749 method support. History: This support changes a method to "serialized" on 
   4750 the 
   4751 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
   4752 possibility that it cannot handle reentrancy. This fix repairs a couple 
   4753 of 
   4754 issues seen in the field, especially on machines with many cores:
   4755 
   4756     1) Delete method children only upon the exit of the last thread,
   4757        so as to not delete objects out from under other running threads
   4758       (and possibly causing a fault.)
   4759     2) Set the "serialized" bit for the method only upon the exit of the
   4760        Last thread, so as to not cause deadlock when running threads
   4761        attempt to exit.
   4762     3) Cleanup the use of the AML "MethodFlags" and internal method flags
   4763        so that there is no longer any confusion between the two.
   4764 
   4765     Lin Ming, Bob Moore. Reported by dana.myers (a] oracle.com.
   4766 
   4767 Debugger: Now lock the namespace for duration of a namespace dump. 
   4768 Prevents 
   4769 issues if the namespace is changing dynamically underneath the debugger. 
   4770 Especially affects temporary namespace nodes, since the debugger displays 
   4771 these also.
   4772 
   4773 Updated the ordering of include files. The ACPICA headers should appear 
   4774 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
   4775 set 
   4776 any necessary compiler-specific defines, etc. Affects the ACPI-related 
   4777 tools 
   4778 and utilities.
   4779 
   4780 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
   4781 copyright 
   4782 to all module headers and signons, including the Linux header. This 
   4783 affects 
   4784 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
   4785 utilities.
   4786 
   4787 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
   4788 project files for VC++ 6.0 are now obsolete. New project files can be 
   4789 found 
   4790 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
   4791 details.
   4792 
   4793 Example Code and Data Size: These are the sizes for the OS-independent 
   4794 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4795 debug version of the code includes the debug output trace mechanism and 
   4796 has a 
   4797 much larger code and data size.
   4798 
   4799   Previous Release (VC 6.0):
   4800     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   4801     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   4802   Current Release (VC 9.0):
   4803     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   4804     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   4805 
   4806 2) iASL Compiler/Disassembler and Tools:
   4807 
   4808 iASL: Added generic data types to the Data Table compiler. Add "generic" 
   4809 data 
   4810 types such as UINT32, String, Unicode, etc., to simplify the generation 
   4811 of 
   4812 platform-defined tables such as UEFI. Lin Ming.
   4813 
   4814 iASL: Added listing support for the Data Table Compiler. Adds listing 
   4815 support 
   4816 (-l) to display actual binary output for each line of input code.
   4817 
   4818 ----------------------------------------
   4819 09 December 2010. Summary of changes for version 20101209:
   4820 
   4821 1) ACPI CA Core Subsystem:
   4822 
   4823 Completed the major overhaul of the GPE support code that was begun in 
   4824 July 
   4825 2010. Major features include: removal of _PRW execution in ACPICA (host 
   4826 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
   4827 changes to existing interfaces, simplification of GPE handler operation, 
   4828 and 
   4829 a handful of new interfaces:
   4830 
   4831     AcpiUpdateAllGpes
   4832     AcpiFinishGpe
   4833     AcpiSetupGpeForWake
   4834     AcpiSetGpeWakeMask
   4835     One new file, evxfgpe.c to consolidate all external GPE interfaces.
   4836 
   4837 See the ACPICA Programmer Reference for full details and programming 
   4838 information. See the new section 4.4 "General Purpose Event (GPE) 
   4839 Support" 
   4840 for a full overview, and section 8.7 "ACPI General Purpose Event 
   4841 Management" 
   4842 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
   4843 Ming, 
   4844 Bob Moore, Rafael Wysocki.
   4845 
   4846 Implemented a new GPE feature for Windows compatibility, the "Implicit 
   4847 Wake 
   4848 GPE Notify". This feature will automatically issue a Notify(2) on a 
   4849 device 
   4850 when a Wake GPE is received if there is no corresponding GPE method or 
   4851 handler. ACPICA BZ 870.
   4852 
   4853 Fixed a problem with the Scope() operator during table parse and load 
   4854 phase. 
   4855 During load phase (table load or method execution), the scope operator 
   4856 should 
   4857 not enter the target into the namespace. Instead, it should open a new 
   4858 scope 
   4859 at the target location. Linux BZ 19462, ACPICA BZ 882.
   4860 
   4861 Example Code and Data Size: These are the sizes for the OS-independent 
   4862 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   4863 debug version of the code includes the debug output trace mechanism and 
   4864 has a 
   4865 much larger code and data size.
   4866 
   4867   Previous Release:
   4868     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   4869     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   4870   Current Release:
   4871     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   4872     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   4873 
   4874 2) iASL Compiler/Disassembler and Tools:
   4875 
   4876 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
   4877 are 
   4878 "bus-specific" per the ACPI specification, and therefore any characters 
   4879 are 
   4880 acceptable. The only checks that can be performed are for a null string 
   4881 and 
   4882 perhaps for a leading asterisk. ACPICA BZ 886.
   4883 
   4884 iASL: Fixed a problem where a syntax error that caused a premature EOF 
   4885 condition on the source file emitted a very confusing error message. The 
   4886 premature EOF is now detected correctly. ACPICA BZ 891.
   4887 
   4888 Disassembler: Decode the AccessSize within a Generic Address Structure 
   4889 (byte 
   4890 access, word access, etc.) Note, this field does not allow arbitrary bit 
   4891 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
   4892 
   4893 New: AcpiNames utility - Example namespace dump utility. Shows an example 
   4894 of 
   4895 ACPICA configuration for a minimal namespace dump utility. Uses table and 
   4896 namespace managers, but no AML interpreter. Does not add any 
   4897 functionality 
   4898 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
   4899 partition and configure ACPICA. ACPICA BZ 883.
   4900 
   4901 AML Debugger: Increased the debugger buffer size for method return 
   4902 objects. 
   4903 Was 4K, increased to 16K. Also enhanced error messages for debugger 
   4904 method 
   4905 execution, including the buffer overflow case.
   4906 
   4907 ----------------------------------------
   4908 13 October 2010. Summary of changes for version 20101013:
   4909 
   4910 1) ACPI CA Core Subsystem:
   4911 
   4912 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
   4913 now 
   4914 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
   4915 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
   4916 
   4917 Changed the type of the predefined namespace object _TZ from ThermalZone 
   4918 to 
   4919 Device. This was found to be confusing to the host software that 
   4920 processes 
   4921 the various thermal zones, since _TZ is not really a ThermalZone. 
   4922 However, 
   4923 a 
   4924 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
   4925 Zhang.
   4926 
   4927 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
   4928 string is "Windows 2006 SP2".
   4929 
   4930 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
   4931 nsrepair 
   4932 code automatically repairs _HID-related strings, this type of code is no 
   4933 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
   4934 878.
   4935 
   4936 Example Code and Data Size: These are the sizes for the OS-independent 
   4937 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   4938 debug version of the code includes the debug output trace mechanism and 
   4939 has a 
   4940 much larger code and data size.
   4941 
   4942   Previous Release:
   4943     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   4944     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   4945   Current Release:
   4946     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   4947     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   4948 
   4949 2) iASL Compiler/Disassembler and Tools:
   4950 
   4951 iASL: Implemented additional compile-time validation for _HID strings. 
   4952 The 
   4953 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
   4954 length 
   4955 of 
   4956 the string must be exactly seven or eight characters. For both _HID and 
   4957 _CID 
   4958 strings, all characters must be alphanumeric. ACPICA BZ 874.
   4959 
   4960 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
   4961 descriptors that are mostly or all zeros, with the expectation that they 
   4962 will 
   4963 be filled in at runtime. iASL now allows this as long as there is a 
   4964 "resource 
   4965 tag" (name) associated with the descriptor, which gives the ASL a handle 
   4966 needed to modify the descriptor. ACPICA BZ 873.
   4967 
   4968 Added single-thread support to the generic Unix application OSL. 
   4969 Primarily 
   4970 for iASL support, this change removes the use of semaphores in the 
   4971 single-
   4972 threaded ACPICA tools/applications - increasing performance. The 
   4973 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
   4974 option. ACPICA BZ 879.
   4975 
   4976 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
   4977 support 
   4978 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
   4979 
   4980 iASL: Moved all compiler messages to a new file, aslmessages.h.
   4981 
   4982 ----------------------------------------
   4983 15 September 2010. Summary of changes for version 20100915:
   4984 
   4985 1) ACPI CA Core Subsystem:
   4986 
   4987 Removed the AcpiOsDerivePciId OSL interface. The various host 
   4988 implementations 
   4989 of this function were not OS-dependent and are now obsolete and can be 
   4990 removed from all host OSLs. This function has been replaced by 
   4991 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
   4992 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
   4993 module, hwpci.c. ACPICA BZ 857.
   4994 
   4995 Implemented a dynamic repair for _HID and _CID strings. The following 
   4996 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
   4997 string, and 2) the entire string is uppercased. Both repairs are in 
   4998 accordance with the ACPI specification and will simplify host driver 
   4999 code. 
   5000 ACPICA BZ 871.
   5001 
   5002 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
   5003 always UINT64. This simplifies the ACPICA code, especially any printf 
   5004 output. 
   5005 UINT64 is the only common data type for all thread_id types across all 
   5006 operating systems. It is now up to the host OSL to cast the native 
   5007 thread_id 
   5008 type to UINT64 before returning the value to ACPICA (via 
   5009 AcpiOsGetThreadId). 
   5010 Lin Ming, Bob Moore.
   5011 
   5012 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
   5013 "inline" 
   5014 keyword is not standard across compilers, and this type allows inline to 
   5015 be 
   5016 configured on a per-compiler basis. Lin Ming.
   5017 
   5018 Made the system global AcpiGbl_SystemAwakeAndRunning publically 
   5019 available. 
   5020 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
   5021 value 
   5022 during suspend/restore operations. ACPICA BZ 869.
   5023 
   5024 All code that implements error/warning messages with the "ACPI:" prefix 
   5025 has 
   5026 been moved to a new module, utxferror.c.
   5027 
   5028 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
   5029 it 
   5030 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
   5031 
   5032 Example Code and Data Size: These are the sizes for the OS-independent 
   5033 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5034 debug version of the code includes the debug output trace mechanism and 
   5035 has a 
   5036 much larger code and data size.
   5037 
   5038   Previous Release:
   5039     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   5040     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   5041   Current Release:
   5042     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   5043     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   5044 
   5045 2) iASL Compiler/Disassembler and Tools:
   5046 
   5047 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
   5048 file. 
   5049 This keeps the output files free of random error messages that may 
   5050 originate 
   5051 from within the namespace/interpreter code. Used this opportunity to 
   5052 merge 
   5053 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
   5054 866. Lin Ming, Bob Moore.
   5055 
   5056 Tools: update some printfs for ansi warnings on size_t. Handle width 
   5057 change 
   5058 of size_t on 32-bit versus 64-bit generations. Lin Ming.
   5059 
   5060 ----------------------------------------
   5061 06 August 2010. Summary of changes for version 20100806:
   5062 
   5063 1) ACPI CA Core Subsystem:
   5064 
   5065 Designed and implemented a new host interface to the _OSI support code. 
   5066 This 
   5067 will allow the host to dynamically add or remove multiple _OSI strings, 
   5068 as 
   5069 well as install an optional handler that is called for each _OSI 
   5070 invocation. 
   5071 Also added a new AML debugger command, 'osi' to display and modify the 
   5072 global 
   5073 _OSI string table, and test support in the AcpiExec utility. See the 
   5074 ACPICA 
   5075 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
   5076 New Functions:
   5077     AcpiInstallInterface - Add an _OSI string.
   5078     AcpiRemoveInterface - Delete an _OSI string.
   5079     AcpiInstallInterfaceHandler - Install optional _OSI handler.
   5080 Obsolete Functions:
   5081     AcpiOsValidateInterface - no longer used.
   5082 New Files:
   5083     source/components/utilities/utosi.c
   5084 
   5085 Re-introduced the support to enable multi-byte transfers for Embedded 
   5086 Controller (EC) operation regions. A reported problem was found to be a 
   5087 bug 
   5088 in the host OS, not in the multi-byte support. Previously, the maximum 
   5089 data 
   5090 size passed to the EC operation region handler was a single byte. There 
   5091 are 
   5092 often EC Fields larger than one byte that need to be transferred, and it 
   5093 is 
   5094 useful for the EC driver to lock these as a single transaction. This 
   5095 change 
   5096 enables single transfers larger than 8 bits. This effectively changes the 
   5097 access to the EC space from ByteAcc to AnyAcc, and will probably require 
   5098 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
   5099 bit 
   5100 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
   5101 
   5102 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
   5103 prototype in acpiosxf.h had the output value pointer as a (void *).
   5104 It should be a (UINT64 *). This may affect some host OSL code.
   5105 
   5106 Fixed a couple problems with the recently modified Linux makefiles for 
   5107 iASL 
   5108 and AcpiExec. These new makefiles place the generated object files in the 
   5109 local directory so that there can be no collisions between the files that 
   5110 are 
   5111 shared between them that are compiled with different options.
   5112 
   5113 Example Code and Data Size: These are the sizes for the OS-independent 
   5114 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5115 debug version of the code includes the debug output trace mechanism and 
   5116 has a 
   5117 much larger code and data size.
   5118 
   5119   Previous Release:
   5120     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   5121     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   5122   Current Release:
   5123     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   5124     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   5125 
   5126 2) iASL Compiler/Disassembler and Tools:
   5127 
   5128 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
   5129 the 
   5130 namespace from and disassemble an entire group of AML files. Useful for 
   5131 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
   5132 and 
   5133 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
   5134 
   5135 iASL: Allow multiple invocations of -e option. This change allows 
   5136 multiple 
   5137 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
   5138 834. 
   5139 Lin Ming.
   5140 
   5141 ----------------------------------------
   5142 02 July 2010. Summary of changes for version 20100702:
   5143 
   5144 1) ACPI CA Core Subsystem:
   5145 
   5146 Implemented several updates to the recently added GPE reference count 
   5147 support. The model for "wake" GPEs is changing to give the host OS 
   5148 complete 
   5149 control of these GPEs. Eventually, the ACPICA core will not execute any 
   5150 _PRW 
   5151 methods, since the host already must execute them. Also, additional 
   5152 changes 
   5153 were made to help ensure that the reference counts are kept in proper 
   5154 synchronization with reality. Rafael J. Wysocki.
   5155 
   5156 1) Ensure that GPEs are not enabled twice during initialization.
   5157 2) Ensure that GPE enable masks stay in sync with the reference count.
   5158 3) Do not inadvertently enable GPEs when writing GPE registers.
   5159 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
   5160 interface. This interface will set or clear individual GPEs for wakeup.
   5161 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
   5162 interfaces 
   5163 are now used for "runtime" GPEs only.
   5164 
   5165 Changed the behavior of the GPE install/remove handler interfaces. The 
   5166 GPE 
   5167 is 
   5168 no longer disabled during this process, as it was found to cause problems 
   5169 on 
   5170 some machines. Rafael J. Wysocki.
   5171 
   5172 Reverted a change introduced in version 20100528 to enable Embedded 
   5173 Controller multi-byte transfers. This change was found to cause problems 
   5174 with 
   5175 Index Fields and possibly Bank Fields. It will be reintroduced when these 
   5176 problems have been resolved.
   5177 
   5178 Fixed a problem with references to Alias objects within Package Objects. 
   5179 A 
   5180 reference to an Alias within the definition of a Package was not always 
   5181 resolved properly. Aliases to objects like Processors, Thermal zones, 
   5182 etc. 
   5183 were resolved to the actual object instead of a reference to the object 
   5184 as 
   5185 it 
   5186 should be. Package objects are only allowed to contain integer, string, 
   5187 buffer, package, and reference objects. Redhat bugzilla 608648.
   5188 
   5189 Example Code and Data Size: These are the sizes for the OS-independent 
   5190 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5191 debug version of the code includes the debug output trace mechanism and 
   5192 has a 
   5193 much larger code and data size.
   5194 
   5195   Previous Release:
   5196     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   5197     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   5198   Current Release:
   5199     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   5200     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   5201 
   5202 2) iASL Compiler/Disassembler and Tools:
   5203 
   5204 iASL: Implemented a new compiler subsystem to allow definition and 
   5205 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
   5206 These 
   5207 are called "ACPI Data Tables", and the new compiler is the "Data Table 
   5208 Compiler". This compiler is intended to simplify the existing error-prone 
   5209 process of creating these tables for the BIOS, as well as allowing the 
   5210 disassembly, modification, recompilation, and override of existing ACPI 
   5211 data 
   5212 tables. See the iASL User Guide for detailed information.
   5213 
   5214 iASL: Implemented a new Template Generator option in support of the new 
   5215 Data 
   5216 Table Compiler. This option will create examples of all known ACPI tables 
   5217 that can be used as the basis for table development. See the iASL 
   5218 documentation and the -T option.
   5219 
   5220 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
   5221 Descriptor Table).
   5222 
   5223 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
   5224 object files in the local directory so that there can be no collisions 
   5225 between the shared files between them that are generated with different 
   5226 options.
   5227 
   5228 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
   5229 Use 
   5230 the #define __APPLE__ to enable this support.
   5231 
   5232 ----------------------------------------
   5233 28 May 2010. Summary of changes for version 20100528:
   5234 
   5235 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
   5236 available at www.acpi.info. This is primarily an errata release.
   5237 
   5238 1) ACPI CA Core Subsystem:
   5239 
   5240 Undefined ACPI tables: We are looking for the definitions for the 
   5241 following 
   5242 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
   5243 
   5244 Implemented support to enable multi-byte transfers for Embedded 
   5245 Controller 
   5246 (EC) operation regions. Previously, the maximum data size passed to the 
   5247 EC 
   5248 operation region handler was a single byte. There are often EC Fields 
   5249 larger 
   5250 than one byte that need to be transferred, and it is useful for the EC 
   5251 driver 
   5252 to lock these as a single transaction. This change enables single 
   5253 transfers 
   5254 larger than 8 bits. This effectively changes the access to the EC space 
   5255 from 
   5256 ByteAcc to AnyAcc, and will probably require changes to the host OS 
   5257 Embedded 
   5258 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
   5259 bit 
   5260 transfers. Alexey Starikovskiy, Lin Ming
   5261 
   5262 Implemented a performance enhancement for namespace search and access. 
   5263 This 
   5264 change enhances the performance of namespace searches and walks by adding 
   5265 a 
   5266 backpointer to the parent in each namespace node. On large namespaces, 
   5267 this 
   5268 change can improve overall ACPI performance by up to 9X. Adding a pointer 
   5269 to 
   5270 each namespace node increases the overall size of the internal namespace 
   5271 by 
   5272 about 5%, since each namespace entry usually consists of both a namespace 
   5273 node and an ACPI operand object. However, this is the first growth of the 
   5274 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
   5275 
   5276 Implemented a performance optimization that reduces the number of 
   5277 namespace 
   5278 walks. On control method exit, only walk the namespace if the method is 
   5279 known 
   5280 to have created namespace objects outside of its local scope. Previously, 
   5281 the 
   5282 entire namespace was traversed on each control method exit. This change 
   5283 can 
   5284 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
   5285 Moore.
   5286 
   5287 Added support to truncate I/O addresses to 16 bits for Windows 
   5288 compatibility. 
   5289 Some ASL code has been seen in the field that inadvertently has bits set 
   5290 above bit 15. This feature is optional and is enabled if the BIOS 
   5291 requests 
   5292 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
   5293 Garrett, Bob Moore.
   5294 
   5295 Added support to limit the maximum time for the ASL Sleep() operator. To 
   5296 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
   5297 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
   5298 bugzilla 854.
   5299 
   5300 Added run-time validation support for the _WDG and_WED Microsoft 
   5301 predefined 
   5302 methods. These objects are defined by "Windows Instrumentation", and are 
   5303 not 
   5304 part of the ACPI spec. ACPICA BZ 860.
   5305 
   5306 Expanded all statistic counters used during namespace and device 
   5307 initialization from 16 to 32 bits in order to support very large 
   5308 namespaces.
   5309 
   5310 Replaced all instances of %d in printf format specifiers with %u since 
   5311 nearly 
   5312 all integers in ACPICA are unsigned.
   5313 
   5314 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
   5315 returned 
   5316 as AE_NO_HANDLER.
   5317 
   5318 Example Code and Data Size: These are the sizes for the OS-independent 
   5319 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5320 debug version of the code includes the debug output trace mechanism and 
   5321 has a 
   5322 much larger code and data size.
   5323 
   5324   Previous Release:
   5325     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   5326     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   5327   Current Release:
   5328     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   5329     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   5330 
   5331 2) iASL Compiler/Disassembler and Tools:
   5332 
   5333 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
   5334 methods. These objects are defined by "Windows Instrumentation", and are 
   5335 not 
   5336 part of the ACPI spec. ACPICA BZ 860.
   5337 
   5338 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
   5339 option will disable the tracking mechanism, which improves performance 
   5340 considerably.
   5341 
   5342 AcpiExec: Restructured the command line options into -d (disable) and -e 
   5343 (enable) options.
   5344 
   5345 ----------------------------------------
   5346 28 April 2010. Summary of changes for version 20100428:
   5347 
   5348 1) ACPI CA Core Subsystem:
   5349 
   5350 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
   5351 including FADT-based and GPE Block Devices, execute any _PRW methods in 
   5352 the 
   5353 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
   5354 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
   5355 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
   5356 Devices. Provides compatibility with other ACPI implementations. Two new 
   5357 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
   5358 Moore.
   5359 
   5360 Fixed a regression introduced in version 20100331 within the table 
   5361 manager 
   5362 where initial table loading could fail. This was introduced in the fix 
   5363 for 
   5364 AcpiReallocateRootTable. Also, renamed some of fields in the table 
   5365 manager 
   5366 data structures to clarify their meaning and use.
   5367 
   5368 Fixed a possible allocation overrun during internal object copy in 
   5369 AcpiUtCopySimpleObject. The original code did not correctly handle the 
   5370 case 
   5371 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
   5372 847.
   5373 
   5374 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
   5375 possible access beyond end-of-allocation. Also, now fully validate 
   5376 descriptor 
   5377 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
   5378 
   5379 Example Code and Data Size: These are the sizes for the OS-independent 
   5380 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5381 debug version of the code includes the debug output trace mechanism and 
   5382 has a 
   5383 much larger code and data size.
   5384 
   5385   Previous Release:
   5386     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   5387     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   5388   Current Release:
   5389     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   5390     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   5391 
   5392 2) iASL Compiler/Disassembler and Tools:
   5393 
   5394 iASL: Implemented Min/Max/Len/Gran validation for address resource 
   5395 descriptors. This change implements validation for the address fields 
   5396 that 
   5397 are common to all address-type resource descriptors. These checks are 
   5398 implemented: Checks for valid Min/Max, length within the Min/Max window, 
   5399 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
   5400 per 
   5401 table 6-40 in the ACPI 4.0a specification. Also split the large 
   5402 aslrestype1.c 
   5403 and aslrestype2.c files into five new files. ACPICA BZ 840.
   5404 
   5405 iASL: Added support for the _Wxx predefined names. This support was 
   5406 missing 
   5407 and these names were not recognized by the compiler as valid predefined 
   5408 names. ACPICA BZ 851.
   5409 
   5410 iASL: Added an error for all predefined names that are defined to return 
   5411 no 
   5412 value and thus must be implemented as Control Methods. These include all 
   5413 of 
   5414 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
   5415 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
   5416 
   5417 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
   5418 an 
   5419 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
   5420 be 
   5421 dynamically loaded via the Load() operator. Also cleaned up output for 
   5422 the 
   5423 -
   5424 ta and -tc options. ACPICA BZ 853.
   5425 
   5426 Tests: Added a new file with examples of extended iASL error checking. 
   5427 Demonstrates the advanced error checking ability of the iASL compiler. 
   5428 Available at tests/misc/badcode.asl.
   5429 
   5430 ----------------------------------------
   5431 31 March 2010. Summary of changes for version 20100331:
   5432 
   5433 1) ACPI CA Core Subsystem:
   5434 
   5435 Completed a major update for the GPE support in order to improve support 
   5436 for 
   5437 shared GPEs and to simplify both host OS and ACPICA code. Added a 
   5438 reference 
   5439 count mechanism to support shared GPEs that require multiple device 
   5440 drivers. 
   5441 Several external interfaces have changed. One external interface has been 
   5442 removed. One new external interface was added. Most of the GPE external 
   5443 interfaces now use the GPE spinlock instead of the events mutex (and the 
   5444 Flags parameter for many GPE interfaces has been removed.) See the 
   5445 updated 
   5446 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
   5447 Rafael 
   5448 Wysocki. ACPICA BZ 831.
   5449 
   5450 Changed:
   5451     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
   5452 Removed:
   5453     AcpiSetGpeType
   5454 New:
   5455     AcpiSetGpe
   5456 
   5457 Implemented write support for DataTable operation regions. These regions 
   5458 are 
   5459 defined via the DataTableRegion() operator. Previously, only read support 
   5460 was 
   5461 implemented. The ACPI specification allows DataTableRegions to be 
   5462 read/write, 
   5463 however.
   5464 
   5465 Implemented a new subsystem option to force a copy of the DSDT to local 
   5466 memory. Optionally copy the entire DSDT to local memory (instead of 
   5467 simply 
   5468 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
   5469 replace 
   5470 the original DSDT, creating the need for this option. Default is FALSE, 
   5471 do 
   5472 not copy the DSDT.
   5473 
   5474 Implemented detection of a corrupted or replaced DSDT. This change adds 
   5475 support to detect a DSDT that has been corrupted and/or replaced from 
   5476 outside 
   5477 the OS (by firmware). This is typically catastrophic for the system, but 
   5478 has 
   5479 been seen on some machines. Once this problem has been detected, the DSDT 
   5480 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
   5481 
   5482 Fixed two problems with AcpiReallocateRootTable during the root table 
   5483 copy. 
   5484 When copying the root table to the new allocation, the length used was 
   5485 incorrect. The new size was used instead of the current table size, 
   5486 meaning 
   5487 too much data was copied. Also, the count of available slots for ACPI 
   5488 tables 
   5489 was not set correctly. Alexey Starikovskiy, Bob Moore.
   5490 
   5491 Example Code and Data Size: These are the sizes for the OS-independent 
   5492 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5493 debug version of the code includes the debug output trace mechanism and 
   5494 has a 
   5495 much larger code and data size.
   5496 
   5497   Previous Release:
   5498     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   5499     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   5500   Current Release:
   5501     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   5502     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   5503 
   5504 2) iASL Compiler/Disassembler and Tools:
   5505 
   5506 iASL: Implement limited typechecking for values returned from predefined 
   5507 control methods. The type of any returned static (unnamed) object is now 
   5508 validated. For example, Return(1). ACPICA BZ 786.
   5509 
   5510 iASL: Fixed a predefined name object verification regression. Fixes a 
   5511 problem 
   5512 introduced in version 20100304. An error is incorrectly generated if a 
   5513 predefined name is declared as a static named object with a value defined 
   5514 using the keywords "Zero", "One", or "Ones". Lin Ming.
   5515 
   5516 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
   5517 by 
   5518 reducing the requested registry access rights. ACPICA BZ 842.
   5519 
   5520 Disassembler: fixed a possible fault when generating External() 
   5521 statements. 
   5522 Introduced in commit ae7d6fd: Properly handle externals with parent-
   5523 prefix 
   5524 (carat). Fixes a string length allocation calculation. Lin Ming.
   5525 
   5526 ----------------------------------------
   5527 04 March 2010. Summary of changes for version 20100304:
   5528 
   5529 1) ACPI CA Core Subsystem:
   5530 
   5531 Fixed a possible problem with the AML Mutex handling function 
   5532 AcpiExReleaseMutex where the function could fault under the very rare 
   5533 condition when the interpreter has blocked, the interpreter lock is 
   5534 released, 
   5535 the interpreter is then reentered via the same thread, and attempts to 
   5536 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
   5537 Lin 
   5538 Ming.
   5539 
   5540 Implemented additional configuration support for the AML "Debug Object". 
   5541 Output from the debug object can now be enabled via a global variable, 
   5542 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
   5543 debugging. 
   5544 This debug output is now available in the release version of ACPICA 
   5545 instead 
   5546 of just the debug version. Also, the entire debug output module can now 
   5547 be 
   5548 configured out of the ACPICA build if desired. One new file added, 
   5549 executer/exdebug.c. Lin Ming, Bob Moore.
   5550 
   5551 Added header support for the ACPI MCHI table (Management Controller Host 
   5552 Interface Table). This table was added in ACPI 4.0, but the defining 
   5553 document 
   5554 has only recently become available.
   5555 
   5556 Standardized output of integer values for ACPICA warnings/errors. Always 
   5557 use 
   5558 0x prefix for hex output, always use %u for unsigned integer decimal 
   5559 output. 
   5560 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
   5561 400 
   5562 invocations.) These invocations were converted from the original 
   5563 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
   5564 
   5565 Example Code and Data Size: These are the sizes for the OS-independent 
   5566 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5567 debug version of the code includes the debug output trace mechanism and 
   5568 has a 
   5569 much larger code and data size.
   5570 
   5571   Previous Release:
   5572     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   5573     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   5574   Current Release:
   5575     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   5576     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   5577 
   5578 2) iASL Compiler/Disassembler and Tools:
   5579 
   5580 iASL: Implemented typechecking support for static (non-control method) 
   5581 predefined named objects that are declared with the Name() operator. For 
   5582 example, the type of this object is now validated to be of type Integer: 
   5583 Name(_BBN, 1). This change migrates the compiler to using the core 
   5584 predefined 
   5585 name table instead of maintaining a local version. Added a new file, 
   5586 aslpredef.c. ACPICA BZ 832.
   5587 
   5588 Disassembler: Added support for the ACPI 4.0 MCHI table.
   5589 
   5590 ----------------------------------------
   5591 21 January 2010. Summary of changes for version 20100121:
   5592 
   5593 1) ACPI CA Core Subsystem:
   5594 
   5595 Added the 2010 copyright to all module headers and signons. This affects 
   5596 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
   5597 tools/utilities, and the test suites.
   5598 
   5599 Implemented a change to the AcpiGetDevices interface to eliminate 
   5600 unnecessary 
   5601 invocations of the _STA method. In the case where a specific _HID is 
   5602 requested, do not run _STA until a _HID match is found. This eliminates 
   5603 potentially dozens of _STA calls during a search for a particular 
   5604 device/HID, 
   5605 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
   5606 
   5607 Implemented an additional repair for predefined method return values. 
   5608 Attempt 
   5609 to repair unexpected NULL elements within returned Package objects. 
   5610 Create 
   5611 an 
   5612 Integer of value zero, a NULL String, or a zero-length Buffer as 
   5613 appropriate. 
   5614 ACPICA BZ 818. Lin Ming, Bob Moore.
   5615 
   5616 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
   5617 the 
   5618 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
   5619 (with 
   5620 64-bit AML integers). It is now obsolete and this change removes it from 
   5621 the 
   5622 ACPICA code base, replaced by UINT64. The original typedef has been 
   5623 retained 
   5624 for now for compatibility with existing device driver code. ACPICA BZ 
   5625 824.
   5626 
   5627 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
   5628 in 
   5629 the parse tree object.
   5630 
   5631 Added additional warning options for the gcc-4 generation. Updated the 
   5632 source 
   5633 accordingly. This includes some code restructuring to eliminate 
   5634 unreachable 
   5635 code, elimination of some gotos, elimination of unused return values, 
   5636 some 
   5637 additional casting, and removal of redundant declarations.
   5638 
   5639 Example Code and Data Size: These are the sizes for the OS-independent 
   5640 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5641 debug version of the code includes the debug output trace mechanism and 
   5642 has a 
   5643 much larger code and data size.
   5644 
   5645   Previous Release:
   5646     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   5647     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   5648   Current Release:
   5649     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   5650     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   5651 
   5652 2) iASL Compiler/Disassembler and Tools:
   5653 
   5654 No functional changes for this release.
   5655 
   5656 ----------------------------------------
   5657 14 December 2009. Summary of changes for version 20091214:
   5658 
   5659 1) ACPI CA Core Subsystem:
   5660 
   5661 Enhanced automatic data type conversions for predefined name repairs. 
   5662 This 
   5663 change expands the automatic repairs/conversions for predefined name 
   5664 return 
   5665 values to make Integers, Strings, and Buffers fully interchangeable. 
   5666 Also, 
   5667 a 
   5668 Buffer can be converted to a Package of Integers if necessary. The 
   5669 nsrepair.c 
   5670 module was completely restructured. Lin Ming, Bob Moore.
   5671 
   5672 Implemented automatic removal of null package elements during predefined 
   5673 name 
   5674 repairs. This change will automatically remove embedded and trailing NULL 
   5675 package elements from returned package objects that are defined to 
   5676 contain 
   5677 a 
   5678 variable number of sub-packages. The driver is then presented with a 
   5679 package 
   5680 with no null elements to deal with. ACPICA BZ 819.
   5681 
   5682 Implemented a repair for the predefined _FDE and _GTM names. The expected 
   5683 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
   5684 two 
   5685 possible problems (both seen in the field), where a package of integers 
   5686 is 
   5687 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
   5688 Kim.
   5689 
   5690 Implemented additional module-level code support. This change will 
   5691 properly 
   5692 execute module-level code that is not at the root of the namespace (under 
   5693 a 
   5694 Device object, etc.). Now executes the code within the current scope 
   5695 instead 
   5696 of the root. ACPICA BZ 762. Lin Ming.
   5697 
   5698 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
   5699 a 
   5700 problem where mutex errors can occur when running a _REG method that is 
   5701 in 
   5702 the same scope as a method-defined operation region or an operation 
   5703 region 
   5704 under a module-level IF block. This type of code is rare, so the problem 
   5705 has 
   5706 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
   5707 
   5708 Fixed a possible memory leak during module-level code execution. An 
   5709 object 
   5710 could be leaked for each block of executed module-level code if the 
   5711 interpreter slack mode is enabled This change deletes any implicitly 
   5712 returned 
   5713 object from the module-level code block. Lin Ming.
   5714 
   5715 Removed messages for successful predefined repair(s). The repair 
   5716 mechanism 
   5717 was considered too wordy. Now, messages are only unconditionally emitted 
   5718 if 
   5719 the return object cannot be repaired. Existing messages for successful 
   5720 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
   5721 827.
   5722 
   5723 Example Code and Data Size: These are the sizes for the OS-independent 
   5724 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5725 debug version of the code includes the debug output trace mechanism and 
   5726 has a 
   5727 much larger code and data size.
   5728 
   5729   Previous Release:
   5730     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   5731     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   5732   Current Release:
   5733     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   5734     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   5735 
   5736 2) iASL Compiler/Disassembler and Tools:
   5737 
   5738 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
   5739 files 
   5740 were no longer automatically removed at the termination of the compile.
   5741 
   5742 acpiexec: Implemented the -f option to specify default region fill value. 
   5743 This option specifies the value used to initialize buffers that simulate 
   5744 operation regions. Default value is zero. Useful for debugging problems 
   5745 that 
   5746 depend on a specific initial value for a region or field.
   5747 
   5748 ----------------------------------------
   5749 12 November 2009. Summary of changes for version 20091112:
   5750 
   5751 1) ACPI CA Core Subsystem:
   5752 
   5753 Implemented a post-order callback to AcpiWalkNamespace. The existing 
   5754 interface only has a pre-order callback. This change adds an additional 
   5755 parameter for a post-order callback which will be more useful for bus 
   5756 scans. 
   5757 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
   5758 
   5759 Modified the behavior of the operation region memory mapping cache for 
   5760 SystemMemory. Ensure that the memory mappings created for operation 
   5761 regions 
   5762 do not cross 4K page boundaries. Crossing a page boundary while mapping 
   5763 regions can cause kernel warnings on some hosts if the pages have 
   5764 different 
   5765 attributes. Such regions are probably BIOS bugs, and this is the 
   5766 workaround. 
   5767 Linux BZ 14445. Lin Ming.
   5768 
   5769 Implemented an automatic repair for predefined methods that must return 
   5770 sorted lists. This change will repair (by sorting) packages returned by 
   5771 _ALR, 
   5772 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
   5773 sorted 
   5774 and do not contain NULL package elements. Adds one new file, 
   5775 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
   5776 
   5777 Fixed a possible fault during predefined name validation if a return 
   5778 Package 
   5779 object contains NULL elements. Also adds a warning if a NULL element is 
   5780 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
   5781 may 
   5782 include repair or removal of all such NULL elements where possible.
   5783 
   5784 Implemented additional module-level executable AML code support. This 
   5785 change 
   5786 will execute module-level code that is not at the root of the namespace 
   5787 (under a Device object, etc.) at table load time. Module-level executable 
   5788 AML 
   5789 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
   5790 
   5791 Implemented a new internal function to create Integer objects. This 
   5792 function 
   5793 simplifies miscellaneous object creation code. ACPICA BZ 823.
   5794 
   5795 Reduced the severity of predefined repair messages, Warning to Info. 
   5796 Since 
   5797 the object was successfully repaired, a warning is too severe. Reduced to 
   5798 an 
   5799 info message for now. These messages may eventually be changed to debug-
   5800 only. 
   5801 ACPICA BZ 812.
   5802 
   5803 Example Code and Data Size: These are the sizes for the OS-independent 
   5804 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5805 debug version of the code includes the debug output trace mechanism and 
   5806 has a 
   5807 much larger code and data size.
   5808 
   5809   Previous Release:
   5810     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   5811     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   5812   Current Release:
   5813     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   5814     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   5815 
   5816 2) iASL Compiler/Disassembler and Tools:
   5817 
   5818 iASL: Implemented Switch() with While(1) so that Break works correctly. 
   5819 This 
   5820 change correctly implements the Switch operator with a surrounding 
   5821 While(1) 
   5822 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
   5823 
   5824 iASL: Added a message if a package initializer list is shorter than 
   5825 package 
   5826 length. Adds a new remark for a Package() declaration if an initializer 
   5827 list 
   5828 exists, but is shorter than the declared length of the package. Although 
   5829 technically legal, this is probably a coding error and it is seen in the 
   5830 field. ACPICA BZ 815. Lin Ming, Bob Moore.
   5831 
   5832 iASL: Fixed a problem where the compiler could fault after the maximum 
   5833 number 
   5834 of errors was reached (200).
   5835 
   5836 acpixtract: Fixed a possible warning for pointer cast if the compiler 
   5837 warning 
   5838 level set very high.
   5839 
   5840 ----------------------------------------
   5841 13 October 2009. Summary of changes for version 20091013:
   5842 
   5843 1) ACPI CA Core Subsystem:
   5844 
   5845 Fixed a problem where an Operation Region _REG method could be executed 
   5846 more 
   5847 than once. If a custom address space handler is installed by the host 
   5848 before 
   5849 the "initialize operation regions" phase of the ACPICA initialization, 
   5850 any 
   5851 _REG methods for that address space could be executed twice. This change 
   5852 fixes the problem. ACPICA BZ 427. Lin Ming.
   5853 
   5854 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
   5855 invocation of "Scope(\)" is executed (change scope to root), one internal 
   5856 operand object was leaked. Lin Ming.
   5857 
   5858 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
   5859 return value is defined as a Field object in the AML, and the field
   5860 size is less than or equal to the default width of an integer (32 or 
   5861 64),_MAT 
   5862 can incorrectly return an Integer instead of a Buffer. ACPICA now 
   5863 automatically repairs this problem. ACPICA BZ 810.
   5864 
   5865 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
   5866 The 
   5867 "OEM Information" field is often incorrectly returned as an Integer with 
   5868 value zero if the field is not supported by the platform. This is due to 
   5869 an 
   5870 ambiguity in the ACPI specification. The field should always be a string. 
   5871 ACPICA now automatically repairs this problem by returning a NULL string 
   5872 within the returned Package. ACPICA BZ 807.
   5873 
   5874 Example Code and Data Size: These are the sizes for the OS-independent 
   5875 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5876 debug version of the code includes the debug output trace mechanism and 
   5877 has a 
   5878 much larger code and data size.
   5879 
   5880   Previous Release:
   5881     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   5882     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   5883   Current Release:
   5884     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   5885     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   5886 
   5887 2) iASL Compiler/Disassembler and Tools:
   5888 
   5889 Disassembler: Fixed a problem where references to external symbols that 
   5890 contained one or more parent-prefixes (carats) were not handled 
   5891 correctly, 
   5892 possibly causing a fault. ACPICA BZ 806. Lin Ming.
   5893 
   5894 Disassembler: Restructured the code so that all functions that handle 
   5895 external symbols are in a single module. One new file is added, 
   5896 common/dmextern.c.
   5897 
   5898 AML Debugger: Added a max count argument for the Batch command (which 
   5899 executes multiple predefined methods within the namespace.)
   5900 
   5901 iASL: Updated the compiler documentation (User Reference.) Available at 
   5902 http://www.acpica.org/documentation/. ACPICA BZ 750.
   5903 
   5904 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
   5905 files.
   5906 
   5907 ----------------------------------------
   5908 03 September 2009. Summary of changes for version 20090903:
   5909 
   5910 1) ACPI CA Core Subsystem:
   5911 
   5912 For Windows Vista compatibility, added the automatic execution of an _INI 
   5913 method located at the namespace root (\_INI). This method is executed at 
   5914 table load time. This support is in addition to the automatic execution 
   5915 of 
   5916 \_SB._INI. Lin Ming.
   5917 
   5918 Fixed a possible memory leak in the interpreter for AML package objects 
   5919 if 
   5920 the package initializer list is longer than the defined size of the 
   5921 package. 
   5922 This apparently can only happen if the BIOS changes the package size on 
   5923 the 
   5924 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
   5925 interpreter will truncate the package to the defined size (and issue an 
   5926 error 
   5927 message), but previously could leave the extra objects undeleted if they 
   5928 were 
   5929 pre-created during the argument processing (such is the case if the 
   5930 package 
   5931 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
   5932 
   5933 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
   5934 This has been reported in the field. Previously, ACPICA would zero out 
   5935 the 
   5936 buffer/string. Now, the operation is treated as a noop. Provides Windows 
   5937 compatibility. ACPICA BZ 803. Lin Ming.
   5938 
   5939 Removed an extraneous error message for ASL constructs of the form 
   5940 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
   5941 statements 
   5942 are seen in many BIOSs and are once again treated as NOOPs and no error 
   5943 is 
   5944 emitted when they are encountered. ACPICA BZ 785.
   5945 
   5946 Fixed an extraneous warning message if a _DSM reserved method returns a 
   5947 Package object. _DSM can return any type of object, so validation on the 
   5948 return type cannot be performed. ACPICA BZ 802.
   5949 
   5950 Example Code and Data Size: These are the sizes for the OS-independent 
   5951 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5952 debug version of the code includes the debug output trace mechanism and 
   5953 has a 
   5954 much larger code and data size.
   5955 
   5956   Previous Release:
   5957     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   5958     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   5959   Current Release:
   5960     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   5961     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   5962 
   5963 2) iASL Compiler/Disassembler and Tools:
   5964 
   5965 iASL: Fixed a problem with the use of the Alias operator and Resource 
   5966 Templates. The correct alias is now constructed and no error is emitted. 
   5967 ACPICA BZ 738.
   5968 
   5969 iASL: Implemented the -I option to specify additional search directories 
   5970 for 
   5971 include files. Allows multiple additional search paths for include files. 
   5972 Directories are searched in the order specified on the command line 
   5973 (after 
   5974 the local directory is searched.) ACPICA BZ 800.
   5975 
   5976 iASL: Fixed a problem where the full pathname for include files was not 
   5977 emitted for warnings/errors. This caused the IDE support to not work 
   5978 properly. ACPICA BZ 765.
   5979 
   5980 iASL: Implemented the -@ option to specify a Windows-style response file 
   5981 containing additional command line options. ACPICA BZ 801.
   5982 
   5983 AcpiExec: Added support to load multiple AML files simultaneously (such 
   5984 as 
   5985 a 
   5986 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
   5987 pathname. These features allow all machine tables to be easily loaded and 
   5988 debugged together. ACPICA BZ 804.
   5989 
   5990 Disassembler: Added missing support for disassembly of HEST table Error 
   5991 Bank 
   5992 subtables. 
   5993 
   5994 ----------------------------------------
   5995 30 July 2009. Summary of changes for version 20090730:
   5996 
   5997 The ACPI 4.0 implementation for ACPICA is complete with this release.
   5998 
   5999 1) ACPI CA Core Subsystem:
   6000 
   6001 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
   6002 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
   6003 new 
   6004 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
   6005 BERT, 
   6006 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
   6007 There 
   6008 have been some ACPI 4.0 changes to other existing tables. Split the large 
   6009 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
   6010 
   6011 ACPI 4.0: Implemented predefined name validation for all new names. There 
   6012 are 
   6013 31 new names in ACPI 4.0. The predefined validation module was split into 
   6014 two 
   6015 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
   6016 
   6017 Implemented support for so-called "module-level executable code". This is 
   6018 executable AML code that exists outside of any control method and is 
   6019 intended 
   6020 to be executed at table load time. Although illegal since ACPI 2.0, this 
   6021 type 
   6022 of code still exists and is apparently still being created. Blocks of 
   6023 this 
   6024 code are now detected and executed as intended. Currently, the code 
   6025 blocks 
   6026 must exist under either an If, Else, or While construct; these are the 
   6027 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
   6028 
   6029 Implemented an automatic dynamic repair for predefined names that return 
   6030 nested Package objects. This applies to predefined names that are defined 
   6031 to 
   6032 return a variable-length Package of sub-packages. If the number of sub-
   6033 packages is one, BIOS code is occasionally seen that creates a simple 
   6034 single 
   6035 package with no sub-packages. This code attempts to fix the problem by 
   6036 wrapping a new package object around the existing package. These methods 
   6037 can 
   6038 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
   6039 BZ 
   6040 790.
   6041 
   6042 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
   6043 interface. 
   6044 The _HID/_CID matching was broken and no longer matched IDs correctly. 
   6045 ACPICA 
   6046 BZ 793.
   6047 
   6048 Fixed a problem with AcpiReset where the reset would silently fail if the 
   6049 register was one of the protected I/O ports. AcpiReset now bypasses the 
   6050 port 
   6051 validation mechanism. This may eventually be driven into the 
   6052 AcpiRead/Write 
   6053 interfaces.
   6054 
   6055 Fixed a regression related to the recent update of the AcpiRead/Write 
   6056 interfaces. A sleep/suspend could fail if the optional PM2 Control 
   6057 register 
   6058 does not exist during an attempt to write the Bus Master Arbitration bit. 
   6059 (However, some hosts already delete the code that writes this bit, and 
   6060 the 
   6061 code may in fact be obsolete at this date.) ACPICA BZ 799.
   6062 
   6063 Fixed a problem where AcpiTerminate could fault if inadvertently called 
   6064 twice 
   6065 in succession. ACPICA BZ 795.
   6066 
   6067 Example Code and Data Size: These are the sizes for the OS-independent 
   6068 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6069 debug version of the code includes the debug output trace mechanism and 
   6070 has a 
   6071 much larger code and data size.
   6072 
   6073   Previous Release:
   6074     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   6075     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   6076   Current Release:
   6077     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   6078     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   6079 
   6080 2) iASL Compiler/Disassembler and Tools:
   6081 
   6082 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
   6083 changes to existing tables. ACPICA BZ 775.
   6084 
   6085 ----------------------------------------
   6086 25 June 2009. Summary of changes for version 20090625:
   6087 
   6088 The ACPI 4.0 Specification was released on June 16 and is available at 
   6089 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
   6090 continue for the next few releases.
   6091 
   6092 1) ACPI CA Core Subsystem:
   6093 
   6094 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
   6095 address space. Includes support for bi-directional data buffers and an 
   6096 IPMI 
   6097 address space handler (to be installed by an IPMI device driver.) ACPICA 
   6098 BZ 
   6099 773. Lin Ming.
   6100 
   6101 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
   6102 Includes 
   6103 support in both the header files and the disassembler.
   6104 
   6105 Completed a major update for the AcpiGetObjectInfo external interface. 
   6106 Changes include:
   6107  - Support for variable, unlimited length HID, UID, and CID strings.
   6108  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
   6109 etc.)
   6110  - Call the _SxW power methods on behalf of a device object.
   6111  - Determine if a device is a PCI root bridge.
   6112  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
   6113 These changes will require an update to all callers of this interface. 
   6114 See 
   6115 the updated ACPICA Programmer Reference for details. One new source file 
   6116 has 
   6117 been added - utilities/utids.c. ACPICA BZ 368, 780.
   6118 
   6119 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
   6120 transfers. The Value parameter has been extended from 32 bits to 64 bits 
   6121 in 
   6122 order to support new ACPI 4.0 tables. These changes will require an 
   6123 update 
   6124 to 
   6125 all callers of these interfaces. See the ACPICA Programmer Reference for 
   6126 details. ACPICA BZ 768.
   6127 
   6128 Fixed several problems with AcpiAttachData. The handler was not invoked 
   6129 when 
   6130 the host node was deleted. The data sub-object was not automatically 
   6131 deleted 
   6132 when the host node was deleted. The interface to the handler had an 
   6133 unused 
   6134 parameter, this was removed. ACPICA BZ 778.
   6135 
   6136 Enhanced the function that dumps ACPI table headers. All non-printable 
   6137 characters in the string fields are now replaced with '?' (Signature, 
   6138 OemId, 
   6139 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
   6140 these fields are occasionally seen in the field. ACPICA BZ 788.
   6141 
   6142 Fixed a problem with predefined method repair code where the code that 
   6143 attempts to repair/convert an object of incorrect type is only executed 
   6144 on 
   6145 the first time the predefined method is called. The mechanism that 
   6146 disables 
   6147 warnings on subsequent calls was interfering with the repair mechanism. 
   6148 ACPICA BZ 781.
   6149 
   6150 Fixed a possible memory leak in the predefined validation/repair code 
   6151 when 
   6152 a 
   6153 buffer is automatically converted to an expected string object.
   6154 
   6155 Removed obsolete 16-bit files from the distribution and from the current 
   6156 git 
   6157 tree head. ACPICA BZ 776.
   6158 
   6159 Example Code and Data Size: These are the sizes for the OS-independent 
   6160 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6161 debug version of the code includes the debug output trace mechanism and 
   6162 has a 
   6163 much larger code and data size.
   6164 
   6165   Previous Release:
   6166     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   6167     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   6168   Current Release:
   6169     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   6170     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   6171 
   6172 2) iASL Compiler/Disassembler and Tools:
   6173 
   6174 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
   6175 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
   6176 
   6177 ACPI 4.0: iASL - implemented compile-time validation support for all new 
   6178 predefined names and control methods (31 total). ACPICA BZ 769.
   6179 
   6180 ----------------------------------------
   6181 21 May 2009. Summary of changes for version 20090521:
   6182 
   6183 1) ACPI CA Core Subsystem:
   6184 
   6185 Disabled the preservation of the SCI enable bit in the PM1 control 
   6186 register. 
   6187 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
   6188 to 
   6189 be 
   6190 a "preserved" bit - "OSPM always preserves this bit position", section 
   6191 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
   6192 because the bit needs to be explicitly set by the OS as a workaround. No 
   6193 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
   6194 attempts to preserve this bit.
   6195 
   6196 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
   6197 incorrectly formed _PRT package could cause a fault. Added validation to 
   6198 ensure that each package element is actually a sub-package.
   6199 
   6200 Implemented a new interface to install or override a single control 
   6201 method, 
   6202 AcpiInstallMethod. This interface is useful when debugging in order to 
   6203 repair 
   6204 an existing method or to install a missing method without having to 
   6205 override 
   6206 the entire ACPI table. See the ACPICA Programmer Reference for use and 
   6207 examples. Lin Ming, Bob Moore.
   6208 
   6209 Fixed several reference count issues with the DdbHandle object that is 
   6210 created from a Load or LoadTable operator. Prevent premature deletion of 
   6211 the 
   6212 object. Also, mark the object as invalid once the table has been 
   6213 unloaded. 
   6214 This is needed because the handle itself may not be deleted after the 
   6215 table 
   6216 unload, depending on whether it has been stored in a named object by the 
   6217 caller. Lin Ming.
   6218 
   6219 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
   6220 mutexes of the same sync level are acquired but then not released in 
   6221 strict 
   6222 opposite order, the internally maintained Current Sync Level becomes 
   6223 confused 
   6224 and can cause subsequent execution errors. ACPICA BZ 471.
   6225 
   6226 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
   6227 specification has been changed to make the SyncLevel for mutex objects 
   6228 more 
   6229 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
   6230 the 
   6231 same as the current sync level. This makes more sense than the previous 
   6232 rule 
   6233 (SyncLevel less than or equal). This change updates the code to match the 
   6234 specification.
   6235 
   6236 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
   6237 The 
   6238 (local) cache must be locked during all cache object deletions. Andrew 
   6239 Baumann.
   6240 
   6241 Updated the Load operator to use operation region interfaces. This 
   6242 replaces 
   6243 direct memory mapping with region access calls. Now, all region accesses 
   6244 go 
   6245 through the installed region handler as they should.
   6246 
   6247 Simplified and optimized the NsGetNextNode function. Reduced parameter 
   6248 count 
   6249 and reduced code for this frequently used function.
   6250 
   6251 Example Code and Data Size: These are the sizes for the OS-independent 
   6252 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6253 debug version of the code includes the debug output trace mechanism and 
   6254 has a 
   6255 much larger code and data size.
   6256 
   6257   Previous Release:
   6258     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   6259     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   6260   Current Release:
   6261     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   6262     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   6263 
   6264 2) iASL Compiler/Disassembler and Tools:
   6265 
   6266 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
   6267 problems 
   6268 with sub-table disassembly and handling invalid sub-tables. Attempt 
   6269 recovery 
   6270 after an invalid sub-table ID.
   6271 
   6272 ----------------------------------------
   6273 22 April 2009. Summary of changes for version 20090422:
   6274 
   6275 1) ACPI CA Core Subsystem:
   6276 
   6277 Fixed a compatibility issue with the recently released I/O port 
   6278 protection 
   6279 mechanism. For windows compatibility, 1) On a port protection violation, 
   6280 simply ignore the request and do not return an exception (allow the 
   6281 control 
   6282 method to continue execution.) 2) If only part of the request overlaps a 
   6283 protected port, read/write the individual ports that are not protected. 
   6284 Linux 
   6285 BZ 13036. Lin Ming
   6286 
   6287 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
   6288 actually 
   6289 breaks into the AML debugger if the debugger is present. This matches the 
   6290 ACPI-defined behavior.
   6291 
   6292 Fixed several possible warnings related to the use of the configurable 
   6293 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
   6294 pointer with no warnings. Also fixes several warnings in printf-like 
   6295 statements for the 64-bit build when the type is configured as a pointer. 
   6296 ACPICA BZ 766, 767.
   6297 
   6298 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
   6299 on 
   6300 warning options.) Examples include printf formats, aliasing, unused 
   6301 globals, 
   6302 missing prototypes, missing switch default statements, use of non-ANSI 
   6303 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
   6304 for 
   6305 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
   6306 
   6307 Example Code and Data Size: These are the sizes for the OS-independent 
   6308 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6309 debug version of the code includes the debug output trace mechanism and 
   6310 has a 
   6311 much larger code and data size.
   6312 
   6313   Previous Release:
   6314     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   6315     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   6316   Current Release:
   6317     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   6318     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   6319 
   6320 2) iASL Compiler/Disassembler and Tools:
   6321 
   6322 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
   6323 warnings 
   6324 on 
   6325 the 64-bit build.
   6326 
   6327 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
   6328 not 
   6329 correctly digest Windows/DOS formatted files (with CR/LF).
   6330 
   6331 iASL: Added a new option for "quiet mode" (-va) that produces only the 
   6332 compilation summary, not individual errors and warnings. Useful for large 
   6333 batch compilations.
   6334 
   6335 AcpiExec: Implemented a new option (-z) to enable a forced 
   6336 semaphore/mutex 
   6337 timeout that can be used to detect hang conditions during execution of 
   6338 AML 
   6339 code (includes both internal semaphores and AML-defined mutexes and 
   6340 events.)
   6341 
   6342 Added new makefiles for the generation of acpica in a generic unix-like 
   6343 environment. These makefiles are intended to generate the acpica tools 
   6344 and 
   6345 utilities from the original acpica git source tree structure.
   6346 
   6347 Test Suites: Updated and cleaned up the documentation files. Updated the 
   6348 copyrights to 2009, affecting all source files. Use the new version of 
   6349 iASL 
   6350 with quiet mode. Increased the number of available semaphores in the 
   6351 Windows 
   6352 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
   6353 added 
   6354 an alternate implementation of the semaphore timeout to allow aslts to 
   6355 execute fully on Cygwin.
   6356 
   6357 ----------------------------------------
   6358 20 March 2009. Summary of changes for version 20090320:
   6359 
   6360 1) ACPI CA Core Subsystem:
   6361 
   6362 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
   6363 table 
   6364 unloads. Added a reader/writer locking mechanism to allow multiple 
   6365 concurrent 
   6366 namespace walks (readers), but block a dynamic table unload until it can 
   6367 gain 
   6368 exclusive write access to the namespace. This fixes a problem where a 
   6369 table 
   6370 unload could (possibly catastrophically) delete the portion of the 
   6371 namespace 
   6372 that is currently being examined by a walk. Adds a new file, utlock.c, 
   6373 that 
   6374 implements the reader/writer lock mechanism. ACPICA BZ 749.
   6375 
   6376 Fixed a regression introduced in version 20090220 where a change to the 
   6377 FADT 
   6378 handling could cause the ACPICA subsystem to access non-existent I/O 
   6379 ports.
   6380 
   6381 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
   6382 The 
   6383 FADT can contain both 32-bit and 64-bit versions of these addresses. 
   6384 Previously, the 64-bit versions were favored, meaning that if both 32 and 
   6385 64 
   6386 versions were valid, but not equal, the 64-bit version was used. This was 
   6387 found to cause some machines to fail. Now, in this case, the 32-bit 
   6388 version 
   6389 is used instead. This now matches the Windows behavior.
   6390 
   6391 Implemented a new mechanism to protect certain I/O ports. Provides 
   6392 Microsoft 
   6393 compatibility and protects the standard PC I/O ports from access via AML 
   6394 code. Adds a new file, hwvalid.c
   6395 
   6396 Fixed a possible extraneous warning message from the FADT support. The 
   6397 message warns of a 32/64 length mismatch between the legacy and GAS 
   6398 definitions for a register.
   6399 
   6400 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
   6401 is 
   6402 made obsolete by the port protection mechanism above. It was previously 
   6403 used 
   6404 to validate the entire address range of an operation region, which could 
   6405 be 
   6406 incorrect if the range included illegal ports, but fields within the 
   6407 operation region did not actually access those ports. Validation is now 
   6408 performed on a per-field basis instead of the entire region.
   6409 
   6410 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
   6411 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
   6412 this 
   6413 means a read/modify/write when writing to the register. However, for 
   6414 status 
   6415 registers, writing a one means clear the event. Writing a zero means 
   6416 preserve 
   6417 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
   6418 spec, 
   6419 and the ACPICA code now simply always writes a zero to the ignored bit.
   6420 
   6421 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
   6422 As 
   6423 per the ACPI specification, for the control registers, preserve 
   6424 (read/modify/write) all bits that are defined as either reserved or 
   6425 ignored.
   6426 
   6427 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
   6428 When reading the register, zero the write-only bits as per the ACPI spec. 
   6429 ACPICA BZ 443. Lin Ming.
   6430 
   6431 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
   6432 wants to reply true to this request. The Windows strings are the only 
   6433 paths 
   6434 through the AML that are tested and known to work properly.
   6435 
   6436   Previous Release:
   6437     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   6438     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   6439   Current Release:
   6440     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   6441     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   6442 
   6443 2) iASL Compiler/Disassembler and Tools:
   6444 
   6445 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
   6446 and 
   6447 aetables.c
   6448 
   6449 ----------------------------------------
   6450 20 February 2009. Summary of changes for version 20090220:
   6451 
   6452 1) ACPI CA Core Subsystem:
   6453 
   6454 Optimized the ACPI register locking. Removed locking for reads from the 
   6455 ACPI 
   6456 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
   6457 is 
   6458 not required when reading the single-bit registers. The 
   6459 AcpiGetRegisterUnlocked function is no longer needed and has been 
   6460 removed. 
   6461 This will improve performance for reads on these registers. ACPICA BZ 
   6462 760.
   6463 
   6464 Fixed the parameter validation for AcpiRead/Write. Now return 
   6465 AE_BAD_PARAMETER if the input register pointer is null, and 
   6466 AE_BAD_ADDRESS 
   6467 if 
   6468 the register has an address of zero. Previously, these cases simply 
   6469 returned 
   6470 AE_OK. For optional registers such as PM1B status/enable/control, the 
   6471 caller 
   6472 should check for a valid register address before calling. ACPICA BZ 748.
   6473 
   6474 Renamed the external ACPI bit register access functions. Renamed 
   6475 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
   6476 functions. The new names are AcpiReadBitRegister and 
   6477 AcpiWriteBitRegister. 
   6478 Also, restructured the code for these functions by simplifying the code 
   6479 path 
   6480 and condensing duplicate code to reduce code size.
   6481 
   6482 Added new functions to transparently handle the possibly split PM1 A/B 
   6483 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
   6484 functions 
   6485 now handle the split registers for PM1 Status, Enable, and Control. 
   6486 ACPICA 
   6487 BZ 
   6488 746.
   6489 
   6490 Added a function to handle the PM1 control registers, 
   6491 AcpiHwWritePm1Control. 
   6492 This function writes both of the PM1 control registers (A/B). These 
   6493 registers 
   6494 are different than the PM1 A/B status and enable registers in that 
   6495 different 
   6496 values can be written to the A/B registers. Most notably, the SLP_TYP 
   6497 bits 
   6498 can be different, as per the values returned from the _Sx predefined 
   6499 methods.
   6500 
   6501 Removed an extra register write within AcpiHwClearAcpiStatus. This 
   6502 function 
   6503 was writing an optional PM1B status register twice. The existing call to 
   6504 the 
   6505 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
   6506 A/B 
   6507 register. ACPICA BZ 751.
   6508 
   6509 Split out the PM1 Status registers from the FADT. Added new globals for 
   6510 these 
   6511 registers (A/B), similar to the way the PM1 Enable registers are handled. 
   6512 Instead of overloading the FADT Event Register blocks. This makes the 
   6513 code 
   6514 clearer and less prone to error.
   6515 
   6516 Fixed the warning message for when the platform contains too many ACPI 
   6517 tables 
   6518 for the default size of the global root table data structure. The 
   6519 calculation 
   6520 for the truncation value was incorrect.
   6521 
   6522 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
   6523 obsolete macro, since it is now a simple reference to ->common.type. 
   6524 There 
   6525 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
   6526 
   6527 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
   6528 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
   6529 simply SLEEP_TYPE. ACPICA BZ 754.
   6530 
   6531 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
   6532 function is only needed on 64-bit host operating systems and is thus not 
   6533 included for 32-bit hosts.
   6534 
   6535 Debug output: print the input and result for invocations of the _OSI 
   6536 reserved 
   6537 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
   6538 the 
   6539 verbosity of this debug level. Len Brown.
   6540 
   6541 Example Code and Data Size: These are the sizes for the OS-independent 
   6542 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6543 debug version of the code includes the debug output trace mechanism and 
   6544 has a 
   6545 much larger code and data size.
   6546 
   6547   Previous Release:
   6548     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   6549     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   6550   Current Release:
   6551     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   6552     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   6553 
   6554 2) iASL Compiler/Disassembler and Tools:
   6555 
   6556 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
   6557 various legal performance profiles.
   6558 
   6559 ----------------------------------------
   6560 23 January 2009. Summary of changes for version 20090123:
   6561 
   6562 1) ACPI CA Core Subsystem:
   6563 
   6564 Added the 2009 copyright to all module headers and signons. This affects 
   6565 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   6566 the tools/utilities.
   6567 
   6568 Implemented a change to allow the host to override any ACPI table, 
   6569 including 
   6570 dynamically loaded tables. Previously, only the DSDT could be replaced by 
   6571 the 
   6572 host. With this change, the AcpiOsTableOverride interface is called for 
   6573 each 
   6574 table found in the RSDT/XSDT during ACPICA initialization, and also 
   6575 whenever 
   6576 a table is dynamically loaded via the AML Load operator.
   6577 
   6578 Updated FADT flag definitions, especially the Boot Architecture flags.
   6579 
   6580 Debugger: For the Find command, automatically pad the input ACPI name 
   6581 with 
   6582 underscores if the name is shorter than 4 characters. This enables a 
   6583 match 
   6584 with the actual namespace entry which is itself padded with underscores.
   6585 
   6586 Example Code and Data Size: These are the sizes for the OS-independent 
   6587 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6588 debug version of the code includes the debug output trace mechanism and 
   6589 has a 
   6590 much larger code and data size.
   6591 
   6592   Previous Release:
   6593     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   6594     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   6595   Current Release:
   6596     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   6597     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   6598 
   6599 2) iASL Compiler/Disassembler and Tools:
   6600 
   6601 Fix build error under Bison-2.4.
   6602 
   6603 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
   6604 Architecture 
   6605 flags. Now decode all flags, regardless of the FADT version. Flag output 
   6606 includes the FADT version which first defined each flag.
   6607 
   6608 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
   6609 and 
   6610 DSDT). Windows only.
   6611 
   6612 ----------------------------------------
   6613 04 December 2008. Summary of changes for version 20081204:
   6614 
   6615 1) ACPI CA Core Subsystem:
   6616 
   6617 The ACPICA Programmer Reference has been completely updated and revamped 
   6618 for 
   6619 this release. This includes updates to the external interfaces, OSL 
   6620 interfaces, the overview sections, and the debugger reference.
   6621 
   6622 Several new ACPICA interfaces have been implemented and documented in the 
   6623 programmer reference:
   6624 AcpiReset - Writes the reset value to the FADT-defined reset register.
   6625 AcpiDisableAllGpes - Disable all available GPEs.
   6626 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
   6627 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
   6628 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
   6629 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
   6630 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
   6631 
   6632 Most of the public ACPI hardware-related interfaces have been moved to a 
   6633 new 
   6634 file, components/hardware/hwxface.c
   6635 
   6636 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
   6637 register lengths within the FADT are now used, and the low level ACPI 
   6638 register access no longer hardcodes the ACPI register lengths. Given that 
   6639 there may be some risk in actually trusting the FADT register lengths, a 
   6640 run-
   6641 time option was added to fall back to the default hardcoded lengths if 
   6642 the 
   6643 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
   6644 option is set to true for now, and a warning is issued if a suspicious 
   6645 FADT 
   6646 register length is overridden with the default value.
   6647 
   6648 Fixed a reference count issue in NsRepairObject. This problem was 
   6649 introduced 
   6650 in version 20081031 as part of a fix to repair Buffer objects within 
   6651 Packages. Lin Ming.
   6652 
   6653 Added semaphore support to the Linux/Unix application OS-services layer 
   6654 (OSL). ACPICA BZ 448. Lin Ming.
   6655 
   6656 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
   6657 will 
   6658 be implemented in the OSL, or will binary semaphores be used instead.
   6659 
   6660 Example Code and Data Size: These are the sizes for the OS-independent 
   6661 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6662 debug version of the code includes the debug output trace mechanism and 
   6663 has a 
   6664 much larger code and data size.
   6665 
   6666   Previous Release:
   6667     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   6668     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   6669   Current Release:
   6670     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   6671     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   6672 
   6673 2) iASL Compiler/Disassembler and Tools:
   6674 
   6675 iASL: Completed the '-e' option to include additional ACPI tables in 
   6676 order 
   6677 to 
   6678 aid with disassembly and External statement generation. ACPICA BZ 742. 
   6679 Lin 
   6680 Ming.
   6681 
   6682 iASL: Removed the "named object in while loop" error. The compiler cannot 
   6683 determine how many times a loop will execute. ACPICA BZ 730.
   6684 
   6685 Disassembler: Implemented support for FADT revision 2 (MS extension). 
   6686 ACPICA 
   6687 BZ 743.
   6688 
   6689 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
   6690 MCFG).
   6691 
   6692 ----------------------------------------
   6693 31 October 2008. Summary of changes for version 20081031:
   6694 
   6695 1) ACPI CA Core Subsystem:
   6696 
   6697 Restructured the ACPICA header files into public/private. acpi.h now 
   6698 includes 
   6699 only the "public" acpica headers. All other acpica headers are "private" 
   6700 and 
   6701 should not be included by acpica users. One new file, accommon.h is used 
   6702 to 
   6703 include the commonly used private headers for acpica code generation. 
   6704 Future 
   6705 plans include moving all private headers to a new subdirectory.
   6706 
   6707 Implemented an automatic Buffer->String return value conversion for 
   6708 predefined ACPI methods. For these methods (such as _BIF), added 
   6709 automatic 
   6710 conversion for return objects that are required to be a String, but a 
   6711 Buffer 
   6712 was found instead. This can happen when reading string battery data from 
   6713 an 
   6714 operation region, because it used to be difficult to convert the data 
   6715 from 
   6716 buffer to string from within the ASL. Ensures that the host OS is 
   6717 provided 
   6718 with a valid null-terminated string. Linux BZ 11822.
   6719 
   6720 Updated the FACS waking vector interfaces. Split 
   6721 AcpiSetFirmwareWakingVector 
   6722 into two: one for the 32-bit vector, another for the 64-bit vector. This 
   6723 is 
   6724 required because the host OS must setup the wake much differently for 
   6725 each 
   6726 vector (real vs. protected mode, etc.) and the interface itself should 
   6727 not 
   6728 be 
   6729 deciding which vector to use. Also, eliminated the 
   6730 GetFirmwareWakingVector 
   6731 interface, as it served no purpose (only the firmware reads the vector, 
   6732 OS 
   6733 only writes the vector.) ACPICA BZ 731.
   6734 
   6735 Implemented a mechanism to escape infinite AML While() loops. Added a 
   6736 loop 
   6737 counter to force exit from AML While loops if the count becomes too 
   6738 large. 
   6739 This can occur in poorly written AML when the hardware does not respond 
   6740 within a while loop and the loop does not implement a timeout. The 
   6741 maximum 
   6742 loop count is configurable. A new exception code is returned when a loop 
   6743 is 
   6744 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
   6745 
   6746 Optimized the execution of AML While loops. Previously, a control state 
   6747 object was allocated and freed for each execution of the loop. The 
   6748 optimization is to simply reuse the control state for each iteration. 
   6749 This 
   6750 speeds up the raw loop execution time by about 5%.
   6751 
   6752 Enhanced the implicit return mechanism. For Windows compatibility, return 
   6753 an 
   6754 implicit integer of value zero for methods that contain no executable 
   6755 code. 
   6756 Such methods are seen in the field as stubs (presumably), and can cause 
   6757 drivers to fail if they expect a return value. Lin Ming.
   6758 
   6759 Allow multiple backslashes as root prefixes in namepaths. In a fully 
   6760 qualified namepath, allow multiple backslash prefixes. This can happen 
   6761 (and 
   6762 is seen in the field) because of the use of a double-backslash in strings 
   6763 (since backslash is the escape character) causing confusion. ACPICA BZ 
   6764 739 
   6765 Lin Ming.
   6766 
   6767 Emit a warning if two different FACS or DSDT tables are discovered in the 
   6768 FADT. Checks if there are two valid but different addresses for the FACS 
   6769 and 
   6770 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
   6771 
   6772 Consolidated the method argument count validation code. Merged the code 
   6773 that 
   6774 validates control method argument counts into the predefined validation 
   6775 module. Eliminates possible multiple warnings for incorrect argument 
   6776 counts.
   6777 
   6778 Implemented ACPICA example code. Includes code for ACPICA initialization, 
   6779 handler installation, and calling a control method. Available at 
   6780 source/tools/examples.
   6781 
   6782 Added a global pointer for FACS table to simplify internal FACS access. 
   6783 Use 
   6784 the global pointer instead of using AcpiGetTableByIndex for each FACS 
   6785 access. 
   6786 This simplifies the code for the Global Lock and the Firmware Waking 
   6787 Vector(s).
   6788 
   6789 Example Code and Data Size: These are the sizes for the OS-independent 
   6790 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6791 debug version of the code includes the debug output trace mechanism and 
   6792 has a 
   6793 much larger code and data size.
   6794 
   6795   Previous Release:
   6796     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   6797     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   6798   Current Release:
   6799     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   6800     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   6801 
   6802 2) iASL Compiler/Disassembler and Tools:
   6803 
   6804 iASL: Improved disassembly of external method calls. Added the -e option 
   6805 to 
   6806 allow the inclusion of additional ACPI tables to help with the 
   6807 disassembly 
   6808 of 
   6809 method invocations and the generation of external declarations during the 
   6810 disassembly. Certain external method invocations cannot be disassembled 
   6811 properly without the actual declaration of the method. Use the -e option 
   6812 to 
   6813 include the table where the external method(s) are actually declared. 
   6814 Most 
   6815 useful for disassembling SSDTs that make method calls back to the master 
   6816 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
   6817 -d 
   6818 -e dsdt.aml ssdt1.aml
   6819 
   6820 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
   6821 problem where the use of an alias within a namepath would result in a not 
   6822 found error or cause the compiler to fault. Also now allows forward 
   6823 references from the Alias operator itself. ACPICA BZ 738.
   6824 
   6825 ----------------------------------------
   6826 26 September 2008. Summary of changes for version 20080926:
   6827 
   6828 1) ACPI CA Core Subsystem:
   6829 
   6830 Designed and implemented a mechanism to validate predefined ACPI methods 
   6831 and 
   6832 objects. This code validates the predefined ACPI objects (objects whose 
   6833 names 
   6834 start with underscore) that appear in the namespace, at the time they are 
   6835 evaluated. The argument count and the type of the returned object are 
   6836 validated against the ACPI specification. The purpose of this validation 
   6837 is 
   6838 to detect problems with the BIOS-implemented predefined ACPI objects 
   6839 before 
   6840 the results are returned to the ACPI-related drivers. Future enhancements 
   6841 may 
   6842 include actual repair of incorrect return objects where possible. Two new 
   6843 files are nspredef.c and acpredef.h.
   6844 
   6845 Fixed a fault in the AML parser if a memory allocation fails during the 
   6846 Op 
   6847 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
   6848 
   6849 Fixed an issue with implicit return compatibility. This change improves 
   6850 the 
   6851 implicit return mechanism to be more compatible with the MS interpreter. 
   6852 Lin 
   6853 Ming, ACPICA BZ 349.
   6854 
   6855 Implemented support for zero-length buffer-to-string conversions. Allow 
   6856 zero 
   6857 length strings during interpreter buffer-to-string conversions. For 
   6858 example, 
   6859 during the ToDecimalString and ToHexString operators, as well as implicit 
   6860 conversions. Fiodor Suietov, ACPICA BZ 585.
   6861 
   6862 Fixed two possible memory leaks in the error exit paths of 
   6863 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
   6864 are 
   6865 similar in that they use a stack of state objects in order to eliminate 
   6866 recursion. The stack must be fully unwound and deallocated if an error 
   6867 occurs. Lin Ming. ACPICA BZ 383.
   6868 
   6869 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
   6870 global 
   6871 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
   6872 Moore ACPICA BZ 442.
   6873 
   6874 Removed the obsolete version number in module headers. Removed the 
   6875 "$Revision" number that appeared in each module header. This version 
   6876 number 
   6877 was useful under SourceSafe and CVS, but has no meaning under git. It is 
   6878 not 
   6879 only incorrect, it could also be misleading.
   6880 
   6881 Example Code and Data Size: These are the sizes for the OS-independent 
   6882 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6883 debug version of the code includes the debug output trace mechanism and 
   6884 has a 
   6885 much larger code and data size.
   6886 
   6887   Previous Release:
   6888     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   6889     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   6890   Current Release:
   6891     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   6892     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   6893 
   6894 ----------------------------------------
   6895 29 August 2008. Summary of changes for version 20080829:
   6896 
   6897 1) ACPI CA Core Subsystem:
   6898 
   6899 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
   6900 Reference. Changes include the elimination of cheating on the Object 
   6901 field 
   6902 for the DdbHandle subtype, addition of a reference class field to 
   6903 differentiate the various reference types (instead of an AML opcode), and 
   6904 the 
   6905 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
   6906 
   6907 Reduce an error to a warning for an incorrect method argument count. 
   6908 Previously aborted with an error if too few arguments were passed to a 
   6909 control method via the external ACPICA interface. Now issue a warning 
   6910 instead 
   6911 and continue. Handles the case where the method inadvertently declares 
   6912 too 
   6913 many arguments, but does not actually use the extra ones. Applies mainly 
   6914 to 
   6915 the predefined methods. Lin Ming. Linux BZ 11032.
   6916 
   6917 Disallow the evaluation of named object types with no intrinsic value. 
   6918 Return 
   6919 AE_TYPE for objects that have no value and therefore evaluation is 
   6920 undefined: 
   6921 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
   6922 of 
   6923 these types were allowed, but an exception would be generated at some 
   6924 point 
   6925 during the evaluation. Now, the error is generated up front.
   6926 
   6927 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
   6928 (nsnames.c). Fixes a leak in the error exit path.
   6929 
   6930 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
   6931 debug 
   6932 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
   6933 ACPI_EXCEPTION 
   6934 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
   6935 ACPI_LV_EVENTS.
   6936 
   6937 Removed obsolete and/or unused exception codes from the acexcep.h header. 
   6938 There is the possibility that certain device drivers may be affected if 
   6939 they 
   6940 use any of these exceptions.
   6941 
   6942 The ACPICA documentation has been added to the public git source tree, 
   6943 under 
   6944 acpica/documents. Included are the ACPICA programmer reference, the iASL 
   6945 compiler reference, and the changes.txt release logfile.
   6946 
   6947 Example Code and Data Size: These are the sizes for the OS-independent 
   6948 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6949 debug version of the code includes the debug output trace mechanism and 
   6950 has a 
   6951 much larger code and data size.
   6952 
   6953   Previous Release:
   6954     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   6955     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   6956   Current Release:
   6957     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   6958     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   6959 
   6960 2) iASL Compiler/Disassembler and Tools:
   6961 
   6962 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
   6963 defines _SCP with 3 arguments. Previous versions defined it with only 1 
   6964 argument. iASL now allows both definitions.
   6965 
   6966 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
   6967 zero-
   6968 length subtables when disassembling ACPI tables. Also fixed a couple of 
   6969 errors where a full 16-bit table type field was not extracted from the 
   6970 input 
   6971 properly.
   6972 
   6973 acpisrc: Improve comment counting mechanism for generating source code 
   6974 statistics. Count first and last lines of multi-line comments as 
   6975 whitespace, 
   6976 not comment lines. Handle Linux legal header in addition to standard 
   6977 acpica 
   6978 header.
   6979 
   6980 ----------------------------------------
   6981 
   6982 29 July 2008. Summary of changes for version 20080729:
   6983 
   6984 1) ACPI CA Core Subsystem:
   6985 
   6986 Fix a possible deadlock in the GPE dispatch. Remove call to 
   6987 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
   6988 attempt 
   6989 to acquire the GPE lock but can deadlock since the GPE lock is already 
   6990 held 
   6991 at dispatch time. This code was introduced in version 20060831 as a 
   6992 response 
   6993 to Linux BZ 6881 and has since been removed from Linux.
   6994 
   6995 Add a function to dereference returned reference objects. Examines the 
   6996 return 
   6997 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
   6998 are 
   6999 automatically dereferenced in an attempt to return something useful 
   7000 (these 
   7001 reference types cannot be converted into an external ACPI_OBJECT.) 
   7002 Provides 
   7003 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
   7004 
   7005 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
   7006 subtables for the MADT and one new subtable for the SRAT. Includes 
   7007 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
   7008 x2APIC 
   7009 Specification, June 2008.
   7010 
   7011 Additional error checking for pathname utilities. Add error check after 
   7012 all 
   7013 calls to AcpiNsGetPathnameLength. Add status return from 
   7014 AcpiNsBuildExternalPath and check after all calls. Add parameter 
   7015 validation 
   7016 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
   7017 
   7018 Return status from the global init function AcpiUtGlobalInitialize. This 
   7019 is 
   7020 used by both the kernel subsystem and the utilities such as iASL 
   7021 compiler. 
   7022 The function could possibly fail when the caches are initialized. Yang 
   7023 Yi.
   7024 
   7025 Add a function to decode reference object types to strings. Created for 
   7026 improved error messages. 
   7027 
   7028 Improve object conversion error messages. Better error messages during 
   7029 object 
   7030 conversion from internal to the external ACPI_OBJECT. Used for external 
   7031 calls 
   7032 to AcpiEvaluateObject.
   7033 
   7034 Example Code and Data Size: These are the sizes for the OS-independent 
   7035 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7036 debug version of the code includes the debug output trace mechanism and 
   7037 has a 
   7038 much larger code and data size.
   7039 
   7040   Previous Release:
   7041     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   7042     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   7043   Current Release:
   7044     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   7045     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   7046 
   7047 2) iASL Compiler/Disassembler and Tools:
   7048 
   7049 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
   7050 problem 
   7051 introduced in version 20080701. If the object being evaluated (via 
   7052 execute 
   7053 command) is not a method, the debugger can hang while trying to obtain 
   7054 non-
   7055 existent parameters.
   7056 
   7057 iASL: relax error for using reserved "_T_x" identifiers. These names can 
   7058 appear in a disassembled ASL file if they were emitted by the original 
   7059 compiler. Instead of issuing an error or warning and forcing the user to 
   7060 manually change these names, issue a remark instead.
   7061 
   7062 iASL: error if named object created in while loop. Emit an error if any 
   7063 named 
   7064 object is created within a While loop. If allowed, this code will 
   7065 generate 
   7066 a 
   7067 run-time error on the second iteration of the loop when an attempt is 
   7068 made 
   7069 to 
   7070 create the same named object twice. ACPICA bugzilla 730.
   7071 
   7072 iASL: Support absolute pathnames for include files. Add support for 
   7073 absolute 
   7074 pathnames within the Include operator. previously, only relative 
   7075 pathnames 
   7076 were supported.
   7077 
   7078 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
   7079 Descriptor. 
   7080 The ACPI spec requires one interrupt minimum. BZ 423
   7081 
   7082 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
   7083 Handles the case for the Interrupt Resource Descriptor where
   7084 the ResourceSource argument is omitted but ResourceSourceIndex
   7085 is present. Now leave room for the Index. BZ 426
   7086 
   7087 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
   7088 cases 
   7089 where an error message is emitted if the target does not exist. BZ 516
   7090 
   7091 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
   7092 (get ACPI tables on Windows). This was apparently broken in version 
   7093 20070919.
   7094 
   7095 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
   7096 where 
   7097 the EOF happens immediately after the last table in the input file. Print 
   7098 completion message. Previously, no message was displayed in this case.
   7099 
   7100 ----------------------------------------
   7101 01 July 2008. Summary of changes for version 20080701:
   7102 
   7103 0) Git source tree / acpica.org
   7104 
   7105 Fixed a problem where a git-clone from http would not transfer the entire 
   7106 source tree.
   7107 
   7108 1) ACPI CA Core Subsystem:
   7109 
   7110 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
   7111 enable bit. Now performs a read-change-write of the enable register 
   7112 instead 
   7113 of simply writing out the cached enable mask. This will prevent 
   7114 inadvertent 
   7115 enabling of GPEs if a rogue GPE is received during initialization (before 
   7116 GPE 
   7117 handlers are installed.)
   7118 
   7119 Implemented a copy for dynamically loaded tables. Previously, dynamically 
   7120 loaded tables were simply mapped - but on some machines this memory is 
   7121 corrupted after suspend. Now copy the table to a local buffer. For the 
   7122 OpRegion case, added checksum verify. Use the table length from the table 
   7123 header, not the region length. For the Buffer case, use the table length 
   7124 also. Dennis Noordsij, Bob Moore. BZ 10734
   7125 
   7126 Fixed a problem where the same ACPI table could not be dynamically loaded 
   7127 and 
   7128 unloaded more than once. Without this change, a table cannot be loaded 
   7129 again 
   7130 once it has been loaded/unloaded one time. The current mechanism does not 
   7131 unregister a table upon an unload. During a load, if the same table is 
   7132 found, 
   7133 this no longer returns an exception. BZ 722
   7134 
   7135 Fixed a problem where the wrong descriptor length was calculated for the 
   7136 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
   7137 EndTag 
   7138 are calculated as 12 bytes long, but the actual length in the internal 
   7139 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
   7140 Reported 
   7141 by Linn Crosetto. BZ 728
   7142 
   7143 Fixed a possible memory leak in the Unload operator. The DdbHandle 
   7144 returned 
   7145 by Load() did not have its reference count decremented during unload, 
   7146 leading 
   7147 to a memory leak. Lin Ming. BZ 727
   7148 
   7149 Fixed a possible memory leak when deleting thermal/processor objects. Any 
   7150 associated notify handlers (and objects) were not being deleted. Fiodor 
   7151 Suietov. BZ 506
   7152 
   7153 Fixed the ordering of the ASCII names in the global mutex table to match 
   7154 the 
   7155 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
   7156 only. 
   7157 Vegard Nossum. BZ 726
   7158 
   7159 Enhanced the AcpiGetObjectInfo interface to return the number of required 
   7160 arguments if the object is a control method. Added this call to the 
   7161 debugger 
   7162 so the proper number of default arguments are passed to a method. This 
   7163 prevents a warning when executing methods from AcpiExec.
   7164 
   7165 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
   7166 AE_BAD_PARAMETER if input handle is invalid. BZ 474
   7167 
   7168 Fixed an extraneous warning from exconfig.c on the 64-bit build.
   7169 
   7170 Example Code and Data Size: These are the sizes for the OS-independent 
   7171 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7172 debug version of the code includes the debug output trace mechanism and 
   7173 has a 
   7174 much larger code and data size.
   7175 
   7176   Previous Release:
   7177     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   7178     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   7179   Current Release:
   7180     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   7181     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   7182 
   7183 2) iASL Compiler/Disassembler and Tools:
   7184 
   7185 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
   7186 resource descriptor names.
   7187 
   7188 iASL: Detect invalid ASCII characters in input (windows version). Removed 
   7189 the 
   7190 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
   7191 characters in the input. BZ 441
   7192 
   7193 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
   7194 the 
   7195 "result of operation not used" warning when the DDB handle returned from 
   7196 LoadTable is not used. The warning is not needed. BZ 590
   7197 
   7198 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
   7199 method 
   7200 to 
   7201 pass address of table to the AML. Added option to disable OpRegion 
   7202 simulation 
   7203 to allow creation of an OpRegion with a real address that was passed to 
   7204 _CFG. 
   7205 All of this allows testing of the Load and Unload operators from 
   7206 AcpiExec.
   7207 
   7208 Debugger: update tables command for unloaded tables. Handle unloaded 
   7209 tables 
   7210 and use the standard table header output routine.
   7211 
   7212 ----------------------------------------
   7213 09 June 2008. Summary of changes for version 20080609:
   7214 
   7215 1) ACPI CA Core Subsystem:
   7216 
   7217 Implemented a workaround for reversed _PRT entries. A significant number 
   7218 of 
   7219 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
   7220 change dynamically detects and repairs this problem. Provides 
   7221 compatibility 
   7222 with MS ACPI. BZ 6859
   7223 
   7224 Simplified the internal ACPI hardware interfaces to eliminate the locking 
   7225 flag parameter from Register Read/Write. Added a new external interface, 
   7226 AcpiGetRegisterUnlocked.
   7227 
   7228 Fixed a problem where the invocation of a GPE control method could hang. 
   7229 This 
   7230 was a regression introduced in 20080514. The new method argument count 
   7231 validation mechanism can enter an infinite loop when a GPE method is 
   7232 dispatched. Problem fixed by removing the obsolete code that passed GPE 
   7233 block 
   7234 information to the notify handler via the control method parameter 
   7235 pointer.
   7236 
   7237 Fixed a problem where the _SST execution status was incorrectly returned 
   7238 to 
   7239 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
   7240 in 
   7241 20080514. _SST is optional and a NOT_FOUND exception should never be 
   7242 returned. BZ 716
   7243 
   7244 Fixed a problem where a deleted object could be accessed from within the 
   7245 AML 
   7246 parser. This was a regression introduced in version 20080123 as a fix for 
   7247 the 
   7248 Unload operator. Lin Ming. BZ 10669
   7249 
   7250 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
   7251 operands 
   7252 and eliminated the use of a negative index in a loop. Operands are now 
   7253 displayed in the correct order, not backwards. This also fixes a 
   7254 regression 
   7255 introduced in 20080514 on 64-bit systems where the elimination of 
   7256 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
   7257 715
   7258 
   7259 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
   7260 exit 
   7261 path did not delete a locally allocated structure.
   7262 
   7263 Updated definitions for the DMAR and SRAT tables to synchronize with the 
   7264 current specifications. Includes disassembler support.
   7265 
   7266 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
   7267 loop termination value was used. Loop terminated on iteration early, 
   7268 missing 
   7269 one mutex. Linn Crosetto
   7270 
   7271 Example Code and Data Size: These are the sizes for the OS-independent 
   7272 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7273 debug version of the code includes the debug output trace mechanism and 
   7274 has a 
   7275 much larger code and data size.
   7276 
   7277   Previous Release:
   7278     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   7279     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   7280   Current Release:
   7281     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   7282     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   7283 
   7284 2) iASL Compiler/Disassembler and Tools:
   7285 
   7286 Disassembler: Implemented support for EisaId() within _CID objects. Now 
   7287 disassemble integer _CID objects back to EisaId invocations, including 
   7288 multiple integers within _CID packages. Includes single-step support for 
   7289 debugger also.
   7290 
   7291 Disassembler: Added support for DMAR and SRAT table definition changes.
   7292 
   7293 ----------------------------------------
   7294 14 May 2008. Summary of changes for version 20080514:
   7295 
   7296 1) ACPI CA Core Subsystem:
   7297 
   7298 Fixed a problem where GPEs were enabled too early during the ACPICA 
   7299 initialization. This could lead to "handler not installed" errors on some 
   7300 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
   7301 This 
   7302 ensures that all operation regions and devices throughout the namespace 
   7303 have 
   7304 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
   7305 
   7306 Implemented a change to the enter sleep code. Moved execution of the _GTS 
   7307 method to just before setting sleep enable bit. The execution was moved 
   7308 from 
   7309 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
   7310 immediately before the SLP_EN bit is set, as per the ACPI specification. 
   7311 Luming Yu, BZ 1653.
   7312 
   7313 Implemented a fix to disable unknown GPEs (2nd version). Now always 
   7314 disable 
   7315 the GPE, even if ACPICA thinks that that it is already disabled. It is 
   7316 possible that the AML or some other code has enabled the GPE unbeknownst 
   7317 to 
   7318 the ACPICA code.
   7319 
   7320 Fixed a problem with the Field operator where zero-length fields would 
   7321 return 
   7322 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
   7323 ASL 
   7324 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
   7325 
   7326 Implemented a fix for the Load operator, now load the table at the 
   7327 namespace 
   7328 root. This reverts a change introduced in version 20071019. The table is 
   7329 now 
   7330 loaded at the namespace root even though this goes against the ACPI 
   7331 specification. This provides compatibility with other ACPI 
   7332 implementations. 
   7333 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
   7334 Ming.
   7335 
   7336 Fixed a problem where ACPICA would not Load() tables with unusual 
   7337 signatures. 
   7338 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
   7339 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
   7340 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
   7341 such 
   7342 signatures, ACPICA must be compatible. BZ 10454.
   7343 
   7344 Fixed a possible negative array index in AcpiUtValidateException. Added 
   7345 NULL 
   7346 fields to the exception string arrays to eliminate a -1 subtraction on 
   7347 the 
   7348 SubStatus field.
   7349 
   7350 Updated the debug tracking macros to reduce overall code and data size. 
   7351 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
   7352 instead of pointers to static strings. Jan Beulich and Bob Moore.
   7353 
   7354 Implemented argument count checking in control method invocation via 
   7355 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
   7356 too 
   7357 many. This applies only to extern programmatic control method execution, 
   7358 not 
   7359 method-to-method calls within the AML. Lin Ming.
   7360 
   7361 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
   7362 no 
   7363 longer needed, especially with the removal of 16-bit support. It was 
   7364 replaced 
   7365 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
   7366 bit 
   7367 on 
   7368 32/64-bit platforms is required.
   7369 
   7370 Added the C const qualifier for appropriate string constants -- mostly 
   7371 MODULE_NAME and printf format strings. Jan Beulich.
   7372 
   7373 Example Code and Data Size: These are the sizes for the OS-independent 
   7374 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7375 debug version of the code includes the debug output trace mechanism and 
   7376 has a 
   7377 much larger code and data size.
   7378 
   7379   Previous Release:
   7380     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   7381     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   7382   Current Release:
   7383     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   7384     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   7385 
   7386 2) iASL Compiler/Disassembler and Tools:
   7387 
   7388 Implemented ACPI table revision ID validation in the disassembler. Zero 
   7389 is 
   7390 always invalid. For DSDTs, the ID controls the interpreter integer width. 
   7391 1 
   7392 means 32-bit and this is unusual. 2 or greater is 64-bit.
   7393 
   7394 ----------------------------------------
   7395 21 March 2008. Summary of changes for version 20080321:
   7396 
   7397 1) ACPI CA Core Subsystem:
   7398 
   7399 Implemented an additional change to the GPE support in order to suppress 
   7400 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
   7401 permanently 
   7402 disable incoming GPEs that are neither enabled nor disabled -- meaning 
   7403 that 
   7404 the GPE is unknown to the system. This should prevent future interrupt 
   7405 floods 
   7406 from that GPE. BZ 6217 (Zhang Rui)
   7407 
   7408 Fixed a problem where NULL package elements were not returned to the 
   7409 AcpiEvaluateObject interface correctly. The element was simply ignored 
   7410 instead of returning a NULL ACPI_OBJECT package element, potentially 
   7411 causing 
   7412 a buffer overflow and/or confusing the caller who expected a fixed number 
   7413 of 
   7414 elements. BZ 10132 (Lin Ming, Bob Moore)
   7415 
   7416 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
   7417 Dword, 
   7418 Qword), Field, BankField, and IndexField operators when invoked from 
   7419 inside 
   7420 an executing control method. In this case, these operators created 
   7421 namespace 
   7422 nodes that were incorrectly left marked as permanent nodes instead of 
   7423 temporary nodes. This could cause a problem if there is race condition 
   7424 between an exiting control method and a running namespace walk. (Reported 
   7425 by 
   7426 Linn Crosetto)
   7427 
   7428 Fixed a problem where the CreateField and CreateXXXField operators would 
   7429 incorrectly allow duplicate names (the name of the field) with no 
   7430 exception 
   7431 generated.
   7432 
   7433 Implemented several changes for Notify handling. Added support for new 
   7434 Notify 
   7435 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
   7436 PowerResource objects is no longer allowed, as per the ACPI 
   7437 specification. 
   7438 (Bob Moore, Zhang Rui)
   7439 
   7440 All Reference Objects returned via the AcpiEvaluateObject interface are 
   7441 now 
   7442 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
   7443 for 
   7444 NULL objects - either NULL package elements or unresolved named 
   7445 references.
   7446 
   7447 Fixed a problem where an extraneous debug message was produced for 
   7448 package 
   7449 objects (when debugging enabled). The message "Package List length larger 
   7450 than NumElements count" is now produced in the correct case, and is now 
   7451 an 
   7452 error message rather than a debug message. Added a debug message for the 
   7453 opposite case, where NumElements is larger than the Package List (the 
   7454 package 
   7455 will be padded out with NULL elements as per the ACPI spec.)
   7456 
   7457 Implemented several improvements for the output of the ASL "Debug" object 
   7458 to 
   7459 clarify and keep all data for a given object on one output line.
   7460 
   7461 Fixed two size calculation issues with the variable-length Start 
   7462 Dependent 
   7463 resource descriptor.
   7464 
   7465 Example Code and Data Size: These are the sizes for the OS-independent 
   7466 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7467 debug version of the code includes the debug output trace mechanism and 
   7468 has 
   7469 a much larger code and data size.
   7470 
   7471   Previous Release:
   7472     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   7473     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   7474   Current Release:
   7475     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   7476     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   7477 
   7478 2) iASL Compiler/Disassembler and Tools:
   7479 
   7480 Fixed a problem with the use of the Switch operator where execution of 
   7481 the 
   7482 containing method by multiple concurrent threads could cause an 
   7483 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
   7484 actual Switch opcode, it must be simulated with local named temporary 
   7485 variables and if/else pairs. The solution chosen was to mark any method 
   7486 that 
   7487 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
   7488 469.
   7489 
   7490 ----------------------------------------
   7491 13 February 2008. Summary of changes for version 20080213:
   7492 
   7493 1) ACPI CA Core Subsystem:
   7494 
   7495 Implemented another MS compatibility design change for GPE/Notify 
   7496 handling. 
   7497 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
   7498 to 
   7499 complete first. It is expected that the OSL will queue the enable request 
   7500 behind all pending notify requests (may require changes to the local host 
   7501 OSL 
   7502 in AcpiOsExecute). Alexey Starikovskiy.
   7503 
   7504 Fixed a problem where buffer and package objects passed as arguments to a 
   7505 control method via the external AcpiEvaluateObject interface could cause 
   7506 an 
   7507 AE_AML_INTERNAL exception depending on the order and type of operators 
   7508 executed by the target control method.
   7509 
   7510 Fixed a problem where resource descriptor size optimization could cause a 
   7511 problem when a _CRS resource template is passed to a _SRS method. The 
   7512 _SRS 
   7513 resource template must use the same descriptors (with the same size) as 
   7514 returned from _CRS. This change affects the following resource 
   7515 descriptors: 
   7516 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
   7517 9487)
   7518 
   7519 Fixed a problem where a CopyObject to RegionField, BankField, and 
   7520 IndexField 
   7521 objects did not perform an implicit conversion as it should. These types 
   7522 must 
   7523 retain their initial type permanently as per the ACPI specification. 
   7524 However, 
   7525 a CopyObject to all other object types should not perform an implicit 
   7526 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
   7527 
   7528 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
   7529 match device CIDs did not examine the entire list of available CIDs, but 
   7530 instead aborted on the first non-matching CID. Andrew Patterson.
   7531 
   7532 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
   7533 was 
   7534 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
   7535 truncating the upper dword of a 64-bit value. This macro is only used to 
   7536 display debug output, so no incorrect calculations were made. Also, 
   7537 reimplemented the macro so that a 64-bit shift is not performed by 
   7538 inefficient compilers.
   7539 
   7540 Added missing va_end statements that should correspond with each va_start 
   7541 statement.
   7542 
   7543 Example Code and Data Size: These are the sizes for the OS-independent 
   7544 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7545 debug version of the code includes the debug output trace mechanism and 
   7546 has 
   7547 a much larger code and data size.
   7548 
   7549   Previous Release:
   7550     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   7551     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   7552   Current Release:
   7553     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   7554     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   7555 
   7556 2) iASL Compiler/Disassembler and Tools:
   7557 
   7558 Implemented full disassembler support for the following new ACPI tables: 
   7559 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
   7560 complicated HEST table. These tables support the Windows Hardware Error 
   7561 Architecture (WHEA).
   7562 
   7563 ----------------------------------------
   7564 23 January 2008. Summary of changes for version 20080123:
   7565 
   7566 1) ACPI CA Core Subsystem:
   7567 
   7568 Added the 2008 copyright to all module headers and signons. This affects 
   7569 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   7570 the tools/utilities.
   7571 
   7572 Fixed a problem with the SizeOf operator when used with Package and 
   7573 Buffer 
   7574 objects. These objects have deferred execution for some arguments, and 
   7575 the 
   7576 execution is now completed before the SizeOf is executed. This problem 
   7577 caused 
   7578 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
   7579 BZ 
   7580 9558
   7581 
   7582 Implemented an enhancement to the interpreter "slack mode". In the 
   7583 absence 
   7584 of 
   7585 an explicit return or an implicitly returned object from the last 
   7586 executed 
   7587 opcode, a control method will now implicitly return an integer of value 0 
   7588 for 
   7589 Microsoft compatibility. (Lin Ming) BZ 392
   7590 
   7591 Fixed a problem with the Load operator where an exception was not 
   7592 returned 
   7593 in 
   7594 the case where the table is already loaded. (Lin Ming) BZ 463
   7595 
   7596 Implemented support for the use of DDBHandles as an Indexed Reference, as 
   7597 per 
   7598 the ACPI spec. (Lin Ming) BZ 486
   7599 
   7600 Implemented support for UserTerm (Method invocation) for the Unload 
   7601 operator 
   7602 as per the ACPI spec. (Lin Ming) BZ 580
   7603 
   7604 Fixed a problem with the LoadTable operator where the OemId and 
   7605 OemTableId 
   7606 input strings could cause unexpected failures if they were shorter than 
   7607 the 
   7608 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
   7609 
   7610 Implemented support for UserTerm (Method invocation) for the Unload 
   7611 operator 
   7612 as per the ACPI spec. (Lin Ming) BZ 580
   7613 
   7614 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
   7615 HEST, 
   7616 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
   7617 
   7618 Example Code and Data Size: These are the sizes for the OS-independent 
   7619 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7620 debug version of the code includes the debug output trace mechanism and 
   7621 has 
   7622 a much larger code and data size.
   7623 
   7624   Previous Release:
   7625     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   7626     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   7627   Current Release:
   7628     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   7629     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   7630 
   7631 2) iASL Compiler/Disassembler and Tools:
   7632 
   7633 Implemented support in the disassembler for checksum validation on 
   7634 incoming 
   7635 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
   7636 table 
   7637 header dump at the start of the disassembly.
   7638 
   7639 Implemented additional debugging information in the namespace listing 
   7640 file 
   7641 created during compilation. In addition to the namespace hierarchy, the 
   7642 full 
   7643 pathname to each namespace object is displayed.
   7644 
   7645 Fixed a problem with the disassembler where invalid ACPI tables could 
   7646 cause 
   7647 faults or infinite loops.
   7648 
   7649 Fixed an unexpected parse error when using the optional "parameter types" 
   7650 list in a control method declaration. (Lin Ming) BZ 397
   7651 
   7652 Fixed a problem where two External declarations with the same name did 
   7653 not 
   7654 cause an error (Lin Ming) BZ 509
   7655 
   7656 Implemented support for full TermArgs (adding Argx, Localx and method 
   7657 invocation) for the ParameterData parameter to the LoadTable operator. 
   7658 (Lin 
   7659 Ming) BZ 583,587
   7660 
   7661 ----------------------------------------
   7662 19 December 2007. Summary of changes for version 20071219:
   7663 
   7664 1) ACPI CA Core Subsystem:
   7665 
   7666 Implemented full support for deferred execution for the TermArg string 
   7667 arguments for DataTableRegion. This enables forward references and full 
   7668 operand resolution for the three string arguments. Similar to 
   7669 OperationRegion 
   7670 deferred argument execution.) Lin Ming. BZ 430
   7671 
   7672 Implemented full argument resolution support for the BankValue argument 
   7673 to 
   7674 BankField. Previously, only constants were supported, now any TermArg may 
   7675 be 
   7676 used. Lin Ming BZ 387, 393
   7677 
   7678 Fixed a problem with AcpiGetDevices where the search of a branch of the 
   7679 device tree could be terminated prematurely. In accordance with the ACPI 
   7680 specification, the search down the current branch is terminated if a 
   7681 device 
   7682 is both not present and not functional (instead of just not present.) 
   7683 Yakui 
   7684 Zhao.
   7685 
   7686 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
   7687 if 
   7688 the underlying AML code changed the GPE enable registers. Now, any 
   7689 unknown 
   7690 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
   7691 disabled 
   7692 instead of simply ignored. Rui Zhang.
   7693 
   7694 Fixed a problem with Index Fields where the Index register was 
   7695 incorrectly 
   7696 limited to a maximum of 32 bits. Now any size may be used.
   7697 
   7698 Fixed a couple memory leaks associated with "implicit return" objects 
   7699 when 
   7700 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
   7701 
   7702 Example Code and Data Size: These are the sizes for the OS-independent 
   7703 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7704 debug version of the code includes the debug output trace mechanism and 
   7705 has 
   7706 a much larger code and data size.
   7707 
   7708   Previous Release:
   7709     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   7710     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   7711   Current Release:
   7712     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   7713     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   7714 
   7715 ----------------------------------------
   7716 14 November 2007. Summary of changes for version 20071114:
   7717 
   7718 1) ACPI CA Core Subsystem:
   7719 
   7720 Implemented event counters for each of the Fixed Events, the ACPI SCI 
   7721 (interrupt) itself, and control methods executed. Named 
   7722 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
   7723 These 
   7724 should be useful for debugging and statistics.
   7725 
   7726 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
   7727 contents of the various event counters. Returns the current values for 
   7728 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
   7729 AcpiMethodCount. The interface can be expanded in the future if new 
   7730 counters 
   7731 are added. Device drivers should use this interface rather than access 
   7732 the 
   7733 counters directly.
   7734 
   7735 Fixed a problem with the FromBCD and ToBCD operators. With some 
   7736 compilers, 
   7737 the ShortDivide function worked incorrectly, causing problems with the 
   7738 BCD 
   7739 functions with large input values. A truncation from 64-bit to 32-bit 
   7740 inadvertently occurred. Internal BZ 435. Lin Ming
   7741 
   7742 Fixed a problem with Index references passed as method arguments. 
   7743 References 
   7744 passed as arguments to control methods were dereferenced immediately 
   7745 (before 
   7746 control was passed to the called method). The references are now 
   7747 correctly 
   7748 passed directly to the called method. BZ 5389. Lin Ming
   7749 
   7750 Fixed a problem with CopyObject used in conjunction with the Index 
   7751 operator. 
   7752 The reference was incorrectly dereferenced before the copy. The reference 
   7753 is 
   7754 now correctly copied. BZ 5391. Lin Ming
   7755 
   7756 Fixed a problem with Control Method references within Package objects. 
   7757 These 
   7758 references are now correctly generated. This completes the package 
   7759 construction overhaul that began in version 20071019.
   7760 
   7761 Example Code and Data Size: These are the sizes for the OS-independent 
   7762 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7763 debug version of the code includes the debug output trace mechanism and 
   7764 has 
   7765 a much larger code and data size.
   7766 
   7767   Previous Release:
   7768     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   7769     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   7770   Current Release:
   7771     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   7772     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   7773 
   7774 
   7775 2) iASL Compiler/Disassembler and Tools:
   7776 
   7777 The AcpiExec utility now installs handlers for all of the predefined 
   7778 Operation Region types. New types supported are: PCI_Config, CMOS, and 
   7779 PCIBARTarget.
   7780 
   7781 Fixed a problem with the 64-bit version of AcpiExec where the extended 
   7782 (64-
   7783 bit) address fields for the DSDT and FACS within the FADT were not being 
   7784 used, causing truncation of the upper 32-bits of these addresses. Lin 
   7785 Ming 
   7786 and Bob Moore
   7787 
   7788 ----------------------------------------
   7789 19 October 2007. Summary of changes for version 20071019:
   7790 
   7791 1) ACPI CA Core Subsystem:
   7792 
   7793 Fixed a problem with the Alias operator when the target of the alias is a 
   7794 named ASL operator that opens a new scope -- Scope, Device, 
   7795 PowerResource, 
   7796 Processor, and ThermalZone. In these cases, any children of the original 
   7797 operator could not be accessed via the alias, potentially causing 
   7798 unexpected 
   7799 AE_NOT_FOUND exceptions. (BZ 9067)
   7800 
   7801 Fixed a problem with the Package operator where all named references were 
   7802 created as object references and left otherwise unresolved. According to 
   7803 the 
   7804 ACPI specification, a Package can only contain Data Objects or references 
   7805 to 
   7806 control methods. The implication is that named references to Data Objects 
   7807 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
   7808 immediately upon package creation. This is the approach taken with this 
   7809 change. References to all other named objects (Methods, Devices, Scopes, 
   7810 etc.) are all now properly created as reference objects. (BZ 5328)
   7811 
   7812 Reverted a change to Notify handling that was introduced in version 
   7813 20070508. This version changed the Notify handling from asynchronous to 
   7814 fully synchronous (Device driver Notify handling with respect to the 
   7815 Notify 
   7816 ASL operator). It was found that this change caused more problems than it 
   7817 solved and was removed by most users.
   7818 
   7819 Fixed a problem with the Increment and Decrement operators where the type 
   7820 of 
   7821 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
   7822 Lin Ming.
   7823 
   7824 Fixed a problem with the Load and LoadTable operators where the table 
   7825 location within the namespace was ignored. Instead, the table was always 
   7826 loaded into the root or current scope. Lin Ming.
   7827 
   7828 Fixed a problem with the Load operator when loading a table from a buffer 
   7829 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
   7830 
   7831 Fixed a problem with the Debug object where a store of a DdbHandle 
   7832 reference 
   7833 object to the Debug object could cause a fault.
   7834 
   7835 Added a table checksum verification for the Load operator, in the case 
   7836 where 
   7837 the load is from a buffer. (BZ 578).
   7838 
   7839 Implemented additional parameter validation for the LoadTable operator. 
   7840 The 
   7841 length of the input strings SignatureString, OemIdString, and OemTableId 
   7842 are 
   7843 now checked for maximum lengths. (BZ 582) Lin Ming.
   7844 
   7845 Example Code and Data Size: These are the sizes for the OS-independent 
   7846 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7847 debug version of the code includes the debug output trace mechanism and 
   7848 has 
   7849 a much larger code and data size.
   7850 
   7851   Previous Release:
   7852     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   7853     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   7854   Current Release:
   7855     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   7856     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   7857 
   7858 
   7859 2) iASL Compiler/Disassembler:
   7860 
   7861 Fixed a problem where if a single file was specified and the file did not 
   7862 exist, no error message was emitted. (Introduced with wildcard support in 
   7863 version 20070917.)
   7864 
   7865 ----------------------------------------
   7866 19 September 2007. Summary of changes for version 20070919:
   7867 
   7868 1) ACPI CA Core Subsystem:
   7869 
   7870 Designed and implemented new external interfaces to install and remove 
   7871 handlers for ACPI table-related events. Current events that are defined 
   7872 are 
   7873 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
   7874 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
   7875 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
   7876 
   7877 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
   7878 (acpi_serialized option on Linux) could cause some systems to hang during 
   7879 initialization. (Bob Moore) BZ 8171
   7880 
   7881 Fixed a problem where objects of certain types (Device, ThermalZone, 
   7882 Processor, PowerResource) can be not found if they are declared and 
   7883 referenced from within the same control method (Lin Ming) BZ 341
   7884 
   7885 Example Code and Data Size: These are the sizes for the OS-independent 
   7886 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7887 debug version of the code includes the debug output trace mechanism and 
   7888 has 
   7889 a much larger code and data size.
   7890 
   7891   Previous Release:
   7892     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   7893     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   7894   Current Release:
   7895     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   7896     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   7897 
   7898 
   7899 2) iASL Compiler/Disassembler:
   7900 
   7901 Implemented support to allow multiple files to be compiled/disassembled 
   7902 in 
   7903 a 
   7904 single invocation. This includes command line wildcard support for both 
   7905 the 
   7906 Windows and Unix versions of the compiler. This feature simplifies the 
   7907 disassembly and compilation of multiple ACPI tables in a single 
   7908 directory.
   7909 
   7910 ----------------------------------------
   7911 08 May 2007. Summary of changes for version 20070508:
   7912 
   7913 1) ACPI CA Core Subsystem:
   7914 
   7915 Implemented a Microsoft compatibility design change for the handling of 
   7916 the 
   7917 Notify AML operator. Previously, notify handlers were dispatched and 
   7918 executed completely asynchronously in a deferred thread. The new design 
   7919 still executes the notify handlers in a different thread, but the 
   7920 original 
   7921 thread that executed the Notify() now waits at a synchronization point 
   7922 for 
   7923 the notify handler to complete. Some machines depend on a synchronous 
   7924 Notify 
   7925 operator in order to operate correctly.
   7926 
   7927 Implemented support to allow Package objects to be passed as method 
   7928 arguments to the external AcpiEvaluateObject interface. Previously, this 
   7929 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
   7930 implemented since there were no reserved control methods that required it 
   7931 until recently.
   7932 
   7933 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
   7934 that 
   7935 contained invalid non-zero values in reserved fields could cause later 
   7936 failures because these fields have meaning in later revisions of the 
   7937 FADT. 
   7938 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
   7939 fields 
   7940 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
   7941 
   7942 Fixed a problem where the Global Lock handle was not properly updated if 
   7943 a 
   7944 thread that acquired the Global Lock via executing AML code then 
   7945 attempted 
   7946 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
   7947 Joe 
   7948 Liu.
   7949 
   7950 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
   7951 could be corrupted if the interrupt being removed was at the head of the 
   7952 list. Reported by Linn Crosetto.
   7953 
   7954 Example Code and Data Size: These are the sizes for the OS-independent 
   7955 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7956 debug version of the code includes the debug output trace mechanism and 
   7957 has 
   7958 a much larger code and data size.
   7959 
   7960   Previous Release:
   7961     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   7962     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   7963   Current Release:
   7964     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   7965     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   7966 
   7967 ----------------------------------------
   7968 20 March 2007. Summary of changes for version 20070320:
   7969 
   7970 1) ACPI CA Core Subsystem:
   7971 
   7972 Implemented a change to the order of interpretation and evaluation of AML 
   7973 operand objects within the AML interpreter. The interpreter now evaluates 
   7974 operands in the order that they appear in the AML stream (and the 
   7975 corresponding ASL code), instead of in the reverse order (after the 
   7976 entire 
   7977 operand list has been parsed). The previous behavior caused several 
   7978 subtle 
   7979 incompatibilities with the Microsoft AML interpreter as well as being 
   7980 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
   7981 
   7982 Implemented a change to the ACPI Global Lock support. All interfaces to 
   7983 the 
   7984 global lock now allow the same thread to acquire the lock multiple times. 
   7985 This affects the AcpiAcquireGlobalLock external interface to the global 
   7986 lock 
   7987 as well as the internal use of the global lock to support AML fields -- a 
   7988 control method that is holding the global lock can now simultaneously 
   7989 access 
   7990 AML fields that require global lock protection. Previously, in both 
   7991 cases, 
   7992 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
   7993 to 
   7994 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
   7995 Controller. There is no change to the behavior of the AML Acquire 
   7996 operator, 
   7997 as this can already be used to acquire a mutex multiple times by the same 
   7998 thread. BZ 8066. With assistance from Alexey Starikovskiy.
   7999 
   8000 Fixed a problem where invalid objects could be referenced in the AML 
   8001 Interpreter after error conditions. During operand evaluation, ensure 
   8002 that 
   8003 the internal "Return Object" field is cleared on error and only valid 
   8004 pointers are stored there. Caused occasional access to deleted objects 
   8005 that 
   8006 resulted in "large reference count" warning messages. Valery Podrezov.
   8007 
   8008 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
   8009 on 
   8010 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
   8011 Podrezov.
   8012 
   8013 Fixed an internal problem with the handling of result objects on the 
   8014 interpreter result stack. BZ 7872. Valery Podrezov.
   8015 
   8016 Removed obsolete code that handled the case where AML_NAME_OP is the 
   8017 target 
   8018 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
   8019 7874. Valery Podrezov.
   8020 
   8021 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
   8022 was 
   8023 a 
   8024 remnant from the previously discontinued 16-bit support.
   8025 
   8026 Example Code and Data Size: These are the sizes for the OS-independent 
   8027 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8028 debug version of the code includes the debug output trace mechanism and 
   8029 has 
   8030 a much larger code and data size.
   8031 
   8032   Previous Release:
   8033     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8034     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   8035   Current Release:
   8036     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8037     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   8038 
   8039 ----------------------------------------
   8040 26 January 2007. Summary of changes for version 20070126:
   8041 
   8042 1) ACPI CA Core Subsystem:
   8043 
   8044 Added the 2007 copyright to all module headers and signons. This affects 
   8045 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   8046 the utilities.
   8047 
   8048 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
   8049 during a table load. A bad pointer was passed in the case where the DSDT 
   8050 is 
   8051 overridden, causing a fault in this case.
   8052 
   8053 Example Code and Data Size: These are the sizes for the OS-independent 
   8054 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8055 debug version of the code includes the debug output trace mechanism and 
   8056 has 
   8057 a much larger code and data size.
   8058 
   8059   Previous Release:
   8060     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8061     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   8062   Current Release:
   8063     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8064     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   8065 
   8066 ----------------------------------------
   8067 15 December 2006. Summary of changes for version 20061215:
   8068 
   8069 1) ACPI CA Core Subsystem:
   8070 
   8071 Support for 16-bit ACPICA has been completely removed since it is no 
   8072 longer 
   8073 necessary and it clutters the code. All 16-bit macros, types, and 
   8074 conditional compiles have been removed, cleaning up and simplifying the 
   8075 code 
   8076 across the entire subsystem. DOS support is no longer needed since the 
   8077 bootable Linux firmware kit is now available.
   8078 
   8079 The handler for the Global Lock is now removed during AcpiTerminate to 
   8080 enable a clean subsystem restart, via the implementation of the 
   8081 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
   8082 HP)
   8083 
   8084 Implemented enhancements to the multithreading support within the 
   8085 debugger 
   8086 to enable improved multithreading debugging and evaluation of the 
   8087 subsystem. 
   8088 (Valery Podrezov)
   8089 
   8090 Debugger: Enhanced the Statistics/Memory command to emit the total 
   8091 (maximum) 
   8092 memory used during the execution, as well as the maximum memory consumed 
   8093 by 
   8094 each of the various object types. (Valery Podrezov)
   8095 
   8096 Example Code and Data Size: These are the sizes for the OS-independent 
   8097 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8098 debug version of the code includes the debug output trace mechanism and 
   8099 has 
   8100 a much larger code and data size.
   8101 
   8102   Previous Release:
   8103     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   8104     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   8105   Current Release:
   8106     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8107     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   8108 
   8109 
   8110 2) iASL Compiler/Disassembler and Tools:
   8111 
   8112 AcpiExec: Implemented a new option (-m) to display full memory use 
   8113 statistics upon subsystem/program termination. (Valery Podrezov)
   8114 
   8115 ----------------------------------------
   8116 09 November 2006. Summary of changes for version 20061109:
   8117 
   8118 1) ACPI CA Core Subsystem:
   8119 
   8120 Optimized the Load ASL operator in the case where the source operand is 
   8121 an 
   8122 operation region. Simply map the operation region memory, instead of 
   8123 performing a bytewise read. (Region must be of type SystemMemory, see 
   8124 below.)
   8125 
   8126 Fixed the Load ASL operator for the case where the source operand is a 
   8127 region field. A buffer object is also allowed as the source operand. BZ 
   8128 480
   8129 
   8130 Fixed a problem where the Load ASL operator allowed the source operand to 
   8131 be 
   8132 an operation region of any type. It is now restricted to regions of type 
   8133 SystemMemory, as per the ACPI specification. BZ 481
   8134 
   8135 Additional cleanup and optimizations for the new Table Manager code.
   8136 
   8137 AcpiEnable will now fail if all of the required ACPI tables are not 
   8138 loaded 
   8139 (FADT, FACS, DSDT). BZ 477
   8140 
   8141 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
   8142 this 
   8143 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
   8144 manually optimized to be aligned and will not work if it is byte-packed. 
   8145 
   8146 Example Code and Data Size: These are the sizes for the OS-independent 
   8147 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8148 debug version of the code includes the debug output trace mechanism and 
   8149 has 
   8150 a much larger code and data size.
   8151 
   8152   Previous Release:
   8153     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   8154     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   8155   Current Release:
   8156     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   8157     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   8158 
   8159 
   8160 2) iASL Compiler/Disassembler and Tools:
   8161 
   8162 Fixed a problem where the presence of the _OSI predefined control method 
   8163 within complex expressions could cause an internal compiler error.
   8164 
   8165 AcpiExec: Implemented full region support for multiple address spaces. 
   8166 SpaceId is now part of the REGION object. BZ 429
   8167 
   8168 ----------------------------------------
   8169 11 October 2006. Summary of changes for version 20061011:
   8170 
   8171 1) ACPI CA Core Subsystem:
   8172 
   8173 Completed an AML interpreter performance enhancement for control method 
   8174 execution. Previously a 2-pass parse/execution, control methods are now 
   8175 completely parsed and executed in a single pass. This improves overall 
   8176 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
   8177 use. (Valery Podrezov + interpreter changes in version 20051202 that 
   8178 eliminated namespace loading during the pass one parse.)
   8179 
   8180 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
   8181 not 
   8182 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
   8183 now 
   8184 obtained and also checked for an ID match.
   8185 
   8186 Implemented additional support for the PCI _ADR execution: upsearch until 
   8187 a 
   8188 device scope is found before executing _ADR. This allows PCI_Config 
   8189 operation regions to be declared locally within control methods 
   8190 underneath 
   8191 PCI device objects.
   8192 
   8193 Fixed a problem with a possible race condition between threads executing 
   8194 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
   8195 modifying AcpiWalkNamespace to (by default) ignore all temporary 
   8196 namespace 
   8197 entries created during any concurrent control method execution. An 
   8198 additional namespace race condition is known to exist between 
   8199 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
   8200 investigation.
   8201 
   8202 Restructured the AML ParseLoop function, breaking it into several 
   8203 subfunctions in order to reduce CPU stack use and improve 
   8204 maintainability. 
   8205 (Mikhail Kouzmich)
   8206 
   8207 AcpiGetHandle: Fix for parameter validation to detect invalid 
   8208 combinations 
   8209 of prefix handle and pathname. BZ 478
   8210 
   8211 Example Code and Data Size: These are the sizes for the OS-independent 
   8212 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8213 debug version of the code includes the debug output trace mechanism and 
   8214 has 
   8215 a much larger code and data size.
   8216 
   8217   Previous Release:
   8218     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   8219     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   8220   Current Release:
   8221     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   8222     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   8223 
   8224 2) iASL Compiler/Disassembler and Tools:
   8225 
   8226 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
   8227 Manager 
   8228 to restore original behavior.
   8229 
   8230 ----------------------------------------
   8231 27 September 2006. Summary of changes for version 20060927:
   8232 
   8233 1) ACPI CA Core Subsystem:
   8234 
   8235 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
   8236 These functions now use a spinlock for mutual exclusion and the interrupt 
   8237 level indication flag is not needed.
   8238 
   8239 Fixed a problem with the Global Lock where the lock could appear to be 
   8240 obtained before it is actually obtained. The global lock semaphore was 
   8241 inadvertently created with one unit instead of zero units. (BZ 464) 
   8242 Fiodor 
   8243 Suietov.
   8244 
   8245 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
   8246 during 
   8247 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
   8248 
   8249 Example Code and Data Size: These are the sizes for the OS-independent 
   8250 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8251 debug version of the code includes the debug output trace mechanism and 
   8252 has 
   8253 a much larger code and data size.
   8254 
   8255   Previous Release:
   8256     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   8257     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   8258   Current Release:
   8259     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   8260     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   8261 
   8262 
   8263 2) iASL Compiler/Disassembler and Tools:
   8264 
   8265 Fixed a compilation problem with the pre-defined Resource Descriptor 
   8266 field 
   8267 names where an "object does not exist" error could be incorrectly 
   8268 generated 
   8269 if the parent ResourceTemplate pathname places the template within a 
   8270 different namespace scope than the current scope. (BZ 7212)
   8271 
   8272 Fixed a problem where the compiler could hang after syntax errors 
   8273 detected 
   8274 in an ElseIf construct. (BZ 453)
   8275 
   8276 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
   8277 operator. An incorrect output filename was produced when this parameter 
   8278 was 
   8279 a null string (""). Now, the original input filename is used as the AML 
   8280 output filename, with an ".aml" extension.
   8281 
   8282 Implemented a generic batch command mode for the AcpiExec utility 
   8283 (execute 
   8284 any AML debugger command) (Valery Podrezov).
   8285 
   8286 ----------------------------------------
   8287 12 September 2006. Summary of changes for version 20060912:
   8288 
   8289 1) ACPI CA Core Subsystem:
   8290 
   8291 Enhanced the implementation of the "serialized mode" of the interpreter 
   8292 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
   8293 specified, instead of creating a serialization semaphore per control 
   8294 method, 
   8295 the interpreter lock is simply no longer released before a blocking 
   8296 operation during control method execution. This effectively makes the AML 
   8297 Interpreter single-threaded. The overhead of a semaphore per-method is 
   8298 eliminated.
   8299 
   8300 Fixed a regression where an error was no longer emitted if a control 
   8301 method 
   8302 attempts to create 2 objects of the same name. This once again returns 
   8303 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
   8304 that 
   8305 will dynamically serialize the control method to possible prevent future 
   8306 errors. (BZ 440)
   8307 
   8308 Integrated a fix for a problem with PCI Express HID detection in the PCI 
   8309 Config Space setup procedure. (BZ 7145)
   8310 
   8311 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
   8312 AcpiHwInitialize function - the FADT registers are now validated when the 
   8313 table is loaded.
   8314 
   8315 Added two new warnings during FADT verification - 1) if the FADT is 
   8316 larger 
   8317 than the largest known FADT version, and 2) if there is a mismatch 
   8318 between 
   8319 a 
   8320 32-bit block address and the 64-bit X counterpart (when both are non-
   8321 zero.)
   8322 
   8323 Example Code and Data Size: These are the sizes for the OS-independent 
   8324 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8325 debug version of the code includes the debug output trace mechanism and 
   8326 has 
   8327 a much larger code and data size.
   8328 
   8329   Previous Release:
   8330     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   8331     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   8332   Current Release:
   8333     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   8334     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   8335 
   8336 
   8337 2) iASL Compiler/Disassembler and Tools:
   8338 
   8339 Fixed a problem with the implementation of the Switch() operator where 
   8340 the 
   8341 temporary variable was declared too close to the actual Switch, instead 
   8342 of 
   8343 at method level. This could cause a problem if the Switch() operator is 
   8344 within a while loop, causing an error on the second iteration. (BZ 460)
   8345 
   8346 Disassembler - fix for error emitted for unknown type for target of scope 
   8347 operator. Now, ignore it and continue.
   8348 
   8349 Disassembly of an FADT now verifies the input FADT and reports any errors 
   8350 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
   8351 
   8352 Disassembly of raw data buffers with byte initialization data now 
   8353 prefixes 
   8354 each output line with the current buffer offset.
   8355 
   8356 Disassembly of ASF! table now includes all variable-length data fields at 
   8357 the end of some of the subtables.
   8358 
   8359 The disassembler now emits a comment if a buffer appears to be a 
   8360 ResourceTemplate, but cannot be disassembled as such because the EndTag 
   8361 does 
   8362 not appear at the very end of the buffer.
   8363 
   8364 AcpiExec - Added the "-t" command line option to enable the serialized 
   8365 mode 
   8366 of the AML interpreter.
   8367 
   8368 ----------------------------------------
   8369 31 August 2006. Summary of changes for version 20060831:
   8370 
   8371 1) ACPI CA Core Subsystem:
   8372 
   8373 Miscellaneous fixes for the Table Manager:
   8374 - Correctly initialize internal common FADT for all 64-bit "X" fields
   8375 - Fixed a couple table mapping issues during table load
   8376 - Fixed a couple alignment issues for IA64
   8377 - Initialize input array to zero in AcpiInitializeTables
   8378 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
   8379 AcpiGetTableByIndex
   8380 
   8381 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
   8382 now 
   8383 immediately disabled to prevent the waking GPE from firing again and to 
   8384 prevent other wake GPEs from interrupting the wake process.
   8385 
   8386 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
   8387 to 
   8388 be used for debugging systems with a large number of ACPI interrupts.
   8389 
   8390 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
   8391 both the ACPICA headers and the disassembler.
   8392 
   8393 Example Code and Data Size: These are the sizes for the OS-independent 
   8394 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8395 debug version of the code includes the debug output trace mechanism and 
   8396 has 
   8397 a much larger code and data size.
   8398 
   8399   Previous Release:
   8400     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   8401     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   8402   Current Release:
   8403     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   8404     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   8405 
   8406 
   8407 2) iASL Compiler/Disassembler and Tools:
   8408 
   8409 Disassembler support for the DMAR ACPI table.
   8410 
   8411 ----------------------------------------
   8412 23 August 2006. Summary of changes for version 20060823:
   8413 
   8414 1) ACPI CA Core Subsystem:
   8415 
   8416 The Table Manager component has been completely redesigned and 
   8417 reimplemented. The new design is much simpler, and reduces the overall 
   8418 code 
   8419 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
   8420 is 
   8421 now possible to obtain the ACPI tables very early during kernel 
   8422 initialization, even before dynamic memory management is initialized. 
   8423 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
   8424 
   8425 Obsolete ACPICA interfaces:
   8426 
   8427 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
   8428 init 
   8429 time).
   8430 - AcpiLoadTable: Not needed.
   8431 - AcpiUnloadTable: Not needed.
   8432 
   8433 New ACPICA interfaces:
   8434 
   8435 - AcpiInitializeTables: Must be called before the table manager can be 
   8436 used.
   8437 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
   8438 allocated memory after it becomes available.
   8439 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
   8440 tables 
   8441 in the RSDT/XSDT.
   8442 
   8443 Other ACPICA changes:
   8444 
   8445 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
   8446 Use 
   8447 AcpiOsUnmapMemory to free this mapping.
   8448 - AcpiGetTable returns the actual mapped table. The mapping is managed 
   8449 internally and must not be deleted by the caller. Use of this interface 
   8450 causes no additional dynamic memory allocation.
   8451 - AcpiFindRootPointer: Support for physical addressing has been 
   8452 eliminated, 
   8453 it appeared to be unused.
   8454 - The interface to AcpiOsMapMemory has changed to be consistent with the 
   8455 other allocation interfaces.
   8456 - The interface to AcpiOsGetRootPointer has changed to eliminate 
   8457 unnecessary 
   8458 parameters.
   8459 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
   8460 64-
   8461 bit platforms. Was previously 64 bits on all platforms.
   8462 - The interface to the ACPI Global Lock acquire/release macros have 
   8463 changed 
   8464 slightly since ACPICA no longer keeps a local copy of the FACS with a 
   8465 constructed pointer to the actual global lock.
   8466 
   8467 Porting to the new table manager:
   8468 
   8469 - AcpiInitializeTables: Must be called once, and can be called anytime 
   8470 during the OS initialization process. It allows the host to specify an 
   8471 area 
   8472 of memory to be used to store the internal version of the RSDT/XSDT (root 
   8473 table). This allows the host to access ACPI tables before memory 
   8474 management 
   8475 is initialized and running.
   8476 - AcpiReallocateRootTable: Can be called after memory management is 
   8477 running 
   8478 to copy the root table to a dynamically allocated array, freeing up the 
   8479 scratch memory specified in the call to AcpiInitializeTables.
   8480 - AcpiSubsystemInitialize: This existing interface is independent of the 
   8481 Table Manager, and does not have to be called before the Table Manager 
   8482 can 
   8483 be used, it only must be called before the rest of ACPICA can be used.
   8484 - ACPI Tables: Some changes have been made to the names and structure of 
   8485 the 
   8486 actbl.h and actbl1.h header files and may require changes to existing 
   8487 code. 
   8488 For example, bitfields have been completely removed because of their lack 
   8489 of 
   8490 portability across C compilers.
   8491 - Update interfaces to the Global Lock acquire/release macros if local 
   8492 versions are used. (see acwin.h)
   8493 
   8494 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
   8495 
   8496 New files: tbfind.c
   8497 
   8498 Example Code and Data Size: These are the sizes for the OS-independent 
   8499 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8500 debug version of the code includes the debug output trace mechanism and 
   8501 has 
   8502 a much larger code and data size.
   8503 
   8504   Previous Release:
   8505     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   8506     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   8507   Current Release:
   8508     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   8509     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   8510 
   8511 
   8512 2) iASL Compiler/Disassembler and Tools:
   8513 
   8514 No changes for this release.
   8515 
   8516 ----------------------------------------
   8517 21 July 2006. Summary of changes for version 20060721:
   8518 
   8519 1) ACPI CA Core Subsystem:
   8520 
   8521 The full source code for the ASL test suite used to validate the iASL 
   8522 compiler and the ACPICA core subsystem is being released with the ACPICA 
   8523 source for the first time. The source is contained in a separate package 
   8524 and 
   8525 consists of over 1100 files that exercise all ASL/AML operators. The 
   8526 package 
   8527 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
   8528 Fiodor 
   8529 Suietov)
   8530 
   8531 Completed a new design and implementation for support of the ACPI Global 
   8532 Lock. On the OS side, the global lock is now treated as a standard AML 
   8533 mutex. Previously, multiple OS threads could "acquire" the global lock 
   8534 simultaneously. However, this could cause the BIOS to be starved out of 
   8535 the 
   8536 lock - especially in cases such as the Embedded Controller driver where 
   8537 there is a tight coupling between the OS and the BIOS.
   8538 
   8539 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
   8540 The Global Lock interrupt handler no longer queues the execution of a 
   8541 separate thread to signal the global lock semaphore. Instead, the 
   8542 semaphore 
   8543 is signaled directly from the interrupt handler.
   8544 
   8545 Implemented support within the AML interpreter for package objects that 
   8546 contain a larger AML length (package list length) than the package 
   8547 element 
   8548 count. In this case, the length of the package is truncated to match the 
   8549 package element count. Some BIOS code apparently modifies the package 
   8550 length 
   8551 on the fly, and this change supports this behavior. Provides 
   8552 compatibility 
   8553 with the MS AML interpreter. (With assistance from Fiodor Suietov)
   8554 
   8555 Implemented a temporary fix for the BankValue parameter of a Bank Field 
   8556 to 
   8557 support all constant values, now including the Zero and One opcodes. 
   8558 Evaluation of this parameter must eventually be converted to a full 
   8559 TermArg 
   8560 evaluation. A not-implemented error is now returned (temporarily) for 
   8561 non-
   8562 constant values for this parameter.
   8563 
   8564 Fixed problem reports (Fiodor Suietov) integrated:
   8565 - Fix for premature object deletion after CopyObject on Operation Region 
   8566 (BZ 
   8567 350)
   8568 
   8569 Example Code and Data Size: These are the sizes for the OS-independent 
   8570 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8571 debug version of the code includes the debug output trace mechanism and 
   8572 has 
   8573 a much larger code and data size.
   8574 
   8575   Previous Release:
   8576     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
   8577     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
   8578   Current Release:
   8579     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   8580     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   8581 
   8582 
   8583 2) iASL Compiler/Disassembler and Tools:
   8584 
   8585 No changes for this release.
   8586 
   8587 ----------------------------------------
   8588 07 July 2006. Summary of changes for version 20060707:
   8589 
   8590 1) ACPI CA Core Subsystem:
   8591 
   8592 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
   8593 that do not allow the initialization of address pointers within packed 
   8594 structures - even though the hardware itself may support misaligned 
   8595 transfers. Some of the debug data structures are packed by default to 
   8596 minimize size.
   8597 
   8598 Added an error message for the case where AcpiOsGetThreadId() returns 
   8599 zero. 
   8600 A non-zero value is required by the core ACPICA code to ensure the proper 
   8601 operation of AML mutexes and recursive control methods.
   8602 
   8603 The DSDT is now the only ACPI table that determines whether the AML 
   8604 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
   8605 but 
   8606 the hooks for per-table 32/64 switching have been removed from the code. 
   8607 A 
   8608 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
   8609 
   8610 Fixed a possible leak of an OwnerID in the error path of 
   8611 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
   8612 deletion to a single place in AcpiTbUninstallTable to correct possible 
   8613 leaks 
   8614 when using the AcpiTbDeleteTablesByType interface (with assistance from 
   8615 Lance Ortiz.)
   8616 
   8617 Fixed a problem with Serialized control methods where the semaphore 
   8618 associated with the method could be over-signaled after multiple method 
   8619 invocations.
   8620 
   8621 Fixed two issues with the locking of the internal namespace data 
   8622 structure. 
   8623 Both the Unload() operator and AcpiUnloadTable interface now lock the 
   8624 namespace during the namespace deletion associated with the table unload 
   8625 (with assistance from Linn Crosetto.)
   8626 
   8627 Fixed problem reports (Valery Podrezov) integrated:
   8628 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
   8629 
   8630 Fixed problem reports (Fiodor Suietov) integrated:
   8631 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
   8632 - On Address Space handler deletion, needless deactivation call (BZ 374)
   8633 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
   8634 375)
   8635 - Possible memory leak, Notify sub-objects of Processor, Power, 
   8636 ThermalZone 
   8637 (BZ 376)
   8638 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
   8639 - Minimum Length of RSDT should be validated (BZ 379)
   8640 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
   8641 Handler (BZ (380)
   8642 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
   8643 loaded 
   8644 (BZ 381)
   8645 
   8646 Example Code and Data Size: These are the sizes for the OS-independent 
   8647 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8648 debug version of the code includes the debug output trace mechanism and 
   8649 has 
   8650 a much larger code and data size.
   8651 
   8652   Previous Release:
   8653     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   8654     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   8655   Current Release:
   8656     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   8657     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   8658 
   8659 
   8660 2) iASL Compiler/Disassembler and Tools:
   8661 
   8662 Fixed problem reports:
   8663 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
   8664 436)
   8665 
   8666 ----------------------------------------
   8667 23 June 2006. Summary of changes for version 20060623:
   8668 
   8669 1) ACPI CA Core Subsystem:
   8670 
   8671 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
   8672 allows the type to be customized to the host OS for improved efficiency 
   8673 (since a spinlock is usually a very small object.)
   8674 
   8675 Implemented support for "ignored" bits in the ACPI registers. According 
   8676 to 
   8677 the ACPI specification, these bits should be preserved when writing the 
   8678 registers via a read/modify/write cycle. There are 3 bits preserved in 
   8679 this 
   8680 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
   8681 
   8682 Implemented the initial deployment of new OSL mutex interfaces. Since 
   8683 some 
   8684 host operating systems have separate mutex and semaphore objects, this 
   8685 feature was requested. The base code now uses mutexes (and the new mutex 
   8686 interfaces) wherever a binary semaphore was used previously. However, for 
   8687 the current release, the mutex interfaces are defined as macros to map 
   8688 them 
   8689 to the existing semaphore interfaces. Therefore, no OSL changes are 
   8690 required 
   8691 at this time. (See acpiosxf.h)
   8692 
   8693 Fixed several problems with the support for the control method SyncLevel 
   8694 parameter. The SyncLevel now works according to the ACPI specification 
   8695 and 
   8696 in concert with the Mutex SyncLevel parameter, since the current 
   8697 SyncLevel 
   8698 is a property of the executing thread. Mutual exclusion for control 
   8699 methods 
   8700 is now implemented with a mutex instead of a semaphore.
   8701 
   8702 Fixed three instances of the use of the C shift operator in the bitfield 
   8703 support code (exfldio.c) to avoid the use of a shift value larger than 
   8704 the 
   8705 target data width. The behavior of C compilers is undefined in this case 
   8706 and 
   8707 can cause unpredictable results, and therefore the case must be detected 
   8708 and 
   8709 avoided. (Fiodor Suietov)
   8710 
   8711 Added an info message whenever an SSDT or OEM table is loaded dynamically 
   8712 via the Load() or LoadTable() ASL operators. This should improve 
   8713 debugging 
   8714 capability since it will show exactly what tables have been loaded 
   8715 (beyond 
   8716 the tables present in the RSDT/XSDT.)
   8717 
   8718 Example Code and Data Size: These are the sizes for the OS-independent 
   8719 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8720 debug version of the code includes the debug output trace mechanism and 
   8721 has 
   8722 a much larger code and data size.
   8723 
   8724   Previous Release:
   8725     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   8726     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   8727   Current Release:
   8728     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   8729     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   8730 
   8731 
   8732 2) iASL Compiler/Disassembler and Tools:
   8733 
   8734 No changes for this release.
   8735 
   8736 ----------------------------------------
   8737 08 June 2006. Summary of changes for version 20060608:
   8738 
   8739 1) ACPI CA Core Subsystem:
   8740 
   8741 Converted the locking mutex used for the ACPI hardware to a spinlock. 
   8742 This 
   8743 change should eliminate all problems caused by attempting to acquire a 
   8744 semaphore at interrupt level, and it means that all ACPICA external 
   8745 interfaces that directly access the ACPI hardware can be safely called 
   8746 from 
   8747 interrupt level. OSL code that implements the semaphore interfaces should 
   8748 be 
   8749 able to eliminate any workarounds for being called at interrupt level.
   8750 
   8751 Fixed a regression introduced in 20060526 where the ACPI device 
   8752 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
   8753 device 
   8754 did not have an optional _INI method.
   8755 
   8756 Fixed an IndexField issue where a write to the Data Register should be 
   8757 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
   8758 433, 
   8759 Fiodor Suietov)
   8760 
   8761 Fixed problem reports (Valery Podrezov) integrated:
   8762 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
   8763 
   8764 Fixed problem reports (Fiodor Suietov) integrated:
   8765 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
   8766 
   8767 Removed four global mutexes that were obsolete and were no longer being 
   8768 used.
   8769 
   8770 Example Code and Data Size: These are the sizes for the OS-independent 
   8771 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8772 debug version of the code includes the debug output trace mechanism and 
   8773 has 
   8774 a much larger code and data size.
   8775 
   8776   Previous Release:
   8777     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   8778     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   8779   Current Release:
   8780     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   8781     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   8782 
   8783 
   8784 2) iASL Compiler/Disassembler and Tools:
   8785 
   8786 Fixed a fault when using -g option (get tables from registry) on Windows 
   8787 machines.
   8788 
   8789 Fixed problem reports integrated:
   8790 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
   8791 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
   8792 Suietov)
   8793 - Global table revision override (-r) is ignored (BZ 413)
   8794 
   8795 ----------------------------------------
   8796 26 May 2006. Summary of changes for version 20060526:
   8797 
   8798 1) ACPI CA Core Subsystem:
   8799 
   8800 Restructured, flattened, and simplified the internal interfaces for 
   8801 namespace object evaluation - resulting in smaller code, less CPU stack 
   8802 use, 
   8803 and fewer interfaces. (With assistance from Mikhail Kouzmich)
   8804 
   8805 Fixed a problem with the CopyObject operator where the first parameter 
   8806 was 
   8807 not typed correctly for the parser, interpreter, compiler, and 
   8808 disassembler. 
   8809 Caused various errors and unexpected behavior.
   8810 
   8811 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
   8812 produced incorrect results with some C compilers. Since the behavior of C 
   8813 compilers when the shift value is larger than the datatype width is 
   8814 apparently not well defined, the interpreter now detects this condition 
   8815 and 
   8816 simply returns zero as expected in all such cases. (BZ 395)
   8817 
   8818 Fixed problem reports (Valery Podrezov) integrated:
   8819 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
   8820 - Allow interpreter to handle nested method declarations (BZ 5361)
   8821 
   8822 Fixed problem reports (Fiodor Suietov) integrated:
   8823 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
   8824 355)
   8825 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
   8826 356)
   8827 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
   8828 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
   8829 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
   8830 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
   8831 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
   8832 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
   8833 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
   8834 365)
   8835 - Status of the Global Initialization Handler call not used (BZ 366)
   8836 - Incorrect object parameter to Global Initialization Handler (BZ 367)
   8837 
   8838 Example Code and Data Size: These are the sizes for the OS-independent 
   8839 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8840 debug version of the code includes the debug output trace mechanism and 
   8841 has 
   8842 a much larger code and data size.
   8843 
   8844   Previous Release:
   8845     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   8846     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   8847   Current Release:
   8848     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   8849     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   8850 
   8851 
   8852 2) iASL Compiler/Disassembler and Tools:
   8853 
   8854 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
   8855 namespace identifiers with no collision with existing resource descriptor 
   8856 macro names. This provides compatibility with other ASL compilers and is 
   8857 most useful for disassembly/recompilation of existing tables without 
   8858 parse 
   8859 errors. (With assistance from Thomas Renninger)
   8860 
   8861 Disassembler: fixed an incorrect disassembly problem with the 
   8862 DataTableRegion and CopyObject operators. Fixed a possible fault during 
   8863 disassembly of some Alias operators.
   8864 
   8865 ----------------------------------------
   8866 12 May 2006. Summary of changes for version 20060512:
   8867 
   8868 1) ACPI CA Core Subsystem:
   8869 
   8870 Replaced the AcpiOsQueueForExecution interface with a new interface named 
   8871 AcpiOsExecute. The major difference is that the new interface does not 
   8872 have 
   8873 a Priority parameter, this appeared to be useless and has been replaced 
   8874 by 
   8875 a 
   8876 Type parameter. The Type tells the host what type of execution is being 
   8877 requested, such as global lock handler, notify handler, GPE handler, etc. 
   8878 This allows the host to queue and execute the request as appropriate for 
   8879 the 
   8880 request type, possibly using different work queues and different 
   8881 priorities 
   8882 for the various request types. This enables fixes for multithreading 
   8883 deadlock problems such as BZ #5534, and will require changes to all 
   8884 existing 
   8885 OS interface layers. (Alexey Starikovskiy and Bob Moore)
   8886 
   8887 Fixed a possible memory leak associated with the support for the so-
   8888 called 
   8889 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
   8890 Suietov)
   8891 
   8892 Fixed a problem with the Load() operator where a table load from an 
   8893 operation region could overwrite an internal table buffer by up to 7 
   8894 bytes 
   8895 and cause alignment faults on IPF systems. (With assistance from Luming 
   8896 Yu)
   8897 
   8898 Example Code and Data Size: These are the sizes for the OS-independent 
   8899 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8900 debug version of the code includes the debug output trace mechanism and 
   8901 has 
   8902 a much larger code and data size.
   8903 
   8904   Previous Release:
   8905     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   8906     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   8907   Current Release:
   8908     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   8909     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   8910 
   8911 
   8912 
   8913 2) iASL Compiler/Disassembler and Tools:
   8914 
   8915 Disassembler: Implemented support to cross reference the internal 
   8916 namespace 
   8917 and automatically generate ASL External() statements for symbols not 
   8918 defined 
   8919 within the current table being disassembled. This will simplify the 
   8920 disassembly and recompilation of interdependent tables such as SSDTs 
   8921 since 
   8922 these statements will no longer have to be added manually.
   8923 
   8924 Disassembler: Implemented experimental support to automatically detect 
   8925 invocations of external control methods and generate appropriate 
   8926 External() 
   8927 statements. This is problematic because the AML cannot be correctly 
   8928 parsed 
   8929 until the number of arguments for each control method is known. 
   8930 Currently, 
   8931 standalone method invocations and invocations as the source operand of a 
   8932 Store() statement are supported.
   8933 
   8934 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
   8935 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
   8936 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
   8937 more readable and likely closer to the original ASL source.
   8938 
   8939 ----------------------------------------
   8940 21 April 2006. Summary of changes for version 20060421:
   8941 
   8942 1) ACPI CA Core Subsystem:
   8943 
   8944 Removed a device initialization optimization introduced in 20051216 where 
   8945 the _STA method was not run unless an _INI was also present for the same 
   8946 device. This optimization could cause problems because it could allow 
   8947 _INI 
   8948 methods to be run within a not-present device subtree. (If a not-present 
   8949 device had no _INI, _STA would not be run, the not-present status would 
   8950 not 
   8951 be discovered, and the children of the device would be incorrectly 
   8952 traversed.)
   8953 
   8954 Implemented a new _STA optimization where namespace subtrees that do not 
   8955 contain _INI are identified and ignored during device initialization. 
   8956 Selectively running _STA can significantly improve boot time on large 
   8957 machines (with assistance from Len Brown.)
   8958 
   8959 Implemented support for the device initialization case where the returned 
   8960 _STA flags indicate a device not-present but functioning. In this case, 
   8961 _INI 
   8962 is not run, but the device children are examined for presence, as per the 
   8963 ACPI specification.
   8964 
   8965 Implemented an additional change to the IndexField support in order to 
   8966 conform to MS behavior. The value written to the Index Register is not 
   8967 simply a byte offset, it is a byte offset in units of the access width of 
   8968 the parent Index Field. (Fiodor Suietov)
   8969 
   8970 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
   8971 interface is called during the creation of all AML operation regions, and 
   8972 allows the host OS to exert control over what addresses it will allow the 
   8973 AML code to access. Operation Regions whose addresses are disallowed will 
   8974 cause a runtime exception when they are actually accessed (will not 
   8975 affect 
   8976 or abort table loading.) See oswinxf or osunixxf for an example 
   8977 implementation.
   8978 
   8979 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
   8980 interface allows the host OS to match the various "optional" 
   8981 interface/behavior strings for the _OSI predefined control method as 
   8982 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
   8983 for an example implementation.
   8984 
   8985 Restructured and corrected various problems in the exception handling 
   8986 code 
   8987 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
   8988 (with assistance from Takayoshi Kochi.)
   8989 
   8990 Modified the Linux source converter to ignore quoted string literals 
   8991 while 
   8992 converting identifiers from mixed to lower case. This will correct 
   8993 problems 
   8994 with the disassembler and other areas where such strings must not be 
   8995 modified.
   8996 
   8997 The ACPI_FUNCTION_* macros no longer require quotes around the function 
   8998 name. This allows the Linux source converter to convert the names, now 
   8999 that 
   9000 the converter ignores quoted strings.
   9001 
   9002 Example Code and Data Size: These are the sizes for the OS-independent 
   9003 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9004 debug version of the code includes the debug output trace mechanism and 
   9005 has 
   9006 a much larger code and data size.
   9007 
   9008   Previous Release:
   9009 
   9010     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   9011     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   9012   Current Release:
   9013     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   9014     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   9015 
   9016 
   9017 2) iASL Compiler/Disassembler and Tools:
   9018 
   9019 Implemented 3 new warnings for iASL, and implemented multiple warning 
   9020 levels 
   9021 (w2 flag).
   9022 
   9023 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
   9024 not 
   9025 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
   9026 check for the possible timeout, a warning is issued.
   9027 
   9028 2) Useless operators: If an ASL operator does not specify an optional 
   9029 target 
   9030 operand and it also does not use the function return value from the 
   9031 operator, a warning is issued since the operator effectively does 
   9032 nothing.
   9033 
   9034 3) Unreferenced objects: If a namespace object is created, but never 
   9035 referenced, a warning is issued. This is a warning level 2 since there 
   9036 are 
   9037 cases where this is ok, such as when a secondary table is loaded that 
   9038 uses 
   9039 the unreferenced objects. Even so, care is taken to only flag objects 
   9040 that 
   9041 don't look like they will ever be used. For example, the reserved methods 
   9042 (starting with an underscore) are usually not referenced because it is 
   9043 expected that the OS will invoke them.
   9044 
   9045 ----------------------------------------
   9046 31 March 2006. Summary of changes for version 20060331:
   9047 
   9048 1) ACPI CA Core Subsystem:
   9049 
   9050 Implemented header file support for the following additional ACPI tables: 
   9051 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
   9052 support, 
   9053 all current and known ACPI tables are now defined in the ACPICA headers 
   9054 and 
   9055 are available for use by device drivers and other software.
   9056 
   9057 Implemented support to allow tables that contain ACPI names with invalid 
   9058 characters to be loaded. Previously, this would cause the table load to 
   9059 fail, but since there are several known cases of such tables on existing 
   9060 machines, this change was made to enable ACPI support for them. Also, 
   9061 this 
   9062 matches the behavior of the Microsoft ACPI implementation.
   9063 
   9064 Fixed a couple regressions introduced during the memory optimization in 
   9065 the 
   9066 20060317 release. The namespace node definition required additional 
   9067 reorganization and an internal datatype that had been changed to 8-bit 
   9068 was 
   9069 restored to 32-bit. (Valery Podrezov)
   9070 
   9071 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
   9072 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
   9073 null pointers are now trapped and ignored, matching the behavior of the 
   9074 previous implementation before the deployment of AcpiOsReleaseObject.
   9075 (Valery Podrezov, Fiodor Suietov)
   9076 
   9077 Fixed a memory mapping leak during the deletion of a SystemMemory 
   9078 operation 
   9079 region where a cached memory mapping was not deleted. This became a 
   9080 noticeable problem for operation regions that are defined within 
   9081 frequently 
   9082 used control methods. (Dana Meyers)
   9083 
   9084 Reorganized the ACPI table header files into two main files: one for the 
   9085 ACPI tables consumed by the ACPICA core, and another for the 
   9086 miscellaneous 
   9087 ACPI tables that are consumed by the drivers and other software. The 
   9088 various 
   9089 FADT definitions were merged into one common section and three different 
   9090 tables (ACPI 1.0, 1.0+, and 2.0)
   9091 
   9092 Example Code and Data Size: These are the sizes for the OS-independent 
   9093 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9094 debug version of the code includes the debug output trace mechanism and 
   9095 has 
   9096 a much larger code and data size.
   9097 
   9098   Previous Release:
   9099     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   9100     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   9101   Current Release:
   9102     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   9103     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   9104 
   9105 
   9106 2) iASL Compiler/Disassembler and Tools:
   9107 
   9108 Disassembler: Implemented support to decode and format all non-AML ACPI 
   9109 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
   9110 added to the ACPICA headers, therefore all current and known ACPI tables 
   9111 are 
   9112 supported.
   9113 
   9114 Disassembler: The change to allow ACPI names with invalid characters also 
   9115 enables the disassembly of such tables. Invalid characters within names 
   9116 are 
   9117 changed to '*' to make the name printable; the iASL compiler will still 
   9118 generate an error for such names, however, since this is an invalid ACPI 
   9119 character.
   9120 
   9121 Implemented an option for AcpiXtract (-a) to extract all tables found in 
   9122 the 
   9123 input file. The default invocation extracts only the DSDTs and SSDTs.
   9124 
   9125 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
   9126 makefile for the AcpiXtract utility.
   9127 
   9128 ----------------------------------------
   9129 17 March 2006. Summary of changes for version 20060317:
   9130 
   9131 1) ACPI CA Core Subsystem:
   9132 
   9133 Implemented the use of a cache object for all internal namespace nodes. 
   9134 Since there are about 1000 static nodes in a typical system, this will 
   9135 decrease memory use for cache implementations that minimize per-
   9136 allocation 
   9137 overhead (such as a slab allocator.)
   9138 
   9139 Removed the reference count mechanism for internal namespace nodes, since 
   9140 it 
   9141 was deemed unnecessary. This reduces the size of each namespace node by 
   9142 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
   9143 case, 
   9144 and 32 bytes for the 64-bit case.
   9145 
   9146 Optimized several internal data structures to reduce object size on 64-
   9147 bit 
   9148 platforms by packing data within the 64-bit alignment. This includes the 
   9149 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
   9150 instances corresponding to the namespace objects.
   9151 
   9152 Added two new strings for the predefined _OSI method: "Windows 2001.1 
   9153 SP1" 
   9154 and "Windows 2006".
   9155 
   9156 Split the allocation tracking mechanism out to a separate file, from 
   9157 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
   9158 application-level code. Kernels may wish to not include uttrack.c in 
   9159 distributions.
   9160 
   9161 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
   9162 associated 
   9163 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
   9164 macros.)
   9165 
   9166 Code and Data Size: These are the sizes for the acpica.lib produced by 
   9167 the 
   9168 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   9169 ACPI 
   9170 driver or OSPM code. The debug version of the code includes the debug 
   9171 output 
   9172 trace mechanism and has a much larger code and data size. Note that these 
   9173 values will vary depending on the efficiency of the compiler and the 
   9174 compiler options used during generation.
   9175 
   9176   Previous Release:
   9177     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   9178     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   9179   Current Release:
   9180     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   9181     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   9182 
   9183 
   9184 2) iASL Compiler/Disassembler and Tools:
   9185 
   9186 Implemented an ANSI C version of the acpixtract utility. This version 
   9187 will 
   9188 automatically extract the DSDT and all SSDTs from the input acpidump text 
   9189 file and dump the binary output to separate files. It can also display a 
   9190 summary of the input file including the headers for each table found and 
   9191 will extract any single ACPI table, with any signature. (See 
   9192 source/tools/acpixtract)
   9193 
   9194 ----------------------------------------
   9195 10 March 2006. Summary of changes for version 20060310:
   9196 
   9197 1) ACPI CA Core Subsystem:
   9198 
   9199 Tagged all external interfaces to the subsystem with the new 
   9200 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
   9201 assist 
   9202 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
   9203 macro. The default definition is NULL.
   9204 
   9205 Added the ACPI_THREAD_ID type for the return value from 
   9206 AcpiOsGetThreadId. 
   9207 This allows the host to define this as necessary to simplify kernel 
   9208 integration. The default definition is ACPI_NATIVE_UINT.
   9209 
   9210 Fixed two interpreter problems related to error processing, the deletion 
   9211 of 
   9212 objects, and placing invalid pointers onto the internal operator result 
   9213 stack. BZ 6028, 6151 (Valery Podrezov)
   9214 
   9215 Increased the reference count threshold where a warning is emitted for 
   9216 large 
   9217 reference counts in order to eliminate unnecessary warnings on systems 
   9218 with 
   9219 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
   9220 0x800.
   9221 
   9222 Due to universal disagreement as to the meaning of the 'c' in the 
   9223 calloc() 
   9224 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
   9225 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
   9226 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
   9227 ACPI_FREE.
   9228 
   9229 Code and Data Size: These are the sizes for the acpica.lib produced by 
   9230 the 
   9231 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   9232 ACPI 
   9233 driver or OSPM code. The debug version of the code includes the debug 
   9234 output 
   9235 trace mechanism and has a much larger code and data size. Note that these 
   9236 values will vary depending on the efficiency of the compiler and the 
   9237 compiler options used during generation.
   9238 
   9239   Previous Release:
   9240     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   9241     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   9242   Current Release:
   9243     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   9244     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   9245 
   9246 
   9247 2) iASL Compiler/Disassembler:
   9248 
   9249 Disassembler: implemented support for symbolic resource descriptor 
   9250 references. If a CreateXxxxField operator references a fixed offset 
   9251 within 
   9252 a 
   9253 resource descriptor, a name is assigned to the descriptor and the offset 
   9254 is 
   9255 translated to the appropriate resource tag and pathname. The addition of 
   9256 this support brings the disassembled code very close to the original ASL 
   9257 source code and helps eliminate run-time errors when the disassembled 
   9258 code 
   9259 is modified (and recompiled) in such a way as to invalidate the original 
   9260 fixed offsets.
   9261 
   9262 Implemented support for a Descriptor Name as the last parameter to the 
   9263 ASL 
   9264 Register() macro. This parameter was inadvertently left out of the ACPI 
   9265 specification, and will be added for ACPI 3.0b.
   9266 
   9267 Fixed a problem where the use of the "_OSI" string (versus the full path 
   9268 "\_OSI") caused an internal compiler error. ("No back ptr to op")
   9269 
   9270 Fixed a problem with the error message that occurs when an invalid string 
   9271 is 
   9272 used for a _HID object (such as one with an embedded asterisk: 
   9273 "*PNP010A".) 
   9274 The correct message is now displayed.
   9275 
   9276 ----------------------------------------
   9277 17 February 2006. Summary of changes for version 20060217:
   9278 
   9279 1) ACPI CA Core Subsystem:
   9280 
   9281 Implemented a change to the IndexField support to match the behavior of 
   9282 the 
   9283 Microsoft AML interpreter. The value written to the Index register is now 
   9284 a 
   9285 byte offset, no longer an index based upon the width of the Data 
   9286 register. 
   9287 This should fix IndexField problems seen on some machines where the Data 
   9288 register is not exactly one byte wide. The ACPI specification will be 
   9289 clarified on this point.
   9290 
   9291 Fixed a problem where several resource descriptor types could overrun the 
   9292 internal descriptor buffer due to size miscalculation: VendorShort, 
   9293 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
   9294 affect all platforms.
   9295 
   9296 Fixed a problem where individual resource descriptors were misaligned 
   9297 within 
   9298 the internal buffer, causing alignment faults on IA64 platforms.
   9299 
   9300 Code and Data Size: These are the sizes for the acpica.lib produced by 
   9301 the 
   9302 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   9303 ACPI 
   9304 driver or OSPM code. The debug version of the code includes the debug 
   9305 output 
   9306 trace mechanism and has a much larger code and data size. Note that these 
   9307 values will vary depending on the efficiency of the compiler and the 
   9308 compiler options used during generation.
   9309 
   9310   Previous Release:
   9311     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   9312     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   9313   Current Release:
   9314     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   9315     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   9316 
   9317 
   9318 2) iASL Compiler/Disassembler:
   9319 
   9320 Implemented support for new reserved names: _WDG and _WED are Microsoft 
   9321 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
   9322 defined method (Throttling Depth Limit.)
   9323 
   9324 Fixed a problem where a zero-length VendorShort or VendorLong resource 
   9325 descriptor was incorrectly emitted as a descriptor of length one.
   9326 
   9327 ----------------------------------------
   9328 10 February 2006. Summary of changes for version 20060210:
   9329 
   9330 1) ACPI CA Core Subsystem:
   9331 
   9332 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
   9333 normal execution. These became apparent after the conversion from 
   9334 ACPI_DEBUG_PRINT.
   9335 
   9336 Fixed a problem where the CreateField operator could hang if the BitIndex 
   9337 or 
   9338 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
   9339 
   9340 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
   9341 failed with an exception. This also fixes a couple of related RefOf and 
   9342 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
   9343 
   9344 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
   9345 of 
   9346 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
   9347 BZ 
   9348 5480)
   9349 
   9350 Implemented a memory cleanup at the end of the execution of each 
   9351 iteration 
   9352 of an AML While() loop, preventing the accumulation of outstanding 
   9353 objects. 
   9354 (Valery Podrezov, BZ 5427)
   9355 
   9356 Eliminated a chunk of duplicate code in the object resolution code. 
   9357 (Valery 
   9358 Podrezov, BZ 5336)
   9359 
   9360 Fixed several warnings during the 64-bit code generation.
   9361 
   9362 The AcpiSrc source code conversion tool now inserts one line of 
   9363 whitespace 
   9364 after an if() statement that is followed immediately by a comment, 
   9365 improving 
   9366 readability of the Linux code.
   9367 
   9368 Code and Data Size: The current and previous library sizes for the core 
   9369 subsystem are shown below. These are the code and data sizes for the 
   9370 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9371 These 
   9372 values do not include any ACPI driver or OSPM code. The debug version of 
   9373 the 
   9374 code includes the debug output trace mechanism and has a much larger code 
   9375 and data size. Note that these values will vary depending on the 
   9376 efficiency 
   9377 of the compiler and the compiler options used during generation.
   9378 
   9379   Previous Release:
   9380     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   9381     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   9382   Current Release:
   9383     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   9384     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   9385 
   9386 
   9387 2) iASL Compiler/Disassembler:
   9388 
   9389 Fixed a problem with the disassembly of a BankField operator with a 
   9390 complex 
   9391 expression for the BankValue parameter.
   9392 
   9393 ----------------------------------------
   9394 27 January 2006. Summary of changes for version 20060127:
   9395 
   9396 1) ACPI CA Core Subsystem:
   9397 
   9398 Implemented support in the Resource Manager to allow unresolved 
   9399 namestring 
   9400 references within resource package objects for the _PRT method. This 
   9401 support 
   9402 is in addition to the previously implemented unresolved reference support 
   9403 within the AML parser. If the interpreter slack mode is enabled, these 
   9404 unresolved references will be passed through to the caller as a NULL 
   9405 package 
   9406 entry.
   9407 
   9408 Implemented and deployed new macros and functions for error and warning 
   9409 messages across the subsystem. These macros are simpler and generate less 
   9410 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
   9411 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
   9412 macros remain defined to allow ACPI drivers time to migrate to the new 
   9413 macros.
   9414 
   9415 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
   9416 the 
   9417 Acquire/Release Lock OSL interfaces.
   9418 
   9419 Fixed a problem where Alias ASL operators are sometimes not correctly 
   9420 resolved, in both the interpreter and the iASL compiler.
   9421 
   9422 Fixed several problems with the implementation of the 
   9423 ConcatenateResTemplate 
   9424 ASL operator. As per the ACPI specification, zero length buffers are now 
   9425 treated as a single EndTag. One-length buffers always cause a fatal 
   9426 exception. Non-zero length buffers that do not end with a full 2-byte 
   9427 EndTag 
   9428 cause a fatal exception.
   9429 
   9430 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
   9431 interface. (With assistance from Thomas Renninger)
   9432 
   9433 Code and Data Size: The current and previous library sizes for the core 
   9434 subsystem are shown below. These are the code and data sizes for the 
   9435 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9436 These 
   9437 values do not include any ACPI driver or OSPM code. The debug version of 
   9438 the 
   9439 code includes the debug output trace mechanism and has a much larger code 
   9440 and data size. Note that these values will vary depending on the 
   9441 efficiency 
   9442 of the compiler and the compiler options used during generation.
   9443 
   9444   Previous Release:
   9445     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   9446     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   9447   Current Release:
   9448     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   9449     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   9450 
   9451 
   9452 2) iASL Compiler/Disassembler:
   9453 
   9454 Fixed an internal error that was generated for any forward references to 
   9455 ASL 
   9456 Alias objects.
   9457 
   9458 ----------------------------------------
   9459 13 January 2006. Summary of changes for version 20060113:
   9460 
   9461 1) ACPI CA Core Subsystem:
   9462 
   9463 Added 2006 copyright to all module headers and signons. This affects 
   9464 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
   9465 utilities.
   9466  
   9467 Enhanced the ACPICA error reporting in order to simplify user migration 
   9468 to 
   9469 the non-debug version of ACPICA. Replaced all instances of the 
   9470 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
   9471 debug 
   9472 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
   9473 respectively. This preserves all error and warning messages in the non-
   9474 debug 
   9475 version of the ACPICA code (this has been referred to as the "debug lite" 
   9476 option.) Over 200 cases were converted to create a total of over 380 
   9477 error/warning messages across the ACPICA code. This increases the code 
   9478 and 
   9479 data size of the default non-debug version of the code somewhat (about 
   9480 13K), 
   9481 but all error/warning reporting may be disabled if desired (and code 
   9482 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
   9483 configuration option. The size of the debug version of ACPICA remains 
   9484 about 
   9485 the same.
   9486 
   9487 Fixed a memory leak within the AML Debugger "Set" command. One object was 
   9488 not properly deleted for every successful invocation of the command.
   9489 
   9490 Code and Data Size: The current and previous library sizes for the core 
   9491 subsystem are shown below. These are the code and data sizes for the 
   9492 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9493 These 
   9494 values do not include any ACPI driver or OSPM code. The debug version of 
   9495 the 
   9496 code includes the debug output trace mechanism and has a much larger code 
   9497 and data size. Note that these values will vary depending on the 
   9498 efficiency 
   9499 of the compiler and the compiler options used during generation.
   9500 
   9501   Previous Release:
   9502     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   9503     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   9504   Current Release:
   9505     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   9506     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   9507 
   9508 
   9509 2) iASL Compiler/Disassembler:
   9510 
   9511 The compiler now officially supports the ACPI 3.0a specification that was 
   9512 released on December 30, 2005. (Specification is available at 
   9513 www.acpi.info)
   9514 
   9515 ----------------------------------------
   9516 16 December 2005. Summary of changes for version 20051216:
   9517 
   9518 1) ACPI CA Core Subsystem:
   9519 
   9520 Implemented optional support to allow unresolved names within ASL Package 
   9521 objects. A null object is inserted in the package when a named reference 
   9522 cannot be located in the current namespace. Enabled via the interpreter 
   9523 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
   9524 machines 
   9525 that contain such code.
   9526 
   9527 Implemented an optimization to the initialization sequence that can 
   9528 improve 
   9529 boot time. During ACPI device initialization, the _STA method is now run 
   9530 if 
   9531 and only if the _INI method exists. The _STA method is used to determine 
   9532 if 
   9533 the device is present; An _INI can only be run if _STA returns present, 
   9534 but 
   9535 it is a waste of time to run the _STA method if the _INI does not exist. 
   9536 (Prototype and assistance from Dong Wei)
   9537 
   9538 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
   9539 is 
   9540 available in the current compiler. Otherwise, the default (void *) cast 
   9541 is 
   9542 used as before.
   9543 
   9544 Fixed some possible memory leaks found within the execution path of the 
   9545 Break, Continue, If, and CreateField operators. (Valery Podrezov)
   9546 
   9547 Fixed a problem introduced in the 20051202 release where an exception is 
   9548 generated during method execution if a control method attempts to declare 
   9549 another method.
   9550 
   9551 Moved resource descriptor string constants that are used by both the AML 
   9552 disassembler and AML debugger to the common utilities directory so that 
   9553 these components are independent.
   9554 
   9555 Implemented support in the AcpiExec utility (-e switch) to globally 
   9556 ignore 
   9557 exceptions during control method execution (method is not aborted.)
   9558 
   9559 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
   9560 generation.
   9561 
   9562 Code and Data Size: The current and previous library sizes for the core 
   9563 subsystem are shown below. These are the code and data sizes for the 
   9564 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9565 These 
   9566 values do not include any ACPI driver or OSPM code. The debug version of 
   9567 the 
   9568 code includes the debug output trace mechanism and has a much larger code 
   9569 and data size. Note that these values will vary depending on the 
   9570 efficiency 
   9571 of the compiler and the compiler options used during generation.
   9572 
   9573   Previous Release:
   9574     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   9575     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   9576   Current Release:
   9577     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   9578     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   9579 
   9580 
   9581 2) iASL Compiler/Disassembler:
   9582 
   9583 Fixed a problem where a CPU stack overflow fault could occur if a 
   9584 recursive 
   9585 method call was made from within a Return statement.
   9586 
   9587 ----------------------------------------
   9588 02 December 2005. Summary of changes for version 20051202:
   9589 
   9590 1) ACPI CA Core Subsystem:
   9591 
   9592 Modified the parsing of control methods to no longer create namespace 
   9593 objects during the first pass of the parse. Objects are now created only 
   9594 during the execute phase, at the moment the namespace creation operator 
   9595 is 
   9596 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
   9597 This 
   9598 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
   9599 reentrant control methods are protected by an AML mutex. The mutex will 
   9600 now 
   9601 correctly block multiple threads from attempting to create the same 
   9602 object 
   9603 more than once.
   9604 
   9605 Increased the number of available Owner Ids for namespace object tracking 
   9606 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
   9607 on 
   9608 some machines with a large number of ACPI tables (either static or 
   9609 dynamic).
   9610 
   9611 Fixed a problem with the AcpiExec utility where a fault could occur when 
   9612 the 
   9613 -b switch (batch mode) is used.
   9614 
   9615 Enhanced the namespace dump routine to output the owner ID for each 
   9616 namespace object.
   9617 
   9618 Code and Data Size: The current and previous library sizes for the core 
   9619 subsystem are shown below. These are the code and data sizes for the 
   9620 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9621 These 
   9622 values do not include any ACPI driver or OSPM code. The debug version of 
   9623 the 
   9624 code includes the debug output trace mechanism and has a much larger code 
   9625 and data size. Note that these values will vary depending on the 
   9626 efficiency 
   9627 of the compiler and the compiler options used during generation.
   9628 
   9629   Previous Release:
   9630     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   9631     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   9632   Current Release:
   9633     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   9634     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   9635 
   9636 
   9637 2) iASL Compiler/Disassembler:
   9638 
   9639 Fixed a parse error during compilation of certain Switch/Case constructs. 
   9640 To 
   9641 simplify the parse, the grammar now allows for multiple Default 
   9642 statements 
   9643 and this error is now detected and flagged during the analysis phase.
   9644 
   9645 Disassembler: The disassembly now includes the contents of the original 
   9646 table header within a comment at the start of the file. This includes the 
   9647 name and version of the original ASL compiler.
   9648 
   9649 ----------------------------------------
   9650 17 November 2005. Summary of changes for version 20051117:
   9651 
   9652 1) ACPI CA Core Subsystem:
   9653 
   9654 Fixed a problem in the AML parser where the method thread count could be 
   9655 decremented below zero if any errors occurred during the method parse 
   9656 phase. 
   9657 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
   9658 machines. 
   9659 This also fixed a related regression with the mechanism that detects and 
   9660 corrects methods that cannot properly handle reentrancy (related to the 
   9661 deployment of the new OwnerId mechanism.)
   9662 
   9663 Eliminated the pre-parsing of control methods (to detect errors) during 
   9664 table load. Related to the problem above, this was causing unwind issues 
   9665 if 
   9666 any errors occurred during the parse, and it seemed to be overkill. A 
   9667 table 
   9668 load should not be aborted if there are problems with any single control 
   9669 method, thus rendering this feature rather pointless.
   9670 
   9671 Fixed a problem with the new table-driven resource manager where an 
   9672 internal 
   9673 buffer overflow could occur for small resource templates.
   9674 
   9675 Implemented a new external interface, AcpiGetVendorResource. This 
   9676 interface 
   9677 will find and return a vendor-defined resource descriptor within a _CRS 
   9678 or 
   9679 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
   9680 Helgaas.
   9681 
   9682 Removed the length limit (200) on string objects as per the upcoming ACPI 
   9683 3.0A specification. This affects the following areas of the interpreter: 
   9684 1) 
   9685 any implicit conversion of a Buffer to a String, 2) a String object 
   9686 result 
   9687 of the ASL Concatentate operator, 3) the String object result of the ASL 
   9688 ToString operator.
   9689 
   9690 Fixed a problem in the Windows OS interface layer (OSL) where a 
   9691 WAIT_FOREVER 
   9692 on a semaphore object would incorrectly timeout. This allows the 
   9693 multithreading features of the AcpiExec utility to work properly under 
   9694 Windows.
   9695 
   9696 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
   9697 the recently added file named "utresrc.c".
   9698 
   9699 Code and Data Size: The current and previous library sizes for the core 
   9700 subsystem are shown below. These are the code and data sizes for the 
   9701 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9702 These 
   9703 values do not include any ACPI driver or OSPM code. The debug version of 
   9704 the 
   9705 code includes the debug output trace mechanism and has a much larger code 
   9706 and data size. Note that these values will vary depending on the 
   9707 efficiency 
   9708 of the compiler and the compiler options used during generation.
   9709 
   9710   Previous Release:
   9711     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   9712     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   9713   Current Release:
   9714     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   9715     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   9716 
   9717 
   9718 2) iASL Compiler/Disassembler:
   9719 
   9720 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
   9721 specification. For the iASL compiler, this means that string literals 
   9722 within 
   9723 the source ASL can be of any length. 
   9724 
   9725 Enhanced the listing output to dump the AML code for resource descriptors 
   9726 immediately after the ASL code for each descriptor, instead of in a block 
   9727 at 
   9728 the end of the entire resource template.
   9729 
   9730 Enhanced the compiler debug output to dump the entire original parse tree 
   9731 constructed during the parse phase, before any transforms are applied to 
   9732 the 
   9733 tree. The transformed tree is dumped also.
   9734 
   9735 ----------------------------------------
   9736 02 November 2005. Summary of changes for version 20051102:
   9737 
   9738 1) ACPI CA Core Subsystem:
   9739 
   9740 Modified the subsystem initialization sequence to improve GPE support. 
   9741 The 
   9742 GPE initialization has been split into two parts in order to defer 
   9743 execution 
   9744 of the _PRW methods (Power Resources for Wake) until after the hardware 
   9745 is 
   9746 fully initialized and the SCI handler is installed. This allows the _PRW 
   9747 methods to access fields protected by the Global Lock. This will fix 
   9748 systems 
   9749 where a NO_GLOBAL_LOCK exception has been seen during initialization.
   9750 
   9751 Converted the ACPI internal object disassemble and display code within 
   9752 the 
   9753 AML debugger to fully table-driven operation, reducing code size and 
   9754 increasing maintainability.
   9755 
   9756 Fixed a regression with the ConcatenateResTemplate() ASL operator 
   9757 introduced 
   9758 in the 20051021 release.
   9759 
   9760 Implemented support for "local" internal ACPI object types within the 
   9761 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
   9762 These local types include RegionFields, BankFields, IndexFields, Alias, 
   9763 and 
   9764 reference objects.
   9765 
   9766 Moved common AML resource handling code into a new file, "utresrc.c". 
   9767 This 
   9768 code is shared by both the Resource Manager and the AML Debugger.
   9769 
   9770 Code and Data Size: The current and previous library sizes for the core 
   9771 subsystem are shown below. These are the code and data sizes for the 
   9772 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9773 These 
   9774 values do not include any ACPI driver or OSPM code. The debug version of 
   9775 the 
   9776 code includes the debug output trace mechanism and has a much larger code 
   9777 and data size. Note that these values will vary depending on the 
   9778 efficiency 
   9779 of the compiler and the compiler options used during generation.
   9780 
   9781   Previous Release:
   9782     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   9783     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   9784   Current Release:
   9785     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   9786     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   9787 
   9788 
   9789 2) iASL Compiler/Disassembler:
   9790 
   9791 Fixed a problem with very large initializer lists (more than 4000 
   9792 elements) 
   9793 for both Buffer and Package objects where the parse stack could overflow.
   9794 
   9795 Enhanced the pre-compile source code scan for non-ASCII characters to 
   9796 ignore 
   9797 characters within comment fields. The scan is now always performed and is 
   9798 no 
   9799 longer optional, detecting invalid characters within a source file 
   9800 immediately rather than during the parse phase or later.
   9801 
   9802 Enhanced the ASL grammar definition to force early reductions on all 
   9803 list-
   9804 style grammar elements so that the overall parse stack usage is greatly 
   9805 reduced. This should improve performance and reduce the possibility of 
   9806 parse 
   9807 stack overflow.
   9808 
   9809 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
   9810 Also, 
   9811 with the addition of a %expected statement, the compiler generates from 
   9812 source with no warnings.
   9813 
   9814 Fixed a possible segment fault in the disassembler if the input filename 
   9815 does not contain a "dot" extension (Thomas Renninger).
   9816 
   9817 ----------------------------------------
   9818 21 October 2005. Summary of changes for version 20051021:
   9819 
   9820 1) ACPI CA Core Subsystem:
   9821 
   9822 Implemented support for the EM64T and other x86-64 processors. This 
   9823 essentially entails recognizing that these processors support non-aligned 
   9824 memory transfers. Previously, all 64-bit processors were assumed to lack 
   9825 hardware support for non-aligned transfers.
   9826 
   9827 Completed conversion of the Resource Manager to nearly full table-driven 
   9828 operation. Specifically, the resource conversion code (convert AML to 
   9829 internal format and the reverse) and the debug code to dump internal 
   9830 resource descriptors are fully table-driven, reducing code and data size 
   9831 and 
   9832 improving maintainability.
   9833 
   9834 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
   9835 word 
   9836 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
   9837 from 
   9838 Alexey Starikovskiy)
   9839 
   9840 Implemented support within the resource conversion code for the Type-
   9841 Specific byte within the various ACPI 3.0 *WordSpace macros.
   9842 
   9843 Fixed some issues within the resource conversion code for the type-
   9844 specific 
   9845 flags for both Memory and I/O address resource descriptors. For Memory, 
   9846 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
   9847 TTP flags into two separate fields.
   9848 
   9849 Code and Data Size: The current and previous library sizes for the core 
   9850 subsystem are shown below. These are the code and data sizes for the 
   9851 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9852 These 
   9853 values do not include any ACPI driver or OSPM code. The debug version of 
   9854 the 
   9855 code includes the debug output trace mechanism and has a much larger code 
   9856 and data size. Note that these values will vary depending on the 
   9857 efficiency 
   9858 of the compiler and the compiler options used during generation.
   9859 
   9860   Previous Release:
   9861     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   9862     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   9863   Current Release:
   9864     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   9865     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   9866 
   9867 
   9868 
   9869 2) iASL Compiler/Disassembler:
   9870 
   9871 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
   9872 the 
   9873 corresponding ResourceSource string was not also present in a resource 
   9874 descriptor declaration. This restriction caused problems with existing 
   9875 AML/ASL code that includes the Index byte without the string. When such 
   9876 AML 
   9877 was disassembled, it could not be compiled without modification. Further, 
   9878 the modified code created a resource template with a different size than 
   9879 the 
   9880 original, breaking code that used fixed offsets into the resource 
   9881 template 
   9882 buffer.
   9883 
   9884 Removed a recent feature of the disassembler to ignore a lone 
   9885 ResourceIndex 
   9886 byte. This byte is now emitted if present so that the exact AML can be 
   9887 reproduced when the disassembled code is recompiled.
   9888 
   9889 Improved comments and text alignment for the resource descriptor code 
   9890 emitted by the disassembler.
   9891 
   9892 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
   9893 a 
   9894 Register() resource descriptor.
   9895 
   9896 ----------------------------------------
   9897 30 September 2005. Summary of changes for version 20050930:
   9898 
   9899 1) ACPI CA Core Subsystem:
   9900 
   9901 Completed a major overhaul of the Resource Manager code - specifically, 
   9902 optimizations in the area of the AML/internal resource conversion code. 
   9903 The 
   9904 code has been optimized to simplify and eliminate duplicated code, CPU 
   9905 stack 
   9906 use has been decreased by optimizing function parameters and local 
   9907 variables, and naming conventions across the manager have been 
   9908 standardized 
   9909 for clarity and ease of maintenance (this includes function, parameter, 
   9910 variable, and struct/typedef names.) The update may force changes in some 
   9911 driver code, depending on how resources are handled by the host OS.
   9912 
   9913 All Resource Manager dispatch and information tables have been moved to a 
   9914 single location for clarity and ease of maintenance. One new file was 
   9915 created, named "rsinfo.c".
   9916 
   9917 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
   9918 guarantee that the argument is not evaluated twice, making them less 
   9919 prone 
   9920 to macro side-effects. However, since there exists the possibility of 
   9921 additional stack use if a particular compiler cannot optimize them (such 
   9922 as 
   9923 in the debug generation case), the original macros are optionally 
   9924 available.  
   9925 Note that some invocations of the return_VALUE macro may now cause size 
   9926 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
   9927 to 
   9928 eliminate these. (From Randy Dunlap)
   9929 
   9930 Implemented a new mechanism to enable debug tracing for individual 
   9931 control 
   9932 methods. A new external interface, AcpiDebugTrace, is provided to enable 
   9933 this mechanism. The intent is to allow the host OS to easily enable and 
   9934 disable tracing for problematic control methods. This interface can be 
   9935 easily exposed to a user or debugger interface if desired. See the file 
   9936 psxface.c for details.
   9937 
   9938 AcpiUtCallocate will now return a valid pointer if a length of zero is 
   9939 specified - a length of one is used and a warning is issued. This matches 
   9940 the behavior of AcpiUtAllocate.
   9941 
   9942 Code and Data Size: The current and previous library sizes for the core 
   9943 subsystem are shown below. These are the code and data sizes for the 
   9944 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9945 These 
   9946 values do not include any ACPI driver or OSPM code. The debug version of 
   9947 the 
   9948 code includes the debug output trace mechanism and has a much larger code 
   9949 and data size. Note that these values will vary depending on the 
   9950 efficiency 
   9951 of the compiler and the compiler options used during generation.
   9952 
   9953   Previous Release:
   9954     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   9955     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   9956   Current Release:
   9957     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   9958     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   9959 
   9960 
   9961 2) iASL Compiler/Disassembler:
   9962 
   9963 A remark is issued if the effective compile-time length of a package or 
   9964 buffer is zero. Previously, this was a warning.
   9965 
   9966 ----------------------------------------
   9967 16 September 2005. Summary of changes for version 20050916:
   9968 
   9969 1) ACPI CA Core Subsystem:
   9970 
   9971 Fixed a problem within the Resource Manager where support for the Generic 
   9972 Register descriptor was not fully implemented. This descriptor is now 
   9973 fully 
   9974 recognized, parsed, disassembled, and displayed.
   9975 
   9976 Completely restructured the Resource Manager code to utilize table-driven 
   9977 dispatch and lookup, eliminating many of the large switch() statements. 
   9978 This 
   9979 reduces overall subsystem code size and code complexity. Affects the 
   9980 resource parsing and construction, disassembly, and debug dump output.
   9981 
   9982 Cleaned up and restructured the debug dump output for all resource 
   9983 descriptors. Improved readability of the output and reduced code size.
   9984 
   9985 Fixed a problem where changes to internal data structures caused the 
   9986 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
   9987 
   9988 Code and Data Size: The current and previous library sizes for the core 
   9989 subsystem are shown below. These are the code and data sizes for the 
   9990 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9991 These 
   9992 values do not include any ACPI driver or OSPM code. The debug version of 
   9993 the 
   9994 code includes the debug output trace mechanism and has a much larger code 
   9995 and data size. Note that these values will vary depending on the 
   9996 efficiency 
   9997 of the compiler and the compiler options used during generation.
   9998 
   9999   Previous Release:
   10000     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   10001     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   10002   Current Release:
   10003     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   10004     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   10005 
   10006 
   10007 2) iASL Compiler/Disassembler:
   10008 
   10009 Updated the disassembler to automatically insert an EndDependentFn() 
   10010 macro 
   10011 into the ASL stream if this macro is missing in the original AML code, 
   10012 simplifying compilation of the resulting ASL module.
   10013 
   10014 Fixed a problem in the disassembler where a disassembled ResourceSource 
   10015 string (within a large resource descriptor) was not surrounded by quotes 
   10016 and 
   10017 not followed by a comma, causing errors when the resulting ASL module was 
   10018 compiled. Also, escape sequences within a ResourceSource string are now 
   10019 handled correctly (especially "\\")
   10020 
   10021 ----------------------------------------
   10022 02 September 2005. Summary of changes for version 20050902:
   10023 
   10024 1) ACPI CA Core Subsystem:
   10025 
   10026 Fixed a problem with the internal Owner ID allocation and deallocation 
   10027 mechanisms for control method execution and recursive method invocation. 
   10028 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
   10029 messages seen on some systems. Recursive method invocation depth is 
   10030 currently limited to 255. (Alexey Starikovskiy)
   10031 
   10032 Completely eliminated all vestiges of support for the "module-level 
   10033 executable code" until this support is fully implemented and debugged. 
   10034 This 
   10035 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
   10036 some systems that invoke this support.
   10037 
   10038 Fixed a problem within the resource manager code where the transaction 
   10039 flags 
   10040 for a 64-bit address descriptor were handled incorrectly in the type-
   10041 specific flag byte.
   10042 
   10043 Consolidated duplicate code within the address descriptor resource 
   10044 manager 
   10045 code, reducing overall subsystem code size.
   10046 
   10047 Fixed a fault when using the AML debugger "disassemble" command to 
   10048 disassemble individual control methods.
   10049 
   10050 Removed references to the "release_current" directory within the Unix 
   10051 release package.
   10052 
   10053 Code and Data Size: The current and previous core subsystem library sizes 
   10054 are shown below. These are the code and data sizes for the acpica.lib 
   10055 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
   10056 include any ACPI driver or OSPM code. The debug version of the code 
   10057 includes 
   10058 the debug output trace mechanism and has a much larger code and data 
   10059 size. 
   10060 Note that these values will vary depending on the efficiency of the 
   10061 compiler 
   10062 and the compiler options used during generation.
   10063 
   10064   Previous Release:
   10065     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   10066     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   10067   Current Release:
   10068     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   10069     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   10070 
   10071 
   10072 2) iASL Compiler/Disassembler:
   10073 
   10074 Implemented an error check for illegal duplicate values in the interrupt 
   10075 and 
   10076 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
   10077 Interrupt().
   10078 
   10079 Implemented error checking for the Irq() and IrqNoFlags() macros to 
   10080 detect 
   10081 too many values in the interrupt list (16 max) and invalid values in the 
   10082 list (range 0 - 15)
   10083 
   10084 The maximum length string literal within an ASL file is now restricted to 
   10085 200 characters as per the ACPI specification.
   10086 
   10087 Fixed a fault when using the -ln option (generate namespace listing).
   10088 
   10089 Implemented an error check to determine if a DescriptorName within a 
   10090 resource descriptor has already been used within the current scope.
   10091 
   10092 ----------------------------------------
   10093 15 August 2005.  Summary of changes for version 20050815:
   10094  
   10095 1) ACPI CA Core Subsystem:
   10096  
   10097 Implemented a full bytewise compare to determine if a table load request 
   10098 is 
   10099 attempting to load a duplicate table. The compare is performed if the 
   10100 table 
   10101 signatures and table lengths match. This will allow different tables with 
   10102 the same OEM Table ID and revision to be loaded - probably against the 
   10103 ACPI 
   10104 specification, but discovered in the field nonetheless.
   10105  
   10106 Added the changes.txt logfile to each of the zipped release packages.
   10107  
   10108 Code and Data Size: Current and previous core subsystem library sizes are 
   10109 shown below. These are the code and data sizes for the acpica.lib 
   10110 produced 
   10111 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10112 any ACPI driver or OSPM code. The debug version of the code includes the 
   10113 debug output trace mechanism and has a much larger code and data size. 
   10114 Note 
   10115 that these values will vary depending on the efficiency of the compiler 
   10116 and 
   10117 the compiler options used during generation.
   10118  
   10119   Previous Release:
   10120     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   10121     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   10122   Current Release:
   10123     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   10124     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   10125  
   10126  
   10127 2) iASL Compiler/Disassembler:
   10128  
   10129 Fixed a problem where incorrect AML code could be generated for Package 
   10130 objects if optimization is disabled (via the -oa switch).
   10131  
   10132 Fixed a problem with where incorrect AML code is generated for variable-
   10133 length packages when the package length is not specified and the number 
   10134 of 
   10135 initializer values is greater than 255.
   10136  
   10137 
   10138 ----------------------------------------
   10139 29 July 2005.  Summary of changes for version 20050729:
   10140 
   10141 1) ACPI CA Core Subsystem:
   10142 
   10143 Implemented support to ignore an attempt to install/load a particular 
   10144 ACPI 
   10145 table more than once. Apparently there exists BIOS code that repeatedly 
   10146 attempts to load the same SSDT upon certain events. With assistance from 
   10147 Venkatesh Pallipadi.
   10148 
   10149 Restructured the main interface to the AML parser in order to correctly 
   10150 handle all exceptional conditions. This will prevent leakage of the 
   10151 OwnerId 
   10152 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
   10153 some 
   10154 machines. With assistance from Alexey Starikovskiy.
   10155 
   10156 Support for "module level code" has been disabled in this version due to 
   10157 a 
   10158 number of issues that have appeared on various machines. The support can 
   10159 be 
   10160 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
   10161 compilation. When the issues are fully resolved, the code will be enabled 
   10162 by 
   10163 default again.
   10164 
   10165 Modified the internal functions for debug print support to define the 
   10166 FunctionName parameter as a (const char *) for compatibility with 
   10167 compiler 
   10168 built-in macros such as __FUNCTION__, etc.
   10169 
   10170 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
   10171 
   10172 Implemented support to display an object count summary for the AML 
   10173 Debugger 
   10174 commands Object and Methods.
   10175 
   10176 Code and Data Size: Current and previous core subsystem library sizes are 
   10177 shown below. These are the code and data sizes for the acpica.lib 
   10178 produced 
   10179 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10180 any ACPI driver or OSPM code. The debug version of the code includes the 
   10181 debug output trace mechanism and has a much larger code and data size. 
   10182 Note 
   10183 that these values will vary depending on the efficiency of the compiler 
   10184 and 
   10185 the compiler options used during generation.
   10186 
   10187   Previous Release:
   10188     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   10189     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   10190   Current Release:
   10191     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   10192     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   10193 
   10194 
   10195 2) iASL Compiler/Disassembler:
   10196 
   10197 Fixed a regression that appeared in the 20050708 version of the compiler 
   10198 where an error message was inadvertently emitted for invocations of the 
   10199 _OSI 
   10200 reserved control method.
   10201 
   10202 ----------------------------------------
   10203 08 July 2005.  Summary of changes for version 20050708:
   10204 
   10205 1) ACPI CA Core Subsystem:
   10206 
   10207 The use of the CPU stack in the debug version of the subsystem has been 
   10208 considerably reduced. Previously, a debug structure was declared in every 
   10209 function that used the debug macros. This structure has been removed in 
   10210 favor of declaring the individual elements as parameters to the debug 
   10211 functions. This reduces the cumulative stack use during nested execution 
   10212 of 
   10213 ACPI function calls at the cost of a small increase in the code size of 
   10214 the 
   10215 debug version of the subsystem. With assistance from Alexey Starikovskiy 
   10216 and 
   10217 Len Brown.
   10218 
   10219 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
   10220 headers to define a macro that will return the current function name at 
   10221 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
   10222 by 
   10223 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
   10224 compiler-dependent header, the function name is saved on the CPU stack 
   10225 (one 
   10226 pointer per function.) This mechanism is used because apparently there 
   10227 exists no standard ANSI-C defined macro that that returns the function 
   10228 name.
   10229 
   10230 Redesigned and reimplemented the "Owner ID" mechanism used to track 
   10231 namespace objects created/deleted by ACPI tables and control method 
   10232 execution. A bitmap is now used to allocate and free the IDs, thus 
   10233 solving 
   10234 the wraparound problem present in the previous implementation. The size 
   10235 of 
   10236 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
   10237 Starikovskiy).
   10238 
   10239 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
   10240 bitfield 
   10241 flag definitions within the headers for the predefined ACPI tables. These 
   10242 have been replaced by UINT8_BIT in order to increase the code portability 
   10243 of 
   10244 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
   10245 eliminate bitfields entirely because of a lack of portability.
   10246 
   10247 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
   10248 This 
   10249 is a frequently used function and this improvement increases the 
   10250 performance 
   10251 of the entire subsystem (Alexey Starikovskiy).
   10252 
   10253 Fixed several possible memory leaks and the inverse - premature object 
   10254 deletion (Alexey Starikovskiy).
   10255 
   10256 Code and Data Size: Current and previous core subsystem library sizes are 
   10257 shown below. These are the code and data sizes for the acpica.lib 
   10258 produced 
   10259 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10260 any ACPI driver or OSPM code. The debug version of the code includes the 
   10261 debug output trace mechanism and has a much larger code and data size. 
   10262 Note 
   10263 that these values will vary depending on the efficiency of the compiler 
   10264 and 
   10265 the compiler options used during generation.
   10266 
   10267   Previous Release:
   10268     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   10269     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   10270   Current Release:
   10271     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   10272     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   10273 
   10274 ----------------------------------------
   10275 24 June 2005.  Summary of changes for version 20050624:
   10276 
   10277 1) ACPI CA Core Subsystem:
   10278 
   10279 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
   10280 the host-defined cache object. This allows the OSL implementation to 
   10281 define 
   10282 and type this object in any manner desired, simplifying the OSL 
   10283 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
   10284 Linux, and should be defined in the OS-specific header file for other 
   10285 operating systems as required.
   10286 
   10287 Changed the interface to AcpiOsAcquireObject to directly return the 
   10288 requested object as the function return (instead of ACPI_STATUS.) This 
   10289 change was made for performance reasons, since this is the purpose of the 
   10290 interface in the first place. AcpiOsAcquireObject is now similar to the 
   10291 AcpiOsAllocate interface.
   10292 
   10293 Implemented a new AML debugger command named Businfo. This command 
   10294 displays 
   10295 information about all devices that have an associate _PRT object. The 
   10296 _ADR, 
   10297 _HID, _UID, and _CID are displayed for these devices.
   10298 
   10299 Modified the initialization sequence in AcpiInitializeSubsystem to call 
   10300 the 
   10301 OSL interface AcpiOslInitialize first, before any local initialization. 
   10302 This 
   10303 change was required because the global initialization now calls OSL 
   10304 interfaces.
   10305 
   10306 Enhanced the Dump command to display the entire contents of Package 
   10307 objects 
   10308 (including all sub-objects and their values.) 
   10309 
   10310 Restructured the code base to split some files because of size and/or 
   10311 because the code logically belonged in a separate file. New files are 
   10312 listed 
   10313 below. All makefiles and project files included in the ACPI CA release 
   10314 have 
   10315 been updated.
   10316     utilities/utcache.c           /* Local cache interfaces */
   10317     utilities/utmutex.c           /* Local mutex support */
   10318     utilities/utstate.c           /* State object support */
   10319     interpreter/parser/psloop.c   /* Main AML parse loop */
   10320 
   10321 Code and Data Size: Current and previous core subsystem library sizes are 
   10322 shown below. These are the code and data sizes for the acpica.lib 
   10323 produced 
   10324 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10325 any ACPI driver or OSPM code. The debug version of the code includes the 
   10326 debug output trace mechanism and has a much larger code and data size. 
   10327 Note 
   10328 that these values will vary depending on the efficiency of the compiler 
   10329 and 
   10330 the compiler options used during generation.
   10331 
   10332   Previous Release:
   10333     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   10334     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   10335   Current Release:
   10336     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   10337     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   10338 
   10339 
   10340 2) iASL Compiler/Disassembler:
   10341 
   10342 Fixed a regression introduced in version 20050513 where the use of a 
   10343 Package 
   10344 object within a Case() statement caused a compile time exception. The 
   10345 original behavior has been restored (a Match() operator is emitted.)
   10346 
   10347 ----------------------------------------
   10348 17 June 2005.  Summary of changes for version 20050617:
   10349 
   10350 1) ACPI CA Core Subsystem:
   10351 
   10352 Moved the object cache operations into the OS interface layer (OSL) to 
   10353 allow 
   10354 the host OS to handle these operations if desired (for example, the Linux 
   10355 OSL will invoke the slab allocator). This support is optional; the 
   10356 compile 
   10357 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
   10358 cache 
   10359 code in the ACPI CA core. The new OSL interfaces are shown below. See 
   10360 utalloc.c for an example implementation, and acpiosxf.h for the exact 
   10361 interface definitions. With assistance from Alexey Starikovskiy.
   10362     AcpiOsCreateCache
   10363     AcpiOsDeleteCache
   10364     AcpiOsPurgeCache
   10365     AcpiOsAcquireObject
   10366     AcpiOsReleaseObject
   10367 
   10368 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
   10369 return 
   10370 and restore a flags parameter. This fits better with many OS lock models. 
   10371 Note: the current execution state (interrupt handler or not) is no longer 
   10372 passed to these interfaces. If necessary, the OSL must determine this 
   10373 state 
   10374 by itself, a simple and fast operation. With assistance from Alexey 
   10375 Starikovskiy.
   10376 
   10377 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
   10378 present if the revision of the RSDP was 2 or greater. According to the 
   10379 ACPI 
   10380 specification, the XSDT is optional in all cases, and the table manager 
   10381 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
   10382 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
   10383 contain 
   10384 only the RSDT.
   10385 
   10386 Fixed an interpreter problem with the Mid() operator in the case of an 
   10387 input 
   10388 string where the resulting output string is of zero length. It now 
   10389 correctly 
   10390 returns a valid, null terminated string object instead of a string object 
   10391 with a null pointer.
   10392 
   10393 Fixed a problem with the control method argument handling to allow a 
   10394 store 
   10395 to an Arg object that already contains an object of type Device. The 
   10396 Device 
   10397 object is now correctly overwritten. Previously, an error was returned.
   10398 
   10399 
   10400 Enhanced the debugger Find command to emit object values in addition to 
   10401 the 
   10402 found object pathnames. The output format is the same as the dump 
   10403 namespace 
   10404 command.
   10405 
   10406 Enhanced the debugger Set command. It now has the ability to set the 
   10407 value 
   10408 of any Named integer object in the namespace (Previously, only method 
   10409 locals 
   10410 and args could be set.)
   10411 
   10412 Code and Data Size: Current and previous core subsystem library sizes are 
   10413 shown below. These are the code and data sizes for the acpica.lib 
   10414 produced 
   10415 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10416 any ACPI driver or OSPM code. The debug version of the code includes the 
   10417 debug output trace mechanism and has a much larger code and data size. 
   10418 Note 
   10419 that these values will vary depending on the efficiency of the compiler 
   10420 and 
   10421 the compiler options used during generation.
   10422 
   10423   Previous Release:
   10424     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   10425     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   10426   Current Release:
   10427     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   10428     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   10429 
   10430 
   10431 2) iASL Compiler/Disassembler:
   10432 
   10433 Fixed a regression in the disassembler where if/else/while constructs 
   10434 were 
   10435 output incorrectly. This problem was introduced in the previous release 
   10436 (20050526). This problem also affected the single-step disassembly in the 
   10437 debugger.
   10438 
   10439 Fixed a problem where compiling the reserved _OSI method would randomly 
   10440 (but 
   10441 rarely) produce compile errors.
   10442 
   10443 Enhanced the disassembler to emit compilable code in the face of 
   10444 incorrect 
   10445 AML resource descriptors. If the optional ResourceSourceIndex is present, 
   10446 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
   10447 disassembly. Otherwise, the resulting code cannot be compiled without 
   10448 errors.
   10449 
   10450 ----------------------------------------
   10451 26 May 2005.  Summary of changes for version 20050526:
   10452 
   10453 1) ACPI CA Core Subsystem:
   10454 
   10455 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
   10456 the module level (not within a control method.) These opcodes are 
   10457 executed 
   10458 exactly once at the time the table is loaded. This type of code was legal 
   10459 up 
   10460 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
   10461 in 
   10462 order to provide backwards compatibility with earlier BIOS 
   10463 implementations. 
   10464 This eliminates the "Encountered executable code at module level" warning 
   10465 that was previously generated upon detection of such code.
   10466 
   10467 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
   10468 inadvertently be generated during the lookup of namespace objects in the 
   10469 second pass parse of ACPI tables and control methods. It appears that 
   10470 this 
   10471 problem could occur during the resolution of forward references to 
   10472 namespace 
   10473 objects.
   10474 
   10475 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
   10476 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
   10477 allows the deadlock detection debug code to be compiled out in the normal 
   10478 case, improving mutex performance (and overall subsystem performance) 
   10479 considerably.
   10480 
   10481 Implemented a handful of miscellaneous fixes for possible memory leaks on 
   10482 error conditions and error handling control paths. These fixes were 
   10483 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
   10484 
   10485 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
   10486 (tbxfroot.c) 
   10487 to prevent a fault in this error case.
   10488 
   10489 Code and Data Size: Current and previous core subsystem library sizes are 
   10490 shown below. These are the code and data sizes for the acpica.lib 
   10491 produced 
   10492 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10493 any ACPI driver or OSPM code. The debug version of the code includes the 
   10494 debug output trace mechanism and has a much larger code and data size. 
   10495 Note 
   10496 that these values will vary depending on the efficiency of the compiler 
   10497 and 
   10498 the compiler options used during generation.
   10499 
   10500   Previous Release:
   10501     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   10502     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   10503   Current Release:
   10504     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   10505     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   10506 
   10507 
   10508 2) iASL Compiler/Disassembler:
   10509 
   10510 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
   10511 the module level (not within a control method.) These operators will be 
   10512 executed once at the time the table is loaded. This type of code was 
   10513 legal 
   10514 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
   10515 compiler in order to provide backwards compatibility with earlier BIOS 
   10516 ASL 
   10517 code.
   10518 
   10519 The ACPI integer width (specified via the table revision ID or the -r 
   10520 override, 32 or 64 bits) is now used internally during compile-time 
   10521 constant 
   10522 folding to ensure that constants are truncated to 32 bits if necessary. 
   10523 Previously, the revision ID value was only emitted in the AML table 
   10524 header.
   10525 
   10526 An error message is now generated for the Mutex and Method operators if 
   10527 the 
   10528 SyncLevel parameter is outside the legal range of 0 through 15.
   10529 
   10530 Fixed a problem with the Method operator ParameterTypes list handling 
   10531 (ACPI 
   10532 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
   10533 error.  
   10534 The actual underlying implementation of method argument typechecking is 
   10535 still under development, however.
   10536 
   10537 ----------------------------------------
   10538 13 May 2005.  Summary of changes for version 20050513:
   10539 
   10540 1) ACPI CA Core Subsystem:
   10541 
   10542 Implemented support for PCI Express root bridges -- added support for 
   10543 device 
   10544 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
   10545 
   10546 The interpreter now automatically truncates incoming 64-bit constants to 
   10547 32 
   10548 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
   10549 This 
   10550 also affects the iASL compiler constant folding. (Note: as per below, the 
   10551 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
   10552 
   10553 Fixed a problem where string and buffer objects with "static" pointers 
   10554 (pointers to initialization data within an ACPI table) were not handled 
   10555 consistently. The internal object copy operation now always copies the 
   10556 data 
   10557 to a newly allocated buffer, regardless of whether the source object is 
   10558 static or not.
   10559 
   10560 Fixed a problem with the FromBCD operator where an implicit result 
   10561 conversion was improperly performed while storing the result to the 
   10562 target 
   10563 operand. Since this is an "explicit conversion" operator, the implicit 
   10564 conversion should never be performed on the output.
   10565 
   10566 Fixed a problem with the CopyObject operator where a copy to an existing 
   10567 named object did not always completely overwrite the existing object 
   10568 stored 
   10569 at name. Specifically, a buffer-to-buffer copy did not delete the 
   10570 existing 
   10571 buffer.
   10572 
   10573 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
   10574 and 
   10575 structs for consistency.
   10576 
   10577 Code and Data Size: Current and previous core subsystem library sizes are 
   10578 shown below. These are the code and data sizes for the acpica.lib 
   10579 produced 
   10580 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10581 any ACPI driver or OSPM code. The debug version of the code includes the 
   10582 debug output trace mechanism and has a much larger code and data size. 
   10583 Note 
   10584 that these values will vary depending on the efficiency of the compiler 
   10585 and 
   10586 the compiler options used during generation.
   10587 
   10588   Previous Release:
   10589     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   10590     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   10591   Current Release: (Same sizes)
   10592     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   10593     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   10594 
   10595 
   10596 2) iASL Compiler/Disassembler:
   10597 
   10598 The compiler now emits a warning if an attempt is made to generate a 64-
   10599 bit 
   10600 integer constant from within a 32-bit ACPI table (Revision < 2). The 
   10601 integer 
   10602 is truncated to 32 bits.
   10603 
   10604 Fixed a problem with large package objects: if the static length of the 
   10605 package is greater than 255, the "variable length package" opcode is 
   10606 emitted. Previously, this caused an error. This requires an update to the 
   10607 ACPI spec, since it currently (incorrectly) states that packages larger 
   10608 than 
   10609 255 elements are not allowed.
   10610 
   10611 The disassembler now correctly handles variable length packages and 
   10612 packages 
   10613 larger than 255 elements.
   10614 
   10615 ----------------------------------------
   10616 08 April 2005.  Summary of changes for version 20050408:
   10617 
   10618 1) ACPI CA Core Subsystem:
   10619 
   10620 Fixed three cases in the interpreter where an "index" argument to an ASL 
   10621 function was still (internally) 32 bits instead of the required 64 bits. 
   10622 This was the Index argument to the Index, Mid, and Match operators.
   10623 
   10624 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
   10625 is 
   10626 not a POSIX-defined function and not present in most kernel-level C 
   10627 libraries. All references to the C library strupr function have been 
   10628 removed 
   10629 from the headers.
   10630 
   10631 Completed the deployment of static functions/prototypes. All prototypes 
   10632 with 
   10633 the static attribute have been moved from the headers to the owning C 
   10634 file.
   10635 
   10636 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
   10637 utility). This option allows the utility to extract individual ACPI 
   10638 tables 
   10639 from the output of AcpiDmp. It provides the same functionality of the 
   10640 acpixtract.pl perl script without the worry of setting the correct perl 
   10641 options. AcpiBin runs on Windows and has not yet been generated/validated 
   10642 in 
   10643 the Linux/Unix environment (but should be soon).
   10644  
   10645 Updated and fixed the table dump option for AcpiBin (-d). This option 
   10646 converts a single ACPI table to a hex/ascii file, similar to the output 
   10647 of 
   10648 AcpiDmp.
   10649 
   10650 Code and Data Size: Current and previous core subsystem library sizes are 
   10651 shown below. These are the code and data sizes for the acpica.lib 
   10652 produced 
   10653 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10654 any ACPI driver or OSPM code. The debug version of the code includes the 
   10655 debug output trace mechanism and has a much larger code and data size. 
   10656 Note 
   10657 that these values will vary depending on the efficiency of the compiler 
   10658 and 
   10659 the compiler options used during generation.
   10660 
   10661   Previous Release:
   10662     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   10663     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   10664   Current Release:
   10665     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   10666     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   10667 
   10668 
   10669 2) iASL Compiler/Disassembler:
   10670 
   10671 Disassembler fix: Added a check to ensure that the table length found in 
   10672 the 
   10673 ACPI table header within the input file is not longer than the actual 
   10674 input 
   10675 file size. This indicates some kind of file or table corruption.
   10676 
   10677 ----------------------------------------
   10678 29 March 2005.  Summary of changes for version 20050329:
   10679 
   10680 1) ACPI CA Core Subsystem:
   10681 
   10682 An error is now generated if an attempt is made to create a Buffer Field 
   10683 of 
   10684 length zero (A CreateField with a length operand of zero.)
   10685 
   10686 The interpreter now issues a warning whenever executable code at the 
   10687 module 
   10688 level is detected during ACPI table load. This will give some idea of the 
   10689 prevalence of this type of code.
   10690 
   10691 Implemented support for references to named objects (other than control 
   10692 methods) within package objects.
   10693 
   10694 Enhanced package object output for the debug object. Package objects are 
   10695 now 
   10696 completely dumped, showing all elements.
   10697 
   10698 Enhanced miscellaneous object output for the debug object. Any object can 
   10699 now be written to the debug object (for example, a device object can be 
   10700 written, and the type of the object will be displayed.)
   10701 
   10702 The "static" qualifier has been added to all local functions across both 
   10703 the 
   10704 core subsystem and the iASL compiler.
   10705 
   10706 The number of "long" lines (> 80 chars) within the source has been 
   10707 significantly reduced, by about 1/3.
   10708 
   10709 Cleaned up all header files to ensure that all CA/iASL functions are 
   10710 prototyped (even static functions) and the formatting is consistent.
   10711 
   10712 Two new header files have been added, acopcode.h and acnames.h.
   10713 
   10714 Removed several obsolete functions that were no longer used.
   10715 
   10716 Code and Data Size: Current and previous core subsystem library sizes are 
   10717 shown below. These are the code and data sizes for the acpica.lib 
   10718 produced 
   10719 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10720 any ACPI driver or OSPM code. The debug version of the code includes the 
   10721 debug output trace mechanism and has a much larger code and data size. 
   10722 Note 
   10723 that these values will vary depending on the efficiency of the compiler 
   10724 and 
   10725 the compiler options used during generation.
   10726 
   10727   Previous Release:
   10728     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   10729     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   10730   Current Release:
   10731     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   10732     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   10733 
   10734 
   10735 
   10736 2) iASL Compiler/Disassembler:
   10737 
   10738 Fixed a problem with the resource descriptor generation/support. For the 
   10739 ResourceSourceIndex and the ResourceSource fields, both must be present, 
   10740 or 
   10741 both must be not present - can't have one without the other.
   10742 
   10743 The compiler now returns non-zero from the main procedure if any errors 
   10744 have 
   10745 occurred during the compilation.
   10746 
   10747 
   10748 ----------------------------------------
   10749 09 March 2005.  Summary of changes for version 20050309:
   10750 
   10751 1) ACPI CA Core Subsystem:
   10752 
   10753 The string-to-buffer implicit conversion code has been modified again 
   10754 after 
   10755 a change to the ACPI specification.  In order to match the behavior of 
   10756 the 
   10757 other major ACPI implementation, the target buffer is no longer truncated 
   10758 if 
   10759 the source string is smaller than an existing target buffer. This change 
   10760 requires an update to the ACPI spec, and should eliminate the recent 
   10761 AE_AML_BUFFER_LIMIT issues.
   10762 
   10763 The "implicit return" support was rewritten to a new algorithm that 
   10764 solves 
   10765 the general case. Rather than attempt to determine when a method is about 
   10766 to 
   10767 exit, the result of every ASL operator is saved momentarily until the 
   10768 very 
   10769 next ASL operator is executed. Therefore, no matter how the method exits, 
   10770 there will always be a saved implicit return value. This feature is only 
   10771 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
   10772 eliminate 
   10773 AE_AML_NO_RETURN_VALUE errors when enabled.
   10774 
   10775 Implemented implicit conversion support for the predicate (operand) of 
   10776 the 
   10777 If, Else, and While operators. String and Buffer arguments are 
   10778 automatically 
   10779 converted to Integers.
   10780 
   10781 Changed the string-to-integer conversion behavior to match the new ACPI 
   10782 errata: "If no integer object exists, a new integer is created. The ASCII 
   10783 string is interpreted as a hexadecimal constant. Each string character is 
   10784 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
   10785 with the first character as the most significant digit, and ending with 
   10786 the 
   10787 first non-hexadecimal character or end-of-string." This means that the 
   10788 first 
   10789 non-hex character terminates the conversion and this is the code that was 
   10790 changed.
   10791 
   10792 Fixed a problem where the ObjectType operator would fail (fault) when 
   10793 used 
   10794 on an Index of a Package which pointed to a null package element. The 
   10795 operator now properly returns zero (Uninitialized) in this case.
   10796 
   10797 Fixed a problem where the While operator used excessive memory by not 
   10798 properly popping the result stack during execution. There was no memory 
   10799 leak 
   10800 after execution, however. (Code provided by Valery Podrezov.)
   10801 
   10802 Fixed a problem where references to control methods within Package 
   10803 objects 
   10804 caused the method to be invoked, instead of producing a reference object 
   10805 pointing to the method.
   10806 
   10807 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
   10808 to 
   10809 improve performance and reduce code size. (Code provided by Alexey 
   10810 Starikovskiy.)
   10811 
   10812 Code and Data Size: Current and previous core subsystem library sizes are 
   10813 shown below. These are the code and data sizes for the acpica.lib 
   10814 produced 
   10815 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10816 any ACPI driver or OSPM code. The debug version of the code includes the 
   10817 debug output trace mechanism and has a much larger code and data size. 
   10818 Note 
   10819 that these values will vary depending on the efficiency of the compiler 
   10820 and 
   10821 the compiler options used during generation.
   10822 
   10823   Previous Release:
   10824     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   10825     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   10826   Current Release:
   10827     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   10828     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   10829 
   10830 
   10831 2) iASL Compiler/Disassembler:
   10832 
   10833 Fixed a problem with the Return operator with no arguments. Since the AML 
   10834 grammar for the byte encoding requires an operand for the Return opcode, 
   10835 the 
   10836 compiler now emits a Return(Zero) for this case.  An ACPI specification 
   10837 update has been written for this case.
   10838 
   10839 For tables other than the DSDT, namepath optimization is automatically 
   10840 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
   10841 the 
   10842 compiler has no knowledge of where, and thus cannot optimize namepaths.
   10843 
   10844 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
   10845 inadvertently omitted from the ACPI specification, and will require an 
   10846 update to the spec.
   10847 
   10848 The source file scan for ASCII characters is now optional (-a). This 
   10849 change 
   10850 was made because some vendors place non-ascii characters within comments. 
   10851 However, the scan is simply a brute-force byte compare to ensure all 
   10852 characters in the file are in the range 0x00 to 0x7F.
   10853 
   10854 Fixed a problem with the CondRefOf operator where the compiler was 
   10855 inappropriately checking for the existence of the target. Since the point 
   10856 of 
   10857 the operator is to check for the existence of the target at run-time, the 
   10858 compiler no longer checks for the target existence.
   10859 
   10860 Fixed a problem where errors generated from the internal AML interpreter 
   10861 during constant folding were not handled properly, causing a fault.
   10862 
   10863 Fixed a problem with overly aggressive range checking for the Stall 
   10864 operator. The valid range (max 255) is now only checked if the operand is 
   10865 of 
   10866 type Integer. All other operand types cannot be statically checked.
   10867 
   10868 Fixed a problem where control method references within the RefOf, 
   10869 DeRefOf, 
   10870 and ObjectType operators were not treated properly. They are now treated 
   10871 as 
   10872 actual references, not method invocations.
   10873 
   10874 Fixed and enhanced the "list namespace" option (-ln). This option was 
   10875 broken 
   10876 a number of releases ago.
   10877 
   10878 Improved error handling for the Field, IndexField, and BankField 
   10879 operators. 
   10880 The compiler now cleanly reports and recovers from errors in the field 
   10881 component (FieldUnit) list.
   10882 
   10883 Fixed a disassembler problem where the optional ResourceDescriptor fields 
   10884 TRS and TTP were not always handled correctly.
   10885 
   10886 Disassembler - Comments in output now use "//" instead of "/*"
   10887 
   10888 ----------------------------------------
   10889 28 February 2005.  Summary of changes for version 20050228:
   10890 
   10891 1) ACPI CA Core Subsystem:
   10892 
   10893 Fixed a problem where the result of an Index() operator (an object 
   10894 reference) must increment the reference count on the target object for 
   10895 the 
   10896 life of the object reference.
   10897 
   10898 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
   10899 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
   10900 WordSpace 
   10901 resource descriptors.
   10902 
   10903 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
   10904 Space Descriptor" string, indicating interpreter support for the 
   10905 descriptors 
   10906 above.
   10907 
   10908 Implemented header support for the new ACPI 3.0 FADT flag bits.
   10909 
   10910 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
   10911 PM1 
   10912 status/enable registers.
   10913 
   10914 Updated header support for the MADT processor local Apic struct and MADT 
   10915 platform interrupt source struct for new ACPI 3.0 fields.
   10916 
   10917 Implemented header support for the SRAT and SLIT ACPI tables.
   10918 
   10919 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
   10920 flag 
   10921 at runtime.
   10922 
   10923 Code and Data Size: Current and previous core subsystem library sizes are 
   10924 shown below. These are the code and data sizes for the acpica.lib 
   10925 produced 
   10926 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10927 any ACPI driver or OSPM code. The debug version of the code includes the 
   10928 debug output trace mechanism and has a much larger code and data size. 
   10929 Note 
   10930 that these values will vary depending on the efficiency of the compiler 
   10931 and 
   10932 the compiler options used during generation.
   10933 
   10934   Previous Release:
   10935     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   10936     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   10937   Current Release:
   10938     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   10939     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   10940 
   10941 
   10942 2) iASL Compiler/Disassembler:
   10943 
   10944 Fixed a problem with the internal 64-bit String-to-integer conversion 
   10945 with 
   10946 strings less than two characters long.
   10947 
   10948 Fixed a problem with constant folding where the result of the Index() 
   10949 operator can not be considered a constant. This means that Index() cannot 
   10950 be 
   10951 a type3 opcode and this will require an update to the ACPI specification.
   10952 
   10953 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
   10954 descriptor fields. These fields were inadvertently ignored and not output 
   10955 in 
   10956 the disassembly of the resource descriptor.
   10957 
   10958 
   10959  ----------------------------------------
   10960 11 February 2005.  Summary of changes for version 20050211:
   10961 
   10962 1) ACPI CA Core Subsystem:
   10963 
   10964 Implemented ACPI 3.0 support for implicit conversion within the Match() 
   10965 operator. MatchObjects can now be of type integer, buffer, or string 
   10966 instead 
   10967 of just type integer.  Package elements are implicitly converted to the 
   10968 type 
   10969 of the MatchObject. This change aligns the behavior of Match() with the 
   10970 behavior of the other logical operators (LLess(), etc.) It also requires 
   10971 an 
   10972 errata change to the ACPI specification as this support was intended for 
   10973 ACPI 3.0, but was inadvertently omitted.
   10974 
   10975 Fixed a problem with the internal implicit "to buffer" conversion. 
   10976 Strings 
   10977 that are converted to buffers will cause buffer truncation if the string 
   10978 is 
   10979 smaller than the target buffer. Integers that are converted to buffers 
   10980 will 
   10981 not cause buffer truncation, only zero extension (both as per the ACPI 
   10982 spec.) The problem was introduced when code was added to truncate the 
   10983 buffer, but this should not be performed in all cases, only the string 
   10984 case.
   10985 
   10986 Fixed a problem with the Buffer and Package operators where the 
   10987 interpreter 
   10988 would get confused if two such operators were used as operands to an ASL 
   10989 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
   10990 stack was not being popped after the execution of these operators, 
   10991 resulting 
   10992 in an AE_NO_RETURN_VALUE exception.
   10993 
   10994 Fixed a problem with constructs of the form Store(Index(...),...). The 
   10995 reference object returned from Index was inadvertently resolved to an 
   10996 actual 
   10997 value. This problem was introduced in version 20050114 when the behavior 
   10998 of 
   10999 Store() was modified to restrict the object types that can be used as the 
   11000 source operand (to match the ACPI specification.)
   11001 
   11002 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
   11003 
   11004 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
   11005 
   11006 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
   11007 
   11008 Code and Data Size: Current and previous core subsystem library sizes are 
   11009 shown below. These are the code and data sizes for the acpica.lib 
   11010 produced 
   11011 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11012 any ACPI driver or OSPM code. The debug version of the code includes the 
   11013 debug output trace mechanism and has a much larger code and data size. 
   11014 Note 
   11015 that these values will vary depending on the efficiency of the compiler 
   11016 and 
   11017 the compiler options used during generation.
   11018 
   11019   Previous Release:
   11020     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
   11021     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
   11022   Current Release:
   11023     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   11024     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   11025 
   11026 
   11027 2) iASL Compiler/Disassembler:
   11028 
   11029 Fixed a code generation problem in the constant folding optimization code 
   11030 where incorrect code was generated if a constant was reduced to a buffer 
   11031 object (i.e., a reduced type 5 opcode.)
   11032 
   11033 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
   11034 incorrect return type in the internal opcode information table.
   11035 
   11036 ----------------------------------------
   11037 25 January 2005.  Summary of changes for version 20050125:
   11038 
   11039 1) ACPI CA Core Subsystem:
   11040 
   11041 Fixed a recently introduced problem with the Global Lock where the 
   11042 underlying semaphore was not created.  This problem was introduced in 
   11043 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
   11044 Acquire() operation on _GL.
   11045 
   11046 The local object cache is now optional, and is disabled by default. Both 
   11047 AcpiExec and the iASL compiler enable the cache because they run in user 
   11048 mode and this enhances their performance. #define 
   11049 ACPI_ENABLE_OBJECT_CACHE 
   11050 to enable the local cache.
   11051 
   11052 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
   11053 the 
   11054 optional "implicit return" support where an error was returned if no 
   11055 return 
   11056 object was expected, but one was implicitly returned. AE_OK is now 
   11057 returned 
   11058 in this case and the implicitly returned object is deleted. 
   11059 AcpiUtEvaluateObject is only occasionally used, and only to execute 
   11060 reserved 
   11061 methods such as _STA and _INI where the return type is known up front.
   11062 
   11063 Fixed a few issues with the internal convert-to-integer code. It now 
   11064 returns 
   11065 an error if an attempt is made to convert a null string, a string of only 
   11066 blanks/tabs, or a zero-length buffer. This affects both implicit 
   11067 conversion 
   11068 and explicit conversion via the ToInteger() operator.
   11069 
   11070 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
   11071 is 
   11072 not needed for normal operation and should increase the performance of 
   11073 the 
   11074 entire subsystem. The code remains in case it is needed for debug 
   11075 purposes 
   11076 again.
   11077 
   11078 The AcpiExec source and makefile are included in the Unix/Linux package 
   11079 for 
   11080 the first time.
   11081 
   11082 Code and Data Size: Current and previous core subsystem library sizes are 
   11083 shown below. These are the code and data sizes for the acpica.lib 
   11084 produced 
   11085 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11086 any ACPI driver or OSPM code. The debug version of the code includes the 
   11087 debug output trace mechanism and has a much larger code and data size. 
   11088 Note 
   11089 that these values will vary depending on the efficiency of the compiler 
   11090 and 
   11091 the compiler options used during generation.
   11092 
   11093   Previous Release:
   11094     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   11095     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   11096   Current Release:
   11097     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
   11098     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
   11099 
   11100 2) iASL Compiler/Disassembler:
   11101 
   11102 Switch/Case support: A warning is now issued if the type of the Switch 
   11103 value 
   11104 cannot be determined at compile time. For example, Switch(Arg0) will 
   11105 generate the warning, and the type is assumed to be an integer. As per 
   11106 the 
   11107 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
   11108 the 
   11109 warning.
   11110 
   11111 Switch/Case support: Implemented support for buffer and string objects as 
   11112 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
   11113 buffers and strings.
   11114 
   11115 Switch/Case support: The emitted code for the LEqual() comparisons now 
   11116 uses 
   11117 the switch value as the first operand, not the second. The case value is 
   11118 now 
   11119 the second operand, and this allows the case value to be implicitly 
   11120 converted to the type of the switch value, not the other way around.
   11121 
   11122 Switch/Case support: Temporary variables are now emitted immediately 
   11123 within 
   11124 the control method, not at the global level. This means that there are 
   11125 now 
   11126 36 temps available per-method, not 36 temps per-module as was the case 
   11127 with 
   11128 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
   11129 
   11130 ----------------------------------------
   11131 14 January 2005.  Summary of changes for version 20050114:
   11132 
   11133 Added 2005 copyright to all module headers.  This affects every module in 
   11134 the core subsystem, iASL compiler, and the utilities.
   11135 
   11136 1) ACPI CA Core Subsystem:
   11137 
   11138 Fixed an issue with the String-to-Buffer conversion code where the string 
   11139 null terminator was not included in the buffer after conversion, but 
   11140 there 
   11141 is existing ASL that assumes the string null terminator is included. This 
   11142 is 
   11143 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
   11144 introduced in the previous version when the code was updated to correctly 
   11145 set the converted buffer size as per the ACPI specification. The ACPI 
   11146 spec 
   11147 is ambiguous and will be updated to specify that the null terminator must 
   11148 be 
   11149 included in the converted buffer. This also affects the ToBuffer() ASL 
   11150 operator.
   11151 
   11152 Fixed a problem with the Mid() ASL/AML operator where it did not work 
   11153 correctly on Buffer objects. Newly created sub-buffers were not being 
   11154 marked 
   11155 as initialized.
   11156 
   11157 
   11158 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
   11159 performed on the OemId and OemTableId table header fields.  These fields 
   11160 are 
   11161 not null terminated, so strncmp is now used instead of strcmp.
   11162 
   11163 Implemented a restriction on the Store() ASL/AML operator to align the 
   11164 behavior with the ACPI specification.  Previously, any object could be 
   11165 used 
   11166 as the source operand.  Now, the only objects that may be used are 
   11167 Integers, 
   11168 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
   11169 necessary, the original behavior can be restored by enabling the 
   11170 EnableInterpreterSlack flag.
   11171 
   11172 Enhanced the optional "implicit return" support to allow an implicit 
   11173 return 
   11174 value from methods that are invoked externally via the AcpiEvaluateObject 
   11175 interface.  This enables implicit returns from the _STA and _INI methods, 
   11176 for example.
   11177 
   11178 Changed the Revision() ASL/AML operator to return the current version of 
   11179 the 
   11180 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
   11181 returned 
   11182 the supported ACPI version (This is the function of the _REV method).
   11183 
   11184 Updated the _REV predefined method to return the currently supported 
   11185 version 
   11186 of ACPI, now 3.
   11187 
   11188 Implemented batch mode option for the AcpiExec utility (-b).
   11189 
   11190 Code and Data Size: Current and previous core subsystem library sizes are 
   11191 shown below. These are the code and data sizes for the acpica.lib 
   11192 produced 
   11193 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11194 any ACPI driver or OSPM code. The debug version of the code includes the 
   11195 debug output trace mechanism and has a much larger code and data size. 
   11196 Note 
   11197 that these values will vary depending on the efficiency of the compiler 
   11198 and 
   11199 the compiler options used during generation.
   11200 
   11201   Previous Release:
   11202     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   11203     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   11204   Current Release:
   11205     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   11206     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   11207 
   11208 ----------------------------------------
   11209 10 December 2004.  Summary of changes for version 20041210:
   11210 
   11211 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
   11212 ACPI CA core subsystem.
   11213 
   11214 1) ACPI CA Core Subsystem:
   11215 
   11216 Fixed a problem in the ToDecimalString operator where the resulting 
   11217 string 
   11218 length was incorrectly calculated. The length is now calculated exactly, 
   11219 eliminating incorrect AE_STRING_LIMIT exceptions.
   11220 
   11221 Fixed a problem in the ToHexString operator to allow a maximum 200 
   11222 character 
   11223 string to be produced.
   11224 
   11225 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
   11226 copy 
   11227 routine where the length of the resulting buffer was not truncated to the 
   11228 new size (if the target buffer already existed).
   11229 
   11230 Code and Data Size: Current and previous core subsystem library sizes are 
   11231 shown below. These are the code and data sizes for the acpica.lib 
   11232 produced 
   11233 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11234 any ACPI driver or OSPM code. The debug version of the code includes the 
   11235 debug output trace mechanism and has a much larger code and data size. 
   11236 Note 
   11237 that these values will vary depending on the efficiency of the compiler 
   11238 and 
   11239 the compiler options used during generation.
   11240 
   11241   Previous Release:
   11242     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   11243     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   11244   Current Release:
   11245     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   11246     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   11247 
   11248 
   11249 2) iASL Compiler/Disassembler:
   11250 
   11251 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
   11252 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
   11253 Includes support in the disassembler.
   11254 
   11255 Implemented support for the new (ACPI 3.0) parameter to the Register 
   11256 macro, 
   11257 AccessSize.
   11258 
   11259 Fixed a problem where the _HE resource name for the Interrupt macro was 
   11260 referencing bit 0 instead of bit 1.
   11261 
   11262 Implemented check for maximum 255 interrupts in the Interrupt macro.
   11263 
   11264 Fixed a problem with the predefined resource descriptor names where 
   11265 incorrect AML code was generated if the offset within the resource buffer 
   11266 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
   11267 but did not update the surrounding package lengths.
   11268 
   11269 Changes to the Dma macro:  All channels within the channel list must be 
   11270 in 
   11271 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
   11272 optional (default is BusMaster).
   11273 
   11274 Implemented check for maximum 7 data bytes for the VendorShort macro.
   11275 
   11276 The ReadWrite parameter is now optional for the Memory32 and similar 
   11277 macros.
   11278 
   11279 ----------------------------------------
   11280 03 December 2004.  Summary of changes for version 20041203:
   11281 
   11282 1) ACPI CA Core Subsystem:
   11283 
   11284 The low-level field insertion/extraction code (exfldio) has been 
   11285 completely 
   11286 rewritten to eliminate unnecessary complexity, bugs, and boundary 
   11287 conditions.
   11288 
   11289 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
   11290 ToDecimalString 
   11291 operators where the input operand could be inadvertently deleted if no 
   11292 conversion was necessary (e.g., if the input to ToInteger was an Integer 
   11293 object.)
   11294 
   11295 Fixed a problem with the ToDecimalString and ToHexString where an 
   11296 incorrect 
   11297 exception code was returned if the resulting string would be > 200 chars.  
   11298 AE_STRING_LIMIT is now returned.
   11299 
   11300 Fixed a problem with the Concatenate operator where AE_OK was always 
   11301 returned, even if the operation failed.
   11302 
   11303 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
   11304 semaphores to be allocated.
   11305 
   11306 Code and Data Size: Current and previous core subsystem library sizes are 
   11307 shown below. These are the code and data sizes for the acpica.lib 
   11308 produced 
   11309 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11310 any ACPI driver or OSPM code. The debug version of the code includes the 
   11311 debug output trace mechanism and has a much larger code and data size. 
   11312 Note 
   11313 that these values will vary depending on the efficiency of the compiler 
   11314 and 
   11315 the compiler options used during generation.
   11316 
   11317   Previous Release:
   11318     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   11319     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   11320   Current Release:
   11321     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   11322     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   11323 
   11324 
   11325 2) iASL Compiler/Disassembler:
   11326 
   11327 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
   11328 recently introduced in 20041119.
   11329 
   11330 Fixed a problem with the ToUUID macro where the upper nybble of each 
   11331 buffer 
   11332 byte was inadvertently set to zero.
   11333 
   11334 ----------------------------------------
   11335 19 November 2004.  Summary of changes for version 20041119:
   11336 
   11337 1) ACPI CA Core Subsystem:
   11338 
   11339 Fixed a problem in the internal ConvertToInteger routine where new 
   11340 integers 
   11341 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
   11342 converts 
   11343 buffers and strings to integers.
   11344 
   11345 Implemented support to store a value to an Index() on a String object. 
   11346 This 
   11347 is an ACPI 2.0 feature that had not yet been implemented.
   11348 
   11349 Implemented new behavior for storing objects to individual package 
   11350 elements 
   11351 (via the Index() operator). The previous behavior was to invoke the 
   11352 implicit 
   11353 conversion rules if an object was already present at the index.  The new 
   11354 behavior is to simply delete any existing object and directly store the 
   11355 new 
   11356 object. Although the ACPI specification seems unclear on this subject, 
   11357 other 
   11358 ACPI implementations behave in this manner.  (This is the root of the 
   11359 AE_BAD_HEX_CONSTANT issue.)
   11360 
   11361 Modified the RSDP memory scan mechanism to support the extended checksum 
   11362 for 
   11363 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
   11364 RSDP signature is found with a valid checksum.
   11365 
   11366 Code and Data Size: Current and previous core subsystem library sizes are 
   11367 shown below. These are the code and data sizes for the acpica.lib 
   11368 produced 
   11369 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11370 any ACPI driver or OSPM code. The debug version of the code includes the 
   11371 debug output trace mechanism and has a much larger code and data size. 
   11372 Note 
   11373 that these values will vary depending on the efficiency of the compiler 
   11374 and 
   11375 the compiler options used during generation.
   11376 
   11377   Previous Release:
   11378     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   11379     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   11380   Current Release:
   11381     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   11382     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   11383 
   11384 
   11385 2) iASL Compiler/Disassembler:
   11386 
   11387 Fixed a missing semicolon in the aslcompiler.y file.
   11388 
   11389 ----------------------------------------
   11390 05 November 2004.  Summary of changes for version 20041105:
   11391 
   11392 1) ACPI CA Core Subsystem:
   11393 
   11394 Implemented support for FADT revision 2.  This was an interim table 
   11395 (between 
   11396 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
   11397 
   11398 Implemented optional support to allow uninitialized LocalX and ArgX 
   11399 variables in a control method.  The variables are initialized to an 
   11400 Integer 
   11401 object with a value of zero.  This support is enabled by setting the 
   11402 AcpiGbl_EnableInterpreterSlack flag to TRUE.
   11403 
   11404 Implemented support for Integer objects for the SizeOf operator.  Either 
   11405 4 
   11406 or 8 is returned, depending on the current integer size (32-bit or 64-
   11407 bit, 
   11408 depending on the parent table revision).
   11409 
   11410 Fixed a problem in the implementation of the SizeOf and ObjectType 
   11411 operators 
   11412 where the operand was resolved to a value too early, causing incorrect 
   11413 return values for some objects.
   11414 
   11415 Fixed some possible memory leaks during exceptional conditions.
   11416 
   11417 Code and Data Size: Current and previous core subsystem library sizes are 
   11418 shown below. These are the code and data sizes for the acpica.lib 
   11419 produced 
   11420 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11421 any ACPI driver or OSPM code. The debug version of the code includes the 
   11422 debug output trace mechanism and has a much larger code and data size. 
   11423 Note 
   11424 that these values will vary depending on the efficiency of the compiler 
   11425 and 
   11426 the compiler options used during generation.
   11427 
   11428   Previous Release:
   11429     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   11430     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   11431   Current Release:
   11432     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   11433     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   11434 
   11435 
   11436 2) iASL Compiler/Disassembler:
   11437 
   11438 Implemented support for all ACPI 3.0 reserved names and methods.
   11439 
   11440 Implemented all ACPI 3.0 grammar elements in the front-end, including 
   11441 support for semicolons.
   11442 
   11443 Implemented the ACPI 3.0 Function() and ToUUID() macros
   11444 
   11445 Fixed a problem in the disassembler where a Scope() operator would not be 
   11446 emitted properly if the target of the scope was in another table.
   11447 
   11448 ----------------------------------------
   11449 15 October 2004.  Summary of changes for version 20041015:
   11450 
   11451 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
   11452 evaluation to test/verify the following areas. Other suggestions are 
   11453 welcome. This will result in an increase in the frequency of releases and 
   11454 the number of bug fixes in the next few months.
   11455   - Functional tests for all ASL/AML operators
   11456   - All implicit/explicit type conversions
   11457   - Bit fields and operation regions
   11458   - 64-bit math support and 32-bit-only "truncated" math support
   11459   - Exceptional conditions, both compiler and interpreter
   11460   - Dynamic object deletion and memory leaks
   11461   - ACPI 3.0 support when implemented
   11462   - External interfaces to the ACPI subsystem
   11463 
   11464 
   11465 1) ACPI CA Core Subsystem:
   11466 
   11467 Fixed two alignment issues on 64-bit platforms - within debug statements 
   11468 in 
   11469 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
   11470 Address 
   11471 field within the non-aligned ACPI generic address structure.
   11472 
   11473 Fixed a problem in the Increment and Decrement operators where incorrect 
   11474 operand resolution could result in the inadvertent modification of the 
   11475 original integer when the integer is passed into another method as an 
   11476 argument and the arg is then incremented/decremented.
   11477 
   11478 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
   11479 bit 
   11480 BCD number were truncated during conversion.
   11481 
   11482 Fixed a problem in the ToDecimal operator where the length of the 
   11483 resulting 
   11484 string could be set incorrectly too long if the input operand was a 
   11485 Buffer 
   11486 object.
   11487 
   11488 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
   11489 (0) 
   11490 within a buffer would prematurely terminate a compare between buffer 
   11491 objects.
   11492 
   11493 Added a check for string overflow (>200 characters as per the ACPI 
   11494 specification) during the Concatenate operator with two string operands.
   11495 
   11496 Code and Data Size: Current and previous core subsystem library sizes are 
   11497 shown below. These are the code and data sizes for the acpica.lib 
   11498 produced 
   11499 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11500 any ACPI driver or OSPM code. The debug version of the code includes the 
   11501 debug output trace mechanism and has a much larger code and data size. 
   11502 Note 
   11503 that these values will vary depending on the efficiency of the compiler 
   11504 and 
   11505 the compiler options used during generation.
   11506 
   11507   Previous Release:
   11508     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   11509     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   11510   Current Release:
   11511     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   11512     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   11513 
   11514 
   11515 
   11516 2) iASL Compiler/Disassembler:
   11517 
   11518 Allow the use of the ObjectType operator on uninitialized Locals and Args 
   11519 (returns 0 as per the ACPI specification).
   11520 
   11521 Fixed a problem where the compiler would fault if there was a syntax 
   11522 error 
   11523 in the FieldName of all of the various CreateXXXField operators.
   11524 
   11525 Disallow the use of lower case letters within the EISAID macro, as per 
   11526 the 
   11527 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
   11528 Where 
   11529 U is an uppercase letter and N is a hex digit.
   11530 
   11531 
   11532 ----------------------------------------
   11533 06 October 2004.  Summary of changes for version 20041006:
   11534 
   11535 1) ACPI CA Core Subsystem:
   11536 
   11537 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
   11538 implements a 64-bit timer with 100 nanosecond granularity.
   11539 
   11540 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
   11541 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
   11542 implement 
   11543 the timer with the best clock available. Also, it keeps the core 
   11544 subsystem 
   11545 out of the clock handling business, since the host OS (usually) performs 
   11546 this function.
   11547 
   11548 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
   11549 functions use a 64-bit address which is part of the packed ACPI Generic 
   11550 Address Structure. Since the structure is non-aligned, the alignment 
   11551 macros 
   11552 are now used to extract the address to a local variable before use.
   11553 
   11554 Fixed a problem where the ToInteger operator assumed all input strings 
   11555 were 
   11556 hexadecimal. The operator now handles both decimal strings and hex 
   11557 strings 
   11558 (prefixed with "0x").
   11559 
   11560 Fixed a problem where the string length in the string object created as a 
   11561 result of the internal ConvertToString procedure could be incorrect. This 
   11562 potentially affected all implicit conversions and also the 
   11563 ToDecimalString 
   11564 and ToHexString operators.
   11565 
   11566 Fixed two problems in the ToString operator. If the length parameter was 
   11567 zero, an incorrect string object was created and the value of the input 
   11568 length parameter was inadvertently changed from zero to Ones.
   11569 
   11570 Fixed a problem where the optional ResourceSource string in the 
   11571 ExtendedIRQ 
   11572 resource macro was ignored.
   11573 
   11574 Simplified the interfaces to the internal division functions, reducing 
   11575 code 
   11576 size and complexity.
   11577 
   11578 Code and Data Size: Current and previous core subsystem library sizes are 
   11579 shown below. These are the code and data sizes for the acpica.lib 
   11580 produced 
   11581 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11582 any ACPI driver or OSPM code. The debug version of the code includes the 
   11583 debug output trace mechanism and has a much larger code and data size. 
   11584 Note 
   11585 that these values will vary depending on the efficiency of the compiler 
   11586 and 
   11587 the compiler options used during generation.
   11588 
   11589   Previous Release:
   11590     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   11591     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   11592   Current Release:
   11593     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   11594     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   11595 
   11596 
   11597 2) iASL Compiler/Disassembler:
   11598 
   11599 Implemented support for the ACPI 3.0 Timer operator.
   11600 
   11601 Fixed a problem where the Default() operator was inadvertently ignored in 
   11602 a 
   11603 Switch/Case block.  This was a problem in the translation of the Switch 
   11604 statement to If...Else pairs.
   11605 
   11606 Added support to allow a standalone Return operator, with no parentheses 
   11607 (or 
   11608 operands).
   11609 
   11610 Fixed a problem with code generation for the ElseIf operator where the 
   11611 translated Else...If parse tree was improperly constructed leading to the 
   11612 loss of some code.
   11613 
   11614 ----------------------------------------
   11615 22 September 2004.  Summary of changes for version 20040922:
   11616 
   11617 1) ACPI CA Core Subsystem:
   11618 
   11619 Fixed a problem with the implementation of the LNot() operator where 
   11620 "Ones" 
   11621 was not returned for the TRUE case. Changed the code to return Ones 
   11622 instead 
   11623 of (!Arg) which was usually 1. This change affects iASL constant folding 
   11624 for 
   11625 this operator also.
   11626 
   11627 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
   11628 not 
   11629 initialized properly -- Now zero the entire buffer in this case where the 
   11630 buffer already exists.
   11631 
   11632 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
   11633 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
   11634 related code considerably. This will require changes/updates to all OS 
   11635 interface layers (OSLs.)
   11636 
   11637 Implemented a new external interface, AcpiInstallExceptionHandler, to 
   11638 allow 
   11639 a system exception handler to be installed. This handler is invoked upon 
   11640 any 
   11641 run-time exception that occurs during control method execution.
   11642 
   11643 Added support for the DSDT in AcpiTbFindTable. This allows the 
   11644 DataTableRegion() operator to access the local copy of the DSDT.
   11645 
   11646 Code and Data Size: Current and previous core subsystem library sizes are 
   11647 shown below. These are the code and data sizes for the acpica.lib 
   11648 produced 
   11649 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11650 any ACPI driver or OSPM code. The debug version of the code includes the 
   11651 debug output trace mechanism and has a much larger code and data size. 
   11652 Note 
   11653 that these values will vary depending on the efficiency of the compiler 
   11654 and 
   11655 the compiler options used during generation.
   11656 
   11657   Previous Release:
   11658     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   11659     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   11660   Current Release:
   11661     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   11662     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   11663 
   11664 
   11665 2) iASL Compiler/Disassembler:
   11666 
   11667 Fixed a problem with constant folding and the LNot operator. LNot was 
   11668 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
   11669 This 
   11670 could result in the generation of an incorrect folded/reduced constant.
   11671 
   11672 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
   11673 longer occurs if such a comment is at the very end of the input ASL 
   11674 source 
   11675 file.
   11676 
   11677 Implemented the "-r" option to override the Revision in the table header. 
   11678 The initial use of this option will be to simplify the evaluation of the 
   11679 AML 
   11680 interpreter by allowing a single ASL source module to be compiled for 
   11681 either 
   11682 32-bit or 64-bit integers.
   11683 
   11684 
   11685 ----------------------------------------
   11686 27 August 2004.  Summary of changes for version 20040827:
   11687 
   11688 1) ACPI CA Core Subsystem:
   11689 
   11690 - Implemented support for implicit object conversion in the non-numeric 
   11691 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
   11692 and 
   11693 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
   11694 the second operand is implicitly converted on the fly to match the type 
   11695 of 
   11696 the first operand.  For example:
   11697 
   11698     LEqual (Source1, Source2)
   11699 
   11700 Source1 and Source2 must each evaluate to an integer, a string, or a 
   11701 buffer. 
   11702 The data type of Source1 dictates the required type of Source2. Source2 
   11703 is 
   11704 implicitly converted if necessary to match the type of Source1.
   11705 
   11706 - Updated and corrected the behavior of the string conversion support.  
   11707 The 
   11708 rules concerning conversion of buffers to strings (according to the ACPI 
   11709 specification) are as follows:
   11710 
   11711 ToDecimalString - explicit byte-wise conversion of buffer to string of 
   11712 decimal values (0-255) separated by commas. ToHexString - explicit byte-
   11713 wise 
   11714 conversion of buffer to string of hex values (0-FF) separated by commas. 
   11715 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
   11716 byte 
   11717 copy with no transform except NULL terminated. Any other implicit buffer-
   11718 to-
   11719 string conversion - byte-wise conversion of buffer to string of hex 
   11720 values 
   11721 (0-FF) separated by spaces.
   11722 
   11723 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
   11724 
   11725 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
   11726 was 
   11727 one byte too short in the case of a node in the root scope.  This could 
   11728 cause a fault during debug output.
   11729 
   11730 - Code and Data Size: Current and previous core subsystem library sizes 
   11731 are 
   11732 shown below.  These are the code and data sizes for the acpica.lib 
   11733 produced 
   11734 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11735 any ACPI driver or OSPM code.  The debug version of the code includes the 
   11736 debug output trace mechanism and has a much larger code and data size.  
   11737 Note 
   11738 that these values will vary depending on the efficiency of the compiler 
   11739 and 
   11740 the compiler options used during generation.
   11741 
   11742   Previous Release:
   11743     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   11744     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   11745   Current Release:
   11746     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   11747     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   11748 
   11749 
   11750 2) iASL Compiler/Disassembler:
   11751 
   11752 - Fixed a Linux generation error.
   11753 
   11754 
   11755 ----------------------------------------
   11756 16 August 2004.  Summary of changes for version 20040816:
   11757 
   11758 1) ACPI CA Core Subsystem:
   11759 
   11760 Designed and implemented support within the AML interpreter for the so-
   11761 called "implicit return".  This support returns the result of the last 
   11762 ASL 
   11763 operation within a control method, in the absence of an explicit Return() 
   11764 operator.  A few machines depend on this behavior, even though it is not 
   11765 explicitly supported by the ASL language.  It is optional support that 
   11766 can 
   11767 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
   11768 
   11769 Removed support for the PCI_Config address space from the internal low 
   11770 level 
   11771 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
   11772 support was not used internally, and would not work correctly anyway 
   11773 because 
   11774 the PCI bus number and segment number were not supported.  There are 
   11775 separate interfaces for PCI configuration space access because of the 
   11776 unique 
   11777 interface.
   11778 
   11779 Code and Data Size: Current and previous core subsystem library sizes are 
   11780 shown below.  These are the code and data sizes for the acpica.lib 
   11781 produced 
   11782 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11783 any ACPI driver or OSPM code.  The debug version of the code includes the 
   11784 debug output trace mechanism and has a much larger code and data size.  
   11785 Note 
   11786 that these values will vary depending on the efficiency of the compiler 
   11787 and 
   11788 the compiler options used during generation.
   11789 
   11790   Previous Release:
   11791     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   11792     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   11793   Current Release:
   11794     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   11795     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   11796 
   11797 
   11798 2) iASL Compiler/Disassembler:
   11799 
   11800 Fixed a problem where constants in ASL expressions at the root level (not 
   11801 within a control method) could be inadvertently truncated during code 
   11802 generation.  This problem was introduced in the 20040715 release.
   11803 
   11804 
   11805 ----------------------------------------
   11806 15 July 2004.  Summary of changes for version 20040715:
   11807 
   11808 1) ACPI CA Core Subsystem:
   11809 
   11810 Restructured the internal HW GPE interfaces to pass/track the current 
   11811 state 
   11812 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
   11813 increase flexibility of the interfaces.
   11814 
   11815 Implemented a "lexicographical compare" for String and Buffer objects 
   11816 within 
   11817 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
   11818 - 
   11819 as per further clarification to the ACPI specification.  Behavior is 
   11820 similar 
   11821 to C library "strcmp".
   11822 
   11823 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
   11824 external function.  In the 32-bit non-debug case, the stack use has been 
   11825 reduced from 168 bytes to 32 bytes.
   11826 
   11827 Deployed a new run-time configuration flag, 
   11828 AcpiGbl_EnableInterpreterSlack, 
   11829 whose purpose is to allow the AML interpreter to forgive certain bad AML 
   11830 constructs.  Default setting is FALSE.
   11831 
   11832 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
   11833 IO 
   11834 support code.  If enabled, it allows field access to go beyond the end of 
   11835 a 
   11836 region definition if the field is within the region length rounded up to 
   11837 the 
   11838 next access width boundary (a common coding error.)
   11839 
   11840 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
   11841 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
   11842 these 
   11843 symbols are lowercased by the latest version of the AcpiSrc tool.
   11844 
   11845 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
   11846 rename "Register" to simply "Reg" to prevent certain compilers from 
   11847 complaining.
   11848 
   11849 Code and Data Size: Current and previous core subsystem library sizes are 
   11850 shown below.  These are the code and data sizes for the acpica.lib 
   11851 produced 
   11852 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11853 any ACPI driver or OSPM code.  The debug version of the code includes the 
   11854 debug output trace mechanism and has a much larger code and data size.  
   11855 Note 
   11856 that these values will vary depending on the efficiency of the compiler 
   11857 and 
   11858 the compiler options used during generation.
   11859 
   11860   Previous Release:
   11861     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   11862     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   11863   Current Release:
   11864     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   11865     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   11866 
   11867 
   11868 2) iASL Compiler/Disassembler:
   11869 
   11870 Implemented full support for Package objects within the Case() operator.  
   11871 Note: The Break() operator is currently not supported within Case blocks 
   11872 (TermLists) as there is some question about backward compatibility with 
   11873 ACPI 
   11874 1.0 interpreters.
   11875 
   11876 
   11877 Fixed a problem where complex terms were not supported properly within 
   11878 the 
   11879 Switch() operator.
   11880 
   11881 Eliminated extraneous warning for compiler-emitted reserved names of the 
   11882 form "_T_x".  (Used in Switch/Case operators.)
   11883 
   11884 Eliminated optimization messages for "_T_x" objects and small constants 
   11885 within the DefinitionBlock operator.
   11886 
   11887 
   11888 ----------------------------------------
   11889 15 June 2004.  Summary of changes for version 20040615:
   11890 
   11891 1) ACPI CA Core Subsystem:
   11892 
   11893 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   11894 the 
   11895 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   11896 LLessEqual.
   11897 
   11898 All directory names in the entire source package are lower case, as they 
   11899 were in earlier releases.
   11900 
   11901 Implemented "Disassemble" command in the AML debugger that will 
   11902 disassemble 
   11903 a single control method.
   11904 
   11905 Code and Data Size: Current and previous core subsystem library sizes are 
   11906 shown below.  These are the code and data sizes for the acpica.lib 
   11907 produced 
   11908 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11909 any ACPI driver or OSPM code.  The debug version of the code includes the 
   11910 debug output trace mechanism and has a much larger code and data size.  
   11911 Note 
   11912 that these values will vary depending on the efficiency of the compiler 
   11913 and 
   11914 the compiler options used during generation.
   11915 
   11916   Previous Release:
   11917     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   11918     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   11919 
   11920   Current Release:
   11921     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   11922     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   11923 
   11924 
   11925 2) iASL Compiler/Disassembler:
   11926 
   11927 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   11928 the 
   11929 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   11930 LLessEqual.
   11931 
   11932 All directory names in the entire source package are lower case, as they 
   11933 were in earlier releases.
   11934 
   11935 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
   11936 not found.
   11937 
   11938 Fixed an issue with the Windows version of the compiler where later 
   11939 versions 
   11940 of Windows place the FADT in the registry under the name "FADT" and not 
   11941 "FACP" as earlier versions did.  This applies when using the -g or -
   11942 d<nofilename> options.  The compiler now looks for both strings as 
   11943 necessary.
   11944 
   11945 Fixed a problem with compiler namepath optimization where a namepath 
   11946 within 
   11947 the Scope() operator could not be optimized if the namepath was a subpath 
   11948 of 
   11949 the current scope path.
   11950 
   11951 ----------------------------------------
   11952 27 May 2004.  Summary of changes for version 20040527:
   11953 
   11954 1) ACPI CA Core Subsystem:
   11955 
   11956 Completed a new design and implementation for EBDA (Extended BIOS Data 
   11957 Area) 
   11958 support in the RSDP scan code.  The original code improperly scanned for 
   11959 the 
   11960 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
   11961 method 
   11962 is to first obtain the EBDA pointer from within the BIOS data area, then 
   11963 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
   11964 if 
   11965 any machines that place the RSDP in the EBDA, however.
   11966 
   11967 Integrated a fix for a possible fault during evaluation of BufferField 
   11968 arguments.  Obsolete code that was causing the problem was removed.
   11969 
   11970 Found and fixed a problem in the Field Support Code where data could be 
   11971 corrupted on a bit field read that starts on an aligned boundary but does 
   11972 not end on an aligned boundary.  Merged the read/write "datum length" 
   11973 calculation code into a common procedure.
   11974 
   11975 Rolled in a couple of changes to the FreeBSD-specific header.
   11976 
   11977 
   11978 Code and Data Size: Current and previous core subsystem library sizes are 
   11979 shown below.  These are the code and data sizes for the acpica.lib 
   11980 produced 
   11981 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11982 any ACPI driver or OSPM code.  The debug version of the code includes the 
   11983 debug output trace mechanism and has a much larger code and data size.  
   11984 Note 
   11985 that these values will vary depending on the efficiency of the compiler 
   11986 and 
   11987 the compiler options used during generation.
   11988 
   11989   Previous Release:
   11990     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   11991     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   11992   Current Release:
   11993     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   11994     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   11995 
   11996 
   11997 2) iASL Compiler/Disassembler:
   11998 
   11999 Fixed a generation warning produced by some overly-verbose compilers for 
   12000 a 
   12001 64-bit constant.
   12002 
   12003 ----------------------------------------
   12004 14 May 2004.  Summary of changes for version 20040514:
   12005 
   12006 1) ACPI CA Core Subsystem:
   12007 
   12008 Fixed a problem where hardware GPE enable bits sometimes not set properly 
   12009 during and after GPE method execution.  Result of 04/27 changes.
   12010 
   12011 Removed extra "clear all GPEs" when sleeping/waking.
   12012 
   12013 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
   12014 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
   12015 to 
   12016 the new AcpiEv* calls as appropriate.
   12017 
   12018 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
   12019 is 
   12020 now "Microsoft Windows NT" for maximum compatibility.  However this can 
   12021 be 
   12022 changed by modifying the acconfig.h file.
   12023 
   12024 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
   12025 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
   12026 
   12027 Run _INI methods on ThermalZone objects.  This is against the ACPI 
   12028 specification, but there is apparently ASL code in the field that has 
   12029 these 
   12030 _INI methods, and apparently "other" AML interpreters execute them.
   12031 
   12032 Performed a full 16/32/64 bit lint that resulted in some small changes.
   12033 
   12034 Added a sleep simulation command to the AML debugger to test sleep code. 
   12035 
   12036 Code and Data Size: Current and previous core subsystem library sizes are 
   12037 shown below.  These are the code and data sizes for the acpica.lib 
   12038 produced 
   12039 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12040 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12041 debug output trace mechanism and has a much larger code and data size.  
   12042 Note 
   12043 that these values will vary depending on the efficiency of the compiler 
   12044 and 
   12045 the compiler options used during generation.
   12046 
   12047   Previous Release:
   12048     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   12049     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   12050   Current Release:
   12051     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   12052     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   12053 
   12054 ----------------------------------------
   12055 27 April 2004.  Summary of changes for version 20040427:
   12056 
   12057 1) ACPI CA Core Subsystem:
   12058 
   12059 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
   12060 now three types of GPEs:  wake-only, runtime-only, and combination 
   12061 wake/run.  
   12062 The only GPEs allowed to be combination wake/run are for button-style 
   12063 devices such as a control-method power button, control-method sleep 
   12064 button, 
   12065 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
   12066 not 
   12067 referenced by any _PRW methods are marked for "runtime" and hardware 
   12068 enabled.  Any GPE that is referenced by a _PRW method is marked for 
   12069 "wake" 
   12070 (and disabled at runtime).  However, at sleep time, only those GPEs that 
   12071 have been specifically enabled for wake via the AcpiEnableGpe interface 
   12072 will 
   12073 actually be hardware enabled.
   12074 
   12075 A new external interface has been added, AcpiSetGpeType(), that is meant 
   12076 to 
   12077 be used by device drivers to force a GPE to a particular type.  It will 
   12078 be 
   12079 especially useful for the drivers for the button devices mentioned above.
   12080 
   12081 Completed restructuring of the ACPI CA initialization sequence so that 
   12082 default operation region handlers are installed before GPEs are 
   12083 initialized 
   12084 and the _PRW methods are executed.  This will prevent errors when the 
   12085 _PRW 
   12086 methods attempt to access system memory or I/O space.
   12087 
   12088 GPE enable/disable no longer reads the GPE enable register.  We now keep 
   12089 the 
   12090 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
   12091 thus no longer depend on the hardware to maintain these bits.
   12092 
   12093 Always clear the wake status and fixed/GPE status bits before sleep, even 
   12094 for state S5.
   12095 
   12096 Improved the AML debugger output for displaying the GPE blocks and their 
   12097 current status.
   12098 
   12099 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
   12100 where 
   12101 x = 0,1,2,3,4.
   12102 
   12103 Fixed a problem where the physical address was incorrectly calculated 
   12104 when 
   12105 the Load() operator was used to directly load from an Operation Region 
   12106 (vs. 
   12107 loading from a Field object.)  Also added check for minimum table length 
   12108 for 
   12109 this case.
   12110 
   12111 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
   12112 mutex release.
   12113 
   12114 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
   12115 consistency with the other fields returned.
   12116 
   12117 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
   12118 structure for each GPE in the system, so the size of this structure is 
   12119 important.
   12120 
   12121 CPU stack requirement reduction:  Cleaned up the method execution and 
   12122 object 
   12123 evaluation paths so that now a parameter structure is passed, instead of 
   12124 copying the various method parameters over and over again.
   12125 
   12126 In evregion.c:  Correctly exit and reenter the interpreter region if and 
   12127 only if dispatching an operation region request to a user-installed 
   12128 handler.  
   12129 Do not exit/reenter when dispatching to a default handler (e.g., default 
   12130 system memory or I/O handlers)
   12131 
   12132 
   12133 Notes for updating drivers for the new GPE support.  The following 
   12134 changes 
   12135 must be made to ACPI-related device drivers that are attached to one or 
   12136 more 
   12137 GPEs: (This information will be added to the ACPI CA Programmer 
   12138 Reference.)
   12139 
   12140 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
   12141 must 
   12142 explicitly call AcpiEnableGpe.
   12143 2) There is a new interface called AcpiSetGpeType. This should be called 
   12144 before enabling the GPE.  Also, this interface will automatically disable 
   12145 the GPE if it is currently enabled.
   12146 3) AcpiEnableGpe no longer supports a GPE type flag.
   12147 
   12148 Specific drivers that must be changed:
   12149 1) EC driver:
   12150     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
   12151 AeGpeHandler, NULL);
   12152     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
   12153     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
   12154 
   12155 2) Button Drivers (Power, Lid, Sleep):
   12156 Run _PRW method under parent device
   12157 If _PRW exists: /* This is a control-method button */
   12158     Extract GPE number and possibly GpeDevice
   12159     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
   12160     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
   12161 
   12162 For all other devices that have _PRWs, we automatically set the GPE type 
   12163 to 
   12164 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
   12165 This 
   12166 must be done on a selective basis, usually requiring some kind of user 
   12167 app 
   12168 to allow the user to pick the wake devices.
   12169 
   12170 
   12171 Code and Data Size: Current and previous core subsystem library sizes are 
   12172 shown below.  These are the code and data sizes for the acpica.lib 
   12173 produced 
   12174 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12175 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12176 debug output trace mechanism and has a much larger code and data size.  
   12177 Note 
   12178 that these values will vary depending on the efficiency of the compiler 
   12179 and 
   12180 the compiler options used during generation.
   12181 
   12182   Previous Release:
   12183     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   12184     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   12185   Current Release:
   12186 
   12187     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   12188     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   12189 
   12190 
   12191 
   12192 ----------------------------------------
   12193 02 April 2004.  Summary of changes for version 20040402:
   12194 
   12195 1) ACPI CA Core Subsystem:
   12196 
   12197 Fixed an interpreter problem where an indirect store through an ArgX 
   12198 parameter was incorrectly applying the "implicit conversion rules" during 
   12199 the store.  From the ACPI specification: "If the target is a method local 
   12200 or 
   12201 argument (LocalX or ArgX), no conversion is performed and the result is 
   12202 stored directly to the target".  The new behavior is to disable implicit 
   12203 conversion during ALL stores to an ArgX.
   12204 
   12205 Changed the behavior of the _PRW method scan to ignore any and all errors 
   12206 returned by a given _PRW.  This prevents the scan from aborting from the 
   12207 failure of any single _PRW.
   12208 
   12209 Moved the runtime configuration parameters from the global init procedure 
   12210 to 
   12211 static variables in acglobal.h.  This will allow the host to override the 
   12212 default values easily.
   12213 
   12214 Code and Data Size: Current and previous core subsystem library sizes are 
   12215 shown below.  These are the code and data sizes for the acpica.lib 
   12216 produced 
   12217 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12218 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12219 debug output trace mechanism and has a much larger code and data size.  
   12220 Note 
   12221 that these values will vary depending on the efficiency of the compiler 
   12222 and 
   12223 the compiler options used during generation.
   12224 
   12225   Previous Release:
   12226     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   12227     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   12228   Current Release:
   12229     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   12230     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   12231 
   12232 
   12233 2) iASL Compiler/Disassembler:
   12234 
   12235 iASL now fully disassembles SSDTs.  However, External() statements are 
   12236 not 
   12237 generated automatically for unresolved symbols at this time.  This is a 
   12238 planned feature for future implementation.
   12239 
   12240 Fixed a scoping problem in the disassembler that occurs when the type of 
   12241 the 
   12242 target of a Scope() operator is overridden.  This problem caused an 
   12243 incorrectly nested internal namespace to be constructed.
   12244 
   12245 Any warnings or errors that are emitted during disassembly are now 
   12246 commented 
   12247 out automatically so that the resulting file can be recompiled without 
   12248 any 
   12249 hand editing.
   12250 
   12251 ----------------------------------------
   12252 26 March 2004.  Summary of changes for version 20040326:
   12253 
   12254 1) ACPI CA Core Subsystem:
   12255 
   12256 Implemented support for "wake" GPEs via interaction between GPEs and the 
   12257 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
   12258 identified as a WAKE GPE and by default will no longer be enabled at 
   12259 runtime.  Previously, we were blindly enabling all GPEs with a 
   12260 corresponding 
   12261 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
   12262 We 
   12263 believe this has been the cause of thousands of "spurious" GPEs on some 
   12264 systems.
   12265 
   12266 This new GPE behavior is can be reverted to the original behavior (enable 
   12267 ALL GPEs at runtime) via a runtime flag.
   12268 
   12269 Fixed a problem where aliased control methods could not access objects 
   12270 properly.  The proper scope within the namespace was not initialized 
   12271 (transferred to the target of the aliased method) before executing the 
   12272 target method.
   12273 
   12274 Fixed a potential race condition on internal object deletion on the 
   12275 return 
   12276 object in AcpiEvaluateObject. 
   12277 
   12278 Integrated a fix for resource descriptors where both _MEM and _MTP were 
   12279 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
   12280 wide, 0x0F instead of 0x03.)
   12281 
   12282 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
   12283 preventing 
   12284 a 
   12285 fault in some cases.
   12286 
   12287 Updated Notify() values for debug statements in evmisc.c
   12288 
   12289 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
   12290 
   12291 Code and Data Size: Current and previous core subsystem library sizes are 
   12292 shown below.  These are the code and data sizes for the acpica.lib 
   12293 produced 
   12294 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12295 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12296 debug output trace mechanism and has a much larger code and data size.  
   12297 Note 
   12298 that these values will vary depending on the efficiency of the compiler 
   12299 and 
   12300 the compiler options used during generation.
   12301 
   12302   Previous Release:
   12303 
   12304     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   12305     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   12306   Current Release:
   12307     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   12308     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   12309 
   12310 ----------------------------------------
   12311 11 March 2004.  Summary of changes for version 20040311:
   12312 
   12313 1) ACPI CA Core Subsystem:
   12314 
   12315 Fixed a problem where errors occurring during the parse phase of control 
   12316 method execution did not abort cleanly.  For example, objects created and 
   12317 installed in the namespace were not deleted.  This caused all subsequent 
   12318 invocations of the method to return the AE_ALREADY_EXISTS exception.
   12319 
   12320 Implemented a mechanism to force a control method to "Serialized" 
   12321 execution 
   12322 if the method attempts to create namespace objects. (The root of the 
   12323 AE_ALREADY_EXISTS problem.)
   12324 
   12325 Implemented support for the predefined _OSI "internal" control method.  
   12326 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
   12327 and 
   12328 "Windows 2001.1", and can be easily upgraded for new strings as 
   12329 necessary.  
   12330 This feature will allow "other" operating systems to execute the fully 
   12331 tested, "Windows" code path through the ASL code
   12332 
   12333 Global Lock Support:  Now allows multiple acquires and releases with any 
   12334 internal thread.  Removed concept of "owning thread" for this special 
   12335 mutex.
   12336 
   12337 Fixed two functions that were inappropriately declaring large objects on 
   12338 the 
   12339 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
   12340 during 
   12341 method execution considerably.
   12342 
   12343 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
   12344 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
   12345 
   12346 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
   12347 defined on the machine.
   12348 
   12349 Implemented two runtime options:  One to force all control method 
   12350 execution 
   12351 to "Serialized" to mimic Windows behavior, another to disable _OSI 
   12352 support 
   12353 if it causes problems on a given machine.
   12354 
   12355 Code and Data Size: Current and previous core subsystem library sizes are 
   12356 shown below.  These are the code and data sizes for the acpica.lib 
   12357 produced 
   12358 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12359 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12360 debug output trace mechanism and has a much larger code and data size.  
   12361 Note 
   12362 that these values will vary depending on the efficiency of the compiler 
   12363 and 
   12364 the compiler options used during generation.
   12365 
   12366   Previous Release:
   12367     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   12368     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   12369   Current Release:
   12370     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   12371     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   12372 
   12373 2) iASL Compiler/Disassembler:
   12374 
   12375 Fixed an array size problem for FreeBSD that would cause the compiler to 
   12376 fault.
   12377 
   12378 ----------------------------------------
   12379 20 February 2004.  Summary of changes for version 20040220:
   12380 
   12381 
   12382 1) ACPI CA Core Subsystem:
   12383 
   12384 Implemented execution of _SxD methods for Device objects in the 
   12385 GetObjectInfo interface.
   12386 
   12387 Fixed calls to _SST method to pass the correct arguments.
   12388 
   12389 Added a call to _SST on wake to restore to "working" state.
   12390 
   12391 Check for End-Of-Buffer failure case in the WalkResources interface.
   12392 
   12393 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
   12394 structures to the beginning of the file.
   12395 
   12396 After wake, clear GPE status register(s) before enabling GPEs.
   12397 
   12398 After wake, clear/enable power button.  (Perhaps we should clear/enable 
   12399 all 
   12400 fixed events upon wake.)
   12401 
   12402 Fixed a couple of possible memory leaks in the Namespace manager.
   12403 
   12404 Integrated latest acnetbsd.h file.
   12405 
   12406 ----------------------------------------
   12407 11 February 2004.  Summary of changes for version 20040211:
   12408 
   12409 
   12410 1) ACPI CA Core Subsystem:
   12411 
   12412 Completed investigation and implementation of the call-by-reference 
   12413 mechanism for control method arguments.
   12414 
   12415 Fixed a problem where a store of an object into an indexed package could 
   12416 fail if the store occurs within a different method than the method that 
   12417 created the package.
   12418 
   12419 Fixed a problem where the ToDecimal operator could return incorrect 
   12420 results.
   12421 
   12422 Fixed a problem where the CopyObject operator could fail on some of the 
   12423 more 
   12424 obscure objects (e.g., Reference objects.)
   12425 
   12426 Improved the output of the Debug object to display buffer, package, and 
   12427 index objects.
   12428 
   12429 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
   12430 return 
   12431 the expected result.
   12432 
   12433 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
   12434 ACPI_AML_INTERNAL exception.
   12435 
   12436 Integrated latest version of acfreebsd.h
   12437 
   12438 ----------------------------------------
   12439 16 January 2004.  Summary of changes for version 20040116:
   12440 
   12441 The purpose of this release is primarily to update the copyright years in 
   12442 each module, thus causing a huge number of diffs.  There are a few small 
   12443 functional changes, however.
   12444 
   12445 1) ACPI CA Core Subsystem:
   12446 
   12447 Improved error messages when there is a problem finding one or more of 
   12448 the 
   12449 required base ACPI tables
   12450 
   12451 Reintroduced the definition of APIC_HEADER in actbl.h
   12452 
   12453 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
   12454 
   12455 Removed extraneous reference to NewObj in dsmthdat.c
   12456 
   12457 2) iASL compiler
   12458 
   12459 Fixed a problem introduced in December that disabled the correct 
   12460 disassembly 
   12461 of Resource Templates
   12462 
   12463 
   12464 ----------------------------------------
   12465 03 December 2003.  Summary of changes for version 20031203:
   12466 
   12467 1) ACPI CA Core Subsystem:
   12468 
   12469 Changed the initialization of Operation Regions during subsystem
   12470 init to perform two entire walks of the ACPI namespace; The first
   12471 to initialize the regions themselves, the second to execute the
   12472 _REG methods.  This fixed some interdependencies across _REG
   12473 methods found on some machines.
   12474 
   12475 Fixed a problem where a Store(Local0, Local1) could simply update
   12476 the object reference count, and not create a new copy of the
   12477 object if the Local1 is uninitialized.
   12478 
   12479 Implemented support for the _SST reserved method during sleep
   12480 transitions.
   12481 
   12482 Implemented support to clear the SLP_TYP and SLP_EN bits when
   12483 waking up, this is apparently required by some machines.
   12484 
   12485 When sleeping, clear the wake status only if SleepState is not S5.
   12486 
   12487 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
   12488 pointer arithmetic advanced a string pointer too far.
   12489 
   12490 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
   12491 could be returned if the requested table has not been loaded.
   12492 
   12493 Within the support for IRQ resources, restructured the handling of
   12494 the active and edge/level bits.
   12495 
   12496 Fixed a few problems in AcpiPsxExecute() where memory could be
   12497 leaked under certain error conditions.
   12498 
   12499 Improved error messages for the cases where the ACPI mode could
   12500 not be entered.
   12501 
   12502 Code and Data Size: Current and previous core subsystem library
   12503 sizes are shown below.  These are the code and data sizes for the
   12504 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   12505 these values do not include any ACPI driver or OSPM code.  The
   12506 debug version of the code includes the debug output trace
   12507 mechanism and has a much larger code and data size.  Note that
   12508 these values will vary depending on the efficiency of the compiler
   12509 and the compiler options used during generation.
   12510 
   12511   Previous Release (20031029):
   12512     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   12513     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   12514   Current Release:
   12515     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   12516     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   12517 
   12518 2) iASL Compiler/Disassembler:
   12519 
   12520 Implemented a fix for the iASL disassembler where a bad index was
   12521 generated.  This was most noticeable on 64-bit platforms
   12522 
   12523 
   12524 ----------------------------------------
   12525 29 October 2003.  Summary of changes for version 20031029:
   12526 
   12527 1) ACPI CA Core Subsystem:
   12528 
   12529 
   12530 Fixed a problem where a level-triggered GPE with an associated
   12531 _Lxx control method was incorrectly cleared twice.
   12532 
   12533 Fixed a problem with the Field support code where an access can
   12534 occur beyond the end-of-region if the field is non-aligned but
   12535 extends to the very end of the parent region (resulted in an
   12536 AE_AML_REGION_LIMIT exception.)
   12537 
   12538 Fixed a problem with ACPI Fixed Events where an RT Clock handler
   12539 would not get invoked on an RTC event.  The RTC event bitmasks for
   12540 the PM1 registers were not being initialized properly.
   12541 
   12542 Implemented support for executing _STA and _INI methods for
   12543 Processor objects.  Although this is currently not part of the
   12544 ACPI specification, there is existing ASL code that depends on the
   12545 init-time execution of these methods.
   12546 
   12547 Implemented and deployed a GetDescriptorName function to decode
   12548 the various types of internal descriptors.  Guards against null
   12549 descriptors during debug output also.
   12550 
   12551 Implemented and deployed a GetNodeName function to extract the 4-
   12552 character namespace node name.  This function simplifies the debug
   12553 and error output, as well as guarding against null pointers during
   12554 output.
   12555 
   12556 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
   12557 simplify the debug and error output of 64-bit integers.  This
   12558 macro replaces the HIDWORD and LODWORD macros for dumping these
   12559 integers.
   12560 
   12561 Updated the implementation of the Stall() operator to only call
   12562 AcpiOsStall(), and also return an error if the operand is larger
   12563 than 255.  This preserves the required behavior of not
   12564 relinquishing the processor, as would happen if AcpiOsSleep() was
   12565 called for "long stalls".
   12566 
   12567 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
   12568 initialized are now treated as NOOPs.
   12569 
   12570 Cleaned up a handful of warnings during 64-bit generation.
   12571 
   12572 Fixed a reported error where and incorrect GPE number was passed
   12573 to the GPE dispatch handler.  This value is only used for error
   12574 output, however.  Used this opportunity to clean up and streamline
   12575 the GPE dispatch code.
   12576 
   12577 Code and Data Size: Current and previous core subsystem library
   12578 sizes are shown below.  These are the code and data sizes for the
   12579 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   12580 these values do not include any ACPI driver or OSPM code.  The
   12581 
   12582 debug version of the code includes the debug output trace
   12583 mechanism and has a much larger code and data size.  Note that
   12584 these values will vary depending on the efficiency of the compiler
   12585 and the compiler options used during generation.
   12586 
   12587   Previous Release (20031002):
   12588     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   12589     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   12590   Current Release:
   12591     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   12592     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   12593 
   12594 
   12595 2) iASL Compiler/Disassembler:
   12596 
   12597 Updated the iASL compiler to return an error if the operand to the
   12598 Stall() operator is larger than 255.
   12599 
   12600 
   12601 ----------------------------------------
   12602 02 October 2003.  Summary of changes for version 20031002:
   12603 
   12604 
   12605 1) ACPI CA Core Subsystem:
   12606 
   12607 Fixed a problem with Index Fields where the index was not
   12608 incremented for fields that require multiple writes to the
   12609 index/data registers (Fields that are wider than the data
   12610 register.)
   12611 
   12612 Fixed a problem with all Field objects where a write could go
   12613 beyond the end-of-field if the field was larger than the access
   12614 granularity and therefore required multiple writes to complete the
   12615 request.  An extra write beyond the end of the field could happen
   12616 inadvertently.
   12617 
   12618 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
   12619 would incorrectly be returned if the width of the Data Register
   12620 was larger than the specified field access width.
   12621 
   12622 Completed fixes for LoadTable() and Unload() and verified their
   12623 operation.  Implemented full support for the "DdbHandle" object
   12624 throughout the ACPI CA subsystem.
   12625 
   12626 Implemented full support for the MADT and ECDT tables in the ACPI
   12627 CA header files.  Even though these tables are not directly
   12628 consumed by ACPI CA, the header definitions are useful for ACPI
   12629 device drivers.
   12630 
   12631 Integrated resource descriptor fixes posted to the Linux ACPI
   12632 list.  This included checks for minimum descriptor length, and
   12633 support for trailing NULL strings within descriptors that have
   12634 optional string elements.
   12635 
   12636 Code and Data Size: Current and previous core subsystem library
   12637 sizes are shown below.  These are the code and data sizes for the
   12638 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   12639 these values do not include any ACPI driver or OSPM code.  The
   12640 debug version of the code includes the debug output trace
   12641 mechanism and has a much larger code and data size.  Note that
   12642 these values will vary depending on the efficiency of the compiler
   12643 and the compiler options used during generation.
   12644 
   12645   Previous Release (20030918):
   12646     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   12647     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   12648   Current Release:
   12649     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   12650     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   12651 
   12652 
   12653 2) iASL Compiler:
   12654 
   12655 Implemented detection of non-ASCII characters within the input
   12656 source ASL file.  This catches attempts to compile binary (AML)
   12657 files early in the compile, with an informative error message.
   12658 
   12659 Fixed a problem where the disassembler would fault if the output
   12660 filename could not be generated or if the output file could not be
   12661 opened.
   12662 
   12663 ----------------------------------------
   12664 18 September 2003.  Summary of changes for version 20030918:
   12665 
   12666 
   12667 1) ACPI CA Core Subsystem:
   12668 
   12669 Found and fixed a longstanding problem with the late execution of
   12670 the various deferred AML opcodes (such as Operation Regions,
   12671 Buffer Fields, Buffers, and Packages).  If the name string
   12672 specified for the name of the new object placed the object in a
   12673 scope other than the current scope, the initialization/execution
   12674 of the opcode failed.  The solution to this problem was to
   12675 implement a mechanism where the late execution of such opcodes
   12676 does not attempt to lookup/create the name a second time in an
   12677 incorrect scope.  This fixes the "region size computed
   12678 incorrectly" problem.
   12679 
   12680 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
   12681 Global Lock AE_BAD_PARAMETER error.
   12682 
   12683 Fixed several 64-bit issues with prototypes, casting and data
   12684 types.
   12685 
   12686 Removed duplicate prototype from acdisasm.h
   12687 
   12688 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
   12689 
   12690 Code and Data Size: Current and previous core subsystem library
   12691 sizes are shown below.  These are the code and data sizes for the
   12692 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   12693 these values do not include any ACPI driver or OSPM code.  The
   12694 debug version of the code includes the debug output trace
   12695 mechanism and has a much larger code and data size.  Note that
   12696 these values will vary depending on the efficiency of the compiler
   12697 and the compiler options used during generation.
   12698 
   12699   Previous Release:
   12700 
   12701     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   12702     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   12703   Current Release:
   12704     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   12705     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   12706 
   12707 
   12708 2) Linux:
   12709 
   12710 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
   12711 correct sleep time in seconds.
   12712 
   12713 ----------------------------------------
   12714 14 July 2003.  Summary of changes for version 20030619:
   12715 
   12716 1) ACPI CA Core Subsystem:
   12717 
   12718 Parse SSDTs in order discovered, as opposed to reverse order
   12719 (Hrvoje Habjanic)
   12720 
   12721 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
   12722 Klausner,
   12723    Nate Lawson)
   12724 
   12725 
   12726 2) Linux:
   12727 
   12728 Dynamically allocate SDT list (suggested by Andi Kleen)
   12729 
   12730 proc function return value cleanups (Andi Kleen)
   12731 
   12732 Correctly handle NMI watchdog during long stalls (Andrew Morton)
   12733 
   12734 Make it so acpismp=force works (reported by Andrew Morton)
   12735 
   12736 
   12737 ----------------------------------------
   12738 19 June 2003.  Summary of changes for version 20030619:
   12739 
   12740 1) ACPI CA Core Subsystem:
   12741 
   12742 Fix To/FromBCD, eliminating the need for an arch-specific #define.
   12743 
   12744 Do not acquire a semaphore in the S5 shutdown path.
   12745 
   12746 Fix ex_digits_needed for 0. (Takayoshi Kochi)
   12747 
   12748 Fix sleep/stall code reversal. (Andi Kleen)
   12749 
   12750 Revert a change having to do with control method calling
   12751 semantics.
   12752 
   12753 2) Linux:
   12754 
   12755 acpiphp update (Takayoshi Kochi)
   12756 
   12757 Export acpi_disabled for sonypi (Stelian Pop)
   12758 
   12759 Mention acpismp=force in config help
   12760 
   12761 Re-add acpitable.c and acpismp=force. This improves backwards
   12762 
   12763 compatibility and also cleans up the code to a significant degree.
   12764 
   12765 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
   12766 
   12767 ----------------------------------------
   12768 22 May 2003.  Summary of changes for version 20030522:
   12769 
   12770 1) ACPI CA Core Subsystem:
   12771 
   12772 Found and fixed a reported problem where an AE_NOT_FOUND error
   12773 occurred occasionally during _BST evaluation.  This turned out to
   12774 be an Owner ID allocation issue where a called method did not get
   12775 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
   12776 ID UINT16 would wraparound so that the ID would be the same as the
   12777 caller's and the called method would delete the caller's
   12778 namespace.
   12779 
   12780 Implemented extended error reporting for control methods that are
   12781 aborted due to a run-time exception.  Output includes the exact
   12782 AML instruction that caused the method abort, a dump of the method
   12783 locals and arguments at the time of the abort, and a trace of all
   12784 nested control method calls.
   12785 
   12786 Modified the interpreter to allow the creation of buffers of zero
   12787 length from the AML code. Implemented new code to ensure that no
   12788 attempt is made to actually allocate a memory buffer (of length
   12789 zero) - instead, a simple buffer object with a NULL buffer pointer
   12790 and length zero is created.  A warning is no longer issued when
   12791 the AML attempts to create a zero-length buffer.
   12792 
   12793 Implemented a workaround for the "leading asterisk issue" in
   12794 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
   12795 asterisk is automatically removed if present in any HID, UID, or
   12796 CID strings.  The iASL compiler will still flag this asterisk as
   12797 an error, however.
   12798 
   12799 Implemented full support for _CID methods that return a package of
   12800 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
   12801 now additionally returns a device _CID list if present.  This
   12802 required a change to the external interface in order to pass an
   12803 ACPI_BUFFER object as a parameter since the _CID list is of
   12804 variable length.
   12805 
   12806 Fixed a problem with the new AE_SAME_HANDLER exception where
   12807 handler initialization code did not know about this exception.
   12808 
   12809 Code and Data Size: Current and previous core subsystem library
   12810 sizes are shown below.  These are the code and data sizes for the
   12811 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   12812 these values do not include any ACPI driver or OSPM code.  The
   12813 debug version of the code includes the debug output trace
   12814 mechanism and has a much larger code and data size.  Note that
   12815 these values will vary depending on the efficiency of the compiler
   12816 and the compiler options used during generation.
   12817 
   12818   Previous Release (20030509):
   12819     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   12820     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   12821   Current Release:
   12822     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   12823     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   12824 
   12825 
   12826 2) Linux:
   12827 
   12828 Fixed a bug in which we would reinitialize the ACPI interrupt
   12829 after it was already working, thus disabling all ACPI and the IRQs
   12830 for any other device sharing the interrupt. (Thanks to Stian
   12831 Jordet)
   12832 
   12833 Toshiba driver update (John Belmonte)
   12834 
   12835 Return only 0 or 1 for our interrupt handler status (Andrew
   12836 Morton)
   12837 
   12838 
   12839 3) iASL Compiler:
   12840 
   12841 Fixed a reported problem where multiple (nested) ElseIf()
   12842 statements were not handled correctly by the compiler, resulting
   12843 in incorrect warnings and incorrect AML code.  This was a problem
   12844 in both the ASL parser and the code generator.
   12845 
   12846 
   12847 4) Documentation:
   12848 
   12849 Added changes to existing interfaces, new exception codes, and new
   12850 text concerning reference count object management versus garbage
   12851 collection.
   12852 
   12853 ----------------------------------------
   12854 09 May 2003.  Summary of changes for version 20030509.
   12855 
   12856 
   12857 1) ACPI CA Core Subsystem:
   12858 
   12859 Changed the subsystem initialization sequence to hold off
   12860 installation of address space handlers until the hardware has been
   12861 initialized and the system has entered ACPI mode.  This is because
   12862 the installation of space handlers can cause _REG methods to be
   12863 run.  Previously, the _REG methods could potentially be run before
   12864 ACPI mode was enabled.
   12865 
   12866 Fixed some memory leak issues related to address space handler and
   12867 notify handler installation.  There were some problems with the
   12868 reference count mechanism caused by the fact that the handler
   12869 objects are shared across several namespace objects.
   12870 
   12871 Fixed a reported problem where reference counts within the
   12872 namespace were not properly updated when named objects created by
   12873 method execution were deleted.
   12874 
   12875 Fixed a reported problem where multiple SSDTs caused a deletion
   12876 issue during subsystem termination.  Restructured the table data
   12877 structures to simplify the linked lists and the related code.
   12878 
   12879 Fixed a problem where the table ID associated with secondary
   12880 tables (SSDTs) was not being propagated into the namespace objects
   12881 created by those tables.  This would only present a problem for
   12882 tables that are unloaded at run-time, however.
   12883 
   12884 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
   12885 type as the length parameter (instead of UINT32).
   12886 
   12887 Solved a long-standing problem where an ALREADY_EXISTS error
   12888 appears on various systems.  This problem could happen when there
   12889 are multiple PCI_Config operation regions under a single PCI root
   12890 bus.  This doesn't happen very frequently, but there are some
   12891 systems that do this in the ASL.
   12892 
   12893 Fixed a reported problem where the internal DeleteNode function
   12894 was incorrectly handling the case where a namespace node was the
   12895 first in the parent's child list, and had additional peers (not
   12896 the only child, but first in the list of children.)
   12897 
   12898 Code and Data Size: Current core subsystem library sizes are shown
   12899 below.  These are the code and data sizes for the acpica.lib
   12900 produced by the Microsoft Visual C++ 6.0 compiler, and these
   12901 values do not include any ACPI driver or OSPM code.  The debug
   12902 version of the code includes the debug output trace mechanism and
   12903 has a much larger code and data size.  Note that these values will
   12904 vary depending on the efficiency of the compiler and the compiler
   12905 options used during generation.
   12906 
   12907   Previous Release
   12908     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   12909     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   12910   Current Release:
   12911     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   12912     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   12913 
   12914 
   12915 2) Linux:
   12916 
   12917 Allow ":" in OS override string (Ducrot Bruno)
   12918 
   12919 Kobject fix (Greg KH)
   12920 
   12921 
   12922 3 iASL Compiler/Disassembler:
   12923 
   12924 Fixed a problem in the generation of the C source code files (AML
   12925 is emitted in C source statements for BIOS inclusion) where the
   12926 Ascii dump that appears within a C comment at the end of each line
   12927 could cause a compile time error if the AML sequence happens to
   12928 have an open comment or close comment sequence embedded.
   12929 
   12930 
   12931 ----------------------------------------
   12932 24 April 2003.  Summary of changes for version 20030424.
   12933 
   12934 
   12935 1) ACPI CA Core Subsystem:
   12936 
   12937 Support for big-endian systems has been implemented.  Most of the
   12938 support has been invisibly added behind big-endian versions of the
   12939 ACPI_MOVE_* macros.
   12940 
   12941 Fixed a problem in AcpiHwDisableGpeBlock() and
   12942 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
   12943 low level hardware write routine.  The offset parameter was
   12944 actually eliminated from the low level read/write routines because
   12945 they had become obsolete.
   12946 
   12947 Fixed a problem where a handler object was deleted twice during
   12948 the removal of a fixed event handler.
   12949 
   12950 
   12951 2) Linux:
   12952 
   12953 A fix for SMP systems with link devices was contributed by
   12954 
   12955 Compaq's Dan Zink.
   12956 
   12957 (2.5) Return whether we handled the interrupt in our IRQ handler.
   12958 (Linux ISRs no longer return void, so we can propagate the handler
   12959 return value from the ACPI CA core back to the OS.)
   12960 
   12961 
   12962 
   12963 3) Documentation:
   12964 
   12965 The ACPI CA Programmer Reference has been updated to reflect new
   12966 interfaces and changes to existing interfaces.
   12967 
   12968 ----------------------------------------
   12969 28 March 2003.  Summary of changes for version 20030328.
   12970 
   12971 1) ACPI CA Core Subsystem:
   12972 
   12973 The GPE Block Device support has been completed.  New interfaces
   12974 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
   12975 interfaces (enable, disable, clear, getstatus) have been split
   12976 into separate interfaces for Fixed Events and General Purpose
   12977 Events (GPEs) in order to support GPE Block Devices properly.
   12978 
   12979 Fixed a problem where the error message "Failed to acquire
   12980 semaphore" would appear during operations on the embedded
   12981 controller (EC).
   12982 
   12983 Code and Data Size: Current core subsystem library sizes are shown
   12984 below.  These are the code and data sizes for the acpica.lib
   12985 produced by the Microsoft Visual C++ 6.0 compiler, and these
   12986 values do not include any ACPI driver or OSPM code.  The debug
   12987 version of the code includes the debug output trace mechanism and
   12988 has a much larger code and data size.  Note that these values will
   12989 vary depending on the efficiency of the compiler and the compiler
   12990 options used during generation.
   12991 
   12992   Previous Release
   12993     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   12994     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   12995   Current Release:
   12996     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   12997     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   12998 
   12999 
   13000 ----------------------------------------
   13001 28 February 2003.  Summary of changes for version 20030228.
   13002 
   13003 
   13004 1) ACPI CA Core Subsystem:
   13005 
   13006 The GPE handling and dispatch code has been completely overhauled
   13007 in preparation for support of GPE Block Devices (ID ACPI0006).
   13008 This affects internal data structures and code only; there should
   13009 be no differences visible externally.  One new file has been
   13010 added, evgpeblk.c
   13011 
   13012 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
   13013 fields that are used to determine the GPE block lengths.  The
   13014 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
   13015 structures are ignored.  This is per the ACPI specification but it
   13016 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
   13017 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
   13018 
   13019 In the SCI interrupt handler, removed the read of the PM1_CONTROL
   13020 register to look at the SCI_EN bit.  On some machines, this read
   13021 causes an SMI event and greatly slows down SCI events.  (This may
   13022 in fact be the cause of slow battery status response on some
   13023 systems.)
   13024 
   13025 Fixed a problem where a store of a NULL string to a package object
   13026 could cause the premature deletion of the object.  This was seen
   13027 during execution of the battery _BIF method on some systems,
   13028 resulting in no battery data being returned.
   13029 
   13030 Added AcpiWalkResources interface to simplify parsing of resource
   13031 lists.
   13032 
   13033 Code and Data Size: Current core subsystem library sizes are shown
   13034 below.  These are the code and data sizes for the acpica.lib
   13035 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13036 values do not include any ACPI driver or OSPM code.  The debug
   13037 version of the code includes the debug output trace mechanism and
   13038 has a much larger code and data size.  Note that these values will
   13039 vary depending on the efficiency of the compiler and the compiler
   13040 options used during generation.
   13041 
   13042   Previous Release
   13043     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   13044     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   13045   Current Release:
   13046     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   13047     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   13048 
   13049 
   13050 2) Linux
   13051 
   13052 S3 fixes (Ole Rohne)
   13053 
   13054 Update ACPI PHP driver with to use new acpi_walk_resource API
   13055 (Bjorn Helgaas)
   13056 
   13057 Add S4BIOS support (Pavel Machek)
   13058 
   13059 Map in entire table before performing checksum (John Stultz)
   13060 
   13061 Expand the mem= cmdline to allow the specification of reserved and
   13062 ACPI DATA blocks (Pavel Machek)
   13063 
   13064 Never use ACPI on VISWS
   13065 
   13066 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
   13067 
   13068 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
   13069 causing us to think that some systems support C2 when they really
   13070 don't.
   13071 
   13072 Do not count processor objects for non-present CPUs (Thanks to
   13073 Dominik Brodowski)
   13074 
   13075 
   13076 3) iASL Compiler:
   13077 
   13078 Fixed a problem where ASL include files could not be found and
   13079 opened.
   13080 
   13081 Added support for the _PDC reserved name.
   13082 
   13083 
   13084 ----------------------------------------
   13085 22 January 2003.  Summary of changes for version 20030122.
   13086 
   13087 
   13088 1) ACPI CA Core Subsystem:
   13089 
   13090 Added a check for constructs of the form:  Store (Local0, Local0)
   13091 where Local0 is not initialized.  Apparently, some BIOS
   13092 programmers believe that this is a NOOP.  Since this store doesn't
   13093 do anything anyway, the new prototype behavior will ignore this
   13094 error.  This is a case where we can relax the strict checking in
   13095 the interpreter in the name of compatibility.
   13096 
   13097 
   13098 2) Linux
   13099 
   13100 The AcpiSrc Source Conversion Utility has been released with the
   13101 Linux package for the first time.  This is the utility that is
   13102 used to convert the ACPI CA base source code to the Linux version.
   13103 
   13104 (Both) Handle P_BLK lengths shorter than 6 more gracefully
   13105 
   13106 (Both) Move more headers to include/acpi, and delete an unused
   13107 header.
   13108 
   13109 (Both) Move drivers/acpi/include directory to include/acpi
   13110 
   13111 (Both) Boot functions don't use cmdline, so don't pass it around
   13112 
   13113 (Both) Remove include of unused header (Adrian Bunk)
   13114 
   13115 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
   13116 the
   13117 former now also includes the latter, acpiphp.h only needs the one,
   13118 now.
   13119 
   13120 (2.5) Make it possible to select method of bios restoring after S3
   13121 resume. [=> no more ugly ifdefs] (Pavel Machek)
   13122 
   13123 (2.5) Make proc write interfaces work (Pavel Machek)
   13124 
   13125 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
   13126 
   13127 (2.5) Break out ACPI Perf code into its own module, under cpufreq
   13128 (Dominik Brodowski)
   13129 
   13130 (2.4) S4BIOS support (Ducrot Bruno)
   13131 
   13132 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
   13133 Visinoni)
   13134 
   13135 
   13136 3) iASL Compiler:
   13137 
   13138 Added support to disassemble SSDT and PSDTs.
   13139 
   13140 Implemented support to obtain SSDTs from the Windows registry if
   13141 available.
   13142 
   13143 
   13144 ----------------------------------------
   13145 09 January 2003.  Summary of changes for version 20030109.
   13146 
   13147 1) ACPI CA Core Subsystem:
   13148 
   13149 Changed the behavior of the internal Buffer-to-String conversion
   13150 function.  The current ACPI specification states that the contents
   13151 of the buffer are "converted to a string of two-character
   13152 hexadecimal numbers, each separated by a space".  Unfortunately,
   13153 this definition is not backwards compatible with existing ACPI 1.0
   13154 implementations (although the behavior was not defined in the ACPI
   13155 1.0 specification).  The new behavior simply copies data from the
   13156 buffer to the string until a null character is found or the end of
   13157 the buffer is reached.  The new String object is always null
   13158 terminated.  This problem was seen during the generation of _BIF
   13159 battery data where incorrect strings were returned for battery
   13160 type, etc.  This will also require an errata to the ACPI
   13161 specification.
   13162 
   13163 Renamed all instances of NATIVE_UINT and NATIVE_INT to
   13164 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
   13165 
   13166 Copyright in all module headers (both Linux and non-Linux) has be
   13167 updated to 2003.
   13168 
   13169 Code and Data Size: Current core subsystem library sizes are shown
   13170 below.  These are the code and data sizes for the acpica.lib
   13171 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13172 values do not include any ACPI driver or OSPM code.  The debug
   13173 version of the code includes the debug output trace mechanism and
   13174 has a much larger code and data size.  Note that these values will
   13175 vary depending on the efficiency of the compiler and the compiler
   13176 options used during generation.
   13177 
   13178   Previous Release
   13179     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   13180     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   13181   Current Release:
   13182     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   13183     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   13184 
   13185 
   13186 2) Linux
   13187 
   13188 Fixed an oops on module insertion/removal (Matthew Tippett)
   13189 
   13190 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
   13191 
   13192 (2.5) Replace pr_debug (Randy Dunlap)
   13193 
   13194 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
   13195 
   13196 (Both) Eliminate spawning of thread from timer callback, in favor
   13197 of schedule_work()
   13198 
   13199 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
   13200 
   13201 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
   13202 
   13203 (Both) Add missing statics to button.c (Pavel Machek)
   13204 
   13205 Several changes have been made to the source code translation
   13206 utility that generates the Linux Code in order to make the code
   13207 more "Linux-like":
   13208 
   13209 All typedefs on structs and unions have been removed in keeping
   13210 with the Linux coding style.
   13211 
   13212 Removed the non-Linux SourceSafe module revision number from each
   13213 module header.
   13214 
   13215 Completed major overhaul of symbols to be lowercased for linux.
   13216 Doubled the number of symbols that are lowercased.
   13217 
   13218 Fixed a problem where identifiers within procedure headers and
   13219 within quotes were not fully lower cased (they were left with a
   13220 starting capital.)
   13221 
   13222 Some C macros whose only purpose is to allow the generation of 16-
   13223 bit code are now completely removed in the Linux code, increasing
   13224 readability and maintainability.
   13225 
   13226 ----------------------------------------
   13227 
   13228 12 December 2002.  Summary of changes for version 20021212.
   13229 
   13230 
   13231 1) ACPI CA Core Subsystem:
   13232 
   13233 Fixed a problem where the creation of a zero-length AML Buffer
   13234 would cause a fault.
   13235 
   13236 Fixed a problem where a Buffer object that pointed to a static AML
   13237 buffer (in an ACPI table) could inadvertently be deleted, causing
   13238 memory corruption.
   13239 
   13240 Fixed a problem where a user buffer (passed in to the external
   13241 ACPI CA interfaces) could be overwritten if the buffer was too
   13242 small to complete the operation, causing memory corruption.
   13243 
   13244 Fixed a problem in the Buffer-to-String conversion code where a
   13245 string of length one was always returned, regardless of the size
   13246 of the input Buffer object.
   13247 
   13248 Removed the NATIVE_CHAR data type across the entire source due to
   13249 lack of need and lack of consistent use.
   13250 
   13251 Code and Data Size: Current core subsystem library sizes are shown
   13252 below.  These are the code and data sizes for the acpica.lib
   13253 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13254 values do not include any ACPI driver or OSPM code.  The debug
   13255 version of the code includes the debug output trace mechanism and
   13256 has a much larger code and data size.  Note that these values will
   13257 vary depending on the efficiency of the compiler and the compiler
   13258 options used during generation.
   13259 
   13260   Previous Release
   13261     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   13262     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   13263   Current Release:
   13264     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   13265     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   13266 
   13267 
   13268 ----------------------------------------
   13269 05 December 2002.  Summary of changes for version 20021205.
   13270 
   13271 1) ACPI CA Core Subsystem:
   13272 
   13273 Fixed a problem where a store to a String or Buffer object could
   13274 cause corruption of the DSDT if the object type being stored was
   13275 the same as the target object type and the length of the object
   13276 being stored was equal to or smaller than the original (existing)
   13277 target object.  This was seen to cause corruption of battery _BIF
   13278 buffers if the _BIF method modified the buffer on the fly.
   13279 
   13280 Fixed a problem where an internal error was generated if a control
   13281 method invocation was used in an OperationRegion, Buffer, or
   13282 Package declaration.  This was caused by the deferred parsing of
   13283 the control method and thus the deferred creation of the internal
   13284 method object.  The solution to this problem was to create the
   13285 internal method object at the moment the method is encountered in
   13286 the first pass - so that subsequent references to the method will
   13287 able to obtain the required parameter count and thus properly
   13288 parse the method invocation.  This problem presented itself as an
   13289 AE_AML_INTERNAL during the pass 1 parse phase during table load.
   13290 
   13291 Fixed a problem where the internal String object copy routine did
   13292 not always allocate sufficient memory for the target String object
   13293 and caused memory corruption.  This problem was seen to cause
   13294 "Allocation already present in list!" errors as memory allocation
   13295 became corrupted.
   13296 
   13297 Implemented a new function for the evaluation of namespace objects
   13298 that allows the specification of the allowable return object
   13299 types.  This simplifies a lot of code that checks for a return
   13300 object of one or more specific objects returned from the
   13301 evaluation (such as _STA, etc.)  This may become and external
   13302 function if it would be useful to ACPI-related drivers.
   13303 
   13304 Completed another round of prefixing #defines with "ACPI_" for
   13305 clarity.
   13306 
   13307 Completed additional code restructuring to allow more modular
   13308 linking for iASL compiler and AcpiExec.  Several files were split
   13309 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
   13310 
   13311 Implemented an abort mechanism to terminate an executing control
   13312 method via the AML debugger.  This feature is useful for debugging
   13313 control methods that depend (wait) for specific hardware
   13314 responses.
   13315 
   13316 Code and Data Size: Current core subsystem library sizes are shown
   13317 below.  These are the code and data sizes for the acpica.lib
   13318 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13319 values do not include any ACPI driver or OSPM code.  The debug
   13320 version of the code includes the debug output trace mechanism and
   13321 has a much larger code and data size.  Note that these values will
   13322 vary depending on the efficiency of the compiler and the compiler
   13323 options used during generation.
   13324 
   13325   Previous Release
   13326     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   13327     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   13328   Current Release:
   13329     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   13330     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   13331 
   13332 
   13333 2) iASL Compiler/Disassembler
   13334 
   13335 Fixed a compiler code generation problem for "Interrupt" Resource
   13336 Descriptors.  If specified in the ASL, the optional "Resource
   13337 Source Index" and "Resource Source" fields were not inserted into
   13338 the correct location within the AML resource descriptor, creating
   13339 an invalid descriptor.
   13340 
   13341 Fixed a disassembler problem for "Interrupt" resource descriptors.
   13342 The optional "Resource Source Index" and "Resource Source" fields
   13343 were ignored.
   13344 
   13345 
   13346 ----------------------------------------
   13347 22 November 2002.  Summary of changes for version 20021122.
   13348 
   13349 
   13350 1) ACPI CA Core Subsystem:
   13351 
   13352 Fixed a reported problem where an object stored to a Method Local
   13353 or Arg was not copied to a new object during the store - the
   13354 object pointer was simply copied to the Local/Arg.  This caused
   13355 all subsequent operations on the Local/Arg to also affect the
   13356 original source of the store operation.
   13357 
   13358 Fixed a problem where a store operation to a Method Local or Arg
   13359 was not completed properly if the Local/Arg contained a reference
   13360 (from RefOf) to a named field.  The general-purpose store-to-
   13361 namespace-node code is now used so that this case is handled
   13362 automatically.
   13363 
   13364 Fixed a problem where the internal object copy routine would cause
   13365 a protection fault if the object being copied was a Package and
   13366 contained either 1) a NULL package element or 2) a nested sub-
   13367 package.
   13368 
   13369 Fixed a problem with the GPE initialization that resulted from an
   13370 ambiguity in the ACPI specification.  One section of the
   13371 specification states that both the address and length of the GPE
   13372 block must be zero if the block is not supported.  Another section
   13373 implies that only the address need be zero if the block is not
   13374 supported.  The code has been changed so that both the address and
   13375 the length must be non-zero to indicate a valid GPE block (i.e.,
   13376 if either the address or the length is zero, the GPE block is
   13377 invalid.)
   13378 
   13379 Code and Data Size: Current core subsystem library sizes are shown
   13380 below.  These are the code and data sizes for the acpica.lib
   13381 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13382 values do not include any ACPI driver or OSPM code.  The debug
   13383 version of the code includes the debug output trace mechanism and
   13384 has a much larger code and data size.  Note that these values will
   13385 vary depending on the efficiency of the compiler and the compiler
   13386 options used during generation.
   13387 
   13388   Previous Release
   13389     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   13390     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   13391   Current Release:
   13392     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   13393     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   13394 
   13395 
   13396 2) Linux
   13397 
   13398 Cleaned up EC driver. Exported an external EC read/write
   13399 interface. By going through this, other drivers (most notably
   13400 sonypi) will be able to serialize access to the EC.
   13401 
   13402 
   13403 3) iASL Compiler/Disassembler
   13404 
   13405 Implemented support to optionally generate include files for both
   13406 ASM and C (the -i switch).  This simplifies BIOS development by
   13407 automatically creating include files that contain external
   13408 declarations for the symbols that are created within the
   13409 
   13410 (optionally generated) ASM and C AML source files.
   13411 
   13412 
   13413 ----------------------------------------
   13414 15 November 2002.  Summary of changes for version 20021115.
   13415 
   13416 1) ACPI CA Core Subsystem:
   13417 
   13418 Fixed a memory leak problem where an error during resolution of
   13419 
   13420 method arguments during a method invocation from another method
   13421 failed to cleanup properly by deleting all successfully resolved
   13422 argument objects.
   13423 
   13424 Fixed a problem where the target of the Index() operator was not
   13425 correctly constructed if the source object was a package.  This
   13426 problem has not been detected because the use of a target operand
   13427 with Index() is very rare.
   13428 
   13429 Fixed a problem with the Index() operator where an attempt was
   13430 made to delete the operand objects twice.
   13431 
   13432 Fixed a problem where an attempt was made to delete an operand
   13433 twice during execution of the CondRefOf() operator if the target
   13434 did not exist.
   13435 
   13436 Implemented the first of perhaps several internal create object
   13437 functions that create and initialize a specific object type.  This
   13438 consolidates duplicated code wherever the object is created, thus
   13439 shrinking the size of the subsystem.
   13440 
   13441 Implemented improved debug/error messages for errors that occur
   13442 during nested method invocations.  All executing method pathnames
   13443 are displayed (with the error) as the call stack is unwound - thus
   13444 simplifying debug.
   13445 
   13446 Fixed a problem introduced in the 10/02 release that caused
   13447 premature deletion of a buffer object if a buffer was used as an
   13448 ASL operand where an integer operand is required (Thus causing an
   13449 implicit object conversion from Buffer to Integer.)  The change in
   13450 the 10/02 release was attempting to fix a memory leak (albeit
   13451 incorrectly.)
   13452 
   13453 Code and Data Size: Current core subsystem library sizes are shown
   13454 below.  These are the code and data sizes for the acpica.lib
   13455 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13456 values do not include any ACPI driver or OSPM code.  The debug
   13457 version of the code includes the debug output trace mechanism and
   13458 has a much larger code and data size.  Note that these values will
   13459 vary depending on the efficiency of the compiler and the compiler
   13460 options used during generation.
   13461 
   13462   Previous Release
   13463     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   13464     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   13465   Current Release:
   13466     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   13467     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   13468 
   13469 
   13470 2) Linux
   13471 
   13472 Changed the implementation of the ACPI semaphores to use down()
   13473 instead of down_interruptable().  It is important that the
   13474 execution of ACPI control methods not be interrupted by signals.
   13475 Methods must run to completion, or the system may be left in an
   13476 unknown/unstable state.
   13477 
   13478 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
   13479 (Shawn Starr)
   13480 
   13481 
   13482 3) iASL Compiler/Disassembler
   13483 
   13484 
   13485 Changed the default location of output files.  All output files
   13486 are now placed in the current directory by default instead of in
   13487 the directory of the source file.  This change may affect some
   13488 existing makefiles, but it brings the behavior of the compiler in
   13489 line with other similar tools.  The location of the output files
   13490 can be overridden with the -p command line switch.
   13491 
   13492 
   13493 ----------------------------------------
   13494 11 November 2002.  Summary of changes for version 20021111.
   13495 
   13496 
   13497 0) ACPI Specification 2.0B is released and is now available at:
   13498 http://www.acpi.info/index.html
   13499 
   13500 
   13501 1) ACPI CA Core Subsystem:
   13502 
   13503 Implemented support for the ACPI 2.0 SMBus Operation Regions.
   13504 This includes the early detection and handoff of the request to
   13505 the SMBus region handler (avoiding all of the complex field
   13506 support code), and support for the bidirectional return packet
   13507 from an SMBus write operation.  This paves the way for the
   13508 development of SMBus drivers in each host operating system.
   13509 
   13510 Fixed a problem where the semaphore WAIT_FOREVER constant was
   13511 defined as 32 bits, but must be 16 bits according to the ACPI
   13512 specification.  This had the side effect of causing ASL
   13513 Mutex/Event timeouts even though the ASL code requested a wait
   13514 forever.  Changed all internal references to the ACPI timeout
   13515 parameter to 16 bits to prevent future problems.  Changed the name
   13516 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
   13517 
   13518 Code and Data Size: Current core subsystem library sizes are shown
   13519 below.  These are the code and data sizes for the acpica.lib
   13520 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13521 values do not include any ACPI driver or OSPM code.  The debug
   13522 version of the code includes the debug output trace mechanism and
   13523 has a much larger code and data size.  Note that these values will
   13524 vary depending on the efficiency of the compiler and the compiler
   13525 options used during generation.
   13526 
   13527   Previous Release
   13528     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   13529     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   13530   Current Release:
   13531     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   13532     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   13533 
   13534 
   13535 2) Linux
   13536 
   13537 Module loading/unloading fixes (John Cagle)
   13538 
   13539 
   13540 3) iASL Compiler/Disassembler
   13541 
   13542 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
   13543 
   13544 Implemented support for the disassembly of all SMBus protocol
   13545 keywords (SMBQuick, SMBWord, etc.)
   13546 
   13547 ----------------------------------------
   13548 01 November 2002.  Summary of changes for version 20021101.
   13549 
   13550 
   13551 1) ACPI CA Core Subsystem:
   13552 
   13553 Fixed a problem where platforms that have a GPE1 block but no GPE0
   13554 block were not handled correctly.  This resulted in a "GPE
   13555 overlap" error message.  GPE0 is no longer required.
   13556 
   13557 Removed code added in the previous release that inserted nodes
   13558 into the namespace in alphabetical order.  This caused some side-
   13559 effects on various machines.  The root cause of the problem is
   13560 still under investigation since in theory, the internal ordering
   13561 of the namespace nodes should not matter.
   13562 
   13563 
   13564 Enhanced error reporting for the case where a named object is not
   13565 found during control method execution.  The full ACPI namepath
   13566 (name reference) of the object that was not found is displayed in
   13567 this case.
   13568 
   13569 Note: as a result of the overhaul of the namespace object types in
   13570 the previous release, the namespace nodes for the predefined
   13571 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
   13572 instead of ACPI_TYPE_ANY.  This simplifies the namespace
   13573 management code but may affect code that walks the namespace tree
   13574 looking for specific object types.
   13575 
   13576 Code and Data Size: Current core subsystem library sizes are shown
   13577 below.  These are the code and data sizes for the acpica.lib
   13578 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13579 values do not include any ACPI driver or OSPM code.  The debug
   13580 version of the code includes the debug output trace mechanism and
   13581 has a much larger code and data size.  Note that these values will
   13582 vary depending on the efficiency of the compiler and the compiler
   13583 options used during generation.
   13584 
   13585   Previous Release
   13586     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   13587     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   13588   Current Release:
   13589     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   13590     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   13591 
   13592 
   13593 2) Linux
   13594 
   13595 Fixed a problem introduced in the previous release where the
   13596 Processor and Thermal objects were not recognized and installed in
   13597 /proc.  This was related to the scope type change described above.
   13598 
   13599 
   13600 3) iASL Compiler/Disassembler
   13601 
   13602 Implemented the -g option to get all of the required ACPI tables
   13603 from the registry and save them to files (Windows version of the
   13604 compiler only.)  The required tables are the FADT, FACS, and DSDT.
   13605 
   13606 Added ACPI table checksum validation during table disassembly in
   13607 order to catch corrupted tables.
   13608 
   13609 
   13610 ----------------------------------------
   13611 22 October 2002.  Summary of changes for version 20021022.
   13612 
   13613 1) ACPI CA Core Subsystem:
   13614 
   13615 Implemented a restriction on the Scope operator that the target
   13616 must already exist in the namespace at the time the operator is
   13617 encountered (during table load or method execution).  In other
   13618 words, forward references are not allowed and Scope() cannot
   13619 create a new object. This changes the previous behavior where the
   13620 interpreter would create the name if not found.  This new behavior
   13621 correctly enables the search-to-root algorithm during namespace
   13622 lookup of the target name.  Because of this upsearch, this fixes
   13623 the known Compaq _SB_.OKEC problem and makes both the AML
   13624 interpreter and iASL compiler compatible with other ACPI
   13625 implementations.
   13626 
   13627 Completed a major overhaul of the internal ACPI object types for
   13628 the ACPI Namespace and the associated operand objects.  Many of
   13629 these types had become obsolete with the introduction of the two-
   13630 pass namespace load.  This cleanup simplifies the code and makes
   13631 the entire namespace load mechanism much clearer and easier to
   13632 understand.
   13633 
   13634 Improved debug output for tracking scope opening/closing to help
   13635 diagnose scoping issues.  The old scope name as well as the new
   13636 scope name are displayed.  Also improved error messages for
   13637 problems with ASL Mutex objects and error messages for GPE
   13638 problems.
   13639 
   13640 Cleaned up the namespace dump code, removed obsolete code.
   13641 
   13642 All string output (for all namespace/object dumps) now uses the
   13643 common ACPI string output procedure which handles escapes properly
   13644 and does not emit non-printable characters.
   13645 
   13646 Fixed some issues with constants in the 64-bit version of the
   13647 local C library (utclib.c)
   13648 
   13649 
   13650 2) Linux
   13651 
   13652 EC Driver:  No longer attempts to acquire the Global Lock at
   13653 interrupt level.
   13654 
   13655 
   13656 3) iASL Compiler/Disassembler
   13657 
   13658 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
   13659 2 opcodes outside of a control method.  This means that the
   13660 "executable" operators (versus the "namespace" operators) cannot
   13661 be used at the table level; they can only be used within a control
   13662 method.
   13663 
   13664 Implemented the restriction on the Scope() operator where the
   13665 target must already exist in the namespace at the time the
   13666 operator is encountered (during ASL compilation). In other words,
   13667 forward references are not allowed and Scope() cannot create a new
   13668 object.  This makes the iASL compiler compatible with other ACPI
   13669 implementations and makes the Scope() implementation adhere to the
   13670 ACPI specification.
   13671 
   13672 Fixed a problem where namepath optimization for the Alias operator
   13673 was optimizing the wrong path (of the two namepaths.)  This caused
   13674 a "Missing alias link" error message.
   13675 
   13676 Fixed a problem where an "unknown reserved name" warning could be
   13677 incorrectly generated for names like "_SB" when the trailing
   13678 underscore is not used in the original ASL.
   13679 
   13680 Fixed a problem where the reserved name check did not handle
   13681 NamePaths with multiple NameSegs correctly.  The first nameseg of
   13682 the NamePath was examined instead of the last NameSeg.
   13683 
   13684 
   13685 ----------------------------------------
   13686 
   13687 02 October 2002.  Summary of changes for this release.
   13688 
   13689 
   13690 1) ACPI CA Core Subsystem version 20021002:
   13691 
   13692 Fixed a problem where a store/copy of a string to an existing
   13693 string did not always set the string length properly in the String
   13694 object.
   13695 
   13696 Fixed a reported problem with the ToString operator where the
   13697 behavior was identical to the ToHexString operator instead of just
   13698 simply converting a raw buffer to a string data type.
   13699 
   13700 Fixed a problem where CopyObject and the other "explicit"
   13701 conversion operators were not updating the internal namespace node
   13702 type as part of the store operation.
   13703 
   13704 Fixed a memory leak during implicit source operand conversion
   13705 where the original object was not deleted if it was converted to a
   13706 new object of a different type.
   13707 
   13708 Enhanced error messages for all problems associated with namespace
   13709 lookups.  Common procedure generates and prints the lookup name as
   13710 well as the formatted status.
   13711 
   13712 Completed implementation of a new design for the Alias support
   13713 within the namespace.  The existing design did not handle the case
   13714 where a new object was assigned to one of the two names due to the
   13715 use of an explicit conversion operator, resulting in the two names
   13716 pointing to two different objects.  The new design simply points
   13717 the Alias name to the original name node - not to the object.
   13718 This results in a level of indirection that must be handled in the
   13719 name resolution mechanism.
   13720 
   13721 Code and Data Size: Current core subsystem library sizes are shown
   13722 below.  These are the code and data sizes for the acpica.lib
   13723 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13724 values do not include any ACPI driver or OSPM code.  The debug
   13725 version of the code includes the debug output trace mechanism and
   13726 has a larger code and data size.  Note that these values will vary
   13727 depending on the efficiency of the compiler and the compiler
   13728 options used during generation.
   13729 
   13730   Previous Release
   13731     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   13732     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   13733   Current Release:
   13734     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   13735     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   13736 
   13737 
   13738 2) Linux
   13739 
   13740 Initialize thermal driver's timer before it is used. (Knut
   13741 Neumann)
   13742 
   13743 Allow handling negative celsius values. (Kochi Takayoshi)
   13744 
   13745 Fix thermal management and make trip points. R/W (Pavel Machek)
   13746 
   13747 Fix /proc/acpi/sleep. (P. Christeas)
   13748 
   13749 IA64 fixes. (David Mosberger)
   13750 
   13751 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
   13752 
   13753 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
   13754 Brodowski)
   13755 
   13756 
   13757 3) iASL Compiler/Disassembler
   13758 
   13759 Clarified some warning/error messages.
   13760 
   13761 
   13762 ----------------------------------------
   13763 18 September 2002.  Summary of changes for this release.
   13764 
   13765 
   13766 1) ACPI CA Core Subsystem version 20020918:
   13767 
   13768 Fixed a reported problem with reference chaining (via the Index()
   13769 and RefOf() operators) in the ObjectType() and SizeOf() operators.
   13770 The definition of these operators includes the dereferencing of
   13771 all chained references to return information on the base object.
   13772 
   13773 Fixed a problem with stores to indexed package elements - the
   13774 existing code would not complete the store if an "implicit
   13775 conversion" was not performed.  In other words, if the existing
   13776 object (package element) was to be replaced completely, the code
   13777 didn't handle this case.
   13778 
   13779 Relaxed typechecking on the ASL "Scope" operator to allow the
   13780 target name to refer to an object of type Integer, String, or
   13781 Buffer, in addition to the scoping object types (Device,
   13782 predefined Scopes, Processor, PowerResource, and ThermalZone.)
   13783 This allows existing AML code that has workarounds for a bug in
   13784 Windows to function properly.  A warning is issued, however.  This
   13785 affects both the AML interpreter and the iASL compiler. Below is
   13786 an example of this type of ASL code:
   13787 
   13788       Name(DEB,0x00)
   13789       Scope(DEB)
   13790       {
   13791 
   13792 Fixed some reported problems with 64-bit integer support in the
   13793 local implementation of C library functions (clib.c)
   13794 
   13795 
   13796 2) Linux
   13797 
   13798 Use ACPI fix map region instead of IOAPIC region, since it is
   13799 undefined in non-SMP.
   13800 
   13801 Ensure that the SCI has the proper polarity and trigger, even on
   13802 systems that do not have an interrupt override entry in the MADT.
   13803 
   13804 2.5 big driver reorganization (Pat Mochel)
   13805 
   13806 Use early table mapping code from acpitable.c (Andi Kleen)
   13807 
   13808 New blacklist entries (Andi Kleen)
   13809 
   13810 Blacklist improvements. Split blacklist code out into a separate
   13811 file. Move checking the blacklist to very early. Previously, we
   13812 would use ACPI tables, and then halfway through init, check the
   13813 blacklist -- too late. Now, it's early enough to completely fall-
   13814 back to non-ACPI.
   13815 
   13816 
   13817 3) iASL Compiler/Disassembler version 20020918:
   13818 
   13819 Fixed a problem where the typechecking code didn't know that an
   13820 alias could point to a method.  In other words, aliases were not
   13821 being dereferenced during typechecking.
   13822 
   13823 
   13824 ----------------------------------------
   13825 29 August 2002.  Summary of changes for this release.
   13826 
   13827 1) ACPI CA Core Subsystem Version 20020829:
   13828 
   13829 If the target of a Scope() operator already exists, it must be an
   13830 object type that actually opens a scope -- such as a Device,
   13831 Method, Scope, etc.  This is a fatal runtime error.  Similar error
   13832 check has been added to the iASL compiler also.
   13833 
   13834 Tightened up the namespace load to disallow multiple names in the
   13835 same scope.  This previously was allowed if both objects were of
   13836 the same type.  (i.e., a lookup was the same as entering a new
   13837 name).
   13838 
   13839 
   13840 2) Linux
   13841 
   13842 Ensure that the ACPI interrupt has the proper trigger and
   13843 polarity.
   13844 
   13845 local_irq_disable is extraneous. (Matthew Wilcox)
   13846 
   13847 Make "acpi=off" actually do what it says, and not use the ACPI
   13848 interpreter *or* the tables.
   13849 
   13850 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
   13851 Takayoshi)
   13852 
   13853 
   13854 3) iASL Compiler/Disassembler  Version 20020829:
   13855 
   13856 Implemented namepath optimization for name declarations.  For
   13857 example, a declaration like "Method (\_SB_.ABCD)" would get
   13858 optimized to "Method (ABCD)" if the declaration is within the
   13859 \_SB_ scope.  This optimization is in addition to the named
   13860 reference path optimization first released in the previous
   13861 version. This would seem to complete all possible optimizations
   13862 for namepaths within the ASL/AML.
   13863 
   13864 If the target of a Scope() operator already exists, it must be an
   13865 object type that actually opens a scope -- such as a Device,
   13866 Method, Scope, etc.
   13867 
   13868 Implemented a check and warning for unreachable code in the same
   13869 block below a Return() statement.
   13870 
   13871 Fixed a problem where the listing file was not generated if the
   13872 compiler aborted if the maximum error count was exceeded (200).
   13873 
   13874 Fixed a problem where the typechecking of method return values was
   13875 broken.  This includes the check for a return value when the
   13876 method is invoked as a TermArg (a return value is expected.)
   13877 
   13878 Fixed a reported problem where EOF conditions during a quoted
   13879 string or comment caused a fault.
   13880 
   13881 
   13882 ----------------------------------------
   13883 15 August 2002.  Summary of changes for this release.
   13884 
   13885 1) ACPI CA Core Subsystem Version 20020815:
   13886 
   13887 Fixed a reported problem where a Store to a method argument that
   13888 contains a reference did not perform the indirect store correctly.
   13889 This problem was created during the conversion to the new
   13890 reference object model - the indirect store to a method argument
   13891 code was not updated to reflect the new model.
   13892 
   13893 Reworked the ACPI mode change code to better conform to ACPI 2.0,
   13894 handle corner cases, and improve code legibility (Kochi Takayoshi)
   13895 
   13896 Fixed a problem with the pathname parsing for the carat (^)
   13897 prefix.  The heavy use of the carat operator by the new namepath
   13898 optimization in the iASL compiler uncovered a problem with the AML
   13899 interpreter handling of this prefix.  In the case where one or
   13900 more carats precede a single nameseg, the nameseg was treated as
   13901 standalone and the search rule (to root) was inadvertently
   13902 applied.  This could cause both the iASL compiler and the
   13903 interpreter to find the wrong object or to miss the error that
   13904 should occur if the object does not exist at that exact pathname.
   13905 
   13906 Found and fixed the problem where the HP Pavilion DSDT would not
   13907 load.  This was a relatively minor tweak to the table loading code
   13908 (a problem caused by the unexpected encounter with a method
   13909 invocation not within a control method), but it does not solve the
   13910 overall issue of the execution of AML code at the table level.
   13911 This investigation is still ongoing.
   13912 
   13913 Code and Data Size: Current core subsystem library sizes are shown
   13914 below.  These are the code and data sizes for the acpica.lib
   13915 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13916 values do not include any ACPI driver or OSPM code.  The debug
   13917 version of the code includes the debug output trace mechanism and
   13918 has a larger code and data size.  Note that these values will vary
   13919 depending on the efficiency of the compiler and the compiler
   13920 options used during generation.
   13921 
   13922   Previous Release
   13923     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   13924     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   13925   Current Release:
   13926     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   13927     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   13928 
   13929 
   13930 2) Linux
   13931 
   13932 Remove redundant slab.h include (Brad Hards)
   13933 
   13934 Fix several bugs in thermal.c (Herbert Nachtnebel)
   13935 
   13936 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
   13937 
   13938 Change acpi_system_suspend to use updated irq functions (Pavel
   13939 Machek)
   13940 
   13941 Export acpi_get_firmware_table (Matthew Wilcox)
   13942 
   13943 Use proper root proc entry for ACPI (Kochi Takayoshi)
   13944 
   13945 Fix early-boot table parsing (Bjorn Helgaas)
   13946 
   13947 
   13948 3) iASL Compiler/Disassembler
   13949 
   13950 Reworked the compiler options to make them more consistent and to
   13951 use two-letter options where appropriate.  We were running out of
   13952 sensible letters.   This may break some makefiles, so check the
   13953 current options list by invoking the compiler with no parameters.
   13954 
   13955 Completed the design and implementation of the ASL namepath
   13956 optimization option for the compiler.  This option optimizes all
   13957 references to named objects to the shortest possible path.  The
   13958 first attempt tries to utilize a single nameseg (4 characters) and
   13959 the "search-to-root" algorithm used by the interpreter.  If that
   13960 cannot be used (because either the name is not in the search path
   13961 or there is a conflict with another object with the same name),
   13962 the pathname is optimized using the carat prefix (usually a
   13963 shorter string than specifying the entire path from the root.)
   13964 
   13965 Implemented support to obtain the DSDT from the Windows registry
   13966 (when the disassembly option is specified with no input file).
   13967 Added this code as the implementation for AcpiOsTableOverride in
   13968 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
   13969 utility) to scan memory for the DSDT to the AcpiOsTableOverride
   13970 function in the DOS OSL to make the disassembler truly OS
   13971 independent.
   13972 
   13973 Implemented a new option to disassemble and compile in one step.
   13974 When used without an input filename, this option will grab the
   13975 DSDT from the local machine, disassemble it, and compile it in one
   13976 step.
   13977 
   13978 Added a warning message for invalid escapes (a backslash followed
   13979 by any character other than the allowable escapes).  This catches
   13980 the quoted string error "\_SB_" (which should be "\\_SB_" ).
   13981 
   13982 Also, there are numerous instances in the ACPI specification where
   13983 this error occurs.
   13984 
   13985 Added a compiler option to disable all optimizations.  This is
   13986 basically the "compatibility mode" because by using this option,
   13987 the AML code will come out exactly the same as other ASL
   13988 compilers.
   13989 
   13990 Added error messages for incorrectly ordered dependent resource
   13991 functions.  This includes: missing EndDependentFn macro at end of
   13992 dependent resource list, nested dependent function macros (both
   13993 start and end), and missing StartDependentFn macro.  These are
   13994 common errors that should be caught at compile time.
   13995 
   13996 Implemented _OSI support for the disassembler and compiler.  _OSI
   13997 must be included in the namespace for proper disassembly (because
   13998 the disassembler must know the number of arguments.)
   13999 
   14000 Added an "optimization" message type that is optional (off by
   14001 default).  This message is used for all optimizations - including
   14002 constant folding, integer optimization, and namepath optimization.
   14003 
   14004 ----------------------------------------
   14005 25 July 2002.  Summary of changes for this release.
   14006 
   14007 
   14008 1) ACPI CA Core Subsystem Version 20020725:
   14009 
   14010 The AML Disassembler has been enhanced to produce compilable ASL
   14011 code and has been integrated into the iASL compiler (see below) as
   14012 well as the single-step disassembly for the AML debugger and the
   14013 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
   14014 resource templates and macros are fully supported.  The
   14015 disassembler has been tested on over 30 different AML files,
   14016 producing identical AML when the resulting disassembled ASL file
   14017 is recompiled with the same ASL compiler.
   14018 
   14019 Modified the Resource Manager to allow zero interrupts and zero
   14020 dma channels during the GetCurrentResources call.  This was
   14021 causing problems on some platforms.
   14022 
   14023 Added the AcpiOsRedirectOutput interface to the OSL to simplify
   14024 output redirection for the AcpiOsPrintf and AcpiOsVprintf
   14025 interfaces.
   14026 
   14027 Code and Data Size: Current core subsystem library sizes are shown
   14028 below.  These are the code and data sizes for the acpica.lib
   14029 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14030 values do not include any ACPI driver or OSPM code.  The debug
   14031 version of the code includes the debug output trace mechanism and
   14032 has a larger code and data size.  Note that these values will vary
   14033 depending on the efficiency of the compiler and the compiler
   14034 options used during generation.
   14035 
   14036   Previous Release
   14037     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   14038     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   14039   Current Release:
   14040     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   14041     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   14042 
   14043 
   14044 2) Linux
   14045 
   14046 Fixed a panic in the EC driver (Dominik Brodowski)
   14047 
   14048 Implemented checksum of the R/XSDT itself during Linux table scan
   14049 (Richard Schaal)
   14050 
   14051 
   14052 3) iASL compiler
   14053 
   14054 The AML disassembler is integrated into the compiler.  The "-d"
   14055 option invokes the disassembler  to completely disassemble an
   14056 input AML file, producing as output a text ASL file with the
   14057 extension ".dsl" (to avoid name collisions with existing .asl
   14058 source files.)  A future enhancement will allow the disassembler
   14059 to obtain the BIOS DSDT from the registry under Windows.
   14060 
   14061 Fixed a problem with the VendorShort and VendorLong resource
   14062 descriptors where an invalid AML sequence was created.
   14063 
   14064 Implemented a fix for BufferData term in the ASL parser.  It was
   14065 inadvertently defined twice, allowing invalid syntax to pass and
   14066 causing reduction conflicts.
   14067 
   14068 Fixed a problem where the Ones opcode could get converted to a
   14069 value of zero if "Ones" was used where a byte, word or dword value
   14070 was expected.  The 64-bit value is now truncated to the correct
   14071 size with the correct value.
   14072 
   14073 
   14074 
   14075 ----------------------------------------
   14076 02 July 2002.  Summary of changes for this release.
   14077 
   14078 
   14079 1) ACPI CA Core Subsystem Version 20020702:
   14080 
   14081 The Table Manager code has been restructured to add several new
   14082 features.  Tables that are not required by the core subsystem
   14083 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
   14084 validated in any way and are returned from AcpiGetFirmwareTable if
   14085 requested.  The AcpiOsTableOverride interface is now called for
   14086 each table that is loaded by the subsystem in order to allow the
   14087 host to override any table it chooses.  Previously, only the DSDT
   14088 could be overridden.  Added one new files, tbrsdt.c and
   14089 tbgetall.c.
   14090 
   14091 Fixed a problem with the conversion of internal package objects to
   14092 external objects (when a package is returned from a control
   14093 method.)  The return buffer length was set to zero instead of the
   14094 proper length of the package object.
   14095 
   14096 Fixed a reported problem with the use of the RefOf and DeRefOf
   14097 operators when passing reference arguments to control methods.  A
   14098 new type of Reference object is used internally for references
   14099 produced by the RefOf operator.
   14100 
   14101 Added additional error messages in the Resource Manager to explain
   14102 AE_BAD_DATA errors when they occur during resource parsing.
   14103 
   14104 Split the AcpiEnableSubsystem into two primitives to enable a
   14105 finer granularity initialization sequence.  These two calls should
   14106 be called in this order: AcpiEnableSubsystem (flags),
   14107 AcpiInitializeObjects (flags).  The flags parameter remains the
   14108 same.
   14109 
   14110 
   14111 2) Linux
   14112 
   14113 Updated the ACPI utilities module to understand the new style of
   14114 fully resolved package objects that are now returned from the core
   14115 subsystem.  This eliminates errors of the form:
   14116 
   14117     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
   14118     acpi_utils-0430 [145] acpi_evaluate_reference:
   14119         Invalid element in package (not a device reference)
   14120 
   14121 The method evaluation utility uses the new buffer allocation
   14122 scheme instead of calling AcpiEvaluate Object twice.
   14123 
   14124 Added support for ECDT. This allows the use of the Embedded
   14125 
   14126 Controller before the namespace has been fully initialized, which
   14127 is necessary for ACPI 2.0 support, and for some laptops to
   14128 initialize properly. (Laptops using ECDT are still rare, so only
   14129 limited testing was performed of the added functionality.)
   14130 
   14131 Fixed memory leaks in the EC driver.
   14132 
   14133 Eliminated a brittle code structure in acpi_bus_init().
   14134 
   14135 Eliminated the acpi_evaluate() helper function in utils.c. It is
   14136 no longer needed since acpi_evaluate_object can optionally
   14137 allocate memory for the return object.
   14138 
   14139 Implemented fix for keyboard hang when getting battery readings on
   14140 some systems (Stephen White)
   14141 
   14142 PCI IRQ routing update (Dominik Brodowski)
   14143 
   14144 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
   14145 support
   14146 
   14147 ----------------------------------------
   14148 11 June 2002.  Summary of changes for this release.
   14149 
   14150 
   14151 1) ACPI CA Core Subsystem Version 20020611:
   14152 
   14153 Fixed a reported problem where constants such as Zero and One
   14154 appearing within _PRT packages were not handled correctly within
   14155 the resource manager code.  Originally reported against the ASL
   14156 compiler because the code generator now optimizes integers to
   14157 their minimal AML representation (i.e. AML constants if possible.)
   14158 The _PRT code now handles all AML constant opcodes correctly
   14159 (Zero, One, Ones, Revision).
   14160 
   14161 Fixed a problem with the Concatenate operator in the AML
   14162 interpreter where a buffer result object was incorrectly marked as
   14163 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
   14164 
   14165 All package sub-objects are now fully resolved before they are
   14166 returned from the external ACPI interfaces.  This means that name
   14167 strings are resolved to object handles, and constant operators
   14168 (Zero, One, Ones, Revision) are resolved to Integers.
   14169 
   14170 Implemented immediate resolution of the AML Constant opcodes
   14171 (Zero, One, Ones, Revision) to Integer objects upon detection
   14172 within the AML stream. This has simplified and reduced the
   14173 generated code size of the subsystem by eliminating about 10
   14174 switch statements for these constants (which previously were
   14175 contained in Reference objects.)  The complicating issues are that
   14176 the Zero opcode is used as a "placeholder" for unspecified
   14177 optional target operands and stores to constants are defined to be
   14178 no-ops.
   14179 
   14180 Code and Data Size: Current core subsystem library sizes are shown
   14181 below. These are the code and data sizes for the acpica.lib
   14182 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14183 values do not include any ACPI driver or OSPM code.  The debug
   14184 version of the code includes the debug output trace mechanism and
   14185 has a larger code and data size.  Note that these values will vary
   14186 depending on the efficiency of the compiler and the compiler
   14187 options used during generation.
   14188 
   14189   Previous Release
   14190     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   14191     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   14192   Current Release:
   14193     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   14194     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   14195 
   14196 
   14197 2) Linux
   14198 
   14199 
   14200 Added preliminary support for obtaining _TRA data for PCI root
   14201 bridges (Bjorn Helgaas).
   14202 
   14203 
   14204 3) iASL Compiler Version X2046:
   14205 
   14206 Fixed a problem where the "_DDN" reserved name was defined to be a
   14207 control method with one argument.  There are no arguments, and
   14208 _DDN does not have to be a control method.
   14209 
   14210 Fixed a problem with the Linux version of the compiler where the
   14211 source lines printed with error messages were the wrong lines.
   14212 This turned out to be the "LF versus CR/LF" difference between
   14213 Windows and Unix.  This appears to be the longstanding issue
   14214 concerning listing output and error messages.
   14215 
   14216 Fixed a problem with the Linux version of compiler where opcode
   14217 names within error messages were wrong.  This was caused by a
   14218 slight difference in the output of the Flex tool on Linux versus
   14219 Windows.
   14220 
   14221 Fixed a problem with the Linux compiler where the hex output files
   14222 contained some garbage data caused by an internal buffer overrun.
   14223 
   14224 
   14225 ----------------------------------------
   14226 17 May 2002.  Summary of changes for this release.
   14227 
   14228 
   14229 1) ACPI CA Core Subsystem Version 20020517:
   14230 
   14231 Implemented a workaround to an BIOS bug discovered on the HP
   14232 OmniBook where the FADT revision number and the table size are
   14233 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
   14234 behavior is to fallback to using only the ACPI 1.0 fields of the
   14235 FADT if the table is too small to be a ACPI 2.0 table as claimed
   14236 by the revision number.  Although this is a BIOS bug, this is a
   14237 case where the workaround is simple enough and with no side
   14238 effects, so it seemed prudent to add it.  A warning message is
   14239 issued, however.
   14240 
   14241 Implemented minimum size checks for the fixed-length ACPI tables -
   14242 - the FADT and FACS, as well as consistency checks between the
   14243 revision number and the table size.
   14244 
   14245 Fixed a reported problem in the table override support where the
   14246 new table pointer was incorrectly treated as a physical address
   14247 instead of a logical address.
   14248 
   14249 Eliminated the use of the AE_AML_ERROR exception and replaced it
   14250 with more descriptive codes.
   14251 
   14252 Fixed a problem where an exception would occur if an ASL Field was
   14253 defined with no named Field Units underneath it (used by some
   14254 index fields).
   14255 
   14256 Code and Data Size: Current core subsystem library sizes are shown
   14257 below.  These are the code and data sizes for the acpica.lib
   14258 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14259 values do not include any ACPI driver or OSPM code.  The debug
   14260 version of the code includes the debug output trace mechanism and
   14261 has a larger code and data size.  Note that these values will vary
   14262 depending on the efficiency of the compiler and the compiler
   14263 options used during generation.
   14264 
   14265   Previous Release
   14266     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   14267     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   14268   Current Release:
   14269     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   14270     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   14271 
   14272 
   14273 
   14274 2) Linux
   14275 
   14276 Much work done on ACPI init (MADT and PCI IRQ routing support).
   14277 (Paul D. and Dominik Brodowski)
   14278 
   14279 Fix PCI IRQ-related panic on boot (Sam Revitch)
   14280 
   14281 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
   14282 
   14283 Fix "MHz" typo (Dominik Brodowski)
   14284 
   14285 Fix RTC year 2000 issue (Dominik Brodowski)
   14286 
   14287 Preclude multiple button proc entries (Eric Brunet)
   14288 
   14289 Moved arch-specific code out of include/platform/aclinux.h
   14290 
   14291 3) iASL Compiler Version X2044:
   14292 
   14293 Implemented error checking for the string used in the EISAID macro
   14294 (Usually used in the definition of the _HID object.)  The code now
   14295 strictly enforces the PnP format - exactly 7 characters, 3
   14296 uppercase letters and 4 hex digits.
   14297 
   14298 If a raw string is used in the definition of the _HID object
   14299 (instead of the EISAID macro), the string must contain all
   14300 alphanumeric characters (e.g., "*PNP0011" is not allowed because
   14301 of the asterisk.)
   14302 
   14303 Implemented checking for invalid use of ACPI reserved names for
   14304 most of the name creation operators (Name, Device, Event, Mutex,
   14305 OperationRegion, PowerResource, Processor, and ThermalZone.)
   14306 Previously, this check was only performed for control methods.
   14307 
   14308 Implemented an additional check on the Name operator to emit an
   14309 error if a reserved name that must be implemented in ASL as a
   14310 control method is used.  We know that a reserved name must be a
   14311 method if it is defined with input arguments.
   14312 
   14313 The warning emitted when a namespace object reference is not found
   14314 during the cross reference phase has been changed into an error.
   14315 The "External" directive should be used for names defined in other
   14316 modules.
   14317 
   14318 
   14319 4) Tools and Utilities
   14320 
   14321 The 16-bit tools (adump16 and aexec16) have been regenerated and
   14322 tested.
   14323 
   14324 Fixed a problem with the output of both acpidump and adump16 where
   14325 the indentation of closing parentheses and brackets was not
   14326 
   14327 aligned properly with the parent block.
   14328 
   14329 
   14330 ----------------------------------------
   14331 03 May 2002.  Summary of changes for this release.
   14332 
   14333 
   14334 1) ACPI CA Core Subsystem Version 20020503:
   14335 
   14336 Added support a new OSL interface that allows the host operating
   14337 
   14338 system software to override the DSDT found in the firmware -
   14339 AcpiOsTableOverride.  With this interface, the OSL can examine the
   14340 version of the firmware DSDT and replace it with a different one
   14341 if desired.
   14342 
   14343 Added new external interfaces for accessing ACPI registers from
   14344 device drivers and other system software - AcpiGetRegister and
   14345 AcpiSetRegister.  This was simply an externalization of the
   14346 existing AcpiHwBitRegister interfaces.
   14347 
   14348 Fixed a regression introduced in the previous build where the
   14349 ASL/AML CreateField operator always returned an error,
   14350 "destination must be a NS Node".
   14351 
   14352 Extended the maximum time (before failure) to successfully enable
   14353 ACPI mode to 3 seconds.
   14354 
   14355 Code and Data Size: Current core subsystem library sizes are shown
   14356 below.  These are the code and data sizes for the acpica.lib
   14357 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14358 values do not include any ACPI driver or OSPM code.  The debug
   14359 version of the code includes the debug output trace mechanism and
   14360 has a larger code and data size.  Note that these values will vary
   14361 depending on the efficiency of the compiler and the compiler
   14362 options used during generation.
   14363 
   14364   Previous Release
   14365     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   14366     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   14367   Current Release:
   14368     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   14369     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   14370 
   14371 
   14372 2) Linux
   14373 
   14374 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
   14375 free. While 3 out of 4 of our in-house systems work fine, the last
   14376 one still hangs when testing the LAPIC timer.
   14377 
   14378 Renamed many files in 2.5 kernel release to omit "acpi_" from the
   14379 name.
   14380 
   14381 Added warning on boot for Presario 711FR.
   14382 
   14383 Sleep improvements (Pavel Machek)
   14384 
   14385 ACPI can now be built without CONFIG_PCI enabled.
   14386 
   14387 IA64: Fixed memory map functions (JI Lee)
   14388 
   14389 
   14390 3) iASL Compiler Version X2043:
   14391 
   14392 Added support to allow the compiler to be integrated into the MS
   14393 VC++ development environment for one-button compilation of single
   14394 files or entire projects -- with error-to-source-line mapping.
   14395 
   14396 Implemented support for compile-time constant folding for the
   14397 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
   14398 specification.  This allows the ASL writer to use expressions
   14399 instead of Integer/Buffer/String constants in terms that must
   14400 evaluate to constants at compile time and will also simplify the
   14401 emitted AML in any such sub-expressions that can be folded
   14402 (evaluated at compile-time.)  This increases the size of the
   14403 compiler significantly because a portion of the ACPI CA AML
   14404 interpreter is included within the compiler in order to pre-
   14405 evaluate constant expressions.
   14406 
   14407 
   14408 Fixed a problem with the "Unicode" ASL macro that caused the
   14409 compiler to fault.  (This macro is used in conjunction with the
   14410 _STR reserved name.)
   14411 
   14412 Implemented an AML opcode optimization to use the Zero, One, and
   14413 Ones opcodes where possible to further reduce the size of integer
   14414 constants and thus reduce the overall size of the generated AML
   14415 code.
   14416 
   14417 Implemented error checking for new reserved terms for ACPI version
   14418 2.0A.
   14419 
   14420 Implemented the -qr option to display the current list of ACPI
   14421 reserved names known to the compiler.
   14422 
   14423 Implemented the -qc option to display the current list of ASL
   14424 operators that are allowed within constant expressions and can
   14425 therefore be folded at compile time if the operands are constants.
   14426 
   14427 
   14428 4) Documentation
   14429 
   14430 Updated the Programmer's Reference for new interfaces, data types,
   14431 and memory allocation model options.
   14432 
   14433 Updated the iASL Compiler User Reference to apply new format and
   14434 add information about new features and options.
   14435 
   14436 ----------------------------------------
   14437 19 April 2002.  Summary of changes for this release.
   14438 
   14439 1) ACPI CA Core Subsystem Version 20020419:
   14440 
   14441 The source code base for the Core Subsystem has been completely
   14442 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
   14443 versions.  The Lint option files used are included in the
   14444 /acpi/generate/lint directory.
   14445 
   14446 Implemented enhanced status/error checking across the entire
   14447 Hardware manager subsystem.  Any hardware errors (reported from
   14448 the OSL) are now bubbled up and will abort a running control
   14449 method.
   14450 
   14451 
   14452 Fixed a problem where the per-ACPI-table integer width (32 or 64)
   14453 was stored only with control method nodes, causing a fault when
   14454 non-control method code was executed during table loading.  The
   14455 solution implemented uses a global variable to indicate table
   14456 width across the entire ACPI subsystem.  Therefore, ACPI CA does
   14457 not support mixed integer widths across different ACPI tables
   14458 (DSDT, SSDT).
   14459 
   14460 Fixed a problem where NULL extended fields (X fields) in an ACPI
   14461 2.0 ACPI FADT caused the table load to fail.  Although the
   14462 existing ACPI specification is a bit fuzzy on this topic, the new
   14463 behavior is to fall back on a ACPI 1.0 field if the corresponding
   14464 ACPI 2.0 X field is zero (even though the table revision indicates
   14465 a full ACPI 2.0 table.)  The ACPI specification will be updated to
   14466 clarify this issue.
   14467 
   14468 Fixed a problem with the SystemMemory operation region handler
   14469 where memory was always accessed byte-wise even if the AML-
   14470 specified access width was larger than a byte.  This caused
   14471 problems on systems with memory-mapped I/O.  Memory is now
   14472 accessed with the width specified.  On systems that do not support
   14473 non-aligned transfers, a check is made to guarantee proper address
   14474 alignment before proceeding in order to avoid an AML-caused
   14475 alignment fault within the kernel.
   14476 
   14477 
   14478 Fixed a problem with the ExtendedIrq resource where only one byte
   14479 of the 4-byte Irq field was extracted.
   14480 
   14481 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
   14482 function was out of date and required a rewrite.
   14483 
   14484 Code and Data Size: Current core subsystem library sizes are shown
   14485 below.  These are the code and data sizes for the acpica.lib
   14486 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14487 values do not include any ACPI driver or OSPM code.  The debug
   14488 version of the code includes the debug output trace mechanism and
   14489 has a larger code and data size.  Note that these values will vary
   14490 depending on the efficiency of the compiler and the compiler
   14491 options used during generation.
   14492 
   14493   Previous Release
   14494     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   14495     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   14496   Current Release:
   14497     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   14498     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   14499 
   14500 
   14501 2) Linux
   14502 
   14503 PCI IRQ routing fixes (Dominik Brodowski)
   14504 
   14505 
   14506 3) iASL Compiler Version X2042:
   14507 
   14508 Implemented an additional compile-time error check for a field
   14509 unit whose size + minimum access width would cause a run-time
   14510 access beyond the end-of-region.  Previously, only the field size
   14511 itself was checked.
   14512 
   14513 The Core subsystem and iASL compiler now share a common parse
   14514 object in preparation for compile-time evaluation of the type
   14515 3/4/5 ASL operators.
   14516 
   14517 
   14518 ----------------------------------------
   14519 Summary of changes for this release: 03_29_02
   14520 
   14521 1) ACPI CA Core Subsystem Version 20020329:
   14522 
   14523 Implemented support for late evaluation of TermArg operands to
   14524 Buffer and Package objects.  This allows complex expressions to be
   14525 used in the declarations of these object types.
   14526 
   14527 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
   14528 1.0, if the field was larger than 32 bits, it was returned as a
   14529 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
   14530 the field is returned as a buffer only if the field is larger than
   14531 64 bits.  The TableRevision is now considered when making this
   14532 conversion to avoid incompatibility with existing ASL code.
   14533 
   14534 Implemented logical addressing for AcpiOsGetRootPointer.  This
   14535 allows an RSDP with either a logical or physical address.  With
   14536 this support, the host OS can now override all ACPI tables with
   14537 one logical RSDP.  Includes implementation of  "typed" pointer
   14538 support to allow a common data type for both physical and logical
   14539 pointers internally.  This required a change to the
   14540 AcpiOsGetRootPointer interface.
   14541 
   14542 Implemented the use of ACPI 2.0 Generic Address Structures for all
   14543 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
   14544 mapped I/O for these ACPI features.
   14545 
   14546 Initialization now ignores not only non-required tables (All
   14547 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
   14548 not validate the table headers of unrecognized tables.
   14549 
   14550 Fixed a problem where a notify handler could only be
   14551 installed/removed on an object of type Device.  All "notify"
   14552 
   14553 objects are now supported -- Devices, Processor, Power, and
   14554 Thermal.
   14555 
   14556 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
   14557 critical information is returned when this debug level is enabled.
   14558 
   14559 Code and Data Size: Current core subsystem library sizes are shown
   14560 below.  These are the code and data sizes for the acpica.lib
   14561 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14562 values do not include any ACPI driver or OSPM code.  The debug
   14563 version of the code includes the debug output trace mechanism and
   14564 has a larger code and data size.  Note that these values will vary
   14565 depending on the efficiency of the compiler and the compiler
   14566 options used during generation.
   14567 
   14568   Previous Release
   14569     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   14570     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   14571   Current Release:
   14572     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   14573     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   14574 
   14575 
   14576 2) Linux:
   14577 
   14578 The processor driver (acpi_processor.c) now fully supports ACPI
   14579 2.0-based processor performance control (e.g. Intel(R)
   14580 SpeedStep(TM) technology) Note that older laptops that only have
   14581 the Intel "applet" interface are not supported through this.  The
   14582 'limit' and 'performance' interface (/proc) are fully functional.
   14583 [Note that basic policy for controlling performance state
   14584 transitions will be included in the next version of ospmd.]  The
   14585 idle handler was modified to more aggressively use C2, and PIIX4
   14586 errata handling underwent a complete overhaul (big thanks to
   14587 Dominik Brodowski).
   14588 
   14589 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
   14590 based devices in the ACPI namespace are now dynamically bound
   14591 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
   14592 This allows, among other things, ACPI to resolve bus numbers for
   14593 subordinate PCI bridges.
   14594 
   14595 Enhanced PCI IRQ routing to get the proper bus number for _PRT
   14596 entries defined underneath PCI bridges.
   14597 
   14598 Added IBM 600E to bad bios list due to invalid _ADR value for
   14599 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
   14600 
   14601 In the process of adding full MADT support (e.g. IOAPIC) for IA32
   14602 (acpi.c, mpparse.c) -- stay tuned.
   14603 
   14604 Added back visual differentiation between fixed-feature and
   14605 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
   14606 button/power/PWRF) to simplify button identification.
   14607 
   14608 We no longer use -Wno-unused when compiling debug. Please ignore
   14609 any "_THIS_MODULE defined but not used" messages.
   14610 
   14611 Can now shut down the system using "magic sysrq" key.
   14612 
   14613 
   14614 3) iASL Compiler version 2041:
   14615 
   14616 Fixed a problem where conversion errors for hex/octal/decimal
   14617 constants were not reported.
   14618 
   14619 Implemented a fix for the General Register template Address field.
   14620 This field was 8 bits when it should be 64.
   14621 
   14622 Fixed a problem where errors/warnings were no longer being emitted
   14623 within the listing output file.
   14624 
   14625 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
   14626 exactly 4 characters, alphanumeric only.
   14627 
   14628 
   14629 
   14630 
   14631 ----------------------------------------
   14632 Summary of changes for this release: 03_08_02
   14633 
   14634 
   14635 1) ACPI CA Core Subsystem Version 20020308:
   14636 
   14637 Fixed a problem with AML Fields where the use of the "AccessAny"
   14638 keyword could cause an interpreter error due to attempting to read
   14639 or write beyond the end of the parent Operation Region.
   14640 
   14641 Fixed a problem in the SystemMemory Operation Region handler where
   14642 an attempt was made to map memory beyond the end of the region.
   14643 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
   14644 errors on some Linux systems.
   14645 
   14646 Fixed a problem where the interpreter/namespace "search to root"
   14647 algorithm was not functioning for some object types.  Relaxed the
   14648 internal restriction on the search to allow upsearches for all
   14649 external object types as well as most internal types.
   14650 
   14651 
   14652 2) Linux:
   14653 
   14654 We now use safe_halt() macro versus individual calls to sti | hlt.
   14655 
   14656 Writing to the processor limit interface should now work. "echo 1"
   14657 will increase the limit, 2 will decrease, and 0 will reset to the
   14658 
   14659 default.
   14660 
   14661 
   14662 3) ASL compiler:
   14663 
   14664 Fixed segfault on Linux version.
   14665 
   14666 
   14667 ----------------------------------------
   14668 Summary of changes for this release: 02_25_02
   14669 
   14670 1) ACPI CA Core Subsystem:
   14671 
   14672 
   14673 Fixed a problem where the GPE bit masks were not initialized
   14674 properly, causing erratic GPE behavior.
   14675 
   14676 Implemented limited support for multiple calling conventions.  The
   14677 code can be generated with either the VPL (variable parameter
   14678 list, or "C") convention, or the FPL (fixed parameter list, or
   14679 "Pascal") convention.  The core subsystem is about 3.4% smaller
   14680 when generated with FPL.
   14681 
   14682 
   14683 2) Linux
   14684 
   14685 Re-add some /proc/acpi/event functionality that was lost during
   14686 the rewrite
   14687 
   14688 Resolved issue with /proc events for fixed-feature buttons showing
   14689 up as the system device.
   14690 
   14691 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
   14692 
   14693 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
   14694 
   14695 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
   14696 
   14697 Fixed limit interface & usage to fix bugs with passive cooling
   14698 hysterisis.
   14699 
   14700 Restructured PRT support.
   14701 
   14702 
   14703 ----------------------------------------
   14704 Summary of changes for this label: 02_14_02
   14705 
   14706 
   14707 1) ACPI CA Core Subsystem:
   14708 
   14709 Implemented support in AcpiLoadTable to allow loading of FACS and
   14710 FADT tables.
   14711 
   14712 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
   14713 been removed.  All 64-bit platforms should be migrated to the ACPI
   14714 2.0 tables.  The actbl71.h header has been removed from the source
   14715 tree.
   14716 
   14717 All C macros defined within the subsystem have been prefixed with
   14718 "ACPI_" to avoid collision with other system include files.
   14719 
   14720 Removed the return value for the two AcpiOsPrint interfaces, since
   14721 it is never used and causes lint warnings for ignoring the return
   14722 value.
   14723 
   14724 Added error checking to all internal mutex acquire and release
   14725 calls.  Although a failure from one of these interfaces is
   14726 probably a fatal system error, these checks will cause the
   14727 immediate abort of the currently executing method or interface.
   14728 
   14729 Fixed a problem where the AcpiSetCurrentResources interface could
   14730 fault.  This was a side effect of the deployment of the new memory
   14731 allocation model.
   14732 
   14733 Fixed a couple of problems with the Global Lock support introduced
   14734 in the last major build.  The "common" (1.0/2.0) internal FACS was
   14735 being overwritten with the FACS signature and clobbering the
   14736 Global Lock pointer.  Also, the actual firmware FACS was being
   14737 unmapped after construction of the "common" FACS, preventing
   14738 access to the actual Global Lock field within it.  The "common"
   14739 internal FACS is no longer installed as an actual ACPI table; it
   14740 is used simply as a global.
   14741 
   14742 Code and Data Size: Current core subsystem library sizes are shown
   14743 below.  These are the code and data sizes for the acpica.lib
   14744 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14745 values do not include any ACPI driver or OSPM code.  The debug
   14746 version of the code includes the debug output trace mechanism and
   14747 has a larger code and data size.  Note that these values will vary
   14748 depending on the efficiency of the compiler and the compiler
   14749 options used during generation.
   14750 
   14751   Previous Release (02_07_01)
   14752     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   14753     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   14754   Current Release:
   14755     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   14756     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   14757 
   14758 
   14759 2) Linux
   14760 
   14761 Updated Linux-specific code for core macro and OSL interface
   14762 changes described above.
   14763 
   14764 Improved /proc/acpi/event. It now can be opened only once and has
   14765 proper poll functionality.
   14766 
   14767 Fixed and restructured power management (acpi_bus).
   14768 
   14769 Only create /proc "view by type" when devices of that class exist.
   14770 
   14771 Fixed "charging/discharging" bug (and others) in acpi_battery.
   14772 
   14773 Improved thermal zone code.
   14774 
   14775 
   14776 3) ASL Compiler, version X2039:
   14777 
   14778 
   14779 Implemented the new compiler restriction on ASL String hex/octal
   14780 escapes to non-null, ASCII values.  An error results if an invalid
   14781 value is used.  (This will require an ACPI 2.0 specification
   14782 change.)
   14783 
   14784 AML object labels that are output to the optional C and ASM source
   14785 are now prefixed with both the ACPI table signature and table ID
   14786 to help guarantee uniqueness within a large BIOS project.
   14787 
   14788 
   14789 ----------------------------------------
   14790 Summary of changes for this label: 02_01_02
   14791 
   14792 1) ACPI CA Core Subsystem:
   14793 
   14794 ACPI 2.0 support is complete in the entire Core Subsystem and the
   14795 ASL compiler. All new ACPI 2.0 operators are implemented and all
   14796 other changes for ACPI 2.0 support are complete.  With
   14797 simultaneous code and data optimizations throughout the subsystem,
   14798 ACPI 2.0 support has been implemented with almost no additional
   14799 cost in terms of code and data size.
   14800 
   14801 Implemented a new mechanism for allocation of return buffers.  If
   14802 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
   14803 be allocated on behalf of the caller.  Consolidated all return
   14804 buffer validation and allocation to a common procedure.  Return
   14805 buffers will be allocated via the primary OSL allocation interface
   14806 since it appears that a separate pool is not needed by most users.
   14807 If a separate pool is required for these buffers, the caller can
   14808 still use the original mechanism and pre-allocate the buffer(s).
   14809 
   14810 Implemented support for string operands within the DerefOf
   14811 operator.
   14812 
   14813 Restructured the Hardware and Event managers to be table driven,
   14814 simplifying the source code and reducing the amount of generated
   14815 code.
   14816 
   14817 Split the common read/write low-level ACPI register bitfield
   14818 procedure into a separate read and write, simplifying the code
   14819 considerably.
   14820 
   14821 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
   14822 used only a handful of times and didn't have enough critical mass
   14823 for a separate interface.  Replaced with a common calloc procedure
   14824 in the core.
   14825 
   14826 Fixed a reported problem with the GPE number mapping mechanism
   14827 that allows GPE1 numbers to be non-contiguous with GPE0.
   14828 Reorganized the GPE information and shrunk a large array that was
   14829 originally large enough to hold info for all possible GPEs (256)
   14830 to simply large enough to hold all GPEs up to the largest GPE
   14831 number on the machine.
   14832 
   14833 Fixed a reported problem with resource structure alignment on 64-
   14834 bit platforms.
   14835 
   14836 Changed the AcpiEnableEvent and AcpiDisableEvent external
   14837 interfaces to not require any flags for the common case of
   14838 enabling/disabling a GPE.
   14839 
   14840 Implemented support to allow a "Notify" on a Processor object.
   14841 
   14842 Most TBDs in comments within the source code have been resolved
   14843 and eliminated.
   14844 
   14845 
   14846 Fixed a problem in the interpreter where a standalone parent
   14847 prefix (^) was not handled correctly in the interpreter and
   14848 debugger.
   14849 
   14850 Removed obsolete and unnecessary GPE save/restore code.
   14851 
   14852 Implemented Field support in the ASL Load operator.  This allows a
   14853 table to be loaded from a named field, in addition to loading a
   14854 table directly from an Operation Region.
   14855 
   14856 Implemented timeout and handle support in the external Global Lock
   14857 interfaces.
   14858 
   14859 Fixed a problem in the AcpiDump utility where pathnames were no
   14860 longer being generated correctly during the dump of named objects.
   14861 
   14862 Modified the AML debugger to give a full display of if/while
   14863 predicates instead of just one AML opcode at a time.  (The
   14864 predicate can have several nested ASL statements.)  The old method
   14865 was confusing during single stepping.
   14866 
   14867 Code and Data Size: Current core subsystem library sizes are shown
   14868 below. These are the code and data sizes for the acpica.lib
   14869 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14870 values do not include any ACPI driver or OSPM code.  The debug
   14871 version of the code includes the debug output trace mechanism and
   14872 has a larger code and data size.  Note that these values will vary
   14873 depending on the efficiency of the compiler and the compiler
   14874 options used during generation.
   14875 
   14876   Previous Release (12_18_01)
   14877      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   14878      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   14879    Current Release:
   14880      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   14881      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   14882 
   14883 2) Linux
   14884 
   14885  Implemented fix for PIIX reverse throttling errata (Processor
   14886 driver)
   14887 
   14888 Added new Limit interface (Processor and Thermal drivers)
   14889 
   14890 New thermal policy (Thermal driver)
   14891 
   14892 Many updates to /proc
   14893 
   14894 Battery "low" event support (Battery driver)
   14895 
   14896 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
   14897 
   14898 IA32 - IA64 initialization unification, no longer experimental
   14899 
   14900 Menuconfig options redesigned
   14901 
   14902 3) ASL Compiler, version X2037:
   14903 
   14904 Implemented several new output features to simplify integration of
   14905 AML code into  firmware: 1) Output the AML in C source code with
   14906 labels for each named ASL object.  The    original ASL source code
   14907 is interleaved as C comments. 2) Output the AML in ASM source code
   14908 with labels and interleaved ASL    source. 3) Output the AML in
   14909 raw hex table form, in either C or ASM.
   14910 
   14911 Implemented support for optional string parameters to the
   14912 LoadTable operator.
   14913 
   14914 Completed support for embedded escape sequences within string
   14915 literals.  The compiler now supports all single character escapes
   14916 as well as the Octal and Hex escapes.  Note: the insertion of a
   14917 null byte into a string literal (via the hex/octal escape) causes
   14918 the string to be immediately terminated.  A warning is issued.
   14919 
   14920 Fixed a problem where incorrect AML was generated for the case
   14921 where an ASL namepath consists of a single parent prefix (
   14922 
   14923 ) with no trailing name segments.
   14924 
   14925 The compiler has been successfully generated with a 64-bit C
   14926 compiler.
   14927 
   14928 
   14929 
   14930 
   14931 ----------------------------------------
   14932 Summary of changes for this label: 12_18_01
   14933 
   14934 1) Linux
   14935 
   14936 Enhanced blacklist with reason and severity fields. Any table's
   14937 signature may now be used to identify a blacklisted system.
   14938 
   14939 Call _PIC control method to inform the firmware which interrupt
   14940 model the OS is using. Turn on any disabled link devices.
   14941 
   14942 Cleaned up busmgr /proc error handling (Andreas Dilger)
   14943 
   14944  2) ACPI CA Core Subsystem:
   14945 
   14946 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
   14947 while loop)
   14948 
   14949 Completed implementation of the ACPI 2.0 "Continue",
   14950 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
   14951 operators.  All new ACPI 2.0 operators are now implemented in both
   14952 the ASL compiler and the AML interpreter.  The only remaining ACPI
   14953 2.0 task is support for the String data type in the DerefOf
   14954 operator.  Fixed a problem with AcquireMutex where the status code
   14955 was lost if the caller had to actually wait for the mutex.
   14956 
   14957 Increased the maximum ASL Field size from 64K bits to 4G bits.
   14958 
   14959 Completed implementation of the external Global Lock interfaces --
   14960 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
   14961 Handler parameters were added.
   14962 
   14963 Completed another pass at removing warnings and issues when
   14964 compiling with 64-bit compilers.  The code now compiles cleanly
   14965 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
   14966 add and subtract (diff) macros have changed considerably.
   14967 
   14968 
   14969 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
   14970 64-bit platforms, 32-bits on all others.  This type is used
   14971 wherever memory allocation and/or the C sizeof() operator is used,
   14972 and affects the OSL memory allocation interfaces AcpiOsAllocate
   14973 and AcpiOsCallocate.
   14974 
   14975 Implemented sticky user breakpoints in the AML debugger.
   14976 
   14977 Code and Data Size: Current core subsystem library sizes are shown
   14978 below. These are the code and data sizes for the acpica.lib
   14979 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14980 values do not include any ACPI driver or OSPM code.  The debug
   14981 version of the code includes the debug output trace mechanism and
   14982 has a larger code and data size. Note that these values will vary
   14983 depending on the efficiency of the compiler and the compiler
   14984 options used during generation.
   14985 
   14986   Previous Release (12_05_01)
   14987      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   14988      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   14989    Current Release:
   14990      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   14991      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   14992 
   14993  3) ASL Compiler, version X2034:
   14994 
   14995 Now checks for (and generates an error if detected) the use of a
   14996 Break or Continue statement without an enclosing While statement.
   14997 
   14998 
   14999 Successfully generated the compiler with the Intel 64-bit C
   15000 compiler.
   15001 
   15002  ----------------------------------------
   15003 Summary of changes for this label: 12_05_01
   15004 
   15005  1) ACPI CA Core Subsystem:
   15006 
   15007 The ACPI 2.0 CopyObject operator is fully implemented.  This
   15008 operator creates a new copy of an object (and is also used to
   15009 bypass the "implicit conversion" mechanism of the Store operator.)
   15010 
   15011 The ACPI 2.0 semantics for the SizeOf operator are fully
   15012 implemented.  The change is that performing a SizeOf on a
   15013 reference object causes an automatic dereference of the object to
   15014 tha actual value before the size is evaluated. This behavior was
   15015 undefined in ACPI 1.0.
   15016 
   15017 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
   15018 have been implemented.  The interrupt polarity and mode are now
   15019 independently set.
   15020 
   15021 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
   15022 appearing in Package objects were not properly converted to
   15023 integers when the internal Package was converted to an external
   15024 object (via the AcpiEvaluateObject interface.)
   15025 
   15026 Fixed a problem with the namespace object deletion mechanism for
   15027 objects created by control methods.  There were two parts to this
   15028 problem: 1) Objects created during the initialization phase method
   15029 parse were not being deleted, and 2) The object owner ID mechanism
   15030 to track objects was broken.
   15031 
   15032 Fixed a problem where the use of the ASL Scope operator within a
   15033 control method would result in an invalid opcode exception.
   15034 
   15035 Fixed a problem introduced in the previous label where the buffer
   15036 length required for the _PRT structure was not being returned
   15037 correctly.
   15038 
   15039 Code and Data Size: Current core subsystem library sizes are shown
   15040 below. These are the code and data sizes for the acpica.lib
   15041 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15042 values do not include any ACPI driver or OSPM code.  The debug
   15043 version of the code includes the debug output trace mechanism and
   15044 has a larger code and data size.  Note that these values will vary
   15045 depending on the efficiency of the compiler and the compiler
   15046 options used during generation.
   15047 
   15048   Previous Release (11_20_01)
   15049      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   15050      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   15051 
   15052   Current Release:
   15053      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   15054      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   15055 
   15056  2) Linux:
   15057 
   15058 Updated all files to apply cleanly against 2.4.16.
   15059 
   15060 Added basic PCI Interrupt Routing Table (PRT) support for IA32
   15061 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
   15062 version supports both static and dyanmic PRT entries, but dynamic
   15063 entries are treated as if they were static (not yet
   15064 reconfigurable).  Architecture- specific code to use this data is
   15065 absent on IA32 but should be available shortly.
   15066 
   15067 Changed the initialization sequence to start the ACPI interpreter
   15068 (acpi_init) prior to initialization of the PCI driver (pci_init)
   15069 in init/main.c.  This ordering is required to support PRT and
   15070 facilitate other (future) enhancement.  A side effect is that the
   15071 ACPI bus driver and certain device drivers can no longer be loaded
   15072 as modules.
   15073 
   15074 Modified the 'make menuconfig' options to allow PCI Interrupt
   15075 Routing support to be included without the ACPI Bus and other
   15076 device drivers.
   15077 
   15078  3) ASL Compiler, version X2033:
   15079 
   15080 Fixed some issues with the use of the new CopyObject and
   15081 DataTableRegion operators.  Both are fully functional.
   15082 
   15083  ----------------------------------------
   15084 Summary of changes for this label: 11_20_01
   15085 
   15086  20 November 2001.  Summary of changes for this release.
   15087 
   15088  1) ACPI CA Core Subsystem:
   15089 
   15090 Updated Index support to match ACPI 2.0 semantics.  Storing a
   15091 Integer, String, or Buffer to an Index of a Buffer will store only
   15092 the least-significant byte of the source to the Indexed buffer
   15093 byte.  Multiple writes are not performed.
   15094 
   15095 Fixed a problem where the access type used in an AccessAs ASL
   15096 operator was not recorded correctly into the field object.
   15097 
   15098 Fixed a problem where ASL Event objects were created in a
   15099 signalled state. Events are now created in an unsignalled state.
   15100 
   15101 The internal object cache is now purged after table loading and
   15102 initialization to reduce the use of dynamic kernel memory -- on
   15103 the assumption that object use is greatest during the parse phase
   15104 of the entire table (versus the run-time use of individual control
   15105 methods.)
   15106 
   15107 ACPI 2.0 variable-length packages are now fully operational.
   15108 
   15109 Code and Data Size: Code and Data optimizations have permitted new
   15110 feature development with an actual reduction in the library size.
   15111 Current core subsystem library sizes are shown below.  These are
   15112 the code and data sizes for the acpica.lib produced by the
   15113 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15114 any ACPI driver or OSPM code.  The debug version of the code
   15115 includes the debug output trace mechanism and has a larger code
   15116 and data size.  Note that these values will vary depending on the
   15117 efficiency of the compiler and the compiler options used during
   15118 generation.
   15119 
   15120   Previous Release (11_09_01):
   15121      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   15122      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   15123 
   15124   Current Release:
   15125      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   15126      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   15127 
   15128  2) Linux:
   15129 
   15130 Enhanced the ACPI boot-time initialization code to allow the use
   15131 of Local APIC tables for processor enumeration on IA-32, and to
   15132 pave the way for a fully MPS-free boot (on SMP systems) in the
   15133 near future.  This functionality replaces
   15134 arch/i386/kernel/acpitables.c, which was introduced in an earlier
   15135 2.4.15-preX release.  To enable this feature you must add
   15136 "acpi_boot=on" to the kernel command line -- see the help entry
   15137 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
   15138 the works...
   15139 
   15140 Restructured the configuration options to allow boot-time table
   15141 parsing support without inclusion of the ACPI Interpreter (and
   15142 other) code.
   15143 
   15144 NOTE: This release does not include fixes for the reported events,
   15145 power-down, and thermal passive cooling issues (coming soon).
   15146 
   15147  3) ASL Compiler:
   15148 
   15149 Added additional typechecking for Fields within restricted access
   15150 Operation Regions.  All fields within EC and CMOS regions must be
   15151 declared with ByteAcc. All fields withing SMBus regions must be
   15152 declared with the BufferAcc access type.
   15153 
   15154 Fixed a problem where the listing file output of control methods
   15155 no longer interleaved the actual AML code with the ASL source
   15156 code.
   15157 
   15158 
   15159 
   15160 
   15161 ----------------------------------------
   15162 Summary of changes for this label: 11_09_01
   15163 
   15164 1) ACPI CA Core Subsystem:
   15165 
   15166 Implemented ACPI 2.0-defined support for writes to fields with a
   15167 Buffer, String, or Integer source operand that is smaller than the
   15168 target field. In these cases, the source operand is zero-extended
   15169 to fill the target field.
   15170 
   15171 Fixed a problem where a Field starting bit offset (within the
   15172 parent operation region) was calculated incorrectly if the
   15173 
   15174 alignment of the field differed from the access width.  This
   15175 affected CreateWordField, CreateDwordField, CreateQwordField, and
   15176 possibly other fields that use the "AccessAny" keyword.
   15177 
   15178 Fixed a problem introduced in the 11_02_01 release where indirect
   15179 stores through method arguments did not operate correctly.
   15180 
   15181 2) Linux:
   15182 
   15183 Implemented boot-time ACPI table parsing support
   15184 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
   15185 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
   15186 legacy BIOS interfaces (e.g. MPS) for the configuration of system
   15187 processors, memory, and interrupts during setup_arch().  Note that
   15188 this patch does not include the required architecture-specific
   15189 changes required to apply this information -- subsequent patches
   15190 will be posted for both IA32 and IA64 to achieve this.
   15191 
   15192 Added low-level sleep support for IA32 platforms, courtesy of Pat
   15193 Mochel. This allows IA32 systems to transition to/from various
   15194 sleeping states (e.g. S1, S3), although the lack of a centralized
   15195 driver model and power-manageable drivers will prevent its
   15196 (successful) use on most systems.
   15197 
   15198 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
   15199 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
   15200 tables" option, etc.
   15201 
   15202 Increased the default timeout for the EC driver from 1ms to 10ms
   15203 (1000 cycles of 10us) to try to address AE_TIME errors during EC
   15204 transactions.
   15205 
   15206  ----------------------------------------
   15207 Summary of changes for this label: 11_02_01
   15208 
   15209 1) ACPI CA Core Subsystem:
   15210 
   15211 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
   15212 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
   15213 implemented.
   15214 
   15215 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
   15216 changes to support ACPI 2.0 Qword field access.  Read/Write
   15217 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
   15218 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
   15219 the value parameter for the address space handler interface is now
   15220 an ACPI_INTEGER.  OSL implementations of these interfaces must now
   15221 handle the case where the Width parameter is 64.
   15222 
   15223 Index Fields: Fixed a problem where unaligned bit assembly and
   15224 disassembly for IndexFields was not supported correctly.
   15225 
   15226 Index and Bank Fields:  Nested Index and Bank Fields are now
   15227 supported. During field access, a check is performed to ensure
   15228 that the value written to an Index or Bank register is not out of
   15229 the range of the register.  The Index (or Bank) register is
   15230 written before each access to the field data. Future support will
   15231 include allowing individual IndexFields to be wider than the
   15232 DataRegister width.
   15233 
   15234 Fields: Fixed a problem where the AML interpreter was incorrectly
   15235 attempting to write beyond the end of a Field/OpRegion.  This was
   15236 a boundary case that occurred when a DWORD field was written to a
   15237 BYTE access OpRegion, forcing multiple writes and causing the
   15238 interpreter to write one datum too many.
   15239 
   15240 Fields: Fixed a problem with Field/OpRegion access where the
   15241 starting bit address of a field was incorrectly calculated if the
   15242 current access type was wider than a byte (WordAcc, DwordAcc, or
   15243 QwordAcc).
   15244 
   15245 Fields: Fixed a problem where forward references to individual
   15246 FieldUnits (individual Field names within a Field definition) were
   15247 not resolved during the AML table load.
   15248 
   15249 Fields: Fixed a problem where forward references from a Field
   15250 definition to the parent Operation Region definition were not
   15251 resolved during the AML table load.
   15252 
   15253 Fields: Duplicate FieldUnit names within a scope are now detected
   15254 during AML table load.
   15255 
   15256 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
   15257 returned an incorrect name for the root node.
   15258 
   15259 Code and Data Size: Code and Data optimizations have permitted new
   15260 feature development with an actual reduction in the library size.
   15261 Current core subsystem library sizes are shown below.  These are
   15262 the code and data sizes for the acpica.lib produced by the
   15263 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15264 any ACPI driver or OSPM code.  The debug version of the code
   15265 includes the debug output trace mechanism and has a larger code
   15266 and data size.  Note that these values will vary depending on the
   15267 efficiency of the compiler and the compiler options used during
   15268 generation.
   15269 
   15270   Previous Release (10_18_01):
   15271      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   15272      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   15273 
   15274   Current Release:
   15275      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   15276      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   15277 
   15278  2) Linux:
   15279 
   15280 Improved /proc processor output (Pavel Machek) Re-added
   15281 MODULE_LICENSE("GPL") to all modules.
   15282 
   15283  3) ASL Compiler version X2030:
   15284 
   15285 Duplicate FieldUnit names within a scope are now detected and
   15286 flagged as errors.
   15287 
   15288  4) Documentation:
   15289 
   15290 Programmer Reference updated to reflect OSL and address space
   15291 handler interface changes described above.
   15292 
   15293 ----------------------------------------
   15294 Summary of changes for this label: 10_18_01
   15295 
   15296 ACPI CA Core Subsystem:
   15297 
   15298 Fixed a problem with the internal object reference count mechanism
   15299 that occasionally caused premature object deletion. This resolves
   15300 all of the outstanding problem reports where an object is deleted
   15301 in the middle of an interpreter evaluation.  Although this problem
   15302 only showed up in rather obscure cases, the solution to the
   15303 problem involved an adjustment of all reference counts involving
   15304 objects attached to namespace nodes.
   15305 
   15306 Fixed a problem with Field support in the interpreter where
   15307 writing to an aligned field whose length is an exact multiple (2
   15308 or greater) of the field access granularity would cause an attempt
   15309 to write beyond the end of the field.
   15310 
   15311 The top level AML opcode execution functions within the
   15312 interpreter have been renamed with a more meaningful and
   15313 consistent naming convention.  The modules exmonad.c and
   15314 exdyadic.c were eliminated.  New modules are exoparg1.c,
   15315 exoparg2.c, exoparg3.c, and exoparg6.c.
   15316 
   15317 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
   15318 
   15319 Fixed a problem where the AML debugger was causing some internal
   15320 objects to not be deleted during subsystem termination.
   15321 
   15322 Fixed a problem with the external AcpiEvaluateObject interface
   15323 where the subsystem would fault if the named object to be
   15324 evaluated refered to a constant such as Zero, Ones, etc.
   15325 
   15326 Fixed a problem with IndexFields and BankFields where the
   15327 subsystem would fault if the index, data, or bank registers were
   15328 not defined in the same scope as the field itself.
   15329 
   15330 Added printf format string checking for compilers that support
   15331 this feature.  Corrected more than 50 instances of issues with
   15332 format specifiers within invocations of ACPI_DEBUG_PRINT
   15333 throughout the core subsystem code.
   15334 
   15335 The ASL "Revision" operator now returns the ACPI support level
   15336 implemented in the core - the value "2" since the ACPI 2.0 support
   15337 is more than 50% implemented.
   15338 
   15339 Enhanced the output of the AML debugger "dump namespace" command
   15340 to output in a more human-readable form.
   15341 
   15342 Current core subsystem library code sizes are shown below.  These
   15343 
   15344 are the code and data sizes for the acpica.lib produced by the
   15345 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15346 any ACPI driver or OSPM code.  The debug version of the code
   15347 includes the full debug trace mechanism -- leading to a much
   15348 
   15349 larger code and data size.  Note that these values will vary
   15350 depending on the efficiency of the compiler and the compiler
   15351 options used during generation.
   15352 
   15353      Previous Label (09_20_01):
   15354      Non-Debug Version:    65K Code,     5K Data,     70K Total
   15355      Debug Version:       138K Code,    58K Data,    196K Total
   15356 
   15357      This Label:
   15358 
   15359      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   15360      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   15361 
   15362 Linux:
   15363 
   15364 Implemented a "Bad BIOS Blacklist" to track machines that have
   15365 known ASL/AML problems.
   15366 
   15367 Enhanced the /proc interface for the thermal zone driver and added
   15368 support for _HOT (the critical suspend trip point).  The 'info'
   15369 file now includes threshold/policy information, and allows setting
   15370 of _SCP (cooling preference) and _TZP (polling frequency) values
   15371 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
   15372 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
   15373 preference to the passive/quiet mode (if supported by the ASL).
   15374 
   15375 Implemented a workaround for a gcc bug that resuted in an OOPs
   15376 when loading the control method battery driver.
   15377 
   15378  ----------------------------------------
   15379 Summary of changes for this label: 09_20_01
   15380 
   15381  ACPI CA Core Subsystem:
   15382 
   15383 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
   15384 modified to allow individual GPE levels to be flagged as wake-
   15385 enabled (i.e., these GPEs are to remain enabled when the platform
   15386 sleeps.)
   15387 
   15388 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
   15389 support wake-enabled GPEs.  This means that upon entering the
   15390 sleep state, all GPEs that are not wake-enabled are disabled.
   15391 When leaving the sleep state, these GPEs are reenabled.
   15392 
   15393 A local double-precision divide/modulo module has been added to
   15394 enhance portability to OS kernels where a 64-bit math library is
   15395 not available.  The new module is "utmath.c".
   15396 
   15397 Several optimizations have been made to reduce the use of CPU
   15398 stack.  Originally over 2K, the maximum stack usage is now below
   15399 2K at 1860  bytes (1.82k)
   15400 
   15401 Fixed a problem with the AcpiGetFirmwareTable interface where the
   15402 root table pointer was not mapped into a logical address properly.
   15403 
   15404 Fixed a problem where a NULL pointer was being dereferenced in the
   15405 interpreter code for the ASL Notify operator.
   15406 
   15407 Fixed a problem where the use of the ASL Revision operator
   15408 returned an error. This operator now returns the current version
   15409 of the ACPI CA core subsystem.
   15410 
   15411 Fixed a problem where objects passed as control method parameters
   15412 to AcpiEvaluateObject were always deleted at method termination.
   15413 However, these objects may end up being stored into the namespace
   15414 by the called method.  The object reference count mechanism was
   15415 applied to these objects instead of a force delete.
   15416 
   15417 Fixed a problem where static strings or buffers (contained in the
   15418 AML code) that are declared as package elements within the ASL
   15419 code could cause a fault because the interpreter would attempt to
   15420 delete them.  These objects are now marked with the "static
   15421 object" flag to prevent any attempt to delete them.
   15422 
   15423 Implemented an interpreter optimization to use operands directly
   15424 from the state object instead of extracting the operands to local
   15425 variables.  This reduces stack use and code size, and improves
   15426 performance.
   15427 
   15428 The module exxface.c was eliminated as it was an unnecessary extra
   15429 layer of code.
   15430 
   15431 Current core subsystem library code sizes are shown below.  These
   15432 are the code and data sizes for the acpica.lib produced by the
   15433 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15434 any ACPI driver or OSPM code.  The debug version of the code
   15435 includes the full debug trace mechanism -- leading to a much
   15436 larger code and data size.  Note that these values will vary
   15437 depending on the efficiency of the compiler and the compiler
   15438 options used during generation.
   15439 
   15440   Non-Debug Version:  65K Code,   5K Data,   70K Total
   15441 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
   15442 Total  (Previously 195K)
   15443 
   15444 Linux:
   15445 
   15446 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
   15447 Integer objects are now 64 bits wide
   15448 
   15449 All Acpi data types and structures are now in lower case.  Only
   15450 Acpi macros are upper case for differentiation.
   15451 
   15452  Documentation:
   15453 
   15454 Changes to the external interfaces as described above.
   15455 
   15456  ----------------------------------------
   15457 Summary of changes for this label: 08_31_01
   15458 
   15459  ACPI CA Core Subsystem:
   15460 
   15461 A bug with interpreter implementation of the ASL Divide operator
   15462 was found and fixed.  The implicit function return value (not the
   15463 explicit store operands) was returning the remainder instead of
   15464 the quotient.  This was a longstanding bug and it fixes several
   15465 known outstanding issues on various platforms.
   15466 
   15467 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
   15468 been further optimized for size.  There are 700 invocations of the
   15469 DEBUG_PRINT macro alone, so each optimization reduces the size of
   15470 the debug version of the subsystem significantly.
   15471 
   15472 A stack trace mechanism has been implemented.  The maximum stack
   15473 usage is about 2K on 32-bit platforms.  The debugger command "stat
   15474 stack" will display the current maximum stack usage.
   15475 
   15476 All public symbols and global variables within the subsystem are
   15477 now prefixed with the string "Acpi".  This keeps all of the
   15478 symbols grouped together in a kernel map, and avoids conflicts
   15479 with other kernel subsystems.
   15480 
   15481 Most of the internal fixed lookup tables have been moved into the
   15482 code segment via the const operator.
   15483 
   15484 Several enhancements have been made to the interpreter to both
   15485 reduce the code size and improve performance.
   15486 
   15487 Current core subsystem library code sizes are shown below.  These
   15488 are the code and data sizes for the acpica.lib produced by the
   15489 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15490 any ACPI driver or OSPM code.  The debug version of the code
   15491 includes the full debug trace mechanism which contains over 700
   15492 invocations of the DEBUG_PRINT macro, 500 function entry macro
   15493 invocations, and over 900 function exit macro invocations --
   15494 leading to a much larger code and data size.  Note that these
   15495 values will vary depending on the efficiency of the compiler and
   15496 the compiler options used during generation.
   15497 
   15498         Non-Debug Version:  64K Code,   5K Data,   69K Total
   15499 Debug Version:     137K Code,  58K Data,  195K Total
   15500 
   15501  Linux:
   15502 
   15503 Implemented wbinvd() macro, pending a kernel-wide definition.
   15504 
   15505 Fixed /proc/acpi/event to handle poll() and short reads.
   15506 
   15507  ASL Compiler, version X2026:
   15508 
   15509 Fixed a problem introduced in the previous label where the AML
   15510 
   15511 code emitted for package objects produced packages with zero
   15512 length.
   15513 
   15514  ----------------------------------------
   15515 Summary of changes for this label: 08_16_01
   15516 
   15517 ACPI CA Core Subsystem:
   15518 
   15519 The following ACPI 2.0 ASL operators have been implemented in the
   15520 AML interpreter (These are already supported by the Intel ASL
   15521 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
   15522 ToBuffer.  Support for 64-bit AML constants is implemented in the
   15523 AML parser, debugger, and disassembler.
   15524 
   15525 The internal memory tracking mechanism (leak detection code) has
   15526 been upgraded to reduce the memory overhead (a separate tracking
   15527 block is no longer allocated for each memory allocation), and now
   15528 supports all of the internal object caches.
   15529 
   15530 The data structures and code for the internal object caches have
   15531 been coelesced and optimized so that there is a single cache and
   15532 memory list data structure and a single group of functions that
   15533 implement generic cache management.  This has reduced the code
   15534 size in both the debug and release versions of the subsystem.
   15535 
   15536 The DEBUG_PRINT macro(s) have been optimized for size and replaced
   15537 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
   15538 different, because it generates a single call to an internal
   15539 function.  This results in a savings of about 90 bytes per
   15540 invocation, resulting in an overall code and data savings of about
   15541 16% in the debug version of the subsystem.
   15542 
   15543  Linux:
   15544 
   15545 Fixed C3 disk corruption problems and re-enabled C3 on supporting
   15546 machines.
   15547 
   15548 Integrated low-level sleep code by Patrick Mochel.
   15549 
   15550 Further tweaked source code Linuxization.
   15551 
   15552 Other minor fixes.
   15553 
   15554  ASL Compiler:
   15555 
   15556 Support for ACPI 2.0 variable length packages is fixed/completed.
   15557 
   15558 Fixed a problem where the optional length parameter for the ACPI
   15559 2.0 ToString operator.
   15560 
   15561 Fixed multiple extraneous error messages when a syntax error is
   15562 detected within the declaration line of a control method.
   15563 
   15564  ----------------------------------------
   15565 Summary of changes for this label: 07_17_01
   15566 
   15567 ACPI CA Core Subsystem:
   15568 
   15569 Added a new interface named AcpiGetFirmwareTable to obtain any
   15570 ACPI table via the ACPI signature.  The interface can be called at
   15571 any time during kernel initialization, even before the kernel
   15572 virtual memory manager is initialized and paging is enabled.  This
   15573 allows kernel subsystems to obtain ACPI tables very early, even
   15574 before the ACPI CA subsystem is initialized.
   15575 
   15576 Fixed a problem where Fields defined with the AnyAcc attribute
   15577 could be resolved to the incorrect address under the following
   15578 conditions: 1) the field width is larger than 8 bits and 2) the
   15579 parent operation region is not defined on a DWORD boundary.
   15580 
   15581 Fixed a problem where the interpreter is not being locked during
   15582 namespace initialization (during execution of the _INI control
   15583 methods), causing an error when an attempt is made to release it
   15584 later.
   15585 
   15586 ACPI 2.0 support in the AML Interpreter has begun and will be
   15587 ongoing throughout the rest of this year.  In this label, The Mod
   15588 operator is implemented.
   15589 
   15590 Added a new data type to contain full PCI addresses named
   15591 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
   15592 and Function values.
   15593 
   15594  Linux:
   15595 
   15596 Enhanced the Linux version of the source code to change most
   15597 capitalized ACPI type names to lowercase. For example, all
   15598 instances of ACPI_STATUS are changed to acpi_status.  This will
   15599 result in a large diff, but the change is strictly cosmetic and
   15600 aligns the CA code closer to the Linux coding standard.
   15601 
   15602 OSL Interfaces:
   15603 
   15604 The interfaces to the PCI configuration space have been changed to
   15605 add the PCI Segment number and to split the single 32-bit combined
   15606 DeviceFunction field into two 16-bit fields.  This was
   15607 accomplished by moving the four values that define an address in
   15608 PCI configuration space (segment, bus, device, and function) to
   15609 the new ACPI_PCI_ID structure.
   15610 
   15611 The changes to the PCI configuration space interfaces led to a
   15612 reexamination of the complete set of address space access
   15613 interfaces for PCI, I/O, and Memory.  The previously existing 18
   15614 interfaces have proven difficult to maintain (any small change
   15615 must be propagated across at least 6 interfaces) and do not easily
   15616 allow for future expansion to 64 bits if necessary.  Also, on some
   15617 systems, it would not be appropriate to demultiplex the access
   15618 width (8, 16, 32,or 64) before calling the OSL if the
   15619 corresponding native OS interfaces contain a similar access width
   15620 parameter.  For these reasons, the 18 address space interfaces
   15621 have been replaced by these 6 new ones:
   15622 
   15623 AcpiOsReadPciConfiguration
   15624 AcpiOsWritePciConfiguration
   15625 AcpiOsReadMemory
   15626 AcpiOsWriteMemory
   15627 AcpiOsReadPort
   15628 AcpiOsWritePort
   15629 
   15630 Added a new interface named AcpiOsGetRootPointer to allow the OSL
   15631 to perform the platform and/or OS-specific actions necessary to
   15632 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
   15633 interface will simply call down to the CA core to perform the low-
   15634 memory search for the table.  On IA-64, the RSDP is obtained from
   15635 EFI.  Migrating this interface to the OSL allows the CA core to
   15636 
   15637 remain OS and platform independent.
   15638 
   15639 Added a new interface named AcpiOsSignal to provide a generic
   15640 "function code and pointer" interface for various miscellaneous
   15641 signals and notifications that must be made to the host OS.   The
   15642 first such signals are intended to support the ASL Fatal and
   15643 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
   15644 interface has been obsoleted.
   15645 
   15646 The definition of the AcpiFormatException interface has been
   15647 changed to simplify its use.  The caller no longer must supply a
   15648 buffer to the call; A pointer to a const string is now returned
   15649 directly.  This allows the call to be easily used in printf
   15650 statements, etc. since the caller does not have to manage a local
   15651 buffer.
   15652 
   15653 
   15654  ASL Compiler, Version X2025:
   15655 
   15656 The ACPI 2.0 Switch/Case/Default operators have been implemented
   15657 and are fully functional.  They will work with all ACPI 1.0
   15658 interpreters, since the operators are simply translated to If/Else
   15659 pairs.
   15660 
   15661 The ACPI 2.0 ElseIf operator is implemented and will also work
   15662 with 1.0 interpreters, for the same reason.
   15663 
   15664 Implemented support for ACPI 2.0 variable-length packages.  These
   15665 packages have a separate opcode, and their size is determined by
   15666 the interpreter at run-time.
   15667 
   15668 Documentation The ACPI CA Programmer Reference has been updated to
   15669 reflect the new interfaces and changes to existing interfaces.
   15670 
   15671  ------------------------------------------
   15672 Summary of changes for this label: 06_15_01
   15673 
   15674  ACPI CA Core Subsystem:
   15675 
   15676 Fixed a problem where a DWORD-accessed field within a Buffer
   15677 object would get its byte address inadvertently rounded down to
   15678 the nearest DWORD.  Buffers are always Byte-accessible.
   15679 
   15680  ASL Compiler, version X2024:
   15681 
   15682 Fixed a problem where the Switch() operator would either fault or
   15683 hang the compiler.  Note however, that the AML code for this ACPI
   15684 2.0 operator is not yet implemented.
   15685 
   15686 Compiler uses the new AcpiOsGetTimer interface to obtain compile
   15687 timings.
   15688 
   15689 Implementation of the CreateField operator automatically converts
   15690 a reference to a named field within a resource descriptor from a
   15691 byte offset to a bit offset if required.
   15692 
   15693 Added some missing named fields from the resource descriptor
   15694 support. These are the names that are automatically created by the
   15695 compiler to reference fields within a descriptor.  They are only
   15696 valid at compile time and are not passed through to the AML
   15697 interpreter.
   15698 
   15699 Resource descriptor named fields are now typed as Integers and
   15700 subject to compile-time typechecking when used in expressions.
   15701 
   15702  ------------------------------------------
   15703 Summary of changes for this label: 05_18_01
   15704 
   15705  ACPI CA Core Subsystem:
   15706 
   15707 Fixed a couple of problems in the Field support code where bits
   15708 from adjacent fields could be returned along with the proper field
   15709 bits. Restructured the field support code to improve performance,
   15710 readability and maintainability.
   15711 
   15712 New DEBUG_PRINTP macro automatically inserts the procedure name
   15713 into the output, saving hundreds of copies of procedure name
   15714 strings within the source, shrinking the memory footprint of the
   15715 debug version of the core subsystem.
   15716 
   15717  Source Code Structure:
   15718 
   15719 The source code directory tree was restructured to reflect the
   15720 current organization of the component architecture.  Some files
   15721 and directories have been moved and/or renamed.
   15722 
   15723  Linux:
   15724 
   15725 Fixed leaking kacpidpc processes.
   15726 
   15727 Fixed queueing event data even when /proc/acpi/event is not
   15728 opened.
   15729 
   15730  ASL Compiler, version X2020:
   15731 
   15732 Memory allocation performance enhancement - over 24X compile time
   15733 improvement on large ASL files.  Parse nodes and namestring
   15734 buffers are now allocated from a large internal compiler buffer.
   15735 
   15736 The temporary .SRC file is deleted unless the "-s" option is
   15737 specified
   15738 
   15739 The "-d" debug output option now sends all output to the .DBG file
   15740 instead of the console.
   15741 
   15742 "External" second parameter is now optional
   15743 
   15744 "ElseIf" syntax now properly allows the predicate
   15745 
   15746 Last operand to "Load" now recognized as a Target operand
   15747 
   15748 Debug object can now be used anywhere as a normal object.
   15749 
   15750 ResourceTemplate now returns an object of type BUFFER
   15751 
   15752 EISAID now returns an object of type INTEGER
   15753 
   15754 "Index" now works with a STRING operand
   15755 
   15756 "LoadTable" now accepts optional parameters
   15757 
   15758 "ToString" length parameter is now optional
   15759 
   15760 "Interrupt (ResourceType," parse error fixed.
   15761 
   15762 "Register" with a user-defined region space parse error fixed
   15763 
   15764 Escaped backslash at the end of a string ("\\") scan/parse error
   15765 fixed
   15766 
   15767 "Revision" is now an object of type INTEGER.
   15768 
   15769 
   15770 
   15771 ------------------------------------------
   15772 Summary of changes for this label: 05_02_01
   15773 
   15774 Linux:
   15775 
   15776 /proc/acpi/event now blocks properly.
   15777 
   15778 Removed /proc/sys/acpi. You can still dump your DSDT from
   15779 /proc/acpi/dsdt.
   15780 
   15781  ACPI CA Core Subsystem:
   15782 
   15783 Fixed a problem introduced in the previous label where some of the
   15784 "small" resource descriptor types were not recognized.
   15785 
   15786 Improved error messages for the case where an ASL Field is outside
   15787 the range of the parent operation region.
   15788 
   15789  ASL Compiler, version X2018:
   15790 
   15791 
   15792 Added error detection for ASL Fields that extend beyond the length
   15793 of the parent operation region (only if the length of the region
   15794 is known at compile time.)  This includes fields that have a
   15795 minimum access width that is smaller than the parent region, and
   15796 individual field units that are partially or entirely beyond the
   15797 extent of the parent.
   15798 
   15799 
   15800 
   15801 ------------------------------------------
   15802 Summary of changes for this label: 04_27_01
   15803 
   15804  ACPI CA Core Subsystem:
   15805 
   15806 Fixed a problem where the namespace mutex could be released at the
   15807 wrong time during execution of AcpiRemoveAddressSpaceHandler.
   15808 
   15809 Added optional thread ID output for debug traces, to simplify
   15810 debugging of multiple threads.  Added context switch notification
   15811 when the debug code realizes that a different thread is now
   15812 executing ACPI code.
   15813 
   15814 Some additional external data types have been prefixed with the
   15815 string "ACPI_" for consistency.  This may effect existing code.
   15816 The data types affected are the external callback typedefs - e.g.,
   15817 
   15818 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
   15819 
   15820  Linux:
   15821 
   15822 Fixed an issue with the OSL semaphore implementation where a
   15823 thread was waking up with an error from receiving a SIGCHLD
   15824 signal.
   15825 
   15826 Linux version of ACPI CA now uses the system C library for string
   15827 manipulation routines instead of a local implementation.
   15828 
   15829 Cleaned up comments and removed TBDs.
   15830 
   15831  ASL Compiler, version X2017:
   15832 
   15833 Enhanced error detection and reporting for all file I/O
   15834 operations.
   15835 
   15836  Documentation:
   15837 
   15838 Programmer Reference updated to version 1.06.
   15839 
   15840 
   15841 
   15842 ------------------------------------------
   15843 Summary of changes for this label: 04_13_01
   15844 
   15845  ACPI CA Core Subsystem:
   15846 
   15847 Restructured support for BufferFields and RegionFields.
   15848 BankFields support is now fully operational.  All known 32-bit
   15849 limitations on field sizes have been removed.  Both BufferFields
   15850 and (Operation) RegionFields are now supported by the same field
   15851 management code.
   15852 
   15853 Resource support now supports QWORD address and IO resources. The
   15854 16/32/64 bit address structures and the Extended IRQ structure
   15855 have been changed to properly handle Source Resource strings.
   15856 
   15857 A ThreadId of -1 is now used to indicate a "mutex not acquired"
   15858 condition internally and must never be returned by AcpiOsThreadId.
   15859 This reserved value was changed from 0 since Unix systems allow a
   15860 thread ID of 0.
   15861 
   15862 Linux:
   15863 
   15864 Driver code reorganized to enhance portability
   15865 
   15866 Added a kernel configuration option to control ACPI_DEBUG
   15867 
   15868 Fixed the EC driver to honor _GLK.
   15869 
   15870 ASL Compiler, version X2016:
   15871 
   15872 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
   15873 address space was set to 0, not 0x7f as it should be.
   15874 
   15875  ------------------------------------------
   15876 Summary of changes for this label: 03_13_01
   15877 
   15878  ACPI CA Core Subsystem:
   15879 
   15880 During ACPI initialization, the _SB_._INI method is now run if
   15881 present.
   15882 
   15883 Notify handler fix - notifies are deferred until the parent method
   15884 completes execution.  This fixes the "mutex already acquired"
   15885 issue seen occasionally.
   15886 
   15887 Part of the "implicit conversion" rules in ACPI 2.0 have been
   15888 found to cause compatibility problems with existing ASL/AML.  The
   15889 convert "result-to-target-type" implementation has been removed
   15890 for stores to method Args and Locals.  Source operand conversion
   15891 is still fully implemented.  Possible changes to ACPI 2.0
   15892 specification pending.
   15893 
   15894 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
   15895 length.
   15896 
   15897 Fix for compiler warnings for 64-bit compiles.
   15898 
   15899  Linux:
   15900 
   15901 /proc output aligned for easier parsing.
   15902 
   15903 Release-version compile problem fixed.
   15904 
   15905 New kernel configuration options documented in Configure.help.
   15906 
   15907 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
   15908 context" message.
   15909 
   15910  OSPM:
   15911 
   15912 Power resource driver integrated with bus manager.
   15913 
   15914 Fixed kernel fault during active cooling for thermal zones.
   15915 
   15916 Source Code:
   15917 
   15918 The source code tree has been restructured.
   15919 
   15920 
   15921 
   15922 ------------------------------------------
   15923 Summary of changes for this label: 03_02_01
   15924 
   15925  Linux OS Services Layer (OSL):
   15926 
   15927 Major revision of all Linux-specific code.
   15928 
   15929 Modularized all ACPI-specific drivers.
   15930 
   15931 Added new thermal zone and power resource drivers.
   15932 
   15933 Revamped /proc interface (new functionality is under /proc/acpi).
   15934 
   15935 New kernel configuration options.
   15936 
   15937  Linux known issues:
   15938 
   15939 New kernel configuration options not documented in Configure.help
   15940 yet.
   15941 
   15942 
   15943 Module dependencies not currently implemented. If used, they
   15944 should be loaded in this order: busmgr, power, ec, system,
   15945 processor, battery, ac_adapter, button, thermal.
   15946 
   15947 Modules will not load if CONFIG_MODVERSION is set.
   15948 
   15949 IBM 600E - entering S5 may reboot instead of shutting down.
   15950 
   15951 IBM 600E - Sleep button may generate "Invalid <NULL> context"
   15952 message.
   15953 
   15954 Some systems may fail with "execution mutex already acquired"
   15955 message.
   15956 
   15957  ACPI CA Core Subsystem:
   15958 
   15959 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
   15960 for the  deadlock detection code. Defined to return a non-zero, 32-
   15961 bit thread ID for the currently executing thread.  May be a non-
   15962 zero constant integer on single-thread systems.
   15963 
   15964 Implemented deadlock detection for internal subsystem mutexes.  We
   15965 may add conditional compilation for this code (debug only) later.
   15966 
   15967 ASL/AML Mutex object semantics are now fully supported.  This
   15968 includes multiple acquires/releases by owner and support for the
   15969 
   15970 Mutex SyncLevel parameter.
   15971 
   15972 A new "Force Release" mechanism automatically frees all ASL
   15973 Mutexes that have been acquired but not released when a thread
   15974 exits the interpreter.  This forces conformance to the ACPI spec
   15975 ("All mutexes must be released when an invocation exits") and
   15976 prevents deadlocked ASL threads.  This mechanism can be expanded
   15977 (later) to monitor other resource acquisitions if OEM ASL code
   15978 continues to misbehave (which it will).
   15979 
   15980 Several new ACPI exception codes have been added for the Mutex
   15981 support.
   15982 
   15983 Recursive method calls are now allowed and supported (the ACPI
   15984 spec does in fact allow recursive method calls.)  The number of
   15985 recursive calls is subject to the restrictions imposed by the
   15986 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
   15987 parameter.
   15988 
   15989 Implemented support for the SyncLevel parameter for control
   15990 methods (ACPI 2.0 feature)
   15991 
   15992 Fixed a deadlock problem when multiple threads attempted to use
   15993 the interpreter.
   15994 
   15995 Fixed a problem where the string length of a String package
   15996 element was not always set in a package returned from
   15997 AcpiEvaluateObject.
   15998 
   15999 Fixed a problem where the length of a String package element was
   16000 not always included in the length of the overall package returned
   16001 from AcpiEvaluateObject.
   16002 
   16003 Added external interfaces (Acpi*) to the ACPI debug memory
   16004 manager.  This manager keeps a list of all outstanding
   16005 allocations, and can therefore detect memory leaks and attempts to
   16006 free memory blocks more than once. Useful for code such as the
   16007 power manager, etc.  May not be appropriate for device drivers.
   16008 Performance with the debug code enabled is slow.
   16009 
   16010 The ACPI Global Lock is now an optional hardware element.
   16011 
   16012  ASL Compiler Version X2015:
   16013 
   16014 Integrated changes to allow the compiler to be generated on
   16015 multiple platforms.
   16016 
   16017 Linux makefile added to generate the compiler on Linux
   16018 
   16019  Source Code:
   16020 
   16021 All platform-specific headers have been moved to their own
   16022 subdirectory, Include/Platform.
   16023 
   16024 New source file added, Interpreter/ammutex.c
   16025 
   16026 New header file, Include/acstruct.h
   16027 
   16028  Documentation:
   16029 
   16030 The programmer reference has been updated for the following new
   16031 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
   16032 
   16033  ------------------------------------------
   16034 Summary of changes for this label: 02_08_01
   16035 
   16036 Core ACPI CA Subsystem: Fixed a problem where an error was
   16037 incorrectly returned if the return resource buffer was larger than
   16038 the actual data (in the resource interfaces).
   16039 
   16040 References to named objects within packages are resolved to the
   16041 
   16042 full pathname string before packages are returned directly (via
   16043 the AcpiEvaluateObject interface) or indirectly via the resource
   16044 interfaces.
   16045 
   16046 Linux OS Services Layer (OSL):
   16047 
   16048 Improved /proc battery interface.
   16049 
   16050 
   16051 Added C-state debugging output and other miscellaneous fixes.
   16052 
   16053 ASL Compiler Version X2014:
   16054 
   16055 All defined method arguments can now be used as local variables,
   16056 including the ones that are not actually passed in as parameters.
   16057 The compiler tracks initialization of the arguments and issues an
   16058 exception if they are used without prior assignment (just like
   16059 locals).
   16060 
   16061 The -o option now specifies a filename prefix that is used for all
   16062 output files, including the AML output file.  Otherwise, the
   16063 default behavior is as follows:  1) the AML goes to the file
   16064 specified in the DSDT.  2) all other output files use the input
   16065 source filename as the base.
   16066 
   16067  ------------------------------------------
   16068 Summary of changes for this label: 01_25_01
   16069 
   16070 Core ACPI CA Subsystem: Restructured the implementation of object
   16071 store support within the  interpreter.  This includes support for
   16072 the Store operator as well  as any ASL operators that include a
   16073 target operand.
   16074 
   16075 Partially implemented support for Implicit Result-to-Target
   16076 conversion. This is when a result object is converted on the fly
   16077 to the type of  an existing target object.  Completion of this
   16078 support is pending  further analysis of the ACPI specification
   16079 concerning this matter.
   16080 
   16081 CPU-specific code has been removed from the subsystem (hardware
   16082 directory).
   16083 
   16084 New Power Management Timer functions added
   16085 
   16086 Linux OS Services Layer (OSL): Moved system state transition code
   16087 to the core, fixed it, and modified  Linux OSL accordingly.
   16088 
   16089 Fixed C2 and C3 latency calculations.
   16090 
   16091 
   16092 We no longer use the compilation date for the version message on
   16093 initialization, but retrieve the version from AcpiGetSystemInfo().
   16094 
   16095 Incorporated for fix Sony VAIO machines.
   16096 
   16097 Documentation:  The Programmer Reference has been updated and
   16098 reformatted.
   16099 
   16100 
   16101 ASL Compiler:  Version X2013: Fixed a problem where the line
   16102 numbering and error reporting could get out  of sync in the
   16103 presence of multiple include files.
   16104 
   16105  ------------------------------------------
   16106 Summary of changes for this label: 01_15_01
   16107 
   16108 Core ACPI CA Subsystem:
   16109 
   16110 Implemented support for type conversions in the execution of the
   16111 ASL  Concatenate operator (The second operand is converted to
   16112 match the type  of the first operand before concatenation.)
   16113 
   16114 Support for implicit source operand conversion is partially
   16115 implemented.   The ASL source operand types Integer, Buffer, and
   16116 String are freely  interchangeable for most ASL operators and are
   16117 converted by the interpreter  on the fly as required.  Implicit
   16118 Target operand conversion (where the  result is converted to the
   16119 target type before storing) is not yet implemented.
   16120 
   16121 Support for 32-bit and 64-bit BCD integers is implemented.
   16122 
   16123 Problem fixed where a field read on an aligned field could cause a
   16124 read  past the end of the field.
   16125 
   16126 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
   16127 does not return a value, but the caller expects one.  (The ASL
   16128 compiler flags this as a warning.)
   16129 
   16130 ASL Compiler:
   16131 
   16132 Version X2011:
   16133 1. Static typechecking of all operands is implemented. This
   16134 prevents the use of invalid objects (such as using a Package where
   16135 an Integer is required) at compile time instead of at interpreter
   16136 run-time.
   16137 2. The ASL source line is printed with ALL errors and warnings.
   16138 3. Bug fix for source EOF without final linefeed.
   16139 4. Debug option is split into a parse trace and a namespace trace.
   16140 5. Namespace output option (-n) includes initial values for
   16141 integers and strings.
   16142 6. Parse-only option added for quick syntax checking.
   16143 7. Compiler checks for duplicate ACPI name declarations
   16144 
   16145 Version X2012:
   16146 1. Relaxed typechecking to allow interchangeability between
   16147 strings, integers, and buffers.  These types are now converted by
   16148 the interpreter at runtime.
   16149 2. Compiler reports time taken by each internal subsystem in the
   16150 debug         output file.
   16151 
   16152 
   16153  ------------------------------------------
   16154 Summary of changes for this label: 12_14_00
   16155 
   16156 ASL Compiler:
   16157 
   16158 This is the first official release of the compiler. Since the
   16159 compiler requires elements of the Core Subsystem, this label
   16160 synchronizes everything.
   16161 
   16162 ------------------------------------------
   16163 Summary of changes for this label: 12_08_00
   16164 
   16165 
   16166 Fixed a problem where named references within the ASL definition
   16167 of both OperationRegions and CreateXXXFields did not work
   16168 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   16169 initialization of the region/field. This is similar (but not
   16170 related internally) to the problem that was fixed in the last
   16171 label.
   16172 
   16173 Implemented both 32-bit and 64-bit support for the BCD ASL
   16174 functions ToBCD and FromBCD.
   16175 
   16176 Updated all legal headers to include "2000" in the copyright
   16177 years.
   16178 
   16179  ------------------------------------------
   16180 Summary of changes for this label: 12_01_00
   16181 
   16182 Fixed a problem where method invocations within the ASL definition
   16183 of both OperationRegions and CreateXXXFields did not work
   16184 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   16185 initialization of the region/field:
   16186 
   16187   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
   16188 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
   16189 (0x3005)
   16190 
   16191 Fixed a problem where operators with more than one nested
   16192 subexpression would fail.  The symptoms were varied, by mostly
   16193 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
   16194 problem that has gone unnoticed until now.
   16195 
   16196   Subtract (Add (1,2), Multiply (3,4))
   16197 
   16198 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
   16199 previous build (The prefix part of a relative path was handled
   16200 incorrectly).
   16201 
   16202 Fixed a problem where Operation Region initialization failed if
   16203 the operation region name was a "namepath" instead of a simple
   16204 "nameseg". Symptom was an AE_NO_OPERAND error.
   16205 
   16206 Fixed a problem where an assignment to a local variable via the
   16207 indirect RefOf mechanism only worked for the first such
   16208 assignment.  Subsequent assignments were ignored.
   16209 
   16210  ------------------------------------------
   16211 Summary of changes for this label: 11_15_00
   16212 
   16213 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
   16214 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
   16215 the AML  interpreter does NOT have support for the new 2.0 ASL
   16216 grammar terms at this time.
   16217 
   16218 All ACPI hardware access is via the GAS structures in the ACPI 2.0
   16219 FADT.
   16220 
   16221 All physical memory addresses across all platforms are now 64 bits
   16222 wide. Logical address width remains dependent on the platform
   16223 (i.e., "void *").
   16224 
   16225 AcpiOsMapMemory interface changed to a 64-bit physical address.
   16226 
   16227 The AML interpreter integer size is now 64 bits, as per the ACPI
   16228 2.0 specification.
   16229 
   16230 For backwards compatibility with ACPI 1.0, ACPI tables with a
   16231 revision number less than 2 use 32-bit integers only.
   16232 
   16233 Fixed a problem where the evaluation of OpRegion operands did not
   16234 always resolve them to numbers properly.
   16235 
   16236 ------------------------------------------
   16237 Summary of changes for this label: 10_20_00
   16238 
   16239 Fix for CBN_._STA issue.  This fix will allow correct access to
   16240 CBN_ OpRegions when the _STA returns 0x8.
   16241 
   16242 Support to convert ACPI constants (Ones, Zeros, One) to actual
   16243 values before a package object is returned
   16244 
   16245 Fix for method call as predicate to if/while construct causing
   16246 incorrect if/while behavior
   16247 
   16248 Fix for Else block package lengths sometimes calculated wrong (if
   16249 block > 63 bytes)
   16250 
   16251 Fix for Processor object length field, was always zero
   16252 
   16253 Table load abort if FACP sanity check fails
   16254 
   16255 Fix for problem with Scope(name) if name already exists
   16256 
   16257 Warning emitted if a named object referenced cannot be found
   16258 (resolved) during method execution.
   16259 
   16260 
   16261 
   16262 
   16263 
   16264 ------------------------------------------
   16265 Summary of changes for this label: 9_29_00
   16266 
   16267 New table initialization interfaces: AcpiInitializeSubsystem no
   16268 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
   16269 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
   16270 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
   16271 AcpiLoadTables
   16272 
   16273 Note: These interface changes require changes to all existing OSDs
   16274 
   16275 The PCI_Config default address space handler is always installed
   16276 at the root namespace object.
   16277 
   16278 -------------------------------------------
   16279 Summary of changes for this label: 09_15_00
   16280 
   16281 The new initialization architecture is implemented.  New
   16282 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
   16283 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
   16284 
   16285 (Namespace is automatically loaded when a table is loaded)
   16286 
   16287 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
   16288 52 bytes to 32 bytes.  There is usually one of these for every
   16289 namespace object, so the memory savings is significant.
   16290 
   16291 Implemented just-in-time evaluation of the CreateField operators.
   16292 
   16293 Bug fixes for IA-64 support have been integrated.
   16294 
   16295 Additional code review comments have been implemented
   16296 
   16297 The so-called "third pass parse" has been replaced by a final walk
   16298 through the namespace to initialize all operation regions (address
   16299 spaces) and fields that have not yet been initialized during the
   16300 execution of the various _INI and REG methods.
   16301 
   16302 New file - namespace/nsinit.c
   16303 
   16304 -------------------------------------------
   16305 Summary of changes for this label: 09_01_00
   16306 
   16307 Namespace manager data structures have been reworked to change the
   16308 primary  object from a table to a single object.  This has
   16309 resulted in dynamic memory  savings of 3X within the namespace and
   16310 2X overall in the ACPI CA subsystem.
   16311 
   16312 Fixed problem where the call to AcpiEvFindPciRootBuses was
   16313 inadvertently left  commented out.
   16314 
   16315 Reduced the warning count when generating the source with the GCC
   16316 compiler.
   16317 
   16318 Revision numbers added to each module header showing the
   16319 SourceSafe version of the file.  Please refer to this version
   16320 number when giving us feedback or comments on individual modules.
   16321 
   16322 The main object types within the subsystem have been renamed to
   16323 clarify their  purpose:
   16324 
   16325 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
   16326 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
   16327 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
   16328 
   16329 NOTE: no changes to the initialization sequence are included in
   16330 this label.
   16331 
   16332 -------------------------------------------
   16333 Summary of changes for this label: 08_23_00
   16334 
   16335 Fixed problem where TerminateControlMethod was being called
   16336 multiple times per  method
   16337 
   16338 Fixed debugger problem where single stepping caused a semaphore to
   16339 be  oversignalled
   16340 
   16341 Improved performance through additional parse object caching -
   16342 added  ACPI_EXTENDED_OP type
   16343 
   16344 -------------------------------------------
   16345 Summary of changes for this label: 08_10_00
   16346 
   16347 Parser/Interpreter integration:  Eliminated the creation of
   16348 complete parse trees  for ACPI tables and control methods.
   16349 Instead, parse subtrees are created and  then deleted as soon as
   16350 they are processed (Either entered into the namespace or  executed
   16351 by the interpreter).  This reduces the use of dynamic kernel
   16352 memory  significantly. (about 10X)
   16353 
   16354 Exception codes broken into classes and renumbered.  Be sure to
   16355 recompile all  code that includes acexcep.h.  Hopefully we won't
   16356 have to renumber the codes  again now that they are split into
   16357 classes (environment, programmer, AML code,  ACPI table, and
   16358 internal).
   16359 
   16360 Fixed some additional alignment issues in the Resource Manager
   16361 subcomponent
   16362 
   16363 Implemented semaphore tracking in the AcpiExec utility, and fixed
   16364 several places  where mutexes/semaphores were being unlocked
   16365 without a corresponding lock  operation.  There are no known
   16366 semaphore or mutex "leaks" at this time.
   16367 
   16368 Fixed the case where an ASL Return operator is used to return an
   16369 unnamed  package.
   16370 
   16371 -------------------------------------------
   16372 Summary of changes for this label: 07_28_00
   16373 
   16374 Fixed a problem with the way addresses were calculated in
   16375 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
   16376 manifested itself when a Field was  created with WordAccess or
   16377 DwordAccess, but the field unit defined within the  Field was less
   16378 
   16379 than a Word or Dword.
   16380 
   16381 Fixed a problem in AmlDumpOperands() module's loop to pull
   16382 operands off of the  operand stack to display information. The
   16383 problem manifested itself as a TLB  error on 64-bit systems when
   16384 accessing an operand stack with two or more  operands.
   16385 
   16386 Fixed a problem with the PCI configuration space handlers where
   16387 context was  getting confused between accesses. This required a
   16388 change to the generic address  space handler and address space
   16389 setup definitions. Handlers now get both a  global handler context
   16390 (this is the one passed in by the user when executing
   16391 AcpiInstallAddressSpaceHandler() and a specific region context
   16392 that is unique to  each region (For example, the _ADR, _SEG and
   16393 _BBN values associated with a  specific region). The generic
   16394 function definitions have changed to the  following:
   16395 
   16396 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
   16397 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
   16398 *HandlerContext, // This used to be void *Context void
   16399 *RegionContext); // This is an additional parameter
   16400 
   16401 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
   16402 RegionHandle, UINT32 Function, void *HandlerContext,  void
   16403 **RegionContext); // This used to be **ReturnContext
   16404 
   16405 -------------------------------------------
   16406 Summary of changes for this label: 07_21_00
   16407 
   16408 Major file consolidation and rename.  All files within the
   16409 interpreter have been  renamed as well as most header files.  This
   16410 was done to prevent collisions with  existing files in the host
   16411 OSs -- filenames such as "config.h" and "global.h"  seem to be
   16412 quite common.  The VC project files have been updated.  All
   16413 makefiles  will require modification.
   16414 
   16415 The parser/interpreter integration continues in Phase 5 with the
   16416 implementation  of a complete 2-pass parse (the AML is parsed
   16417 twice) for each table;  This  avoids the construction of a huge
   16418 parse tree and therefore reduces the amount of  dynamic memory
   16419 required by the subsystem.  Greater use of the parse object cache
   16420 means that performance is unaffected.
   16421 
   16422 Many comments from the two code reviews have been rolled in.
   16423 
   16424 The 64-bit alignment support is complete.
   16425 
   16426 -------------------------------------------
   16427 Summary of changes for this label: 06_30_00
   16428 
   16429 With a nod and a tip of the hat to the technology of yesteryear,
   16430 we've added  support in the source code for 80 column output
   16431 devices.  The code is now mostly  constrained to 80 columns or
   16432 less to support environments and editors that 1)  cannot display
   16433 or print more than 80 characters on a single line, and 2) cannot
   16434 disable line wrapping.
   16435 
   16436 A major restructuring of the namespace data structure has been
   16437 completed.  The  result is 1) cleaner and more
   16438 understandable/maintainable code, and 2) a  significant reduction
   16439 in the dynamic memory requirement for each named ACPI  object
   16440 (almost half).
   16441 
   16442 -------------------------------------------
   16443 Summary of changes for this label: 06_23_00
   16444 
   16445 Linux support has been added.  In order to obtain approval to get
   16446 the ACPI CA  subsystem into the Linux kernel, we've had to make
   16447 quite a few changes to the  base subsystem that will affect all
   16448 users (all the changes are generic and OS- independent).  The
   16449 effects of these global changes have been somewhat far  reaching.
   16450 Files have been merged and/or renamed and interfaces have been
   16451 renamed.   The major changes are described below.
   16452 
   16453 Osd* interfaces renamed to AcpiOs* to eliminate namespace
   16454 pollution/confusion  within our target kernels.  All OSD
   16455 interfaces must be modified to match the new  naming convention.
   16456 
   16457 Files merged across the subsystem.  A number of the smaller source
   16458 and header  files have been merged to reduce the file count and
   16459 increase the density of the  existing files.  There are too many
   16460 to list here.  In general, makefiles that  call out individual
   16461 files will require rebuilding.
   16462 
   16463 Interpreter files renamed.  All interpreter files now have the
   16464 prefix am*  instead of ie* and is*.
   16465 
   16466 Header files renamed:  The acapi.h file is now acpixf.h.  The
   16467 acpiosd.h file is  now acpiosxf.h.  We are removing references to
   16468 the acronym "API" since it is  somewhat windowsy. The new name is
   16469 "external interface" or xface or xf in the  filenames.j
   16470 
   16471 
   16472 All manifest constants have been forced to upper case (some were
   16473 mixed case.)   Also, the string "ACPI_" has been prepended to many
   16474 (not all) of the constants,  typedefs, and structs.
   16475 
   16476 The globals "DebugLevel" and "DebugLayer" have been renamed
   16477 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
   16478 
   16479 All other globals within the subsystem are now prefixed with
   16480 "AcpiGbl_" Internal procedures within the subsystem are now
   16481 prefixed with "Acpi" (with only  a few exceptions).  The original
   16482 two-letter abbreviation for the subcomponent  remains after "Acpi"
   16483 - for example, CmCallocate became AcpiCmCallocate.
   16484 
   16485 Added a source code translation/conversion utility.  Used to
   16486 generate the Linux  source code, it can be modified to generate
   16487 other types of source as well. Can  also be used to cleanup
   16488 existing source by removing extraneous spaces and blank  lines.
   16489 Found in tools/acpisrc/*
   16490 
   16491 OsdUnMapMemory was renamed to OsdUnmapMemory and then
   16492 AcpiOsUnmapMemory.  (UnMap  became Unmap).
   16493 
   16494 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
   16495 When set to  one, this indicates that the caller wants to use the
   16496 
   16497 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
   16498 both types.  However, implementers of this  call may want to use
   16499 different OS primitives depending on the type of semaphore
   16500 requested.  For example, some operating systems provide separate
   16501 
   16502 "mutex" and  "semaphore" interfaces - where the mutex interface is
   16503 much faster because it  doesn't have all the overhead of a full
   16504 semaphore implementation.
   16505 
   16506 Fixed a deadlock problem where a method that accesses the PCI
   16507 address space can  block forever if it is the first access to the
   16508 space.
   16509 
   16510 -------------------------------------------
   16511 Summary of changes for this label: 06_02_00
   16512 
   16513 Support for environments that cannot handle unaligned data
   16514 accesses (e.g.  firmware and OS environments devoid of alignment
   16515 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
   16516 been added (via configurable macros) in  these three areas: -
   16517 Transfer of data from the raw AML byte stream is done via byte
   16518 moves instead of    word/dword/qword moves. - External objects are
   16519 aligned within the user buffer, including package   elements (sub-
   16520 objects). - Conversion of name strings to UINT32 Acpi Names is now
   16521 done byte-wise.
   16522 
   16523 The Store operator was modified to mimic Microsoft's
   16524 implementation when storing  to a Buffer Field.
   16525 
   16526 Added a check of the BM_STS bit before entering C3.
   16527 
   16528 The methods subdirectory has been obsoleted and removed.  A new
   16529 file, cmeval.c  subsumes the functionality.
   16530 
   16531 A 16-bit (DOS) version of AcpiExec has been developed.  The
   16532 makefile is under  the acpiexec directory.
   16533