Home | History | Annotate | Line # | Download | only in dist
changes.txt revision 1.1.1.5.2.8
      1 ----------------------------------------
      2 03 March 2017. Summary of changes for version 20170303:
      3 
      4 
      5 0) ACPICA licensing:
      6 
      7 The licensing information at the start of each source code module has 
      8 been updated. In addition to the Intel license, the dual GPLv2/BSD 
      9 license has been added for completeness. Now, a single version of the 
     10 source code should be suitable for all ACPICA customers. This is the 
     11 major change for this release since it affects all source code modules.
     12 
     13 
     14 1) ACPICA kernel-resident subsystem: 
     15 
     16 Fixed two issues with the common asltypes.h header that could cause 
     17 problems in some environments: (Kim Jung-uk)
     18     Removed typedef for YY_BUFFER_STATE ?
     19        Fixes an error with earlier versions of Flex.
     20     Removed use of FILE typedef (which is only defined in stdio.h)
     21 
     22 
     23 2) iASL Compiler/Disassembler and Tools: 
     24 
     25 Disassembler: fixed a regression introduced in 20170224. A fix for a 
     26 memory leak related to resource descriptor tags (names) could fault when 
     27 the disassembler was generated with 64-bit compilers.
     28 
     29 The ASLTS test suite has been updated to implement a new testing 
     30 architecture. During generation of the suite from ASL source, both the 
     31 ASL and ASL+ compilers are now validated, as well as the disassembler 
     32 itself (Erik Schmauss). The architecture executes as follows:
     33 
     34     For every ASL source module:
     35         Compile (legacy ASL compilation)
     36         Disassemble the resulting AML to ASL+ source code
     37         Compile the new ASL+ module
     38         Perform a binary compare on the legacy AML and the new ASL+ AML
     39     The ASLTS suite then executes normally using the AML binaries.
     40 
     41 ----------------------------------------
     42 24 February 2017. Summary of changes for version 20170224:
     43 
     44 
     45 1) ACPICA kernel-resident subsystem:
     46 
     47 Interpreter: Fixed two issues with the control method return value auto-
     48 repair feature, where an attempt to double-delete an internal object 
     49 could result in an ACPICA warning (for _CID repair and others). No fault 
     50 occurs, however, because the attempted deletion (actually a release to an 
     51 internal cache) is detected and ignored via object poisoning.
     52 
     53 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
     54 of control methods. If certain debugger commands are executed during 
     55 stepping, a mutex aquire/release error could occur. Lv Zheng.
     56 
     57 Fixed some issues generating ACPICA with the Intel C compiler by 
     58 restoring the original behavior and compiler-specific include file in 
     59 acenv.h. Lv Zheng.
     60 
     61 Example Code and Data Size: These are the sizes for the OS-independent 
     62 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
     63 debug version of the code includes the debug output trace mechanism and 
     64 has a much larger code and data size.
     65 
     66   Current Release:
     67     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
     68     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
     69   Previous Release:
     70     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
     71     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
     72 
     73 
     74 2) iASL Compiler/Disassembler and Tools:
     75 
     76 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
     77 tool has been designed, implemented, and included in this release. The 
     78 key feature of this utility is that the original comments within the 
     79 input ASL file are preserved during the conversion process, and included 
     80 within the converted ASL+ file -- thus creating a transparent conversion 
     81 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
     82 
     83     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
     84 converted code
     85 
     86 iASL/Disassembler: Improved the detection and correct disassembly of 
     87 Switch/Case operators. This feature detects sequences of if/elseif/else 
     88 operators that originated from ASL Switch/Case/Default operators and 
     89 emits the original operators. David Box.
     90 
     91 iASL: Improved the IORT ACPI table support in the following areas. Lv 
     92 Zheng:
     93     Clear MappingOffset if the MappingCount is zero.
     94     Fix the disassembly of the SMMU GSU interrupt offset.
     95     Update the template file for the IORT table.
     96 
     97 Disassembler: Enhanced the detection and disassembly of resource 
     98 template/descriptor within a Buffer object. An EndTag descriptor is now 
     99 required to have a zero second byte, since all known ASL compilers emit 
    100 this. This helps eliminate incorrect decisions when a buffer is 
    101 disassembled (false positives on resource templates).
    102 
    103 ----------------------------------------
    104 19 January 2017. Summary of changes for version 20170119:
    105 
    106 
    107 1) General ACPICA software:
    108 
    109 Entire source code base: Added the 2017 copyright to all source code 
    110 legal/licensing module headers and utility/tool signons. This includes 
    111 the standard Linux dual-license header. This affects virtually every file 
    112 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
    113 the ACPICA test suite.
    114 
    115 
    116 2) iASL Compiler/Disassembler and Tools:
    117 
    118 iASL: Removed/fixed an inadvertent remark when a method argument 
    119 containing a reference is used as a target operand within the method (and 
    120 never used as a simple argument), as in the example below. Jeffrey Hugo.
    121 
    122     dsdt.asl   1507:    Store(0x1, Arg0)
    123     Remark   2146 -                ^ Method Argument is never used (Arg0)
    124 
    125 All tools: Removed the bit width of the compiler that generated the tool 
    126 from the common signon for all user space tools. This proved to be 
    127 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
    128 from the generic makefiles (Thomas Petazzoni). Example below.
    129 
    130     Old:
    131     ASL+ Optimizing Compiler version 20170119-32
    132     ASL+ Optimizing Compiler version 20170119-64
    133 
    134     New:
    135     ASL+ Optimizing Compiler version 20170119
    136 
    137 ----------------------------------------
    138 22 December 2016. Summary of changes for version 20161222:
    139 
    140 
    141 1) ACPICA kernel-resident subsystem:
    142 
    143 AML Debugger: Implemented a new mechanism to simplify and enhance 
    144 debugger integration into all environments, including kernel debuggers 
    145 and user-space utilities, as well as remote debug services. This 
    146 mechanism essentially consists of new OSL interfaces to support debugger 
    147 initialization/termination, as well as wait/notify interfaces to perform 
    148 the debugger handshake with the host. Lv Zheng.
    149 
    150     New OSL interfaces:
    151         AcpiOsInitializeDebugger (void)
    152         AcpiOsTerminateDebugger (void)
    153         AcpiOsWaitCommandReady (void)
    154         AcpiOsNotifyCommandComplete (void)
    155 
    156     New OS services layer:
    157         osgendbg.c -- Example implementation, and used for AcpiExec
    158 
    159 Update for Generic Address Space (GAS) support: Although the AccessWidth 
    160 and/or BitOffset fields of the GAS are not often used, this change now 
    161 fully supports these fields. This affects the internal support for FADT 
    162 registers, registers in other ACPI data tables, and the AcpiRead and 
    163 AcpiWrite public interfaces. Lv Zheng.
    164 
    165 Sleep support: In order to simplify integration of ACPI sleep for the 
    166 various host operating systems, a new OSL interface has been introduced. 
    167 AcpiOsEnterSleep allows the host to perform any required operations 
    168 before the final write to the sleep control register(s) is performed by 
    169 ACPICA. Lv Zheng.
    170 
    171     New OSL interface:
    172         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
    173 
    174     Called from these internal interfaces:
    175         AcpiHwLegacySleep
    176         AcpiHwExtendedSleep
    177 
    178 EFI support: Added a very small EFI/ACPICA example application. Provides 
    179 a simple demo for EFI integration, as well as assisting with resolution 
    180 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
    181 
    182     source/tools/efihello/efihello.c
    183 
    184 Local C library: Implemented several new functions to enhance ACPICA 
    185 portability, for environments where these clib functions are not 
    186 available (such as EFI). Lv Zheng:
    187     putchar
    188     getchar
    189     strpbrk
    190     strtok
    191     memmove
    192 
    193 Fixed a regression where occasionally a valid resource descriptor was 
    194 incorrectly detected as invalid at runtime, and a 
    195 AE_AML_NO_RESOURCE_END_TAG was returned.
    196 
    197 Fixed a problem with the recently implemented support that enables 
    198 control method invocations as Target operands to many ASL operators. 
    199 Warnings of this form: "Needed type [Reference], found [Processor]" were 
    200 seen at runtime for some method invocations.
    201 
    202 Example Code and Data Size: These are the sizes for the OS-independent 
    203 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    204 debug version of the code includes the debug output trace mechanism and 
    205 has a much larger code and data size.
    206 
    207   Current Release:
    208     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
    209     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
    210   Previous Release:
    211     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
    212     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
    213 
    214 
    215 2) iASL Compiler/Disassembler and Tools:
    216 
    217 Disassembler: Enhanced output by adding the capability to detect and 
    218 disassemble ASL Switch/Case statements back to the original ASL source 
    219 code instead of if/else blocks. David Box.
    220 
    221 AcpiHelp: Split a large file into separate files based upon 
    222 functionality/purpose. New files are:
    223     ahaml.c
    224     ahasl.c
    225 
    226 ----------------------------------------
    227 17 November 2016. Summary of changes for version 20161117:
    228 
    229 
    230 1) ACPICA kernel-resident subsystem:
    231 
    232 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
    233 cleanup". This was an attempt to remove all references in the source to 
    234 the FADT version 2, which never was a legal version number. It was 
    235 skipped because it was an early version of 64-bit support that was 
    236 eventually abandoned for the current 64-bit support.
    237 
    238 Interpreter: Fixed a problem where runtime implicit conversion was 
    239 incorrectly disabled for the ASL operators below. This brings the 
    240 behavior into compliance with the ACPI specification:
    241     FromBCD
    242     ToBCD
    243     ToDecimalString
    244     ToHexString
    245     ToInteger
    246     ToBuffer
    247 
    248 Table Manager: Added a new public interface, AcpiPutTable, used to 
    249 release and free an ACPI table returned by AcpiGetTable and related 
    250 interfaces. Lv Zheng.
    251 
    252 Example Code and Data Size: These are the sizes for the OS-independent 
    253 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    254 debug version of the code includes the debug output trace mechanism and 
    255 has a much larger code and data size.
    256 
    257   Current Release:
    258     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
    259     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
    260   Previous Release:
    261     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
    262     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
    263 
    264 
    265 2) iASL Compiler/Disassembler and Tools:
    266 
    267 Disassembler: Fixed a regression for disassembly of Resource Template. 
    268 Detection of templates in the AML stream missed some types of templates.
    269 
    270 iASL: Fixed a problem where an Access Size error was returned for the PCC 
    271 address space when the AccessSize of the GAS register is greater than a 
    272 DWORD. Hoan Tran.
    273 
    274 iASL: Implemented several grammar changes for the operators below. These 
    275 changes are slated for the next version of the ACPI specification:
    276     RefOf        - Disallow method invocation as an operand
    277     CondRefOf    - Disallow method invocation as an operand
    278     DerefOf      - Disallow operands that use the result from operators 
    279 that
    280                    do not return a reference (Changed TermArg to 
    281 SuperName).
    282 
    283 iASL: Control method invocations are now allowed for Target operands, as 
    284 per the ACPI specification. Removed error for using a control method 
    285 invocation as a Target operand.
    286 
    287 Disassembler: Improved detection of Resource Templates, Unicode, and 
    288 Strings within Buffer objects. These subtypes do not contain a specific 
    289 opcode to indicate the originating ASL code, and they must be detected by 
    290 other means within the disassembler. 
    291 
    292 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
    293 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
    294 only after 64-bit to 32-bit truncation. A truncation warning message is 
    295 still emitted, however.
    296 
    297 AcpiXtract: Implemented handling for both types of line terminators (LF 
    298 or CR/LF) so that it can accept AcpiDump output files from any system. 
    299 Peter Wu.
    300 
    301 AcpiBin: Added two new options for comparing AML files:
    302     -a: compare and display ALL mismatches
    303     -o: start compare at this offset into the second file
    304 
    305 ----------------------------------------
    306 30 September 2016. Summary of changes for version 20160930:
    307 
    308 
    309 1) ACPICA kernel-resident subsystem:
    310 
    311 Fixed a regression in the internal AcpiTbFindTable function where a non 
    312 AE_OK exception could inadvertently be returned even if the function did 
    313 not fail. This problem affects the following operators:
    314     DataTableRegion
    315     LoadTable
    316 
    317 Fixed a regression in the LoadTable operator where a load to any 
    318 namespace location other than the root no longer worked properly.
    319 
    320 Increased the maximum loop count value that will result in the 
    321 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
    322 prevent infinite loops within the AML interpreter and thus the host OS 
    323 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
    324 1,048,575).
    325 
    326 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
    327 acpixf.h file. This allows hosts to easily configure the maximum loop 
    328 count at runtime.
    329 
    330 Removed an illegal character in the strtoul64.c file. This character 
    331 caused errors with some C compilers.
    332 
    333 Example Code and Data Size: These are the sizes for the OS-independent 
    334 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    335 debug version of the code includes the debug output trace mechanism and 
    336 has a much larger code and data size.
    337 
    338   Current Release:
    339     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
    340     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
    341   Previous Release:
    342     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
    343     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
    344 
    345 
    346 2) iASL Compiler/Disassembler and Tools:
    347 
    348 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
    349 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
    350 block could be lost and missing from the disassembled output.
    351 
    352 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
    353 the missing rule caused a parse error when using the Index operator as an 
    354 operand to ObjectType. This construct now compiles properly. Example:
    355     ObjectType(PKG1[4]).
    356 
    357 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
    358 option). Previously, unresolved symbols could cause a protection fault. 
    359 Such symbols are now marked as unresolved in the map file.
    360 
    361 iASL: Implemented support to allow control method invocations as an 
    362 operand to the ASL DeRefOf operator. Example:
    363     DeRefOf(MTH1(Local0))
    364 
    365 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
    366 possible _PLD buffer now includes examination of both the normal buffer 
    367 length (16 or 20) as well as the surrounding AML package length.
    368 
    369 Disassembler: Fixed a problem with the decoding of complex expressions 
    370 within the Divide operator for ASL+. For the case where both the quotient 
    371 and remainder targets are specified, the entire statement cannot be 
    372 disassembled. Previously, the output incorrectly contained a mix of ASL- 
    373 and ASL+ operators. This mixed statement causes a syntax error when 
    374 compiled. Example:
    375     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
    376 disassembled to:
    377     Divide (INT1 + 6, 128, RSLT, QUOT)
    378 
    379 iASL/Tools: Added support to process AML and non-AML ACPI tables 
    380 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
    381 tables (AML and data tables). For the iASL -e option, allow only AML 
    382 tables (DSDT/SSDT).
    383 
    384 ----------------------------------------
    385 31 August 2016. Summary of changes for version 20160831:
    386 
    387 
    388 1) ACPICA kernel-resident subsystem:
    389 
    390 Improve support for the so-called "module-level code", which is defined 
    391 to be math, logical and control AML opcodes that appear outside of any 
    392 control method. This change improves the support by adding more opcodes 
    393 that can be executed in the manner. Some other issues have been solved, 
    394 and the ASL grammar changes to support such code under all scope 
    395 operators (Device, etc.) are complete. Lv Zheng.
    396 
    397 UEFI support: these OSL functions have been implemented. This is an 
    398 additional step toward supporting the AcpiExec utility natively (with 
    399 full hardware access) under UEFI. Marcelo Ferreira.
    400     AcpiOsReadPciConfiguration
    401     AcpiOsWritePciConfiguration
    402 
    403 Fixed a possible mutex error during control method auto-serialization. Lv 
    404 Zheng. 
    405 
    406 Updated support for the Generic Address Structure by fully implementing 
    407 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
    408 Zheng.
    409 
    410 Updated the return value for the internal _OSI method. Instead of 
    411 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
    412 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
    413 implementations, and will be reflected and clarified in the next version 
    414 of the ACPI specification.
    415 
    416 Implemented two new table events that can be passed to an ACPICA table 
    417 handler. These events are used to indicate a table installation or 
    418 uninstallation. These events are used in addition to existed table load 
    419 and unload events. Lv Zheng.
    420 
    421 Implemented a cleanup for all internal string-to-integer conversions. 
    422 Consolidate multiple versions of this functionality and limit possible 
    423 bases to either 10 or 16 to simplify the code. Adds a new file, 
    424 utstrtoul64.
    425 
    426 Cleanup the inclusion order of the various compiler-specific headers. 
    427 This simplifies build configuration management. The compiler-specific 
    428 headers are now split out from the host-specific headers. Lv Zheng.
    429 
    430 Example Code and Data Size: These are the sizes for the OS-independent 
    431 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    432 debug version of the code includes the debug output trace mechanism and 
    433 has a much larger code and data size.
    434 
    435   Current Release:
    436     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
    437     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
    438 
    439 
    440 2) iASL Compiler/Disassembler and Tools:
    441 
    442 iASL/AcpiExec: Added a command line option to display the build date/time 
    443 of the tool (-vd). This can be useful to verify that the correct version 
    444 of the tools are being used.
    445 
    446 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
    447 all predefined control methods and names within the current namespace. 
    448 This can be useful for debugging problems with ACPI tables and the ACPI 
    449 namespace.
    450 
    451 ----------------------------------------
    452 29 July 2016. Summary of changes for version 20160729:
    453 
    454 
    455 1) ACPICA kernel-resident subsystem:
    456 
    457 Implemented basic UEFI support for the various ACPICA tools. This 
    458 includes:
    459 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
    460 2) Support to obtain the ACPI tables on UEFI.
    461 3) Local implementation of required C library functions not available on 
    462 UEFI.
    463 4) A front-end (main) function for the tools for UEFI-related 
    464 initialization.
    465 
    466 The initial deployment of this support is the AcpiDump utility executing 
    467 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
    468 Current environments supported are Linux/Unix. MSVC generation is not 
    469 supported at this time. See the generate/efi/README file for build 
    470 instructions. Lv Zheng.
    471 
    472 Future plans include porting the AcpiExec utility to execute natively on 
    473 the platform with I/O and memory access. This will allow viewing/dump of 
    474 the platform namespace and native execution of ACPI control methods that 
    475 access the actual hardware. To fully implement this support, the OSL 
    476 functions below must be implemented with UEFI interfaces. Any community 
    477 help in the implementation of these functions would be appreciated:
    478     AcpiOsReadPort
    479     AcpiOsWritePort
    480     AcpiOsReadMemory
    481     AcpiOsWriteMemory
    482     AcpiOsReadPciConfiguration
    483     AcpiOsWritePciConfiguration
    484 
    485 Restructured and standardized the C library configuration for ACPICA, 
    486 resulting in the various configuration options below. This includes a 
    487 global restructuring of the compiler-dependent and platform-dependent 
    488 include files. These changes may affect the existing platform-dependent 
    489 configuration files on some hosts. Lv Zheng. 
    490 
    491 The current C library configuration options appear below. For any issues, 
    492 it may be helpful to examine the existing compiler-dependent and 
    493 platform-dependent files as examples. Lv Zheng. 
    494 
    495 1) Linux kernel:
    496     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
    497 library.
    498     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
    499 2) Unix/Windows/BSD applications:
    500     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
    501 library.
    502     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
    503 3) UEFI applications:
    504     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
    505 library.
    506     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
    507 4) UEFI applications (EDK2/StdLib):
    508     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
    509     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
    510 
    511 
    512 AML interpreter: "module-level code" support. Allows for execution of so-
    513 called "executable" AML code (math/logical operations, etc.) outside of 
    514 control methods not just at the module level (top level) but also within 
    515 any scope declared outside of a control method - Scope{}, Device{}, 
    516 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
    517 
    518 Simplified the configuration of the "maximum AML loops" global option by 
    519 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
    520 modified at runtime.
    521 
    522 
    523 Example Code and Data Size: These are the sizes for the OS-independent 
    524 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    525 debug version of the code includes the debug output trace mechanism and 
    526 has a much larger code and data size.
    527 
    528   Current Release:
    529     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
    530     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
    531 
    532 
    533 2) iASL Compiler/Disassembler and Tools:
    534 
    535 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
    536 Includes disassembler, data table compiler, and header support.
    537 
    538 iASL Expand "module-level code" support. Allows for 
    539 compilation/disassembly of so-called "executable" AML code (math/logical 
    540 operations, etc.) outside of control methods not just at the module level 
    541 (top level) but also within any scope declared outside of a control 
    542 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
    543 ThermalZone{}.
    544 
    545 AcpiDump: Added support for dumping all SSDTs on newer versions of 
    546 Windows. These tables are now easily available -- SSDTs are not available 
    547 through the registry on older versions.
    548 
    549 ----------------------------------------
    550 27 May 2016. Summary of changes for version 20160527:
    551 
    552 
    553 1) ACPICA kernel-resident subsystem:
    554 
    555 Temporarily reverted the new arbitrary bit length/alignment support in 
    556 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
    557 a number of regressions with the new code that need to be fully resolved 
    558 and tested before this support can be finally integrated into ACPICA. 
    559 Apologies for any inconveniences these issues may have caused.
    560 
    561 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
    562 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
    563 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
    564 
    565 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
    566 option. Adds a new return macro, return_STR. Junk-uk Kim.
    567 
    568 Example Code and Data Size: These are the sizes for the OS-independent 
    569 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    570 debug version of the code includes the debug output trace mechanism and 
    571 has a much larger code and data size.
    572 
    573   Current Release:
    574     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
    575     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
    576   Previous Release:
    577     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
    578     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
    579 
    580 ----------------------------------------
    581 22 April 2016. Summary of changes for version 20160422:
    582 
    583 1) ACPICA kernel-resident subsystem:
    584 
    585 Fixed a regression in the GAS (generic address structure) arbitrary bit 
    586 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
    587 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
    588 
    589 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
    590 was added to each of these macros, and the original name has been 
    591 deprecated. The AML disassembler will always disassemble to the new 
    592 names. Support for the new macros was added to iASL, disassembler, 
    593 resource manager, and the acpihelp utility. ACPICA BZ 1274.
    594 
    595     I2cSerialBus  -> I2cSerialBusV2
    596     SpiSerialBus  -> SpiSerialBusV2
    597     UartSerialBus -> UartSerialBusV2
    598 
    599 ACPI 6.0: Added support for a new integer field that was appended to the 
    600 package object returned by the _BIX method. This adds iASL compile-time 
    601 and AML runtime error checking. ACPICA BZ 1273.
    602 
    603 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
    604 Subspace Type2" (Headers, Disassembler, and data table compiler).
    605 
    606 Example Code and Data Size: These are the sizes for the OS-independent 
    607 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    608 debug version of the code includes the debug output trace mechanism and 
    609 has a much larger code and data size.
    610 
    611   Current Release:
    612     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
    613     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
    614   Previous Release:
    615     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
    616     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
    617 
    618 
    619 2) iASL Compiler/Disassembler and Tools:
    620 
    621 iASL: Implemented an ASL grammar extension to allow/enable executable 
    622 "module-level code" to be created and executed under the various 
    623 operators that create new scopes. This type of AML code is already 
    624 supported in all known AML interpreters, and the grammar change will 
    625 appear in the next version of the ACPI specification. Simplifies the 
    626 conditional runtime creation of named objects under these object types: 
    627 
    628     Device
    629     PowerResource
    630     Processor
    631     Scope
    632     ThermalZone
    633 
    634 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
    635 ease-of-use to the ASL language. The syntax is similar to the 
    636 corresponding C operator, and is implemented with the existing AML While 
    637 opcode -- thus requiring no changes to existing AML interpreters.
    638 
    639     For (Initialize, Predicate, Update) {TermList}
    640 
    641 Grammar:
    642     ForTerm :=
    643         For (
    644             Initializer    // Nothing | TermArg => ComputationalData
    645             Predicate      // Nothing | TermArg => ComputationalData
    646             Update         // Nothing | TermArg => ComputationalData
    647         ) {TermList}
    648 
    649 
    650 iASL: The _HID/_ADR detection and validation has been enhanced to search 
    651 under conditionals in order to allow these objects to be conditionally 
    652 created at runtime.
    653 
    654 iASL: Fixed several issues with the constant folding feature. The 
    655 improvement allows better detection and resolution of statements that can 
    656 be folded at compile time. ACPICA BZ 1266. 
    657 
    658 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
    659 conversion to the ASL ElseIf operator where incorrect ASL code could be 
    660 generated.
    661 
    662 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
    663 sometimes an extra (and extraneous) set of parentheses were emitted for 
    664 some combinations of operators. Although this did not cause any problems 
    665 with recompilation of the disassembled code, it made the code more 
    666 difficult to read. David Box. ACPICA BZ 1231.
    667 
    668 iASL: Changed to ignore the unreferenced detection for predefined names 
    669 of resource descriptor elements, when the resource descriptor is 
    670 created/defined within a control method.
    671 
    672 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
    673 objects.
    674 
    675 ----------------------------------------
    676 18 March 2016. Summary of changes for version 20160318:
    677 
    678 1) ACPICA kernel-resident subsystem:
    679 
    680 Added support for arbitrary bit lengths and bit offsets for registers 
    681 defined by the Generic Address Structure. Previously, only aligned bit 
    682 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
    683 but recently some machines have been seen that require arbitrary bit-
    684 level support. ACPICA BZ 1240. Lv Zheng.
    685 
    686 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
    687 before any _REG methods are evaluated. Lv Zheng.
    688 
    689 Implemented several changes related to ACPI table support 
    690 (Headers/Disassembler/TableCompiler):
    691 NFIT: For ACPI 6.1, updated to add some additional new fields and 
    692 constants.
    693 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
    694 6).
    695 DMAR: Added new constants per the 10/2014 DMAR spec.
    696 IORT: Added new subtable per the 10/2015 IORT spec.
    697 HEST: For ACPI 6.1, added new constants and new subtable.
    698 DBG2: Added new constants per the 12/2015 DBG2 spec.
    699 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
    700 ACPICA BZ 1249.
    701 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
    702 
    703 Updated header support for the DMAR table to match the current version of 
    704 the related spec.
    705 
    706 Added extensions to the ASL Concatenate operator to allow any ACPI object 
    707 to be passed as an operand. Any object other than Integer/String/Buffer 
    708 simply returns a string containing the object type. This extends the 
    709 usefulness of the Printf macros. Previously, Concatenate would abort the 
    710 control method if a non-data object was encountered.
    711 
    712 ACPICA source code: Deployed the C "const" keyword across the source code 
    713 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
    714 
    715 Example Code and Data Size: These are the sizes for the OS-independent 
    716 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    717 debug version of the code includes the debug output trace mechanism and 
    718 has a much larger code and data size.
    719 
    720   Current Release:
    721     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
    722     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
    723   Previous Release:
    724     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
    725     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
    726 
    727 
    728 2) iASL Compiler/Disassembler and Tools:
    729 
    730 iASL/Disassembler: Improved the heuristic used to determine the number of 
    731 arguments for an externally defined control method (a method in another 
    732 table). Although this is an improvement, there is no deterministic way to 
    733 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
    734 will completely solve this problem as it is deployed (automatically) in 
    735 newer BIOS code.
    736 
    737 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
    738 statements that could cause errors when the disassembled file is 
    739 compiled. ACPICA BZ 1243. David Box.
    740 
    741 iASL: Fixed a regression caused by the merger of the two versions of the 
    742 local strtoul64. Because of a dependency on a global variable, strtoul64 
    743 could return an error for integers greater than a 32-bit value. ACPICA BZ 
    744 1260.
    745 
    746 iASL: Fixed a regression where a fault could occur for an ASL Return 
    747 statement if it invokes a control method that is not resolved. ACPICA BZ 
    748 1264.
    749 
    750 AcpiXtract: Improved input file validation: detection of binary files and 
    751 non-acpidump text files.
    752 
    753 ----------------------------------------
    754 12 February 2016. Summary of changes for version 20160212:
    755 
    756 1) ACPICA kernel-resident subsystem:
    757 
    758 Implemented full support for the ACPI 6.1 specification (released in 
    759 January). This version of the specification is available at:  
    760 http://www.uefi.org/specifications
    761 
    762 Only a relatively small number of changes were required in ACPICA to 
    763 support ACPI 6.1, in these areas:
    764 - New predefined names
    765 - New _HID values
    766 - A new subtable for HEST
    767 - A few other header changes for new values
    768 
    769 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
    770 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
    771 
    772 Reverted a change made in version 20151218 which enabled method 
    773 invocations to be targets of various ASL operators (SuperName and Target 
    774 grammar elements). While the new behavior is supported by the ACPI 
    775 specification, other AML interpreters do not support this behavior and 
    776 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
    777 this support. Therefore, the change was reverted to the original ACPICA 
    778 behavior.
    779 
    780 ACPICA now supports the GCC 6 compiler.
    781 
    782 Current Release: (Note: build changes increased sizes)
    783     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
    784     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
    785 Previous Release:
    786     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
    787     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
    788 
    789 
    790 2) iASL Compiler/Disassembler and Tools:
    791 
    792 Completed full support for the ACPI 6.0 External() AML opcode. The 
    793 compiler emits an external AML opcode for each ASL External statement. 
    794 This opcode is used by the disassembler to assist with the disassembly of 
    795 external control methods by specifying the required number of arguments 
    796 for the method. AML interpreters do not use this opcode. To ensure that 
    797 interpreters do not even see the opcode, a block of one or more external 
    798 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
    799 commonly deployed in BIOS code, the ability of disassemblers to correctly 
    800 disassemble AML code will be greatly improved. David Box.
    801 
    802 iASL: Implemented support for an optional cross-reference output file. 
    803 The -lx option will create a the cross-reference file with the suffix 
    804 "xrf". Three different types of cross-reference are created in this file:
    805 - List of object references made from within each control method
    806 - Invocation (caller) list for each user-defined control method
    807 - List of references to each non-method object in the namespace
    808 
    809 iASL: Method invocations as ASL Target operands are now disallowed and 
    810 flagged as errors in preparation for ACPI 6.2 (see the description of the 
    811 problem above).
    812 
    813 ----------------------------------------
    814 8 January 2016. Summary of changes for version 20160108:
    815 
    816 1) ACPICA kernel-resident subsystem:
    817 
    818 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
    819 copyright to all source code module headers and utility/tool signons. 
    820 This includes the standard Linux dual-license header. This affects 
    821 virtually every file in the ACPICA core subsystem, iASL compiler, all 
    822 ACPICA utilities, and the ACPICA test suite.
    823 
    824 Fixed a regression introduced in version 20151218 concerning the 
    825 execution of so-called module-level ASL/AML code. Namespace objects 
    826 created under a module-level If() construct were not properly/fully 
    827 entered into the namespace and could cause an interpreter fault when 
    828 accessed.
    829 
    830 Example Code and Data Size: These are the sizes for the OS-independent 
    831 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    832 debug version of the code includes the debug output trace mechanism and 
    833 has a much larger code and data size.
    834 
    835 Current Release:
    836     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
    837     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
    838   Previous Release:
    839     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
    840     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
    841 
    842 
    843 2) iASL Compiler/Disassembler and Tools:
    844 
    845 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
    846 descriptors. The _PIN field name was incorrectly defined to be an array 
    847 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
    848 would cause incorrect bit width warnings when using Word (16-bit) fields 
    849 to access the descriptors.
    850 
    851 
    852 ----------------------------------------
    853 18 December 2015. Summary of changes for version 20151218:
    854 
    855 1) ACPICA kernel-resident subsystem:
    856 
    857 Implemented per-AML-table execution of "module-level code" as individual 
    858 ACPI tables are loaded into the namespace during ACPICA initialization. 
    859 In other words, any module-level code within an AML table is executed 
    860 immediately after the table is loaded, instead of batched and executed 
    861 after all of the tables have been loaded. This provides compatibility 
    862 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
    863 David Box.
    864 
    865 To fully support the feature above, the default operation region handlers 
    866 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
    867 installed before any ACPI tables are loaded. This enables module-level 
    868 code to access these address spaces during the table load and module-
    869 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
    870 Box.
    871 
    872 Implemented several changes to the internal _REG support in conjunction 
    873 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
    874 utilities for the changes above. Although these tools were changed, host 
    875 operating systems that simply use the default handlers for SystemMemory, 
    876 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
    877 
    878 For example, in the code below, DEV1 is conditionally added to the 
    879 namespace by the DSDT via module-level code that accesses an operation 
    880 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
    881 created immediately after the DSDT is loaded in order for the SSDT to 
    882 successfully reference DEV1. Previously, this code would cause an 
    883 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
    884 fully supported by ACPICA.
    885 
    886     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
    887     {
    888         OperationRegion (OPR1, SystemMemory, 0x400, 32)
    889         Field (OPR1, AnyAcc, NoLock, Preserve)
    890         {
    891             FLD1, 1
    892         }
    893         If (FLD1)
    894         {
    895             Device (\DEV1)
    896             {
    897             }
    898         }
    899     }
    900     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
    901     {
    902         External (\DEV1, DeviceObj)
    903         Scope (\DEV1)
    904         {
    905         }
    906     }
    907 
    908 Fixed an AML interpreter problem where control method invocations were 
    909 not handled correctly when the invocation was itself a SuperName argument 
    910 to another ASL operator. In these cases, the method was not invoked. 
    911 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
    912 argument:
    913     Store
    914     Acquire, Wait
    915     CondRefOf, RefOf
    916     Decrement, Increment
    917     Load, Unload
    918     Notify
    919     Signal, Release, Reset
    920     SizeOf
    921 
    922 Implemented automatic String-to-ObjectReference conversion support for 
    923 packages returned by predefined names (such as _DEP). A common BIOS error 
    924 is to add double quotes around an ObjectReference namepath, which turns 
    925 the reference into an unexpected string object. This support detects the 
    926 problem and corrects it before the package is returned to the caller that 
    927 invoked the method. Lv Zheng.
    928 
    929 Implemented extensions to the Concatenate operator. Concatenate now 
    930 accepts any type of object, it is not restricted to simply 
    931 Integer/String/Buffer. For objects other than these 3 basic data types, 
    932 the argument is treated as a string containing the name of the object 
    933 type. This expands the utility of Concatenate and the Printf/Fprintf 
    934 macros. ACPICA BZ 1222.
    935 
    936 Cleaned up the output of the ASL Debug object. The timer() value is now 
    937 optional and no longer emitted by default. Also, the basic data types of 
    938 Integer/String/Buffer are simply emitted as their values, without a data 
    939 type string -- since the data type is obvious from the output. ACPICA BZ 
    940 1221.
    941 
    942 Example Code and Data Size: These are the sizes for the OS-independent 
    943 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
    944 debug version of the code includes the debug output trace mechanism and 
    945 has a much larger code and data size.
    946 
    947   Current Release:
    948     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
    949     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
    950   Previous Release:
    951     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
    952     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
    953 
    954 
    955 2) iASL Compiler/Disassembler and Tools:
    956 
    957 iASL: Fixed some issues with the ASL Include() operator. This operator 
    958 was incorrectly defined in the iASL parser rules, causing a new scope to 
    959 be opened for the code within the include file. This could lead to 
    960 several issues, including allowing ASL code that is technically illegal 
    961 and not supported by AML interpreters. Note, this does not affect the 
    962 related #include preprocessor operator. ACPICA BZ 1212.
    963 
    964 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
    965 operator is essentially an ASL macro since there is no AML opcode 
    966 associated with it. The code emitted by the iASL compiler for ElseIf is 
    967 an Else opcode followed immediately by an If opcode. The disassembler 
    968 will now emit an ElseIf if it finds an Else immediately followed by an 
    969 If. This simplifies the decoded ASL, especially for deeply nested 
    970 If..Else and large Switch constructs. Thus, the disassembled code more 
    971 closely follows the original source ASL. ACPICA BZ 1211. Example:
    972 
    973     Old disassembly:
    974         Else
    975         {
    976             If (Arg0 == 0x02)
    977             {
    978                 Local0 = 0x05
    979             }
    980         }
    981 
    982     New disassembly:
    983         ElseIf (Arg0 == 0x02)
    984         {
    985             Local0 = 0x05
    986         }
    987 
    988 AcpiExec: Added support for the new module level code behavior and the 
    989 early region installation. This required a small change to the 
    990 initialization, since AcpiExec must install its own operation region 
    991 handlers.
    992 
    993 AcpiExec: Added support to make the debug object timer optional. Default 
    994 is timer disabled. This cleans up the debug object output -- the timer 
    995 data is rarely used.
    996 
    997 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
    998 appear on the command line. This can be important when there are 
    999 interdependencies/references between the tables.
   1000 
   1001 iASL/Templates. Add support to generate template files with multiple 
   1002 SSDTs within a single output file. Also added ommand line support to 
   1003 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
   1004 1223, 1225.
   1005 
   1006 
   1007 ----------------------------------------
   1008 24 November 2015. Summary of changes for version 20151124:
   1009 
   1010 1) ACPICA kernel-resident subsystem:
   1011 
   1012 Fixed a possible regression for a previous update to FADT handling. The 
   1013 FADT no longer has a fixed table ID, causing some issues with code that 
   1014 was hardwired to a specific ID. Lv Zheng.
   1015 
   1016 Fixed a problem where the method auto-serialization could interfere with 
   1017 the current SyncLevel. This change makes the auto-serialization support 
   1018 transparent to the SyncLevel support and management.
   1019 
   1020 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
   1021 interface is intended for early access to the namespace during the 
   1022 initial namespace device discovery walk. The _SUB method has been seen to 
   1023 access operation regions in some cases, causing errors because the 
   1024 operation regions are not fully initialized.
   1025 
   1026 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
   1027 that can cause faults. Lv Zheng.
   1028 
   1029 AML Debugger: Add thread ID support so that single-step mode only applies 
   1030 to the AML Debugger thread. This prevents runtime errors within some 
   1031 kernels. Lv Zheng. 
   1032 
   1033 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
   1034 methods that are invoked by this interface are optional, removed warnings 
   1035 emitted for the case where one or more of these methods do not exist. 
   1036 ACPICA BZ 1208, original change by Prarit Bhargava.
   1037 
   1038 Made a major pass through the entire ACPICA source code base to 
   1039 standardize formatting that has diverged a bit over time. There are no 
   1040 functional changes, but this will of course cause quite a few code 
   1041 differences from the previous ACPICA release.
   1042 
   1043 Example Code and Data Size: These are the sizes for the OS-independent 
   1044 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1045 debug version of the code includes the debug output trace mechanism and 
   1046 has a much larger code and data size.
   1047 
   1048   Current Release:
   1049     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
   1050     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
   1051   Previous Release:
   1052     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   1053     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
   1054 
   1055 
   1056 2) iASL Compiler/Disassembler and Tools:
   1057 
   1058 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
   1059 definition blocks within a single ASL file and the resulting AML file. 
   1060 Support for this type of file was also added to the various tools that 
   1061 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
   1062 example code below shows two definition blocks within the same file:
   1063 
   1064     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
   1065 0x12345678)
   1066     {
   1067     }
   1068     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
   1069     {
   1070     }
   1071 
   1072 iASL: Enhanced typechecking for the Name() operator. All expressions for 
   1073 the value of the named object must be reduced/folded to a single constant 
   1074 at compile time, as per the ACPI specification (the AML definition of 
   1075 Name()).
   1076 
   1077 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
   1078 and assembly headers). Now all emitted code correctly begins in column 1.
   1079 
   1080 iASL: Added an error message for an attempt to open a Scope() on an 
   1081 object defined in an SSDT. The DSDT is always loaded into the namespace 
   1082 first, so any attempt to open a Scope on an SSDT object will fail at 
   1083 runtime.
   1084 
   1085 
   1086 ----------------------------------------
   1087 30 September 2015. Summary of changes for version 20150930:
   1088 
   1089 1) ACPICA kernel-resident subsystem:
   1090 
   1091 Debugger: Implemented several changes and bug fixes to assist support for 
   1092 the in-kernel version of the AML debugger. Lv Zheng.
   1093 - Fix the "predefined" command for in-kernel debugger.
   1094 - Do not enter debug command loop for the help and version commands.
   1095 - Disallow "execute" command during execution/single-step of a method.
   1096 
   1097 Interpreter: Updated runtime typechecking for all operators that have 
   1098 target operands. The operand is resolved and validated that it is legal. 
   1099 For example, the target cannot be a non-data object such as a Device, 
   1100 Mutex, ThermalZone, etc., as per the ACPI specification.
   1101 
   1102 Debugger: Fixed the double-mutex user I/O handshake to work when local 
   1103 deadlock detection is enabled.
   1104 
   1105 Debugger: limited display of method locals and arguments (LocalX and 
   1106 ArgX) to only those that have actually been initialized. This prevents 
   1107 lines of extraneous output.
   1108 
   1109 Updated the definition of the NFIT table to correct the bit polarity of 
   1110 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
   1111 
   1112 Example Code and Data Size: These are the sizes for the OS-independent 
   1113 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1114 debug version of the code includes the debug output trace mechanism and 
   1115 has a much larger code and data size.
   1116 
   1117   Current Release:
   1118     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   1119     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
   1120   Previous Release:
   1121     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
   1122     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
   1123 
   1124 
   1125 2) iASL Compiler/Disassembler and Tools:
   1126 
   1127 iASL: Improved the compile-time typechecking for operands of many of the 
   1128 ASL operators:
   1129 
   1130 -- Added an option to disable compiler operand/operator typechecking (-
   1131 ot).
   1132 
   1133 -- For the following operators, the TermArg operands are now validated 
   1134 when possible to be Integer data objects: BankField, OperationRegion, 
   1135 DataTableRegion, Buffer, and Package.
   1136 
   1137 -- Store (Source, Target): Both the source and target operands are 
   1138 resolved and checked that the operands are both legal. For example, 
   1139 neither operand can be a non-data object such as a Device, Mutex, 
   1140 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
   1141 operator can be used to store an object to any type of target object.
   1142 
   1143 -- Store (Source, Target): If the source is a Package object, the target 
   1144 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
   1145 is a Package, the source must also be a Package.
   1146 
   1147 -- Store (Source, Target): A warning is issued if the source and target 
   1148 resolve to the identical named object.
   1149 
   1150 -- Store (Source, <method invocation>): An error is generated for the 
   1151 target method invocation, as this construct is not supported by the AML 
   1152 interpreter.
   1153 
   1154 -- For all ASL math and logic operators, the target operand must be a 
   1155 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
   1156 includes the function return value also.
   1157 
   1158 -- External declarations are also included in the typechecking where 
   1159 possible. External objects defined using the UnknownObj keyword cannot be 
   1160 typechecked, however.
   1161 
   1162 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
   1163 operator:
   1164 - Legacy code: Index(PKG1, 3)
   1165 - New ASL+ code: PKG1[3]
   1166 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
   1167 supported.
   1168 
   1169 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
   1170 spaces were inadvertently appended to the filename, causing file access 
   1171 and deletion problems on some systems.
   1172 
   1173 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
   1174 possible compiler output files when building the test suite -- thus 
   1175 exercising these features of the compiler. These files are automatically 
   1176 deleted when the test suite exits.
   1177 
   1178 
   1179 ----------------------------------------
   1180 18 August 2015. Summary of changes for version 20150818:
   1181 
   1182 1) ACPICA kernel-resident subsystem:
   1183 
   1184 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
   1185 Zheng. ACPICA BZ 1186.
   1186 
   1187 Completed development to ensure that the ACPICA Disassembler and Debugger 
   1188 are fully standalone components of ACPICA. Removed cross-component 
   1189 dependences. Lv Zheng.
   1190 
   1191 The max-number-of-AML-loops is now runtime configurable (previously was 
   1192 compile-time only). This is essentially a loop timeout to force-abort 
   1193 infinite AML loops. ACPCIA BZ 1192.
   1194 
   1195 Debugger: Cleanup output to dump ACPI names and namepaths without any 
   1196 trailing underscores. Lv Zheng. ACPICA BZ 1135.
   1197 
   1198 Removed unnecessary conditional compilations across the Debugger and 
   1199 Disassembler components where entire modules could be left uncompiled.
   1200 
   1201 The aapits test is deprecated and has been removed from the ACPICA git 
   1202 tree. The test has never been completed and has not been maintained, thus 
   1203 becoming rather useless. ACPICA BZ 1015, 794.
   1204 
   1205 A batch of small changes to close bugzilla and other reports:
   1206 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
   1207 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
   1208 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
   1209 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
   1210 Moore.
   1211 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
   1212 ACPICA BZ 1184.
   1213 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
   1214 operators.
   1215 - Debugger: Split debugger initialization/termination interfaces. Lv 
   1216 Zheng.
   1217 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
   1218 identification.
   1219 - AcpiExec: Add debug message during _REG method phase during table 
   1220 load/init.
   1221 - AcpiNames: Fix a regression where some output was missing and no longer 
   1222 emitted.
   1223 - Debugger: General cleanup and simplification. Lv Zheng.
   1224 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
   1225 
   1226 Example Code and Data Size: These are the sizes for the OS-independent 
   1227 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1228 debug version of the code includes the debug output trace mechanism and 
   1229 has a much larger code and data size.
   1230 
   1231   Current Release:
   1232     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
   1233     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
   1234   Previous Release:
   1235     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
   1236     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
   1237 
   1238 
   1239 2) iASL Compiler/Disassembler and Tools:
   1240 
   1241 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
   1242 were not handled properly and caused load errors. Now, properly invoke 
   1243 and use the ACPICA auto-reallocate mechanism for ACPI table data 
   1244 structures. ACPICA BZ 1188
   1245 
   1246 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
   1247 BZ 1190.
   1248 
   1249 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
   1250 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
   1251 executed during initialization. ACPICA BZ 1187, 1189.
   1252 
   1253 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
   1254 that corresponds to each disassembled ASL statement, to simplify 
   1255 debugging. ACPICA BZ 1191.
   1256 
   1257 Debugger: Add option to the "objects" command to display a summary of the 
   1258 current namespace objects (Object type and count). This is displayed if 
   1259 the command is entered with no arguments.
   1260 
   1261 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
   1262 
   1263 
   1264 ----------------------------------------
   1265 17 July 2015. Summary of changes for version 20150717:
   1266 
   1267 1) ACPICA kernel-resident subsystem:
   1268 
   1269 Improved the partitioning between the Debugger and Disassembler 
   1270 components. This allows the Debugger to be used standalone within kernel 
   1271 code without the Disassembler (which is used for single stepping also). 
   1272 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
   1273 
   1274 Debugger: Implemented a new command to trace the execution of control 
   1275 methods (Trace). This is especially useful for the in-kernel version of 
   1276 the debugger when file I/O may not be available for method trace output. 
   1277 See the ACPICA reference for more information. Lv Zheng.
   1278 
   1279 Moved all C library prototypes (used for the local versions of these 
   1280 functions when requested) to a new header, acclib.h
   1281 Cleaned up the use of non-ANSI C library functions. These functions are 
   1282 implemented locally in ACPICA. Moved all such functions to a common 
   1283 source file, utnonansi.c
   1284 
   1285 Debugger: Fixed a problem with the "!!" command (get last command 
   1286 executed) where the debugger could enter an infinite loop and eventually 
   1287 crash.
   1288 
   1289 Removed the use of local macros that were used for some of the standard C 
   1290 library functions to automatically cast input parameters. This mostly 
   1291 affected the is* functions where the input parameter is defined to be an 
   1292 int. This required a few modifications to the main ACPICA source code to 
   1293 provide casting for these functions and eliminate possible compiler 
   1294 warnings for these parameters.
   1295 
   1296 Across the source code, added additional status/error checking to resolve 
   1297 issues discovered by static source code analysis tools such as Coverity.
   1298 
   1299 Example Code and Data Size: These are the sizes for the OS-independent 
   1300 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1301 debug version of the code includes the debug output trace mechanism and 
   1302 has a much larger code and data size.
   1303 
   1304   Current Release:
   1305     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
   1306     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
   1307   Previous Release:
   1308     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
   1309     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
   1310 
   1311 
   1312 2) iASL Compiler/Disassembler and Tools:
   1313 
   1314 iASL: Fixed a regression where the device map file feature no longer 
   1315 worked properly when used in conjunction with the disassembler. It only 
   1316 worked properly with the compiler itself.
   1317 
   1318 iASL: Implemented a new warning for method LocalX variables that are set 
   1319 but never used (similar to a C compiler such as gcc). This also applies 
   1320 to ArgX variables that are not defined by the parent method, and are 
   1321 instead (legally) used as local variables.
   1322 
   1323 iASL/Preprocessor: Finished the pass-through of line numbers from the 
   1324 preprocessor to the compiler. This ensures that compiler errors/warnings 
   1325 have the correct original line numbers and filenames, regardless of any 
   1326 #include files.
   1327 
   1328 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
   1329 pass-through of comments to the preprocessor output file (which becomes 
   1330 the compiler input file). Also fixed a problem with // comments that 
   1331 appear after a math expression.
   1332 
   1333 iASL: Added support for the TCPA server table to the table compiler and 
   1334 template generator. (The client table was already previously supported)
   1335 
   1336 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
   1337 identify the iASL compiler.
   1338 
   1339 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
   1340 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
   1341 ACPI_SIGN_POSITIVE.
   1342 
   1343 AcpiHelp: Update to expand help messages for the iASL preprocessor 
   1344 directives.
   1345 
   1346 
   1347 ----------------------------------------
   1348 19 June 2015. Summary of changes for version 20150619:
   1349 
   1350 Two regressions in version 20150616 have been addressed:
   1351 
   1352 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
   1353 etc.) This update changes ACPICA to only use the standard headers for 
   1354 functions, or the prototypes for the local versions of the C library 
   1355 functions. Across the source code, this required some additional casts 
   1356 for some Clib invocations for portability. Moved all local prototypes to 
   1357 a new file, acclib.h
   1358 
   1359 Fixes several problems with recent changes to the handling of the FACS 
   1360 table that could cause some systems not to boot.
   1361 
   1362 
   1363 ----------------------------------------
   1364 16 June 2015. Summary of changes for version 20150616:
   1365 
   1366 
   1367 1) ACPICA kernel-resident subsystem:
   1368 
   1369 Across the entire ACPICA source code base, the various macros for the C 
   1370 library functions (such as ACPI_STRLEN, etc.) have been removed and 
   1371 replaced by the standard C library names (strlen, etc.) The original 
   1372 purpose for these macros is no longer applicable. This simplification 
   1373 reduces the number of macros used in the ACPICA source code 
   1374 significantly, improving readability and maintainability.
   1375 
   1376 Implemented support for a new ACPI table, the OSDT. This table, the 
   1377 "override" SDT, can be loaded directly by the host OS at boot time. It 
   1378 enables the replacement of existing namespace objects that were installed 
   1379 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
   1380 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
   1381 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
   1382 Moore.
   1383 
   1384 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
   1385 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
   1386 X field). This change will support both automatically. There continues to 
   1387 be systems found with this issue. This support requires a change to the 
   1388 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
   1389 been added to allow the host to select which FACS is desired 
   1390 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
   1391 details Lv Zheng.
   1392 
   1393 Added a new feature to allow for systems that do not contain an FACS. 
   1394 Although this is already supported on hardware-reduced platforms, the 
   1395 feature has been extended for all platforms. The reasoning is that we do 
   1396 not want to abort the entire ACPICA initialization just because the 
   1397 system is seriously buggy and has no FACS.
   1398 
   1399 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
   1400 not correctly transcribed from the ACPI specification in ACPICA version 
   1401 20150515.
   1402 
   1403 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
   1404 interface.
   1405 
   1406 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
   1407 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
   1408 compiler also updated. Note: The TCPA "server" table is not supported by 
   1409 the disassembler/table-compiler at this time.
   1410 
   1411 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
   1412 
   1413 Example Code and Data Size: These are the sizes for the OS-independent 
   1414 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1415 debug version of the code includes the debug output trace mechanism and 
   1416 has a much larger code and data size.
   1417 
   1418   Current Release:
   1419     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
   1420     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
   1421   Previous Release:
   1422     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
   1423     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
   1424 
   1425 
   1426 2) iASL Compiler/Disassembler and Tools:
   1427 
   1428 Disassembler: Fixed a problem with the new symbolic operator disassembler 
   1429 where incorrect ASL code could be emitted in some cases for the "non-
   1430 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
   1431 ShiftRight. The actual problem cases seem to be rather unusual in common 
   1432 ASL code, however. David Box.
   1433 
   1434 Modified the linux version of acpidump to obtain ACPI tables from not 
   1435 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
   1436 Zheng.
   1437 
   1438 iASL: Fixed a problem where the user preprocessor output file (.i) 
   1439 contained extra data that was not expected. The compiler was using this 
   1440 file as a temporary file and passed through #line directives in order to 
   1441 keep compiler error messages in sync with the input file and line number 
   1442 across multiple include files. The (.i) is no longer a temporary file as 
   1443 the compiler uses a new, different file for the original purpose.
   1444 
   1445 iASL: Fixed a problem where comments within the original ASL source code 
   1446 file were not passed through to the preprocessor output file, nor any 
   1447 listing files.
   1448 
   1449 iASL: Fixed some issues for the handling of the "#include" preprocessor 
   1450 directive and the similar (but not the same) "Include" ASL operator.
   1451 
   1452 iASL: Add support for the new OSDT in both the disassembler and compiler.
   1453 
   1454 iASL: Fixed a problem with the constant folding support where a Buffer 
   1455 object could be incorrectly generated (incorrectly formed) during a 
   1456 conversion to a Store() operator.
   1457 
   1458 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
   1459 description text for the _REV predefined name. _REV now permanently 
   1460 returns 2, as per the ACPI 6.0 specification.
   1461 
   1462 Debugger: Enhanced the output of the Debug ASL object for references 
   1463 produced by the Index operator. For Buffers and strings, only output the 
   1464 actual byte pointed to by the index. For packages, only print the single 
   1465 package element decoded by the index. Previously, the entire 
   1466 buffer/string/package was emitted.
   1467 
   1468 iASL/Table-compiler: Fixed a regression where the "generic" data types 
   1469 were no longer recognized, causing errors.
   1470 
   1471 
   1472 ----------------------------------------
   1473 15 May 2015. Summary of changes for version 20150515:
   1474 
   1475 This release implements most of ACPI 6.0 as described below.
   1476 
   1477 1) ACPICA kernel-resident subsystem:
   1478 
   1479 Implemented runtime argument checking and return value checking for all 
   1480 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
   1481 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
   1482 
   1483 Example Code and Data Size: These are the sizes for the OS-independent 
   1484 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1485 debug version of the code includes the debug output trace mechanism and 
   1486 has a much larger code and data size.
   1487 
   1488   Current Release:
   1489     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
   1490     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
   1491   Previous Release:
   1492     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
   1493     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
   1494 
   1495 
   1496 2) iASL Compiler/Disassembler and Tools:
   1497 
   1498 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
   1499 names (argument count validation and return value typechecking.)
   1500 
   1501 iASL disassembler and table compiler: implemented support for all new 
   1502 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
   1503 
   1504 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
   1505 tables: FADT, MADT.
   1506 
   1507 iASL preprocessor: Added a new directive to enable inclusion of binary 
   1508 blobs into ASL code. The new directive is #includebuffer. It takes a 
   1509 binary file as input and emits a named ascii buffer object into the ASL 
   1510 code.
   1511 
   1512 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
   1513 
   1514 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
   1515 directives.
   1516 
   1517 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
   1518 tables.
   1519 
   1520 
   1521 ----------------------------------------
   1522 10 April 2015. Summary of changes for version 20150410:
   1523 
   1524 Reverted a change introduced in version 20150408 that caused
   1525 a regression in the disassembler where incorrect operator
   1526 symbols could be emitted.
   1527 
   1528 
   1529 ----------------------------------------
   1530 08 April 2015. Summary of changes for version 20150408:
   1531 
   1532 
   1533 1) ACPICA kernel-resident subsystem:
   1534 
   1535 Permanently set the return value for the _REV predefined name. It now 
   1536 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
   1537 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
   1538 for ACPI 2.0 and later. It should never be used to differentiate or 
   1539 identify operating systems.
   1540 
   1541 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
   1542 return TRUE to a query with this string.
   1543 
   1544 Fixed several issues with the local version of the printf function.
   1545 
   1546 Added the C99 compiler option (-std=c99) to the Unix makefiles.
   1547 
   1548   Current Release:
   1549     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
   1550     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
   1551   Previous Release:
   1552     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   1553     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   1554 
   1555 
   1556 2) iASL Compiler/Disassembler and Tools:
   1557 
   1558 iASL: Implemented an enhancement to the constant folding feature to 
   1559 transform the parse tree to a simple Store operation whenever possible:
   1560     Add (2, 3, X) ==> is converted to: Store (5, X)
   1561     X = 2 + 3     ==> is converted to: Store (5, X)
   1562 
   1563 Updated support for the SLIC table (Software Licensing Description Table) 
   1564 in both the Data Table compiler and the disassembler. The SLIC table 
   1565 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
   1566 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
   1567 following the ACPI header is now defined to be "Proprietary Data", and as 
   1568 such, can only be entered or displayed as a hex data block.
   1569 
   1570 Implemented full support for the MSDM table as described in the document 
   1571 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
   1572 following the ACPI header is defined to be "Proprietary Data", and can 
   1573 only be entered or displayed as a hex data block.
   1574 
   1575 Implemented the -Pn option for the iASL Table Compiler (was only 
   1576 implemented for the ASL compiler). This option disables the iASL 
   1577 preprocessor.
   1578 
   1579 Disassembler: For disassembly of Data Tables, added a comment field 
   1580 around the Ascii equivalent data that is emitted as part of the "Raw 
   1581 Table Data" block. This prevents the iASL Preprocessor from possible 
   1582 confusion if/when the table is compiled.
   1583 
   1584 Disassembler: Added an option (-df) to force the disassembler to assume 
   1585 that the table being disassembled contains valid AML. This feature is 
   1586 useful for disassembling AML files that contain ACPI signatures other 
   1587 than DSDT or SSDT (such as OEMx or other signatures).
   1588 
   1589 Changes for the EFI version of the tools:
   1590 1) Fixed a build error/issue
   1591 2) Fixed a cast warning
   1592 
   1593 iASL: Fixed a path issue with the __FILE__ operator by making the 
   1594 directory prefix optional within the internal SplitInputFilename 
   1595 function.
   1596 
   1597 Debugger: Removed some unused global variables.
   1598 
   1599 Tests: Updated the makefile for proper generation of the AAPITS suite.
   1600 
   1601 
   1602 ----------------------------------------
   1603 04 February 2015. Summary of changes for version 20150204:
   1604 
   1605 ACPICA kernel-resident subsystem:
   1606 
   1607 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   1608 copyright to all module headers and signons, including the standard Linux 
   1609 header. This affects virtually every file in the ACPICA core subsystem, 
   1610 iASL compiler, all ACPICA utilities, and the test suites.
   1611 
   1612 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
   1613 A raw gpe handling mechanism was created to allow better handling of GPE
   1614 storms that aren't easily managed by the normal handler. The raw handler
   1615 allows disabling/renabling of the the GPE so that interrupt storms can be
   1616 avoided in cases where events cannot be timely serviced. In this 
   1617 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
   1618 GPE. This API will leave the reference counts undisturbed, thereby 
   1619 preventing unintentional clearing of the GPE when the intent in only to 
   1620 temporarily disable it. Raw handlers allow enabling and disabling of a 
   1621 GPE by removing GPE register locking. As such, raw handlers much provide 
   1622 their own locks while using GPE API's to protect access to GPE data 
   1623 structures.
   1624 Lv Zheng
   1625 
   1626 Events: Always modify GPE registers under the GPE lock.
   1627 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
   1628 values. Reported as bug by joe.liu (a] apple.com.
   1629 
   1630 Unix makefiles: Separate option to disable optimizations and 
   1631 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
   1632 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
   1633 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
   1634 errors when building ACPICA. This allows disabling the option without 
   1635 also having to disable optimazations.
   1636 David Box
   1637 
   1638   Current Release:
   1639     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   1640     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
   1641 
   1642 --
   1643 --------------------------------------
   1644 07 November 2014. Summary of changes for version 20141107:
   1645 
   1646 This release is available at https://acpica.org/downloads
   1647 
   1648 This release introduces and implements language extensions to ASL that 
   1649 provide support for symbolic ("C-style") operators and expressions. These 
   1650 language extensions are known collectively as ASL+.
   1651 
   1652 
   1653 1) iASL Compiler/Disassembler and Tools:
   1654 
   1655 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
   1656 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
   1657 Box.
   1658 
   1659 Disassembler: Fixed the Unicode macro support to add escape sequences. 
   1660 All non-printable ASCII values are emitted as escape sequences, as well 
   1661 as the standard escapes for quote and backslash. Ensures that the 
   1662 disassembled macro can be correctly recompiled.
   1663 
   1664 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
   1665 translated to existing AML Concatenate and Store operations. Printf 
   1666 writes to the ASL Debug object. Fprintf allows the specification of an 
   1667 ASL name as the target. Only a single format specifier is required, %o, 
   1668 since the AML interpreter dynamically converts objects to the required 
   1669 type. David E. Box.
   1670 
   1671     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   1672                  (Concatenate (Concatenate (Concatenate ("", Arg0),
   1673                  ": Unexpected value for "), Arg1), ", "), Arg2),
   1674                  " at line "), Arg3), Debug)
   1675 
   1676     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
   1677                  Arg0, Arg1, Arg2, Arg3)
   1678 
   1679     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   1680                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
   1681 
   1682     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
   1683 
   1684 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
   1685 ASL parse tree before the AML code is generated. This allows blocks of 
   1686 ASL code to be removed in order to help locate and identify problem 
   1687 devices and/or code. David E. Box.
   1688 
   1689 AcpiExec: Added support (-fi) for an optional namespace object 
   1690 initialization file. This file specifies initial values for namespace 
   1691 objects as necessary for debugging and testing different ASL code paths 
   1692 that may be taken as a result of BIOS options.
   1693 
   1694 
   1695 2) Overview of symbolic operator support for ASL (ASL+)
   1696 -------------------------------------------------------
   1697 
   1698 As an extension to the ASL language, iASL implements support for symbolic 
   1699 (C-style) operators for math and logical expressions. This can greatly 
   1700 simplify ASL code as well as improve both readability and 
   1701 maintainability. These language extensions can exist concurrently with 
   1702 all legacy ASL code and expressions.
   1703 
   1704 The symbolic extensions are 100% compatible with existing AML 
   1705 interpreters, since no new AML opcodes are created. To implement the 
   1706 extensions, the iASL compiler transforms the symbolic expressions into 
   1707 the legacy ASL/AML equivalents at compile time.
   1708 
   1709 Full symbolic expressions are supported, along with the standard C 
   1710 precedence and associativity rules.
   1711 
   1712 Full disassembler support for the symbolic expressions is provided, and 
   1713 creates an automatic migration path for existing ASL code to ASL+ code 
   1714 via the disassembly process. By default, the disassembler now emits ASL+ 
   1715 code with symbolic expressions. An option (-dl) is provided to force the 
   1716 disassembler to emit legacy ASL code if desired.
   1717 
   1718 Below is the complete list of the currently supported symbolic operators 
   1719 with examples. See the iASL User Guide for additional information.
   1720 
   1721 
   1722 ASL+ Syntax      Legacy ASL Equivalent
   1723 -----------      ---------------------
   1724 
   1725     // Math operators
   1726 
   1727 Z = X + Y        Add (X, Y, Z)
   1728 Z = X - Y        Subtract (X, Y, Z)
   1729 Z = X * Y        Multiply (X, Y, Z)
   1730 Z = X / Y        Divide (X, Y, , Z)
   1731 Z = X % Y        Mod (X, Y, Z)
   1732 Z = X << Y       ShiftLeft (X, Y, Z)
   1733 Z = X >> Y       ShiftRight (X, Y, Z)
   1734 Z = X & Y        And (X, Y, Z)
   1735 Z = X | Y        Or (X, Y, Z)
   1736 Z = X ^ Y        Xor (X, Y, Z)
   1737 Z = ~X           Not (X, Z)
   1738 X++              Increment (X)
   1739 X--              Decrement (X)
   1740 
   1741     // Logical operators
   1742 
   1743 (X == Y)         LEqual (X, Y)
   1744 (X != Y)         LNotEqual (X, Y)
   1745 (X < Y)          LLess (X, Y)
   1746 (X > Y)          LGreater (X, Y)
   1747 (X <= Y)         LLessEqual (X, Y)
   1748 (X >= Y)         LGreaterEqual (X, Y)
   1749 (X && Y)         LAnd (X, Y)
   1750 (X || Y)         LOr (X, Y)
   1751 (!X)             LNot (X)
   1752 
   1753     // Assignment and compound assignment operations
   1754 
   1755 X = Y           Store (Y, X)
   1756 X += Y          Add (X, Y, X)
   1757 X -= Y          Subtract (X, Y, X)
   1758 X *= Y          Multiply (X, Y, X)
   1759 X /= Y          Divide (X, Y, , X)
   1760 X %= Y          Mod (X, Y, X)
   1761 X <<= Y         ShiftLeft (X, Y, X)
   1762 X >>= Y         ShiftRight (X, Y, X)
   1763 X &= Y          And (X, Y, X)
   1764 X |= Y          Or (X, Y, X)
   1765 X ^= Y          Xor (X, Y, X)
   1766 
   1767 
   1768 3) ASL+ Examples:
   1769 -----------------
   1770 
   1771 Legacy ASL:
   1772         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
   1773             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
   1774 0x03FB), 
   1775             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
   1776         {
   1777             And (MEMB, 0xFFFFFFF0, SRMB)
   1778             Store (MEMB, Local2)
   1779             Store (PDBM, Local1)
   1780             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
   1781             Store (SRMB, MEMB)
   1782             Or (PDBM, 0x02, PDBM)
   1783         }
   1784 
   1785 ASL+ version:
   1786         If (((R510 & 0x03FB) == 0x02E0) ||
   1787             ((R520 & 0x03FB) == 0x02E0) ||
   1788             ((R530 & 0x03FB) == 0x02E0) || 
   1789             ((R540 & 0x03FB) == 0x02E0))
   1790         {
   1791             SRMB = (MEMB & 0xFFFFFFF0)
   1792             Local2 = MEMB
   1793             Local1 = PDBM
   1794             PDBM &= 0xFFFFFFFFFFFFFFF9
   1795             MEMB = SRMB
   1796             PDBM |= 0x02
   1797         }
   1798 
   1799 Legacy ASL:
   1800         Store (0x1234, Local1)
   1801         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
   1802         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
   1803         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
   1804         Store (Index (PKG1, 0x03), Local6)
   1805         Store (Add (Local3, Local2), Debug)
   1806         Add (Local1, 0x0F, Local2)
   1807         Add (Local1, Multiply (Local2, Local3), Local2)
   1808         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
   1809 
   1810 ASL+ version:
   1811         Local1 = 0x1234
   1812         Local3 = (((Local1 + TEST) + 0x20) * Local2)
   1813         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
   1814         Local3 = (Local1 + (TEST + (0x20 * Local2)))
   1815         Local6 = Index (PKG1, 0x03)
   1816         Debug = (Local3 + Local2)
   1817         Local2 = (Local1 + 0x0F)
   1818         Local2 = (Local1 + (Local2 * Local3))
   1819         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
   1820 
   1821 
   1822 ----------------------------------------
   1823 26 September 2014. Summary of changes for version 20140926:
   1824 
   1825 1) ACPICA kernel-resident subsystem:
   1826 
   1827 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
   1828 In order to support GPIO Connection objects with multiple pins, along 
   1829 with the related Field objects, the following changes to the interface 
   1830 have been made: The Address is now defined to be the offset in bits of 
   1831 the field unit from the previous invocation of a Connection. It can be 
   1832 viewed as a "Pin Number Index" into the connection resource descriptor. 
   1833 The BitWidth is the exact bit width of the field. It is usually one bit, 
   1834 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
   1835 additional information and examples.
   1836 
   1837 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
   1838 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
   1839 by the firmware), so that they cannot fire until they are enabled via 
   1840 AcpiUpdateAllGpes. Rafael J. Wysocki.
   1841 
   1842 Added a new return flag for the Event/GPE status interfaces -- 
   1843 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
   1844 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
   1845 GPE currently has a handler associated with it, and can thus actually 
   1846 affect the system. Lv Zheng.
   1847 
   1848 Example Code and Data Size: These are the sizes for the OS-independent 
   1849 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1850 debug version of the code includes the debug output trace mechanism and 
   1851 has a much larger code and data size.
   1852 
   1853   Current Release:
   1854     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
   1855     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
   1856   Previous Release:
   1857     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   1858     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   1859 
   1860 2) iASL Compiler/Disassembler and Tools:
   1861 
   1862 iASL: Fixed a memory allocation/free regression introduced in 20140828 
   1863 that could cause the compiler to crash. This was introduced inadvertently 
   1864 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
   1865 1113.
   1866 
   1867 iASL: Removed two error messages that have been found to create false 
   1868 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
   1869 1) Illegal forward reference within a method
   1870 2) Illegal reference across two methods
   1871 
   1872 iASL: Implemented a new option (-lm) to create a hardware mapping file 
   1873 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
   1874 works for both the compiler and disassembler. See the iASL compiler user 
   1875 guide for additional information and examples (section 6.4.6).
   1876 
   1877 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
   1878 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
   1879 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
   1880 
   1881 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
   1882 unless STDIN is actually a terminal. Assists with batch-mode processing. 
   1883 ACPICA BZ 1114.
   1884 
   1885 Disassembler/AcpiHelp: Added another large group of recognized _HID 
   1886 values.
   1887 
   1888 
   1889 ----------------------------------------
   1890 28 August 2014. Summary of changes for version 20140828:
   1891 
   1892 1) ACPICA kernel-resident subsystem:
   1893 
   1894 Fixed a problem related to the internal use of the Timer() operator where 
   1895 a 64-bit divide could cause an attempted link to a double-precision math 
   1896 library. This divide is not actually necessary, so the code was 
   1897 restructured to eliminate it. Lv Zheng.
   1898 
   1899 ACPI 5.1: Added support for the runtime validation of the _DSD package 
   1900 (similar to the iASL support).
   1901 
   1902 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
   1903 SRAT table. Hanjun Guo <hanjun.guo (a] linaro.org>.
   1904 
   1905 Example Code and Data Size: These are the sizes for the OS-independent 
   1906 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1907 debug version of the code includes the debug output trace mechanism and 
   1908 has a much larger code and data size.
   1909 
   1910   Current Release:
   1911     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   1912     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   1913   Previous Release:
   1914     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
   1915     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   1916 
   1917 2) iASL Compiler/Disassembler and Tools:
   1918 
   1919 AcpiExec: Fixed a problem on unix systems where the original terminal 
   1920 state was not always properly restored upon exit. Seen when using the -v 
   1921 option. ACPICA BZ 1104.
   1922 
   1923 iASL: Fixed a problem with the validation of the ranges/length within the 
   1924 Memory24 resource descriptor. There was a boundary condition when the 
   1925 range was equal to the (length -1) caused by the fact that these values 
   1926 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
   1927 
   1928 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
   1929 polarity 
   1930 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
   1931 is 
   1932 now supported properly.
   1933 
   1934 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
   1935 in the disassembler, data table compiler, and table template generator.
   1936 
   1937 iASL: Added a requirement for Device() objects that one of either a _HID 
   1938 or _ADR must exist within the scope of a Device, as per the ACPI 
   1939 specification. Remove a similar requirement that was incorrectly in place 
   1940 for the _DSD object.
   1941 
   1942 iASL: Added error detection for illegal named references within control 
   1943 methods that would cause runtime failures. Now trapped as errors are: 1) 
   1944 References to objects within a non-parent control method. 2) Forward 
   1945 references (within a method) -- for control methods, AML interpreters use 
   1946 a one-pass parse of control methods. ACPICA BZ 1008.
   1947 
   1948 iASL: Added error checking for dependencies related to the _PSx power 
   1949 methods. ACPICA BZ 1029.
   1950 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
   1951 _PS3.
   1952 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
   1953 scope.
   1954 
   1955 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
   1956 deploying the existing object and string caches and adding new caches for 
   1957 the table compiler.
   1958 
   1959 iASL: Split the huge parser source file into multiple subfiles to improve 
   1960 manageability. Generation now requires the M4 macro preprocessor, which 
   1961 is part of the Bison distribution on both unix and windows platforms.
   1962 
   1963 AcpiSrc: Fixed and removed all extraneous warnings generated during 
   1964 entire ACPICA source code scan and/or conversion.
   1965 
   1966 
   1967 ----------------------------------------
   1968 
   1969 24 July 2014. Summary of changes for version 20140724: 
   1970 
   1971 The ACPI 5.1 specification has been released and is available at: 
   1972 http://uefi.org/specs/access
   1973 
   1974 
   1975 0) ACPI 5.1 support in ACPICA:
   1976 
   1977 ACPI 5.1 is fully supported in ACPICA as of this release.
   1978 
   1979 New predefined names. Support includes iASL and runtime ACPICA 
   1980 validation.
   1981     _CCA (Cache Coherency Attribute).
   1982     _DSD (Device-Specific Data). David Box.
   1983 
   1984 Modifications to existing ACPI tables. Support includes headers, iASL 
   1985 Data Table compiler, disassembler, and the template generator.
   1986     FADT - New fields and flags. Graeme Gregory.
   1987     GTDT - One new subtable and new fields. Tomasz Nowicki.
   1988     MADT - Two new subtables. Tomasz Nowicki.
   1989     PCCT - One new subtable.
   1990 
   1991 Miscellaneous.
   1992     New notification type for System Resource Affinity change events.
   1993 
   1994 
   1995 1) ACPICA kernel-resident subsystem:
   1996 
   1997 Fixed a regression introduced in 20140627 where a fault can happen during 
   1998 the deletion of Alias AML namespace objects. The problem affected both 
   1999 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
   2000 
   2001 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
   2002 simple mechanism to enable wake GPEs that have no associated handler or 
   2003 control method. Rafael Wysocki.
   2004 
   2005 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
   2006 handler or control method associated with the particular GPE. This will 
   2007 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
   2008 
   2009 Updated GPE handling and dispatch by disabling the GPE before clearing 
   2010 the status bit for edge-triggered GPEs. Lv Zheng.
   2011 
   2012 Added Timer() support to the AML Debug object. The current timer value is 
   2013 now displayed with each invocation of (Store to) the debug object to 
   2014 enable simple generation of execution times for AML code (method 
   2015 execution for example.) ACPICA BZ 1093.
   2016 
   2017 Example Code and Data Size: These are the sizes for the OS-independent 
   2018 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2019 debug version of the code includes the debug output trace mechanism and 
   2020 has a much larger code and data size.
   2021 
   2022   Current Release:
   2023     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
   2024     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   2025   Previous Release:
   2026     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   2027     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   2028 
   2029 
   2030 2) iASL Compiler/Disassembler and Tools:
   2031 
   2032 Fixed an issue with the recently added local printf implementation, 
   2033 concerning width/precision specifiers that could cause incorrect output. 
   2034 Lv Zheng. ACPICA BZ 1094.
   2035 
   2036 Disassembler: Added support to detect buffers that contain UUIDs and 
   2037 disassemble them to an invocation of the ToUUID operator. Also emit 
   2038 commented descriptions of known ACPI-related UUIDs.
   2039 
   2040 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
   2041 -u. Adds three new files. 
   2042 
   2043 iASL: Update table compiler and disassembler for DMAR table changes that 
   2044 were introduced in September 2013. With assistance by David Woodhouse.
   2045 
   2046 ----------------------------------------
   2047 27 June 2014. Summary of changes for version 20140627:
   2048 
   2049 1) ACPICA kernel-resident subsystem:
   2050 
   2051 Formatted Output: Implemented local versions of standard formatted output 
   2052 utilities such as printf, etc. Over time, it has been discovered that 
   2053 there are in fact many portability issues with printf, and the addition 
   2054 of this feature will fix/prevent these issues once and for all. Some 
   2055 known issues are summarized below:
   2056 
   2057 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
   2058 for the Linux kernel and is %uI64 for some MSVC versions.
   2059 2) Invoking printf consistently in a manner that is portable across both 
   2060 32-bit and 64-bit platforms is difficult at best in many situations.
   2061 3) The output format for pointers varies from system to system (leading 
   2062 zeros especially), and leads to inconsistent output from ACPICA across 
   2063 platforms.
   2064 4) Certain platform-specific printf formats may conflict with ACPICA use.
   2065 5) If there is no local C library available, ACPICA now has local support 
   2066 for printf.
   2067 
   2068 -- To address these printf issues in a complete manner, ACPICA now 
   2069 directly implements a small subset of printf format specifiers, only 
   2070 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
   2071 
   2072 Implemented support for ACPICA generation within the EFI environment. 
   2073 Initially, the AcpiDump utility is supported in the UEFI shell 
   2074 environment. Lv Zheng.
   2075 
   2076 Added a new external interface, AcpiLogError, to improve ACPICA 
   2077 portability. This allows the host to redirect error messages from the 
   2078 ACPICA utilities. Lv Zheng.
   2079 
   2080 Added and deployed new OSL file I/O interfaces to improve ACPICA 
   2081 portability:
   2082   AcpiOsOpenFile
   2083   AcpiOsCloseFile
   2084   AcpiOsReadFile
   2085   AcpiOsWriteFile
   2086   AcpiOsGetFileOffset
   2087   AcpiOsSetFileOffset
   2088 There are C library implementations of these functions in the new file 
   2089 service_layers/oslibcfs.c -- however, the functions can be implemented by 
   2090 the local host in any way necessary. Lv Zheng.
   2091 
   2092 Implemented a mechanism to disable/enable ACPI table checksum validation 
   2093 at runtime. This can be useful when loading tables very early during OS 
   2094 initialization when it may not be possible to map the entire table in 
   2095 order to compute the checksum. Lv Zheng.
   2096 
   2097 Fixed a buffer allocation issue for the Generic Serial Bus support. 
   2098 Originally, a fixed buffer length was used. This change allows for 
   2099 variable-length buffers based upon the protocol indicated by the field 
   2100 access attributes. Reported by Lan Tianyu. Lv Zheng.
   2101 
   2102 Fixed a problem where an object detached from a namespace node was not 
   2103 properly terminated/cleared and could cause a circular list problem if 
   2104 reattached. ACPICA BZ 1063. David Box.
   2105 
   2106 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
   2107 
   2108 Fixed a possible memory leak in an error return path within the function 
   2109 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
   2110 
   2111 Example Code and Data Size: These are the sizes for the OS-independent 
   2112 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2113 debug version of the code includes the debug output trace mechanism and 
   2114 has a much larger code and data size.
   2115 
   2116   Current Release:
   2117     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   2118     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   2119   Previous Release:
   2120     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   2121     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   2122 
   2123 
   2124 2) iASL Compiler/Disassembler and Tools:
   2125 
   2126 Disassembler: Add dump of ASCII equivalent text within a comment at the 
   2127 end of each line of the output for the Buffer() ASL operator.
   2128 
   2129 AcpiDump: Miscellaneous changes:
   2130   Fixed repetitive table dump in -n mode.
   2131   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
   2132 the ACPI 2.0 GUID fails.
   2133 
   2134 iASL: Fixed a problem where the compiler could fault if incorrectly given 
   2135 an acpidump output file as input. ACPICA BZ 1088. David Box.
   2136 
   2137 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
   2138 they are invoked without any arguments.
   2139 
   2140 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
   2141 1086. Colin Ian King.
   2142 
   2143 Disassembler: Cleaned up a block of code that extracts a parent Op 
   2144 object. Added a comment that explains that the parent is guaranteed to be 
   2145 valid in this case. ACPICA BZ 1069.
   2146 
   2147 
   2148 ----------------------------------------
   2149 24 April 2014. Summary of changes for version 20140424:
   2150 
   2151 1) ACPICA kernel-resident subsystem:
   2152 
   2153 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
   2154 Some of these tables are known to contain a trailing NULL entry. Lv 
   2155 Zheng.
   2156 
   2157 Removed an extraneous error message for the case where there are a large 
   2158 number of system GPEs (> 124). This was the "32-bit FADT register is too 
   2159 long to convert to GAS struct" message, which is irrelevant for GPEs 
   2160 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
   2161 (limited capacity) GAS bit length. Also, several changes to ensure proper 
   2162 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
   2163 internally.
   2164 
   2165 Implemented and deployed additional configuration support for the public 
   2166 ACPICA external interfaces. Entire classes of interfaces can now be 
   2167 easily modified or configured out, replaced by stubbed inline functions 
   2168 by default. Lv Zheng.
   2169 
   2170 Moved all public ACPICA runtime configuration globals to the public 
   2171 ACPICA external interface file for convenience. Also, removed some 
   2172 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
   2173 
   2174 Documentation: Added a new section to the ACPICA reference describing the 
   2175 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
   2176 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
   2177 reference.
   2178 
   2179 Example Code and Data Size: These are the sizes for the OS-independent 
   2180 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2181 debug version of the code includes the debug output trace mechanism and 
   2182 has a much larger code and data size.
   2183 
   2184   Current Release:
   2185     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   2186     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   2187   Previous Release:
   2188     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   2189     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   2190 
   2191 
   2192 2) iASL Compiler/Disassembler and Tools:
   2193 
   2194 iASL and disassembler: Add full support for the LPIT table (Low Power 
   2195 Idle Table). Includes support in the disassembler, data table compiler, 
   2196 and template generator.
   2197 
   2198 AcpiDump utility:
   2199 1) Add option to force the use of the RSDT (over the XSDT).
   2200 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
   2201 
   2202 iASL: Add check for predefined packages that are too large.  For 
   2203 predefined names that contain subpackages, check if each subpackage is 
   2204 too large. (Check for too small already exists.)
   2205 
   2206 Debugger: Updated the GPE command (which simulates a GPE by executing the 
   2207 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
   2208 to the GPE 0/1 FADT-defined blocks.
   2209 
   2210 Unix application OSL: Update line-editing support. Add additional error 
   2211 checking and take care not to reset terminal attributes on exit if they 
   2212 were never set. This should help guarantee that the terminal is always 
   2213 left in the previous state on program exit.
   2214 
   2215 
   2216 ----------------------------------------
   2217 25 March 2014. Summary of changes for version 20140325:
   2218 
   2219 1) ACPICA kernel-resident subsystem:
   2220 
   2221 Updated the auto-serialize feature for control methods. This feature 
   2222 automatically serializes all methods that create named objects in order 
   2223 to prevent runtime errors. The update adds support to ignore the 
   2224 currently executing AML SyncLevel when invoking such a method, in order 
   2225 to prevent disruption of any existing SyncLevel priorities that may exist 
   2226 in the AML code. Although the use of SyncLevels is relatively rare, this 
   2227 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
   2228 appear on some machines starting with the 20140214 release.
   2229 
   2230 Added a new external interface to allow the host to install ACPI tables 
   2231 very early, before the namespace is even created. AcpiInstallTable gives 
   2232 the host additional flexibility for ACPI table management. Tables can be 
   2233 installed directly by the host as if they had originally appeared in the 
   2234 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
   2235 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
   2236 with additional internal restructuring and cleanup. See the ACPICA 
   2237 Reference for interface details. Lv Zheng.
   2238 
   2239 Added validation of the checksum for all incoming dynamically loaded 
   2240 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
   2241 Zheng.
   2242 
   2243 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
   2244 and GPE handler removal. Restructured calls to eliminate possible race 
   2245 conditions. Lv Zheng.
   2246 
   2247 Added a warning for the use/execution of the ASL/AML Unload (table) 
   2248 operator. This will help detect and identify machines that use this 
   2249 operator if and when it is ever used. This operator has never been seen 
   2250 in the field and the usage model and possible side-effects of the drastic 
   2251 runtime action of a full table removal are unknown.
   2252 
   2253 Reverted the use of #pragma push/pop which was introduced in the 20140214 
   2254 release. It appears that push and pop are not implemented by enough 
   2255 compilers to make the use of this feature feasible for ACPICA at this 
   2256 time. However, these operators may be deployed in a future ACPICA 
   2257 release.
   2258 
   2259 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
   2260 handler interfaces.
   2261 
   2262 Source code generation:
   2263 1) Disabled the use of the "strchr" macro for the gcc-specific 
   2264 generation. For some versions of gcc, this macro can periodically expose 
   2265 a compiler bug which in turn causes compile-time error(s).
   2266 2) Added support for PPC64 compilation. Colin Ian King.
   2267 
   2268 Example Code and Data Size: These are the sizes for the OS-independent 
   2269 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2270 debug version of the code includes the debug output trace mechanism and 
   2271 has a much larger code and data size.
   2272 
   2273   Current Release:
   2274     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   2275     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   2276   Previous Release:
   2277     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   2278     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   2279 
   2280 
   2281 2) iASL Compiler/Disassembler and Tools:
   2282 
   2283 Disassembler: Added several new features to improve the readability of 
   2284 the resulting ASL code. Extra information is emitted within comment 
   2285 fields in the ASL code:
   2286 1) Known _HID/_CID values are decoded to descriptive text.
   2287 2) Standard values for the Notify() operator are decoded to descriptive 
   2288 text.
   2289 3) Target operands are expanded to full pathnames (in a comment) when 
   2290 possible.
   2291 
   2292 Disassembler: Miscellaneous updates for extern() handling:
   2293 1) Abort compiler if file specified by -fe option does not exist.
   2294 2) Silence unnecessary warnings about argument count mismatches.
   2295 3) Update warning messages concerning unresolved method externals.
   2296 4) Emit "UnknownObj" keyword for externals whose type cannot be 
   2297 determined.
   2298 
   2299 AcpiHelp utility:
   2300 1) Added the -a option to display both the ASL syntax and the AML 
   2301 encoding for an input ASL operator. This effectively displays all known 
   2302 information about an ASL operator with one AcpiHelp invocation.
   2303 2) Added substring match support (similar to a wildcard) for the -i 
   2304 (_HID/PNP IDs) option.
   2305 
   2306 iASL/Disassembler: Since this tool does not yet support execution on big-
   2307 endian machines, added detection of endianness and an error message if 
   2308 execution is attempted on big-endian. Support for big-endian within iASL 
   2309 is a feature that is on the ACPICA to-be-done list.
   2310 
   2311 AcpiBin utility:
   2312 1) Remove option to extract binary files from an acpidump; this function 
   2313 is made obsolete by the AcpiXtract utility.
   2314 2) General cleanup of open files and allocated buffers.
   2315 
   2316 
   2317 ----------------------------------------
   2318 14 February 2014. Summary of changes for version 20140214:
   2319 
   2320 1) ACPICA kernel-resident subsystem:
   2321 
   2322 Implemented a new mechanism to proactively prevent problems with ill-
   2323 behaved reentrant control methods that create named ACPI objects. This 
   2324 behavior is illegal as per the ACPI specification, but is nonetheless 
   2325 frequently seen in the field. Previously, this could lead to an 
   2326 AE_ALREADY_EXISTS exception if the method was actually entered by more 
   2327 than one thread. This new mechanism detects such methods at table load 
   2328 time and marks them "serialized" to prevent reentrancy. A new global 
   2329 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
   2330 feature if desired. This mechanism and global option obsoletes and 
   2331 supersedes the previous AcpiGbl_SerializeAllMethods option.
   2332 
   2333 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
   2334 respond TRUE to _OSI queries with this string. It is the stated policy of 
   2335 ACPICA to add new strings to the _OSI support as soon as possible after 
   2336 they are defined. See the full ACPICA _OSI policy which has been added to 
   2337 the utilities/utosi.c file.
   2338 
   2339 Hardened/updated the _PRT return value auto-repair code:
   2340 1) Do not abort the repair on a single subpackage failure, continue to 
   2341 check all subpackages.
   2342 2) Add check for the minimum subpackage length (4).
   2343 3) Properly handle extraneous NULL package elements.
   2344 
   2345 Added support to avoid the possibility of infinite loops when traversing 
   2346 object linked lists. Never allow an infinite loop, even in the face of 
   2347 corrupted object lists.
   2348 
   2349 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
   2350 pack(pop) directives to ensure that the ACPICA headers are independent of 
   2351 compiler settings or other host headers.
   2352 
   2353 Example Code and Data Size: These are the sizes for the OS-independent 
   2354 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2355 debug version of the code includes the debug output trace mechanism and 
   2356 has a much larger code and data size.
   2357 
   2358   Current Release:
   2359     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   2360     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   2361   Previous Release:
   2362     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   2363     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   2364 
   2365 
   2366 2) iASL Compiler/Disassembler and Tools:
   2367 
   2368 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
   2369 first reserved field was incorrectly forced to have a value of zero. This 
   2370 change correctly forces the field to have a value of one. ACPICA BZ 1081.
   2371 
   2372 Debugger: Added missing support for the "Extra" and "Data" subobjects 
   2373 when displaying object data.
   2374 
   2375 Debugger: Added support to display entire object linked lists when 
   2376 displaying object data.
   2377 
   2378 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
   2379 Windows registry. This feature has been superseded by the acpidump 
   2380 utility. 
   2381 
   2382 
   2383 ----------------------------------------
   2384 14 January 2014. Summary of changes for version 20140114:
   2385 
   2386 1) ACPICA kernel-resident subsystem:
   2387 
   2388 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   2389 copyright to all module headers and signons, including the standard Linux 
   2390 header. This affects virtually every file in the ACPICA core subsystem, 
   2391 iASL compiler, all ACPICA utilities, and the test suites.
   2392 
   2393 Improved parameter validation for AcpiInstallGpeBlock. Added the 
   2394 following checks:
   2395 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
   2396 2) There is not already a GPE block attached to the device.
   2397 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
   2398 device.
   2399 
   2400 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
   2401 support to allow references (namespace nodes) to be passed as arguments 
   2402 to control methods via the evaluate object interface. This is probably 
   2403 most useful for testing purposes, however.
   2404 
   2405 Improved support for 32/64 bit physical addresses in printf()-like 
   2406 output. This change improves the support for physical addresses in printf 
   2407 debug statements and other output on both 32-bit and 64-bit hosts. It 
   2408 consistently outputs the appropriate number of bytes for each host. The 
   2409 %p specifier is unsatisfactory since it does not emit uniform output on 
   2410 all hosts/clib implementations (on some, leading zeros are not supported, 
   2411 leading to difficult-to-read output).
   2412 
   2413 Example Code and Data Size: These are the sizes for the OS-independent 
   2414 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2415 debug version of the code includes the debug output trace mechanism and 
   2416 has a much larger code and data size.
   2417 
   2418   Current Release:
   2419     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   2420     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   2421   Previous Release:
   2422     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   2423     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   2424 
   2425 
   2426 2) iASL Compiler/Disassembler and Tools:
   2427 
   2428 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
   2429 problem if the parent Field definition for the Connection operator refers 
   2430 to an operation region that does not exist. ACPICA BZ 1064.
   2431 
   2432 AcpiExec: Load of local test tables is now optional. The utility has the 
   2433 capability to load some various tables to test features of ACPICA. 
   2434 However, there are enough of them that the output of the utility became 
   2435 confusing. With this change, only the required local tables are displayed 
   2436 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
   2437 line specification. This makes the default output simler and easier to 
   2438 understand. The -el command line option restores the original behavior 
   2439 for testing purposes.
   2440 
   2441 AcpiExec: Added support for overlapping operation regions. This change 
   2442 expands the simulation of operation regions by supporting regions that 
   2443 overlap within the given address space. Supports SystemMemory and 
   2444 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
   2445 
   2446 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
   2447 allows AcpiExec to simulate these address spaces, similar to the current 
   2448 support for SystemMemory and SystemIO.
   2449 
   2450 Debugger: Added new command to read/write/compare all namespace objects. 
   2451 The command "test objects" will exercise the entire namespace by writing 
   2452 new values to each data object, and ensuring that the write was 
   2453 successful. The original value is then restored and verified.
   2454 
   2455 Debugger: Added the "test predefined" command. This change makes this 
   2456 test public and puts it under the new "test" command. The test executes 
   2457 each and every predefined name within the current namespace.
   2458 
   2459 
   2460 ----------------------------------------
   2461 18 December 2013. Summary of changes for version 20131218:
   2462 
   2463 Global note: The ACPI 5.0A specification was released this month. There 
   2464 are no changes needed for ACPICA since this release of ACPI is an 
   2465 errata/clarification release. The specification is available at 
   2466 acpi.info. 
   2467 
   2468 
   2469 1) ACPICA kernel-resident subsystem:
   2470 
   2471 Added validation of the XSDT root table if it is present. Some older 
   2472 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
   2473 as containing some or all entries that are NULL pointers). This change 
   2474 adds a new function to validate the XSDT before actually using it. If the 
   2475 XSDT is found to be invalid, ACPICA will now automatically fall back to 
   2476 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
   2477 ACPICA and enhanced by Lv Zheng and Bob Moore.
   2478 
   2479 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
   2480 This change adds a runtime option that will force ACPICA to use the RSDT 
   2481 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
   2482 requires that an XSDT be used instead of the RSDT, the XSDT has been 
   2483 found to be corrupt or ill-formed on some machines. Lv Zheng.
   2484 
   2485 Added a runtime option to favor 32-bit FADT register addresses over the 
   2486 64-bit addresses. This change adds an option to favor 32-bit FADT 
   2487 addresses when there is a conflict between the 32-bit and 64-bit versions 
   2488 of the same register. The default behavior is to use the 64-bit version 
   2489 in accordance with the ACPI specification. This can now be overridden via 
   2490 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
   2491 
   2492 During the change above, the internal "Convert FADT" and "Verify FADT" 
   2493 functions have been merged to simplify the code, making it easier to 
   2494 understand and maintain. ACPICA BZ 933.
   2495 
   2496 Improve exception reporting and handling for GPE block installation. 
   2497 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
   2498 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
   2499 
   2500 Added helper macros to extract bus/segment numbers from the HEST table. 
   2501 This change adds two macros to extract the encoded bus and segment 
   2502 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
   2503 Betty Dall <betty.dall (a] hp.com>
   2504 
   2505 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
   2506 by ACPICA. It is not a public macro, so it should have no effect on 
   2507 existing OSV code. Lv Zheng.
   2508 
   2509 Example Code and Data Size: These are the sizes for the OS-independent 
   2510 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2511 debug version of the code includes the debug output trace mechanism and 
   2512 has a much larger code and data size.
   2513 
   2514   Current Release:
   2515     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   2516     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   2517   Previous Release:
   2518     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   2519     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   2520 
   2521 
   2522 2) iASL Compiler/Disassembler and Tools:
   2523 
   2524 Disassembler: Improved pathname support for emitted External() 
   2525 statements. This change adds full pathname support for external names 
   2526 that have been resolved internally by the inclusion of additional ACPI 
   2527 tables (via the iASL -e option). Without this change, the disassembler 
   2528 can emit multiple externals for the same object, or it become confused 
   2529 when the Scope() operator is used on an external object. Overall, greatly 
   2530 improves the ability to actually recompile the emitted ASL code when 
   2531 objects a referenced across multiple ACPI tables. Reported by Michael 
   2532 Tsirkin (mst (a] redhat.com).
   2533 
   2534 Tests/ASLTS: Updated functional control suite to execute with no errors. 
   2535 David Box. Fixed several errors related to the testing of the interpreter 
   2536 slack mode. Lv Zheng.
   2537 
   2538 iASL: Added support to detect names that are declared within a control 
   2539 method, but are unused (these are temporary names that are only valid 
   2540 during the time the method is executing). A remark is issued for these 
   2541 cases. ACPICA BZ 1022.
   2542 
   2543 iASL: Added full support for the DBG2 table. Adds full disassembler, 
   2544 table compiler, and template generator support for the DBG2 table (Debug 
   2545 Port 2 table).
   2546 
   2547 iASL: Added full support for the PCCT table, update the table definition. 
   2548 Updates the PCCT table definition in the actbl3.h header and adds table 
   2549 compiler and template generator support.
   2550 
   2551 iASL: Added an option to emit only error messages (no warnings/remarks). 
   2552 The -ve option will enable only error messages, warnings and remarks are 
   2553 suppressed. This can simplify debugging when only the errors are 
   2554 important, such as when an ACPI table is disassembled and there are many 
   2555 warnings and remarks -- but only the actual errors are of real interest.
   2556 
   2557 Example ACPICA code (source/tools/examples): Updated the example code so 
   2558 that it builds to an actual working program, not just example code. Added 
   2559 ACPI tables and execution of an example control method in the DSDT. Added 
   2560 makefile support for Unix generation.
   2561 
   2562 
   2563 ----------------------------------------
   2564 15 November 2013. Summary of changes for version 20131115:
   2565 
   2566 This release is available at https://acpica.org/downloads
   2567 
   2568 
   2569 1) ACPICA kernel-resident subsystem:
   2570 
   2571 Resource Manager: Fixed loop termination for the "get AML length" 
   2572 function. The loop previously had an error termination on a NULL resource 
   2573 pointer, which can never happen since the loop simply increments a valid 
   2574 resource pointer. This fix changes the loop to terminate with an error on 
   2575 an invalid end-of-buffer condition. The problem can be seen as an 
   2576 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
   2577 corrupted resource descriptor, or a resource descriptor that is missing 
   2578 an END_TAG descriptor. Reported by Dan Carpenter 
   2579 <dan.carpenter (a] oracle.com>. Lv Zheng, Bob Moore.
   2580 
   2581 Table unload and ACPICA termination: Delete all attached data objects 
   2582 during namespace node deletion. This fix updates namespace node deletion 
   2583 to delete the entire list of attached objects (attached via 
   2584 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
   2585 1024. Tomasz Nowicki (tomasz.nowicki (a] linaro.org).
   2586 
   2587 ACPICA termination: Added support to delete all objects attached to the 
   2588 root namespace node. This fix deletes any and all objects that have been 
   2589 attached to the root node via AcpiAttachData. Previously, none of these 
   2590 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
   2591 
   2592 Debug output: Do not emit the function nesting level for the in-kernel 
   2593 build. The nesting level is really only useful during a single-thread 
   2594 execution. Therefore, only enable this output for the AcpiExec utility. 
   2595 Also, only emit the thread ID when executing under AcpiExec (Context 
   2596 switches are still always detected and a message is emitted). ACPICA BZ 
   2597 972.
   2598 
   2599 Example Code and Data Size: These are the sizes for the OS-independent 
   2600 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2601 debug version of the code includes the debug output trace mechanism and 
   2602 has a much larger code and data size.
   2603 
   2604   Current Release:
   2605     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   2606     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   2607   Previous Release:
   2608     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   2609     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   2610 
   2611 
   2612 2) iASL Compiler/Disassembler and Tools:
   2613 
   2614 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
   2615 correct portable POSIX header for terminal control functions.
   2616 
   2617 Disassembler: Fixed control method invocation issues related to the use 
   2618 of the CondRefOf() operator. The problem is seen in the disassembly where 
   2619 control method invocations may not be disassembled properly if the 
   2620 control method name has been used previously as an argument to CondRefOf. 
   2621 The solution is to not attempt to emit an external declaration for the 
   2622 CondRefOf target (it is not necessary in the first place). This prevents 
   2623 disassembler object type confusion. ACPICA BZ 988.
   2624 
   2625 Unix Makefiles: Added an option to disable compiler optimizations and the 
   2626 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
   2627 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
   2628 command line option for make (NOOPT) that disables all compiler 
   2629 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
   2630 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
   2631 1034. Lv Zheng, Bob Moore.
   2632 
   2633 Tests/ASLTS: Added options to specify individual test cases and modes. 
   2634 This allows testers running aslts.sh to optionally specify individual 
   2635 test modes and test cases. Also added an option to disable the forced 
   2636 generation of the ACPICA tools from source if desired. Lv Zheng.
   2637 
   2638 ----------------------------------------
   2639 27 September 2013. Summary of changes for version 20130927:
   2640 
   2641 This release is available at https://acpica.org/downloads
   2642 
   2643 
   2644 1) ACPICA kernel-resident subsystem:
   2645 
   2646 Fixed a problem with store operations to reference objects. This change 
   2647 fixes a problem where a Store operation to an ArgX object that contained 
   2648 a 
   2649 reference to a field object did not complete the automatic dereference 
   2650 and 
   2651 then write to the actual field object. Instead, the object type of the 
   2652 field object was inadvertently changed to match the type of the source 
   2653 operand. The new behavior will actually write to the field object (buffer 
   2654 field or field unit), thus matching the correct ACPI-defined behavior.
   2655 
   2656 Implemented support to allow the host to redefine individual OSL 
   2657 prototypes. This change enables the host to redefine OSL prototypes found 
   2658 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
   2659 with a macro or inlined function. Further, it allows the host to add any 
   2660 additional required modifiers such as __iomem, __init, __exit, etc., as 
   2661 necessary on a per-interface basis. Enables maximum flexibility for the 
   2662 OSL interfaces. Lv Zheng.
   2663 
   2664 Hardcoded the access width for the FADT-defined reset register. The ACPI 
   2665 specification requires the reset register width to be 8 bits. ACPICA now 
   2666 hardcodes the width to 8 and ignores the FADT width value. This provides 
   2667 compatibility with other ACPI implementations that have allowed BIOS code 
   2668 with bad register width values to go unnoticed. Matthew Garett, Bob 
   2669 Moore, 
   2670 Lv Zheng.
   2671 
   2672 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
   2673 used 
   2674 in the OSL header (acpiosxf). The change modifies the position of this 
   2675 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
   2676 build issues if the OSL defines the implementation of the interface to be 
   2677 an inline stub function. Lv Zheng.
   2678 
   2679 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
   2680 initialization interfaces. This change adds a new macro for the main init 
   2681 and terminate external interfaces in order to support hosts that require 
   2682 additional or different processing for these functions. Changed from 
   2683 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
   2684 Zheng, Bob Moore.
   2685 
   2686 Cleaned up the memory allocation macros for configurability. In the 
   2687 common 
   2688 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
   2689 respective AcpiOs* OSL interfaces. Two options:
   2690 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
   2691 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
   2692 2) For AcpiExec (and for debugging), the macros can optionally be 
   2693 resolved 
   2694 to the local ACPICA interfaces that track each allocation (local tracking 
   2695 is used to immediately detect memory leaks).
   2696 Lv Zheng.
   2697 
   2698 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
   2699 to predefine this macro to either TRUE or FALSE during the system build.
   2700 
   2701 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
   2702 
   2703 Example Code and Data Size: These are the sizes for the OS-independent 
   2704 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2705 debug version of the code includes the debug output trace mechanism and 
   2706 has a much larger code and data size.
   2707 
   2708   Current Release:
   2709     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   2710     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   2711   Previous Release:
   2712     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   2713     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   2714 
   2715 
   2716 2) iASL Compiler/Disassembler and Tools:
   2717 
   2718 iASL: Implemented wildcard support for the -e option. This simplifies use 
   2719 when there are many SSDTs that must be included to resolve external 
   2720 method 
   2721 declarations. ACPICA BZ 1041. Example:
   2722     iasl -e ssdt*.dat -d dsdt.dat
   2723 
   2724 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
   2725 adds a portable module that implements full history and limited line 
   2726 editing for Unix and Linux systems. It does not use readline() due to 
   2727 portability issues. Instead it uses the POSIX termio interface to put the 
   2728 terminal in raw input mode so that the various special keys can be 
   2729 trapped 
   2730 (such as up/down-arrow for history support and left/right-arrow for line 
   2731 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
   2732 
   2733 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
   2734 one or more spaces. This provides compatible with early or different 
   2735 versions of the AcpiDump utility. ACPICA BZ 1044.
   2736 
   2737 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
   2738 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
   2739 no other data. This change adds support to dump these tables. Any tables 
   2740 shorter than the length of an ACPI table header remain in error (an error 
   2741 message is emitted). Reported by Yi Li.
   2742 
   2743 Debugger: Echo actual command along with the "unknown command" message.
   2744 
   2745 ----------------------------------------
   2746 23 August 2013. Summary of changes for version 20130823:
   2747 
   2748 1) ACPICA kernel-resident subsystem:
   2749 
   2750 Implemented support for host-installed System Control Interrupt (SCI) 
   2751 handlers. Certain ACPI functionality requires the host to handle raw 
   2752 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
   2753 state support requires the host device driver to handle SCIs to examine 
   2754 if the doorbell has been activated. Multiple SCI handlers can be 
   2755 installed to allow for future expansion. New external interfaces are 
   2756 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
   2757 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
   2758 
   2759 Operation region support: Never locally free the handler "context" 
   2760 pointer. This change removes some dangerous code that attempts to free 
   2761 the handler context pointer in some (rare) circumstances. The owner of 
   2762 the handler owns this pointer and the ACPICA code should never touch it. 
   2763 Although not seen to be an issue in any kernel, it did show up as a 
   2764 problem (fault) under AcpiExec. Also, set the internal storage field for 
   2765 the context pointer to zero when the region is deactivated, simply for 
   2766 sanity. David Box. ACPICA BZ 1039.
   2767 
   2768 AcpiRead: On error, do not modify the return value target location. If an 
   2769 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
   2770 modify the target of the return value pointer. Makes the code consistent 
   2771 with the rest of ACPICA. Bjorn Helgaas.
   2772 
   2773 Example Code and Data Size: These are the sizes for the OS-independent 
   2774 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2775 debug version of the code includes the debug output trace mechanism and 
   2776 has a much larger code and data size.
   2777 
   2778   Current Release:
   2779     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   2780     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   2781   Previous Release:
   2782     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   2783     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
   2784 
   2785 
   2786 2) iASL Compiler/Disassembler and Tools:
   2787 
   2788 AcpiDump: Implemented several new features and fixed some problems:
   2789 1) Added support to dump the RSDP, RSDT, and XSDT tables.
   2790 2) Added support for multiple table instances (SSDT, UEFI).
   2791 3) Added option to dump "customized" (overridden) tables (-c).
   2792 4) Fixed a problem where some table filenames were improperly 
   2793 constructed.
   2794 5) Improved some error messages, removed some unnecessary messages.
   2795 
   2796 iASL: Implemented additional support for disassembly of ACPI tables that 
   2797 contain invocations of external control methods. The -fe<file> option 
   2798 allows the import of a file that specifies the external methods along 
   2799 with the required number of arguments for each -- allowing for the 
   2800 correct disassembly of the table. This is a workaround for a limitation 
   2801 of AML code where the disassembler often cannot determine the number of 
   2802 arguments required for an external control method and generates incorrect 
   2803 ASL code. See the iASL reference for details. ACPICA BZ 1030.
   2804 
   2805 Debugger: Implemented a new command (paths) that displays the full 
   2806 pathnames (namepaths) and object types of all objects in the namespace. 
   2807 This is an alternative to the namespace command.
   2808 
   2809 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
   2810 mechanism and any installed handlers.
   2811 
   2812 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
   2813 This can occur if there are too many parent prefixes in a namepath (for 
   2814 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
   2815 
   2816 Application OSLs: Set the return value for the PCI read functions. These 
   2817 functions simply return AE_OK, but should set the return value to zero 
   2818 also. This change implements this. ACPICA BZ 1038.
   2819 
   2820 Debugger: Prevent possible command line buffer overflow. Increase the 
   2821 size of a couple of the debugger line buffers, and ensure that overflow 
   2822 cannot happen. ACPICA BZ 1037.
   2823 
   2824 iASL: Changed to abort immediately on serious errors during the parsing 
   2825 phase. Due to the nature of ASL, there is no point in attempting to 
   2826 compile these types of errors, and they typically end up causing a 
   2827 cascade of hundreds of errors which obscure the original problem.
   2828 
   2829 ----------------------------------------
   2830 25 July 2013. Summary of changes for version 20130725:
   2831 
   2832 1) ACPICA kernel-resident subsystem:
   2833 
   2834 Fixed a problem with the DerefOf operator where references to FieldUnits 
   2835 and BufferFields incorrectly returned the parent object, not the actual 
   2836 value of the object. After this change, a dereference of a FieldUnit 
   2837 reference results in a read operation on the field to get the value, and 
   2838 likewise, the appropriate BufferField value is extracted from the target 
   2839 buffer.
   2840 
   2841 Fixed a problem where the _WAK method could cause a fault under these 
   2842 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
   2843 method returned no value. The problem is rarely seen because most kernels 
   2844 run ACPICA in slack mode.
   2845 
   2846 For the DerefOf operator, a fatal error now results if an attempt is made 
   2847 to dereference a reference (created by the Index operator) to a NULL 
   2848 package element. Provides compatibility with other ACPI implementations, 
   2849 and this behavior will be added to a future version of the ACPI 
   2850 specification.
   2851 
   2852 The ACPI Power Management Timer (defined in the FADT) is now optional. 
   2853 This provides compatibility with other ACPI implementations and will 
   2854 appear in the next version of the ACPI specification. If there is no PM 
   2855 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
   2856 zero in the FADT indicates no PM timer.
   2857 
   2858 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
   2859 allows the host to globally enable/disable all vendor strings, all 
   2860 feature strings, or both. Intended to be primarily used for debugging 
   2861 purposes only. Lv Zheng.
   2862 
   2863 Expose the collected _OSI data to the host via a global variable. This 
   2864 data tracks the highest level vendor ID that has been invoked by the BIOS 
   2865 so that the host (and potentially ACPICA itself) can change behaviors 
   2866 based upon the age of the BIOS.
   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   Current Release:
   2874     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   2875     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   2876   Previous Release:
   2877     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   2878     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   2879 
   2880 
   2881 2) iASL Compiler/Disassembler and Tools:
   2882 
   2883 iASL: Created the following enhancements for the -so option (create 
   2884 offset table):
   2885 1)Add offsets for the last nameseg in each namepath for every supported 
   2886 object type
   2887 2)Add support for Processor, Device, Thermal Zone, and Scope objects
   2888 3)Add the actual AML opcode for the parent object of every supported 
   2889 object type
   2890 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
   2891 
   2892 Disassembler: Emit all unresolved external symbols in a single block. 
   2893 These are external references to control methods that could not be 
   2894 resolved, and thus, the disassembler had to make a guess at the number of 
   2895 arguments to parse.
   2896 
   2897 iASL: The argument to the -T option (create table template) is now 
   2898 optional. If not specified, the default table is a DSDT, typically the 
   2899 most common case.
   2900 
   2901 ----------------------------------------
   2902 26 June 2013. Summary of changes for version 20130626:
   2903 
   2904 1) ACPICA kernel-resident subsystem:
   2905 
   2906 Fixed an issue with runtime repair of the _CST object. Null or invalid 
   2907 elements were not always removed properly. Lv Zheng. 
   2908 
   2909 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
   2910 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
   2911 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
   2912 makes the system-wide number of GPEs essentially unlimited.
   2913 
   2914 Example Code and Data Size: These are the sizes for the OS-independent 
   2915 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2916 debug version of the code includes the debug output trace mechanism and 
   2917 has a much larger code and data size.
   2918 
   2919   Current Release:
   2920     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   2921     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   2922   Previous Release:
   2923     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   2924     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   2925 
   2926 
   2927 2) iASL Compiler/Disassembler and Tools:
   2928 
   2929 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
   2930 hosts. Now supports Linux, FreeBSD, and Windows.
   2931 
   2932 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
   2933 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
   2934 
   2935 iASL/Preprocessor: Implemented full support for nested 
   2936 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
   2937 
   2938 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
   2939 max. The original purpose of this constraint was to limit the amount of 
   2940 debug output. However, the string function in question (UtPrintString) is 
   2941 now used for the disassembler also, where 256 bytes is insufficient. 
   2942 Reported by RehabMan@GitHub.
   2943 
   2944 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
   2945 tables. ACPICA BZ 999. Lv Zheng.
   2946 
   2947 iASL: Fixed a couple of error exit issues that could result in a "Could 
   2948 not delete <file>" message during ASL compilation.
   2949 
   2950 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
   2951 the actual signatures for these tables are "FACP" and "APIC", 
   2952 respectively.
   2953 
   2954 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
   2955 tables are allowed to have multiple instances.
   2956 
   2957 ----------------------------------------
   2958 17 May 2013. Summary of changes for version 20130517:
   2959 
   2960 1) ACPICA kernel-resident subsystem:
   2961 
   2962 Fixed a regression introduced in version 20130328 for _INI methods. This 
   2963 change fixes a problem introduced in 20130328 where _INI methods are no 
   2964 longer executed properly because of a memory block that was not 
   2965 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
   2966 <tomasz.nowicki (a] linaro.org>.
   2967 
   2968 Fixed a possible problem with the new extended sleep registers in the 
   2969 ACPI 
   2970 5.0 FADT. Do not use these registers (even if populated) unless the HW-
   2971 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
   2972 1020. Lv Zheng.
   2973 
   2974 Implemented return value repair code for _CST predefined objects: Sort 
   2975 the 
   2976 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
   2977 
   2978 Implemented a debug-only option to disable loading of SSDTs from the 
   2979 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
   2980 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
   2981 acglobal.h - ACPICA BZ 1005. Lv Zheng.
   2982 
   2983 Fixed some issues in the ACPICA initialization and termination code: 
   2984 Tomasz Nowicki <tomasz.nowicki (a] linaro.org>
   2985 1) Clear events initialized flag upon event component termination. ACPICA 
   2986 BZ 1013.
   2987 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
   2988 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
   2989 4) Clear debug buffer global on termination to prevent possible multiple 
   2990 delete. ACPICA BZ 1010.
   2991 
   2992 Standardized all switch() blocks across the entire source base. After 
   2993 many 
   2994 years, different formatting for switch() had crept in. This change makes 
   2995 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
   2996 
   2997 Split some files to enhance ACPICA modularity and configurability:
   2998 1) Split buffer dump routines into utilities/utbuffer.c
   2999 2) Split internal error message routines into utilities/uterror.c
   3000 3) Split table print utilities into tables/tbprint.c
   3001 4) Split iASL command-line option processing into asloptions.c
   3002 
   3003 Makefile enhancements:
   3004 1) Support for all new files above.
   3005 2) Abort make on errors from any subcomponent. Chao Guan.
   3006 3) Add build support for Apple Mac OS X. Liang Qi.
   3007 
   3008 Example Code and Data Size: These are the sizes for the OS-independent 
   3009 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3010 debug version of the code includes the debug output trace mechanism and 
   3011 has a much larger code and data size.
   3012 
   3013   Current Release:
   3014     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   3015     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   3016   Previous Release:
   3017     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   3018     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   3019 
   3020 
   3021 2) iASL Compiler/Disassembler and Tools:
   3022 
   3023 New utility: Implemented an easily portable version of the acpidump 
   3024 utility to extract ACPI tables from the system (or a file) in an ASCII 
   3025 hex 
   3026 dump format. The top-level code implements the various command line 
   3027 options, file I/O, and table dump routines. To port to a new host, only 
   3028 three functions need to be implemented to get tables -- since this 
   3029 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
   3030 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
   3031 1) The Windows version obtains the ACPI tables from the Registry.
   3032 2) The Linux version is under development.
   3033 3) Other hosts - If an OS-dependent module is submitted, it will be 
   3034 distributed with ACPICA.
   3035 
   3036 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
   3037 restructuring/change to the initialization sequence caused this option to 
   3038 no longer work properly.
   3039 
   3040 iASL: Implemented a mechanism to disable specific warnings and remarks. 
   3041 Adds a new command line option, "-vw <messageid> as well as "#pragma 
   3042 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
   3043 
   3044 iASL: Fix for too-strict package object validation. The package object 
   3045 validation for return values from the predefined names is a bit too 
   3046 strict, it does not allow names references within the package (which will 
   3047 be resolved at runtime.) These types of references cannot be validated at 
   3048 compile time. This change ignores named references within package objects 
   3049 for names that return or define static packages.
   3050 
   3051 Debugger: Fixed the 80-character command line limitation for the History 
   3052 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
   3053 
   3054 iASL: Added control method and package support for the -so option 
   3055 (generates AML offset table for BIOS support.)
   3056 
   3057 iASL: issue a remark if a non-serialized method creates named objects. If 
   3058 a thread blocks within the method for any reason, and another thread 
   3059 enters the method, the method will fail because an attempt will be made 
   3060 to 
   3061 create the same (named) object twice. In this case, issue a remark that 
   3062 the method should be marked serialized. NOTE: may become a warning later. 
   3063 ACPICA BZ 909.
   3064 
   3065 ----------------------------------------
   3066 18 April 2013. Summary of changes for version 20130418:
   3067 
   3068 1) ACPICA kernel-resident subsystem:
   3069 
   3070 Fixed a possible buffer overrun during some rare but specific field unit 
   3071 read operations. This overrun can only happen if the DSDT version is 1 -- 
   3072 meaning that all AML integers are 32 bits -- and the field length is 
   3073 between 33 and 55 bits long. During the read, an internal buffer object 
   3074 is 
   3075 created for the field unit because the field is larger than an integer 
   3076 (32 
   3077 bits). However, in this case, the buffer will be incorrectly written 
   3078 beyond the end because the buffer length is less than the internal 
   3079 minimum 
   3080 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
   3081 long, but a full 8 bytes will be written.
   3082 
   3083 Updated the Embedded Controller "orphan" _REG method support. This refers 
   3084 to _REG methods under the EC device that have no corresponding operation 
   3085 region. This is allowed by the ACPI specification. This update removes a 
   3086 dependency on the existence an ECDT table. It will execute an orphan _REG 
   3087 method as long as the operation region handler for the EC is installed at 
   3088 the EC device node and not the namespace root. Rui Zhang (original 
   3089 update), Bob Moore (update/integrate).
   3090 
   3091 Implemented run-time argument typechecking for all predefined ACPI names 
   3092 (_STA, _BIF, etc.) This change performs object typechecking on all 
   3093 incoming arguments for all predefined names executed via 
   3094 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
   3095 passing correct object types as well as the correct number of arguments 
   3096 (therefore identifying any issues immediately). Also, the ASL/namespace 
   3097 definition of the predefined name is checked against the ACPI 
   3098 specification for the proper argument count. Adds one new file, 
   3099 nsarguments.c
   3100 
   3101 Changed an exception code for the ASL UnLoad() operator. Changed the 
   3102 exception code for the case where the input DdbHandle is invalid, from 
   3103 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
   3104 
   3105 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
   3106 global makefile. The use of this flag causes compiler errors on earlier 
   3107 versions of GCC, so it has been removed for compatibility.
   3108 
   3109 Miscellaneous cleanup:
   3110 1) Removed some unused/obsolete macros
   3111 2) Fixed a possible memory leak in the _OSI support
   3112 3) Removed an unused variable in the predefined name support
   3113 4) Windows OSL: remove obsolete reference to a memory list field
   3114 
   3115 Example Code and Data Size: These are the sizes for the OS-independent 
   3116 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3117 debug version of the code includes the debug output trace mechanism and 
   3118 has a much larger code and data size.
   3119 
   3120   Current Release:
   3121     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   3122     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   3123   Previous Release:
   3124     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   3125     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   3126 
   3127 
   3128 2) iASL Compiler/Disassembler and Tools:
   3129 
   3130 AcpiExec: Added installation of a handler for the SystemCMOS address 
   3131 space. This prevents control method abort if a method accesses this 
   3132 space.
   3133 
   3134 AcpiExec: Added support for multiple EC devices, and now install EC 
   3135 operation region handler(s) at the actual EC device instead of the 
   3136 namespace root. This reflects the typical behavior of host operating 
   3137 systems.
   3138 
   3139 AcpiExec: Updated to ensure that all operation region handlers are 
   3140 installed before the _REG methods are executed. This prevents a _REG 
   3141 method from aborting if it accesses an address space has no handler. 
   3142 AcpiExec installs a handler for every possible address space.
   3143 
   3144 Debugger: Enhanced the "handlers" command to display non-root handlers. 
   3145 This change enhances the handlers command to display handlers associated 
   3146 with individual devices throughout the namespace, in addition to the 
   3147 currently supported display of handlers associated with the root 
   3148 namespace 
   3149 node.
   3150 
   3151 ASL Test Suite: Several test suite errors have been identified and 
   3152 resolved, reducing the total error count during execution. Chao Guan.
   3153 
   3154 ----------------------------------------
   3155 28 March 2013. Summary of changes for version 20130328:
   3156 
   3157 1) ACPICA kernel-resident subsystem:
   3158 
   3159 Fixed several possible race conditions with the internal object reference 
   3160 counting mechanism. Some of the external ACPICA interfaces update object 
   3161 reference counts without holding the interpreter or namespace lock. This 
   3162 change adds a spinlock to protect reference count updates on the internal 
   3163 ACPICA objects. Reported by and with assistance from Andriy Gapon 
   3164 (avg (a] FreeBSD.org).
   3165 
   3166 FADT support: Removed an extraneous warning for very large GPE register 
   3167 sets. This change removes a size mismatch warning if the legacy length 
   3168 field for a GPE register set is larger than the 64-bit GAS structure can 
   3169 accommodate. GPE register sets can be larger than the 255-bit width 
   3170 limitation of the GAS structure. Linn Crosetto (linn (a] hp.com).
   3171 
   3172 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
   3173 return from this interface. Handles a possible timeout case if 
   3174 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
   3175 "forever". Jung-uk Kim.
   3176 
   3177 Predefined name support: Add allowed/required argument type information 
   3178 to 
   3179 the master predefined info table. This change adds the infrastructure to 
   3180 enable typechecking on incoming arguments for all predefined 
   3181 methods/objects. It does not actually contain the code that will fully 
   3182 utilize this information, this is still under development. Also condenses 
   3183 some duplicate code for the predefined names into a new module, 
   3184 utilities/utpredef.c
   3185 
   3186 Example Code and Data Size: These are the sizes for the OS-independent 
   3187 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3188 debug version of the code includes the debug output trace mechanism and 
   3189 has a much larger code and data size.
   3190 
   3191   Previous Release:
   3192     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   3193     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   3194   Current Release:
   3195     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   3196     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   3197 
   3198 
   3199 2) iASL Compiler/Disassembler and Tools:
   3200 
   3201 iASL: Implemented a new option to simplify the development of ACPI-
   3202 related 
   3203 BIOS code. Adds support for a new "offset table" output file. The -so 
   3204 option will create a C table containing the AML table offsets of various 
   3205 named objects in the namespace so that BIOS code can modify them easily 
   3206 at 
   3207 boot time. This can simplify BIOS runtime code by eliminating expensive 
   3208 searches for "magic values", enhancing boot times and adding greater 
   3209 reliability. With assistance from Lee Hamel.
   3210 
   3211 iASL: Allow additional predefined names to return zero-length packages. 
   3212 Now, all predefined names that are defined by the ACPI specification to 
   3213 return a "variable-length package of packages" are allowed to return a 
   3214 zero length top-level package. This allows the BIOS to tell the host that 
   3215 the requested feature is not supported, and supports existing BIOS/ASL 
   3216 code and practices.
   3217 
   3218 iASL: Changed the "result not used" warning to an error. This is the case 
   3219 where an ASL operator is effectively a NOOP because the result of the 
   3220 operation is not stored anywhere. For example:
   3221     Add (4, Local0)
   3222 There is no target (missing 3rd argument), nor is the function return 
   3223 value used. This is potentially a very serious problem -- since the code 
   3224 was probably intended to do something, but for whatever reason, the value 
   3225 was not stored. Therefore, this issue has been upgraded from a warning to 
   3226 an error.
   3227 
   3228 AcpiHelp: Added allowable/required argument types to the predefined names 
   3229 info display. This feature utilizes the recent update to the predefined 
   3230 names table (above).
   3231 
   3232 ----------------------------------------
   3233 14 February 2013. Summary of changes for version 20130214:
   3234 
   3235 1) ACPICA Kernel-resident Subsystem:
   3236 
   3237 Fixed a possible regression on some hosts: Reinstated the safe return 
   3238 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
   3239 evaluated only once. Although these macros are not needed for the ACPICA 
   3240 code itself, they are often used by ACPI-related host device drivers 
   3241 where 
   3242 the safe feature may be necessary.
   3243 
   3244 Fixed several issues related to the ACPI 5.0 reduced hardware support 
   3245 (SOC): Now ensure that if the platform declares itself as hardware-
   3246 reduced 
   3247 via the FADT, the following functions become NOOPs (and always return 
   3248 AE_OK) because ACPI is always enabled by definition on these machines:
   3249   AcpiEnable
   3250   AcpiDisable
   3251   AcpiHwGetMode
   3252   AcpiHwSetMode
   3253 
   3254 Dynamic Object Repair: Implemented additional runtime repairs for 
   3255 predefined name return values. Both of these repairs can simplify code in 
   3256 the related device drivers that invoke these methods:
   3257 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
   3258 string to a Unicode buffer. 
   3259 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
   3260 a 
   3261 lone end tag descriptor in the following cases: A Return(0) was executed, 
   3262 a null buffer was returned, or no object at all was returned (non-slack 
   3263 mode only). Adds a new file, nsconvert.c
   3264 ACPICA BZ 998. Bob Moore, Lv Zheng.
   3265 
   3266 Resource Manager: Added additional code to prevent possible infinite 
   3267 loops 
   3268 while traversing corrupted or ill-formed resource template buffers. Check 
   3269 for zero-length resource descriptors in all code that loops through 
   3270 resource templates (the length field is used to index through the 
   3271 template). This change also hardens the external AcpiWalkResources and 
   3272 AcpiWalkResourceBuffer interfaces.
   3273 
   3274 Local Cache Manager: Enhanced the main data structure to eliminate an 
   3275 unnecessary mechanism to access the next object in the list. Actually 
   3276 provides a small performance enhancement for hosts that use the local 
   3277 ACPICA cache manager. Jung-uk Kim.
   3278 
   3279 Example Code and Data Size: These are the sizes for the OS-independent 
   3280 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3281 debug version of the code includes the debug output trace mechanism and 
   3282 has a much larger code and data size.
   3283 
   3284   Previous Release:
   3285     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   3286     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   3287   Current Release:
   3288     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   3289     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   3290 
   3291 
   3292 2) iASL Compiler/Disassembler and Tools:
   3293 
   3294 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
   3295 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
   3296 that were made to the ACPI 5.0 specification.
   3297 
   3298 iASL/Disassembler: Added full support for the following new ACPI tables:
   3299   1) The MTMR table (MID Timer Table)
   3300   2) The VRTC table (Virtual Real Time Clock Table).
   3301 Includes header file, disassembler, table compiler, and template support 
   3302 for both tables.
   3303 
   3304 iASL: Implemented compile-time validation of package objects returned by 
   3305 predefined names. This new feature validates static package objects 
   3306 returned by the various predefined names defined to return packages. Both 
   3307 object types and package lengths are validated, for both parent packages 
   3308 and sub-packages, if any. The code is similar in structure and behavior 
   3309 to 
   3310 the runtime repair mechanism within the AML interpreter and uses the 
   3311 existing predefined name information table. Adds a new file, aslprepkg.c. 
   3312 ACPICA BZ 938.
   3313 
   3314 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
   3315 This feature detects a binary file with a valid ACPI table header and 
   3316 invokes the disassembler automatically. Eliminates the need to 
   3317 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
   3318 
   3319 iASL/Disassembler: Added several warnings for the case where there are 
   3320 unresolved control methods during the disassembly. This can potentially 
   3321 cause errors when the output file is compiled, because the disassembler 
   3322 assumes zero method arguments in these cases (it cannot determine the 
   3323 actual number of arguments without resolution/definition of the method).
   3324 
   3325 Debugger: Added support to display all resources with a single command. 
   3326 Invocation of the resources command with no arguments will now display 
   3327 all 
   3328 resources within the current namespace.
   3329 
   3330 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
   3331 via the -e option.
   3332 
   3333 ----------------------------------------
   3334 17 January 2013. Summary of changes for version 20130117:
   3335 
   3336 1) ACPICA Kernel-resident Subsystem:
   3337 
   3338 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
   3339 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
   3340 objects to return a package containing one integer, most BIOS code 
   3341 returns 
   3342 two integers and the previous code reflects that. However, we also need 
   3343 to 
   3344 support BIOS code that actually implements to the ACPI spec, and this 
   3345 change reflects this.
   3346 
   3347 Fixed two issues with the ACPI_DEBUG_PRINT macros:
   3348 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
   3349 C compilers that require this support.
   3350 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
   3351 ACPI_DEBUG is already used by many of the various hosts.
   3352 
   3353 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
   3354 copyright to all module headers and signons, including the standard Linux 
   3355 header. This affects virtually every file in the ACPICA core subsystem, 
   3356 iASL compiler, all ACPICA utilities, and the test suites.
   3357 
   3358 Example Code and Data Size: These are the sizes for the OS-independent 
   3359 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3360 debug version of the code includes the debug output trace mechanism and 
   3361 has a much larger code and data size.
   3362 
   3363   Previous Release:
   3364     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   3365     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   3366   Current Release:
   3367     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   3368     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   3369 
   3370 
   3371 2) iASL Compiler/Disassembler and Tools:
   3372 
   3373 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
   3374 prevent a possible fault on some hosts. Some C libraries modify the arg 
   3375 pointer parameter to vfprintf making it difficult to call it twice in the 
   3376 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
   3377 does not affect the Windows OSL since the Win C library does not modify 
   3378 the arg pointer. Chao Guan, Bob Moore.
   3379 
   3380 iASL: Fixed a possible infinite loop when the maximum error count is 
   3381 reached. If an output file other than the .AML file is specified (such as 
   3382 a listing file), and the maximum number of errors is reached, do not 
   3383 attempt to flush data to the output file(s) as the compiler is aborting. 
   3384 This can cause an infinite loop as the max error count code essentially 
   3385 keeps calling itself.
   3386 
   3387 iASL/Disassembler: Added an option (-in) to ignore NOOP 
   3388 opcodes/operators. 
   3389 Implemented for both the compiler and the disassembler. Often, the NOOP 
   3390 opcode is used as padding for packages that are changed dynamically by 
   3391 the 
   3392 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
   3393 errors. This option causes the disassembler to ignore all NOOP opcodes 
   3394 (0xA3), and it also causes the compiler to ignore all ASL source code 
   3395 NOOP 
   3396 statements as well.
   3397 
   3398 Debugger: Enhanced the Sleep command to execute all sleep states. This 
   3399 change allows Sleep to be invoked with no arguments and causes the 
   3400 debugger to execute all of the sleep states, 0-5, automatically.
   3401 
   3402 ----------------------------------------
   3403 20 December 2012. Summary of changes for version 20121220:
   3404 
   3405 1) ACPICA Kernel-resident Subsystem:
   3406 
   3407 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
   3408 alternate entry point for AcpiWalkResources and improves the usability of 
   3409 the resource manager by accepting as input a buffer containing the output 
   3410 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
   3411 input buffer is not deleted by this interface so that it can be used by 
   3412 the host later. See the ACPICA reference for details.
   3413 
   3414 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
   3415 (DSDT version < 2). The constant will be truncated and this warning 
   3416 reflects that behavior.
   3417 
   3418 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
   3419 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
   3420 both get and set the new wake bit in these descriptors, separately from 
   3421 the existing share bit. Reported by Aaron Lu.
   3422 
   3423 Interpreter: Fix Store() when an implicit conversion is not possible. For 
   3424 example, in the cases such as a store of a string to an existing package 
   3425 object, implement the store as a CopyObject(). This is a small departure 
   3426 from the ACPI specification which states that the control method should 
   3427 be 
   3428 aborted in this case. However, the ASLTS suite depends on this behavior.
   3429 
   3430 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
   3431 macros: check if debug output is currently enabled as soon as possible to 
   3432 minimize performance impact if debug is in fact not enabled.
   3433 
   3434 Source code restructuring: Cleanup to improve modularity. The following 
   3435 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
   3436 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
   3437 Associated makefiles and project files have been updated.
   3438 
   3439 Changed an exception code for LoadTable operator. For the case where one 
   3440 of the input strings is too long, change the returned exception code from 
   3441 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
   3442 
   3443 Fixed a possible memory leak in dispatcher error path. On error, delete 
   3444 the mutex object created during method mutex creation. Reported by 
   3445 tim.gardner (a] canonical.com.
   3446 
   3447 Example Code and Data Size: These are the sizes for the OS-independent 
   3448 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3449 debug version of the code includes the debug output trace mechanism and 
   3450 has a much larger code and data size.
   3451 
   3452   Previous Release:
   3453     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   3454     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   3455   Current Release:
   3456     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   3457     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   3458 
   3459 
   3460 2) iASL Compiler/Disassembler and Tools:
   3461 
   3462 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
   3463 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
   3464 will not allow the interpreter to differentiate between a method and a 
   3465 method invocation when these are used as an argument to the ObjectType 
   3466 operator. The ACPI specification change is to disallow a method 
   3467 invocation 
   3468 (UserTerm) for the ObjectType operator.
   3469 
   3470 Finish support for the TPM2 and CSRT tables in the headers, table 
   3471 compiler, and disassembler.
   3472 
   3473 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
   3474 always expires immediately if the semaphore is not available. The 
   3475 original 
   3476 code was using a relative-time timeout, but sem_timedwait requires the 
   3477 use 
   3478 of an absolute time.
   3479 
   3480 iASL: Added a remark if the Timer() operator is used within a 32-bit 
   3481 table. This operator returns a 64-bit time value that will be truncated 
   3482 within a 32-bit table.
   3483 
   3484 iASL Source code restructuring: Cleanup to improve modularity. The 
   3485 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
   3486 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
   3487 been updated.
   3488 
   3489 
   3490 ----------------------------------------
   3491 14 November 2012. Summary of changes for version 20121114:
   3492 
   3493 1) ACPICA Kernel-resident Subsystem:
   3494 
   3495 Implemented a performance enhancement for ACPI/AML Package objects. This 
   3496 change greatly increases the performance of Package objects within the 
   3497 interpreter. It changes the processing of reference counts for packages 
   3498 by 
   3499 optimizing for the most common case where the package sub-objects are 
   3500 either Integers, Strings, or Buffers. Increases the overall performance 
   3501 of 
   3502 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
   3503 2X.) 
   3504 Chao Guan. ACPICA BZ 943.
   3505 
   3506 Implemented and deployed common macros to extract flag bits from resource 
   3507 descriptors. Improves readability and maintainability of the code. Fixes 
   3508 a 
   3509 problem with the UART serial bus descriptor for the number of data bits 
   3510 flags (was incorrectly 2 bits, should be 3).
   3511 
   3512 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
   3513 of the macros and changed the SETx macros to the style of (destination, 
   3514 source). Also added ACPI_CASTx companion macros. Lv Zheng.
   3515 
   3516 Example Code and Data Size: These are the sizes for the OS-independent 
   3517 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3518 debug version of the code includes the debug output trace mechanism and 
   3519 has a much larger code and data size.
   3520 
   3521   Previous Release:
   3522     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   3523     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   3524   Current Release:
   3525     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   3526     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   3527 
   3528 
   3529 2) iASL Compiler/Disassembler and Tools:
   3530 
   3531 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
   3532 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
   3533 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
   3534 
   3535 Disassembler: Fixed a problem with external declaration generation. Fixes 
   3536 a problem where an incorrect pathname could be generated for an external 
   3537 declaration if the original reference to the object includes leading 
   3538 carats (^). ACPICA BZ 984.
   3539 
   3540 Debugger: Completed a major update for the Disassemble<method> command. 
   3541 This command was out-of-date and did not properly disassemble control 
   3542 methods that had any reasonable complexity. This fix brings the command 
   3543 up 
   3544 to the same level as the rest of the disassembler. Adds one new file, 
   3545 dmdeferred.c, which is existing code that is now common with the main 
   3546 disassembler and the debugger disassemble command. ACPICA MZ 978.
   3547 
   3548 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
   3549 Newer versions of Bison emit this prototype, so moved the prototype out 
   3550 of 
   3551 the iASL header to where it is actually used in order to avoid a 
   3552 duplicate 
   3553 declaration.
   3554 
   3555 iASL/Tools: Standardized use of the stream I/O functions:
   3556   1) Ensure check for I/O error after every fopen/fread/fwrite
   3557   2) Ensure proper order of size/count arguments for fread/fwrite
   3558   3) Use test of (Actual != Requested) after all fwrite, and most fread
   3559   4) Standardize I/O error messages
   3560 Improves reliability and maintainability of the code. Bob Moore, Lv 
   3561 Zheng. 
   3562 ACPICA BZ 981.
   3563 
   3564 Disassembler: Prevent duplicate External() statements. During generation 
   3565 of external statements, detect similar pathnames that are actually 
   3566 duplicates such as these:
   3567   External (\ABCD)
   3568   External (ABCD)
   3569 Remove all leading '\' characters from pathnames during the external 
   3570 statement generation so that duplicates will be detected and tossed. 
   3571 ACPICA BZ 985.
   3572 
   3573 Tools: Replace low-level I/O with stream I/O functions. Replace 
   3574 open/read/write/close with the stream I/O equivalents 
   3575 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
   3576 Moore.
   3577 
   3578 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
   3579 name header so that AcpiXtract recognizes the output file/table.
   3580 
   3581 iASL: Remove obsolete -2 option flag. Originally intended to force the 
   3582 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
   3583 and the entire concept is now obsolete.
   3584 
   3585 ----------------------------------------
   3586 18 October 2012. Summary of changes for version 20121018:
   3587 
   3588 
   3589 1) ACPICA Kernel-resident Subsystem:
   3590 
   3591 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
   3592 introduced by late changes to the table as it was added to the ACPI 5.0 
   3593 specification. Includes header, disassembler, and data table compiler 
   3594 support as well as a new version of the MPST template.
   3595 
   3596 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
   3597 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
   3598 methods: _HID, _CID, and _UID.
   3599 
   3600 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
   3601 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
   3602 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
   3603 names for their various drivers. Affects the AcpiGetObjectInfo external 
   3604 interface, and other internal interfaces as well.
   3605 
   3606 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
   3607 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
   3608 on machines that support non-aligned transfers. Optimizes for this case 
   3609 rather than using a strncpy. With assistance from Zheng Lv.
   3610 
   3611 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
   3612 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
   3613 
   3614 Added a new debug print message for AML mutex objects that are force-
   3615 released. At control method termination, any currently acquired mutex 
   3616 objects are force-released. Adds a new debug-only message for each one 
   3617 that is released.
   3618 
   3619 Audited/updated all ACPICA return macros and the function debug depth 
   3620 counter: 1) Ensure that all functions that use the various TRACE macros 
   3621 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
   3622 return statements surround the return expression (value) with parens to 
   3623 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
   3624 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
   3625 
   3626 Global source code changes/maintenance: All extra lines at the start and 
   3627 end of each source file have been removed for consistency. Also, within 
   3628 comments, all new sentences start with a single space instead of a double 
   3629 space, again for consistency across the code base.
   3630 
   3631 Example Code and Data Size: These are the sizes for the OS-independent 
   3632 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3633 debug version of the code includes the debug output trace mechanism and 
   3634 has a much larger code and data size.
   3635 
   3636   Previous Release:
   3637     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   3638     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   3639   Current Release:
   3640     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   3641     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   3642 
   3643 
   3644 2) iASL Compiler/Disassembler and Tools:
   3645 
   3646 AcpiExec: Improved the algorithm used for memory leak/corruption 
   3647 detection. Added some intelligence to the code that maintains the global 
   3648 list of allocated memory. The list is now ordered by allocated memory 
   3649 address, significantly improving performance. When running AcpiExec on 
   3650 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
   3651 on the platform and/or the environment. Note, this performance 
   3652 enhancement affects the AcpiExec utility only, not the kernel-resident 
   3653 ACPICA code.
   3654 
   3655 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
   3656 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
   3657 incorrect table offset reported for invalid opcodes. Report the original 
   3658 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
   3659 
   3660 Disassembler: Enhanced the -vt option to emit the binary table data in 
   3661 hex format to assist with debugging.
   3662 
   3663 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
   3664 size of file structure. Colin Ian King.
   3665 
   3666 ----------------------------------------
   3667 13 September 2012. Summary of changes for version 20120913:
   3668 
   3669 
   3670 1) ACPICA Kernel-resident Subsystem:
   3671 
   3672 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
   3673 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
   3674 and 
   3675 MCE(6).
   3676  
   3677 Table Manager: Merged/removed duplicate code in the root table resize 
   3678 functions. One function is external, the other is internal. Lv Zheng, 
   3679 ACPICA 
   3680 BZ 846.
   3681 
   3682 Makefiles: Completely removed the obsolete "Linux" makefiles under 
   3683 acpica/generate/linux. These makefiles are obsolete and have been 
   3684 replaced 
   3685 by 
   3686 the generic unix makefiles under acpica/generate/unix.
   3687 
   3688 Makefiles: Ensure that binary files always copied properly. Minor rule 
   3689 change 
   3690 to ensure that the final binary output files are always copied up to the 
   3691 appropriate binary directory (bin32 or bin64.)
   3692 
   3693 Example Code and Data Size: These are the sizes for the OS-independent 
   3694 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3695 debug 
   3696 version of the code includes the debug output trace mechanism and has a 
   3697 much 
   3698 larger code and data size.
   3699 
   3700   Previous Release:
   3701     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   3702     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   3703   Current Release:
   3704     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   3705     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   3706 
   3707 
   3708 2) iASL Compiler/Disassembler and Tools:
   3709 
   3710 Disassembler: Fixed a possible fault during the disassembly of resource 
   3711 descriptors when a second parse is required because of the invocation of 
   3712 external control methods within the table. With assistance from 
   3713 adq (a] lidskialf.net. ACPICA BZ 976.
   3714 
   3715 iASL: Fixed a namepath optimization problem. An error can occur if the 
   3716 parse 
   3717 node that contains the namepath to be optimized does not have a parent 
   3718 node 
   3719 that is a named object. This change fixes the problem.
   3720 
   3721 iASL: Fixed a regression where the AML file is not deleted on errors. The 
   3722 AML 
   3723 output file should be deleted if there are any errors during the 
   3724 compiler. 
   3725 The 
   3726 only exception is if the -f (force output) option is used. ACPICA BZ 974.
   3727 
   3728 iASL: Added a feature to automatically increase internal line buffer 
   3729 sizes. 
   3730 Via realloc(), automatically increase the internal line buffer sizes as 
   3731 necessary to support very long source code lines. The current version of 
   3732 the 
   3733 preprocessor requires a buffer long enough to contain full source code 
   3734 lines. 
   3735 This change increases the line buffer(s) if the input lines go beyond the 
   3736 current buffer size. This eliminates errors that occurred when a source 
   3737 code 
   3738 line was longer than the buffer.
   3739 
   3740 iASL: Fixed a problem with constant folding in method declarations. The 
   3741 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
   3742 if a 
   3743 Type3 opcode was used.
   3744 
   3745 Debugger: Improved command help support. For incorrect argument count, 
   3746 display 
   3747 full help for the command. For help command itself, allow an argument to 
   3748 specify a command.
   3749 
   3750 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
   3751 errors during execution of the suite. Guan Chao.
   3752 
   3753 ----------------------------------------
   3754 16 August 2012. Summary of changes for version 20120816:
   3755 
   3756 
   3757 1) ACPICA Kernel-resident Subsystem:
   3758 
   3759 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
   3760 _GTS 
   3761 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
   3762 deprecated and will probably be removed from the ACPI specification. 
   3763 Windows 
   3764 does not invoke them, and reportedly never will. The final nail in the 
   3765 coffin 
   3766 is that the ACPI specification states that these methods must be run with 
   3767 interrupts off, which is not going to happen in a kernel interpreter. 
   3768 Note: 
   3769 Linux has removed all use of the methods also. It was discovered that 
   3770 invoking these functions caused failures on some machines, probably 
   3771 because 
   3772 they were never tested since Windows does not call them. Affects two 
   3773 external 
   3774 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
   3775 ACPICA BZ 969.
   3776 
   3777 Implemented support for complex bit-packed buffers returned from the _PLD 
   3778 (Physical Location of Device) predefined method. Adds a new external 
   3779 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
   3780 C 
   3781 structure. Note: C Bitfields cannot be used for this type of predefined 
   3782 structure since the memory layout of individual bitfields is not defined 
   3783 by 
   3784 the C language. In addition, there are endian concerns where a compiler 
   3785 will 
   3786 change the bitfield ordering based on the machine type. The new ACPICA 
   3787 interface eliminates these issues, and should be called after _PLD is 
   3788 executed. ACPICA BZ 954.
   3789 
   3790 Implemented a change to allow a scope change to root (via "Scope (\)") 
   3791 during 
   3792 execution of module-level ASL code (code that is executed at table load 
   3793 time.) Lin Ming.
   3794 
   3795 Added the Windows8/Server2012 string for the _OSI method. This change 
   3796 adds 
   3797 a 
   3798 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
   3799 2012.
   3800 
   3801 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
   3802 2) 
   3803 and CSRT (Core System Resource Table).
   3804 
   3805 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
   3806 names. This simplifies access to the buffers returned by these predefined 
   3807 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
   3808 
   3809 GPE support: Removed an extraneous parameter from the various low-level 
   3810 internal GPE functions. Tang Feng.
   3811 
   3812 Removed the linux makefiles from the unix packages. The generate/linux 
   3813 makefiles are obsolete and have been removed from the unix tarball 
   3814 release 
   3815 packages. The replacement makefiles are under generate/unix, and there is 
   3816 a 
   3817 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
   3818 
   3819 Updates for Unix makefiles:
   3820 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
   3821 2) Update linker flags (move to end of command line) for AcpiExec 
   3822 utility. 
   3823 Guan Chao.
   3824 
   3825 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
   3826 utxface.c to improve modularity and reduce file size.
   3827 
   3828 Example Code and Data Size: These are the sizes for the OS-independent 
   3829 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3830 debug version of the code includes the debug output trace mechanism and 
   3831 has a 
   3832 much larger code and data size.
   3833 
   3834   Previous Release:
   3835     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   3836     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   3837   Current Release:
   3838     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   3839     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   3840 
   3841 
   3842 2) iASL Compiler/Disassembler and Tools:
   3843 
   3844 iASL: Fixed a problem with constant folding for fixed-length constant 
   3845 expressions. The constant-folding code was not being invoked for constant 
   3846 expressions that allow the use of type 3/4/5 opcodes to generate 
   3847 constants 
   3848 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
   3849 result 
   3850 in the generation of invalid AML bytecode. ACPICA BZ 970.
   3851 
   3852 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
   3853 apparently automatically emit some of the necessary externals. This 
   3854 change 
   3855 handles these versions in order to eliminate generation warnings.
   3856 
   3857 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
   3858 
   3859 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
   3860 appears 
   3861 within comments in the output file.
   3862 
   3863 Debugger: Fixed a regression with the "Threads" command where 
   3864 AE_BAD_PARAMETER was always returned.
   3865 
   3866 ----------------------------------------
   3867 11 July 2012. Summary of changes for version 20120711:
   3868 
   3869 1) ACPICA Kernel-resident Subsystem:
   3870 
   3871 Fixed a possible fault in the return package object repair code. Fixes a 
   3872 problem that can occur when a lone package object is wrapped with an 
   3873 outer 
   3874 package object in order to force conformance to the ACPI specification. 
   3875 Can 
   3876 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
   3877 _DLM, 
   3878 _CSD, _PSD, _TSD.
   3879 
   3880 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
   3881 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
   3882 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
   3883 state 
   3884 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
   3885 both 
   3886 Intel and other vendors. (for Intel: ICH4-M and earlier)
   3887 
   3888 This change removes the code to disable/enable bus master arbitration 
   3889 during 
   3890 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
   3891 causes 
   3892 resume problems on some machines. The change has been in use for over 
   3893 seven 
   3894 years within Linux.
   3895 
   3896 Implemented two new external interfaces to support host-directed dynamic 
   3897 ACPI 
   3898 table load and unload. They are intended to simplify the host 
   3899 implementation 
   3900 of hot-plug support:
   3901   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
   3902   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
   3903 table.
   3904 See the ACPICA reference for additional details. Adds one new file, 
   3905 components/tables/tbxfload.c
   3906 
   3907 Implemented and deployed two new interfaces for errors and warnings that 
   3908 are 
   3909 known to be caused by BIOS/firmware issues:
   3910   AcpiBiosError: Prints "ACPI Firmware Error" message.
   3911   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
   3912 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
   3913 table 
   3914 and FADT errors. Additional deployment to be completed as appropriate in 
   3915 the 
   3916 future. The associated conditional macros are ACPI_BIOS_ERROR and 
   3917 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
   3918 ACPICA 
   3919 BZ 
   3920 843.
   3921 
   3922 Implicit notify support: ensure that no memory allocation occurs within a 
   3923 critical region. This fix moves a memory allocation outside of the time 
   3924 that a 
   3925 spinlock is held. Fixes issues on systems that do not allow this 
   3926 behavior. 
   3927 Jung-uk Kim.
   3928 
   3929 Split exception code utilities and tables into a new file, 
   3930 utilities/utexcep.c
   3931 
   3932 Example Code and Data Size: These are the sizes for the OS-independent 
   3933 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3934 debug 
   3935 version of the code includes the debug output trace mechanism and has a 
   3936 much 
   3937 larger code and data size.
   3938 
   3939   Previous Release:
   3940     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   3941     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   3942   Current Release:
   3943     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   3944     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   3945 
   3946 
   3947 2) iASL Compiler/Disassembler and Tools:
   3948 
   3949 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
   3950 of 
   3951 0. Jung-uk Kim.
   3952 
   3953 Debugger: Enhanced the "tables" command to emit additional information 
   3954 about 
   3955 the current set of ACPI tables, including the owner ID and flags decode.
   3956 
   3957 Debugger: Reimplemented the "unload" command to use the new 
   3958 AcpiUnloadParentTable external interface. This command was disable 
   3959 previously 
   3960 due to need for an unload interface.
   3961 
   3962 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
   3963 option 
   3964 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
   3965 
   3966 ----------------------------------------
   3967 20 June 2012. Summary of changes for version 20120620:
   3968 
   3969 
   3970 1) ACPICA Kernel-resident Subsystem:
   3971 
   3972 Implemented support to expand the "implicit notify" feature to allow 
   3973 multiple 
   3974 devices to be notified by a single GPE. This feature automatically 
   3975 generates a 
   3976 runtime device notification in the absence of a BIOS-provided GPE control 
   3977 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
   3978 notify is 
   3979 provided by ACPICA for Windows compatibility, and is a workaround for 
   3980 BIOS 
   3981 AML 
   3982 code errors. See the description of the AcpiSetupGpeForWake interface in 
   3983 the 
   3984 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
   3985 
   3986 Changed some comments and internal function names to simplify and ensure 
   3987 correctness of the Linux code translation. No functional changes.
   3988 
   3989 Example Code and Data Size: These are the sizes for the OS-independent 
   3990 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3991 debug 
   3992 version of the code includes the debug output trace mechanism and has a 
   3993 much 
   3994 larger code and data size.
   3995 
   3996   Previous Release:
   3997     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   3998     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   3999   Current Release:
   4000     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   4001     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   4002 
   4003 
   4004 2) iASL Compiler/Disassembler and Tools:
   4005 
   4006 Disassembler: Added support to emit short, commented descriptions for the 
   4007 ACPI 
   4008 predefined names in order to improve the readability of the disassembled 
   4009 output. ACPICA BZ 959. Changes include:
   4010   1) Emit descriptions for all standard predefined names (_INI, _STA, 
   4011 _PRW, 
   4012 etc.)
   4013   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
   4014   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
   4015 etc.)
   4016 
   4017 AcpiSrc: Fixed several long-standing Linux code translation issues. 
   4018 Argument 
   4019 descriptions in function headers are now translated properly to lower 
   4020 case 
   4021 and 
   4022 underscores. ACPICA BZ 961. Also fixes translation problems such as 
   4023 these: 
   4024 (old -> new)
   4025   i_aSL -> iASL
   4026   00-7_f -> 00-7F
   4027   16_k -> 16K
   4028   local_fADT -> local_FADT
   4029   execute_oSI -> execute_OSI
   4030 
   4031 iASL: Fixed a problem where null bytes were inadvertently emitted into 
   4032 some 
   4033 listing files.
   4034 
   4035 iASL: Added the existing debug options to the standard help screen. There 
   4036 are 
   4037 no longer two different help screens. ACPICA BZ 957.
   4038 
   4039 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
   4040 Also 
   4041 expand some of the descriptions where appropriate.
   4042 
   4043 iASL: Fixed the -ot option (display compile times/statistics). Was not 
   4044 working 
   4045 properly for standard output; only worked for the debug file case.
   4046 
   4047 ----------------------------------------
   4048 18 May 2012. Summary of changes for version 20120518:
   4049 
   4050 
   4051 1) ACPICA Core Subsystem:
   4052 
   4053 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
   4054 defined 
   4055 to block until asynchronous events such as notifies and GPEs have 
   4056 completed. 
   4057 Within ACPICA, it is only called before a notify or GPE handler is 
   4058 removed/uninstalled. It also may be useful for the host OS within related 
   4059 drivers such as the Embedded Controller driver. See the ACPICA reference 
   4060 for 
   4061 additional information. ACPICA BZ 868.
   4062 
   4063 ACPI Tables: Added a new error message for a possible overflow failure 
   4064 during 
   4065 the conversion of FADT 32-bit legacy register addresses to internal 
   4066 common 
   4067 64-
   4068 bit GAS structure representation. The GAS has a one-byte "bit length" 
   4069 field, 
   4070 thus limiting the register length to 255 bits. ACPICA BZ 953.
   4071 
   4072 Example Code and Data Size: These are the sizes for the OS-independent 
   4073 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4074 debug 
   4075 version of the code includes the debug output trace mechanism and has a 
   4076 much 
   4077 larger code and data size.
   4078 
   4079   Previous Release:
   4080     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   4081     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   4082   Current Release:
   4083     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   4084     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   4085 
   4086 
   4087 2) iASL Compiler/Disassembler and Tools:
   4088 
   4089 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
   4090 macro. 
   4091 This keyword was added late in the ACPI 5.0 release cycle and was not 
   4092 implemented until now.
   4093 
   4094 Disassembler: Added support for Operation Region externals. Adds missing 
   4095 support for operation regions that are defined in another table, and 
   4096 referenced locally via a Field or BankField ASL operator. Now generates 
   4097 the 
   4098 correct External statement.
   4099 
   4100 Disassembler: Several additional fixes for the External() statement 
   4101 generation 
   4102 related to some ASL operators. Also, order the External() statements 
   4103 alphabetically in the disassembler output. Fixes the External() 
   4104 generation 
   4105 for 
   4106 the Create* field, Alias, and Scope operators:
   4107  1) Create* buffer field operators - fix type mismatch warning on 
   4108 disassembly
   4109  2) Alias - implement missing External support
   4110  3) Scope - fix to make sure all necessary externals are emitted.
   4111 
   4112 iASL: Improved pathname support. For include files, merge the prefix 
   4113 pathname 
   4114 with the file pathname and eliminate unnecessary components. Convert 
   4115 backslashes in all pathnames to forward slashes, for readability. Include 
   4116 file 
   4117 pathname changes affect both #include and Include() type operators.
   4118 
   4119 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
   4120 end 
   4121 of a valid line by inserting a newline and then returning the EOF during 
   4122 the 
   4123 next call to GetNextLine. Prevents the line from being ignored due to EOF 
   4124 condition.
   4125 
   4126 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
   4127 Error 
   4128 and Warning messages are now correctly recognized for both the source 
   4129 code 
   4130 browser and the global error and warning counts.
   4131 
   4132 ----------------------------------------
   4133 20 April 2012. Summary of changes for version 20120420:
   4134 
   4135 
   4136 1) ACPICA Core Subsystem:
   4137 
   4138 Implemented support for multiple notify handlers. This change adds 
   4139 support 
   4140 to 
   4141 allow multiple system and device notify handlers on Device, Thermal Zone, 
   4142 and 
   4143 Processor objects. This can simplify the host OS notification 
   4144 implementation. 
   4145 Also re-worked and restructured the entire notify support code to 
   4146 simplify 
   4147 handler installation, handler removal, notify event queuing, and notify 
   4148 dispatch to handler(s). Note: there can still only be two global notify 
   4149 handlers - one for system notifies and one for device notifies. There are 
   4150 no 
   4151 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
   4152 Moore, Rafael Wysocki.
   4153 
   4154 Fixed a regression in the package repair code where the object reference 
   4155 count was calculated incorrectly. Regression was introduced in the commit 
   4156 "Support to add Package wrappers".
   4157 
   4158 Fixed a couple possible memory leaks in the AML parser, in the error 
   4159 recovery 
   4160 path. Jesper Juhl, Lin Ming.
   4161 
   4162 Example Code and Data Size: These are the sizes for the OS-independent 
   4163 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4164 debug version of the code includes the debug output trace mechanism and 
   4165 has a 
   4166 much larger code and data size.
   4167 
   4168   Previous Release:
   4169     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   4170     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   4171   Current Release:
   4172     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   4173     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   4174 
   4175 
   4176 2) iASL Compiler/Disassembler and Tools:
   4177 
   4178 iASL: Fixed a problem with the resource descriptor support where the 
   4179 length 
   4180 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
   4181 included in cumulative descriptor offset, resulting in incorrect values 
   4182 for 
   4183 resource tags within resource descriptors appearing after a 
   4184 StartDependent* 
   4185 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
   4186 
   4187 iASL and Preprocessor: Implemented full support for the #line directive 
   4188 to 
   4189 correctly track original source file line numbers through the .i 
   4190 preprocessor 
   4191 output file - for error and warning messages.
   4192 
   4193 iASL: Expand the allowable byte constants for address space IDs. 
   4194 Previously, 
   4195 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
   4196 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
   4197 
   4198 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
   4199 
   4200 iASL: Add option to completely disable the preprocessor (-Pn).
   4201 
   4202 iASL: Now emit all error/warning messages to standard error (stderr) by 
   4203 default (instead of the previous stdout).
   4204 
   4205 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
   4206 Update 
   4207 for resource descriptor offset fix above. Update/cleanup error output 
   4208 routines. Enable and send iASL errors/warnings to an error logfile 
   4209 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
   4210 Fixed 
   4211 several extraneous "unrecognized operator" messages.
   4212 
   4213 ----------------------------------------
   4214 20 March 2012. Summary of changes for version 20120320:
   4215 
   4216 
   4217 1) ACPICA Core Subsystem:
   4218 
   4219 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
   4220 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
   4221 apparently 
   4222 does not execute these methods, and therefore these methods are often 
   4223 untested. It has been seen on some systems where the execution of these 
   4224 methods causes errors and also prevents the machine from entering S5. It 
   4225 is 
   4226 therefore suggested that host operating systems do not execute these 
   4227 methods 
   4228 by default. In the future, perhaps these methods can be optionally 
   4229 executed 
   4230 based on the age of the system and/or what is the newest version of 
   4231 Windows 
   4232 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
   4233 and 
   4234 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
   4235 Ming.
   4236 
   4237 Fixed a problem where the length of the local/common FADT was set too 
   4238 early. 
   4239 The local FADT table length cannot be set to the common length until the 
   4240 original length has been examined. There is code that checks the table 
   4241 length 
   4242 and sets various fields appropriately. This can affect older machines 
   4243 with 
   4244 early FADT versions. For example, this can cause inadvertent writes to 
   4245 the 
   4246 CST_CNT register. Julian Anastasov.
   4247 
   4248 Fixed a mapping issue related to a physical table override. Use the 
   4249 deferred 
   4250 mapping mechanism for tables loaded via the physical override OSL 
   4251 interface. 
   4252 This allows for early mapping before the virtual memory manager is 
   4253 available. 
   4254 Thomas Renninger, Bob Moore.
   4255 
   4256 Enhanced the automatic return-object repair code: Repair a common problem 
   4257 with 
   4258 predefined methods that are defined to return a variable-length Package 
   4259 of 
   4260 sub-objects. If there is only one sub-object, some BIOS ASL code 
   4261 mistakenly 
   4262 simply returns the single object instead of a Package with one sub-
   4263 object. 
   4264 This new support will repair this error by wrapping a Package object 
   4265 around 
   4266 the original object, creating the correct and expected Package with one 
   4267 sub-
   4268 object. Names that can be repaired in this manner include: _ALR, _CSD, 
   4269 _HPX, 
   4270 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
   4271 939.
   4272 
   4273 Changed the exception code returned for invalid ACPI paths passed as 
   4274 parameters to external interfaces such as AcpiEvaluateObject. Was 
   4275 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
   4276 
   4277 Example Code and Data Size: These are the sizes for the OS-independent 
   4278 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4279 debug 
   4280 version of the code includes the debug output trace mechanism and has a 
   4281 much 
   4282 larger code and data size.
   4283 
   4284   Previous Release:
   4285     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   4286     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   4287   Current Release:
   4288     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   4289     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   4290 
   4291 
   4292 2) iASL Compiler/Disassembler and Tools:
   4293 
   4294 iASL: Added the infrastructure and initial implementation of a integrated 
   4295 C-
   4296 like preprocessor. This will simplify BIOS development process by 
   4297 eliminating 
   4298 the need for a separate preprocessing step during builds. On Windows, it 
   4299 also 
   4300 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
   4301 features including full #define() macro support are still under 
   4302 development. 
   4303 These preprocessor directives are supported:
   4304     #define
   4305     #elif
   4306     #else
   4307     #endif
   4308     #error
   4309     #if
   4310     #ifdef
   4311     #ifndef
   4312     #include
   4313     #pragma message
   4314     #undef
   4315     #warning
   4316 In addition, these new command line options are supported:
   4317     -D <symbol> Define symbol for preprocessor use
   4318     -li         Create preprocessed output file (*.i)
   4319     -P          Preprocess only and create preprocessor output file (*.i)
   4320 
   4321 Table Compiler: Fixed a problem where the equals operator within an 
   4322 expression 
   4323 did not work properly.
   4324 
   4325 Updated iASL to use the current versions of Bison/Flex. Updated the 
   4326 Windows 
   4327 project file to invoke these tools from the standard location. ACPICA BZ 
   4328 904. 
   4329 Versions supported:
   4330     Flex for Windows:  V2.5.4
   4331     Bison for Windows: V2.4.1
   4332 
   4333 ----------------------------------------
   4334 15 February 2012. Summary of changes for version 20120215:
   4335 
   4336 
   4337 1) ACPICA Core Subsystem:
   4338 
   4339 There have been some major changes to the sleep/wake support code, as 
   4340 described below (a - e).
   4341 
   4342 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
   4343 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
   4344 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
   4345 the 
   4346 time the _BFS method is called and the _WAK method is called. NOTE: all 
   4347 hosts 
   4348 must update their wake/resume code or else sleep/wake will not work 
   4349 properly. 
   4350 Rafael Wysocki.
   4351 
   4352 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
   4353 _WAK 
   4354 method. Some machines require that the GPEs are enabled before the _WAK 
   4355 method 
   4356 is executed. Thomas Renninger.
   4357 
   4358 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
   4359 bit. 
   4360 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
   4361 to 
   4362 determine whether the system is rebooting or resuming. Matthew Garrett.
   4363 
   4364 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
   4365 Sleep) to 
   4366 match the ACPI specification requirement. Rafael Wysocki.
   4367 
   4368 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
   4369 registers within the V5 FADT. This support adds two new files: 
   4370 hardware/hwesleep.c implements the support for the new registers. Moved 
   4371 all 
   4372 sleep/wake external interfaces to hardware/hwxfsleep.c.
   4373 
   4374 
   4375 Added a new OSL interface for ACPI table overrides, 
   4376 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
   4377 table via a physical address, instead of the logical address required by 
   4378 AcpiOsTableOverride. This simplifies the host implementation. Initial 
   4379 implementation by Thomas Renninger. The ACPICA implementation creates a 
   4380 single 
   4381 shared function for table overrides that attempts both a logical and a 
   4382 physical override.
   4383 
   4384 Expanded the OSL memory read/write interfaces to 64-bit data 
   4385 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
   4386 transfer support for GAS register structures passed to AcpiRead and 
   4387 AcpiWrite.
   4388 
   4389 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
   4390 custom 
   4391 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
   4392 model. 
   4393 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
   4394 about 
   4395 10% of the code and 5% of the static data, and the following hardware 
   4396 ACPI 
   4397 features become unavailable:
   4398     PM Event and Control registers
   4399     SCI interrupt (and handler)
   4400     Fixed Events
   4401     General Purpose Events (GPEs)
   4402     Global Lock
   4403     ACPI PM timer
   4404     FACS table (Waking vectors and Global Lock)
   4405 
   4406 Updated the unix tarball directory structure to match the ACPICA git 
   4407 source 
   4408 tree. This ensures that the generic unix makefiles work properly (in 
   4409 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
   4410 867.
   4411 
   4412 Updated the return value of the _REV predefined method to integer value 5 
   4413 to 
   4414 reflect ACPI 5.0 support.
   4415 
   4416 Moved the external ACPI PM timer interface prototypes to the public 
   4417 acpixf.h 
   4418 file where they belong.
   4419 
   4420 Example Code and Data Size: These are the sizes for the OS-independent 
   4421 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4422 debug 
   4423 version of the code includes the debug output trace mechanism and has a 
   4424 much 
   4425 larger code and data size.
   4426 
   4427   Previous Release:
   4428     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   4429     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   4430   Current Release:
   4431     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   4432     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   4433 
   4434 
   4435 2) iASL Compiler/Disassembler and Tools:
   4436 
   4437 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
   4438 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
   4439 incorrectly displayed.
   4440 
   4441 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
   4442 specification.
   4443 
   4444 ----------------------------------------
   4445 11 January 2012. Summary of changes for version 20120111:
   4446 
   4447 
   4448 1) ACPICA Core Subsystem:
   4449 
   4450 Implemented a new mechanism to allow host device drivers to check for 
   4451 address 
   4452 range conflicts with ACPI Operation Regions. Both SystemMemory and 
   4453 SystemIO 
   4454 address spaces are supported. A new external interface, 
   4455 AcpiCheckAddressRange, 
   4456 allows drivers to check an address range against the ACPI namespace. See 
   4457 the 
   4458 ACPICA reference for additional details. Adds one new file, 
   4459 utilities/utaddress.c. Lin Ming, Bob Moore.
   4460 
   4461 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
   4462 Control 
   4463 and 
   4464 Status registers, update the ACPI 5.0 flags, and update internal data 
   4465 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
   4466 5.0 
   4467 FADT is 268 bytes.
   4468 
   4469 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
   4470 copyright to 
   4471 all module headers and signons, including the standard Linux header. This 
   4472 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
   4473 and 
   4474 all ACPICA utilities.
   4475 
   4476 Example Code and Data Size: These are the sizes for the OS-independent 
   4477 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4478 debug 
   4479 version of the code includes the debug output trace mechanism and has a 
   4480 much 
   4481 larger code and data size.
   4482 
   4483   Previous Release:
   4484     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   4485     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   4486   Current Release:
   4487     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   4488     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   4489 
   4490 
   4491 2) iASL Compiler/Disassembler and Tools:
   4492 
   4493 Disassembler: fixed a problem with the automatic resource tag generation 
   4494 support. Fixes a problem where the resource tags are inadvertently not 
   4495 constructed if the table being disassembled contains external references 
   4496 to 
   4497 control methods. Moved the actual construction of the tags to after the 
   4498 final 
   4499 namespace is constructed (after 2nd parse is invoked due to external 
   4500 control 
   4501 method references.) ACPICA BZ 941.
   4502 
   4503 Table Compiler: Make all "generic" operators caseless. These are the 
   4504 operators 
   4505 like UINT8, String, etc. Making these caseless improves ease-of-use. 
   4506 ACPICA BZ 
   4507 934.
   4508 
   4509 ----------------------------------------
   4510 23 November 2011. Summary of changes for version 20111123:
   4511 
   4512 0) ACPI 5.0 Support:
   4513 
   4514 This release contains full support for the ACPI 5.0 specification, as 
   4515 summarized below.
   4516 
   4517 Reduced Hardware Support:
   4518 -------------------------
   4519 
   4520 This support allows for ACPI systems without the usual ACPI hardware. 
   4521 This 
   4522 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
   4523 will 
   4524 not attempt to initialize or use any of the usual ACPI hardware. Note, 
   4525 when 
   4526 this flag is set, all of the following ACPI hardware is assumed to be not 
   4527 present and is not initialized or accessed:
   4528 
   4529     General Purpose Events (GPEs)
   4530     Fixed Events (PM1a/PM1b and PM Control)
   4531     Power Management Timer and Console Buttons (power/sleep)
   4532     Real-time Clock Alarm
   4533     Global Lock
   4534     System Control Interrupt (SCI)
   4535     The FACS is assumed to be non-existent
   4536 
   4537 ACPI Tables:
   4538 ------------
   4539 
   4540 All new tables and updates to existing tables are fully supported in the 
   4541 ACPICA headers (for use by device drivers), the disassembler, and the 
   4542 iASL 
   4543 Data Table Compiler. ACPI 5.0 defines these new tables:
   4544 
   4545     BGRT        /* Boot Graphics Resource Table */
   4546     DRTM        /* Dynamic Root of Trust for Measurement table */
   4547     FPDT        /* Firmware Performance Data Table */
   4548     GTDT        /* Generic Timer Description Table */
   4549     MPST        /* Memory Power State Table */
   4550     PCCT        /* Platform Communications Channel Table */
   4551     PMTT        /* Platform Memory Topology Table */
   4552     RASF        /* RAS Feature table */
   4553 
   4554 Operation Regions/SpaceIDs:
   4555 ---------------------------
   4556 
   4557 All new operation regions are fully supported by the iASL compiler, the 
   4558 disassembler, and the ACPICA runtime code (for dispatch to region 
   4559 handlers.) 
   4560 The new operation region Space IDs are:
   4561 
   4562     GeneralPurposeIo
   4563     GenericSerialBus
   4564 
   4565 Resource Descriptors:
   4566 ---------------------
   4567 
   4568 All new ASL resource descriptors are fully supported by the iASL 
   4569 compiler, 
   4570 the 
   4571 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
   4572 (including 
   4573 all new predefined resource tags). New descriptors are:
   4574 
   4575     FixedDma
   4576     GpioIo
   4577     GpioInt
   4578     I2cSerialBus
   4579     SpiSerialBus
   4580     UartSerialBus
   4581 
   4582 ASL/AML Operators, New and Modified:
   4583 ------------------------------------
   4584 
   4585 One new operator is added, the Connection operator, which is used to 
   4586 associate 
   4587 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
   4588 individual 
   4589 field objects within an operation region. Several new protocols are 
   4590 associated 
   4591 with the AccessAs operator. All are fully supported by the iASL compiler, 
   4592 disassembler, and runtime ACPICA AML interpreter:
   4593 
   4594     Connection                      // Declare Field Connection 
   4595 attributes
   4596     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
   4597     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
   4598 Protocol
   4599     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
   4600     RawDataBuffer                       // Data type for Vendor Data 
   4601 fields
   4602 
   4603 Predefined ASL/AML Objects:
   4604 ---------------------------
   4605 
   4606 All new predefined objects/control-methods are supported by the iASL 
   4607 compiler 
   4608 and the ACPICA runtime validation/repair (arguments and return values.) 
   4609 New 
   4610 predefined names include the following:
   4611 
   4612 Standard Predefined Names (Objects or Control Methods):
   4613     _AEI, _CLS, _CPC, _CWS, _DEP,
   4614     _DLM, _EVT, _GCP, _CRT, _GWS,
   4615     _HRV, _PRE, _PSE, _SRT, _SUB.
   4616 
   4617 Resource Tags (Names used to access individual fields within resource 
   4618 descriptors):
   4619     _DBT, _DPL, _DRS, _END, _FLC,
   4620     _IOR, _LIN, _MOD, _PAR, _PHA,
   4621     _PIN, _PPI, _POL, _RXL, _SLV,
   4622     _SPE, _STB, _TXL, _VEN.
   4623 
   4624 ACPICA External Interfaces:
   4625 ---------------------------
   4626 
   4627 Several new interfaces have been defined for use by ACPI-related device 
   4628 drivers and other host OS services:
   4629 
   4630 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
   4631 to 
   4632 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
   4633 provided by the BIOS. They are intended to be used in conjunction with 
   4634 the 
   4635 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
   4636 mutual exclusion with the AML code/interpreter.
   4637 
   4638 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
   4639 defined 
   4640 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
   4641 provides 
   4642 resource descriptors associated with hardware-reduced platform events, 
   4643 similar 
   4644 to the AcpiGetCurrentResources interface.
   4645 
   4646 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
   4647 operation regions, information about the Connection() object and any 
   4648 optional 
   4649 length information is passed to the region handler within the Context 
   4650 parameter.
   4651 
   4652 AcpiBufferToResource: This interface converts a raw AML buffer containing 
   4653 a 
   4654 resource template or resource descriptor to the ACPI_RESOURCE internal 
   4655 format 
   4656 suitable for use by device drivers. Can be used by an operation region 
   4657 handler 
   4658 to convert the Connection() buffer object into a ACPI_RESOURCE.
   4659 
   4660 Miscellaneous/Tools/TestSuites: 
   4661 -------------------------------
   4662 
   4663 Support for extended _HID names (Four alpha characters instead of three).
   4664 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
   4665 Support for ACPI 5.0 features in the ASLTS test suite.
   4666 Fully updated documentation (ACPICA and iASL reference documents.)
   4667 
   4668 ACPI Table Definition Language:
   4669 -------------------------------
   4670 
   4671 Support for this language was implemented and released as a subsystem of 
   4672 the 
   4673 iASL compiler in 2010. (See the iASL compiler User Guide.)
   4674 
   4675 
   4676 Non-ACPI 5.0 changes for this release:
   4677 --------------------------------------
   4678 
   4679 1) ACPICA Core Subsystem:
   4680 
   4681 Fix a problem with operation region declarations where a failure can 
   4682 occur 
   4683 if 
   4684 the region name and an argument that evaluates to an object (such as the 
   4685 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
   4686 937.
   4687 
   4688 Do not abort an ACPI table load if an invalid space ID is found within. 
   4689 This 
   4690 will be caught later if the offending method is executed. ACPICA BZ 925.
   4691 
   4692 Fixed an issue with the FFixedHW space ID where the ID was not always 
   4693 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
   4694 
   4695 Fixed a problem with the 32-bit generation of the unix-specific OSL 
   4696 (osunixxf.c). Lin Ming, ACPICA BZ 936.
   4697 
   4698 Several changes made to enable generation with the GCC 4.6 compiler. 
   4699 ACPICA BZ 
   4700 935.
   4701 
   4702 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
   4703 Index/Bank 
   4704 field registers out-of-range.
   4705 
   4706 2) iASL Compiler/Disassembler and Tools:
   4707 
   4708 iASL: Implemented the __PATH__ operator, which returns the full pathname 
   4709 of 
   4710 the current source file.
   4711 
   4712 AcpiHelp: Automatically display expanded keyword information for all ASL 
   4713 operators.
   4714 
   4715 Debugger: Add "Template" command to disassemble/dump resource template 
   4716 buffers.
   4717 
   4718 Added a new master script to generate and execute the ASLTS test suite. 
   4719 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
   4720 
   4721 iASL: Fix problem with listing generation during processing of the 
   4722 Switch() 
   4723 operator where AML listing was disabled until the entire Switch block was 
   4724 completed.
   4725 
   4726 iASL: Improve support for semicolon statement terminators. Fix "invalid 
   4727 character" message for some cases when the semicolon is used. Semicolons 
   4728 are 
   4729 now allowed after every <Term> grammar element. ACPICA BZ 927.
   4730 
   4731 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
   4732 923.
   4733 
   4734 Disassembler: Fix problem with disassembly of the DataTableRegion 
   4735 operator 
   4736 where an inadvertent "Unhandled deferred opcode" message could be 
   4737 generated.
   4738 
   4739 3) Example Code and Data Size
   4740 
   4741 These are the sizes for the OS-independent acpica.lib produced by the 
   4742 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   4743 includes the debug output trace mechanism and has a much larger code and 
   4744 data 
   4745 size.
   4746 
   4747   Previous Release:
   4748     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   4749     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4750   Current Release:
   4751     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   4752     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   4753 
   4754 ----------------------------------------
   4755 22 September 2011. Summary of changes for version 20110922:
   4756 
   4757 0) ACPI 5.0 News:
   4758 
   4759 Support for ACPI 5.0 in ACPICA has been underway for several months and 
   4760 will 
   4761 be released at the same time that ACPI 5.0 is officially released.
   4762 
   4763 The ACPI 5.0 specification is on track for release in the next few 
   4764 months.
   4765  
   4766 1) ACPICA Core Subsystem:
   4767 
   4768 Fixed a problem where the maximum sleep time for the Sleep() operator was 
   4769 intended to be limited to two seconds, but was inadvertently limited to 
   4770 20 
   4771 seconds instead.
   4772 
   4773 Linux and Unix makefiles: Added header file dependencies to ensure 
   4774 correct 
   4775 generation of ACPICA core code and utilities. Also simplified the 
   4776 makefiles 
   4777 considerably through the use of the vpath variable to specify search 
   4778 paths. 
   4779 ACPICA BZ 924.
   4780 
   4781 2) iASL Compiler/Disassembler and Tools:
   4782 
   4783 iASL: Implemented support to check the access length for all fields 
   4784 created to 
   4785 access named Resource Descriptor fields. For example, if a resource field 
   4786 is 
   4787 defined to be two bits, a warning is issued if a CreateXxxxField() is 
   4788 used 
   4789 with an incorrect bit length. This is implemented for all current 
   4790 resource 
   4791 descriptor names. ACPICA BZ 930.
   4792   
   4793 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
   4794 56-
   4795 bit integers.
   4796 
   4797 iASL: Fixed a couple of issues associated with variable-length package 
   4798 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
   4799 a 
   4800 VAR_PACKAGE when these are used as a package length. 2) Allow the 
   4801 VAR_PACKAGE 
   4802 opcode (in addition to PACKAGE) when validating object types for 
   4803 predefined 
   4804 names.
   4805 
   4806 iASL: Emit statistics for all output files (instead of just the ASL input 
   4807 and 
   4808 AML output). Includes listings, hex files, etc.
   4809 
   4810 iASL: Added -G option to the table compiler to allow the compilation of 
   4811 custom 
   4812 ACPI tables. The only part of a table that is required is the standard 
   4813 36-
   4814 byte 
   4815 ACPI header.
   4816 
   4817 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
   4818 headers), 
   4819 which also adds correct 64-bit support. Also, now all output filenames 
   4820 are 
   4821 completely lower case.
   4822 
   4823 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
   4824 loading table files. A warning is issued for any such tables. The only 
   4825 exception is an FADT. This also fixes a possible fault when attempting to 
   4826 load 
   4827 non-AML tables. ACPICA BZ 932.
   4828 
   4829 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
   4830 a 
   4831 missing table terminator could cause a fault when using the -p option.
   4832 
   4833 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
   4834 statistics.
   4835 
   4836 3) Example Code and Data Size
   4837 
   4838 These are the sizes for the OS-independent acpica.lib produced by the 
   4839 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   4840 includes the debug output trace mechanism and has a much larger code and 
   4841 data 
   4842 size.
   4843 
   4844   Previous Release (VC 9.0):
   4845     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   4846     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4847   Current Release (VC 9.0):
   4848     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   4849     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4850 
   4851 
   4852 ----------------------------------------
   4853 23 June 2011. Summary of changes for version 20110623:
   4854 
   4855 1) ACPI CA Core Subsystem:
   4856 
   4857 Updated the predefined name repair mechanism to not attempt repair of a 
   4858 _TSS 
   4859 return object if a _PSS object is present. We can only sort the _TSS 
   4860 return 
   4861 package if there is no _PSS within the same scope. This is because if 
   4862 _PSS 
   4863 is 
   4864 present, the ACPI specification dictates that the _TSS Power Dissipation 
   4865 field 
   4866 is to be ignored, and therefore some BIOSs leave garbage values in the 
   4867 _TSS 
   4868 Power field(s). In this case, it is best to just return the _TSS package 
   4869 as-
   4870 is. Reported by, and fixed with assistance from Fenghua Yu.
   4871 
   4872 Added an option to globally disable the control method return value 
   4873 validation 
   4874 and repair. This runtime option can be used to disable return value 
   4875 repair 
   4876 if 
   4877 this is causing a problem on a particular machine. Also added an option 
   4878 to 
   4879 AcpiExec (-dr) to set this disable flag.
   4880 
   4881 All makefiles and project files: Major changes to improve generation of 
   4882 ACPICA 
   4883 tools. ACPICA BZ 912:
   4884     Reduce default optimization levels to improve compatibility
   4885     For Linux, add strict-aliasing=0 for gcc 4
   4886     Cleanup and simplify use of command line defines
   4887     Cleanup multithread library support
   4888     Improve usage messages
   4889 
   4890 Linux-specific header: update handling of THREAD_ID and pthread. For the 
   4891 32-
   4892 bit case, improve casting to eliminate possible warnings, especially with 
   4893 the 
   4894 acpica tools.
   4895 
   4896 Example Code and Data Size: These are the sizes for the OS-independent 
   4897 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4898 debug 
   4899 version of the code includes the debug output trace mechanism and has a 
   4900 much 
   4901 larger code and data size.
   4902 
   4903   Previous Release (VC 9.0):
   4904     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   4905     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4906   Current Release (VC 9.0):
   4907     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   4908     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4909 
   4910 2) iASL Compiler/Disassembler and Tools:
   4911 
   4912 With this release, a new utility named "acpihelp" has been added to the 
   4913 ACPICA 
   4914 package. This utility summarizes the ACPI specification chapters for the 
   4915 ASL 
   4916 and AML languages. It generates under Linux/Unix as well as Windows, and 
   4917 provides the following functionality:
   4918     Find/display ASL operator(s) -- with description and syntax.
   4919     Find/display ASL keyword(s) -- with exact spelling and descriptions.
   4920     Find/display ACPI predefined name(s) -- with description, number
   4921         of arguments, and the return value data type.
   4922     Find/display AML opcode name(s) -- with opcode, arguments, and 
   4923 grammar.
   4924     Decode/display AML opcode -- with opcode name, arguments, and 
   4925 grammar.
   4926 
   4927 Service Layers: Make multi-thread support configurable. Conditionally 
   4928 compile 
   4929 the multi-thread support so that threading libraries will not be linked 
   4930 if 
   4931 not 
   4932 necessary. The only tool that requires multi-thread support is AcpiExec.
   4933 
   4934 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
   4935 of 
   4936 Bison appear to want the interface to yyerror to be a const char * (or at 
   4937 least this is a problem when generating iASL on some systems.) ACPICA BZ 
   4938 923 
   4939 Pierre Lejeune.
   4940 
   4941 Tools: Fix for systems where O_BINARY is not defined. Only used for 
   4942 Windows 
   4943 versions of the tools.
   4944 
   4945 ----------------------------------------
   4946 27 May 2011. Summary of changes for version 20110527:
   4947 
   4948 1) ACPI CA Core Subsystem:
   4949 
   4950 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
   4951 table 
   4952 signature. Now, only allow SSDT, OEMx, and a null signature. History:
   4953     1) Originally, we checked the table signature for "SSDT" or "PSDT".
   4954        (PSDT is now obsolete.)
   4955     2) We added support for OEMx tables, signature "OEM" plus a fourth
   4956        "don't care" character.
   4957     3) Valid tables were encountered with a null signature, so we just
   4958        gave up on validating the signature, (05/2008).
   4959     4) We encountered non-AML tables such as the MADT, which caused
   4960        interpreter errors and kernel faults. So now, we once again allow
   4961        only SSDT, OEMx, and now, also a null signature. (05/2011).
   4962 
   4963 Added the missing _TDL predefined name to the global name list in order 
   4964 to 
   4965 enable validation. Affects both the core ACPICA code and the iASL 
   4966 compiler.
   4967 
   4968 Example Code and Data Size: These are the sizes for the OS-independent 
   4969 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4970 debug 
   4971 version of the code includes the debug output trace mechanism and has a 
   4972 much 
   4973 larger code and data size.
   4974 
   4975   Previous Release (VC 9.0):
   4976     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   4977     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   4978   Current Release (VC 9.0):
   4979     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   4980     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   4981 
   4982 2) iASL Compiler/Disassembler and Tools:
   4983 
   4984 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
   4985 the 
   4986 debugger command line. This adds support beyond simple integers -- 
   4987 including 
   4988 Strings, Buffers, and Packages. Includes support for nested packages. 
   4989 Increased the default command line buffer size to accommodate these 
   4990 arguments. 
   4991 See the ACPICA reference for details and syntax. ACPICA BZ 917.
   4992  
   4993 Debugger/AcpiExec: Implemented support for "default" method arguments for 
   4994 the 
   4995 Execute/Debug command. Now, the debugger will always invoke a control 
   4996 method 
   4997 with the required number of arguments -- even if the command line 
   4998 specifies 
   4999 none or insufficient arguments. It uses default integer values for any 
   5000 missing 
   5001 arguments. Also fixes a bug where only six method arguments maximum were 
   5002 supported instead of the required seven.
   5003 
   5004 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
   5005 and 
   5006 also return status in order to prevent buffer overruns. See the ACPICA 
   5007 reference for details and syntax. ACPICA BZ 921
   5008 
   5009 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
   5010 makefiles to simplify support for the two different but similar parser 
   5011 generators, bison and yacc.
   5012 
   5013 Updated the generic unix makefile for gcc 4. The default gcc version is 
   5014 now 
   5015 expected to be 4 or greater, since options specific to gcc 4 are used.
   5016 
   5017 ----------------------------------------
   5018 13 April 2011. Summary of changes for version 20110413:
   5019 
   5020 1) ACPI CA Core Subsystem:
   5021 
   5022 Implemented support to execute a so-called "orphan" _REG method under the 
   5023 EC 
   5024 device. This change will force the execution of a _REG method underneath 
   5025 the 
   5026 EC 
   5027 device even if there is no corresponding operation region of type 
   5028 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
   5029 compatible with Windows behavior. ACPICA BZ 875.
   5030 
   5031 Added more predefined methods that are eligible for automatic NULL 
   5032 package 
   5033 element removal. This change adds another group of predefined names to 
   5034 the 
   5035 list 
   5036 of names that can be repaired by having NULL package elements dynamically 
   5037 removed. This group are those methods that return a single variable-
   5038 length 
   5039 package containing simple data types such as integers, buffers, strings. 
   5040 This 
   5041 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
   5042 _PSL, 
   5043 _Sx, 
   5044 and _TZD. ACPICA BZ 914.
   5045 
   5046 Split and segregated all internal global lock functions to a new file, 
   5047 evglock.c.
   5048 
   5049 Updated internal address SpaceID for DataTable regions. Moved this 
   5050 internal 
   5051 space 
   5052 id in preparation for ACPI 5.0 changes that will include some new space 
   5053 IDs. 
   5054 This 
   5055 change should not affect user/host code.
   5056 
   5057 Example Code and Data Size: These are the sizes for the OS-independent 
   5058 acpica.lib 
   5059 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   5060 version of 
   5061 the code includes the debug output trace mechanism and has a much larger 
   5062 code 
   5063 and 
   5064 data size.
   5065 
   5066   Previous Release (VC 9.0):
   5067     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   5068     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   5069   Current Release (VC 9.0):
   5070     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   5071     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   5072 
   5073 2) iASL Compiler/Disassembler and Tools:
   5074 
   5075 iASL/DTC: Major update for new grammar features. Allow generic data types 
   5076 in 
   5077 custom ACPI tables. Field names are now optional. Any line can be split 
   5078 to 
   5079 multiple lines using the continuation char (\). Large buffers now use 
   5080 line-
   5081 continuation character(s) and no colon on the continuation lines. See the 
   5082 grammar 
   5083 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
   5084 Moore.
   5085 
   5086 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
   5087 statements. 
   5088 Since the parser stuffs a "zero" as the return value for these statements 
   5089 (due 
   5090 to 
   5091 the underlying AML grammar), they were seen as "return with value" by the 
   5092 iASL 
   5093 semantic checking. They are now seen correctly as "null" return 
   5094 statements.
   5095 
   5096 iASL: Check if a_REG declaration has a corresponding Operation Region. 
   5097 Adds a 
   5098 check for each _REG to ensure that there is in fact a corresponding 
   5099 operation 
   5100 region declaration in the same scope. If not, the _REG method is not very 
   5101 useful 
   5102 since it probably won't be executed. ACPICA BZ 915.
   5103 
   5104 iASL/DTC: Finish support for expression evaluation. Added a new 
   5105 expression 
   5106 parser 
   5107 that implements c-style operator precedence and parenthesization. ACPICA 
   5108 bugzilla 
   5109 908.
   5110 
   5111 Disassembler/DTC: Remove support for () and <> style comments in data 
   5112 tables. 
   5113 Now 
   5114 that DTC has full expression support, we don't want to have comment 
   5115 strings 
   5116 that 
   5117 start with a parentheses or a less-than symbol. Now, only the standard /* 
   5118 and 
   5119 // 
   5120 comments are supported, as well as the bracket [] comments.
   5121 
   5122 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
   5123 "unusual" 
   5124 headers in the acpidump file. Update the header validation to support 
   5125 these 
   5126 tables. Problem introduced in previous AcpiXtract version in the change 
   5127 to 
   5128 support "wrong checksum" error messages emitted by acpidump utility.
   5129 
   5130 iASL: Add a * option to generate all template files (as a synonym for 
   5131 ALL) 
   5132 as 
   5133 in 
   5134 "iasl -T *" or "iasl -T ALL".
   5135 
   5136 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
   5137 completely 
   5138 abort the compiler on "fatal" errors, simply should abort the current 
   5139 compile. 
   5140 This allows multiple compiles with a single (possibly wildcard) compiler 
   5141 invocation.
   5142 
   5143 ----------------------------------------
   5144 16 March 2011. Summary of changes for version 20110316:
   5145 
   5146 1) ACPI CA Core Subsystem:
   5147 
   5148 Fixed a problem caused by a _PRW method appearing at the namespace root 
   5149 scope 
   5150 during the setup of wake GPEs. A fault could occur if a _PRW directly 
   5151 under 
   5152 the 
   5153 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
   5154 
   5155 Implemented support for "spurious" Global Lock interrupts. On some 
   5156 systems, a 
   5157 global lock interrupt can occur without the pending flag being set. Upon 
   5158 a 
   5159 GL 
   5160 interrupt, we now ensure that a thread is actually waiting for the lock 
   5161 before 
   5162 signaling GL availability. Rafael Wysocki, Bob Moore.
   5163 
   5164 Example Code and Data Size: These are the sizes for the OS-independent 
   5165 acpica.lib 
   5166 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   5167 version of 
   5168 the code includes the debug output trace mechanism and has a much larger 
   5169 code 
   5170 and 
   5171 data size.
   5172 
   5173   Previous Release (VC 9.0):
   5174     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   5175     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   5176   Current Release (VC 9.0):
   5177     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   5178     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   5179 
   5180 2) iASL Compiler/Disassembler and Tools:
   5181 
   5182 Implemented full support for the "SLIC" ACPI table. Includes support in 
   5183 the 
   5184 header files, disassembler, table compiler, and template generator. Bob 
   5185 Moore, 
   5186 Lin Ming.
   5187 
   5188 AcpiXtract: Correctly handle embedded comments and messages from 
   5189 AcpiDump. 
   5190 Apparently some or all versions of acpidump will occasionally emit a 
   5191 comment 
   5192 like 
   5193 "Wrong checksum", etc., into the dump file. This was causing problems for 
   5194 AcpiXtract. ACPICA BZ 905.
   5195 
   5196 iASL: Fix the Linux makefile by removing an inadvertent double file 
   5197 inclusion. 
   5198 ACPICA BZ 913.
   5199 
   5200 AcpiExec: Update installation of operation region handlers. Install one 
   5201 handler 
   5202 for a user-defined address space. This is used by the ASL test suite 
   5203 (ASLTS).
   5204 
   5205 ----------------------------------------
   5206 11 February 2011. Summary of changes for version 20110211:
   5207 
   5208 1) ACPI CA Core Subsystem:
   5209 
   5210 Added a mechanism to defer _REG methods for some early-installed 
   5211 handlers. 
   5212 Most user handlers should be installed before call to 
   5213 AcpiEnableSubsystem. 
   5214 However, Event handlers and region handlers should be installed after 
   5215 AcpiInitializeObjects. Override handlers for the "default" regions should 
   5216 be 
   5217 installed early, however. This change executes all _REG methods for the 
   5218 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
   5219 chicken/egg issues between them. ACPICA BZ 848.
   5220 
   5221 Implemented an optimization for GPE detection. This optimization will 
   5222 simply 
   5223 ignore GPE registers that contain no enabled GPEs -- there is no need to 
   5224 read the register since this information is available internally. This 
   5225 becomes more important on machines with a large GPE space. ACPICA 
   5226 bugzilla 
   5227 884. Lin Ming. Suggestion from Joe Liu.
   5228 
   5229 Removed all use of the highly unreliable FADT revision field. The 
   5230 revision 
   5231 number in the FADT has been found to be completely unreliable and cannot 
   5232 be 
   5233 trusted. Only the actual table length can be used to infer the version. 
   5234 This 
   5235 change updates the ACPICA core and the disassembler so that both no 
   5236 longer 
   5237 even look at the FADT version and instead depend solely upon the FADT 
   5238 length.
   5239 
   5240 Fix an unresolved name issue for the no-debug and no-error-message source 
   5241 generation cases. The _AcpiModuleName was left undefined in these cases, 
   5242 but 
   5243 it is actually needed as a parameter to some interfaces. Define 
   5244 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
   5245 
   5246 Split several large files (makefiles and project files updated)
   5247   utglobal.c   -> utdecode.c
   5248   dbcomds.c    -> dbmethod.c dbnames.c
   5249   dsopcode.c   -> dsargs.c dscontrol.c
   5250   dsload.c     -> dsload2.c
   5251   aslanalyze.c -> aslbtypes.c aslwalks.c
   5252 
   5253 Example Code and Data Size: These are the sizes for the OS-independent 
   5254 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5255 debug version of the code includes the debug output trace mechanism and 
   5256 has 
   5257 a much larger code and data size.
   5258 
   5259   Previous Release (VC 9.0):
   5260     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   5261     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   5262   Current Release (VC 9.0):
   5263     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   5264     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   5265 
   5266 2) iASL Compiler/Disassembler and Tools:
   5267 
   5268 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
   5269 These are useful C-style macros with the standard definitions. ACPICA 
   5270 bugzilla 898.
   5271 
   5272 iASL/DTC: Added support for integer expressions and labels. Support for 
   5273 full 
   5274 expressions for all integer fields in all ACPI tables. Support for labels 
   5275 in 
   5276 "generic" portions of tables such as UEFI. See the iASL reference manual.
   5277 
   5278 Debugger: Added a command to display the status of global handlers. The 
   5279 "handlers" command will display op region, fixed event, and miscellaneous 
   5280 global handlers. installation status -- and for op regions, whether 
   5281 default 
   5282 or user-installed handler will be used.
   5283 
   5284 iASL: Warn if reserved method incorrectly returns a value. Many 
   5285 predefined 
   5286 names are defined such that they do not return a value. If implemented as 
   5287 a 
   5288 method, issue a warning if such a name explicitly returns a value. ACPICA 
   5289 Bugzilla 855.
   5290 
   5291 iASL: Added detection of GPE method name conflicts. Detects a conflict 
   5292 where 
   5293 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
   5294 (For 
   5295 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
   5296 
   5297 iASL/DTC: Fixed a couple input scanner issues with comments and line 
   5298 numbers. Comment remover could get confused and miss a comment ending. 
   5299 Fixed 
   5300 a problem with line counter maintenance.
   5301 
   5302 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
   5303 is 
   5304 no need to abort on simple errors within a field definition.
   5305 
   5306 Debugger: Simplified the output of the help command. All help output now 
   5307 in 
   5308 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
   5309 
   5310 ----------------------------------------
   5311 12 January 2011. Summary of changes for version 20110112:
   5312 
   5313 1) ACPI CA Core Subsystem:
   5314 
   5315 Fixed a race condition between method execution and namespace walks that 
   5316 can 
   5317 possibly cause a fault. The problem was apparently introduced in version 
   5318 20100528 as a result of a performance optimization that reduces the 
   5319 number 
   5320 of 
   5321 namespace walks upon method exit by using the delete_namespace_subtree 
   5322 function instead of the delete_namespace_by_owner function used 
   5323 previously. 
   5324 Bug is a missing namespace lock in the delete_namespace_subtree function. 
   5325 dana.myers (a] oracle.com
   5326 
   5327 Fixed several issues and a possible fault with the automatic "serialized" 
   5328 method support. History: This support changes a method to "serialized" on 
   5329 the 
   5330 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
   5331 possibility that it cannot handle reentrancy. This fix repairs a couple 
   5332 of 
   5333 issues seen in the field, especially on machines with many cores:
   5334 
   5335     1) Delete method children only upon the exit of the last thread,
   5336        so as to not delete objects out from under other running threads
   5337       (and possibly causing a fault.)
   5338     2) Set the "serialized" bit for the method only upon the exit of the
   5339        Last thread, so as to not cause deadlock when running threads
   5340        attempt to exit.
   5341     3) Cleanup the use of the AML "MethodFlags" and internal method flags
   5342        so that there is no longer any confusion between the two.
   5343 
   5344     Lin Ming, Bob Moore. Reported by dana.myers (a] oracle.com.
   5345 
   5346 Debugger: Now lock the namespace for duration of a namespace dump. 
   5347 Prevents 
   5348 issues if the namespace is changing dynamically underneath the debugger. 
   5349 Especially affects temporary namespace nodes, since the debugger displays 
   5350 these also.
   5351 
   5352 Updated the ordering of include files. The ACPICA headers should appear 
   5353 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
   5354 set 
   5355 any necessary compiler-specific defines, etc. Affects the ACPI-related 
   5356 tools 
   5357 and utilities.
   5358 
   5359 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
   5360 copyright 
   5361 to all module headers and signons, including the Linux header. This 
   5362 affects 
   5363 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
   5364 utilities.
   5365 
   5366 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
   5367 project files for VC++ 6.0 are now obsolete. New project files can be 
   5368 found 
   5369 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
   5370 details.
   5371 
   5372 Example Code and Data Size: These are the sizes for the OS-independent 
   5373 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5374 debug version of the code includes the debug output trace mechanism and 
   5375 has a 
   5376 much larger code and data size.
   5377 
   5378   Previous Release (VC 6.0):
   5379     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   5380     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   5381   Current Release (VC 9.0):
   5382     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   5383     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   5384 
   5385 2) iASL Compiler/Disassembler and Tools:
   5386 
   5387 iASL: Added generic data types to the Data Table compiler. Add "generic" 
   5388 data 
   5389 types such as UINT32, String, Unicode, etc., to simplify the generation 
   5390 of 
   5391 platform-defined tables such as UEFI. Lin Ming.
   5392 
   5393 iASL: Added listing support for the Data Table Compiler. Adds listing 
   5394 support 
   5395 (-l) to display actual binary output for each line of input code.
   5396 
   5397 ----------------------------------------
   5398 09 December 2010. Summary of changes for version 20101209:
   5399 
   5400 1) ACPI CA Core Subsystem:
   5401 
   5402 Completed the major overhaul of the GPE support code that was begun in 
   5403 July 
   5404 2010. Major features include: removal of _PRW execution in ACPICA (host 
   5405 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
   5406 changes to existing interfaces, simplification of GPE handler operation, 
   5407 and 
   5408 a handful of new interfaces:
   5409 
   5410     AcpiUpdateAllGpes
   5411     AcpiFinishGpe
   5412     AcpiSetupGpeForWake
   5413     AcpiSetGpeWakeMask
   5414     One new file, evxfgpe.c to consolidate all external GPE interfaces.
   5415 
   5416 See the ACPICA Programmer Reference for full details and programming 
   5417 information. See the new section 4.4 "General Purpose Event (GPE) 
   5418 Support" 
   5419 for a full overview, and section 8.7 "ACPI General Purpose Event 
   5420 Management" 
   5421 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
   5422 Ming, 
   5423 Bob Moore, Rafael Wysocki.
   5424 
   5425 Implemented a new GPE feature for Windows compatibility, the "Implicit 
   5426 Wake 
   5427 GPE Notify". This feature will automatically issue a Notify(2) on a 
   5428 device 
   5429 when a Wake GPE is received if there is no corresponding GPE method or 
   5430 handler. ACPICA BZ 870.
   5431 
   5432 Fixed a problem with the Scope() operator during table parse and load 
   5433 phase. 
   5434 During load phase (table load or method execution), the scope operator 
   5435 should 
   5436 not enter the target into the namespace. Instead, it should open a new 
   5437 scope 
   5438 at the target location. Linux BZ 19462, ACPICA BZ 882.
   5439 
   5440 Example Code and Data Size: These are the sizes for the OS-independent 
   5441 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5442 debug version of the code includes the debug output trace mechanism and 
   5443 has a 
   5444 much larger code and data size.
   5445 
   5446   Previous Release:
   5447     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   5448     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   5449   Current Release:
   5450     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   5451     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   5452 
   5453 2) iASL Compiler/Disassembler and Tools:
   5454 
   5455 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
   5456 are 
   5457 "bus-specific" per the ACPI specification, and therefore any characters 
   5458 are 
   5459 acceptable. The only checks that can be performed are for a null string 
   5460 and 
   5461 perhaps for a leading asterisk. ACPICA BZ 886.
   5462 
   5463 iASL: Fixed a problem where a syntax error that caused a premature EOF 
   5464 condition on the source file emitted a very confusing error message. The 
   5465 premature EOF is now detected correctly. ACPICA BZ 891.
   5466 
   5467 Disassembler: Decode the AccessSize within a Generic Address Structure 
   5468 (byte 
   5469 access, word access, etc.) Note, this field does not allow arbitrary bit 
   5470 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
   5471 
   5472 New: AcpiNames utility - Example namespace dump utility. Shows an example 
   5473 of 
   5474 ACPICA configuration for a minimal namespace dump utility. Uses table and 
   5475 namespace managers, but no AML interpreter. Does not add any 
   5476 functionality 
   5477 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
   5478 partition and configure ACPICA. ACPICA BZ 883.
   5479 
   5480 AML Debugger: Increased the debugger buffer size for method return 
   5481 objects. 
   5482 Was 4K, increased to 16K. Also enhanced error messages for debugger 
   5483 method 
   5484 execution, including the buffer overflow case.
   5485 
   5486 ----------------------------------------
   5487 13 October 2010. Summary of changes for version 20101013:
   5488 
   5489 1) ACPI CA Core Subsystem:
   5490 
   5491 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
   5492 now 
   5493 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
   5494 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
   5495 
   5496 Changed the type of the predefined namespace object _TZ from ThermalZone 
   5497 to 
   5498 Device. This was found to be confusing to the host software that 
   5499 processes 
   5500 the various thermal zones, since _TZ is not really a ThermalZone. 
   5501 However, 
   5502 a 
   5503 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
   5504 Zhang.
   5505 
   5506 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
   5507 string is "Windows 2006 SP2".
   5508 
   5509 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
   5510 nsrepair 
   5511 code automatically repairs _HID-related strings, this type of code is no 
   5512 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
   5513 878.
   5514 
   5515 Example Code and Data Size: These are the sizes for the OS-independent 
   5516 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5517 debug version of the code includes the debug output trace mechanism and 
   5518 has a 
   5519 much larger code and data size.
   5520 
   5521   Previous Release:
   5522     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   5523     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   5524   Current Release:
   5525     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   5526     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   5527 
   5528 2) iASL Compiler/Disassembler and Tools:
   5529 
   5530 iASL: Implemented additional compile-time validation for _HID strings. 
   5531 The 
   5532 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
   5533 length 
   5534 of 
   5535 the string must be exactly seven or eight characters. For both _HID and 
   5536 _CID 
   5537 strings, all characters must be alphanumeric. ACPICA BZ 874.
   5538 
   5539 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
   5540 descriptors that are mostly or all zeros, with the expectation that they 
   5541 will 
   5542 be filled in at runtime. iASL now allows this as long as there is a 
   5543 "resource 
   5544 tag" (name) associated with the descriptor, which gives the ASL a handle 
   5545 needed to modify the descriptor. ACPICA BZ 873.
   5546 
   5547 Added single-thread support to the generic Unix application OSL. 
   5548 Primarily 
   5549 for iASL support, this change removes the use of semaphores in the 
   5550 single-
   5551 threaded ACPICA tools/applications - increasing performance. The 
   5552 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
   5553 option. ACPICA BZ 879.
   5554 
   5555 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
   5556 support 
   5557 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
   5558 
   5559 iASL: Moved all compiler messages to a new file, aslmessages.h.
   5560 
   5561 ----------------------------------------
   5562 15 September 2010. Summary of changes for version 20100915:
   5563 
   5564 1) ACPI CA Core Subsystem:
   5565 
   5566 Removed the AcpiOsDerivePciId OSL interface. The various host 
   5567 implementations 
   5568 of this function were not OS-dependent and are now obsolete and can be 
   5569 removed from all host OSLs. This function has been replaced by 
   5570 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
   5571 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
   5572 module, hwpci.c. ACPICA BZ 857.
   5573 
   5574 Implemented a dynamic repair for _HID and _CID strings. The following 
   5575 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
   5576 string, and 2) the entire string is uppercased. Both repairs are in 
   5577 accordance with the ACPI specification and will simplify host driver 
   5578 code. 
   5579 ACPICA BZ 871.
   5580 
   5581 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
   5582 always UINT64. This simplifies the ACPICA code, especially any printf 
   5583 output. 
   5584 UINT64 is the only common data type for all thread_id types across all 
   5585 operating systems. It is now up to the host OSL to cast the native 
   5586 thread_id 
   5587 type to UINT64 before returning the value to ACPICA (via 
   5588 AcpiOsGetThreadId). 
   5589 Lin Ming, Bob Moore.
   5590 
   5591 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
   5592 "inline" 
   5593 keyword is not standard across compilers, and this type allows inline to 
   5594 be 
   5595 configured on a per-compiler basis. Lin Ming.
   5596 
   5597 Made the system global AcpiGbl_SystemAwakeAndRunning publically 
   5598 available. 
   5599 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
   5600 value 
   5601 during suspend/restore operations. ACPICA BZ 869.
   5602 
   5603 All code that implements error/warning messages with the "ACPI:" prefix 
   5604 has 
   5605 been moved to a new module, utxferror.c.
   5606 
   5607 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
   5608 it 
   5609 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
   5610 
   5611 Example Code and Data Size: These are the sizes for the OS-independent 
   5612 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5613 debug version of the code includes the debug output trace mechanism and 
   5614 has a 
   5615 much larger code and data size.
   5616 
   5617   Previous Release:
   5618     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   5619     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   5620   Current Release:
   5621     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   5622     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   5623 
   5624 2) iASL Compiler/Disassembler and Tools:
   5625 
   5626 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
   5627 file. 
   5628 This keeps the output files free of random error messages that may 
   5629 originate 
   5630 from within the namespace/interpreter code. Used this opportunity to 
   5631 merge 
   5632 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
   5633 866. Lin Ming, Bob Moore.
   5634 
   5635 Tools: update some printfs for ansi warnings on size_t. Handle width 
   5636 change 
   5637 of size_t on 32-bit versus 64-bit generations. Lin Ming.
   5638 
   5639 ----------------------------------------
   5640 06 August 2010. Summary of changes for version 20100806:
   5641 
   5642 1) ACPI CA Core Subsystem:
   5643 
   5644 Designed and implemented a new host interface to the _OSI support code. 
   5645 This 
   5646 will allow the host to dynamically add or remove multiple _OSI strings, 
   5647 as 
   5648 well as install an optional handler that is called for each _OSI 
   5649 invocation. 
   5650 Also added a new AML debugger command, 'osi' to display and modify the 
   5651 global 
   5652 _OSI string table, and test support in the AcpiExec utility. See the 
   5653 ACPICA 
   5654 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
   5655 New Functions:
   5656     AcpiInstallInterface - Add an _OSI string.
   5657     AcpiRemoveInterface - Delete an _OSI string.
   5658     AcpiInstallInterfaceHandler - Install optional _OSI handler.
   5659 Obsolete Functions:
   5660     AcpiOsValidateInterface - no longer used.
   5661 New Files:
   5662     source/components/utilities/utosi.c
   5663 
   5664 Re-introduced the support to enable multi-byte transfers for Embedded 
   5665 Controller (EC) operation regions. A reported problem was found to be a 
   5666 bug 
   5667 in the host OS, not in the multi-byte support. Previously, the maximum 
   5668 data 
   5669 size passed to the EC operation region handler was a single byte. There 
   5670 are 
   5671 often EC Fields larger than one byte that need to be transferred, and it 
   5672 is 
   5673 useful for the EC driver to lock these as a single transaction. This 
   5674 change 
   5675 enables single transfers larger than 8 bits. This effectively changes the 
   5676 access to the EC space from ByteAcc to AnyAcc, and will probably require 
   5677 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
   5678 bit 
   5679 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
   5680 
   5681 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
   5682 prototype in acpiosxf.h had the output value pointer as a (void *).
   5683 It should be a (UINT64 *). This may affect some host OSL code.
   5684 
   5685 Fixed a couple problems with the recently modified Linux makefiles for 
   5686 iASL 
   5687 and AcpiExec. These new makefiles place the generated object files in the 
   5688 local directory so that there can be no collisions between the files that 
   5689 are 
   5690 shared between them that are compiled with different options.
   5691 
   5692 Example Code and Data Size: These are the sizes for the OS-independent 
   5693 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5694 debug version of the code includes the debug output trace mechanism and 
   5695 has a 
   5696 much larger code and data size.
   5697 
   5698   Previous Release:
   5699     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   5700     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   5701   Current Release:
   5702     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   5703     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   5704 
   5705 2) iASL Compiler/Disassembler and Tools:
   5706 
   5707 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
   5708 the 
   5709 namespace from and disassemble an entire group of AML files. Useful for 
   5710 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
   5711 and 
   5712 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
   5713 
   5714 iASL: Allow multiple invocations of -e option. This change allows 
   5715 multiple 
   5716 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
   5717 834. 
   5718 Lin Ming.
   5719 
   5720 ----------------------------------------
   5721 02 July 2010. Summary of changes for version 20100702:
   5722 
   5723 1) ACPI CA Core Subsystem:
   5724 
   5725 Implemented several updates to the recently added GPE reference count 
   5726 support. The model for "wake" GPEs is changing to give the host OS 
   5727 complete 
   5728 control of these GPEs. Eventually, the ACPICA core will not execute any 
   5729 _PRW 
   5730 methods, since the host already must execute them. Also, additional 
   5731 changes 
   5732 were made to help ensure that the reference counts are kept in proper 
   5733 synchronization with reality. Rafael J. Wysocki.
   5734 
   5735 1) Ensure that GPEs are not enabled twice during initialization.
   5736 2) Ensure that GPE enable masks stay in sync with the reference count.
   5737 3) Do not inadvertently enable GPEs when writing GPE registers.
   5738 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
   5739 interface. This interface will set or clear individual GPEs for wakeup.
   5740 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
   5741 interfaces 
   5742 are now used for "runtime" GPEs only.
   5743 
   5744 Changed the behavior of the GPE install/remove handler interfaces. The 
   5745 GPE 
   5746 is 
   5747 no longer disabled during this process, as it was found to cause problems 
   5748 on 
   5749 some machines. Rafael J. Wysocki.
   5750 
   5751 Reverted a change introduced in version 20100528 to enable Embedded 
   5752 Controller multi-byte transfers. This change was found to cause problems 
   5753 with 
   5754 Index Fields and possibly Bank Fields. It will be reintroduced when these 
   5755 problems have been resolved.
   5756 
   5757 Fixed a problem with references to Alias objects within Package Objects. 
   5758 A 
   5759 reference to an Alias within the definition of a Package was not always 
   5760 resolved properly. Aliases to objects like Processors, Thermal zones, 
   5761 etc. 
   5762 were resolved to the actual object instead of a reference to the object 
   5763 as 
   5764 it 
   5765 should be. Package objects are only allowed to contain integer, string, 
   5766 buffer, package, and reference objects. Redhat bugzilla 608648.
   5767 
   5768 Example Code and Data Size: These are the sizes for the OS-independent 
   5769 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5770 debug version of the code includes the debug output trace mechanism and 
   5771 has a 
   5772 much larger code and data size.
   5773 
   5774   Previous Release:
   5775     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   5776     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   5777   Current Release:
   5778     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   5779     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   5780 
   5781 2) iASL Compiler/Disassembler and Tools:
   5782 
   5783 iASL: Implemented a new compiler subsystem to allow definition and 
   5784 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
   5785 These 
   5786 are called "ACPI Data Tables", and the new compiler is the "Data Table 
   5787 Compiler". This compiler is intended to simplify the existing error-prone 
   5788 process of creating these tables for the BIOS, as well as allowing the 
   5789 disassembly, modification, recompilation, and override of existing ACPI 
   5790 data 
   5791 tables. See the iASL User Guide for detailed information.
   5792 
   5793 iASL: Implemented a new Template Generator option in support of the new 
   5794 Data 
   5795 Table Compiler. This option will create examples of all known ACPI tables 
   5796 that can be used as the basis for table development. See the iASL 
   5797 documentation and the -T option.
   5798 
   5799 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
   5800 Descriptor Table).
   5801 
   5802 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
   5803 object files in the local directory so that there can be no collisions 
   5804 between the shared files between them that are generated with different 
   5805 options.
   5806 
   5807 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
   5808 Use 
   5809 the #define __APPLE__ to enable this support.
   5810 
   5811 ----------------------------------------
   5812 28 May 2010. Summary of changes for version 20100528:
   5813 
   5814 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
   5815 available at www.acpi.info. This is primarily an errata release.
   5816 
   5817 1) ACPI CA Core Subsystem:
   5818 
   5819 Undefined ACPI tables: We are looking for the definitions for the 
   5820 following 
   5821 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
   5822 
   5823 Implemented support to enable multi-byte transfers for Embedded 
   5824 Controller 
   5825 (EC) operation regions. Previously, the maximum data size passed to the 
   5826 EC 
   5827 operation region handler was a single byte. There are often EC Fields 
   5828 larger 
   5829 than one byte that need to be transferred, and it is useful for the EC 
   5830 driver 
   5831 to lock these as a single transaction. This change enables single 
   5832 transfers 
   5833 larger than 8 bits. This effectively changes the access to the EC space 
   5834 from 
   5835 ByteAcc to AnyAcc, and will probably require changes to the host OS 
   5836 Embedded 
   5837 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
   5838 bit 
   5839 transfers. Alexey Starikovskiy, Lin Ming
   5840 
   5841 Implemented a performance enhancement for namespace search and access. 
   5842 This 
   5843 change enhances the performance of namespace searches and walks by adding 
   5844 a 
   5845 backpointer to the parent in each namespace node. On large namespaces, 
   5846 this 
   5847 change can improve overall ACPI performance by up to 9X. Adding a pointer 
   5848 to 
   5849 each namespace node increases the overall size of the internal namespace 
   5850 by 
   5851 about 5%, since each namespace entry usually consists of both a namespace 
   5852 node and an ACPI operand object. However, this is the first growth of the 
   5853 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
   5854 
   5855 Implemented a performance optimization that reduces the number of 
   5856 namespace 
   5857 walks. On control method exit, only walk the namespace if the method is 
   5858 known 
   5859 to have created namespace objects outside of its local scope. Previously, 
   5860 the 
   5861 entire namespace was traversed on each control method exit. This change 
   5862 can 
   5863 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
   5864 Moore.
   5865 
   5866 Added support to truncate I/O addresses to 16 bits for Windows 
   5867 compatibility. 
   5868 Some ASL code has been seen in the field that inadvertently has bits set 
   5869 above bit 15. This feature is optional and is enabled if the BIOS 
   5870 requests 
   5871 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
   5872 Garrett, Bob Moore.
   5873 
   5874 Added support to limit the maximum time for the ASL Sleep() operator. To 
   5875 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
   5876 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
   5877 bugzilla 854.
   5878 
   5879 Added run-time validation support for the _WDG and_WED Microsoft 
   5880 predefined 
   5881 methods. These objects are defined by "Windows Instrumentation", and are 
   5882 not 
   5883 part of the ACPI spec. ACPICA BZ 860.
   5884 
   5885 Expanded all statistic counters used during namespace and device 
   5886 initialization from 16 to 32 bits in order to support very large 
   5887 namespaces.
   5888 
   5889 Replaced all instances of %d in printf format specifiers with %u since 
   5890 nearly 
   5891 all integers in ACPICA are unsigned.
   5892 
   5893 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
   5894 returned 
   5895 as AE_NO_HANDLER.
   5896 
   5897 Example Code and Data Size: These are the sizes for the OS-independent 
   5898 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5899 debug version of the code includes the debug output trace mechanism and 
   5900 has a 
   5901 much larger code and data size.
   5902 
   5903   Previous Release:
   5904     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   5905     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   5906   Current Release:
   5907     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   5908     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   5909 
   5910 2) iASL Compiler/Disassembler and Tools:
   5911 
   5912 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
   5913 methods. These objects are defined by "Windows Instrumentation", and are 
   5914 not 
   5915 part of the ACPI spec. ACPICA BZ 860.
   5916 
   5917 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
   5918 option will disable the tracking mechanism, which improves performance 
   5919 considerably.
   5920 
   5921 AcpiExec: Restructured the command line options into -d (disable) and -e 
   5922 (enable) options.
   5923 
   5924 ----------------------------------------
   5925 28 April 2010. Summary of changes for version 20100428:
   5926 
   5927 1) ACPI CA Core Subsystem:
   5928 
   5929 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
   5930 including FADT-based and GPE Block Devices, execute any _PRW methods in 
   5931 the 
   5932 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
   5933 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
   5934 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
   5935 Devices. Provides compatibility with other ACPI implementations. Two new 
   5936 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
   5937 Moore.
   5938 
   5939 Fixed a regression introduced in version 20100331 within the table 
   5940 manager 
   5941 where initial table loading could fail. This was introduced in the fix 
   5942 for 
   5943 AcpiReallocateRootTable. Also, renamed some of fields in the table 
   5944 manager 
   5945 data structures to clarify their meaning and use.
   5946 
   5947 Fixed a possible allocation overrun during internal object copy in 
   5948 AcpiUtCopySimpleObject. The original code did not correctly handle the 
   5949 case 
   5950 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
   5951 847.
   5952 
   5953 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
   5954 possible access beyond end-of-allocation. Also, now fully validate 
   5955 descriptor 
   5956 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
   5957 
   5958 Example Code and Data Size: These are the sizes for the OS-independent 
   5959 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   5960 debug version of the code includes the debug output trace mechanism and 
   5961 has a 
   5962 much larger code and data size.
   5963 
   5964   Previous Release:
   5965     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   5966     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   5967   Current Release:
   5968     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   5969     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   5970 
   5971 2) iASL Compiler/Disassembler and Tools:
   5972 
   5973 iASL: Implemented Min/Max/Len/Gran validation for address resource 
   5974 descriptors. This change implements validation for the address fields 
   5975 that 
   5976 are common to all address-type resource descriptors. These checks are 
   5977 implemented: Checks for valid Min/Max, length within the Min/Max window, 
   5978 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
   5979 per 
   5980 table 6-40 in the ACPI 4.0a specification. Also split the large 
   5981 aslrestype1.c 
   5982 and aslrestype2.c files into five new files. ACPICA BZ 840.
   5983 
   5984 iASL: Added support for the _Wxx predefined names. This support was 
   5985 missing 
   5986 and these names were not recognized by the compiler as valid predefined 
   5987 names. ACPICA BZ 851.
   5988 
   5989 iASL: Added an error for all predefined names that are defined to return 
   5990 no 
   5991 value and thus must be implemented as Control Methods. These include all 
   5992 of 
   5993 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
   5994 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
   5995 
   5996 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
   5997 an 
   5998 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
   5999 be 
   6000 dynamically loaded via the Load() operator. Also cleaned up output for 
   6001 the 
   6002 -
   6003 ta and -tc options. ACPICA BZ 853.
   6004 
   6005 Tests: Added a new file with examples of extended iASL error checking. 
   6006 Demonstrates the advanced error checking ability of the iASL compiler. 
   6007 Available at tests/misc/badcode.asl.
   6008 
   6009 ----------------------------------------
   6010 31 March 2010. Summary of changes for version 20100331:
   6011 
   6012 1) ACPI CA Core Subsystem:
   6013 
   6014 Completed a major update for the GPE support in order to improve support 
   6015 for 
   6016 shared GPEs and to simplify both host OS and ACPICA code. Added a 
   6017 reference 
   6018 count mechanism to support shared GPEs that require multiple device 
   6019 drivers. 
   6020 Several external interfaces have changed. One external interface has been 
   6021 removed. One new external interface was added. Most of the GPE external 
   6022 interfaces now use the GPE spinlock instead of the events mutex (and the 
   6023 Flags parameter for many GPE interfaces has been removed.) See the 
   6024 updated 
   6025 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
   6026 Rafael 
   6027 Wysocki. ACPICA BZ 831.
   6028 
   6029 Changed:
   6030     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
   6031 Removed:
   6032     AcpiSetGpeType
   6033 New:
   6034     AcpiSetGpe
   6035 
   6036 Implemented write support for DataTable operation regions. These regions 
   6037 are 
   6038 defined via the DataTableRegion() operator. Previously, only read support 
   6039 was 
   6040 implemented. The ACPI specification allows DataTableRegions to be 
   6041 read/write, 
   6042 however.
   6043 
   6044 Implemented a new subsystem option to force a copy of the DSDT to local 
   6045 memory. Optionally copy the entire DSDT to local memory (instead of 
   6046 simply 
   6047 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
   6048 replace 
   6049 the original DSDT, creating the need for this option. Default is FALSE, 
   6050 do 
   6051 not copy the DSDT.
   6052 
   6053 Implemented detection of a corrupted or replaced DSDT. This change adds 
   6054 support to detect a DSDT that has been corrupted and/or replaced from 
   6055 outside 
   6056 the OS (by firmware). This is typically catastrophic for the system, but 
   6057 has 
   6058 been seen on some machines. Once this problem has been detected, the DSDT 
   6059 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
   6060 
   6061 Fixed two problems with AcpiReallocateRootTable during the root table 
   6062 copy. 
   6063 When copying the root table to the new allocation, the length used was 
   6064 incorrect. The new size was used instead of the current table size, 
   6065 meaning 
   6066 too much data was copied. Also, the count of available slots for ACPI 
   6067 tables 
   6068 was not set correctly. Alexey Starikovskiy, Bob Moore.
   6069 
   6070 Example Code and Data Size: These are the sizes for the OS-independent 
   6071 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6072 debug version of the code includes the debug output trace mechanism and 
   6073 has a 
   6074 much larger code and data size.
   6075 
   6076   Previous Release:
   6077     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   6078     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   6079   Current Release:
   6080     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   6081     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   6082 
   6083 2) iASL Compiler/Disassembler and Tools:
   6084 
   6085 iASL: Implement limited typechecking for values returned from predefined 
   6086 control methods. The type of any returned static (unnamed) object is now 
   6087 validated. For example, Return(1). ACPICA BZ 786.
   6088 
   6089 iASL: Fixed a predefined name object verification regression. Fixes a 
   6090 problem 
   6091 introduced in version 20100304. An error is incorrectly generated if a 
   6092 predefined name is declared as a static named object with a value defined 
   6093 using the keywords "Zero", "One", or "Ones". Lin Ming.
   6094 
   6095 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
   6096 by 
   6097 reducing the requested registry access rights. ACPICA BZ 842.
   6098 
   6099 Disassembler: fixed a possible fault when generating External() 
   6100 statements. 
   6101 Introduced in commit ae7d6fd: Properly handle externals with parent-
   6102 prefix 
   6103 (carat). Fixes a string length allocation calculation. Lin Ming.
   6104 
   6105 ----------------------------------------
   6106 04 March 2010. Summary of changes for version 20100304:
   6107 
   6108 1) ACPI CA Core Subsystem:
   6109 
   6110 Fixed a possible problem with the AML Mutex handling function 
   6111 AcpiExReleaseMutex where the function could fault under the very rare 
   6112 condition when the interpreter has blocked, the interpreter lock is 
   6113 released, 
   6114 the interpreter is then reentered via the same thread, and attempts to 
   6115 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
   6116 Lin 
   6117 Ming.
   6118 
   6119 Implemented additional configuration support for the AML "Debug Object". 
   6120 Output from the debug object can now be enabled via a global variable, 
   6121 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
   6122 debugging. 
   6123 This debug output is now available in the release version of ACPICA 
   6124 instead 
   6125 of just the debug version. Also, the entire debug output module can now 
   6126 be 
   6127 configured out of the ACPICA build if desired. One new file added, 
   6128 executer/exdebug.c. Lin Ming, Bob Moore.
   6129 
   6130 Added header support for the ACPI MCHI table (Management Controller Host 
   6131 Interface Table). This table was added in ACPI 4.0, but the defining 
   6132 document 
   6133 has only recently become available.
   6134 
   6135 Standardized output of integer values for ACPICA warnings/errors. Always 
   6136 use 
   6137 0x prefix for hex output, always use %u for unsigned integer decimal 
   6138 output. 
   6139 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
   6140 400 
   6141 invocations.) These invocations were converted from the original 
   6142 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
   6143 
   6144 Example Code and Data Size: These are the sizes for the OS-independent 
   6145 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6146 debug version of the code includes the debug output trace mechanism and 
   6147 has a 
   6148 much larger code and data size.
   6149 
   6150   Previous Release:
   6151     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   6152     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   6153   Current Release:
   6154     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   6155     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   6156 
   6157 2) iASL Compiler/Disassembler and Tools:
   6158 
   6159 iASL: Implemented typechecking support for static (non-control method) 
   6160 predefined named objects that are declared with the Name() operator. For 
   6161 example, the type of this object is now validated to be of type Integer: 
   6162 Name(_BBN, 1). This change migrates the compiler to using the core 
   6163 predefined 
   6164 name table instead of maintaining a local version. Added a new file, 
   6165 aslpredef.c. ACPICA BZ 832.
   6166 
   6167 Disassembler: Added support for the ACPI 4.0 MCHI table.
   6168 
   6169 ----------------------------------------
   6170 21 January 2010. Summary of changes for version 20100121:
   6171 
   6172 1) ACPI CA Core Subsystem:
   6173 
   6174 Added the 2010 copyright to all module headers and signons. This affects 
   6175 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
   6176 tools/utilities, and the test suites.
   6177 
   6178 Implemented a change to the AcpiGetDevices interface to eliminate 
   6179 unnecessary 
   6180 invocations of the _STA method. In the case where a specific _HID is 
   6181 requested, do not run _STA until a _HID match is found. This eliminates 
   6182 potentially dozens of _STA calls during a search for a particular 
   6183 device/HID, 
   6184 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
   6185 
   6186 Implemented an additional repair for predefined method return values. 
   6187 Attempt 
   6188 to repair unexpected NULL elements within returned Package objects. 
   6189 Create 
   6190 an 
   6191 Integer of value zero, a NULL String, or a zero-length Buffer as 
   6192 appropriate. 
   6193 ACPICA BZ 818. Lin Ming, Bob Moore.
   6194 
   6195 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
   6196 the 
   6197 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
   6198 (with 
   6199 64-bit AML integers). It is now obsolete and this change removes it from 
   6200 the 
   6201 ACPICA code base, replaced by UINT64. The original typedef has been 
   6202 retained 
   6203 for now for compatibility with existing device driver code. ACPICA BZ 
   6204 824.
   6205 
   6206 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
   6207 in 
   6208 the parse tree object.
   6209 
   6210 Added additional warning options for the gcc-4 generation. Updated the 
   6211 source 
   6212 accordingly. This includes some code restructuring to eliminate 
   6213 unreachable 
   6214 code, elimination of some gotos, elimination of unused return values, 
   6215 some 
   6216 additional casting, and removal of redundant declarations.
   6217 
   6218 Example Code and Data Size: These are the sizes for the OS-independent 
   6219 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6220 debug version of the code includes the debug output trace mechanism and 
   6221 has a 
   6222 much larger code and data size.
   6223 
   6224   Previous Release:
   6225     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   6226     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   6227   Current Release:
   6228     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   6229     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   6230 
   6231 2) iASL Compiler/Disassembler and Tools:
   6232 
   6233 No functional changes for this release.
   6234 
   6235 ----------------------------------------
   6236 14 December 2009. Summary of changes for version 20091214:
   6237 
   6238 1) ACPI CA Core Subsystem:
   6239 
   6240 Enhanced automatic data type conversions for predefined name repairs. 
   6241 This 
   6242 change expands the automatic repairs/conversions for predefined name 
   6243 return 
   6244 values to make Integers, Strings, and Buffers fully interchangeable. 
   6245 Also, 
   6246 a 
   6247 Buffer can be converted to a Package of Integers if necessary. The 
   6248 nsrepair.c 
   6249 module was completely restructured. Lin Ming, Bob Moore.
   6250 
   6251 Implemented automatic removal of null package elements during predefined 
   6252 name 
   6253 repairs. This change will automatically remove embedded and trailing NULL 
   6254 package elements from returned package objects that are defined to 
   6255 contain 
   6256 a 
   6257 variable number of sub-packages. The driver is then presented with a 
   6258 package 
   6259 with no null elements to deal with. ACPICA BZ 819.
   6260 
   6261 Implemented a repair for the predefined _FDE and _GTM names. The expected 
   6262 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
   6263 two 
   6264 possible problems (both seen in the field), where a package of integers 
   6265 is 
   6266 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
   6267 Kim.
   6268 
   6269 Implemented additional module-level code support. This change will 
   6270 properly 
   6271 execute module-level code that is not at the root of the namespace (under 
   6272 a 
   6273 Device object, etc.). Now executes the code within the current scope 
   6274 instead 
   6275 of the root. ACPICA BZ 762. Lin Ming.
   6276 
   6277 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
   6278 a 
   6279 problem where mutex errors can occur when running a _REG method that is 
   6280 in 
   6281 the same scope as a method-defined operation region or an operation 
   6282 region 
   6283 under a module-level IF block. This type of code is rare, so the problem 
   6284 has 
   6285 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
   6286 
   6287 Fixed a possible memory leak during module-level code execution. An 
   6288 object 
   6289 could be leaked for each block of executed module-level code if the 
   6290 interpreter slack mode is enabled This change deletes any implicitly 
   6291 returned 
   6292 object from the module-level code block. Lin Ming.
   6293 
   6294 Removed messages for successful predefined repair(s). The repair 
   6295 mechanism 
   6296 was considered too wordy. Now, messages are only unconditionally emitted 
   6297 if 
   6298 the return object cannot be repaired. Existing messages for successful 
   6299 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
   6300 827.
   6301 
   6302 Example Code and Data Size: These are the sizes for the OS-independent 
   6303 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6304 debug version of the code includes the debug output trace mechanism and 
   6305 has a 
   6306 much larger code and data size.
   6307 
   6308   Previous Release:
   6309     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   6310     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   6311   Current Release:
   6312     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   6313     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   6314 
   6315 2) iASL Compiler/Disassembler and Tools:
   6316 
   6317 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
   6318 files 
   6319 were no longer automatically removed at the termination of the compile.
   6320 
   6321 acpiexec: Implemented the -f option to specify default region fill value. 
   6322 This option specifies the value used to initialize buffers that simulate 
   6323 operation regions. Default value is zero. Useful for debugging problems 
   6324 that 
   6325 depend on a specific initial value for a region or field.
   6326 
   6327 ----------------------------------------
   6328 12 November 2009. Summary of changes for version 20091112:
   6329 
   6330 1) ACPI CA Core Subsystem:
   6331 
   6332 Implemented a post-order callback to AcpiWalkNamespace. The existing 
   6333 interface only has a pre-order callback. This change adds an additional 
   6334 parameter for a post-order callback which will be more useful for bus 
   6335 scans. 
   6336 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
   6337 
   6338 Modified the behavior of the operation region memory mapping cache for 
   6339 SystemMemory. Ensure that the memory mappings created for operation 
   6340 regions 
   6341 do not cross 4K page boundaries. Crossing a page boundary while mapping 
   6342 regions can cause kernel warnings on some hosts if the pages have 
   6343 different 
   6344 attributes. Such regions are probably BIOS bugs, and this is the 
   6345 workaround. 
   6346 Linux BZ 14445. Lin Ming.
   6347 
   6348 Implemented an automatic repair for predefined methods that must return 
   6349 sorted lists. This change will repair (by sorting) packages returned by 
   6350 _ALR, 
   6351 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
   6352 sorted 
   6353 and do not contain NULL package elements. Adds one new file, 
   6354 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
   6355 
   6356 Fixed a possible fault during predefined name validation if a return 
   6357 Package 
   6358 object contains NULL elements. Also adds a warning if a NULL element is 
   6359 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
   6360 may 
   6361 include repair or removal of all such NULL elements where possible.
   6362 
   6363 Implemented additional module-level executable AML code support. This 
   6364 change 
   6365 will execute module-level code that is not at the root of the namespace 
   6366 (under a Device object, etc.) at table load time. Module-level executable 
   6367 AML 
   6368 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
   6369 
   6370 Implemented a new internal function to create Integer objects. This 
   6371 function 
   6372 simplifies miscellaneous object creation code. ACPICA BZ 823.
   6373 
   6374 Reduced the severity of predefined repair messages, Warning to Info. 
   6375 Since 
   6376 the object was successfully repaired, a warning is too severe. Reduced to 
   6377 an 
   6378 info message for now. These messages may eventually be changed to debug-
   6379 only. 
   6380 ACPICA BZ 812.
   6381 
   6382 Example Code and Data Size: These are the sizes for the OS-independent 
   6383 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6384 debug version of the code includes the debug output trace mechanism and 
   6385 has a 
   6386 much larger code and data size.
   6387 
   6388   Previous Release:
   6389     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   6390     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   6391   Current Release:
   6392     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   6393     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   6394 
   6395 2) iASL Compiler/Disassembler and Tools:
   6396 
   6397 iASL: Implemented Switch() with While(1) so that Break works correctly. 
   6398 This 
   6399 change correctly implements the Switch operator with a surrounding 
   6400 While(1) 
   6401 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
   6402 
   6403 iASL: Added a message if a package initializer list is shorter than 
   6404 package 
   6405 length. Adds a new remark for a Package() declaration if an initializer 
   6406 list 
   6407 exists, but is shorter than the declared length of the package. Although 
   6408 technically legal, this is probably a coding error and it is seen in the 
   6409 field. ACPICA BZ 815. Lin Ming, Bob Moore.
   6410 
   6411 iASL: Fixed a problem where the compiler could fault after the maximum 
   6412 number 
   6413 of errors was reached (200).
   6414 
   6415 acpixtract: Fixed a possible warning for pointer cast if the compiler 
   6416 warning 
   6417 level set very high.
   6418 
   6419 ----------------------------------------
   6420 13 October 2009. Summary of changes for version 20091013:
   6421 
   6422 1) ACPI CA Core Subsystem:
   6423 
   6424 Fixed a problem where an Operation Region _REG method could be executed 
   6425 more 
   6426 than once. If a custom address space handler is installed by the host 
   6427 before 
   6428 the "initialize operation regions" phase of the ACPICA initialization, 
   6429 any 
   6430 _REG methods for that address space could be executed twice. This change 
   6431 fixes the problem. ACPICA BZ 427. Lin Ming.
   6432 
   6433 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
   6434 invocation of "Scope(\)" is executed (change scope to root), one internal 
   6435 operand object was leaked. Lin Ming.
   6436 
   6437 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
   6438 return value is defined as a Field object in the AML, and the field
   6439 size is less than or equal to the default width of an integer (32 or 
   6440 64),_MAT 
   6441 can incorrectly return an Integer instead of a Buffer. ACPICA now 
   6442 automatically repairs this problem. ACPICA BZ 810.
   6443 
   6444 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
   6445 The 
   6446 "OEM Information" field is often incorrectly returned as an Integer with 
   6447 value zero if the field is not supported by the platform. This is due to 
   6448 an 
   6449 ambiguity in the ACPI specification. The field should always be a string. 
   6450 ACPICA now automatically repairs this problem by returning a NULL string 
   6451 within the returned Package. ACPICA BZ 807.
   6452 
   6453 Example Code and Data Size: These are the sizes for the OS-independent 
   6454 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6455 debug version of the code includes the debug output trace mechanism and 
   6456 has a 
   6457 much larger code and data size.
   6458 
   6459   Previous Release:
   6460     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   6461     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   6462   Current Release:
   6463     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   6464     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   6465 
   6466 2) iASL Compiler/Disassembler and Tools:
   6467 
   6468 Disassembler: Fixed a problem where references to external symbols that 
   6469 contained one or more parent-prefixes (carats) were not handled 
   6470 correctly, 
   6471 possibly causing a fault. ACPICA BZ 806. Lin Ming.
   6472 
   6473 Disassembler: Restructured the code so that all functions that handle 
   6474 external symbols are in a single module. One new file is added, 
   6475 common/dmextern.c.
   6476 
   6477 AML Debugger: Added a max count argument for the Batch command (which 
   6478 executes multiple predefined methods within the namespace.)
   6479 
   6480 iASL: Updated the compiler documentation (User Reference.) Available at 
   6481 http://www.acpica.org/documentation/. ACPICA BZ 750.
   6482 
   6483 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
   6484 files.
   6485 
   6486 ----------------------------------------
   6487 03 September 2009. Summary of changes for version 20090903:
   6488 
   6489 1) ACPI CA Core Subsystem:
   6490 
   6491 For Windows Vista compatibility, added the automatic execution of an _INI 
   6492 method located at the namespace root (\_INI). This method is executed at 
   6493 table load time. This support is in addition to the automatic execution 
   6494 of 
   6495 \_SB._INI. Lin Ming.
   6496 
   6497 Fixed a possible memory leak in the interpreter for AML package objects 
   6498 if 
   6499 the package initializer list is longer than the defined size of the 
   6500 package. 
   6501 This apparently can only happen if the BIOS changes the package size on 
   6502 the 
   6503 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
   6504 interpreter will truncate the package to the defined size (and issue an 
   6505 error 
   6506 message), but previously could leave the extra objects undeleted if they 
   6507 were 
   6508 pre-created during the argument processing (such is the case if the 
   6509 package 
   6510 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
   6511 
   6512 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
   6513 This has been reported in the field. Previously, ACPICA would zero out 
   6514 the 
   6515 buffer/string. Now, the operation is treated as a noop. Provides Windows 
   6516 compatibility. ACPICA BZ 803. Lin Ming.
   6517 
   6518 Removed an extraneous error message for ASL constructs of the form 
   6519 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
   6520 statements 
   6521 are seen in many BIOSs and are once again treated as NOOPs and no error 
   6522 is 
   6523 emitted when they are encountered. ACPICA BZ 785.
   6524 
   6525 Fixed an extraneous warning message if a _DSM reserved method returns a 
   6526 Package object. _DSM can return any type of object, so validation on the 
   6527 return type cannot be performed. ACPICA BZ 802.
   6528 
   6529 Example Code and Data Size: These are the sizes for the OS-independent 
   6530 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6531 debug version of the code includes the debug output trace mechanism and 
   6532 has a 
   6533 much larger code and data size.
   6534 
   6535   Previous Release:
   6536     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   6537     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   6538   Current Release:
   6539     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   6540     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   6541 
   6542 2) iASL Compiler/Disassembler and Tools:
   6543 
   6544 iASL: Fixed a problem with the use of the Alias operator and Resource 
   6545 Templates. The correct alias is now constructed and no error is emitted. 
   6546 ACPICA BZ 738.
   6547 
   6548 iASL: Implemented the -I option to specify additional search directories 
   6549 for 
   6550 include files. Allows multiple additional search paths for include files. 
   6551 Directories are searched in the order specified on the command line 
   6552 (after 
   6553 the local directory is searched.) ACPICA BZ 800.
   6554 
   6555 iASL: Fixed a problem where the full pathname for include files was not 
   6556 emitted for warnings/errors. This caused the IDE support to not work 
   6557 properly. ACPICA BZ 765.
   6558 
   6559 iASL: Implemented the -@ option to specify a Windows-style response file 
   6560 containing additional command line options. ACPICA BZ 801.
   6561 
   6562 AcpiExec: Added support to load multiple AML files simultaneously (such 
   6563 as 
   6564 a 
   6565 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
   6566 pathname. These features allow all machine tables to be easily loaded and 
   6567 debugged together. ACPICA BZ 804.
   6568 
   6569 Disassembler: Added missing support for disassembly of HEST table Error 
   6570 Bank 
   6571 subtables. 
   6572 
   6573 ----------------------------------------
   6574 30 July 2009. Summary of changes for version 20090730:
   6575 
   6576 The ACPI 4.0 implementation for ACPICA is complete with this release.
   6577 
   6578 1) ACPI CA Core Subsystem:
   6579 
   6580 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
   6581 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
   6582 new 
   6583 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
   6584 BERT, 
   6585 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
   6586 There 
   6587 have been some ACPI 4.0 changes to other existing tables. Split the large 
   6588 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
   6589 
   6590 ACPI 4.0: Implemented predefined name validation for all new names. There 
   6591 are 
   6592 31 new names in ACPI 4.0. The predefined validation module was split into 
   6593 two 
   6594 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
   6595 
   6596 Implemented support for so-called "module-level executable code". This is 
   6597 executable AML code that exists outside of any control method and is 
   6598 intended 
   6599 to be executed at table load time. Although illegal since ACPI 2.0, this 
   6600 type 
   6601 of code still exists and is apparently still being created. Blocks of 
   6602 this 
   6603 code are now detected and executed as intended. Currently, the code 
   6604 blocks 
   6605 must exist under either an If, Else, or While construct; these are the 
   6606 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
   6607 
   6608 Implemented an automatic dynamic repair for predefined names that return 
   6609 nested Package objects. This applies to predefined names that are defined 
   6610 to 
   6611 return a variable-length Package of sub-packages. If the number of sub-
   6612 packages is one, BIOS code is occasionally seen that creates a simple 
   6613 single 
   6614 package with no sub-packages. This code attempts to fix the problem by 
   6615 wrapping a new package object around the existing package. These methods 
   6616 can 
   6617 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
   6618 BZ 
   6619 790.
   6620 
   6621 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
   6622 interface. 
   6623 The _HID/_CID matching was broken and no longer matched IDs correctly. 
   6624 ACPICA 
   6625 BZ 793.
   6626 
   6627 Fixed a problem with AcpiReset where the reset would silently fail if the 
   6628 register was one of the protected I/O ports. AcpiReset now bypasses the 
   6629 port 
   6630 validation mechanism. This may eventually be driven into the 
   6631 AcpiRead/Write 
   6632 interfaces.
   6633 
   6634 Fixed a regression related to the recent update of the AcpiRead/Write 
   6635 interfaces. A sleep/suspend could fail if the optional PM2 Control 
   6636 register 
   6637 does not exist during an attempt to write the Bus Master Arbitration bit. 
   6638 (However, some hosts already delete the code that writes this bit, and 
   6639 the 
   6640 code may in fact be obsolete at this date.) ACPICA BZ 799.
   6641 
   6642 Fixed a problem where AcpiTerminate could fault if inadvertently called 
   6643 twice 
   6644 in succession. ACPICA BZ 795.
   6645 
   6646 Example Code and Data Size: These are the sizes for the OS-independent 
   6647 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6648 debug version of the code includes the debug output trace mechanism and 
   6649 has a 
   6650 much larger code and data size.
   6651 
   6652   Previous Release:
   6653     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   6654     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   6655   Current Release:
   6656     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   6657     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   6658 
   6659 2) iASL Compiler/Disassembler and Tools:
   6660 
   6661 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
   6662 changes to existing tables. ACPICA BZ 775.
   6663 
   6664 ----------------------------------------
   6665 25 June 2009. Summary of changes for version 20090625:
   6666 
   6667 The ACPI 4.0 Specification was released on June 16 and is available at 
   6668 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
   6669 continue for the next few releases.
   6670 
   6671 1) ACPI CA Core Subsystem:
   6672 
   6673 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
   6674 address space. Includes support for bi-directional data buffers and an 
   6675 IPMI 
   6676 address space handler (to be installed by an IPMI device driver.) ACPICA 
   6677 BZ 
   6678 773. Lin Ming.
   6679 
   6680 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
   6681 Includes 
   6682 support in both the header files and the disassembler.
   6683 
   6684 Completed a major update for the AcpiGetObjectInfo external interface. 
   6685 Changes include:
   6686  - Support for variable, unlimited length HID, UID, and CID strings.
   6687  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
   6688 etc.)
   6689  - Call the _SxW power methods on behalf of a device object.
   6690  - Determine if a device is a PCI root bridge.
   6691  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
   6692 These changes will require an update to all callers of this interface. 
   6693 See 
   6694 the updated ACPICA Programmer Reference for details. One new source file 
   6695 has 
   6696 been added - utilities/utids.c. ACPICA BZ 368, 780.
   6697 
   6698 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
   6699 transfers. The Value parameter has been extended from 32 bits to 64 bits 
   6700 in 
   6701 order to support new ACPI 4.0 tables. These changes will require an 
   6702 update 
   6703 to 
   6704 all callers of these interfaces. See the ACPICA Programmer Reference for 
   6705 details. ACPICA BZ 768.
   6706 
   6707 Fixed several problems with AcpiAttachData. The handler was not invoked 
   6708 when 
   6709 the host node was deleted. The data sub-object was not automatically 
   6710 deleted 
   6711 when the host node was deleted. The interface to the handler had an 
   6712 unused 
   6713 parameter, this was removed. ACPICA BZ 778.
   6714 
   6715 Enhanced the function that dumps ACPI table headers. All non-printable 
   6716 characters in the string fields are now replaced with '?' (Signature, 
   6717 OemId, 
   6718 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
   6719 these fields are occasionally seen in the field. ACPICA BZ 788.
   6720 
   6721 Fixed a problem with predefined method repair code where the code that 
   6722 attempts to repair/convert an object of incorrect type is only executed 
   6723 on 
   6724 the first time the predefined method is called. The mechanism that 
   6725 disables 
   6726 warnings on subsequent calls was interfering with the repair mechanism. 
   6727 ACPICA BZ 781.
   6728 
   6729 Fixed a possible memory leak in the predefined validation/repair code 
   6730 when 
   6731 a 
   6732 buffer is automatically converted to an expected string object.
   6733 
   6734 Removed obsolete 16-bit files from the distribution and from the current 
   6735 git 
   6736 tree head. ACPICA BZ 776.
   6737 
   6738 Example Code and Data Size: These are the sizes for the OS-independent 
   6739 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6740 debug version of the code includes the debug output trace mechanism and 
   6741 has a 
   6742 much larger code and data size.
   6743 
   6744   Previous Release:
   6745     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   6746     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   6747   Current Release:
   6748     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   6749     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   6750 
   6751 2) iASL Compiler/Disassembler and Tools:
   6752 
   6753 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
   6754 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
   6755 
   6756 ACPI 4.0: iASL - implemented compile-time validation support for all new 
   6757 predefined names and control methods (31 total). ACPICA BZ 769.
   6758 
   6759 ----------------------------------------
   6760 21 May 2009. Summary of changes for version 20090521:
   6761 
   6762 1) ACPI CA Core Subsystem:
   6763 
   6764 Disabled the preservation of the SCI enable bit in the PM1 control 
   6765 register. 
   6766 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
   6767 to 
   6768 be 
   6769 a "preserved" bit - "OSPM always preserves this bit position", section 
   6770 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
   6771 because the bit needs to be explicitly set by the OS as a workaround. No 
   6772 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
   6773 attempts to preserve this bit.
   6774 
   6775 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
   6776 incorrectly formed _PRT package could cause a fault. Added validation to 
   6777 ensure that each package element is actually a sub-package.
   6778 
   6779 Implemented a new interface to install or override a single control 
   6780 method, 
   6781 AcpiInstallMethod. This interface is useful when debugging in order to 
   6782 repair 
   6783 an existing method or to install a missing method without having to 
   6784 override 
   6785 the entire ACPI table. See the ACPICA Programmer Reference for use and 
   6786 examples. Lin Ming, Bob Moore.
   6787 
   6788 Fixed several reference count issues with the DdbHandle object that is 
   6789 created from a Load or LoadTable operator. Prevent premature deletion of 
   6790 the 
   6791 object. Also, mark the object as invalid once the table has been 
   6792 unloaded. 
   6793 This is needed because the handle itself may not be deleted after the 
   6794 table 
   6795 unload, depending on whether it has been stored in a named object by the 
   6796 caller. Lin Ming.
   6797 
   6798 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
   6799 mutexes of the same sync level are acquired but then not released in 
   6800 strict 
   6801 opposite order, the internally maintained Current Sync Level becomes 
   6802 confused 
   6803 and can cause subsequent execution errors. ACPICA BZ 471.
   6804 
   6805 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
   6806 specification has been changed to make the SyncLevel for mutex objects 
   6807 more 
   6808 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
   6809 the 
   6810 same as the current sync level. This makes more sense than the previous 
   6811 rule 
   6812 (SyncLevel less than or equal). This change updates the code to match the 
   6813 specification.
   6814 
   6815 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
   6816 The 
   6817 (local) cache must be locked during all cache object deletions. Andrew 
   6818 Baumann.
   6819 
   6820 Updated the Load operator to use operation region interfaces. This 
   6821 replaces 
   6822 direct memory mapping with region access calls. Now, all region accesses 
   6823 go 
   6824 through the installed region handler as they should.
   6825 
   6826 Simplified and optimized the NsGetNextNode function. Reduced parameter 
   6827 count 
   6828 and reduced code for this frequently used function.
   6829 
   6830 Example Code and Data Size: These are the sizes for the OS-independent 
   6831 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6832 debug version of the code includes the debug output trace mechanism and 
   6833 has a 
   6834 much larger code and data size.
   6835 
   6836   Previous Release:
   6837     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   6838     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   6839   Current Release:
   6840     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   6841     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   6842 
   6843 2) iASL Compiler/Disassembler and Tools:
   6844 
   6845 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
   6846 problems 
   6847 with sub-table disassembly and handling invalid sub-tables. Attempt 
   6848 recovery 
   6849 after an invalid sub-table ID.
   6850 
   6851 ----------------------------------------
   6852 22 April 2009. Summary of changes for version 20090422:
   6853 
   6854 1) ACPI CA Core Subsystem:
   6855 
   6856 Fixed a compatibility issue with the recently released I/O port 
   6857 protection 
   6858 mechanism. For windows compatibility, 1) On a port protection violation, 
   6859 simply ignore the request and do not return an exception (allow the 
   6860 control 
   6861 method to continue execution.) 2) If only part of the request overlaps a 
   6862 protected port, read/write the individual ports that are not protected. 
   6863 Linux 
   6864 BZ 13036. Lin Ming
   6865 
   6866 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
   6867 actually 
   6868 breaks into the AML debugger if the debugger is present. This matches the 
   6869 ACPI-defined behavior.
   6870 
   6871 Fixed several possible warnings related to the use of the configurable 
   6872 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
   6873 pointer with no warnings. Also fixes several warnings in printf-like 
   6874 statements for the 64-bit build when the type is configured as a pointer. 
   6875 ACPICA BZ 766, 767.
   6876 
   6877 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
   6878 on 
   6879 warning options.) Examples include printf formats, aliasing, unused 
   6880 globals, 
   6881 missing prototypes, missing switch default statements, use of non-ANSI 
   6882 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
   6883 for 
   6884 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
   6885 
   6886 Example Code and Data Size: These are the sizes for the OS-independent 
   6887 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   6888 debug version of the code includes the debug output trace mechanism and 
   6889 has a 
   6890 much larger code and data size.
   6891 
   6892   Previous Release:
   6893     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   6894     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   6895   Current Release:
   6896     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   6897     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   6898 
   6899 2) iASL Compiler/Disassembler and Tools:
   6900 
   6901 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
   6902 warnings 
   6903 on 
   6904 the 64-bit build.
   6905 
   6906 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
   6907 not 
   6908 correctly digest Windows/DOS formatted files (with CR/LF).
   6909 
   6910 iASL: Added a new option for "quiet mode" (-va) that produces only the 
   6911 compilation summary, not individual errors and warnings. Useful for large 
   6912 batch compilations.
   6913 
   6914 AcpiExec: Implemented a new option (-z) to enable a forced 
   6915 semaphore/mutex 
   6916 timeout that can be used to detect hang conditions during execution of 
   6917 AML 
   6918 code (includes both internal semaphores and AML-defined mutexes and 
   6919 events.)
   6920 
   6921 Added new makefiles for the generation of acpica in a generic unix-like 
   6922 environment. These makefiles are intended to generate the acpica tools 
   6923 and 
   6924 utilities from the original acpica git source tree structure.
   6925 
   6926 Test Suites: Updated and cleaned up the documentation files. Updated the 
   6927 copyrights to 2009, affecting all source files. Use the new version of 
   6928 iASL 
   6929 with quiet mode. Increased the number of available semaphores in the 
   6930 Windows 
   6931 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
   6932 added 
   6933 an alternate implementation of the semaphore timeout to allow aslts to 
   6934 execute fully on Cygwin.
   6935 
   6936 ----------------------------------------
   6937 20 March 2009. Summary of changes for version 20090320:
   6938 
   6939 1) ACPI CA Core Subsystem:
   6940 
   6941 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
   6942 table 
   6943 unloads. Added a reader/writer locking mechanism to allow multiple 
   6944 concurrent 
   6945 namespace walks (readers), but block a dynamic table unload until it can 
   6946 gain 
   6947 exclusive write access to the namespace. This fixes a problem where a 
   6948 table 
   6949 unload could (possibly catastrophically) delete the portion of the 
   6950 namespace 
   6951 that is currently being examined by a walk. Adds a new file, utlock.c, 
   6952 that 
   6953 implements the reader/writer lock mechanism. ACPICA BZ 749.
   6954 
   6955 Fixed a regression introduced in version 20090220 where a change to the 
   6956 FADT 
   6957 handling could cause the ACPICA subsystem to access non-existent I/O 
   6958 ports.
   6959 
   6960 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
   6961 The 
   6962 FADT can contain both 32-bit and 64-bit versions of these addresses. 
   6963 Previously, the 64-bit versions were favored, meaning that if both 32 and 
   6964 64 
   6965 versions were valid, but not equal, the 64-bit version was used. This was 
   6966 found to cause some machines to fail. Now, in this case, the 32-bit 
   6967 version 
   6968 is used instead. This now matches the Windows behavior.
   6969 
   6970 Implemented a new mechanism to protect certain I/O ports. Provides 
   6971 Microsoft 
   6972 compatibility and protects the standard PC I/O ports from access via AML 
   6973 code. Adds a new file, hwvalid.c
   6974 
   6975 Fixed a possible extraneous warning message from the FADT support. The 
   6976 message warns of a 32/64 length mismatch between the legacy and GAS 
   6977 definitions for a register.
   6978 
   6979 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
   6980 is 
   6981 made obsolete by the port protection mechanism above. It was previously 
   6982 used 
   6983 to validate the entire address range of an operation region, which could 
   6984 be 
   6985 incorrect if the range included illegal ports, but fields within the 
   6986 operation region did not actually access those ports. Validation is now 
   6987 performed on a per-field basis instead of the entire region.
   6988 
   6989 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
   6990 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
   6991 this 
   6992 means a read/modify/write when writing to the register. However, for 
   6993 status 
   6994 registers, writing a one means clear the event. Writing a zero means 
   6995 preserve 
   6996 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
   6997 spec, 
   6998 and the ACPICA code now simply always writes a zero to the ignored bit.
   6999 
   7000 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
   7001 As 
   7002 per the ACPI specification, for the control registers, preserve 
   7003 (read/modify/write) all bits that are defined as either reserved or 
   7004 ignored.
   7005 
   7006 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
   7007 When reading the register, zero the write-only bits as per the ACPI spec. 
   7008 ACPICA BZ 443. Lin Ming.
   7009 
   7010 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
   7011 wants to reply true to this request. The Windows strings are the only 
   7012 paths 
   7013 through the AML that are tested and known to work properly.
   7014 
   7015   Previous Release:
   7016     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   7017     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   7018   Current Release:
   7019     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   7020     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   7021 
   7022 2) iASL Compiler/Disassembler and Tools:
   7023 
   7024 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
   7025 and 
   7026 aetables.c
   7027 
   7028 ----------------------------------------
   7029 20 February 2009. Summary of changes for version 20090220:
   7030 
   7031 1) ACPI CA Core Subsystem:
   7032 
   7033 Optimized the ACPI register locking. Removed locking for reads from the 
   7034 ACPI 
   7035 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
   7036 is 
   7037 not required when reading the single-bit registers. The 
   7038 AcpiGetRegisterUnlocked function is no longer needed and has been 
   7039 removed. 
   7040 This will improve performance for reads on these registers. ACPICA BZ 
   7041 760.
   7042 
   7043 Fixed the parameter validation for AcpiRead/Write. Now return 
   7044 AE_BAD_PARAMETER if the input register pointer is null, and 
   7045 AE_BAD_ADDRESS 
   7046 if 
   7047 the register has an address of zero. Previously, these cases simply 
   7048 returned 
   7049 AE_OK. For optional registers such as PM1B status/enable/control, the 
   7050 caller 
   7051 should check for a valid register address before calling. ACPICA BZ 748.
   7052 
   7053 Renamed the external ACPI bit register access functions. Renamed 
   7054 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
   7055 functions. The new names are AcpiReadBitRegister and 
   7056 AcpiWriteBitRegister. 
   7057 Also, restructured the code for these functions by simplifying the code 
   7058 path 
   7059 and condensing duplicate code to reduce code size.
   7060 
   7061 Added new functions to transparently handle the possibly split PM1 A/B 
   7062 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
   7063 functions 
   7064 now handle the split registers for PM1 Status, Enable, and Control. 
   7065 ACPICA 
   7066 BZ 
   7067 746.
   7068 
   7069 Added a function to handle the PM1 control registers, 
   7070 AcpiHwWritePm1Control. 
   7071 This function writes both of the PM1 control registers (A/B). These 
   7072 registers 
   7073 are different than the PM1 A/B status and enable registers in that 
   7074 different 
   7075 values can be written to the A/B registers. Most notably, the SLP_TYP 
   7076 bits 
   7077 can be different, as per the values returned from the _Sx predefined 
   7078 methods.
   7079 
   7080 Removed an extra register write within AcpiHwClearAcpiStatus. This 
   7081 function 
   7082 was writing an optional PM1B status register twice. The existing call to 
   7083 the 
   7084 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
   7085 A/B 
   7086 register. ACPICA BZ 751.
   7087 
   7088 Split out the PM1 Status registers from the FADT. Added new globals for 
   7089 these 
   7090 registers (A/B), similar to the way the PM1 Enable registers are handled. 
   7091 Instead of overloading the FADT Event Register blocks. This makes the 
   7092 code 
   7093 clearer and less prone to error.
   7094 
   7095 Fixed the warning message for when the platform contains too many ACPI 
   7096 tables 
   7097 for the default size of the global root table data structure. The 
   7098 calculation 
   7099 for the truncation value was incorrect.
   7100 
   7101 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
   7102 obsolete macro, since it is now a simple reference to ->common.type. 
   7103 There 
   7104 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
   7105 
   7106 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
   7107 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
   7108 simply SLEEP_TYPE. ACPICA BZ 754.
   7109 
   7110 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
   7111 function is only needed on 64-bit host operating systems and is thus not 
   7112 included for 32-bit hosts.
   7113 
   7114 Debug output: print the input and result for invocations of the _OSI 
   7115 reserved 
   7116 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
   7117 the 
   7118 verbosity of this debug level. Len Brown.
   7119 
   7120 Example Code and Data Size: These are the sizes for the OS-independent 
   7121 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7122 debug version of the code includes the debug output trace mechanism and 
   7123 has a 
   7124 much larger code and data size.
   7125 
   7126   Previous Release:
   7127     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   7128     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   7129   Current Release:
   7130     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   7131     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   7132 
   7133 2) iASL Compiler/Disassembler and Tools:
   7134 
   7135 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
   7136 various legal performance profiles.
   7137 
   7138 ----------------------------------------
   7139 23 January 2009. Summary of changes for version 20090123:
   7140 
   7141 1) ACPI CA Core Subsystem:
   7142 
   7143 Added the 2009 copyright to all module headers and signons. This affects 
   7144 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   7145 the tools/utilities.
   7146 
   7147 Implemented a change to allow the host to override any ACPI table, 
   7148 including 
   7149 dynamically loaded tables. Previously, only the DSDT could be replaced by 
   7150 the 
   7151 host. With this change, the AcpiOsTableOverride interface is called for 
   7152 each 
   7153 table found in the RSDT/XSDT during ACPICA initialization, and also 
   7154 whenever 
   7155 a table is dynamically loaded via the AML Load operator.
   7156 
   7157 Updated FADT flag definitions, especially the Boot Architecture flags.
   7158 
   7159 Debugger: For the Find command, automatically pad the input ACPI name 
   7160 with 
   7161 underscores if the name is shorter than 4 characters. This enables a 
   7162 match 
   7163 with the actual namespace entry which is itself padded with underscores.
   7164 
   7165 Example Code and Data Size: These are the sizes for the OS-independent 
   7166 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7167 debug version of the code includes the debug output trace mechanism and 
   7168 has a 
   7169 much larger code and data size.
   7170 
   7171   Previous Release:
   7172     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   7173     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   7174   Current Release:
   7175     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   7176     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   7177 
   7178 2) iASL Compiler/Disassembler and Tools:
   7179 
   7180 Fix build error under Bison-2.4.
   7181 
   7182 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
   7183 Architecture 
   7184 flags. Now decode all flags, regardless of the FADT version. Flag output 
   7185 includes the FADT version which first defined each flag.
   7186 
   7187 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
   7188 and 
   7189 DSDT). Windows only.
   7190 
   7191 ----------------------------------------
   7192 04 December 2008. Summary of changes for version 20081204:
   7193 
   7194 1) ACPI CA Core Subsystem:
   7195 
   7196 The ACPICA Programmer Reference has been completely updated and revamped 
   7197 for 
   7198 this release. This includes updates to the external interfaces, OSL 
   7199 interfaces, the overview sections, and the debugger reference.
   7200 
   7201 Several new ACPICA interfaces have been implemented and documented in the 
   7202 programmer reference:
   7203 AcpiReset - Writes the reset value to the FADT-defined reset register.
   7204 AcpiDisableAllGpes - Disable all available GPEs.
   7205 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
   7206 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
   7207 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
   7208 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
   7209 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
   7210 
   7211 Most of the public ACPI hardware-related interfaces have been moved to a 
   7212 new 
   7213 file, components/hardware/hwxface.c
   7214 
   7215 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
   7216 register lengths within the FADT are now used, and the low level ACPI 
   7217 register access no longer hardcodes the ACPI register lengths. Given that 
   7218 there may be some risk in actually trusting the FADT register lengths, a 
   7219 run-
   7220 time option was added to fall back to the default hardcoded lengths if 
   7221 the 
   7222 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
   7223 option is set to true for now, and a warning is issued if a suspicious 
   7224 FADT 
   7225 register length is overridden with the default value.
   7226 
   7227 Fixed a reference count issue in NsRepairObject. This problem was 
   7228 introduced 
   7229 in version 20081031 as part of a fix to repair Buffer objects within 
   7230 Packages. Lin Ming.
   7231 
   7232 Added semaphore support to the Linux/Unix application OS-services layer 
   7233 (OSL). ACPICA BZ 448. Lin Ming.
   7234 
   7235 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
   7236 will 
   7237 be implemented in the OSL, or will binary semaphores be used instead.
   7238 
   7239 Example Code and Data Size: These are the sizes for the OS-independent 
   7240 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7241 debug version of the code includes the debug output trace mechanism and 
   7242 has a 
   7243 much larger code and data size.
   7244 
   7245   Previous Release:
   7246     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   7247     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   7248   Current Release:
   7249     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   7250     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   7251 
   7252 2) iASL Compiler/Disassembler and Tools:
   7253 
   7254 iASL: Completed the '-e' option to include additional ACPI tables in 
   7255 order 
   7256 to 
   7257 aid with disassembly and External statement generation. ACPICA BZ 742. 
   7258 Lin 
   7259 Ming.
   7260 
   7261 iASL: Removed the "named object in while loop" error. The compiler cannot 
   7262 determine how many times a loop will execute. ACPICA BZ 730.
   7263 
   7264 Disassembler: Implemented support for FADT revision 2 (MS extension). 
   7265 ACPICA 
   7266 BZ 743.
   7267 
   7268 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
   7269 MCFG).
   7270 
   7271 ----------------------------------------
   7272 31 October 2008. Summary of changes for version 20081031:
   7273 
   7274 1) ACPI CA Core Subsystem:
   7275 
   7276 Restructured the ACPICA header files into public/private. acpi.h now 
   7277 includes 
   7278 only the "public" acpica headers. All other acpica headers are "private" 
   7279 and 
   7280 should not be included by acpica users. One new file, accommon.h is used 
   7281 to 
   7282 include the commonly used private headers for acpica code generation. 
   7283 Future 
   7284 plans include moving all private headers to a new subdirectory.
   7285 
   7286 Implemented an automatic Buffer->String return value conversion for 
   7287 predefined ACPI methods. For these methods (such as _BIF), added 
   7288 automatic 
   7289 conversion for return objects that are required to be a String, but a 
   7290 Buffer 
   7291 was found instead. This can happen when reading string battery data from 
   7292 an 
   7293 operation region, because it used to be difficult to convert the data 
   7294 from 
   7295 buffer to string from within the ASL. Ensures that the host OS is 
   7296 provided 
   7297 with a valid null-terminated string. Linux BZ 11822.
   7298 
   7299 Updated the FACS waking vector interfaces. Split 
   7300 AcpiSetFirmwareWakingVector 
   7301 into two: one for the 32-bit vector, another for the 64-bit vector. This 
   7302 is 
   7303 required because the host OS must setup the wake much differently for 
   7304 each 
   7305 vector (real vs. protected mode, etc.) and the interface itself should 
   7306 not 
   7307 be 
   7308 deciding which vector to use. Also, eliminated the 
   7309 GetFirmwareWakingVector 
   7310 interface, as it served no purpose (only the firmware reads the vector, 
   7311 OS 
   7312 only writes the vector.) ACPICA BZ 731.
   7313 
   7314 Implemented a mechanism to escape infinite AML While() loops. Added a 
   7315 loop 
   7316 counter to force exit from AML While loops if the count becomes too 
   7317 large. 
   7318 This can occur in poorly written AML when the hardware does not respond 
   7319 within a while loop and the loop does not implement a timeout. The 
   7320 maximum 
   7321 loop count is configurable. A new exception code is returned when a loop 
   7322 is 
   7323 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
   7324 
   7325 Optimized the execution of AML While loops. Previously, a control state 
   7326 object was allocated and freed for each execution of the loop. The 
   7327 optimization is to simply reuse the control state for each iteration. 
   7328 This 
   7329 speeds up the raw loop execution time by about 5%.
   7330 
   7331 Enhanced the implicit return mechanism. For Windows compatibility, return 
   7332 an 
   7333 implicit integer of value zero for methods that contain no executable 
   7334 code. 
   7335 Such methods are seen in the field as stubs (presumably), and can cause 
   7336 drivers to fail if they expect a return value. Lin Ming.
   7337 
   7338 Allow multiple backslashes as root prefixes in namepaths. In a fully 
   7339 qualified namepath, allow multiple backslash prefixes. This can happen 
   7340 (and 
   7341 is seen in the field) because of the use of a double-backslash in strings 
   7342 (since backslash is the escape character) causing confusion. ACPICA BZ 
   7343 739 
   7344 Lin Ming.
   7345 
   7346 Emit a warning if two different FACS or DSDT tables are discovered in the 
   7347 FADT. Checks if there are two valid but different addresses for the FACS 
   7348 and 
   7349 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
   7350 
   7351 Consolidated the method argument count validation code. Merged the code 
   7352 that 
   7353 validates control method argument counts into the predefined validation 
   7354 module. Eliminates possible multiple warnings for incorrect argument 
   7355 counts.
   7356 
   7357 Implemented ACPICA example code. Includes code for ACPICA initialization, 
   7358 handler installation, and calling a control method. Available at 
   7359 source/tools/examples.
   7360 
   7361 Added a global pointer for FACS table to simplify internal FACS access. 
   7362 Use 
   7363 the global pointer instead of using AcpiGetTableByIndex for each FACS 
   7364 access. 
   7365 This simplifies the code for the Global Lock and the Firmware Waking 
   7366 Vector(s).
   7367 
   7368 Example Code and Data Size: These are the sizes for the OS-independent 
   7369 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7370 debug version of the code includes the debug output trace mechanism and 
   7371 has a 
   7372 much larger code and data size.
   7373 
   7374   Previous Release:
   7375     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   7376     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   7377   Current Release:
   7378     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   7379     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   7380 
   7381 2) iASL Compiler/Disassembler and Tools:
   7382 
   7383 iASL: Improved disassembly of external method calls. Added the -e option 
   7384 to 
   7385 allow the inclusion of additional ACPI tables to help with the 
   7386 disassembly 
   7387 of 
   7388 method invocations and the generation of external declarations during the 
   7389 disassembly. Certain external method invocations cannot be disassembled 
   7390 properly without the actual declaration of the method. Use the -e option 
   7391 to 
   7392 include the table where the external method(s) are actually declared. 
   7393 Most 
   7394 useful for disassembling SSDTs that make method calls back to the master 
   7395 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
   7396 -d 
   7397 -e dsdt.aml ssdt1.aml
   7398 
   7399 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
   7400 problem where the use of an alias within a namepath would result in a not 
   7401 found error or cause the compiler to fault. Also now allows forward 
   7402 references from the Alias operator itself. ACPICA BZ 738.
   7403 
   7404 ----------------------------------------
   7405 26 September 2008. Summary of changes for version 20080926:
   7406 
   7407 1) ACPI CA Core Subsystem:
   7408 
   7409 Designed and implemented a mechanism to validate predefined ACPI methods 
   7410 and 
   7411 objects. This code validates the predefined ACPI objects (objects whose 
   7412 names 
   7413 start with underscore) that appear in the namespace, at the time they are 
   7414 evaluated. The argument count and the type of the returned object are 
   7415 validated against the ACPI specification. The purpose of this validation 
   7416 is 
   7417 to detect problems with the BIOS-implemented predefined ACPI objects 
   7418 before 
   7419 the results are returned to the ACPI-related drivers. Future enhancements 
   7420 may 
   7421 include actual repair of incorrect return objects where possible. Two new 
   7422 files are nspredef.c and acpredef.h.
   7423 
   7424 Fixed a fault in the AML parser if a memory allocation fails during the 
   7425 Op 
   7426 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
   7427 
   7428 Fixed an issue with implicit return compatibility. This change improves 
   7429 the 
   7430 implicit return mechanism to be more compatible with the MS interpreter. 
   7431 Lin 
   7432 Ming, ACPICA BZ 349.
   7433 
   7434 Implemented support for zero-length buffer-to-string conversions. Allow 
   7435 zero 
   7436 length strings during interpreter buffer-to-string conversions. For 
   7437 example, 
   7438 during the ToDecimalString and ToHexString operators, as well as implicit 
   7439 conversions. Fiodor Suietov, ACPICA BZ 585.
   7440 
   7441 Fixed two possible memory leaks in the error exit paths of 
   7442 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
   7443 are 
   7444 similar in that they use a stack of state objects in order to eliminate 
   7445 recursion. The stack must be fully unwound and deallocated if an error 
   7446 occurs. Lin Ming. ACPICA BZ 383.
   7447 
   7448 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
   7449 global 
   7450 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
   7451 Moore ACPICA BZ 442.
   7452 
   7453 Removed the obsolete version number in module headers. Removed the 
   7454 "$Revision" number that appeared in each module header. This version 
   7455 number 
   7456 was useful under SourceSafe and CVS, but has no meaning under git. It is 
   7457 not 
   7458 only incorrect, it could also be misleading.
   7459 
   7460 Example Code and Data Size: These are the sizes for the OS-independent 
   7461 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7462 debug version of the code includes the debug output trace mechanism and 
   7463 has a 
   7464 much larger code and data size.
   7465 
   7466   Previous Release:
   7467     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   7468     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   7469   Current Release:
   7470     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   7471     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   7472 
   7473 ----------------------------------------
   7474 29 August 2008. Summary of changes for version 20080829:
   7475 
   7476 1) ACPI CA Core Subsystem:
   7477 
   7478 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
   7479 Reference. Changes include the elimination of cheating on the Object 
   7480 field 
   7481 for the DdbHandle subtype, addition of a reference class field to 
   7482 differentiate the various reference types (instead of an AML opcode), and 
   7483 the 
   7484 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
   7485 
   7486 Reduce an error to a warning for an incorrect method argument count. 
   7487 Previously aborted with an error if too few arguments were passed to a 
   7488 control method via the external ACPICA interface. Now issue a warning 
   7489 instead 
   7490 and continue. Handles the case where the method inadvertently declares 
   7491 too 
   7492 many arguments, but does not actually use the extra ones. Applies mainly 
   7493 to 
   7494 the predefined methods. Lin Ming. Linux BZ 11032.
   7495 
   7496 Disallow the evaluation of named object types with no intrinsic value. 
   7497 Return 
   7498 AE_TYPE for objects that have no value and therefore evaluation is 
   7499 undefined: 
   7500 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
   7501 of 
   7502 these types were allowed, but an exception would be generated at some 
   7503 point 
   7504 during the evaluation. Now, the error is generated up front.
   7505 
   7506 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
   7507 (nsnames.c). Fixes a leak in the error exit path.
   7508 
   7509 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
   7510 debug 
   7511 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
   7512 ACPI_EXCEPTION 
   7513 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
   7514 ACPI_LV_EVENTS.
   7515 
   7516 Removed obsolete and/or unused exception codes from the acexcep.h header. 
   7517 There is the possibility that certain device drivers may be affected if 
   7518 they 
   7519 use any of these exceptions.
   7520 
   7521 The ACPICA documentation has been added to the public git source tree, 
   7522 under 
   7523 acpica/documents. Included are the ACPICA programmer reference, the iASL 
   7524 compiler reference, and the changes.txt release logfile.
   7525 
   7526 Example Code and Data Size: These are the sizes for the OS-independent 
   7527 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7528 debug version of the code includes the debug output trace mechanism and 
   7529 has a 
   7530 much larger code and data size.
   7531 
   7532   Previous Release:
   7533     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   7534     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   7535   Current Release:
   7536     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   7537     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   7538 
   7539 2) iASL Compiler/Disassembler and Tools:
   7540 
   7541 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
   7542 defines _SCP with 3 arguments. Previous versions defined it with only 1 
   7543 argument. iASL now allows both definitions.
   7544 
   7545 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
   7546 zero-
   7547 length subtables when disassembling ACPI tables. Also fixed a couple of 
   7548 errors where a full 16-bit table type field was not extracted from the 
   7549 input 
   7550 properly.
   7551 
   7552 acpisrc: Improve comment counting mechanism for generating source code 
   7553 statistics. Count first and last lines of multi-line comments as 
   7554 whitespace, 
   7555 not comment lines. Handle Linux legal header in addition to standard 
   7556 acpica 
   7557 header.
   7558 
   7559 ----------------------------------------
   7560 
   7561 29 July 2008. Summary of changes for version 20080729:
   7562 
   7563 1) ACPI CA Core Subsystem:
   7564 
   7565 Fix a possible deadlock in the GPE dispatch. Remove call to 
   7566 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
   7567 attempt 
   7568 to acquire the GPE lock but can deadlock since the GPE lock is already 
   7569 held 
   7570 at dispatch time. This code was introduced in version 20060831 as a 
   7571 response 
   7572 to Linux BZ 6881 and has since been removed from Linux.
   7573 
   7574 Add a function to dereference returned reference objects. Examines the 
   7575 return 
   7576 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
   7577 are 
   7578 automatically dereferenced in an attempt to return something useful 
   7579 (these 
   7580 reference types cannot be converted into an external ACPI_OBJECT.) 
   7581 Provides 
   7582 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
   7583 
   7584 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
   7585 subtables for the MADT and one new subtable for the SRAT. Includes 
   7586 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
   7587 x2APIC 
   7588 Specification, June 2008.
   7589 
   7590 Additional error checking for pathname utilities. Add error check after 
   7591 all 
   7592 calls to AcpiNsGetPathnameLength. Add status return from 
   7593 AcpiNsBuildExternalPath and check after all calls. Add parameter 
   7594 validation 
   7595 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
   7596 
   7597 Return status from the global init function AcpiUtGlobalInitialize. This 
   7598 is 
   7599 used by both the kernel subsystem and the utilities such as iASL 
   7600 compiler. 
   7601 The function could possibly fail when the caches are initialized. Yang 
   7602 Yi.
   7603 
   7604 Add a function to decode reference object types to strings. Created for 
   7605 improved error messages. 
   7606 
   7607 Improve object conversion error messages. Better error messages during 
   7608 object 
   7609 conversion from internal to the external ACPI_OBJECT. Used for external 
   7610 calls 
   7611 to AcpiEvaluateObject.
   7612 
   7613 Example Code and Data Size: These are the sizes for the OS-independent 
   7614 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7615 debug version of the code includes the debug output trace mechanism and 
   7616 has a 
   7617 much larger code and data size.
   7618 
   7619   Previous Release:
   7620     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   7621     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   7622   Current Release:
   7623     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   7624     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   7625 
   7626 2) iASL Compiler/Disassembler and Tools:
   7627 
   7628 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
   7629 problem 
   7630 introduced in version 20080701. If the object being evaluated (via 
   7631 execute 
   7632 command) is not a method, the debugger can hang while trying to obtain 
   7633 non-
   7634 existent parameters.
   7635 
   7636 iASL: relax error for using reserved "_T_x" identifiers. These names can 
   7637 appear in a disassembled ASL file if they were emitted by the original 
   7638 compiler. Instead of issuing an error or warning and forcing the user to 
   7639 manually change these names, issue a remark instead.
   7640 
   7641 iASL: error if named object created in while loop. Emit an error if any 
   7642 named 
   7643 object is created within a While loop. If allowed, this code will 
   7644 generate 
   7645 a 
   7646 run-time error on the second iteration of the loop when an attempt is 
   7647 made 
   7648 to 
   7649 create the same named object twice. ACPICA bugzilla 730.
   7650 
   7651 iASL: Support absolute pathnames for include files. Add support for 
   7652 absolute 
   7653 pathnames within the Include operator. previously, only relative 
   7654 pathnames 
   7655 were supported.
   7656 
   7657 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
   7658 Descriptor. 
   7659 The ACPI spec requires one interrupt minimum. BZ 423
   7660 
   7661 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
   7662 Handles the case for the Interrupt Resource Descriptor where
   7663 the ResourceSource argument is omitted but ResourceSourceIndex
   7664 is present. Now leave room for the Index. BZ 426
   7665 
   7666 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
   7667 cases 
   7668 where an error message is emitted if the target does not exist. BZ 516
   7669 
   7670 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
   7671 (get ACPI tables on Windows). This was apparently broken in version 
   7672 20070919.
   7673 
   7674 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
   7675 where 
   7676 the EOF happens immediately after the last table in the input file. Print 
   7677 completion message. Previously, no message was displayed in this case.
   7678 
   7679 ----------------------------------------
   7680 01 July 2008. Summary of changes for version 20080701:
   7681 
   7682 0) Git source tree / acpica.org
   7683 
   7684 Fixed a problem where a git-clone from http would not transfer the entire 
   7685 source tree.
   7686 
   7687 1) ACPI CA Core Subsystem:
   7688 
   7689 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
   7690 enable bit. Now performs a read-change-write of the enable register 
   7691 instead 
   7692 of simply writing out the cached enable mask. This will prevent 
   7693 inadvertent 
   7694 enabling of GPEs if a rogue GPE is received during initialization (before 
   7695 GPE 
   7696 handlers are installed.)
   7697 
   7698 Implemented a copy for dynamically loaded tables. Previously, dynamically 
   7699 loaded tables were simply mapped - but on some machines this memory is 
   7700 corrupted after suspend. Now copy the table to a local buffer. For the 
   7701 OpRegion case, added checksum verify. Use the table length from the table 
   7702 header, not the region length. For the Buffer case, use the table length 
   7703 also. Dennis Noordsij, Bob Moore. BZ 10734
   7704 
   7705 Fixed a problem where the same ACPI table could not be dynamically loaded 
   7706 and 
   7707 unloaded more than once. Without this change, a table cannot be loaded 
   7708 again 
   7709 once it has been loaded/unloaded one time. The current mechanism does not 
   7710 unregister a table upon an unload. During a load, if the same table is 
   7711 found, 
   7712 this no longer returns an exception. BZ 722
   7713 
   7714 Fixed a problem where the wrong descriptor length was calculated for the 
   7715 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
   7716 EndTag 
   7717 are calculated as 12 bytes long, but the actual length in the internal 
   7718 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
   7719 Reported 
   7720 by Linn Crosetto. BZ 728
   7721 
   7722 Fixed a possible memory leak in the Unload operator. The DdbHandle 
   7723 returned 
   7724 by Load() did not have its reference count decremented during unload, 
   7725 leading 
   7726 to a memory leak. Lin Ming. BZ 727
   7727 
   7728 Fixed a possible memory leak when deleting thermal/processor objects. Any 
   7729 associated notify handlers (and objects) were not being deleted. Fiodor 
   7730 Suietov. BZ 506
   7731 
   7732 Fixed the ordering of the ASCII names in the global mutex table to match 
   7733 the 
   7734 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
   7735 only. 
   7736 Vegard Nossum. BZ 726
   7737 
   7738 Enhanced the AcpiGetObjectInfo interface to return the number of required 
   7739 arguments if the object is a control method. Added this call to the 
   7740 debugger 
   7741 so the proper number of default arguments are passed to a method. This 
   7742 prevents a warning when executing methods from AcpiExec.
   7743 
   7744 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
   7745 AE_BAD_PARAMETER if input handle is invalid. BZ 474
   7746 
   7747 Fixed an extraneous warning from exconfig.c on the 64-bit build.
   7748 
   7749 Example Code and Data Size: These are the sizes for the OS-independent 
   7750 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7751 debug version of the code includes the debug output trace mechanism and 
   7752 has a 
   7753 much larger code and data size.
   7754 
   7755   Previous Release:
   7756     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   7757     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   7758   Current Release:
   7759     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   7760     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   7761 
   7762 2) iASL Compiler/Disassembler and Tools:
   7763 
   7764 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
   7765 resource descriptor names.
   7766 
   7767 iASL: Detect invalid ASCII characters in input (windows version). Removed 
   7768 the 
   7769 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
   7770 characters in the input. BZ 441
   7771 
   7772 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
   7773 the 
   7774 "result of operation not used" warning when the DDB handle returned from 
   7775 LoadTable is not used. The warning is not needed. BZ 590
   7776 
   7777 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
   7778 method 
   7779 to 
   7780 pass address of table to the AML. Added option to disable OpRegion 
   7781 simulation 
   7782 to allow creation of an OpRegion with a real address that was passed to 
   7783 _CFG. 
   7784 All of this allows testing of the Load and Unload operators from 
   7785 AcpiExec.
   7786 
   7787 Debugger: update tables command for unloaded tables. Handle unloaded 
   7788 tables 
   7789 and use the standard table header output routine.
   7790 
   7791 ----------------------------------------
   7792 09 June 2008. Summary of changes for version 20080609:
   7793 
   7794 1) ACPI CA Core Subsystem:
   7795 
   7796 Implemented a workaround for reversed _PRT entries. A significant number 
   7797 of 
   7798 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
   7799 change dynamically detects and repairs this problem. Provides 
   7800 compatibility 
   7801 with MS ACPI. BZ 6859
   7802 
   7803 Simplified the internal ACPI hardware interfaces to eliminate the locking 
   7804 flag parameter from Register Read/Write. Added a new external interface, 
   7805 AcpiGetRegisterUnlocked.
   7806 
   7807 Fixed a problem where the invocation of a GPE control method could hang. 
   7808 This 
   7809 was a regression introduced in 20080514. The new method argument count 
   7810 validation mechanism can enter an infinite loop when a GPE method is 
   7811 dispatched. Problem fixed by removing the obsolete code that passed GPE 
   7812 block 
   7813 information to the notify handler via the control method parameter 
   7814 pointer.
   7815 
   7816 Fixed a problem where the _SST execution status was incorrectly returned 
   7817 to 
   7818 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
   7819 in 
   7820 20080514. _SST is optional and a NOT_FOUND exception should never be 
   7821 returned. BZ 716
   7822 
   7823 Fixed a problem where a deleted object could be accessed from within the 
   7824 AML 
   7825 parser. This was a regression introduced in version 20080123 as a fix for 
   7826 the 
   7827 Unload operator. Lin Ming. BZ 10669
   7828 
   7829 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
   7830 operands 
   7831 and eliminated the use of a negative index in a loop. Operands are now 
   7832 displayed in the correct order, not backwards. This also fixes a 
   7833 regression 
   7834 introduced in 20080514 on 64-bit systems where the elimination of 
   7835 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
   7836 715
   7837 
   7838 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
   7839 exit 
   7840 path did not delete a locally allocated structure.
   7841 
   7842 Updated definitions for the DMAR and SRAT tables to synchronize with the 
   7843 current specifications. Includes disassembler support.
   7844 
   7845 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
   7846 loop termination value was used. Loop terminated on iteration early, 
   7847 missing 
   7848 one mutex. Linn Crosetto
   7849 
   7850 Example Code and Data Size: These are the sizes for the OS-independent 
   7851 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7852 debug version of the code includes the debug output trace mechanism and 
   7853 has a 
   7854 much larger code and data size.
   7855 
   7856   Previous Release:
   7857     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   7858     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   7859   Current Release:
   7860     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   7861     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   7862 
   7863 2) iASL Compiler/Disassembler and Tools:
   7864 
   7865 Disassembler: Implemented support for EisaId() within _CID objects. Now 
   7866 disassemble integer _CID objects back to EisaId invocations, including 
   7867 multiple integers within _CID packages. Includes single-step support for 
   7868 debugger also.
   7869 
   7870 Disassembler: Added support for DMAR and SRAT table definition changes.
   7871 
   7872 ----------------------------------------
   7873 14 May 2008. Summary of changes for version 20080514:
   7874 
   7875 1) ACPI CA Core Subsystem:
   7876 
   7877 Fixed a problem where GPEs were enabled too early during the ACPICA 
   7878 initialization. This could lead to "handler not installed" errors on some 
   7879 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
   7880 This 
   7881 ensures that all operation regions and devices throughout the namespace 
   7882 have 
   7883 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
   7884 
   7885 Implemented a change to the enter sleep code. Moved execution of the _GTS 
   7886 method to just before setting sleep enable bit. The execution was moved 
   7887 from 
   7888 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
   7889 immediately before the SLP_EN bit is set, as per the ACPI specification. 
   7890 Luming Yu, BZ 1653.
   7891 
   7892 Implemented a fix to disable unknown GPEs (2nd version). Now always 
   7893 disable 
   7894 the GPE, even if ACPICA thinks that that it is already disabled. It is 
   7895 possible that the AML or some other code has enabled the GPE unbeknownst 
   7896 to 
   7897 the ACPICA code.
   7898 
   7899 Fixed a problem with the Field operator where zero-length fields would 
   7900 return 
   7901 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
   7902 ASL 
   7903 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
   7904 
   7905 Implemented a fix for the Load operator, now load the table at the 
   7906 namespace 
   7907 root. This reverts a change introduced in version 20071019. The table is 
   7908 now 
   7909 loaded at the namespace root even though this goes against the ACPI 
   7910 specification. This provides compatibility with other ACPI 
   7911 implementations. 
   7912 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
   7913 Ming.
   7914 
   7915 Fixed a problem where ACPICA would not Load() tables with unusual 
   7916 signatures. 
   7917 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
   7918 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
   7919 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
   7920 such 
   7921 signatures, ACPICA must be compatible. BZ 10454.
   7922 
   7923 Fixed a possible negative array index in AcpiUtValidateException. Added 
   7924 NULL 
   7925 fields to the exception string arrays to eliminate a -1 subtraction on 
   7926 the 
   7927 SubStatus field.
   7928 
   7929 Updated the debug tracking macros to reduce overall code and data size. 
   7930 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
   7931 instead of pointers to static strings. Jan Beulich and Bob Moore.
   7932 
   7933 Implemented argument count checking in control method invocation via 
   7934 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
   7935 too 
   7936 many. This applies only to extern programmatic control method execution, 
   7937 not 
   7938 method-to-method calls within the AML. Lin Ming.
   7939 
   7940 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
   7941 no 
   7942 longer needed, especially with the removal of 16-bit support. It was 
   7943 replaced 
   7944 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
   7945 bit 
   7946 on 
   7947 32/64-bit platforms is required.
   7948 
   7949 Added the C const qualifier for appropriate string constants -- mostly 
   7950 MODULE_NAME and printf format strings. Jan Beulich.
   7951 
   7952 Example Code and Data Size: These are the sizes for the OS-independent 
   7953 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7954 debug version of the code includes the debug output trace mechanism and 
   7955 has a 
   7956 much larger code and data size.
   7957 
   7958   Previous Release:
   7959     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   7960     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   7961   Current Release:
   7962     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   7963     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   7964 
   7965 2) iASL Compiler/Disassembler and Tools:
   7966 
   7967 Implemented ACPI table revision ID validation in the disassembler. Zero 
   7968 is 
   7969 always invalid. For DSDTs, the ID controls the interpreter integer width. 
   7970 1 
   7971 means 32-bit and this is unusual. 2 or greater is 64-bit.
   7972 
   7973 ----------------------------------------
   7974 21 March 2008. Summary of changes for version 20080321:
   7975 
   7976 1) ACPI CA Core Subsystem:
   7977 
   7978 Implemented an additional change to the GPE support in order to suppress 
   7979 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
   7980 permanently 
   7981 disable incoming GPEs that are neither enabled nor disabled -- meaning 
   7982 that 
   7983 the GPE is unknown to the system. This should prevent future interrupt 
   7984 floods 
   7985 from that GPE. BZ 6217 (Zhang Rui)
   7986 
   7987 Fixed a problem where NULL package elements were not returned to the 
   7988 AcpiEvaluateObject interface correctly. The element was simply ignored 
   7989 instead of returning a NULL ACPI_OBJECT package element, potentially 
   7990 causing 
   7991 a buffer overflow and/or confusing the caller who expected a fixed number 
   7992 of 
   7993 elements. BZ 10132 (Lin Ming, Bob Moore)
   7994 
   7995 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
   7996 Dword, 
   7997 Qword), Field, BankField, and IndexField operators when invoked from 
   7998 inside 
   7999 an executing control method. In this case, these operators created 
   8000 namespace 
   8001 nodes that were incorrectly left marked as permanent nodes instead of 
   8002 temporary nodes. This could cause a problem if there is race condition 
   8003 between an exiting control method and a running namespace walk. (Reported 
   8004 by 
   8005 Linn Crosetto)
   8006 
   8007 Fixed a problem where the CreateField and CreateXXXField operators would 
   8008 incorrectly allow duplicate names (the name of the field) with no 
   8009 exception 
   8010 generated.
   8011 
   8012 Implemented several changes for Notify handling. Added support for new 
   8013 Notify 
   8014 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
   8015 PowerResource objects is no longer allowed, as per the ACPI 
   8016 specification. 
   8017 (Bob Moore, Zhang Rui)
   8018 
   8019 All Reference Objects returned via the AcpiEvaluateObject interface are 
   8020 now 
   8021 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
   8022 for 
   8023 NULL objects - either NULL package elements or unresolved named 
   8024 references.
   8025 
   8026 Fixed a problem where an extraneous debug message was produced for 
   8027 package 
   8028 objects (when debugging enabled). The message "Package List length larger 
   8029 than NumElements count" is now produced in the correct case, and is now 
   8030 an 
   8031 error message rather than a debug message. Added a debug message for the 
   8032 opposite case, where NumElements is larger than the Package List (the 
   8033 package 
   8034 will be padded out with NULL elements as per the ACPI spec.)
   8035 
   8036 Implemented several improvements for the output of the ASL "Debug" object 
   8037 to 
   8038 clarify and keep all data for a given object on one output line.
   8039 
   8040 Fixed two size calculation issues with the variable-length Start 
   8041 Dependent 
   8042 resource descriptor.
   8043 
   8044 Example Code and Data Size: These are the sizes for the OS-independent 
   8045 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8046 debug version of the code includes the debug output trace mechanism and 
   8047 has 
   8048 a much larger code and data size.
   8049 
   8050   Previous Release:
   8051     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   8052     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   8053   Current Release:
   8054     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   8055     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   8056 
   8057 2) iASL Compiler/Disassembler and Tools:
   8058 
   8059 Fixed a problem with the use of the Switch operator where execution of 
   8060 the 
   8061 containing method by multiple concurrent threads could cause an 
   8062 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
   8063 actual Switch opcode, it must be simulated with local named temporary 
   8064 variables and if/else pairs. The solution chosen was to mark any method 
   8065 that 
   8066 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
   8067 469.
   8068 
   8069 ----------------------------------------
   8070 13 February 2008. Summary of changes for version 20080213:
   8071 
   8072 1) ACPI CA Core Subsystem:
   8073 
   8074 Implemented another MS compatibility design change for GPE/Notify 
   8075 handling. 
   8076 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
   8077 to 
   8078 complete first. It is expected that the OSL will queue the enable request 
   8079 behind all pending notify requests (may require changes to the local host 
   8080 OSL 
   8081 in AcpiOsExecute). Alexey Starikovskiy.
   8082 
   8083 Fixed a problem where buffer and package objects passed as arguments to a 
   8084 control method via the external AcpiEvaluateObject interface could cause 
   8085 an 
   8086 AE_AML_INTERNAL exception depending on the order and type of operators 
   8087 executed by the target control method.
   8088 
   8089 Fixed a problem where resource descriptor size optimization could cause a 
   8090 problem when a _CRS resource template is passed to a _SRS method. The 
   8091 _SRS 
   8092 resource template must use the same descriptors (with the same size) as 
   8093 returned from _CRS. This change affects the following resource 
   8094 descriptors: 
   8095 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
   8096 9487)
   8097 
   8098 Fixed a problem where a CopyObject to RegionField, BankField, and 
   8099 IndexField 
   8100 objects did not perform an implicit conversion as it should. These types 
   8101 must 
   8102 retain their initial type permanently as per the ACPI specification. 
   8103 However, 
   8104 a CopyObject to all other object types should not perform an implicit 
   8105 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
   8106 
   8107 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
   8108 match device CIDs did not examine the entire list of available CIDs, but 
   8109 instead aborted on the first non-matching CID. Andrew Patterson.
   8110 
   8111 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
   8112 was 
   8113 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
   8114 truncating the upper dword of a 64-bit value. This macro is only used to 
   8115 display debug output, so no incorrect calculations were made. Also, 
   8116 reimplemented the macro so that a 64-bit shift is not performed by 
   8117 inefficient compilers.
   8118 
   8119 Added missing va_end statements that should correspond with each va_start 
   8120 statement.
   8121 
   8122 Example Code and Data Size: These are the sizes for the OS-independent 
   8123 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8124 debug version of the code includes the debug output trace mechanism and 
   8125 has 
   8126 a much larger code and data size.
   8127 
   8128   Previous Release:
   8129     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   8130     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   8131   Current Release:
   8132     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   8133     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   8134 
   8135 2) iASL Compiler/Disassembler and Tools:
   8136 
   8137 Implemented full disassembler support for the following new ACPI tables: 
   8138 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
   8139 complicated HEST table. These tables support the Windows Hardware Error 
   8140 Architecture (WHEA).
   8141 
   8142 ----------------------------------------
   8143 23 January 2008. Summary of changes for version 20080123:
   8144 
   8145 1) ACPI CA Core Subsystem:
   8146 
   8147 Added the 2008 copyright to all module headers and signons. This affects 
   8148 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   8149 the tools/utilities.
   8150 
   8151 Fixed a problem with the SizeOf operator when used with Package and 
   8152 Buffer 
   8153 objects. These objects have deferred execution for some arguments, and 
   8154 the 
   8155 execution is now completed before the SizeOf is executed. This problem 
   8156 caused 
   8157 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
   8158 BZ 
   8159 9558
   8160 
   8161 Implemented an enhancement to the interpreter "slack mode". In the 
   8162 absence 
   8163 of 
   8164 an explicit return or an implicitly returned object from the last 
   8165 executed 
   8166 opcode, a control method will now implicitly return an integer of value 0 
   8167 for 
   8168 Microsoft compatibility. (Lin Ming) BZ 392
   8169 
   8170 Fixed a problem with the Load operator where an exception was not 
   8171 returned 
   8172 in 
   8173 the case where the table is already loaded. (Lin Ming) BZ 463
   8174 
   8175 Implemented support for the use of DDBHandles as an Indexed Reference, as 
   8176 per 
   8177 the ACPI spec. (Lin Ming) BZ 486
   8178 
   8179 Implemented support for UserTerm (Method invocation) for the Unload 
   8180 operator 
   8181 as per the ACPI spec. (Lin Ming) BZ 580
   8182 
   8183 Fixed a problem with the LoadTable operator where the OemId and 
   8184 OemTableId 
   8185 input strings could cause unexpected failures if they were shorter than 
   8186 the 
   8187 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
   8188 
   8189 Implemented support for UserTerm (Method invocation) for the Unload 
   8190 operator 
   8191 as per the ACPI spec. (Lin Ming) BZ 580
   8192 
   8193 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
   8194 HEST, 
   8195 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
   8196 
   8197 Example Code and Data Size: These are the sizes for the OS-independent 
   8198 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8199 debug version of the code includes the debug output trace mechanism and 
   8200 has 
   8201 a much larger code and data size.
   8202 
   8203   Previous Release:
   8204     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   8205     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   8206   Current Release:
   8207     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   8208     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   8209 
   8210 2) iASL Compiler/Disassembler and Tools:
   8211 
   8212 Implemented support in the disassembler for checksum validation on 
   8213 incoming 
   8214 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
   8215 table 
   8216 header dump at the start of the disassembly.
   8217 
   8218 Implemented additional debugging information in the namespace listing 
   8219 file 
   8220 created during compilation. In addition to the namespace hierarchy, the 
   8221 full 
   8222 pathname to each namespace object is displayed.
   8223 
   8224 Fixed a problem with the disassembler where invalid ACPI tables could 
   8225 cause 
   8226 faults or infinite loops.
   8227 
   8228 Fixed an unexpected parse error when using the optional "parameter types" 
   8229 list in a control method declaration. (Lin Ming) BZ 397
   8230 
   8231 Fixed a problem where two External declarations with the same name did 
   8232 not 
   8233 cause an error (Lin Ming) BZ 509
   8234 
   8235 Implemented support for full TermArgs (adding Argx, Localx and method 
   8236 invocation) for the ParameterData parameter to the LoadTable operator. 
   8237 (Lin 
   8238 Ming) BZ 583,587
   8239 
   8240 ----------------------------------------
   8241 19 December 2007. Summary of changes for version 20071219:
   8242 
   8243 1) ACPI CA Core Subsystem:
   8244 
   8245 Implemented full support for deferred execution for the TermArg string 
   8246 arguments for DataTableRegion. This enables forward references and full 
   8247 operand resolution for the three string arguments. Similar to 
   8248 OperationRegion 
   8249 deferred argument execution.) Lin Ming. BZ 430
   8250 
   8251 Implemented full argument resolution support for the BankValue argument 
   8252 to 
   8253 BankField. Previously, only constants were supported, now any TermArg may 
   8254 be 
   8255 used. Lin Ming BZ 387, 393
   8256 
   8257 Fixed a problem with AcpiGetDevices where the search of a branch of the 
   8258 device tree could be terminated prematurely. In accordance with the ACPI 
   8259 specification, the search down the current branch is terminated if a 
   8260 device 
   8261 is both not present and not functional (instead of just not present.) 
   8262 Yakui 
   8263 Zhao.
   8264 
   8265 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
   8266 if 
   8267 the underlying AML code changed the GPE enable registers. Now, any 
   8268 unknown 
   8269 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
   8270 disabled 
   8271 instead of simply ignored. Rui Zhang.
   8272 
   8273 Fixed a problem with Index Fields where the Index register was 
   8274 incorrectly 
   8275 limited to a maximum of 32 bits. Now any size may be used.
   8276 
   8277 Fixed a couple memory leaks associated with "implicit return" objects 
   8278 when 
   8279 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
   8280 
   8281 Example Code and Data Size: These are the sizes for the OS-independent 
   8282 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8283 debug version of the code includes the debug output trace mechanism and 
   8284 has 
   8285 a much larger code and data size.
   8286 
   8287   Previous Release:
   8288     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   8289     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   8290   Current Release:
   8291     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   8292     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   8293 
   8294 ----------------------------------------
   8295 14 November 2007. Summary of changes for version 20071114:
   8296 
   8297 1) ACPI CA Core Subsystem:
   8298 
   8299 Implemented event counters for each of the Fixed Events, the ACPI SCI 
   8300 (interrupt) itself, and control methods executed. Named 
   8301 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
   8302 These 
   8303 should be useful for debugging and statistics.
   8304 
   8305 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
   8306 contents of the various event counters. Returns the current values for 
   8307 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
   8308 AcpiMethodCount. The interface can be expanded in the future if new 
   8309 counters 
   8310 are added. Device drivers should use this interface rather than access 
   8311 the 
   8312 counters directly.
   8313 
   8314 Fixed a problem with the FromBCD and ToBCD operators. With some 
   8315 compilers, 
   8316 the ShortDivide function worked incorrectly, causing problems with the 
   8317 BCD 
   8318 functions with large input values. A truncation from 64-bit to 32-bit 
   8319 inadvertently occurred. Internal BZ 435. Lin Ming
   8320 
   8321 Fixed a problem with Index references passed as method arguments. 
   8322 References 
   8323 passed as arguments to control methods were dereferenced immediately 
   8324 (before 
   8325 control was passed to the called method). The references are now 
   8326 correctly 
   8327 passed directly to the called method. BZ 5389. Lin Ming
   8328 
   8329 Fixed a problem with CopyObject used in conjunction with the Index 
   8330 operator. 
   8331 The reference was incorrectly dereferenced before the copy. The reference 
   8332 is 
   8333 now correctly copied. BZ 5391. Lin Ming
   8334 
   8335 Fixed a problem with Control Method references within Package objects. 
   8336 These 
   8337 references are now correctly generated. This completes the package 
   8338 construction overhaul that began in version 20071019.
   8339 
   8340 Example Code and Data Size: These are the sizes for the OS-independent 
   8341 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8342 debug version of the code includes the debug output trace mechanism and 
   8343 has 
   8344 a much larger code and data size.
   8345 
   8346   Previous Release:
   8347     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   8348     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   8349   Current Release:
   8350     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   8351     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   8352 
   8353 
   8354 2) iASL Compiler/Disassembler and Tools:
   8355 
   8356 The AcpiExec utility now installs handlers for all of the predefined 
   8357 Operation Region types. New types supported are: PCI_Config, CMOS, and 
   8358 PCIBARTarget.
   8359 
   8360 Fixed a problem with the 64-bit version of AcpiExec where the extended 
   8361 (64-
   8362 bit) address fields for the DSDT and FACS within the FADT were not being 
   8363 used, causing truncation of the upper 32-bits of these addresses. Lin 
   8364 Ming 
   8365 and Bob Moore
   8366 
   8367 ----------------------------------------
   8368 19 October 2007. Summary of changes for version 20071019:
   8369 
   8370 1) ACPI CA Core Subsystem:
   8371 
   8372 Fixed a problem with the Alias operator when the target of the alias is a 
   8373 named ASL operator that opens a new scope -- Scope, Device, 
   8374 PowerResource, 
   8375 Processor, and ThermalZone. In these cases, any children of the original 
   8376 operator could not be accessed via the alias, potentially causing 
   8377 unexpected 
   8378 AE_NOT_FOUND exceptions. (BZ 9067)
   8379 
   8380 Fixed a problem with the Package operator where all named references were 
   8381 created as object references and left otherwise unresolved. According to 
   8382 the 
   8383 ACPI specification, a Package can only contain Data Objects or references 
   8384 to 
   8385 control methods. The implication is that named references to Data Objects 
   8386 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
   8387 immediately upon package creation. This is the approach taken with this 
   8388 change. References to all other named objects (Methods, Devices, Scopes, 
   8389 etc.) are all now properly created as reference objects. (BZ 5328)
   8390 
   8391 Reverted a change to Notify handling that was introduced in version 
   8392 20070508. This version changed the Notify handling from asynchronous to 
   8393 fully synchronous (Device driver Notify handling with respect to the 
   8394 Notify 
   8395 ASL operator). It was found that this change caused more problems than it 
   8396 solved and was removed by most users.
   8397 
   8398 Fixed a problem with the Increment and Decrement operators where the type 
   8399 of 
   8400 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
   8401 Lin Ming.
   8402 
   8403 Fixed a problem with the Load and LoadTable operators where the table 
   8404 location within the namespace was ignored. Instead, the table was always 
   8405 loaded into the root or current scope. Lin Ming.
   8406 
   8407 Fixed a problem with the Load operator when loading a table from a buffer 
   8408 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
   8409 
   8410 Fixed a problem with the Debug object where a store of a DdbHandle 
   8411 reference 
   8412 object to the Debug object could cause a fault.
   8413 
   8414 Added a table checksum verification for the Load operator, in the case 
   8415 where 
   8416 the load is from a buffer. (BZ 578).
   8417 
   8418 Implemented additional parameter validation for the LoadTable operator. 
   8419 The 
   8420 length of the input strings SignatureString, OemIdString, and OemTableId 
   8421 are 
   8422 now checked for maximum lengths. (BZ 582) Lin Ming.
   8423 
   8424 Example Code and Data Size: These are the sizes for the OS-independent 
   8425 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8426 debug version of the code includes the debug output trace mechanism and 
   8427 has 
   8428 a much larger code and data size.
   8429 
   8430   Previous Release:
   8431     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   8432     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   8433   Current Release:
   8434     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   8435     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   8436 
   8437 
   8438 2) iASL Compiler/Disassembler:
   8439 
   8440 Fixed a problem where if a single file was specified and the file did not 
   8441 exist, no error message was emitted. (Introduced with wildcard support in 
   8442 version 20070917.)
   8443 
   8444 ----------------------------------------
   8445 19 September 2007. Summary of changes for version 20070919:
   8446 
   8447 1) ACPI CA Core Subsystem:
   8448 
   8449 Designed and implemented new external interfaces to install and remove 
   8450 handlers for ACPI table-related events. Current events that are defined 
   8451 are 
   8452 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
   8453 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
   8454 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
   8455 
   8456 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
   8457 (acpi_serialized option on Linux) could cause some systems to hang during 
   8458 initialization. (Bob Moore) BZ 8171
   8459 
   8460 Fixed a problem where objects of certain types (Device, ThermalZone, 
   8461 Processor, PowerResource) can be not found if they are declared and 
   8462 referenced from within the same control method (Lin Ming) BZ 341
   8463 
   8464 Example Code and Data Size: These are the sizes for the OS-independent 
   8465 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8466 debug version of the code includes the debug output trace mechanism and 
   8467 has 
   8468 a much larger code and data size.
   8469 
   8470   Previous Release:
   8471     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   8472     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   8473   Current Release:
   8474     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   8475     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   8476 
   8477 
   8478 2) iASL Compiler/Disassembler:
   8479 
   8480 Implemented support to allow multiple files to be compiled/disassembled 
   8481 in 
   8482 a 
   8483 single invocation. This includes command line wildcard support for both 
   8484 the 
   8485 Windows and Unix versions of the compiler. This feature simplifies the 
   8486 disassembly and compilation of multiple ACPI tables in a single 
   8487 directory.
   8488 
   8489 ----------------------------------------
   8490 08 May 2007. Summary of changes for version 20070508:
   8491 
   8492 1) ACPI CA Core Subsystem:
   8493 
   8494 Implemented a Microsoft compatibility design change for the handling of 
   8495 the 
   8496 Notify AML operator. Previously, notify handlers were dispatched and 
   8497 executed completely asynchronously in a deferred thread. The new design 
   8498 still executes the notify handlers in a different thread, but the 
   8499 original 
   8500 thread that executed the Notify() now waits at a synchronization point 
   8501 for 
   8502 the notify handler to complete. Some machines depend on a synchronous 
   8503 Notify 
   8504 operator in order to operate correctly.
   8505 
   8506 Implemented support to allow Package objects to be passed as method 
   8507 arguments to the external AcpiEvaluateObject interface. Previously, this 
   8508 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
   8509 implemented since there were no reserved control methods that required it 
   8510 until recently.
   8511 
   8512 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
   8513 that 
   8514 contained invalid non-zero values in reserved fields could cause later 
   8515 failures because these fields have meaning in later revisions of the 
   8516 FADT. 
   8517 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
   8518 fields 
   8519 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
   8520 
   8521 Fixed a problem where the Global Lock handle was not properly updated if 
   8522 a 
   8523 thread that acquired the Global Lock via executing AML code then 
   8524 attempted 
   8525 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
   8526 Joe 
   8527 Liu.
   8528 
   8529 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
   8530 could be corrupted if the interrupt being removed was at the head of the 
   8531 list. Reported by Linn Crosetto.
   8532 
   8533 Example Code and Data Size: These are the sizes for the OS-independent 
   8534 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8535 debug version of the code includes the debug output trace mechanism and 
   8536 has 
   8537 a much larger code and data size.
   8538 
   8539   Previous Release:
   8540     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8541     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   8542   Current Release:
   8543     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   8544     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   8545 
   8546 ----------------------------------------
   8547 20 March 2007. Summary of changes for version 20070320:
   8548 
   8549 1) ACPI CA Core Subsystem:
   8550 
   8551 Implemented a change to the order of interpretation and evaluation of AML 
   8552 operand objects within the AML interpreter. The interpreter now evaluates 
   8553 operands in the order that they appear in the AML stream (and the 
   8554 corresponding ASL code), instead of in the reverse order (after the 
   8555 entire 
   8556 operand list has been parsed). The previous behavior caused several 
   8557 subtle 
   8558 incompatibilities with the Microsoft AML interpreter as well as being 
   8559 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
   8560 
   8561 Implemented a change to the ACPI Global Lock support. All interfaces to 
   8562 the 
   8563 global lock now allow the same thread to acquire the lock multiple times. 
   8564 This affects the AcpiAcquireGlobalLock external interface to the global 
   8565 lock 
   8566 as well as the internal use of the global lock to support AML fields -- a 
   8567 control method that is holding the global lock can now simultaneously 
   8568 access 
   8569 AML fields that require global lock protection. Previously, in both 
   8570 cases, 
   8571 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
   8572 to 
   8573 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
   8574 Controller. There is no change to the behavior of the AML Acquire 
   8575 operator, 
   8576 as this can already be used to acquire a mutex multiple times by the same 
   8577 thread. BZ 8066. With assistance from Alexey Starikovskiy.
   8578 
   8579 Fixed a problem where invalid objects could be referenced in the AML 
   8580 Interpreter after error conditions. During operand evaluation, ensure 
   8581 that 
   8582 the internal "Return Object" field is cleared on error and only valid 
   8583 pointers are stored there. Caused occasional access to deleted objects 
   8584 that 
   8585 resulted in "large reference count" warning messages. Valery Podrezov.
   8586 
   8587 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
   8588 on 
   8589 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
   8590 Podrezov.
   8591 
   8592 Fixed an internal problem with the handling of result objects on the 
   8593 interpreter result stack. BZ 7872. Valery Podrezov.
   8594 
   8595 Removed obsolete code that handled the case where AML_NAME_OP is the 
   8596 target 
   8597 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
   8598 7874. Valery Podrezov.
   8599 
   8600 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
   8601 was 
   8602 a 
   8603 remnant from the previously discontinued 16-bit support.
   8604 
   8605 Example Code and Data Size: These are the sizes for the OS-independent 
   8606 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8607 debug version of the code includes the debug output trace mechanism and 
   8608 has 
   8609 a much larger code and data size.
   8610 
   8611   Previous Release:
   8612     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8613     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   8614   Current Release:
   8615     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8616     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   8617 
   8618 ----------------------------------------
   8619 26 January 2007. Summary of changes for version 20070126:
   8620 
   8621 1) ACPI CA Core Subsystem:
   8622 
   8623 Added the 2007 copyright to all module headers and signons. This affects 
   8624 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   8625 the utilities.
   8626 
   8627 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
   8628 during a table load. A bad pointer was passed in the case where the DSDT 
   8629 is 
   8630 overridden, causing a fault in this case.
   8631 
   8632 Example Code and Data Size: These are the sizes for the OS-independent 
   8633 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8634 debug version of the code includes the debug output trace mechanism and 
   8635 has 
   8636 a much larger code and data size.
   8637 
   8638   Previous Release:
   8639     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8640     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   8641   Current Release:
   8642     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8643     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   8644 
   8645 ----------------------------------------
   8646 15 December 2006. Summary of changes for version 20061215:
   8647 
   8648 1) ACPI CA Core Subsystem:
   8649 
   8650 Support for 16-bit ACPICA has been completely removed since it is no 
   8651 longer 
   8652 necessary and it clutters the code. All 16-bit macros, types, and 
   8653 conditional compiles have been removed, cleaning up and simplifying the 
   8654 code 
   8655 across the entire subsystem. DOS support is no longer needed since the 
   8656 bootable Linux firmware kit is now available.
   8657 
   8658 The handler for the Global Lock is now removed during AcpiTerminate to 
   8659 enable a clean subsystem restart, via the implementation of the 
   8660 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
   8661 HP)
   8662 
   8663 Implemented enhancements to the multithreading support within the 
   8664 debugger 
   8665 to enable improved multithreading debugging and evaluation of the 
   8666 subsystem. 
   8667 (Valery Podrezov)
   8668 
   8669 Debugger: Enhanced the Statistics/Memory command to emit the total 
   8670 (maximum) 
   8671 memory used during the execution, as well as the maximum memory consumed 
   8672 by 
   8673 each of the various object types. (Valery Podrezov)
   8674 
   8675 Example Code and Data Size: These are the sizes for the OS-independent 
   8676 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8677 debug version of the code includes the debug output trace mechanism and 
   8678 has 
   8679 a much larger code and data size.
   8680 
   8681   Previous Release:
   8682     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   8683     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   8684   Current Release:
   8685     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   8686     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   8687 
   8688 
   8689 2) iASL Compiler/Disassembler and Tools:
   8690 
   8691 AcpiExec: Implemented a new option (-m) to display full memory use 
   8692 statistics upon subsystem/program termination. (Valery Podrezov)
   8693 
   8694 ----------------------------------------
   8695 09 November 2006. Summary of changes for version 20061109:
   8696 
   8697 1) ACPI CA Core Subsystem:
   8698 
   8699 Optimized the Load ASL operator in the case where the source operand is 
   8700 an 
   8701 operation region. Simply map the operation region memory, instead of 
   8702 performing a bytewise read. (Region must be of type SystemMemory, see 
   8703 below.)
   8704 
   8705 Fixed the Load ASL operator for the case where the source operand is a 
   8706 region field. A buffer object is also allowed as the source operand. BZ 
   8707 480
   8708 
   8709 Fixed a problem where the Load ASL operator allowed the source operand to 
   8710 be 
   8711 an operation region of any type. It is now restricted to regions of type 
   8712 SystemMemory, as per the ACPI specification. BZ 481
   8713 
   8714 Additional cleanup and optimizations for the new Table Manager code.
   8715 
   8716 AcpiEnable will now fail if all of the required ACPI tables are not 
   8717 loaded 
   8718 (FADT, FACS, DSDT). BZ 477
   8719 
   8720 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
   8721 this 
   8722 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
   8723 manually optimized to be aligned and will not work if it is byte-packed. 
   8724 
   8725 Example Code and Data Size: These are the sizes for the OS-independent 
   8726 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8727 debug version of the code includes the debug output trace mechanism and 
   8728 has 
   8729 a much larger code and data size.
   8730 
   8731   Previous Release:
   8732     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   8733     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   8734   Current Release:
   8735     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   8736     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   8737 
   8738 
   8739 2) iASL Compiler/Disassembler and Tools:
   8740 
   8741 Fixed a problem where the presence of the _OSI predefined control method 
   8742 within complex expressions could cause an internal compiler error.
   8743 
   8744 AcpiExec: Implemented full region support for multiple address spaces. 
   8745 SpaceId is now part of the REGION object. BZ 429
   8746 
   8747 ----------------------------------------
   8748 11 October 2006. Summary of changes for version 20061011:
   8749 
   8750 1) ACPI CA Core Subsystem:
   8751 
   8752 Completed an AML interpreter performance enhancement for control method 
   8753 execution. Previously a 2-pass parse/execution, control methods are now 
   8754 completely parsed and executed in a single pass. This improves overall 
   8755 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
   8756 use. (Valery Podrezov + interpreter changes in version 20051202 that 
   8757 eliminated namespace loading during the pass one parse.)
   8758 
   8759 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
   8760 not 
   8761 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
   8762 now 
   8763 obtained and also checked for an ID match.
   8764 
   8765 Implemented additional support for the PCI _ADR execution: upsearch until 
   8766 a 
   8767 device scope is found before executing _ADR. This allows PCI_Config 
   8768 operation regions to be declared locally within control methods 
   8769 underneath 
   8770 PCI device objects.
   8771 
   8772 Fixed a problem with a possible race condition between threads executing 
   8773 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
   8774 modifying AcpiWalkNamespace to (by default) ignore all temporary 
   8775 namespace 
   8776 entries created during any concurrent control method execution. An 
   8777 additional namespace race condition is known to exist between 
   8778 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
   8779 investigation.
   8780 
   8781 Restructured the AML ParseLoop function, breaking it into several 
   8782 subfunctions in order to reduce CPU stack use and improve 
   8783 maintainability. 
   8784 (Mikhail Kouzmich)
   8785 
   8786 AcpiGetHandle: Fix for parameter validation to detect invalid 
   8787 combinations 
   8788 of prefix handle and pathname. BZ 478
   8789 
   8790 Example Code and Data Size: These are the sizes for the OS-independent 
   8791 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8792 debug version of the code includes the debug output trace mechanism and 
   8793 has 
   8794 a much larger code and data size.
   8795 
   8796   Previous Release:
   8797     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   8798     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   8799   Current Release:
   8800     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   8801     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   8802 
   8803 2) iASL Compiler/Disassembler and Tools:
   8804 
   8805 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
   8806 Manager 
   8807 to restore original behavior.
   8808 
   8809 ----------------------------------------
   8810 27 September 2006. Summary of changes for version 20060927:
   8811 
   8812 1) ACPI CA Core Subsystem:
   8813 
   8814 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
   8815 These functions now use a spinlock for mutual exclusion and the interrupt 
   8816 level indication flag is not needed.
   8817 
   8818 Fixed a problem with the Global Lock where the lock could appear to be 
   8819 obtained before it is actually obtained. The global lock semaphore was 
   8820 inadvertently created with one unit instead of zero units. (BZ 464) 
   8821 Fiodor 
   8822 Suietov.
   8823 
   8824 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
   8825 during 
   8826 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
   8827 
   8828 Example Code and Data Size: These are the sizes for the OS-independent 
   8829 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8830 debug version of the code includes the debug output trace mechanism and 
   8831 has 
   8832 a much larger code and data size.
   8833 
   8834   Previous Release:
   8835     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   8836     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   8837   Current Release:
   8838     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   8839     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   8840 
   8841 
   8842 2) iASL Compiler/Disassembler and Tools:
   8843 
   8844 Fixed a compilation problem with the pre-defined Resource Descriptor 
   8845 field 
   8846 names where an "object does not exist" error could be incorrectly 
   8847 generated 
   8848 if the parent ResourceTemplate pathname places the template within a 
   8849 different namespace scope than the current scope. (BZ 7212)
   8850 
   8851 Fixed a problem where the compiler could hang after syntax errors 
   8852 detected 
   8853 in an ElseIf construct. (BZ 453)
   8854 
   8855 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
   8856 operator. An incorrect output filename was produced when this parameter 
   8857 was 
   8858 a null string (""). Now, the original input filename is used as the AML 
   8859 output filename, with an ".aml" extension.
   8860 
   8861 Implemented a generic batch command mode for the AcpiExec utility 
   8862 (execute 
   8863 any AML debugger command) (Valery Podrezov).
   8864 
   8865 ----------------------------------------
   8866 12 September 2006. Summary of changes for version 20060912:
   8867 
   8868 1) ACPI CA Core Subsystem:
   8869 
   8870 Enhanced the implementation of the "serialized mode" of the interpreter 
   8871 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
   8872 specified, instead of creating a serialization semaphore per control 
   8873 method, 
   8874 the interpreter lock is simply no longer released before a blocking 
   8875 operation during control method execution. This effectively makes the AML 
   8876 Interpreter single-threaded. The overhead of a semaphore per-method is 
   8877 eliminated.
   8878 
   8879 Fixed a regression where an error was no longer emitted if a control 
   8880 method 
   8881 attempts to create 2 objects of the same name. This once again returns 
   8882 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
   8883 that 
   8884 will dynamically serialize the control method to possible prevent future 
   8885 errors. (BZ 440)
   8886 
   8887 Integrated a fix for a problem with PCI Express HID detection in the PCI 
   8888 Config Space setup procedure. (BZ 7145)
   8889 
   8890 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
   8891 AcpiHwInitialize function - the FADT registers are now validated when the 
   8892 table is loaded.
   8893 
   8894 Added two new warnings during FADT verification - 1) if the FADT is 
   8895 larger 
   8896 than the largest known FADT version, and 2) if there is a mismatch 
   8897 between 
   8898 a 
   8899 32-bit block address and the 64-bit X counterpart (when both are non-
   8900 zero.)
   8901 
   8902 Example Code and Data Size: These are the sizes for the OS-independent 
   8903 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8904 debug version of the code includes the debug output trace mechanism and 
   8905 has 
   8906 a much larger code and data size.
   8907 
   8908   Previous Release:
   8909     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   8910     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   8911   Current Release:
   8912     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   8913     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   8914 
   8915 
   8916 2) iASL Compiler/Disassembler and Tools:
   8917 
   8918 Fixed a problem with the implementation of the Switch() operator where 
   8919 the 
   8920 temporary variable was declared too close to the actual Switch, instead 
   8921 of 
   8922 at method level. This could cause a problem if the Switch() operator is 
   8923 within a while loop, causing an error on the second iteration. (BZ 460)
   8924 
   8925 Disassembler - fix for error emitted for unknown type for target of scope 
   8926 operator. Now, ignore it and continue.
   8927 
   8928 Disassembly of an FADT now verifies the input FADT and reports any errors 
   8929 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
   8930 
   8931 Disassembly of raw data buffers with byte initialization data now 
   8932 prefixes 
   8933 each output line with the current buffer offset.
   8934 
   8935 Disassembly of ASF! table now includes all variable-length data fields at 
   8936 the end of some of the subtables.
   8937 
   8938 The disassembler now emits a comment if a buffer appears to be a 
   8939 ResourceTemplate, but cannot be disassembled as such because the EndTag 
   8940 does 
   8941 not appear at the very end of the buffer.
   8942 
   8943 AcpiExec - Added the "-t" command line option to enable the serialized 
   8944 mode 
   8945 of the AML interpreter.
   8946 
   8947 ----------------------------------------
   8948 31 August 2006. Summary of changes for version 20060831:
   8949 
   8950 1) ACPI CA Core Subsystem:
   8951 
   8952 Miscellaneous fixes for the Table Manager:
   8953 - Correctly initialize internal common FADT for all 64-bit "X" fields
   8954 - Fixed a couple table mapping issues during table load
   8955 - Fixed a couple alignment issues for IA64
   8956 - Initialize input array to zero in AcpiInitializeTables
   8957 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
   8958 AcpiGetTableByIndex
   8959 
   8960 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
   8961 now 
   8962 immediately disabled to prevent the waking GPE from firing again and to 
   8963 prevent other wake GPEs from interrupting the wake process.
   8964 
   8965 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
   8966 to 
   8967 be used for debugging systems with a large number of ACPI interrupts.
   8968 
   8969 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
   8970 both the ACPICA headers and the disassembler.
   8971 
   8972 Example Code and Data Size: These are the sizes for the OS-independent 
   8973 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8974 debug version of the code includes the debug output trace mechanism and 
   8975 has 
   8976 a much larger code and data size.
   8977 
   8978   Previous Release:
   8979     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   8980     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   8981   Current Release:
   8982     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   8983     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   8984 
   8985 
   8986 2) iASL Compiler/Disassembler and Tools:
   8987 
   8988 Disassembler support for the DMAR ACPI table.
   8989 
   8990 ----------------------------------------
   8991 23 August 2006. Summary of changes for version 20060823:
   8992 
   8993 1) ACPI CA Core Subsystem:
   8994 
   8995 The Table Manager component has been completely redesigned and 
   8996 reimplemented. The new design is much simpler, and reduces the overall 
   8997 code 
   8998 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
   8999 is 
   9000 now possible to obtain the ACPI tables very early during kernel 
   9001 initialization, even before dynamic memory management is initialized. 
   9002 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
   9003 
   9004 Obsolete ACPICA interfaces:
   9005 
   9006 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
   9007 init 
   9008 time).
   9009 - AcpiLoadTable: Not needed.
   9010 - AcpiUnloadTable: Not needed.
   9011 
   9012 New ACPICA interfaces:
   9013 
   9014 - AcpiInitializeTables: Must be called before the table manager can be 
   9015 used.
   9016 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
   9017 allocated memory after it becomes available.
   9018 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
   9019 tables 
   9020 in the RSDT/XSDT.
   9021 
   9022 Other ACPICA changes:
   9023 
   9024 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
   9025 Use 
   9026 AcpiOsUnmapMemory to free this mapping.
   9027 - AcpiGetTable returns the actual mapped table. The mapping is managed 
   9028 internally and must not be deleted by the caller. Use of this interface 
   9029 causes no additional dynamic memory allocation.
   9030 - AcpiFindRootPointer: Support for physical addressing has been 
   9031 eliminated, 
   9032 it appeared to be unused.
   9033 - The interface to AcpiOsMapMemory has changed to be consistent with the 
   9034 other allocation interfaces.
   9035 - The interface to AcpiOsGetRootPointer has changed to eliminate 
   9036 unnecessary 
   9037 parameters.
   9038 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
   9039 64-
   9040 bit platforms. Was previously 64 bits on all platforms.
   9041 - The interface to the ACPI Global Lock acquire/release macros have 
   9042 changed 
   9043 slightly since ACPICA no longer keeps a local copy of the FACS with a 
   9044 constructed pointer to the actual global lock.
   9045 
   9046 Porting to the new table manager:
   9047 
   9048 - AcpiInitializeTables: Must be called once, and can be called anytime 
   9049 during the OS initialization process. It allows the host to specify an 
   9050 area 
   9051 of memory to be used to store the internal version of the RSDT/XSDT (root 
   9052 table). This allows the host to access ACPI tables before memory 
   9053 management 
   9054 is initialized and running.
   9055 - AcpiReallocateRootTable: Can be called after memory management is 
   9056 running 
   9057 to copy the root table to a dynamically allocated array, freeing up the 
   9058 scratch memory specified in the call to AcpiInitializeTables.
   9059 - AcpiSubsystemInitialize: This existing interface is independent of the 
   9060 Table Manager, and does not have to be called before the Table Manager 
   9061 can 
   9062 be used, it only must be called before the rest of ACPICA can be used.
   9063 - ACPI Tables: Some changes have been made to the names and structure of 
   9064 the 
   9065 actbl.h and actbl1.h header files and may require changes to existing 
   9066 code. 
   9067 For example, bitfields have been completely removed because of their lack 
   9068 of 
   9069 portability across C compilers.
   9070 - Update interfaces to the Global Lock acquire/release macros if local 
   9071 versions are used. (see acwin.h)
   9072 
   9073 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
   9074 
   9075 New files: tbfind.c
   9076 
   9077 Example Code and Data Size: These are the sizes for the OS-independent 
   9078 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9079 debug version of the code includes the debug output trace mechanism and 
   9080 has 
   9081 a much larger code and data size.
   9082 
   9083   Previous Release:
   9084     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   9085     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   9086   Current Release:
   9087     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   9088     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   9089 
   9090 
   9091 2) iASL Compiler/Disassembler and Tools:
   9092 
   9093 No changes for this release.
   9094 
   9095 ----------------------------------------
   9096 21 July 2006. Summary of changes for version 20060721:
   9097 
   9098 1) ACPI CA Core Subsystem:
   9099 
   9100 The full source code for the ASL test suite used to validate the iASL 
   9101 compiler and the ACPICA core subsystem is being released with the ACPICA 
   9102 source for the first time. The source is contained in a separate package 
   9103 and 
   9104 consists of over 1100 files that exercise all ASL/AML operators. The 
   9105 package 
   9106 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
   9107 Fiodor 
   9108 Suietov)
   9109 
   9110 Completed a new design and implementation for support of the ACPI Global 
   9111 Lock. On the OS side, the global lock is now treated as a standard AML 
   9112 mutex. Previously, multiple OS threads could "acquire" the global lock 
   9113 simultaneously. However, this could cause the BIOS to be starved out of 
   9114 the 
   9115 lock - especially in cases such as the Embedded Controller driver where 
   9116 there is a tight coupling between the OS and the BIOS.
   9117 
   9118 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
   9119 The Global Lock interrupt handler no longer queues the execution of a 
   9120 separate thread to signal the global lock semaphore. Instead, the 
   9121 semaphore 
   9122 is signaled directly from the interrupt handler.
   9123 
   9124 Implemented support within the AML interpreter for package objects that 
   9125 contain a larger AML length (package list length) than the package 
   9126 element 
   9127 count. In this case, the length of the package is truncated to match the 
   9128 package element count. Some BIOS code apparently modifies the package 
   9129 length 
   9130 on the fly, and this change supports this behavior. Provides 
   9131 compatibility 
   9132 with the MS AML interpreter. (With assistance from Fiodor Suietov)
   9133 
   9134 Implemented a temporary fix for the BankValue parameter of a Bank Field 
   9135 to 
   9136 support all constant values, now including the Zero and One opcodes. 
   9137 Evaluation of this parameter must eventually be converted to a full 
   9138 TermArg 
   9139 evaluation. A not-implemented error is now returned (temporarily) for 
   9140 non-
   9141 constant values for this parameter.
   9142 
   9143 Fixed problem reports (Fiodor Suietov) integrated:
   9144 - Fix for premature object deletion after CopyObject on Operation Region 
   9145 (BZ 
   9146 350)
   9147 
   9148 Example Code and Data Size: These are the sizes for the OS-independent 
   9149 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9150 debug version of the code includes the debug output trace mechanism and 
   9151 has 
   9152 a much larger code and data size.
   9153 
   9154   Previous Release:
   9155     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
   9156     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
   9157   Current Release:
   9158     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   9159     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   9160 
   9161 
   9162 2) iASL Compiler/Disassembler and Tools:
   9163 
   9164 No changes for this release.
   9165 
   9166 ----------------------------------------
   9167 07 July 2006. Summary of changes for version 20060707:
   9168 
   9169 1) ACPI CA Core Subsystem:
   9170 
   9171 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
   9172 that do not allow the initialization of address pointers within packed 
   9173 structures - even though the hardware itself may support misaligned 
   9174 transfers. Some of the debug data structures are packed by default to 
   9175 minimize size.
   9176 
   9177 Added an error message for the case where AcpiOsGetThreadId() returns 
   9178 zero. 
   9179 A non-zero value is required by the core ACPICA code to ensure the proper 
   9180 operation of AML mutexes and recursive control methods.
   9181 
   9182 The DSDT is now the only ACPI table that determines whether the AML 
   9183 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
   9184 but 
   9185 the hooks for per-table 32/64 switching have been removed from the code. 
   9186 A 
   9187 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
   9188 
   9189 Fixed a possible leak of an OwnerID in the error path of 
   9190 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
   9191 deletion to a single place in AcpiTbUninstallTable to correct possible 
   9192 leaks 
   9193 when using the AcpiTbDeleteTablesByType interface (with assistance from 
   9194 Lance Ortiz.)
   9195 
   9196 Fixed a problem with Serialized control methods where the semaphore 
   9197 associated with the method could be over-signaled after multiple method 
   9198 invocations.
   9199 
   9200 Fixed two issues with the locking of the internal namespace data 
   9201 structure. 
   9202 Both the Unload() operator and AcpiUnloadTable interface now lock the 
   9203 namespace during the namespace deletion associated with the table unload 
   9204 (with assistance from Linn Crosetto.)
   9205 
   9206 Fixed problem reports (Valery Podrezov) integrated:
   9207 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
   9208 
   9209 Fixed problem reports (Fiodor Suietov) integrated:
   9210 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
   9211 - On Address Space handler deletion, needless deactivation call (BZ 374)
   9212 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
   9213 375)
   9214 - Possible memory leak, Notify sub-objects of Processor, Power, 
   9215 ThermalZone 
   9216 (BZ 376)
   9217 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
   9218 - Minimum Length of RSDT should be validated (BZ 379)
   9219 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
   9220 Handler (BZ (380)
   9221 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
   9222 loaded 
   9223 (BZ 381)
   9224 
   9225 Example Code and Data Size: These are the sizes for the OS-independent 
   9226 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9227 debug version of the code includes the debug output trace mechanism and 
   9228 has 
   9229 a much larger code and data size.
   9230 
   9231   Previous Release:
   9232     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   9233     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   9234   Current Release:
   9235     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   9236     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   9237 
   9238 
   9239 2) iASL Compiler/Disassembler and Tools:
   9240 
   9241 Fixed problem reports:
   9242 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
   9243 436)
   9244 
   9245 ----------------------------------------
   9246 23 June 2006. Summary of changes for version 20060623:
   9247 
   9248 1) ACPI CA Core Subsystem:
   9249 
   9250 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
   9251 allows the type to be customized to the host OS for improved efficiency 
   9252 (since a spinlock is usually a very small object.)
   9253 
   9254 Implemented support for "ignored" bits in the ACPI registers. According 
   9255 to 
   9256 the ACPI specification, these bits should be preserved when writing the 
   9257 registers via a read/modify/write cycle. There are 3 bits preserved in 
   9258 this 
   9259 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
   9260 
   9261 Implemented the initial deployment of new OSL mutex interfaces. Since 
   9262 some 
   9263 host operating systems have separate mutex and semaphore objects, this 
   9264 feature was requested. The base code now uses mutexes (and the new mutex 
   9265 interfaces) wherever a binary semaphore was used previously. However, for 
   9266 the current release, the mutex interfaces are defined as macros to map 
   9267 them 
   9268 to the existing semaphore interfaces. Therefore, no OSL changes are 
   9269 required 
   9270 at this time. (See acpiosxf.h)
   9271 
   9272 Fixed several problems with the support for the control method SyncLevel 
   9273 parameter. The SyncLevel now works according to the ACPI specification 
   9274 and 
   9275 in concert with the Mutex SyncLevel parameter, since the current 
   9276 SyncLevel 
   9277 is a property of the executing thread. Mutual exclusion for control 
   9278 methods 
   9279 is now implemented with a mutex instead of a semaphore.
   9280 
   9281 Fixed three instances of the use of the C shift operator in the bitfield 
   9282 support code (exfldio.c) to avoid the use of a shift value larger than 
   9283 the 
   9284 target data width. The behavior of C compilers is undefined in this case 
   9285 and 
   9286 can cause unpredictable results, and therefore the case must be detected 
   9287 and 
   9288 avoided. (Fiodor Suietov)
   9289 
   9290 Added an info message whenever an SSDT or OEM table is loaded dynamically 
   9291 via the Load() or LoadTable() ASL operators. This should improve 
   9292 debugging 
   9293 capability since it will show exactly what tables have been loaded 
   9294 (beyond 
   9295 the tables present in the RSDT/XSDT.)
   9296 
   9297 Example Code and Data Size: These are the sizes for the OS-independent 
   9298 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9299 debug version of the code includes the debug output trace mechanism and 
   9300 has 
   9301 a much larger code and data size.
   9302 
   9303   Previous Release:
   9304     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   9305     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   9306   Current Release:
   9307     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   9308     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   9309 
   9310 
   9311 2) iASL Compiler/Disassembler and Tools:
   9312 
   9313 No changes for this release.
   9314 
   9315 ----------------------------------------
   9316 08 June 2006. Summary of changes for version 20060608:
   9317 
   9318 1) ACPI CA Core Subsystem:
   9319 
   9320 Converted the locking mutex used for the ACPI hardware to a spinlock. 
   9321 This 
   9322 change should eliminate all problems caused by attempting to acquire a 
   9323 semaphore at interrupt level, and it means that all ACPICA external 
   9324 interfaces that directly access the ACPI hardware can be safely called 
   9325 from 
   9326 interrupt level. OSL code that implements the semaphore interfaces should 
   9327 be 
   9328 able to eliminate any workarounds for being called at interrupt level.
   9329 
   9330 Fixed a regression introduced in 20060526 where the ACPI device 
   9331 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
   9332 device 
   9333 did not have an optional _INI method.
   9334 
   9335 Fixed an IndexField issue where a write to the Data Register should be 
   9336 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
   9337 433, 
   9338 Fiodor Suietov)
   9339 
   9340 Fixed problem reports (Valery Podrezov) integrated:
   9341 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
   9342 
   9343 Fixed problem reports (Fiodor Suietov) integrated:
   9344 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
   9345 
   9346 Removed four global mutexes that were obsolete and were no longer being 
   9347 used.
   9348 
   9349 Example Code and Data Size: These are the sizes for the OS-independent 
   9350 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9351 debug version of the code includes the debug output trace mechanism and 
   9352 has 
   9353 a much larger code and data size.
   9354 
   9355   Previous Release:
   9356     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   9357     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   9358   Current Release:
   9359     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   9360     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   9361 
   9362 
   9363 2) iASL Compiler/Disassembler and Tools:
   9364 
   9365 Fixed a fault when using -g option (get tables from registry) on Windows 
   9366 machines.
   9367 
   9368 Fixed problem reports integrated:
   9369 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
   9370 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
   9371 Suietov)
   9372 - Global table revision override (-r) is ignored (BZ 413)
   9373 
   9374 ----------------------------------------
   9375 26 May 2006. Summary of changes for version 20060526:
   9376 
   9377 1) ACPI CA Core Subsystem:
   9378 
   9379 Restructured, flattened, and simplified the internal interfaces for 
   9380 namespace object evaluation - resulting in smaller code, less CPU stack 
   9381 use, 
   9382 and fewer interfaces. (With assistance from Mikhail Kouzmich)
   9383 
   9384 Fixed a problem with the CopyObject operator where the first parameter 
   9385 was 
   9386 not typed correctly for the parser, interpreter, compiler, and 
   9387 disassembler. 
   9388 Caused various errors and unexpected behavior.
   9389 
   9390 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
   9391 produced incorrect results with some C compilers. Since the behavior of C 
   9392 compilers when the shift value is larger than the datatype width is 
   9393 apparently not well defined, the interpreter now detects this condition 
   9394 and 
   9395 simply returns zero as expected in all such cases. (BZ 395)
   9396 
   9397 Fixed problem reports (Valery Podrezov) integrated:
   9398 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
   9399 - Allow interpreter to handle nested method declarations (BZ 5361)
   9400 
   9401 Fixed problem reports (Fiodor Suietov) integrated:
   9402 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
   9403 355)
   9404 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
   9405 356)
   9406 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
   9407 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
   9408 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
   9409 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
   9410 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
   9411 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
   9412 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
   9413 365)
   9414 - Status of the Global Initialization Handler call not used (BZ 366)
   9415 - Incorrect object parameter to Global Initialization Handler (BZ 367)
   9416 
   9417 Example Code and Data Size: These are the sizes for the OS-independent 
   9418 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9419 debug version of the code includes the debug output trace mechanism and 
   9420 has 
   9421 a much larger code and data size.
   9422 
   9423   Previous Release:
   9424     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   9425     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   9426   Current Release:
   9427     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   9428     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   9429 
   9430 
   9431 2) iASL Compiler/Disassembler and Tools:
   9432 
   9433 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
   9434 namespace identifiers with no collision with existing resource descriptor 
   9435 macro names. This provides compatibility with other ASL compilers and is 
   9436 most useful for disassembly/recompilation of existing tables without 
   9437 parse 
   9438 errors. (With assistance from Thomas Renninger)
   9439 
   9440 Disassembler: fixed an incorrect disassembly problem with the 
   9441 DataTableRegion and CopyObject operators. Fixed a possible fault during 
   9442 disassembly of some Alias operators.
   9443 
   9444 ----------------------------------------
   9445 12 May 2006. Summary of changes for version 20060512:
   9446 
   9447 1) ACPI CA Core Subsystem:
   9448 
   9449 Replaced the AcpiOsQueueForExecution interface with a new interface named 
   9450 AcpiOsExecute. The major difference is that the new interface does not 
   9451 have 
   9452 a Priority parameter, this appeared to be useless and has been replaced 
   9453 by 
   9454 a 
   9455 Type parameter. The Type tells the host what type of execution is being 
   9456 requested, such as global lock handler, notify handler, GPE handler, etc. 
   9457 This allows the host to queue and execute the request as appropriate for 
   9458 the 
   9459 request type, possibly using different work queues and different 
   9460 priorities 
   9461 for the various request types. This enables fixes for multithreading 
   9462 deadlock problems such as BZ #5534, and will require changes to all 
   9463 existing 
   9464 OS interface layers. (Alexey Starikovskiy and Bob Moore)
   9465 
   9466 Fixed a possible memory leak associated with the support for the so-
   9467 called 
   9468 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
   9469 Suietov)
   9470 
   9471 Fixed a problem with the Load() operator where a table load from an 
   9472 operation region could overwrite an internal table buffer by up to 7 
   9473 bytes 
   9474 and cause alignment faults on IPF systems. (With assistance from Luming 
   9475 Yu)
   9476 
   9477 Example Code and Data Size: These are the sizes for the OS-independent 
   9478 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9479 debug version of the code includes the debug output trace mechanism and 
   9480 has 
   9481 a much larger code and data size.
   9482 
   9483   Previous Release:
   9484     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   9485     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   9486   Current Release:
   9487     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   9488     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   9489 
   9490 
   9491 
   9492 2) iASL Compiler/Disassembler and Tools:
   9493 
   9494 Disassembler: Implemented support to cross reference the internal 
   9495 namespace 
   9496 and automatically generate ASL External() statements for symbols not 
   9497 defined 
   9498 within the current table being disassembled. This will simplify the 
   9499 disassembly and recompilation of interdependent tables such as SSDTs 
   9500 since 
   9501 these statements will no longer have to be added manually.
   9502 
   9503 Disassembler: Implemented experimental support to automatically detect 
   9504 invocations of external control methods and generate appropriate 
   9505 External() 
   9506 statements. This is problematic because the AML cannot be correctly 
   9507 parsed 
   9508 until the number of arguments for each control method is known. 
   9509 Currently, 
   9510 standalone method invocations and invocations as the source operand of a 
   9511 Store() statement are supported.
   9512 
   9513 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
   9514 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
   9515 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
   9516 more readable and likely closer to the original ASL source.
   9517 
   9518 ----------------------------------------
   9519 21 April 2006. Summary of changes for version 20060421:
   9520 
   9521 1) ACPI CA Core Subsystem:
   9522 
   9523 Removed a device initialization optimization introduced in 20051216 where 
   9524 the _STA method was not run unless an _INI was also present for the same 
   9525 device. This optimization could cause problems because it could allow 
   9526 _INI 
   9527 methods to be run within a not-present device subtree. (If a not-present 
   9528 device had no _INI, _STA would not be run, the not-present status would 
   9529 not 
   9530 be discovered, and the children of the device would be incorrectly 
   9531 traversed.)
   9532 
   9533 Implemented a new _STA optimization where namespace subtrees that do not 
   9534 contain _INI are identified and ignored during device initialization. 
   9535 Selectively running _STA can significantly improve boot time on large 
   9536 machines (with assistance from Len Brown.)
   9537 
   9538 Implemented support for the device initialization case where the returned 
   9539 _STA flags indicate a device not-present but functioning. In this case, 
   9540 _INI 
   9541 is not run, but the device children are examined for presence, as per the 
   9542 ACPI specification.
   9543 
   9544 Implemented an additional change to the IndexField support in order to 
   9545 conform to MS behavior. The value written to the Index Register is not 
   9546 simply a byte offset, it is a byte offset in units of the access width of 
   9547 the parent Index Field. (Fiodor Suietov)
   9548 
   9549 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
   9550 interface is called during the creation of all AML operation regions, and 
   9551 allows the host OS to exert control over what addresses it will allow the 
   9552 AML code to access. Operation Regions whose addresses are disallowed will 
   9553 cause a runtime exception when they are actually accessed (will not 
   9554 affect 
   9555 or abort table loading.) See oswinxf or osunixxf for an example 
   9556 implementation.
   9557 
   9558 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
   9559 interface allows the host OS to match the various "optional" 
   9560 interface/behavior strings for the _OSI predefined control method as 
   9561 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
   9562 for an example implementation.
   9563 
   9564 Restructured and corrected various problems in the exception handling 
   9565 code 
   9566 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
   9567 (with assistance from Takayoshi Kochi.)
   9568 
   9569 Modified the Linux source converter to ignore quoted string literals 
   9570 while 
   9571 converting identifiers from mixed to lower case. This will correct 
   9572 problems 
   9573 with the disassembler and other areas where such strings must not be 
   9574 modified.
   9575 
   9576 The ACPI_FUNCTION_* macros no longer require quotes around the function 
   9577 name. This allows the Linux source converter to convert the names, now 
   9578 that 
   9579 the converter ignores quoted strings.
   9580 
   9581 Example Code and Data Size: These are the sizes for the OS-independent 
   9582 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9583 debug version of the code includes the debug output trace mechanism and 
   9584 has 
   9585 a much larger code and data size.
   9586 
   9587   Previous Release:
   9588 
   9589     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   9590     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   9591   Current Release:
   9592     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   9593     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   9594 
   9595 
   9596 2) iASL Compiler/Disassembler and Tools:
   9597 
   9598 Implemented 3 new warnings for iASL, and implemented multiple warning 
   9599 levels 
   9600 (w2 flag).
   9601 
   9602 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
   9603 not 
   9604 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
   9605 check for the possible timeout, a warning is issued.
   9606 
   9607 2) Useless operators: If an ASL operator does not specify an optional 
   9608 target 
   9609 operand and it also does not use the function return value from the 
   9610 operator, a warning is issued since the operator effectively does 
   9611 nothing.
   9612 
   9613 3) Unreferenced objects: If a namespace object is created, but never 
   9614 referenced, a warning is issued. This is a warning level 2 since there 
   9615 are 
   9616 cases where this is ok, such as when a secondary table is loaded that 
   9617 uses 
   9618 the unreferenced objects. Even so, care is taken to only flag objects 
   9619 that 
   9620 don't look like they will ever be used. For example, the reserved methods 
   9621 (starting with an underscore) are usually not referenced because it is 
   9622 expected that the OS will invoke them.
   9623 
   9624 ----------------------------------------
   9625 31 March 2006. Summary of changes for version 20060331:
   9626 
   9627 1) ACPI CA Core Subsystem:
   9628 
   9629 Implemented header file support for the following additional ACPI tables: 
   9630 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
   9631 support, 
   9632 all current and known ACPI tables are now defined in the ACPICA headers 
   9633 and 
   9634 are available for use by device drivers and other software.
   9635 
   9636 Implemented support to allow tables that contain ACPI names with invalid 
   9637 characters to be loaded. Previously, this would cause the table load to 
   9638 fail, but since there are several known cases of such tables on existing 
   9639 machines, this change was made to enable ACPI support for them. Also, 
   9640 this 
   9641 matches the behavior of the Microsoft ACPI implementation.
   9642 
   9643 Fixed a couple regressions introduced during the memory optimization in 
   9644 the 
   9645 20060317 release. The namespace node definition required additional 
   9646 reorganization and an internal datatype that had been changed to 8-bit 
   9647 was 
   9648 restored to 32-bit. (Valery Podrezov)
   9649 
   9650 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
   9651 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
   9652 null pointers are now trapped and ignored, matching the behavior of the 
   9653 previous implementation before the deployment of AcpiOsReleaseObject.
   9654 (Valery Podrezov, Fiodor Suietov)
   9655 
   9656 Fixed a memory mapping leak during the deletion of a SystemMemory 
   9657 operation 
   9658 region where a cached memory mapping was not deleted. This became a 
   9659 noticeable problem for operation regions that are defined within 
   9660 frequently 
   9661 used control methods. (Dana Meyers)
   9662 
   9663 Reorganized the ACPI table header files into two main files: one for the 
   9664 ACPI tables consumed by the ACPICA core, and another for the 
   9665 miscellaneous 
   9666 ACPI tables that are consumed by the drivers and other software. The 
   9667 various 
   9668 FADT definitions were merged into one common section and three different 
   9669 tables (ACPI 1.0, 1.0+, and 2.0)
   9670 
   9671 Example Code and Data Size: These are the sizes for the OS-independent 
   9672 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9673 debug version of the code includes the debug output trace mechanism and 
   9674 has 
   9675 a much larger code and data size.
   9676 
   9677   Previous Release:
   9678     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   9679     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   9680   Current Release:
   9681     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   9682     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   9683 
   9684 
   9685 2) iASL Compiler/Disassembler and Tools:
   9686 
   9687 Disassembler: Implemented support to decode and format all non-AML ACPI 
   9688 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
   9689 added to the ACPICA headers, therefore all current and known ACPI tables 
   9690 are 
   9691 supported.
   9692 
   9693 Disassembler: The change to allow ACPI names with invalid characters also 
   9694 enables the disassembly of such tables. Invalid characters within names 
   9695 are 
   9696 changed to '*' to make the name printable; the iASL compiler will still 
   9697 generate an error for such names, however, since this is an invalid ACPI 
   9698 character.
   9699 
   9700 Implemented an option for AcpiXtract (-a) to extract all tables found in 
   9701 the 
   9702 input file. The default invocation extracts only the DSDTs and SSDTs.
   9703 
   9704 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
   9705 makefile for the AcpiXtract utility.
   9706 
   9707 ----------------------------------------
   9708 17 March 2006. Summary of changes for version 20060317:
   9709 
   9710 1) ACPI CA Core Subsystem:
   9711 
   9712 Implemented the use of a cache object for all internal namespace nodes. 
   9713 Since there are about 1000 static nodes in a typical system, this will 
   9714 decrease memory use for cache implementations that minimize per-
   9715 allocation 
   9716 overhead (such as a slab allocator.)
   9717 
   9718 Removed the reference count mechanism for internal namespace nodes, since 
   9719 it 
   9720 was deemed unnecessary. This reduces the size of each namespace node by 
   9721 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
   9722 case, 
   9723 and 32 bytes for the 64-bit case.
   9724 
   9725 Optimized several internal data structures to reduce object size on 64-
   9726 bit 
   9727 platforms by packing data within the 64-bit alignment. This includes the 
   9728 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
   9729 instances corresponding to the namespace objects.
   9730 
   9731 Added two new strings for the predefined _OSI method: "Windows 2001.1 
   9732 SP1" 
   9733 and "Windows 2006".
   9734 
   9735 Split the allocation tracking mechanism out to a separate file, from 
   9736 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
   9737 application-level code. Kernels may wish to not include uttrack.c in 
   9738 distributions.
   9739 
   9740 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
   9741 associated 
   9742 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
   9743 macros.)
   9744 
   9745 Code and Data Size: These are the sizes for the acpica.lib produced by 
   9746 the 
   9747 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   9748 ACPI 
   9749 driver or OSPM code. The debug version of the code includes the debug 
   9750 output 
   9751 trace mechanism and has a much larger code and data size. Note that these 
   9752 values will vary depending on the efficiency of the compiler and the 
   9753 compiler options used during generation.
   9754 
   9755   Previous Release:
   9756     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   9757     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   9758   Current Release:
   9759     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   9760     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   9761 
   9762 
   9763 2) iASL Compiler/Disassembler and Tools:
   9764 
   9765 Implemented an ANSI C version of the acpixtract utility. This version 
   9766 will 
   9767 automatically extract the DSDT and all SSDTs from the input acpidump text 
   9768 file and dump the binary output to separate files. It can also display a 
   9769 summary of the input file including the headers for each table found and 
   9770 will extract any single ACPI table, with any signature. (See 
   9771 source/tools/acpixtract)
   9772 
   9773 ----------------------------------------
   9774 10 March 2006. Summary of changes for version 20060310:
   9775 
   9776 1) ACPI CA Core Subsystem:
   9777 
   9778 Tagged all external interfaces to the subsystem with the new 
   9779 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
   9780 assist 
   9781 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
   9782 macro. The default definition is NULL.
   9783 
   9784 Added the ACPI_THREAD_ID type for the return value from 
   9785 AcpiOsGetThreadId. 
   9786 This allows the host to define this as necessary to simplify kernel 
   9787 integration. The default definition is ACPI_NATIVE_UINT.
   9788 
   9789 Fixed two interpreter problems related to error processing, the deletion 
   9790 of 
   9791 objects, and placing invalid pointers onto the internal operator result 
   9792 stack. BZ 6028, 6151 (Valery Podrezov)
   9793 
   9794 Increased the reference count threshold where a warning is emitted for 
   9795 large 
   9796 reference counts in order to eliminate unnecessary warnings on systems 
   9797 with 
   9798 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
   9799 0x800.
   9800 
   9801 Due to universal disagreement as to the meaning of the 'c' in the 
   9802 calloc() 
   9803 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
   9804 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
   9805 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
   9806 ACPI_FREE.
   9807 
   9808 Code and Data Size: These are the sizes for the acpica.lib produced by 
   9809 the 
   9810 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   9811 ACPI 
   9812 driver or OSPM code. The debug version of the code includes the debug 
   9813 output 
   9814 trace mechanism and has a much larger code and data size. Note that these 
   9815 values will vary depending on the efficiency of the compiler and the 
   9816 compiler options used during generation.
   9817 
   9818   Previous Release:
   9819     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   9820     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   9821   Current Release:
   9822     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   9823     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   9824 
   9825 
   9826 2) iASL Compiler/Disassembler:
   9827 
   9828 Disassembler: implemented support for symbolic resource descriptor 
   9829 references. If a CreateXxxxField operator references a fixed offset 
   9830 within 
   9831 a 
   9832 resource descriptor, a name is assigned to the descriptor and the offset 
   9833 is 
   9834 translated to the appropriate resource tag and pathname. The addition of 
   9835 this support brings the disassembled code very close to the original ASL 
   9836 source code and helps eliminate run-time errors when the disassembled 
   9837 code 
   9838 is modified (and recompiled) in such a way as to invalidate the original 
   9839 fixed offsets.
   9840 
   9841 Implemented support for a Descriptor Name as the last parameter to the 
   9842 ASL 
   9843 Register() macro. This parameter was inadvertently left out of the ACPI 
   9844 specification, and will be added for ACPI 3.0b.
   9845 
   9846 Fixed a problem where the use of the "_OSI" string (versus the full path 
   9847 "\_OSI") caused an internal compiler error. ("No back ptr to op")
   9848 
   9849 Fixed a problem with the error message that occurs when an invalid string 
   9850 is 
   9851 used for a _HID object (such as one with an embedded asterisk: 
   9852 "*PNP010A".) 
   9853 The correct message is now displayed.
   9854 
   9855 ----------------------------------------
   9856 17 February 2006. Summary of changes for version 20060217:
   9857 
   9858 1) ACPI CA Core Subsystem:
   9859 
   9860 Implemented a change to the IndexField support to match the behavior of 
   9861 the 
   9862 Microsoft AML interpreter. The value written to the Index register is now 
   9863 a 
   9864 byte offset, no longer an index based upon the width of the Data 
   9865 register. 
   9866 This should fix IndexField problems seen on some machines where the Data 
   9867 register is not exactly one byte wide. The ACPI specification will be 
   9868 clarified on this point.
   9869 
   9870 Fixed a problem where several resource descriptor types could overrun the 
   9871 internal descriptor buffer due to size miscalculation: VendorShort, 
   9872 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
   9873 affect all platforms.
   9874 
   9875 Fixed a problem where individual resource descriptors were misaligned 
   9876 within 
   9877 the internal buffer, causing alignment faults on IA64 platforms.
   9878 
   9879 Code and Data Size: These are the sizes for the acpica.lib produced by 
   9880 the 
   9881 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   9882 ACPI 
   9883 driver or OSPM code. The debug version of the code includes the debug 
   9884 output 
   9885 trace mechanism and has a much larger code and data size. Note that these 
   9886 values will vary depending on the efficiency of the compiler and the 
   9887 compiler options used during generation.
   9888 
   9889   Previous Release:
   9890     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   9891     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   9892   Current Release:
   9893     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   9894     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   9895 
   9896 
   9897 2) iASL Compiler/Disassembler:
   9898 
   9899 Implemented support for new reserved names: _WDG and _WED are Microsoft 
   9900 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
   9901 defined method (Throttling Depth Limit.)
   9902 
   9903 Fixed a problem where a zero-length VendorShort or VendorLong resource 
   9904 descriptor was incorrectly emitted as a descriptor of length one.
   9905 
   9906 ----------------------------------------
   9907 10 February 2006. Summary of changes for version 20060210:
   9908 
   9909 1) ACPI CA Core Subsystem:
   9910 
   9911 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
   9912 normal execution. These became apparent after the conversion from 
   9913 ACPI_DEBUG_PRINT.
   9914 
   9915 Fixed a problem where the CreateField operator could hang if the BitIndex 
   9916 or 
   9917 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
   9918 
   9919 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
   9920 failed with an exception. This also fixes a couple of related RefOf and 
   9921 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
   9922 
   9923 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
   9924 of 
   9925 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
   9926 BZ 
   9927 5480)
   9928 
   9929 Implemented a memory cleanup at the end of the execution of each 
   9930 iteration 
   9931 of an AML While() loop, preventing the accumulation of outstanding 
   9932 objects. 
   9933 (Valery Podrezov, BZ 5427)
   9934 
   9935 Eliminated a chunk of duplicate code in the object resolution code. 
   9936 (Valery 
   9937 Podrezov, BZ 5336)
   9938 
   9939 Fixed several warnings during the 64-bit code generation.
   9940 
   9941 The AcpiSrc source code conversion tool now inserts one line of 
   9942 whitespace 
   9943 after an if() statement that is followed immediately by a comment, 
   9944 improving 
   9945 readability of the Linux code.
   9946 
   9947 Code and Data Size: The current and previous library sizes for the core 
   9948 subsystem are shown below. These are the code and data sizes for the 
   9949 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   9950 These 
   9951 values do not include any ACPI driver or OSPM code. The debug version of 
   9952 the 
   9953 code includes the debug output trace mechanism and has a much larger code 
   9954 and data size. Note that these values will vary depending on the 
   9955 efficiency 
   9956 of the compiler and the compiler options used during generation.
   9957 
   9958   Previous Release:
   9959     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   9960     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   9961   Current Release:
   9962     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   9963     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   9964 
   9965 
   9966 2) iASL Compiler/Disassembler:
   9967 
   9968 Fixed a problem with the disassembly of a BankField operator with a 
   9969 complex 
   9970 expression for the BankValue parameter.
   9971 
   9972 ----------------------------------------
   9973 27 January 2006. Summary of changes for version 20060127:
   9974 
   9975 1) ACPI CA Core Subsystem:
   9976 
   9977 Implemented support in the Resource Manager to allow unresolved 
   9978 namestring 
   9979 references within resource package objects for the _PRT method. This 
   9980 support 
   9981 is in addition to the previously implemented unresolved reference support 
   9982 within the AML parser. If the interpreter slack mode is enabled, these 
   9983 unresolved references will be passed through to the caller as a NULL 
   9984 package 
   9985 entry.
   9986 
   9987 Implemented and deployed new macros and functions for error and warning 
   9988 messages across the subsystem. These macros are simpler and generate less 
   9989 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
   9990 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
   9991 macros remain defined to allow ACPI drivers time to migrate to the new 
   9992 macros.
   9993 
   9994 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
   9995 the 
   9996 Acquire/Release Lock OSL interfaces.
   9997 
   9998 Fixed a problem where Alias ASL operators are sometimes not correctly 
   9999 resolved, in both the interpreter and the iASL compiler.
   10000 
   10001 Fixed several problems with the implementation of the 
   10002 ConcatenateResTemplate 
   10003 ASL operator. As per the ACPI specification, zero length buffers are now 
   10004 treated as a single EndTag. One-length buffers always cause a fatal 
   10005 exception. Non-zero length buffers that do not end with a full 2-byte 
   10006 EndTag 
   10007 cause a fatal exception.
   10008 
   10009 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
   10010 interface. (With assistance from Thomas Renninger)
   10011 
   10012 Code and Data Size: The current and previous library sizes for the core 
   10013 subsystem are shown below. These are the code and data sizes for the 
   10014 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   10015 These 
   10016 values do not include any ACPI driver or OSPM code. The debug version of 
   10017 the 
   10018 code includes the debug output trace mechanism and has a much larger code 
   10019 and data size. Note that these values will vary depending on the 
   10020 efficiency 
   10021 of the compiler and the compiler options used during generation.
   10022 
   10023   Previous Release:
   10024     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   10025     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   10026   Current Release:
   10027     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   10028     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   10029 
   10030 
   10031 2) iASL Compiler/Disassembler:
   10032 
   10033 Fixed an internal error that was generated for any forward references to 
   10034 ASL 
   10035 Alias objects.
   10036 
   10037 ----------------------------------------
   10038 13 January 2006. Summary of changes for version 20060113:
   10039 
   10040 1) ACPI CA Core Subsystem:
   10041 
   10042 Added 2006 copyright to all module headers and signons. This affects 
   10043 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
   10044 utilities.
   10045  
   10046 Enhanced the ACPICA error reporting in order to simplify user migration 
   10047 to 
   10048 the non-debug version of ACPICA. Replaced all instances of the 
   10049 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
   10050 debug 
   10051 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
   10052 respectively. This preserves all error and warning messages in the non-
   10053 debug 
   10054 version of the ACPICA code (this has been referred to as the "debug lite" 
   10055 option.) Over 200 cases were converted to create a total of over 380 
   10056 error/warning messages across the ACPICA code. This increases the code 
   10057 and 
   10058 data size of the default non-debug version of the code somewhat (about 
   10059 13K), 
   10060 but all error/warning reporting may be disabled if desired (and code 
   10061 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
   10062 configuration option. The size of the debug version of ACPICA remains 
   10063 about 
   10064 the same.
   10065 
   10066 Fixed a memory leak within the AML Debugger "Set" command. One object was 
   10067 not properly deleted for every successful invocation of the command.
   10068 
   10069 Code and Data Size: The current and previous library sizes for the core 
   10070 subsystem are shown below. These are the code and data sizes for the 
   10071 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   10072 These 
   10073 values do not include any ACPI driver or OSPM code. The debug version of 
   10074 the 
   10075 code includes the debug output trace mechanism and has a much larger code 
   10076 and data size. Note that these values will vary depending on the 
   10077 efficiency 
   10078 of the compiler and the compiler options used during generation.
   10079 
   10080   Previous Release:
   10081     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   10082     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   10083   Current Release:
   10084     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   10085     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   10086 
   10087 
   10088 2) iASL Compiler/Disassembler:
   10089 
   10090 The compiler now officially supports the ACPI 3.0a specification that was 
   10091 released on December 30, 2005. (Specification is available at 
   10092 www.acpi.info)
   10093 
   10094 ----------------------------------------
   10095 16 December 2005. Summary of changes for version 20051216:
   10096 
   10097 1) ACPI CA Core Subsystem:
   10098 
   10099 Implemented optional support to allow unresolved names within ASL Package 
   10100 objects. A null object is inserted in the package when a named reference 
   10101 cannot be located in the current namespace. Enabled via the interpreter 
   10102 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
   10103 machines 
   10104 that contain such code.
   10105 
   10106 Implemented an optimization to the initialization sequence that can 
   10107 improve 
   10108 boot time. During ACPI device initialization, the _STA method is now run 
   10109 if 
   10110 and only if the _INI method exists. The _STA method is used to determine 
   10111 if 
   10112 the device is present; An _INI can only be run if _STA returns present, 
   10113 but 
   10114 it is a waste of time to run the _STA method if the _INI does not exist. 
   10115 (Prototype and assistance from Dong Wei)
   10116 
   10117 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
   10118 is 
   10119 available in the current compiler. Otherwise, the default (void *) cast 
   10120 is 
   10121 used as before.
   10122 
   10123 Fixed some possible memory leaks found within the execution path of the 
   10124 Break, Continue, If, and CreateField operators. (Valery Podrezov)
   10125 
   10126 Fixed a problem introduced in the 20051202 release where an exception is 
   10127 generated during method execution if a control method attempts to declare 
   10128 another method.
   10129 
   10130 Moved resource descriptor string constants that are used by both the AML 
   10131 disassembler and AML debugger to the common utilities directory so that 
   10132 these components are independent.
   10133 
   10134 Implemented support in the AcpiExec utility (-e switch) to globally 
   10135 ignore 
   10136 exceptions during control method execution (method is not aborted.)
   10137 
   10138 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
   10139 generation.
   10140 
   10141 Code and Data Size: The current and previous library sizes for the core 
   10142 subsystem are shown below. These are the code and data sizes for the 
   10143 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   10144 These 
   10145 values do not include any ACPI driver or OSPM code. The debug version of 
   10146 the 
   10147 code includes the debug output trace mechanism and has a much larger code 
   10148 and data size. Note that these values will vary depending on the 
   10149 efficiency 
   10150 of the compiler and the compiler options used during generation.
   10151 
   10152   Previous Release:
   10153     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   10154     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   10155   Current Release:
   10156     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   10157     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   10158 
   10159 
   10160 2) iASL Compiler/Disassembler:
   10161 
   10162 Fixed a problem where a CPU stack overflow fault could occur if a 
   10163 recursive 
   10164 method call was made from within a Return statement.
   10165 
   10166 ----------------------------------------
   10167 02 December 2005. Summary of changes for version 20051202:
   10168 
   10169 1) ACPI CA Core Subsystem:
   10170 
   10171 Modified the parsing of control methods to no longer create namespace 
   10172 objects during the first pass of the parse. Objects are now created only 
   10173 during the execute phase, at the moment the namespace creation operator 
   10174 is 
   10175 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
   10176 This 
   10177 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
   10178 reentrant control methods are protected by an AML mutex. The mutex will 
   10179 now 
   10180 correctly block multiple threads from attempting to create the same 
   10181 object 
   10182 more than once.
   10183 
   10184 Increased the number of available Owner Ids for namespace object tracking 
   10185 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
   10186 on 
   10187 some machines with a large number of ACPI tables (either static or 
   10188 dynamic).
   10189 
   10190 Fixed a problem with the AcpiExec utility where a fault could occur when 
   10191 the 
   10192 -b switch (batch mode) is used.
   10193 
   10194 Enhanced the namespace dump routine to output the owner ID for each 
   10195 namespace object.
   10196 
   10197 Code and Data Size: The current and previous library sizes for the core 
   10198 subsystem are shown below. These are the code and data sizes for the 
   10199 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   10200 These 
   10201 values do not include any ACPI driver or OSPM code. The debug version of 
   10202 the 
   10203 code includes the debug output trace mechanism and has a much larger code 
   10204 and data size. Note that these values will vary depending on the 
   10205 efficiency 
   10206 of the compiler and the compiler options used during generation.
   10207 
   10208   Previous Release:
   10209     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   10210     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   10211   Current Release:
   10212     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   10213     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   10214 
   10215 
   10216 2) iASL Compiler/Disassembler:
   10217 
   10218 Fixed a parse error during compilation of certain Switch/Case constructs. 
   10219 To 
   10220 simplify the parse, the grammar now allows for multiple Default 
   10221 statements 
   10222 and this error is now detected and flagged during the analysis phase.
   10223 
   10224 Disassembler: The disassembly now includes the contents of the original 
   10225 table header within a comment at the start of the file. This includes the 
   10226 name and version of the original ASL compiler.
   10227 
   10228 ----------------------------------------
   10229 17 November 2005. Summary of changes for version 20051117:
   10230 
   10231 1) ACPI CA Core Subsystem:
   10232 
   10233 Fixed a problem in the AML parser where the method thread count could be 
   10234 decremented below zero if any errors occurred during the method parse 
   10235 phase. 
   10236 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
   10237 machines. 
   10238 This also fixed a related regression with the mechanism that detects and 
   10239 corrects methods that cannot properly handle reentrancy (related to the 
   10240 deployment of the new OwnerId mechanism.)
   10241 
   10242 Eliminated the pre-parsing of control methods (to detect errors) during 
   10243 table load. Related to the problem above, this was causing unwind issues 
   10244 if 
   10245 any errors occurred during the parse, and it seemed to be overkill. A 
   10246 table 
   10247 load should not be aborted if there are problems with any single control 
   10248 method, thus rendering this feature rather pointless.
   10249 
   10250 Fixed a problem with the new table-driven resource manager where an 
   10251 internal 
   10252 buffer overflow could occur for small resource templates.
   10253 
   10254 Implemented a new external interface, AcpiGetVendorResource. This 
   10255 interface 
   10256 will find and return a vendor-defined resource descriptor within a _CRS 
   10257 or 
   10258 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
   10259 Helgaas.
   10260 
   10261 Removed the length limit (200) on string objects as per the upcoming ACPI 
   10262 3.0A specification. This affects the following areas of the interpreter: 
   10263 1) 
   10264 any implicit conversion of a Buffer to a String, 2) a String object 
   10265 result 
   10266 of the ASL Concatentate operator, 3) the String object result of the ASL 
   10267 ToString operator.
   10268 
   10269 Fixed a problem in the Windows OS interface layer (OSL) where a 
   10270 WAIT_FOREVER 
   10271 on a semaphore object would incorrectly timeout. This allows the 
   10272 multithreading features of the AcpiExec utility to work properly under 
   10273 Windows.
   10274 
   10275 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
   10276 the recently added file named "utresrc.c".
   10277 
   10278 Code and Data Size: The current and previous library sizes for the core 
   10279 subsystem are shown below. These are the code and data sizes for the 
   10280 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   10281 These 
   10282 values do not include any ACPI driver or OSPM code. The debug version of 
   10283 the 
   10284 code includes the debug output trace mechanism and has a much larger code 
   10285 and data size. Note that these values will vary depending on the 
   10286 efficiency 
   10287 of the compiler and the compiler options used during generation.
   10288 
   10289   Previous Release:
   10290     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   10291     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   10292   Current Release:
   10293     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   10294     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   10295 
   10296 
   10297 2) iASL Compiler/Disassembler:
   10298 
   10299 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
   10300 specification. For the iASL compiler, this means that string literals 
   10301 within 
   10302 the source ASL can be of any length. 
   10303 
   10304 Enhanced the listing output to dump the AML code for resource descriptors 
   10305 immediately after the ASL code for each descriptor, instead of in a block 
   10306 at 
   10307 the end of the entire resource template.
   10308 
   10309 Enhanced the compiler debug output to dump the entire original parse tree 
   10310 constructed during the parse phase, before any transforms are applied to 
   10311 the 
   10312 tree. The transformed tree is dumped also.
   10313 
   10314 ----------------------------------------
   10315 02 November 2005. Summary of changes for version 20051102:
   10316 
   10317 1) ACPI CA Core Subsystem:
   10318 
   10319 Modified the subsystem initialization sequence to improve GPE support. 
   10320 The 
   10321 GPE initialization has been split into two parts in order to defer 
   10322 execution 
   10323 of the _PRW methods (Power Resources for Wake) until after the hardware 
   10324 is 
   10325 fully initialized and the SCI handler is installed. This allows the _PRW 
   10326 methods to access fields protected by the Global Lock. This will fix 
   10327 systems 
   10328 where a NO_GLOBAL_LOCK exception has been seen during initialization.
   10329 
   10330 Converted the ACPI internal object disassemble and display code within 
   10331 the 
   10332 AML debugger to fully table-driven operation, reducing code size and 
   10333 increasing maintainability.
   10334 
   10335 Fixed a regression with the ConcatenateResTemplate() ASL operator 
   10336 introduced 
   10337 in the 20051021 release.
   10338 
   10339 Implemented support for "local" internal ACPI object types within the 
   10340 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
   10341 These local types include RegionFields, BankFields, IndexFields, Alias, 
   10342 and 
   10343 reference objects.
   10344 
   10345 Moved common AML resource handling code into a new file, "utresrc.c". 
   10346 This 
   10347 code is shared by both the Resource Manager and the AML Debugger.
   10348 
   10349 Code and Data Size: The current and previous library sizes for the core 
   10350 subsystem are shown below. These are the code and data sizes for the 
   10351 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   10352 These 
   10353 values do not include any ACPI driver or OSPM code. The debug version of 
   10354 the 
   10355 code includes the debug output trace mechanism and has a much larger code 
   10356 and data size. Note that these values will vary depending on the 
   10357 efficiency 
   10358 of the compiler and the compiler options used during generation.
   10359 
   10360   Previous Release:
   10361     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   10362     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   10363   Current Release:
   10364     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   10365     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   10366 
   10367 
   10368 2) iASL Compiler/Disassembler:
   10369 
   10370 Fixed a problem with very large initializer lists (more than 4000 
   10371 elements) 
   10372 for both Buffer and Package objects where the parse stack could overflow.
   10373 
   10374 Enhanced the pre-compile source code scan for non-ASCII characters to 
   10375 ignore 
   10376 characters within comment fields. The scan is now always performed and is 
   10377 no 
   10378 longer optional, detecting invalid characters within a source file 
   10379 immediately rather than during the parse phase or later.
   10380 
   10381 Enhanced the ASL grammar definition to force early reductions on all 
   10382 list-
   10383 style grammar elements so that the overall parse stack usage is greatly 
   10384 reduced. This should improve performance and reduce the possibility of 
   10385 parse 
   10386 stack overflow.
   10387 
   10388 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
   10389 Also, 
   10390 with the addition of a %expected statement, the compiler generates from 
   10391 source with no warnings.
   10392 
   10393 Fixed a possible segment fault in the disassembler if the input filename 
   10394 does not contain a "dot" extension (Thomas Renninger).
   10395 
   10396 ----------------------------------------
   10397 21 October 2005. Summary of changes for version 20051021:
   10398 
   10399 1) ACPI CA Core Subsystem:
   10400 
   10401 Implemented support for the EM64T and other x86-64 processors. This 
   10402 essentially entails recognizing that these processors support non-aligned 
   10403 memory transfers. Previously, all 64-bit processors were assumed to lack 
   10404 hardware support for non-aligned transfers.
   10405 
   10406 Completed conversion of the Resource Manager to nearly full table-driven 
   10407 operation. Specifically, the resource conversion code (convert AML to 
   10408 internal format and the reverse) and the debug code to dump internal 
   10409 resource descriptors are fully table-driven, reducing code and data size 
   10410 and 
   10411 improving maintainability.
   10412 
   10413 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
   10414 word 
   10415 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
   10416 from 
   10417 Alexey Starikovskiy)
   10418 
   10419 Implemented support within the resource conversion code for the Type-
   10420 Specific byte within the various ACPI 3.0 *WordSpace macros.
   10421 
   10422 Fixed some issues within the resource conversion code for the type-
   10423 specific 
   10424 flags for both Memory and I/O address resource descriptors. For Memory, 
   10425 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
   10426 TTP flags into two separate fields.
   10427 
   10428 Code and Data Size: The current and previous library sizes for the core 
   10429 subsystem are shown below. These are the code and data sizes for the 
   10430 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   10431 These 
   10432 values do not include any ACPI driver or OSPM code. The debug version of 
   10433 the 
   10434 code includes the debug output trace mechanism and has a much larger code 
   10435 and data size. Note that these values will vary depending on the 
   10436 efficiency 
   10437 of the compiler and the compiler options used during generation.
   10438 
   10439   Previous Release:
   10440     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   10441     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   10442   Current Release:
   10443     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   10444     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   10445 
   10446 
   10447 
   10448 2) iASL Compiler/Disassembler:
   10449 
   10450 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
   10451 the 
   10452 corresponding ResourceSource string was not also present in a resource 
   10453 descriptor declaration. This restriction caused problems with existing 
   10454 AML/ASL code that includes the Index byte without the string. When such 
   10455 AML 
   10456 was disassembled, it could not be compiled without modification. Further, 
   10457 the modified code created a resource template with a different size than 
   10458 the 
   10459 original, breaking code that used fixed offsets into the resource 
   10460 template 
   10461 buffer.
   10462 
   10463 Removed a recent feature of the disassembler to ignore a lone 
   10464 ResourceIndex 
   10465 byte. This byte is now emitted if present so that the exact AML can be 
   10466 reproduced when the disassembled code is recompiled.
   10467 
   10468 Improved comments and text alignment for the resource descriptor code 
   10469 emitted by the disassembler.
   10470 
   10471 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
   10472 a 
   10473 Register() resource descriptor.
   10474 
   10475 ----------------------------------------
   10476 30 September 2005. Summary of changes for version 20050930:
   10477 
   10478 1) ACPI CA Core Subsystem:
   10479 
   10480 Completed a major overhaul of the Resource Manager code - specifically, 
   10481 optimizations in the area of the AML/internal resource conversion code. 
   10482 The 
   10483 code has been optimized to simplify and eliminate duplicated code, CPU 
   10484 stack 
   10485 use has been decreased by optimizing function parameters and local 
   10486 variables, and naming conventions across the manager have been 
   10487 standardized 
   10488 for clarity and ease of maintenance (this includes function, parameter, 
   10489 variable, and struct/typedef names.) The update may force changes in some 
   10490 driver code, depending on how resources are handled by the host OS.
   10491 
   10492 All Resource Manager dispatch and information tables have been moved to a 
   10493 single location for clarity and ease of maintenance. One new file was 
   10494 created, named "rsinfo.c".
   10495 
   10496 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
   10497 guarantee that the argument is not evaluated twice, making them less 
   10498 prone 
   10499 to macro side-effects. However, since there exists the possibility of 
   10500 additional stack use if a particular compiler cannot optimize them (such 
   10501 as 
   10502 in the debug generation case), the original macros are optionally 
   10503 available.  
   10504 Note that some invocations of the return_VALUE macro may now cause size 
   10505 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
   10506 to 
   10507 eliminate these. (From Randy Dunlap)
   10508 
   10509 Implemented a new mechanism to enable debug tracing for individual 
   10510 control 
   10511 methods. A new external interface, AcpiDebugTrace, is provided to enable 
   10512 this mechanism. The intent is to allow the host OS to easily enable and 
   10513 disable tracing for problematic control methods. This interface can be 
   10514 easily exposed to a user or debugger interface if desired. See the file 
   10515 psxface.c for details.
   10516 
   10517 AcpiUtCallocate will now return a valid pointer if a length of zero is 
   10518 specified - a length of one is used and a warning is issued. This matches 
   10519 the behavior of AcpiUtAllocate.
   10520 
   10521 Code and Data Size: The current and previous library sizes for the core 
   10522 subsystem are shown below. These are the code and data sizes for the 
   10523 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   10524 These 
   10525 values do not include any ACPI driver or OSPM code. The debug version of 
   10526 the 
   10527 code includes the debug output trace mechanism and has a much larger code 
   10528 and data size. Note that these values will vary depending on the 
   10529 efficiency 
   10530 of the compiler and the compiler options used during generation.
   10531 
   10532   Previous Release:
   10533     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   10534     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   10535   Current Release:
   10536     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   10537     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   10538 
   10539 
   10540 2) iASL Compiler/Disassembler:
   10541 
   10542 A remark is issued if the effective compile-time length of a package or 
   10543 buffer is zero. Previously, this was a warning.
   10544 
   10545 ----------------------------------------
   10546 16 September 2005. Summary of changes for version 20050916:
   10547 
   10548 1) ACPI CA Core Subsystem:
   10549 
   10550 Fixed a problem within the Resource Manager where support for the Generic 
   10551 Register descriptor was not fully implemented. This descriptor is now 
   10552 fully 
   10553 recognized, parsed, disassembled, and displayed.
   10554 
   10555 Completely restructured the Resource Manager code to utilize table-driven 
   10556 dispatch and lookup, eliminating many of the large switch() statements. 
   10557 This 
   10558 reduces overall subsystem code size and code complexity. Affects the 
   10559 resource parsing and construction, disassembly, and debug dump output.
   10560 
   10561 Cleaned up and restructured the debug dump output for all resource 
   10562 descriptors. Improved readability of the output and reduced code size.
   10563 
   10564 Fixed a problem where changes to internal data structures caused the 
   10565 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
   10566 
   10567 Code and Data Size: The current and previous library sizes for the core 
   10568 subsystem are shown below. These are the code and data sizes for the 
   10569 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   10570 These 
   10571 values do not include any ACPI driver or OSPM code. The debug version of 
   10572 the 
   10573 code includes the debug output trace mechanism and has a much larger code 
   10574 and data size. Note that these values will vary depending on the 
   10575 efficiency 
   10576 of the compiler and the compiler options used during generation.
   10577 
   10578   Previous Release:
   10579     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   10580     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   10581   Current Release:
   10582     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   10583     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   10584 
   10585 
   10586 2) iASL Compiler/Disassembler:
   10587 
   10588 Updated the disassembler to automatically insert an EndDependentFn() 
   10589 macro 
   10590 into the ASL stream if this macro is missing in the original AML code, 
   10591 simplifying compilation of the resulting ASL module.
   10592 
   10593 Fixed a problem in the disassembler where a disassembled ResourceSource 
   10594 string (within a large resource descriptor) was not surrounded by quotes 
   10595 and 
   10596 not followed by a comma, causing errors when the resulting ASL module was 
   10597 compiled. Also, escape sequences within a ResourceSource string are now 
   10598 handled correctly (especially "\\")
   10599 
   10600 ----------------------------------------
   10601 02 September 2005. Summary of changes for version 20050902:
   10602 
   10603 1) ACPI CA Core Subsystem:
   10604 
   10605 Fixed a problem with the internal Owner ID allocation and deallocation 
   10606 mechanisms for control method execution and recursive method invocation. 
   10607 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
   10608 messages seen on some systems. Recursive method invocation depth is 
   10609 currently limited to 255. (Alexey Starikovskiy)
   10610 
   10611 Completely eliminated all vestiges of support for the "module-level 
   10612 executable code" until this support is fully implemented and debugged. 
   10613 This 
   10614 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
   10615 some systems that invoke this support.
   10616 
   10617 Fixed a problem within the resource manager code where the transaction 
   10618 flags 
   10619 for a 64-bit address descriptor were handled incorrectly in the type-
   10620 specific flag byte.
   10621 
   10622 Consolidated duplicate code within the address descriptor resource 
   10623 manager 
   10624 code, reducing overall subsystem code size.
   10625 
   10626 Fixed a fault when using the AML debugger "disassemble" command to 
   10627 disassemble individual control methods.
   10628 
   10629 Removed references to the "release_current" directory within the Unix 
   10630 release package.
   10631 
   10632 Code and Data Size: The current and previous core subsystem library sizes 
   10633 are shown below. These are the code and data sizes for the acpica.lib 
   10634 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
   10635 include any ACPI driver or OSPM code. The debug version of the code 
   10636 includes 
   10637 the debug output trace mechanism and has a much larger code and data 
   10638 size. 
   10639 Note that these values will vary depending on the efficiency of the 
   10640 compiler 
   10641 and the compiler options used during generation.
   10642 
   10643   Previous Release:
   10644     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   10645     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   10646   Current Release:
   10647     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   10648     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   10649 
   10650 
   10651 2) iASL Compiler/Disassembler:
   10652 
   10653 Implemented an error check for illegal duplicate values in the interrupt 
   10654 and 
   10655 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
   10656 Interrupt().
   10657 
   10658 Implemented error checking for the Irq() and IrqNoFlags() macros to 
   10659 detect 
   10660 too many values in the interrupt list (16 max) and invalid values in the 
   10661 list (range 0 - 15)
   10662 
   10663 The maximum length string literal within an ASL file is now restricted to 
   10664 200 characters as per the ACPI specification.
   10665 
   10666 Fixed a fault when using the -ln option (generate namespace listing).
   10667 
   10668 Implemented an error check to determine if a DescriptorName within a 
   10669 resource descriptor has already been used within the current scope.
   10670 
   10671 ----------------------------------------
   10672 15 August 2005.  Summary of changes for version 20050815:
   10673  
   10674 1) ACPI CA Core Subsystem:
   10675  
   10676 Implemented a full bytewise compare to determine if a table load request 
   10677 is 
   10678 attempting to load a duplicate table. The compare is performed if the 
   10679 table 
   10680 signatures and table lengths match. This will allow different tables with 
   10681 the same OEM Table ID and revision to be loaded - probably against the 
   10682 ACPI 
   10683 specification, but discovered in the field nonetheless.
   10684  
   10685 Added the changes.txt logfile to each of the zipped release packages.
   10686  
   10687 Code and Data Size: Current and previous core subsystem library sizes are 
   10688 shown below. These are the code and data sizes for the acpica.lib 
   10689 produced 
   10690 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10691 any ACPI driver or OSPM code. The debug version of the code includes the 
   10692 debug output trace mechanism and has a much larger code and data size. 
   10693 Note 
   10694 that these values will vary depending on the efficiency of the compiler 
   10695 and 
   10696 the compiler options used during generation.
   10697  
   10698   Previous Release:
   10699     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   10700     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   10701   Current Release:
   10702     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   10703     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   10704  
   10705  
   10706 2) iASL Compiler/Disassembler:
   10707  
   10708 Fixed a problem where incorrect AML code could be generated for Package 
   10709 objects if optimization is disabled (via the -oa switch).
   10710  
   10711 Fixed a problem with where incorrect AML code is generated for variable-
   10712 length packages when the package length is not specified and the number 
   10713 of 
   10714 initializer values is greater than 255.
   10715  
   10716 
   10717 ----------------------------------------
   10718 29 July 2005.  Summary of changes for version 20050729:
   10719 
   10720 1) ACPI CA Core Subsystem:
   10721 
   10722 Implemented support to ignore an attempt to install/load a particular 
   10723 ACPI 
   10724 table more than once. Apparently there exists BIOS code that repeatedly 
   10725 attempts to load the same SSDT upon certain events. With assistance from 
   10726 Venkatesh Pallipadi.
   10727 
   10728 Restructured the main interface to the AML parser in order to correctly 
   10729 handle all exceptional conditions. This will prevent leakage of the 
   10730 OwnerId 
   10731 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
   10732 some 
   10733 machines. With assistance from Alexey Starikovskiy.
   10734 
   10735 Support for "module level code" has been disabled in this version due to 
   10736 a 
   10737 number of issues that have appeared on various machines. The support can 
   10738 be 
   10739 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
   10740 compilation. When the issues are fully resolved, the code will be enabled 
   10741 by 
   10742 default again.
   10743 
   10744 Modified the internal functions for debug print support to define the 
   10745 FunctionName parameter as a (const char *) for compatibility with 
   10746 compiler 
   10747 built-in macros such as __FUNCTION__, etc.
   10748 
   10749 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
   10750 
   10751 Implemented support to display an object count summary for the AML 
   10752 Debugger 
   10753 commands Object and Methods.
   10754 
   10755 Code and Data Size: Current and previous core subsystem library sizes are 
   10756 shown below. These are the code and data sizes for the acpica.lib 
   10757 produced 
   10758 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10759 any ACPI driver or OSPM code. The debug version of the code includes the 
   10760 debug output trace mechanism and has a much larger code and data size. 
   10761 Note 
   10762 that these values will vary depending on the efficiency of the compiler 
   10763 and 
   10764 the compiler options used during generation.
   10765 
   10766   Previous Release:
   10767     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   10768     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   10769   Current Release:
   10770     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   10771     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   10772 
   10773 
   10774 2) iASL Compiler/Disassembler:
   10775 
   10776 Fixed a regression that appeared in the 20050708 version of the compiler 
   10777 where an error message was inadvertently emitted for invocations of the 
   10778 _OSI 
   10779 reserved control method.
   10780 
   10781 ----------------------------------------
   10782 08 July 2005.  Summary of changes for version 20050708:
   10783 
   10784 1) ACPI CA Core Subsystem:
   10785 
   10786 The use of the CPU stack in the debug version of the subsystem has been 
   10787 considerably reduced. Previously, a debug structure was declared in every 
   10788 function that used the debug macros. This structure has been removed in 
   10789 favor of declaring the individual elements as parameters to the debug 
   10790 functions. This reduces the cumulative stack use during nested execution 
   10791 of 
   10792 ACPI function calls at the cost of a small increase in the code size of 
   10793 the 
   10794 debug version of the subsystem. With assistance from Alexey Starikovskiy 
   10795 and 
   10796 Len Brown.
   10797 
   10798 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
   10799 headers to define a macro that will return the current function name at 
   10800 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
   10801 by 
   10802 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
   10803 compiler-dependent header, the function name is saved on the CPU stack 
   10804 (one 
   10805 pointer per function.) This mechanism is used because apparently there 
   10806 exists no standard ANSI-C defined macro that that returns the function 
   10807 name.
   10808 
   10809 Redesigned and reimplemented the "Owner ID" mechanism used to track 
   10810 namespace objects created/deleted by ACPI tables and control method 
   10811 execution. A bitmap is now used to allocate and free the IDs, thus 
   10812 solving 
   10813 the wraparound problem present in the previous implementation. The size 
   10814 of 
   10815 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
   10816 Starikovskiy).
   10817 
   10818 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
   10819 bitfield 
   10820 flag definitions within the headers for the predefined ACPI tables. These 
   10821 have been replaced by UINT8_BIT in order to increase the code portability 
   10822 of 
   10823 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
   10824 eliminate bitfields entirely because of a lack of portability.
   10825 
   10826 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
   10827 This 
   10828 is a frequently used function and this improvement increases the 
   10829 performance 
   10830 of the entire subsystem (Alexey Starikovskiy).
   10831 
   10832 Fixed several possible memory leaks and the inverse - premature object 
   10833 deletion (Alexey Starikovskiy).
   10834 
   10835 Code and Data Size: Current and previous core subsystem library sizes are 
   10836 shown below. These are the code and data sizes for the acpica.lib 
   10837 produced 
   10838 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10839 any ACPI driver or OSPM code. The debug version of the code includes the 
   10840 debug output trace mechanism and has a much larger code and data size. 
   10841 Note 
   10842 that these values will vary depending on the efficiency of the compiler 
   10843 and 
   10844 the compiler options used during generation.
   10845 
   10846   Previous Release:
   10847     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   10848     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   10849   Current Release:
   10850     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   10851     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   10852 
   10853 ----------------------------------------
   10854 24 June 2005.  Summary of changes for version 20050624:
   10855 
   10856 1) ACPI CA Core Subsystem:
   10857 
   10858 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
   10859 the host-defined cache object. This allows the OSL implementation to 
   10860 define 
   10861 and type this object in any manner desired, simplifying the OSL 
   10862 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
   10863 Linux, and should be defined in the OS-specific header file for other 
   10864 operating systems as required.
   10865 
   10866 Changed the interface to AcpiOsAcquireObject to directly return the 
   10867 requested object as the function return (instead of ACPI_STATUS.) This 
   10868 change was made for performance reasons, since this is the purpose of the 
   10869 interface in the first place. AcpiOsAcquireObject is now similar to the 
   10870 AcpiOsAllocate interface.
   10871 
   10872 Implemented a new AML debugger command named Businfo. This command 
   10873 displays 
   10874 information about all devices that have an associate _PRT object. The 
   10875 _ADR, 
   10876 _HID, _UID, and _CID are displayed for these devices.
   10877 
   10878 Modified the initialization sequence in AcpiInitializeSubsystem to call 
   10879 the 
   10880 OSL interface AcpiOslInitialize first, before any local initialization. 
   10881 This 
   10882 change was required because the global initialization now calls OSL 
   10883 interfaces.
   10884 
   10885 Enhanced the Dump command to display the entire contents of Package 
   10886 objects 
   10887 (including all sub-objects and their values.) 
   10888 
   10889 Restructured the code base to split some files because of size and/or 
   10890 because the code logically belonged in a separate file. New files are 
   10891 listed 
   10892 below. All makefiles and project files included in the ACPI CA release 
   10893 have 
   10894 been updated.
   10895     utilities/utcache.c           /* Local cache interfaces */
   10896     utilities/utmutex.c           /* Local mutex support */
   10897     utilities/utstate.c           /* State object support */
   10898     interpreter/parser/psloop.c   /* Main AML parse loop */
   10899 
   10900 Code and Data Size: Current and previous core subsystem library sizes are 
   10901 shown below. These are the code and data sizes for the acpica.lib 
   10902 produced 
   10903 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10904 any ACPI driver or OSPM code. The debug version of the code includes the 
   10905 debug output trace mechanism and has a much larger code and data size. 
   10906 Note 
   10907 that these values will vary depending on the efficiency of the compiler 
   10908 and 
   10909 the compiler options used during generation.
   10910 
   10911   Previous Release:
   10912     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   10913     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   10914   Current Release:
   10915     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   10916     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   10917 
   10918 
   10919 2) iASL Compiler/Disassembler:
   10920 
   10921 Fixed a regression introduced in version 20050513 where the use of a 
   10922 Package 
   10923 object within a Case() statement caused a compile time exception. The 
   10924 original behavior has been restored (a Match() operator is emitted.)
   10925 
   10926 ----------------------------------------
   10927 17 June 2005.  Summary of changes for version 20050617:
   10928 
   10929 1) ACPI CA Core Subsystem:
   10930 
   10931 Moved the object cache operations into the OS interface layer (OSL) to 
   10932 allow 
   10933 the host OS to handle these operations if desired (for example, the Linux 
   10934 OSL will invoke the slab allocator). This support is optional; the 
   10935 compile 
   10936 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
   10937 cache 
   10938 code in the ACPI CA core. The new OSL interfaces are shown below. See 
   10939 utalloc.c for an example implementation, and acpiosxf.h for the exact 
   10940 interface definitions. With assistance from Alexey Starikovskiy.
   10941     AcpiOsCreateCache
   10942     AcpiOsDeleteCache
   10943     AcpiOsPurgeCache
   10944     AcpiOsAcquireObject
   10945     AcpiOsReleaseObject
   10946 
   10947 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
   10948 return 
   10949 and restore a flags parameter. This fits better with many OS lock models. 
   10950 Note: the current execution state (interrupt handler or not) is no longer 
   10951 passed to these interfaces. If necessary, the OSL must determine this 
   10952 state 
   10953 by itself, a simple and fast operation. With assistance from Alexey 
   10954 Starikovskiy.
   10955 
   10956 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
   10957 present if the revision of the RSDP was 2 or greater. According to the 
   10958 ACPI 
   10959 specification, the XSDT is optional in all cases, and the table manager 
   10960 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
   10961 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
   10962 contain 
   10963 only the RSDT.
   10964 
   10965 Fixed an interpreter problem with the Mid() operator in the case of an 
   10966 input 
   10967 string where the resulting output string is of zero length. It now 
   10968 correctly 
   10969 returns a valid, null terminated string object instead of a string object 
   10970 with a null pointer.
   10971 
   10972 Fixed a problem with the control method argument handling to allow a 
   10973 store 
   10974 to an Arg object that already contains an object of type Device. The 
   10975 Device 
   10976 object is now correctly overwritten. Previously, an error was returned.
   10977 
   10978 
   10979 Enhanced the debugger Find command to emit object values in addition to 
   10980 the 
   10981 found object pathnames. The output format is the same as the dump 
   10982 namespace 
   10983 command.
   10984 
   10985 Enhanced the debugger Set command. It now has the ability to set the 
   10986 value 
   10987 of any Named integer object in the namespace (Previously, only method 
   10988 locals 
   10989 and args could be set.)
   10990 
   10991 Code and Data Size: Current and previous core subsystem library sizes are 
   10992 shown below. These are the code and data sizes for the acpica.lib 
   10993 produced 
   10994 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   10995 any ACPI driver or OSPM code. The debug version of the code includes the 
   10996 debug output trace mechanism and has a much larger code and data size. 
   10997 Note 
   10998 that these values will vary depending on the efficiency of the compiler 
   10999 and 
   11000 the compiler options used during generation.
   11001 
   11002   Previous Release:
   11003     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   11004     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   11005   Current Release:
   11006     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   11007     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   11008 
   11009 
   11010 2) iASL Compiler/Disassembler:
   11011 
   11012 Fixed a regression in the disassembler where if/else/while constructs 
   11013 were 
   11014 output incorrectly. This problem was introduced in the previous release 
   11015 (20050526). This problem also affected the single-step disassembly in the 
   11016 debugger.
   11017 
   11018 Fixed a problem where compiling the reserved _OSI method would randomly 
   11019 (but 
   11020 rarely) produce compile errors.
   11021 
   11022 Enhanced the disassembler to emit compilable code in the face of 
   11023 incorrect 
   11024 AML resource descriptors. If the optional ResourceSourceIndex is present, 
   11025 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
   11026 disassembly. Otherwise, the resulting code cannot be compiled without 
   11027 errors.
   11028 
   11029 ----------------------------------------
   11030 26 May 2005.  Summary of changes for version 20050526:
   11031 
   11032 1) ACPI CA Core Subsystem:
   11033 
   11034 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
   11035 the module level (not within a control method.) These opcodes are 
   11036 executed 
   11037 exactly once at the time the table is loaded. This type of code was legal 
   11038 up 
   11039 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
   11040 in 
   11041 order to provide backwards compatibility with earlier BIOS 
   11042 implementations. 
   11043 This eliminates the "Encountered executable code at module level" warning 
   11044 that was previously generated upon detection of such code.
   11045 
   11046 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
   11047 inadvertently be generated during the lookup of namespace objects in the 
   11048 second pass parse of ACPI tables and control methods. It appears that 
   11049 this 
   11050 problem could occur during the resolution of forward references to 
   11051 namespace 
   11052 objects.
   11053 
   11054 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
   11055 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
   11056 allows the deadlock detection debug code to be compiled out in the normal 
   11057 case, improving mutex performance (and overall subsystem performance) 
   11058 considerably.
   11059 
   11060 Implemented a handful of miscellaneous fixes for possible memory leaks on 
   11061 error conditions and error handling control paths. These fixes were 
   11062 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
   11063 
   11064 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
   11065 (tbxfroot.c) 
   11066 to prevent a fault in this error case.
   11067 
   11068 Code and Data Size: Current and previous core subsystem library sizes are 
   11069 shown below. These are the code and data sizes for the acpica.lib 
   11070 produced 
   11071 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11072 any ACPI driver or OSPM code. The debug version of the code includes the 
   11073 debug output trace mechanism and has a much larger code and data size. 
   11074 Note 
   11075 that these values will vary depending on the efficiency of the compiler 
   11076 and 
   11077 the compiler options used during generation.
   11078 
   11079   Previous Release:
   11080     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   11081     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   11082   Current Release:
   11083     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   11084     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   11085 
   11086 
   11087 2) iASL Compiler/Disassembler:
   11088 
   11089 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
   11090 the module level (not within a control method.) These operators will be 
   11091 executed once at the time the table is loaded. This type of code was 
   11092 legal 
   11093 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
   11094 compiler in order to provide backwards compatibility with earlier BIOS 
   11095 ASL 
   11096 code.
   11097 
   11098 The ACPI integer width (specified via the table revision ID or the -r 
   11099 override, 32 or 64 bits) is now used internally during compile-time 
   11100 constant 
   11101 folding to ensure that constants are truncated to 32 bits if necessary. 
   11102 Previously, the revision ID value was only emitted in the AML table 
   11103 header.
   11104 
   11105 An error message is now generated for the Mutex and Method operators if 
   11106 the 
   11107 SyncLevel parameter is outside the legal range of 0 through 15.
   11108 
   11109 Fixed a problem with the Method operator ParameterTypes list handling 
   11110 (ACPI 
   11111 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
   11112 error.  
   11113 The actual underlying implementation of method argument typechecking is 
   11114 still under development, however.
   11115 
   11116 ----------------------------------------
   11117 13 May 2005.  Summary of changes for version 20050513:
   11118 
   11119 1) ACPI CA Core Subsystem:
   11120 
   11121 Implemented support for PCI Express root bridges -- added support for 
   11122 device 
   11123 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
   11124 
   11125 The interpreter now automatically truncates incoming 64-bit constants to 
   11126 32 
   11127 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
   11128 This 
   11129 also affects the iASL compiler constant folding. (Note: as per below, the 
   11130 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
   11131 
   11132 Fixed a problem where string and buffer objects with "static" pointers 
   11133 (pointers to initialization data within an ACPI table) were not handled 
   11134 consistently. The internal object copy operation now always copies the 
   11135 data 
   11136 to a newly allocated buffer, regardless of whether the source object is 
   11137 static or not.
   11138 
   11139 Fixed a problem with the FromBCD operator where an implicit result 
   11140 conversion was improperly performed while storing the result to the 
   11141 target 
   11142 operand. Since this is an "explicit conversion" operator, the implicit 
   11143 conversion should never be performed on the output.
   11144 
   11145 Fixed a problem with the CopyObject operator where a copy to an existing 
   11146 named object did not always completely overwrite the existing object 
   11147 stored 
   11148 at name. Specifically, a buffer-to-buffer copy did not delete the 
   11149 existing 
   11150 buffer.
   11151 
   11152 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
   11153 and 
   11154 structs for consistency.
   11155 
   11156 Code and Data Size: Current and previous core subsystem library sizes are 
   11157 shown below. These are the code and data sizes for the acpica.lib 
   11158 produced 
   11159 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11160 any ACPI driver or OSPM code. The debug version of the code includes the 
   11161 debug output trace mechanism and has a much larger code and data size. 
   11162 Note 
   11163 that these values will vary depending on the efficiency of the compiler 
   11164 and 
   11165 the compiler options used during generation.
   11166 
   11167   Previous Release:
   11168     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   11169     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   11170   Current Release: (Same sizes)
   11171     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   11172     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   11173 
   11174 
   11175 2) iASL Compiler/Disassembler:
   11176 
   11177 The compiler now emits a warning if an attempt is made to generate a 64-
   11178 bit 
   11179 integer constant from within a 32-bit ACPI table (Revision < 2). The 
   11180 integer 
   11181 is truncated to 32 bits.
   11182 
   11183 Fixed a problem with large package objects: if the static length of the 
   11184 package is greater than 255, the "variable length package" opcode is 
   11185 emitted. Previously, this caused an error. This requires an update to the 
   11186 ACPI spec, since it currently (incorrectly) states that packages larger 
   11187 than 
   11188 255 elements are not allowed.
   11189 
   11190 The disassembler now correctly handles variable length packages and 
   11191 packages 
   11192 larger than 255 elements.
   11193 
   11194 ----------------------------------------
   11195 08 April 2005.  Summary of changes for version 20050408:
   11196 
   11197 1) ACPI CA Core Subsystem:
   11198 
   11199 Fixed three cases in the interpreter where an "index" argument to an ASL 
   11200 function was still (internally) 32 bits instead of the required 64 bits. 
   11201 This was the Index argument to the Index, Mid, and Match operators.
   11202 
   11203 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
   11204 is 
   11205 not a POSIX-defined function and not present in most kernel-level C 
   11206 libraries. All references to the C library strupr function have been 
   11207 removed 
   11208 from the headers.
   11209 
   11210 Completed the deployment of static functions/prototypes. All prototypes 
   11211 with 
   11212 the static attribute have been moved from the headers to the owning C 
   11213 file.
   11214 
   11215 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
   11216 utility). This option allows the utility to extract individual ACPI 
   11217 tables 
   11218 from the output of AcpiDmp. It provides the same functionality of the 
   11219 acpixtract.pl perl script without the worry of setting the correct perl 
   11220 options. AcpiBin runs on Windows and has not yet been generated/validated 
   11221 in 
   11222 the Linux/Unix environment (but should be soon).
   11223  
   11224 Updated and fixed the table dump option for AcpiBin (-d). This option 
   11225 converts a single ACPI table to a hex/ascii file, similar to the output 
   11226 of 
   11227 AcpiDmp.
   11228 
   11229 Code and Data Size: Current and previous core subsystem library sizes are 
   11230 shown below. These are the code and data sizes for the acpica.lib 
   11231 produced 
   11232 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11233 any ACPI driver or OSPM code. The debug version of the code includes the 
   11234 debug output trace mechanism and has a much larger code and data size. 
   11235 Note 
   11236 that these values will vary depending on the efficiency of the compiler 
   11237 and 
   11238 the compiler options used during generation.
   11239 
   11240   Previous Release:
   11241     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   11242     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   11243   Current Release:
   11244     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   11245     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   11246 
   11247 
   11248 2) iASL Compiler/Disassembler:
   11249 
   11250 Disassembler fix: Added a check to ensure that the table length found in 
   11251 the 
   11252 ACPI table header within the input file is not longer than the actual 
   11253 input 
   11254 file size. This indicates some kind of file or table corruption.
   11255 
   11256 ----------------------------------------
   11257 29 March 2005.  Summary of changes for version 20050329:
   11258 
   11259 1) ACPI CA Core Subsystem:
   11260 
   11261 An error is now generated if an attempt is made to create a Buffer Field 
   11262 of 
   11263 length zero (A CreateField with a length operand of zero.)
   11264 
   11265 The interpreter now issues a warning whenever executable code at the 
   11266 module 
   11267 level is detected during ACPI table load. This will give some idea of the 
   11268 prevalence of this type of code.
   11269 
   11270 Implemented support for references to named objects (other than control 
   11271 methods) within package objects.
   11272 
   11273 Enhanced package object output for the debug object. Package objects are 
   11274 now 
   11275 completely dumped, showing all elements.
   11276 
   11277 Enhanced miscellaneous object output for the debug object. Any object can 
   11278 now be written to the debug object (for example, a device object can be 
   11279 written, and the type of the object will be displayed.)
   11280 
   11281 The "static" qualifier has been added to all local functions across both 
   11282 the 
   11283 core subsystem and the iASL compiler.
   11284 
   11285 The number of "long" lines (> 80 chars) within the source has been 
   11286 significantly reduced, by about 1/3.
   11287 
   11288 Cleaned up all header files to ensure that all CA/iASL functions are 
   11289 prototyped (even static functions) and the formatting is consistent.
   11290 
   11291 Two new header files have been added, acopcode.h and acnames.h.
   11292 
   11293 Removed several obsolete functions that were no longer used.
   11294 
   11295 Code and Data Size: Current and previous core subsystem library sizes are 
   11296 shown below. These are the code and data sizes for the acpica.lib 
   11297 produced 
   11298 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11299 any ACPI driver or OSPM code. The debug version of the code includes the 
   11300 debug output trace mechanism and has a much larger code and data size. 
   11301 Note 
   11302 that these values will vary depending on the efficiency of the compiler 
   11303 and 
   11304 the compiler options used during generation.
   11305 
   11306   Previous Release:
   11307     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   11308     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   11309   Current Release:
   11310     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   11311     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   11312 
   11313 
   11314 
   11315 2) iASL Compiler/Disassembler:
   11316 
   11317 Fixed a problem with the resource descriptor generation/support. For the 
   11318 ResourceSourceIndex and the ResourceSource fields, both must be present, 
   11319 or 
   11320 both must be not present - can't have one without the other.
   11321 
   11322 The compiler now returns non-zero from the main procedure if any errors 
   11323 have 
   11324 occurred during the compilation.
   11325 
   11326 
   11327 ----------------------------------------
   11328 09 March 2005.  Summary of changes for version 20050309:
   11329 
   11330 1) ACPI CA Core Subsystem:
   11331 
   11332 The string-to-buffer implicit conversion code has been modified again 
   11333 after 
   11334 a change to the ACPI specification.  In order to match the behavior of 
   11335 the 
   11336 other major ACPI implementation, the target buffer is no longer truncated 
   11337 if 
   11338 the source string is smaller than an existing target buffer. This change 
   11339 requires an update to the ACPI spec, and should eliminate the recent 
   11340 AE_AML_BUFFER_LIMIT issues.
   11341 
   11342 The "implicit return" support was rewritten to a new algorithm that 
   11343 solves 
   11344 the general case. Rather than attempt to determine when a method is about 
   11345 to 
   11346 exit, the result of every ASL operator is saved momentarily until the 
   11347 very 
   11348 next ASL operator is executed. Therefore, no matter how the method exits, 
   11349 there will always be a saved implicit return value. This feature is only 
   11350 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
   11351 eliminate 
   11352 AE_AML_NO_RETURN_VALUE errors when enabled.
   11353 
   11354 Implemented implicit conversion support for the predicate (operand) of 
   11355 the 
   11356 If, Else, and While operators. String and Buffer arguments are 
   11357 automatically 
   11358 converted to Integers.
   11359 
   11360 Changed the string-to-integer conversion behavior to match the new ACPI 
   11361 errata: "If no integer object exists, a new integer is created. The ASCII 
   11362 string is interpreted as a hexadecimal constant. Each string character is 
   11363 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
   11364 with the first character as the most significant digit, and ending with 
   11365 the 
   11366 first non-hexadecimal character or end-of-string." This means that the 
   11367 first 
   11368 non-hex character terminates the conversion and this is the code that was 
   11369 changed.
   11370 
   11371 Fixed a problem where the ObjectType operator would fail (fault) when 
   11372 used 
   11373 on an Index of a Package which pointed to a null package element. The 
   11374 operator now properly returns zero (Uninitialized) in this case.
   11375 
   11376 Fixed a problem where the While operator used excessive memory by not 
   11377 properly popping the result stack during execution. There was no memory 
   11378 leak 
   11379 after execution, however. (Code provided by Valery Podrezov.)
   11380 
   11381 Fixed a problem where references to control methods within Package 
   11382 objects 
   11383 caused the method to be invoked, instead of producing a reference object 
   11384 pointing to the method.
   11385 
   11386 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
   11387 to 
   11388 improve performance and reduce code size. (Code provided by Alexey 
   11389 Starikovskiy.)
   11390 
   11391 Code and Data Size: Current and previous core subsystem library sizes are 
   11392 shown below. These are the code and data sizes for the acpica.lib 
   11393 produced 
   11394 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11395 any ACPI driver or OSPM code. The debug version of the code includes the 
   11396 debug output trace mechanism and has a much larger code and data size. 
   11397 Note 
   11398 that these values will vary depending on the efficiency of the compiler 
   11399 and 
   11400 the compiler options used during generation.
   11401 
   11402   Previous Release:
   11403     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   11404     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   11405   Current Release:
   11406     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   11407     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   11408 
   11409 
   11410 2) iASL Compiler/Disassembler:
   11411 
   11412 Fixed a problem with the Return operator with no arguments. Since the AML 
   11413 grammar for the byte encoding requires an operand for the Return opcode, 
   11414 the 
   11415 compiler now emits a Return(Zero) for this case.  An ACPI specification 
   11416 update has been written for this case.
   11417 
   11418 For tables other than the DSDT, namepath optimization is automatically 
   11419 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
   11420 the 
   11421 compiler has no knowledge of where, and thus cannot optimize namepaths.
   11422 
   11423 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
   11424 inadvertently omitted from the ACPI specification, and will require an 
   11425 update to the spec.
   11426 
   11427 The source file scan for ASCII characters is now optional (-a). This 
   11428 change 
   11429 was made because some vendors place non-ascii characters within comments. 
   11430 However, the scan is simply a brute-force byte compare to ensure all 
   11431 characters in the file are in the range 0x00 to 0x7F.
   11432 
   11433 Fixed a problem with the CondRefOf operator where the compiler was 
   11434 inappropriately checking for the existence of the target. Since the point 
   11435 of 
   11436 the operator is to check for the existence of the target at run-time, the 
   11437 compiler no longer checks for the target existence.
   11438 
   11439 Fixed a problem where errors generated from the internal AML interpreter 
   11440 during constant folding were not handled properly, causing a fault.
   11441 
   11442 Fixed a problem with overly aggressive range checking for the Stall 
   11443 operator. The valid range (max 255) is now only checked if the operand is 
   11444 of 
   11445 type Integer. All other operand types cannot be statically checked.
   11446 
   11447 Fixed a problem where control method references within the RefOf, 
   11448 DeRefOf, 
   11449 and ObjectType operators were not treated properly. They are now treated 
   11450 as 
   11451 actual references, not method invocations.
   11452 
   11453 Fixed and enhanced the "list namespace" option (-ln). This option was 
   11454 broken 
   11455 a number of releases ago.
   11456 
   11457 Improved error handling for the Field, IndexField, and BankField 
   11458 operators. 
   11459 The compiler now cleanly reports and recovers from errors in the field 
   11460 component (FieldUnit) list.
   11461 
   11462 Fixed a disassembler problem where the optional ResourceDescriptor fields 
   11463 TRS and TTP were not always handled correctly.
   11464 
   11465 Disassembler - Comments in output now use "//" instead of "/*"
   11466 
   11467 ----------------------------------------
   11468 28 February 2005.  Summary of changes for version 20050228:
   11469 
   11470 1) ACPI CA Core Subsystem:
   11471 
   11472 Fixed a problem where the result of an Index() operator (an object 
   11473 reference) must increment the reference count on the target object for 
   11474 the 
   11475 life of the object reference.
   11476 
   11477 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
   11478 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
   11479 WordSpace 
   11480 resource descriptors.
   11481 
   11482 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
   11483 Space Descriptor" string, indicating interpreter support for the 
   11484 descriptors 
   11485 above.
   11486 
   11487 Implemented header support for the new ACPI 3.0 FADT flag bits.
   11488 
   11489 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
   11490 PM1 
   11491 status/enable registers.
   11492 
   11493 Updated header support for the MADT processor local Apic struct and MADT 
   11494 platform interrupt source struct for new ACPI 3.0 fields.
   11495 
   11496 Implemented header support for the SRAT and SLIT ACPI tables.
   11497 
   11498 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
   11499 flag 
   11500 at runtime.
   11501 
   11502 Code and Data Size: Current and previous core subsystem library sizes are 
   11503 shown below. These are the code and data sizes for the acpica.lib 
   11504 produced 
   11505 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11506 any ACPI driver or OSPM code. The debug version of the code includes the 
   11507 debug output trace mechanism and has a much larger code and data size. 
   11508 Note 
   11509 that these values will vary depending on the efficiency of the compiler 
   11510 and 
   11511 the compiler options used during generation.
   11512 
   11513   Previous Release:
   11514     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   11515     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   11516   Current Release:
   11517     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   11518     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   11519 
   11520 
   11521 2) iASL Compiler/Disassembler:
   11522 
   11523 Fixed a problem with the internal 64-bit String-to-integer conversion 
   11524 with 
   11525 strings less than two characters long.
   11526 
   11527 Fixed a problem with constant folding where the result of the Index() 
   11528 operator can not be considered a constant. This means that Index() cannot 
   11529 be 
   11530 a type3 opcode and this will require an update to the ACPI specification.
   11531 
   11532 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
   11533 descriptor fields. These fields were inadvertently ignored and not output 
   11534 in 
   11535 the disassembly of the resource descriptor.
   11536 
   11537 
   11538  ----------------------------------------
   11539 11 February 2005.  Summary of changes for version 20050211:
   11540 
   11541 1) ACPI CA Core Subsystem:
   11542 
   11543 Implemented ACPI 3.0 support for implicit conversion within the Match() 
   11544 operator. MatchObjects can now be of type integer, buffer, or string 
   11545 instead 
   11546 of just type integer.  Package elements are implicitly converted to the 
   11547 type 
   11548 of the MatchObject. This change aligns the behavior of Match() with the 
   11549 behavior of the other logical operators (LLess(), etc.) It also requires 
   11550 an 
   11551 errata change to the ACPI specification as this support was intended for 
   11552 ACPI 3.0, but was inadvertently omitted.
   11553 
   11554 Fixed a problem with the internal implicit "to buffer" conversion. 
   11555 Strings 
   11556 that are converted to buffers will cause buffer truncation if the string 
   11557 is 
   11558 smaller than the target buffer. Integers that are converted to buffers 
   11559 will 
   11560 not cause buffer truncation, only zero extension (both as per the ACPI 
   11561 spec.) The problem was introduced when code was added to truncate the 
   11562 buffer, but this should not be performed in all cases, only the string 
   11563 case.
   11564 
   11565 Fixed a problem with the Buffer and Package operators where the 
   11566 interpreter 
   11567 would get confused if two such operators were used as operands to an ASL 
   11568 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
   11569 stack was not being popped after the execution of these operators, 
   11570 resulting 
   11571 in an AE_NO_RETURN_VALUE exception.
   11572 
   11573 Fixed a problem with constructs of the form Store(Index(...),...). The 
   11574 reference object returned from Index was inadvertently resolved to an 
   11575 actual 
   11576 value. This problem was introduced in version 20050114 when the behavior 
   11577 of 
   11578 Store() was modified to restrict the object types that can be used as the 
   11579 source operand (to match the ACPI specification.)
   11580 
   11581 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
   11582 
   11583 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
   11584 
   11585 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
   11586 
   11587 Code and Data Size: Current and previous core subsystem library sizes are 
   11588 shown below. These are the code and data sizes for the acpica.lib 
   11589 produced 
   11590 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11591 any ACPI driver or OSPM code. The debug version of the code includes the 
   11592 debug output trace mechanism and has a much larger code and data size. 
   11593 Note 
   11594 that these values will vary depending on the efficiency of the compiler 
   11595 and 
   11596 the compiler options used during generation.
   11597 
   11598   Previous Release:
   11599     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
   11600     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
   11601   Current Release:
   11602     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   11603     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   11604 
   11605 
   11606 2) iASL Compiler/Disassembler:
   11607 
   11608 Fixed a code generation problem in the constant folding optimization code 
   11609 where incorrect code was generated if a constant was reduced to a buffer 
   11610 object (i.e., a reduced type 5 opcode.)
   11611 
   11612 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
   11613 incorrect return type in the internal opcode information table.
   11614 
   11615 ----------------------------------------
   11616 25 January 2005.  Summary of changes for version 20050125:
   11617 
   11618 1) ACPI CA Core Subsystem:
   11619 
   11620 Fixed a recently introduced problem with the Global Lock where the 
   11621 underlying semaphore was not created.  This problem was introduced in 
   11622 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
   11623 Acquire() operation on _GL.
   11624 
   11625 The local object cache is now optional, and is disabled by default. Both 
   11626 AcpiExec and the iASL compiler enable the cache because they run in user 
   11627 mode and this enhances their performance. #define 
   11628 ACPI_ENABLE_OBJECT_CACHE 
   11629 to enable the local cache.
   11630 
   11631 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
   11632 the 
   11633 optional "implicit return" support where an error was returned if no 
   11634 return 
   11635 object was expected, but one was implicitly returned. AE_OK is now 
   11636 returned 
   11637 in this case and the implicitly returned object is deleted. 
   11638 AcpiUtEvaluateObject is only occasionally used, and only to execute 
   11639 reserved 
   11640 methods such as _STA and _INI where the return type is known up front.
   11641 
   11642 Fixed a few issues with the internal convert-to-integer code. It now 
   11643 returns 
   11644 an error if an attempt is made to convert a null string, a string of only 
   11645 blanks/tabs, or a zero-length buffer. This affects both implicit 
   11646 conversion 
   11647 and explicit conversion via the ToInteger() operator.
   11648 
   11649 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
   11650 is 
   11651 not needed for normal operation and should increase the performance of 
   11652 the 
   11653 entire subsystem. The code remains in case it is needed for debug 
   11654 purposes 
   11655 again.
   11656 
   11657 The AcpiExec source and makefile are included in the Unix/Linux package 
   11658 for 
   11659 the first time.
   11660 
   11661 Code and Data Size: Current and previous core subsystem library sizes are 
   11662 shown below. These are the code and data sizes for the acpica.lib 
   11663 produced 
   11664 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11665 any ACPI driver or OSPM code. The debug version of the code includes the 
   11666 debug output trace mechanism and has a much larger code and data size. 
   11667 Note 
   11668 that these values will vary depending on the efficiency of the compiler 
   11669 and 
   11670 the compiler options used during generation.
   11671 
   11672   Previous Release:
   11673     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   11674     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   11675   Current Release:
   11676     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
   11677     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
   11678 
   11679 2) iASL Compiler/Disassembler:
   11680 
   11681 Switch/Case support: A warning is now issued if the type of the Switch 
   11682 value 
   11683 cannot be determined at compile time. For example, Switch(Arg0) will 
   11684 generate the warning, and the type is assumed to be an integer. As per 
   11685 the 
   11686 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
   11687 the 
   11688 warning.
   11689 
   11690 Switch/Case support: Implemented support for buffer and string objects as 
   11691 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
   11692 buffers and strings.
   11693 
   11694 Switch/Case support: The emitted code for the LEqual() comparisons now 
   11695 uses 
   11696 the switch value as the first operand, not the second. The case value is 
   11697 now 
   11698 the second operand, and this allows the case value to be implicitly 
   11699 converted to the type of the switch value, not the other way around.
   11700 
   11701 Switch/Case support: Temporary variables are now emitted immediately 
   11702 within 
   11703 the control method, not at the global level. This means that there are 
   11704 now 
   11705 36 temps available per-method, not 36 temps per-module as was the case 
   11706 with 
   11707 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
   11708 
   11709 ----------------------------------------
   11710 14 January 2005.  Summary of changes for version 20050114:
   11711 
   11712 Added 2005 copyright to all module headers.  This affects every module in 
   11713 the core subsystem, iASL compiler, and the utilities.
   11714 
   11715 1) ACPI CA Core Subsystem:
   11716 
   11717 Fixed an issue with the String-to-Buffer conversion code where the string 
   11718 null terminator was not included in the buffer after conversion, but 
   11719 there 
   11720 is existing ASL that assumes the string null terminator is included. This 
   11721 is 
   11722 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
   11723 introduced in the previous version when the code was updated to correctly 
   11724 set the converted buffer size as per the ACPI specification. The ACPI 
   11725 spec 
   11726 is ambiguous and will be updated to specify that the null terminator must 
   11727 be 
   11728 included in the converted buffer. This also affects the ToBuffer() ASL 
   11729 operator.
   11730 
   11731 Fixed a problem with the Mid() ASL/AML operator where it did not work 
   11732 correctly on Buffer objects. Newly created sub-buffers were not being 
   11733 marked 
   11734 as initialized.
   11735 
   11736 
   11737 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
   11738 performed on the OemId and OemTableId table header fields.  These fields 
   11739 are 
   11740 not null terminated, so strncmp is now used instead of strcmp.
   11741 
   11742 Implemented a restriction on the Store() ASL/AML operator to align the 
   11743 behavior with the ACPI specification.  Previously, any object could be 
   11744 used 
   11745 as the source operand.  Now, the only objects that may be used are 
   11746 Integers, 
   11747 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
   11748 necessary, the original behavior can be restored by enabling the 
   11749 EnableInterpreterSlack flag.
   11750 
   11751 Enhanced the optional "implicit return" support to allow an implicit 
   11752 return 
   11753 value from methods that are invoked externally via the AcpiEvaluateObject 
   11754 interface.  This enables implicit returns from the _STA and _INI methods, 
   11755 for example.
   11756 
   11757 Changed the Revision() ASL/AML operator to return the current version of 
   11758 the 
   11759 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
   11760 returned 
   11761 the supported ACPI version (This is the function of the _REV method).
   11762 
   11763 Updated the _REV predefined method to return the currently supported 
   11764 version 
   11765 of ACPI, now 3.
   11766 
   11767 Implemented batch mode option for the AcpiExec utility (-b).
   11768 
   11769 Code and Data Size: Current and previous core subsystem library sizes are 
   11770 shown below. These are the code and data sizes for the acpica.lib 
   11771 produced 
   11772 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11773 any ACPI driver or OSPM code. The debug version of the code includes the 
   11774 debug output trace mechanism and has a much larger code and data size. 
   11775 Note 
   11776 that these values will vary depending on the efficiency of the compiler 
   11777 and 
   11778 the compiler options used during generation.
   11779 
   11780   Previous Release:
   11781     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   11782     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   11783   Current Release:
   11784     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   11785     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   11786 
   11787 ----------------------------------------
   11788 10 December 2004.  Summary of changes for version 20041210:
   11789 
   11790 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
   11791 ACPI CA core subsystem.
   11792 
   11793 1) ACPI CA Core Subsystem:
   11794 
   11795 Fixed a problem in the ToDecimalString operator where the resulting 
   11796 string 
   11797 length was incorrectly calculated. The length is now calculated exactly, 
   11798 eliminating incorrect AE_STRING_LIMIT exceptions.
   11799 
   11800 Fixed a problem in the ToHexString operator to allow a maximum 200 
   11801 character 
   11802 string to be produced.
   11803 
   11804 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
   11805 copy 
   11806 routine where the length of the resulting buffer was not truncated to the 
   11807 new size (if the target buffer already existed).
   11808 
   11809 Code and Data Size: Current and previous core subsystem library sizes are 
   11810 shown below. These are the code and data sizes for the acpica.lib 
   11811 produced 
   11812 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11813 any ACPI driver or OSPM code. The debug version of the code includes the 
   11814 debug output trace mechanism and has a much larger code and data size. 
   11815 Note 
   11816 that these values will vary depending on the efficiency of the compiler 
   11817 and 
   11818 the compiler options used during generation.
   11819 
   11820   Previous Release:
   11821     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   11822     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   11823   Current Release:
   11824     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   11825     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   11826 
   11827 
   11828 2) iASL Compiler/Disassembler:
   11829 
   11830 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
   11831 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
   11832 Includes support in the disassembler.
   11833 
   11834 Implemented support for the new (ACPI 3.0) parameter to the Register 
   11835 macro, 
   11836 AccessSize.
   11837 
   11838 Fixed a problem where the _HE resource name for the Interrupt macro was 
   11839 referencing bit 0 instead of bit 1.
   11840 
   11841 Implemented check for maximum 255 interrupts in the Interrupt macro.
   11842 
   11843 Fixed a problem with the predefined resource descriptor names where 
   11844 incorrect AML code was generated if the offset within the resource buffer 
   11845 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
   11846 but did not update the surrounding package lengths.
   11847 
   11848 Changes to the Dma macro:  All channels within the channel list must be 
   11849 in 
   11850 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
   11851 optional (default is BusMaster).
   11852 
   11853 Implemented check for maximum 7 data bytes for the VendorShort macro.
   11854 
   11855 The ReadWrite parameter is now optional for the Memory32 and similar 
   11856 macros.
   11857 
   11858 ----------------------------------------
   11859 03 December 2004.  Summary of changes for version 20041203:
   11860 
   11861 1) ACPI CA Core Subsystem:
   11862 
   11863 The low-level field insertion/extraction code (exfldio) has been 
   11864 completely 
   11865 rewritten to eliminate unnecessary complexity, bugs, and boundary 
   11866 conditions.
   11867 
   11868 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
   11869 ToDecimalString 
   11870 operators where the input operand could be inadvertently deleted if no 
   11871 conversion was necessary (e.g., if the input to ToInteger was an Integer 
   11872 object.)
   11873 
   11874 Fixed a problem with the ToDecimalString and ToHexString where an 
   11875 incorrect 
   11876 exception code was returned if the resulting string would be > 200 chars.  
   11877 AE_STRING_LIMIT is now returned.
   11878 
   11879 Fixed a problem with the Concatenate operator where AE_OK was always 
   11880 returned, even if the operation failed.
   11881 
   11882 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
   11883 semaphores to be allocated.
   11884 
   11885 Code and Data Size: Current and previous core subsystem library sizes are 
   11886 shown below. These are the code and data sizes for the acpica.lib 
   11887 produced 
   11888 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11889 any ACPI driver or OSPM code. The debug version of the code includes the 
   11890 debug output trace mechanism and has a much larger code and data size. 
   11891 Note 
   11892 that these values will vary depending on the efficiency of the compiler 
   11893 and 
   11894 the compiler options used during generation.
   11895 
   11896   Previous Release:
   11897     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   11898     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   11899   Current Release:
   11900     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   11901     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   11902 
   11903 
   11904 2) iASL Compiler/Disassembler:
   11905 
   11906 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
   11907 recently introduced in 20041119.
   11908 
   11909 Fixed a problem with the ToUUID macro where the upper nybble of each 
   11910 buffer 
   11911 byte was inadvertently set to zero.
   11912 
   11913 ----------------------------------------
   11914 19 November 2004.  Summary of changes for version 20041119:
   11915 
   11916 1) ACPI CA Core Subsystem:
   11917 
   11918 Fixed a problem in the internal ConvertToInteger routine where new 
   11919 integers 
   11920 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
   11921 converts 
   11922 buffers and strings to integers.
   11923 
   11924 Implemented support to store a value to an Index() on a String object. 
   11925 This 
   11926 is an ACPI 2.0 feature that had not yet been implemented.
   11927 
   11928 Implemented new behavior for storing objects to individual package 
   11929 elements 
   11930 (via the Index() operator). The previous behavior was to invoke the 
   11931 implicit 
   11932 conversion rules if an object was already present at the index.  The new 
   11933 behavior is to simply delete any existing object and directly store the 
   11934 new 
   11935 object. Although the ACPI specification seems unclear on this subject, 
   11936 other 
   11937 ACPI implementations behave in this manner.  (This is the root of the 
   11938 AE_BAD_HEX_CONSTANT issue.)
   11939 
   11940 Modified the RSDP memory scan mechanism to support the extended checksum 
   11941 for 
   11942 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
   11943 RSDP signature is found with a valid checksum.
   11944 
   11945 Code and Data Size: Current and previous core subsystem library sizes are 
   11946 shown below. These are the code and data sizes for the acpica.lib 
   11947 produced 
   11948 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   11949 any ACPI driver or OSPM code. The debug version of the code includes the 
   11950 debug output trace mechanism and has a much larger code and data size. 
   11951 Note 
   11952 that these values will vary depending on the efficiency of the compiler 
   11953 and 
   11954 the compiler options used during generation.
   11955 
   11956   Previous Release:
   11957     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   11958     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   11959   Current Release:
   11960     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   11961     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   11962 
   11963 
   11964 2) iASL Compiler/Disassembler:
   11965 
   11966 Fixed a missing semicolon in the aslcompiler.y file.
   11967 
   11968 ----------------------------------------
   11969 05 November 2004.  Summary of changes for version 20041105:
   11970 
   11971 1) ACPI CA Core Subsystem:
   11972 
   11973 Implemented support for FADT revision 2.  This was an interim table 
   11974 (between 
   11975 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
   11976 
   11977 Implemented optional support to allow uninitialized LocalX and ArgX 
   11978 variables in a control method.  The variables are initialized to an 
   11979 Integer 
   11980 object with a value of zero.  This support is enabled by setting the 
   11981 AcpiGbl_EnableInterpreterSlack flag to TRUE.
   11982 
   11983 Implemented support for Integer objects for the SizeOf operator.  Either 
   11984 4 
   11985 or 8 is returned, depending on the current integer size (32-bit or 64-
   11986 bit, 
   11987 depending on the parent table revision).
   11988 
   11989 Fixed a problem in the implementation of the SizeOf and ObjectType 
   11990 operators 
   11991 where the operand was resolved to a value too early, causing incorrect 
   11992 return values for some objects.
   11993 
   11994 Fixed some possible memory leaks during exceptional conditions.
   11995 
   11996 Code and Data Size: Current and previous core subsystem library sizes are 
   11997 shown below. These are the code and data sizes for the acpica.lib 
   11998 produced 
   11999 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12000 any ACPI driver or OSPM code. The debug version of the code includes the 
   12001 debug output trace mechanism and has a much larger code and data size. 
   12002 Note 
   12003 that these values will vary depending on the efficiency of the compiler 
   12004 and 
   12005 the compiler options used during generation.
   12006 
   12007   Previous Release:
   12008     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   12009     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   12010   Current Release:
   12011     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   12012     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   12013 
   12014 
   12015 2) iASL Compiler/Disassembler:
   12016 
   12017 Implemented support for all ACPI 3.0 reserved names and methods.
   12018 
   12019 Implemented all ACPI 3.0 grammar elements in the front-end, including 
   12020 support for semicolons.
   12021 
   12022 Implemented the ACPI 3.0 Function() and ToUUID() macros
   12023 
   12024 Fixed a problem in the disassembler where a Scope() operator would not be 
   12025 emitted properly if the target of the scope was in another table.
   12026 
   12027 ----------------------------------------
   12028 15 October 2004.  Summary of changes for version 20041015:
   12029 
   12030 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
   12031 evaluation to test/verify the following areas. Other suggestions are 
   12032 welcome. This will result in an increase in the frequency of releases and 
   12033 the number of bug fixes in the next few months.
   12034   - Functional tests for all ASL/AML operators
   12035   - All implicit/explicit type conversions
   12036   - Bit fields and operation regions
   12037   - 64-bit math support and 32-bit-only "truncated" math support
   12038   - Exceptional conditions, both compiler and interpreter
   12039   - Dynamic object deletion and memory leaks
   12040   - ACPI 3.0 support when implemented
   12041   - External interfaces to the ACPI subsystem
   12042 
   12043 
   12044 1) ACPI CA Core Subsystem:
   12045 
   12046 Fixed two alignment issues on 64-bit platforms - within debug statements 
   12047 in 
   12048 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
   12049 Address 
   12050 field within the non-aligned ACPI generic address structure.
   12051 
   12052 Fixed a problem in the Increment and Decrement operators where incorrect 
   12053 operand resolution could result in the inadvertent modification of the 
   12054 original integer when the integer is passed into another method as an 
   12055 argument and the arg is then incremented/decremented.
   12056 
   12057 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
   12058 bit 
   12059 BCD number were truncated during conversion.
   12060 
   12061 Fixed a problem in the ToDecimal operator where the length of the 
   12062 resulting 
   12063 string could be set incorrectly too long if the input operand was a 
   12064 Buffer 
   12065 object.
   12066 
   12067 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
   12068 (0) 
   12069 within a buffer would prematurely terminate a compare between buffer 
   12070 objects.
   12071 
   12072 Added a check for string overflow (>200 characters as per the ACPI 
   12073 specification) during the Concatenate operator with two string operands.
   12074 
   12075 Code and Data Size: Current and previous core subsystem library sizes are 
   12076 shown below. These are the code and data sizes for the acpica.lib 
   12077 produced 
   12078 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12079 any ACPI driver or OSPM code. The debug version of the code includes the 
   12080 debug output trace mechanism and has a much larger code and data size. 
   12081 Note 
   12082 that these values will vary depending on the efficiency of the compiler 
   12083 and 
   12084 the compiler options used during generation.
   12085 
   12086   Previous Release:
   12087     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   12088     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   12089   Current Release:
   12090     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   12091     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   12092 
   12093 
   12094 
   12095 2) iASL Compiler/Disassembler:
   12096 
   12097 Allow the use of the ObjectType operator on uninitialized Locals and Args 
   12098 (returns 0 as per the ACPI specification).
   12099 
   12100 Fixed a problem where the compiler would fault if there was a syntax 
   12101 error 
   12102 in the FieldName of all of the various CreateXXXField operators.
   12103 
   12104 Disallow the use of lower case letters within the EISAID macro, as per 
   12105 the 
   12106 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
   12107 Where 
   12108 U is an uppercase letter and N is a hex digit.
   12109 
   12110 
   12111 ----------------------------------------
   12112 06 October 2004.  Summary of changes for version 20041006:
   12113 
   12114 1) ACPI CA Core Subsystem:
   12115 
   12116 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
   12117 implements a 64-bit timer with 100 nanosecond granularity.
   12118 
   12119 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
   12120 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
   12121 implement 
   12122 the timer with the best clock available. Also, it keeps the core 
   12123 subsystem 
   12124 out of the clock handling business, since the host OS (usually) performs 
   12125 this function.
   12126 
   12127 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
   12128 functions use a 64-bit address which is part of the packed ACPI Generic 
   12129 Address Structure. Since the structure is non-aligned, the alignment 
   12130 macros 
   12131 are now used to extract the address to a local variable before use.
   12132 
   12133 Fixed a problem where the ToInteger operator assumed all input strings 
   12134 were 
   12135 hexadecimal. The operator now handles both decimal strings and hex 
   12136 strings 
   12137 (prefixed with "0x").
   12138 
   12139 Fixed a problem where the string length in the string object created as a 
   12140 result of the internal ConvertToString procedure could be incorrect. This 
   12141 potentially affected all implicit conversions and also the 
   12142 ToDecimalString 
   12143 and ToHexString operators.
   12144 
   12145 Fixed two problems in the ToString operator. If the length parameter was 
   12146 zero, an incorrect string object was created and the value of the input 
   12147 length parameter was inadvertently changed from zero to Ones.
   12148 
   12149 Fixed a problem where the optional ResourceSource string in the 
   12150 ExtendedIRQ 
   12151 resource macro was ignored.
   12152 
   12153 Simplified the interfaces to the internal division functions, reducing 
   12154 code 
   12155 size and complexity.
   12156 
   12157 Code and Data Size: Current and previous core subsystem library sizes are 
   12158 shown below. These are the code and data sizes for the acpica.lib 
   12159 produced 
   12160 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12161 any ACPI driver or OSPM code. The debug version of the code includes the 
   12162 debug output trace mechanism and has a much larger code and data size. 
   12163 Note 
   12164 that these values will vary depending on the efficiency of the compiler 
   12165 and 
   12166 the compiler options used during generation.
   12167 
   12168   Previous Release:
   12169     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   12170     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   12171   Current Release:
   12172     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   12173     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   12174 
   12175 
   12176 2) iASL Compiler/Disassembler:
   12177 
   12178 Implemented support for the ACPI 3.0 Timer operator.
   12179 
   12180 Fixed a problem where the Default() operator was inadvertently ignored in 
   12181 a 
   12182 Switch/Case block.  This was a problem in the translation of the Switch 
   12183 statement to If...Else pairs.
   12184 
   12185 Added support to allow a standalone Return operator, with no parentheses 
   12186 (or 
   12187 operands).
   12188 
   12189 Fixed a problem with code generation for the ElseIf operator where the 
   12190 translated Else...If parse tree was improperly constructed leading to the 
   12191 loss of some code.
   12192 
   12193 ----------------------------------------
   12194 22 September 2004.  Summary of changes for version 20040922:
   12195 
   12196 1) ACPI CA Core Subsystem:
   12197 
   12198 Fixed a problem with the implementation of the LNot() operator where 
   12199 "Ones" 
   12200 was not returned for the TRUE case. Changed the code to return Ones 
   12201 instead 
   12202 of (!Arg) which was usually 1. This change affects iASL constant folding 
   12203 for 
   12204 this operator also.
   12205 
   12206 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
   12207 not 
   12208 initialized properly -- Now zero the entire buffer in this case where the 
   12209 buffer already exists.
   12210 
   12211 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
   12212 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
   12213 related code considerably. This will require changes/updates to all OS 
   12214 interface layers (OSLs.)
   12215 
   12216 Implemented a new external interface, AcpiInstallExceptionHandler, to 
   12217 allow 
   12218 a system exception handler to be installed. This handler is invoked upon 
   12219 any 
   12220 run-time exception that occurs during control method execution.
   12221 
   12222 Added support for the DSDT in AcpiTbFindTable. This allows the 
   12223 DataTableRegion() operator to access the local copy of the DSDT.
   12224 
   12225 Code and Data Size: Current and previous core subsystem library sizes are 
   12226 shown below. These are the code and data sizes for the acpica.lib 
   12227 produced 
   12228 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12229 any ACPI driver or OSPM code. The debug version of the code includes the 
   12230 debug output trace mechanism and has a much larger code and data size. 
   12231 Note 
   12232 that these values will vary depending on the efficiency of the compiler 
   12233 and 
   12234 the compiler options used during generation.
   12235 
   12236   Previous Release:
   12237     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   12238     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   12239   Current Release:
   12240     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   12241     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   12242 
   12243 
   12244 2) iASL Compiler/Disassembler:
   12245 
   12246 Fixed a problem with constant folding and the LNot operator. LNot was 
   12247 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
   12248 This 
   12249 could result in the generation of an incorrect folded/reduced constant.
   12250 
   12251 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
   12252 longer occurs if such a comment is at the very end of the input ASL 
   12253 source 
   12254 file.
   12255 
   12256 Implemented the "-r" option to override the Revision in the table header. 
   12257 The initial use of this option will be to simplify the evaluation of the 
   12258 AML 
   12259 interpreter by allowing a single ASL source module to be compiled for 
   12260 either 
   12261 32-bit or 64-bit integers.
   12262 
   12263 
   12264 ----------------------------------------
   12265 27 August 2004.  Summary of changes for version 20040827:
   12266 
   12267 1) ACPI CA Core Subsystem:
   12268 
   12269 - Implemented support for implicit object conversion in the non-numeric 
   12270 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
   12271 and 
   12272 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
   12273 the second operand is implicitly converted on the fly to match the type 
   12274 of 
   12275 the first operand.  For example:
   12276 
   12277     LEqual (Source1, Source2)
   12278 
   12279 Source1 and Source2 must each evaluate to an integer, a string, or a 
   12280 buffer. 
   12281 The data type of Source1 dictates the required type of Source2. Source2 
   12282 is 
   12283 implicitly converted if necessary to match the type of Source1.
   12284 
   12285 - Updated and corrected the behavior of the string conversion support.  
   12286 The 
   12287 rules concerning conversion of buffers to strings (according to the ACPI 
   12288 specification) are as follows:
   12289 
   12290 ToDecimalString - explicit byte-wise conversion of buffer to string of 
   12291 decimal values (0-255) separated by commas. ToHexString - explicit byte-
   12292 wise 
   12293 conversion of buffer to string of hex values (0-FF) separated by commas. 
   12294 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
   12295 byte 
   12296 copy with no transform except NULL terminated. Any other implicit buffer-
   12297 to-
   12298 string conversion - byte-wise conversion of buffer to string of hex 
   12299 values 
   12300 (0-FF) separated by spaces.
   12301 
   12302 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
   12303 
   12304 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
   12305 was 
   12306 one byte too short in the case of a node in the root scope.  This could 
   12307 cause a fault during debug output.
   12308 
   12309 - Code and Data Size: Current and previous core subsystem library sizes 
   12310 are 
   12311 shown below.  These are the code and data sizes for the acpica.lib 
   12312 produced 
   12313 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12314 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12315 debug output trace mechanism and has a much larger code and data size.  
   12316 Note 
   12317 that these values will vary depending on the efficiency of the compiler 
   12318 and 
   12319 the compiler options used during generation.
   12320 
   12321   Previous Release:
   12322     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   12323     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   12324   Current Release:
   12325     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   12326     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   12327 
   12328 
   12329 2) iASL Compiler/Disassembler:
   12330 
   12331 - Fixed a Linux generation error.
   12332 
   12333 
   12334 ----------------------------------------
   12335 16 August 2004.  Summary of changes for version 20040816:
   12336 
   12337 1) ACPI CA Core Subsystem:
   12338 
   12339 Designed and implemented support within the AML interpreter for the so-
   12340 called "implicit return".  This support returns the result of the last 
   12341 ASL 
   12342 operation within a control method, in the absence of an explicit Return() 
   12343 operator.  A few machines depend on this behavior, even though it is not 
   12344 explicitly supported by the ASL language.  It is optional support that 
   12345 can 
   12346 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
   12347 
   12348 Removed support for the PCI_Config address space from the internal low 
   12349 level 
   12350 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
   12351 support was not used internally, and would not work correctly anyway 
   12352 because 
   12353 the PCI bus number and segment number were not supported.  There are 
   12354 separate interfaces for PCI configuration space access because of the 
   12355 unique 
   12356 interface.
   12357 
   12358 Code and Data Size: Current and previous core subsystem library sizes are 
   12359 shown below.  These are the code and data sizes for the acpica.lib 
   12360 produced 
   12361 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12362 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12363 debug output trace mechanism and has a much larger code and data size.  
   12364 Note 
   12365 that these values will vary depending on the efficiency of the compiler 
   12366 and 
   12367 the compiler options used during generation.
   12368 
   12369   Previous Release:
   12370     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   12371     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   12372   Current Release:
   12373     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   12374     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   12375 
   12376 
   12377 2) iASL Compiler/Disassembler:
   12378 
   12379 Fixed a problem where constants in ASL expressions at the root level (not 
   12380 within a control method) could be inadvertently truncated during code 
   12381 generation.  This problem was introduced in the 20040715 release.
   12382 
   12383 
   12384 ----------------------------------------
   12385 15 July 2004.  Summary of changes for version 20040715:
   12386 
   12387 1) ACPI CA Core Subsystem:
   12388 
   12389 Restructured the internal HW GPE interfaces to pass/track the current 
   12390 state 
   12391 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
   12392 increase flexibility of the interfaces.
   12393 
   12394 Implemented a "lexicographical compare" for String and Buffer objects 
   12395 within 
   12396 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
   12397 - 
   12398 as per further clarification to the ACPI specification.  Behavior is 
   12399 similar 
   12400 to C library "strcmp".
   12401 
   12402 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
   12403 external function.  In the 32-bit non-debug case, the stack use has been 
   12404 reduced from 168 bytes to 32 bytes.
   12405 
   12406 Deployed a new run-time configuration flag, 
   12407 AcpiGbl_EnableInterpreterSlack, 
   12408 whose purpose is to allow the AML interpreter to forgive certain bad AML 
   12409 constructs.  Default setting is FALSE.
   12410 
   12411 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
   12412 IO 
   12413 support code.  If enabled, it allows field access to go beyond the end of 
   12414 a 
   12415 region definition if the field is within the region length rounded up to 
   12416 the 
   12417 next access width boundary (a common coding error.)
   12418 
   12419 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
   12420 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
   12421 these 
   12422 symbols are lowercased by the latest version of the AcpiSrc tool.
   12423 
   12424 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
   12425 rename "Register" to simply "Reg" to prevent certain compilers from 
   12426 complaining.
   12427 
   12428 Code and Data Size: Current and previous core subsystem library sizes are 
   12429 shown below.  These are the code and data sizes for the acpica.lib 
   12430 produced 
   12431 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12432 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12433 debug output trace mechanism and has a much larger code and data size.  
   12434 Note 
   12435 that these values will vary depending on the efficiency of the compiler 
   12436 and 
   12437 the compiler options used during generation.
   12438 
   12439   Previous Release:
   12440     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   12441     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   12442   Current Release:
   12443     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   12444     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   12445 
   12446 
   12447 2) iASL Compiler/Disassembler:
   12448 
   12449 Implemented full support for Package objects within the Case() operator.  
   12450 Note: The Break() operator is currently not supported within Case blocks 
   12451 (TermLists) as there is some question about backward compatibility with 
   12452 ACPI 
   12453 1.0 interpreters.
   12454 
   12455 
   12456 Fixed a problem where complex terms were not supported properly within 
   12457 the 
   12458 Switch() operator.
   12459 
   12460 Eliminated extraneous warning for compiler-emitted reserved names of the 
   12461 form "_T_x".  (Used in Switch/Case operators.)
   12462 
   12463 Eliminated optimization messages for "_T_x" objects and small constants 
   12464 within the DefinitionBlock operator.
   12465 
   12466 
   12467 ----------------------------------------
   12468 15 June 2004.  Summary of changes for version 20040615:
   12469 
   12470 1) ACPI CA Core Subsystem:
   12471 
   12472 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   12473 the 
   12474 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   12475 LLessEqual.
   12476 
   12477 All directory names in the entire source package are lower case, as they 
   12478 were in earlier releases.
   12479 
   12480 Implemented "Disassemble" command in the AML debugger that will 
   12481 disassemble 
   12482 a single control method.
   12483 
   12484 Code and Data Size: Current and previous core subsystem library sizes are 
   12485 shown below.  These are the code and data sizes for the acpica.lib 
   12486 produced 
   12487 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12488 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12489 debug output trace mechanism and has a much larger code and data size.  
   12490 Note 
   12491 that these values will vary depending on the efficiency of the compiler 
   12492 and 
   12493 the compiler options used during generation.
   12494 
   12495   Previous Release:
   12496     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   12497     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   12498 
   12499   Current Release:
   12500     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   12501     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   12502 
   12503 
   12504 2) iASL Compiler/Disassembler:
   12505 
   12506 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   12507 the 
   12508 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   12509 LLessEqual.
   12510 
   12511 All directory names in the entire source package are lower case, as they 
   12512 were in earlier releases.
   12513 
   12514 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
   12515 not found.
   12516 
   12517 Fixed an issue with the Windows version of the compiler where later 
   12518 versions 
   12519 of Windows place the FADT in the registry under the name "FADT" and not 
   12520 "FACP" as earlier versions did.  This applies when using the -g or -
   12521 d<nofilename> options.  The compiler now looks for both strings as 
   12522 necessary.
   12523 
   12524 Fixed a problem with compiler namepath optimization where a namepath 
   12525 within 
   12526 the Scope() operator could not be optimized if the namepath was a subpath 
   12527 of 
   12528 the current scope path.
   12529 
   12530 ----------------------------------------
   12531 27 May 2004.  Summary of changes for version 20040527:
   12532 
   12533 1) ACPI CA Core Subsystem:
   12534 
   12535 Completed a new design and implementation for EBDA (Extended BIOS Data 
   12536 Area) 
   12537 support in the RSDP scan code.  The original code improperly scanned for 
   12538 the 
   12539 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
   12540 method 
   12541 is to first obtain the EBDA pointer from within the BIOS data area, then 
   12542 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
   12543 if 
   12544 any machines that place the RSDP in the EBDA, however.
   12545 
   12546 Integrated a fix for a possible fault during evaluation of BufferField 
   12547 arguments.  Obsolete code that was causing the problem was removed.
   12548 
   12549 Found and fixed a problem in the Field Support Code where data could be 
   12550 corrupted on a bit field read that starts on an aligned boundary but does 
   12551 not end on an aligned boundary.  Merged the read/write "datum length" 
   12552 calculation code into a common procedure.
   12553 
   12554 Rolled in a couple of changes to the FreeBSD-specific header.
   12555 
   12556 
   12557 Code and Data Size: Current and previous core subsystem library sizes are 
   12558 shown below.  These are the code and data sizes for the acpica.lib 
   12559 produced 
   12560 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12561 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12562 debug output trace mechanism and has a much larger code and data size.  
   12563 Note 
   12564 that these values will vary depending on the efficiency of the compiler 
   12565 and 
   12566 the compiler options used during generation.
   12567 
   12568   Previous Release:
   12569     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   12570     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   12571   Current Release:
   12572     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   12573     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   12574 
   12575 
   12576 2) iASL Compiler/Disassembler:
   12577 
   12578 Fixed a generation warning produced by some overly-verbose compilers for 
   12579 a 
   12580 64-bit constant.
   12581 
   12582 ----------------------------------------
   12583 14 May 2004.  Summary of changes for version 20040514:
   12584 
   12585 1) ACPI CA Core Subsystem:
   12586 
   12587 Fixed a problem where hardware GPE enable bits sometimes not set properly 
   12588 during and after GPE method execution.  Result of 04/27 changes.
   12589 
   12590 Removed extra "clear all GPEs" when sleeping/waking.
   12591 
   12592 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
   12593 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
   12594 to 
   12595 the new AcpiEv* calls as appropriate.
   12596 
   12597 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
   12598 is 
   12599 now "Microsoft Windows NT" for maximum compatibility.  However this can 
   12600 be 
   12601 changed by modifying the acconfig.h file.
   12602 
   12603 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
   12604 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
   12605 
   12606 Run _INI methods on ThermalZone objects.  This is against the ACPI 
   12607 specification, but there is apparently ASL code in the field that has 
   12608 these 
   12609 _INI methods, and apparently "other" AML interpreters execute them.
   12610 
   12611 Performed a full 16/32/64 bit lint that resulted in some small changes.
   12612 
   12613 Added a sleep simulation command to the AML debugger to test sleep code. 
   12614 
   12615 Code and Data Size: Current and previous core subsystem library sizes are 
   12616 shown below.  These are the code and data sizes for the acpica.lib 
   12617 produced 
   12618 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12619 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12620 debug output trace mechanism and has a much larger code and data size.  
   12621 Note 
   12622 that these values will vary depending on the efficiency of the compiler 
   12623 and 
   12624 the compiler options used during generation.
   12625 
   12626   Previous Release:
   12627     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   12628     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   12629   Current Release:
   12630     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   12631     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   12632 
   12633 ----------------------------------------
   12634 27 April 2004.  Summary of changes for version 20040427:
   12635 
   12636 1) ACPI CA Core Subsystem:
   12637 
   12638 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
   12639 now three types of GPEs:  wake-only, runtime-only, and combination 
   12640 wake/run.  
   12641 The only GPEs allowed to be combination wake/run are for button-style 
   12642 devices such as a control-method power button, control-method sleep 
   12643 button, 
   12644 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
   12645 not 
   12646 referenced by any _PRW methods are marked for "runtime" and hardware 
   12647 enabled.  Any GPE that is referenced by a _PRW method is marked for 
   12648 "wake" 
   12649 (and disabled at runtime).  However, at sleep time, only those GPEs that 
   12650 have been specifically enabled for wake via the AcpiEnableGpe interface 
   12651 will 
   12652 actually be hardware enabled.
   12653 
   12654 A new external interface has been added, AcpiSetGpeType(), that is meant 
   12655 to 
   12656 be used by device drivers to force a GPE to a particular type.  It will 
   12657 be 
   12658 especially useful for the drivers for the button devices mentioned above.
   12659 
   12660 Completed restructuring of the ACPI CA initialization sequence so that 
   12661 default operation region handlers are installed before GPEs are 
   12662 initialized 
   12663 and the _PRW methods are executed.  This will prevent errors when the 
   12664 _PRW 
   12665 methods attempt to access system memory or I/O space.
   12666 
   12667 GPE enable/disable no longer reads the GPE enable register.  We now keep 
   12668 the 
   12669 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
   12670 thus no longer depend on the hardware to maintain these bits.
   12671 
   12672 Always clear the wake status and fixed/GPE status bits before sleep, even 
   12673 for state S5.
   12674 
   12675 Improved the AML debugger output for displaying the GPE blocks and their 
   12676 current status.
   12677 
   12678 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
   12679 where 
   12680 x = 0,1,2,3,4.
   12681 
   12682 Fixed a problem where the physical address was incorrectly calculated 
   12683 when 
   12684 the Load() operator was used to directly load from an Operation Region 
   12685 (vs. 
   12686 loading from a Field object.)  Also added check for minimum table length 
   12687 for 
   12688 this case.
   12689 
   12690 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
   12691 mutex release.
   12692 
   12693 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
   12694 consistency with the other fields returned.
   12695 
   12696 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
   12697 structure for each GPE in the system, so the size of this structure is 
   12698 important.
   12699 
   12700 CPU stack requirement reduction:  Cleaned up the method execution and 
   12701 object 
   12702 evaluation paths so that now a parameter structure is passed, instead of 
   12703 copying the various method parameters over and over again.
   12704 
   12705 In evregion.c:  Correctly exit and reenter the interpreter region if and 
   12706 only if dispatching an operation region request to a user-installed 
   12707 handler.  
   12708 Do not exit/reenter when dispatching to a default handler (e.g., default 
   12709 system memory or I/O handlers)
   12710 
   12711 
   12712 Notes for updating drivers for the new GPE support.  The following 
   12713 changes 
   12714 must be made to ACPI-related device drivers that are attached to one or 
   12715 more 
   12716 GPEs: (This information will be added to the ACPI CA Programmer 
   12717 Reference.)
   12718 
   12719 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
   12720 must 
   12721 explicitly call AcpiEnableGpe.
   12722 2) There is a new interface called AcpiSetGpeType. This should be called 
   12723 before enabling the GPE.  Also, this interface will automatically disable 
   12724 the GPE if it is currently enabled.
   12725 3) AcpiEnableGpe no longer supports a GPE type flag.
   12726 
   12727 Specific drivers that must be changed:
   12728 1) EC driver:
   12729     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
   12730 AeGpeHandler, NULL);
   12731     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
   12732     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
   12733 
   12734 2) Button Drivers (Power, Lid, Sleep):
   12735 Run _PRW method under parent device
   12736 If _PRW exists: /* This is a control-method button */
   12737     Extract GPE number and possibly GpeDevice
   12738     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
   12739     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
   12740 
   12741 For all other devices that have _PRWs, we automatically set the GPE type 
   12742 to 
   12743 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
   12744 This 
   12745 must be done on a selective basis, usually requiring some kind of user 
   12746 app 
   12747 to allow the user to pick the wake devices.
   12748 
   12749 
   12750 Code and Data Size: Current and previous core subsystem library sizes are 
   12751 shown below.  These are the code and data sizes for the acpica.lib 
   12752 produced 
   12753 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12754 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12755 debug output trace mechanism and has a much larger code and data size.  
   12756 Note 
   12757 that these values will vary depending on the efficiency of the compiler 
   12758 and 
   12759 the compiler options used during generation.
   12760 
   12761   Previous Release:
   12762     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   12763     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   12764   Current Release:
   12765 
   12766     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   12767     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   12768 
   12769 
   12770 
   12771 ----------------------------------------
   12772 02 April 2004.  Summary of changes for version 20040402:
   12773 
   12774 1) ACPI CA Core Subsystem:
   12775 
   12776 Fixed an interpreter problem where an indirect store through an ArgX 
   12777 parameter was incorrectly applying the "implicit conversion rules" during 
   12778 the store.  From the ACPI specification: "If the target is a method local 
   12779 or 
   12780 argument (LocalX or ArgX), no conversion is performed and the result is 
   12781 stored directly to the target".  The new behavior is to disable implicit 
   12782 conversion during ALL stores to an ArgX.
   12783 
   12784 Changed the behavior of the _PRW method scan to ignore any and all errors 
   12785 returned by a given _PRW.  This prevents the scan from aborting from the 
   12786 failure of any single _PRW.
   12787 
   12788 Moved the runtime configuration parameters from the global init procedure 
   12789 to 
   12790 static variables in acglobal.h.  This will allow the host to override the 
   12791 default values easily.
   12792 
   12793 Code and Data Size: Current and previous core subsystem library sizes are 
   12794 shown below.  These are the code and data sizes for the acpica.lib 
   12795 produced 
   12796 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12797 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12798 debug output trace mechanism and has a much larger code and data size.  
   12799 Note 
   12800 that these values will vary depending on the efficiency of the compiler 
   12801 and 
   12802 the compiler options used during generation.
   12803 
   12804   Previous Release:
   12805     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   12806     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   12807   Current Release:
   12808     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   12809     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   12810 
   12811 
   12812 2) iASL Compiler/Disassembler:
   12813 
   12814 iASL now fully disassembles SSDTs.  However, External() statements are 
   12815 not 
   12816 generated automatically for unresolved symbols at this time.  This is a 
   12817 planned feature for future implementation.
   12818 
   12819 Fixed a scoping problem in the disassembler that occurs when the type of 
   12820 the 
   12821 target of a Scope() operator is overridden.  This problem caused an 
   12822 incorrectly nested internal namespace to be constructed.
   12823 
   12824 Any warnings or errors that are emitted during disassembly are now 
   12825 commented 
   12826 out automatically so that the resulting file can be recompiled without 
   12827 any 
   12828 hand editing.
   12829 
   12830 ----------------------------------------
   12831 26 March 2004.  Summary of changes for version 20040326:
   12832 
   12833 1) ACPI CA Core Subsystem:
   12834 
   12835 Implemented support for "wake" GPEs via interaction between GPEs and the 
   12836 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
   12837 identified as a WAKE GPE and by default will no longer be enabled at 
   12838 runtime.  Previously, we were blindly enabling all GPEs with a 
   12839 corresponding 
   12840 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
   12841 We 
   12842 believe this has been the cause of thousands of "spurious" GPEs on some 
   12843 systems.
   12844 
   12845 This new GPE behavior is can be reverted to the original behavior (enable 
   12846 ALL GPEs at runtime) via a runtime flag.
   12847 
   12848 Fixed a problem where aliased control methods could not access objects 
   12849 properly.  The proper scope within the namespace was not initialized 
   12850 (transferred to the target of the aliased method) before executing the 
   12851 target method.
   12852 
   12853 Fixed a potential race condition on internal object deletion on the 
   12854 return 
   12855 object in AcpiEvaluateObject. 
   12856 
   12857 Integrated a fix for resource descriptors where both _MEM and _MTP were 
   12858 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
   12859 wide, 0x0F instead of 0x03.)
   12860 
   12861 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
   12862 preventing 
   12863 a 
   12864 fault in some cases.
   12865 
   12866 Updated Notify() values for debug statements in evmisc.c
   12867 
   12868 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
   12869 
   12870 Code and Data Size: Current and previous core subsystem library sizes are 
   12871 shown below.  These are the code and data sizes for the acpica.lib 
   12872 produced 
   12873 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12874 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12875 debug output trace mechanism and has a much larger code and data size.  
   12876 Note 
   12877 that these values will vary depending on the efficiency of the compiler 
   12878 and 
   12879 the compiler options used during generation.
   12880 
   12881   Previous Release:
   12882 
   12883     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   12884     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   12885   Current Release:
   12886     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   12887     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   12888 
   12889 ----------------------------------------
   12890 11 March 2004.  Summary of changes for version 20040311:
   12891 
   12892 1) ACPI CA Core Subsystem:
   12893 
   12894 Fixed a problem where errors occurring during the parse phase of control 
   12895 method execution did not abort cleanly.  For example, objects created and 
   12896 installed in the namespace were not deleted.  This caused all subsequent 
   12897 invocations of the method to return the AE_ALREADY_EXISTS exception.
   12898 
   12899 Implemented a mechanism to force a control method to "Serialized" 
   12900 execution 
   12901 if the method attempts to create namespace objects. (The root of the 
   12902 AE_ALREADY_EXISTS problem.)
   12903 
   12904 Implemented support for the predefined _OSI "internal" control method.  
   12905 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
   12906 and 
   12907 "Windows 2001.1", and can be easily upgraded for new strings as 
   12908 necessary.  
   12909 This feature will allow "other" operating systems to execute the fully 
   12910 tested, "Windows" code path through the ASL code
   12911 
   12912 Global Lock Support:  Now allows multiple acquires and releases with any 
   12913 internal thread.  Removed concept of "owning thread" for this special 
   12914 mutex.
   12915 
   12916 Fixed two functions that were inappropriately declaring large objects on 
   12917 the 
   12918 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
   12919 during 
   12920 method execution considerably.
   12921 
   12922 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
   12923 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
   12924 
   12925 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
   12926 defined on the machine.
   12927 
   12928 Implemented two runtime options:  One to force all control method 
   12929 execution 
   12930 to "Serialized" to mimic Windows behavior, another to disable _OSI 
   12931 support 
   12932 if it causes problems on a given machine.
   12933 
   12934 Code and Data Size: Current and previous core subsystem library sizes are 
   12935 shown below.  These are the code and data sizes for the acpica.lib 
   12936 produced 
   12937 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12938 any ACPI driver or OSPM code.  The debug version of the code includes the 
   12939 debug output trace mechanism and has a much larger code and data size.  
   12940 Note 
   12941 that these values will vary depending on the efficiency of the compiler 
   12942 and 
   12943 the compiler options used during generation.
   12944 
   12945   Previous Release:
   12946     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   12947     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   12948   Current Release:
   12949     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   12950     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   12951 
   12952 2) iASL Compiler/Disassembler:
   12953 
   12954 Fixed an array size problem for FreeBSD that would cause the compiler to 
   12955 fault.
   12956 
   12957 ----------------------------------------
   12958 20 February 2004.  Summary of changes for version 20040220:
   12959 
   12960 
   12961 1) ACPI CA Core Subsystem:
   12962 
   12963 Implemented execution of _SxD methods for Device objects in the 
   12964 GetObjectInfo interface.
   12965 
   12966 Fixed calls to _SST method to pass the correct arguments.
   12967 
   12968 Added a call to _SST on wake to restore to "working" state.
   12969 
   12970 Check for End-Of-Buffer failure case in the WalkResources interface.
   12971 
   12972 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
   12973 structures to the beginning of the file.
   12974 
   12975 After wake, clear GPE status register(s) before enabling GPEs.
   12976 
   12977 After wake, clear/enable power button.  (Perhaps we should clear/enable 
   12978 all 
   12979 fixed events upon wake.)
   12980 
   12981 Fixed a couple of possible memory leaks in the Namespace manager.
   12982 
   12983 Integrated latest acnetbsd.h file.
   12984 
   12985 ----------------------------------------
   12986 11 February 2004.  Summary of changes for version 20040211:
   12987 
   12988 
   12989 1) ACPI CA Core Subsystem:
   12990 
   12991 Completed investigation and implementation of the call-by-reference 
   12992 mechanism for control method arguments.
   12993 
   12994 Fixed a problem where a store of an object into an indexed package could 
   12995 fail if the store occurs within a different method than the method that 
   12996 created the package.
   12997 
   12998 Fixed a problem where the ToDecimal operator could return incorrect 
   12999 results.
   13000 
   13001 Fixed a problem where the CopyObject operator could fail on some of the 
   13002 more 
   13003 obscure objects (e.g., Reference objects.)
   13004 
   13005 Improved the output of the Debug object to display buffer, package, and 
   13006 index objects.
   13007 
   13008 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
   13009 return 
   13010 the expected result.
   13011 
   13012 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
   13013 ACPI_AML_INTERNAL exception.
   13014 
   13015 Integrated latest version of acfreebsd.h
   13016 
   13017 ----------------------------------------
   13018 16 January 2004.  Summary of changes for version 20040116:
   13019 
   13020 The purpose of this release is primarily to update the copyright years in 
   13021 each module, thus causing a huge number of diffs.  There are a few small 
   13022 functional changes, however.
   13023 
   13024 1) ACPI CA Core Subsystem:
   13025 
   13026 Improved error messages when there is a problem finding one or more of 
   13027 the 
   13028 required base ACPI tables
   13029 
   13030 Reintroduced the definition of APIC_HEADER in actbl.h
   13031 
   13032 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
   13033 
   13034 Removed extraneous reference to NewObj in dsmthdat.c
   13035 
   13036 2) iASL compiler
   13037 
   13038 Fixed a problem introduced in December that disabled the correct 
   13039 disassembly 
   13040 of Resource Templates
   13041 
   13042 
   13043 ----------------------------------------
   13044 03 December 2003.  Summary of changes for version 20031203:
   13045 
   13046 1) ACPI CA Core Subsystem:
   13047 
   13048 Changed the initialization of Operation Regions during subsystem
   13049 init to perform two entire walks of the ACPI namespace; The first
   13050 to initialize the regions themselves, the second to execute the
   13051 _REG methods.  This fixed some interdependencies across _REG
   13052 methods found on some machines.
   13053 
   13054 Fixed a problem where a Store(Local0, Local1) could simply update
   13055 the object reference count, and not create a new copy of the
   13056 object if the Local1 is uninitialized.
   13057 
   13058 Implemented support for the _SST reserved method during sleep
   13059 transitions.
   13060 
   13061 Implemented support to clear the SLP_TYP and SLP_EN bits when
   13062 waking up, this is apparently required by some machines.
   13063 
   13064 When sleeping, clear the wake status only if SleepState is not S5.
   13065 
   13066 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
   13067 pointer arithmetic advanced a string pointer too far.
   13068 
   13069 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
   13070 could be returned if the requested table has not been loaded.
   13071 
   13072 Within the support for IRQ resources, restructured the handling of
   13073 the active and edge/level bits.
   13074 
   13075 Fixed a few problems in AcpiPsxExecute() where memory could be
   13076 leaked under certain error conditions.
   13077 
   13078 Improved error messages for the cases where the ACPI mode could
   13079 not be entered.
   13080 
   13081 Code and Data Size: Current and previous core subsystem library
   13082 sizes are shown below.  These are the code and data sizes for the
   13083 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   13084 these values do not include any ACPI driver or OSPM code.  The
   13085 debug version of the code includes the debug output trace
   13086 mechanism and has a much larger code and data size.  Note that
   13087 these values will vary depending on the efficiency of the compiler
   13088 and the compiler options used during generation.
   13089 
   13090   Previous Release (20031029):
   13091     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   13092     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   13093   Current Release:
   13094     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   13095     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   13096 
   13097 2) iASL Compiler/Disassembler:
   13098 
   13099 Implemented a fix for the iASL disassembler where a bad index was
   13100 generated.  This was most noticeable on 64-bit platforms
   13101 
   13102 
   13103 ----------------------------------------
   13104 29 October 2003.  Summary of changes for version 20031029:
   13105 
   13106 1) ACPI CA Core Subsystem:
   13107 
   13108 
   13109 Fixed a problem where a level-triggered GPE with an associated
   13110 _Lxx control method was incorrectly cleared twice.
   13111 
   13112 Fixed a problem with the Field support code where an access can
   13113 occur beyond the end-of-region if the field is non-aligned but
   13114 extends to the very end of the parent region (resulted in an
   13115 AE_AML_REGION_LIMIT exception.)
   13116 
   13117 Fixed a problem with ACPI Fixed Events where an RT Clock handler
   13118 would not get invoked on an RTC event.  The RTC event bitmasks for
   13119 the PM1 registers were not being initialized properly.
   13120 
   13121 Implemented support for executing _STA and _INI methods for
   13122 Processor objects.  Although this is currently not part of the
   13123 ACPI specification, there is existing ASL code that depends on the
   13124 init-time execution of these methods.
   13125 
   13126 Implemented and deployed a GetDescriptorName function to decode
   13127 the various types of internal descriptors.  Guards against null
   13128 descriptors during debug output also.
   13129 
   13130 Implemented and deployed a GetNodeName function to extract the 4-
   13131 character namespace node name.  This function simplifies the debug
   13132 and error output, as well as guarding against null pointers during
   13133 output.
   13134 
   13135 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
   13136 simplify the debug and error output of 64-bit integers.  This
   13137 macro replaces the HIDWORD and LODWORD macros for dumping these
   13138 integers.
   13139 
   13140 Updated the implementation of the Stall() operator to only call
   13141 AcpiOsStall(), and also return an error if the operand is larger
   13142 than 255.  This preserves the required behavior of not
   13143 relinquishing the processor, as would happen if AcpiOsSleep() was
   13144 called for "long stalls".
   13145 
   13146 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
   13147 initialized are now treated as NOOPs.
   13148 
   13149 Cleaned up a handful of warnings during 64-bit generation.
   13150 
   13151 Fixed a reported error where and incorrect GPE number was passed
   13152 to the GPE dispatch handler.  This value is only used for error
   13153 output, however.  Used this opportunity to clean up and streamline
   13154 the GPE dispatch code.
   13155 
   13156 Code and Data Size: Current and previous core subsystem library
   13157 sizes are shown below.  These are the code and data sizes for the
   13158 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   13159 these values do not include any ACPI driver or OSPM code.  The
   13160 
   13161 debug version of the code includes the debug output trace
   13162 mechanism and has a much larger code and data size.  Note that
   13163 these values will vary depending on the efficiency of the compiler
   13164 and the compiler options used during generation.
   13165 
   13166   Previous Release (20031002):
   13167     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   13168     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   13169   Current Release:
   13170     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   13171     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   13172 
   13173 
   13174 2) iASL Compiler/Disassembler:
   13175 
   13176 Updated the iASL compiler to return an error if the operand to the
   13177 Stall() operator is larger than 255.
   13178 
   13179 
   13180 ----------------------------------------
   13181 02 October 2003.  Summary of changes for version 20031002:
   13182 
   13183 
   13184 1) ACPI CA Core Subsystem:
   13185 
   13186 Fixed a problem with Index Fields where the index was not
   13187 incremented for fields that require multiple writes to the
   13188 index/data registers (Fields that are wider than the data
   13189 register.)
   13190 
   13191 Fixed a problem with all Field objects where a write could go
   13192 beyond the end-of-field if the field was larger than the access
   13193 granularity and therefore required multiple writes to complete the
   13194 request.  An extra write beyond the end of the field could happen
   13195 inadvertently.
   13196 
   13197 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
   13198 would incorrectly be returned if the width of the Data Register
   13199 was larger than the specified field access width.
   13200 
   13201 Completed fixes for LoadTable() and Unload() and verified their
   13202 operation.  Implemented full support for the "DdbHandle" object
   13203 throughout the ACPI CA subsystem.
   13204 
   13205 Implemented full support for the MADT and ECDT tables in the ACPI
   13206 CA header files.  Even though these tables are not directly
   13207 consumed by ACPI CA, the header definitions are useful for ACPI
   13208 device drivers.
   13209 
   13210 Integrated resource descriptor fixes posted to the Linux ACPI
   13211 list.  This included checks for minimum descriptor length, and
   13212 support for trailing NULL strings within descriptors that have
   13213 optional string elements.
   13214 
   13215 Code and Data Size: Current and previous core subsystem library
   13216 sizes are shown below.  These are the code and data sizes for the
   13217 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   13218 these values do not include any ACPI driver or OSPM code.  The
   13219 debug version of the code includes the debug output trace
   13220 mechanism and has a much larger code and data size.  Note that
   13221 these values will vary depending on the efficiency of the compiler
   13222 and the compiler options used during generation.
   13223 
   13224   Previous Release (20030918):
   13225     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   13226     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   13227   Current Release:
   13228     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   13229     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   13230 
   13231 
   13232 2) iASL Compiler:
   13233 
   13234 Implemented detection of non-ASCII characters within the input
   13235 source ASL file.  This catches attempts to compile binary (AML)
   13236 files early in the compile, with an informative error message.
   13237 
   13238 Fixed a problem where the disassembler would fault if the output
   13239 filename could not be generated or if the output file could not be
   13240 opened.
   13241 
   13242 ----------------------------------------
   13243 18 September 2003.  Summary of changes for version 20030918:
   13244 
   13245 
   13246 1) ACPI CA Core Subsystem:
   13247 
   13248 Found and fixed a longstanding problem with the late execution of
   13249 the various deferred AML opcodes (such as Operation Regions,
   13250 Buffer Fields, Buffers, and Packages).  If the name string
   13251 specified for the name of the new object placed the object in a
   13252 scope other than the current scope, the initialization/execution
   13253 of the opcode failed.  The solution to this problem was to
   13254 implement a mechanism where the late execution of such opcodes
   13255 does not attempt to lookup/create the name a second time in an
   13256 incorrect scope.  This fixes the "region size computed
   13257 incorrectly" problem.
   13258 
   13259 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
   13260 Global Lock AE_BAD_PARAMETER error.
   13261 
   13262 Fixed several 64-bit issues with prototypes, casting and data
   13263 types.
   13264 
   13265 Removed duplicate prototype from acdisasm.h
   13266 
   13267 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
   13268 
   13269 Code and Data Size: Current and previous core subsystem library
   13270 sizes are shown below.  These are the code and data sizes for the
   13271 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   13272 these values do not include any ACPI driver or OSPM code.  The
   13273 debug version of the code includes the debug output trace
   13274 mechanism and has a much larger code and data size.  Note that
   13275 these values will vary depending on the efficiency of the compiler
   13276 and the compiler options used during generation.
   13277 
   13278   Previous Release:
   13279 
   13280     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   13281     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   13282   Current Release:
   13283     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   13284     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   13285 
   13286 
   13287 2) Linux:
   13288 
   13289 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
   13290 correct sleep time in seconds.
   13291 
   13292 ----------------------------------------
   13293 14 July 2003.  Summary of changes for version 20030619:
   13294 
   13295 1) ACPI CA Core Subsystem:
   13296 
   13297 Parse SSDTs in order discovered, as opposed to reverse order
   13298 (Hrvoje Habjanic)
   13299 
   13300 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
   13301 Klausner,
   13302    Nate Lawson)
   13303 
   13304 
   13305 2) Linux:
   13306 
   13307 Dynamically allocate SDT list (suggested by Andi Kleen)
   13308 
   13309 proc function return value cleanups (Andi Kleen)
   13310 
   13311 Correctly handle NMI watchdog during long stalls (Andrew Morton)
   13312 
   13313 Make it so acpismp=force works (reported by Andrew Morton)
   13314 
   13315 
   13316 ----------------------------------------
   13317 19 June 2003.  Summary of changes for version 20030619:
   13318 
   13319 1) ACPI CA Core Subsystem:
   13320 
   13321 Fix To/FromBCD, eliminating the need for an arch-specific #define.
   13322 
   13323 Do not acquire a semaphore in the S5 shutdown path.
   13324 
   13325 Fix ex_digits_needed for 0. (Takayoshi Kochi)
   13326 
   13327 Fix sleep/stall code reversal. (Andi Kleen)
   13328 
   13329 Revert a change having to do with control method calling
   13330 semantics.
   13331 
   13332 2) Linux:
   13333 
   13334 acpiphp update (Takayoshi Kochi)
   13335 
   13336 Export acpi_disabled for sonypi (Stelian Pop)
   13337 
   13338 Mention acpismp=force in config help
   13339 
   13340 Re-add acpitable.c and acpismp=force. This improves backwards
   13341 
   13342 compatibility and also cleans up the code to a significant degree.
   13343 
   13344 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
   13345 
   13346 ----------------------------------------
   13347 22 May 2003.  Summary of changes for version 20030522:
   13348 
   13349 1) ACPI CA Core Subsystem:
   13350 
   13351 Found and fixed a reported problem where an AE_NOT_FOUND error
   13352 occurred occasionally during _BST evaluation.  This turned out to
   13353 be an Owner ID allocation issue where a called method did not get
   13354 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
   13355 ID UINT16 would wraparound so that the ID would be the same as the
   13356 caller's and the called method would delete the caller's
   13357 namespace.
   13358 
   13359 Implemented extended error reporting for control methods that are
   13360 aborted due to a run-time exception.  Output includes the exact
   13361 AML instruction that caused the method abort, a dump of the method
   13362 locals and arguments at the time of the abort, and a trace of all
   13363 nested control method calls.
   13364 
   13365 Modified the interpreter to allow the creation of buffers of zero
   13366 length from the AML code. Implemented new code to ensure that no
   13367 attempt is made to actually allocate a memory buffer (of length
   13368 zero) - instead, a simple buffer object with a NULL buffer pointer
   13369 and length zero is created.  A warning is no longer issued when
   13370 the AML attempts to create a zero-length buffer.
   13371 
   13372 Implemented a workaround for the "leading asterisk issue" in
   13373 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
   13374 asterisk is automatically removed if present in any HID, UID, or
   13375 CID strings.  The iASL compiler will still flag this asterisk as
   13376 an error, however.
   13377 
   13378 Implemented full support for _CID methods that return a package of
   13379 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
   13380 now additionally returns a device _CID list if present.  This
   13381 required a change to the external interface in order to pass an
   13382 ACPI_BUFFER object as a parameter since the _CID list is of
   13383 variable length.
   13384 
   13385 Fixed a problem with the new AE_SAME_HANDLER exception where
   13386 handler initialization code did not know about this exception.
   13387 
   13388 Code and Data Size: Current and previous core subsystem library
   13389 sizes are shown below.  These are the code and data sizes for the
   13390 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   13391 these values do not include any ACPI driver or OSPM code.  The
   13392 debug version of the code includes the debug output trace
   13393 mechanism and has a much larger code and data size.  Note that
   13394 these values will vary depending on the efficiency of the compiler
   13395 and the compiler options used during generation.
   13396 
   13397   Previous Release (20030509):
   13398     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   13399     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   13400   Current Release:
   13401     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   13402     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   13403 
   13404 
   13405 2) Linux:
   13406 
   13407 Fixed a bug in which we would reinitialize the ACPI interrupt
   13408 after it was already working, thus disabling all ACPI and the IRQs
   13409 for any other device sharing the interrupt. (Thanks to Stian
   13410 Jordet)
   13411 
   13412 Toshiba driver update (John Belmonte)
   13413 
   13414 Return only 0 or 1 for our interrupt handler status (Andrew
   13415 Morton)
   13416 
   13417 
   13418 3) iASL Compiler:
   13419 
   13420 Fixed a reported problem where multiple (nested) ElseIf()
   13421 statements were not handled correctly by the compiler, resulting
   13422 in incorrect warnings and incorrect AML code.  This was a problem
   13423 in both the ASL parser and the code generator.
   13424 
   13425 
   13426 4) Documentation:
   13427 
   13428 Added changes to existing interfaces, new exception codes, and new
   13429 text concerning reference count object management versus garbage
   13430 collection.
   13431 
   13432 ----------------------------------------
   13433 09 May 2003.  Summary of changes for version 20030509.
   13434 
   13435 
   13436 1) ACPI CA Core Subsystem:
   13437 
   13438 Changed the subsystem initialization sequence to hold off
   13439 installation of address space handlers until the hardware has been
   13440 initialized and the system has entered ACPI mode.  This is because
   13441 the installation of space handlers can cause _REG methods to be
   13442 run.  Previously, the _REG methods could potentially be run before
   13443 ACPI mode was enabled.
   13444 
   13445 Fixed some memory leak issues related to address space handler and
   13446 notify handler installation.  There were some problems with the
   13447 reference count mechanism caused by the fact that the handler
   13448 objects are shared across several namespace objects.
   13449 
   13450 Fixed a reported problem where reference counts within the
   13451 namespace were not properly updated when named objects created by
   13452 method execution were deleted.
   13453 
   13454 Fixed a reported problem where multiple SSDTs caused a deletion
   13455 issue during subsystem termination.  Restructured the table data
   13456 structures to simplify the linked lists and the related code.
   13457 
   13458 Fixed a problem where the table ID associated with secondary
   13459 tables (SSDTs) was not being propagated into the namespace objects
   13460 created by those tables.  This would only present a problem for
   13461 tables that are unloaded at run-time, however.
   13462 
   13463 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
   13464 type as the length parameter (instead of UINT32).
   13465 
   13466 Solved a long-standing problem where an ALREADY_EXISTS error
   13467 appears on various systems.  This problem could happen when there
   13468 are multiple PCI_Config operation regions under a single PCI root
   13469 bus.  This doesn't happen very frequently, but there are some
   13470 systems that do this in the ASL.
   13471 
   13472 Fixed a reported problem where the internal DeleteNode function
   13473 was incorrectly handling the case where a namespace node was the
   13474 first in the parent's child list, and had additional peers (not
   13475 the only child, but first in the list of children.)
   13476 
   13477 Code and Data Size: Current core subsystem library sizes are shown
   13478 below.  These are the code and data sizes for the acpica.lib
   13479 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13480 values do not include any ACPI driver or OSPM code.  The debug
   13481 version of the code includes the debug output trace mechanism and
   13482 has a much larger code and data size.  Note that these values will
   13483 vary depending on the efficiency of the compiler and the compiler
   13484 options used during generation.
   13485 
   13486   Previous Release
   13487     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   13488     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   13489   Current Release:
   13490     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   13491     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   13492 
   13493 
   13494 2) Linux:
   13495 
   13496 Allow ":" in OS override string (Ducrot Bruno)
   13497 
   13498 Kobject fix (Greg KH)
   13499 
   13500 
   13501 3 iASL Compiler/Disassembler:
   13502 
   13503 Fixed a problem in the generation of the C source code files (AML
   13504 is emitted in C source statements for BIOS inclusion) where the
   13505 Ascii dump that appears within a C comment at the end of each line
   13506 could cause a compile time error if the AML sequence happens to
   13507 have an open comment or close comment sequence embedded.
   13508 
   13509 
   13510 ----------------------------------------
   13511 24 April 2003.  Summary of changes for version 20030424.
   13512 
   13513 
   13514 1) ACPI CA Core Subsystem:
   13515 
   13516 Support for big-endian systems has been implemented.  Most of the
   13517 support has been invisibly added behind big-endian versions of the
   13518 ACPI_MOVE_* macros.
   13519 
   13520 Fixed a problem in AcpiHwDisableGpeBlock() and
   13521 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
   13522 low level hardware write routine.  The offset parameter was
   13523 actually eliminated from the low level read/write routines because
   13524 they had become obsolete.
   13525 
   13526 Fixed a problem where a handler object was deleted twice during
   13527 the removal of a fixed event handler.
   13528 
   13529 
   13530 2) Linux:
   13531 
   13532 A fix for SMP systems with link devices was contributed by
   13533 
   13534 Compaq's Dan Zink.
   13535 
   13536 (2.5) Return whether we handled the interrupt in our IRQ handler.
   13537 (Linux ISRs no longer return void, so we can propagate the handler
   13538 return value from the ACPI CA core back to the OS.)
   13539 
   13540 
   13541 
   13542 3) Documentation:
   13543 
   13544 The ACPI CA Programmer Reference has been updated to reflect new
   13545 interfaces and changes to existing interfaces.
   13546 
   13547 ----------------------------------------
   13548 28 March 2003.  Summary of changes for version 20030328.
   13549 
   13550 1) ACPI CA Core Subsystem:
   13551 
   13552 The GPE Block Device support has been completed.  New interfaces
   13553 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
   13554 interfaces (enable, disable, clear, getstatus) have been split
   13555 into separate interfaces for Fixed Events and General Purpose
   13556 Events (GPEs) in order to support GPE Block Devices properly.
   13557 
   13558 Fixed a problem where the error message "Failed to acquire
   13559 semaphore" would appear during operations on the embedded
   13560 controller (EC).
   13561 
   13562 Code and Data Size: Current core subsystem library sizes are shown
   13563 below.  These are the code and data sizes for the acpica.lib
   13564 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13565 values do not include any ACPI driver or OSPM code.  The debug
   13566 version of the code includes the debug output trace mechanism and
   13567 has a much larger code and data size.  Note that these values will
   13568 vary depending on the efficiency of the compiler and the compiler
   13569 options used during generation.
   13570 
   13571   Previous Release
   13572     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   13573     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   13574   Current Release:
   13575     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   13576     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   13577 
   13578 
   13579 ----------------------------------------
   13580 28 February 2003.  Summary of changes for version 20030228.
   13581 
   13582 
   13583 1) ACPI CA Core Subsystem:
   13584 
   13585 The GPE handling and dispatch code has been completely overhauled
   13586 in preparation for support of GPE Block Devices (ID ACPI0006).
   13587 This affects internal data structures and code only; there should
   13588 be no differences visible externally.  One new file has been
   13589 added, evgpeblk.c
   13590 
   13591 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
   13592 fields that are used to determine the GPE block lengths.  The
   13593 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
   13594 structures are ignored.  This is per the ACPI specification but it
   13595 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
   13596 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
   13597 
   13598 In the SCI interrupt handler, removed the read of the PM1_CONTROL
   13599 register to look at the SCI_EN bit.  On some machines, this read
   13600 causes an SMI event and greatly slows down SCI events.  (This may
   13601 in fact be the cause of slow battery status response on some
   13602 systems.)
   13603 
   13604 Fixed a problem where a store of a NULL string to a package object
   13605 could cause the premature deletion of the object.  This was seen
   13606 during execution of the battery _BIF method on some systems,
   13607 resulting in no battery data being returned.
   13608 
   13609 Added AcpiWalkResources interface to simplify parsing of resource
   13610 lists.
   13611 
   13612 Code and Data Size: Current core subsystem library sizes are shown
   13613 below.  These are the code and data sizes for the acpica.lib
   13614 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13615 values do not include any ACPI driver or OSPM code.  The debug
   13616 version of the code includes the debug output trace mechanism and
   13617 has a much larger code and data size.  Note that these values will
   13618 vary depending on the efficiency of the compiler and the compiler
   13619 options used during generation.
   13620 
   13621   Previous Release
   13622     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   13623     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   13624   Current Release:
   13625     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   13626     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   13627 
   13628 
   13629 2) Linux
   13630 
   13631 S3 fixes (Ole Rohne)
   13632 
   13633 Update ACPI PHP driver with to use new acpi_walk_resource API
   13634 (Bjorn Helgaas)
   13635 
   13636 Add S4BIOS support (Pavel Machek)
   13637 
   13638 Map in entire table before performing checksum (John Stultz)
   13639 
   13640 Expand the mem= cmdline to allow the specification of reserved and
   13641 ACPI DATA blocks (Pavel Machek)
   13642 
   13643 Never use ACPI on VISWS
   13644 
   13645 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
   13646 
   13647 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
   13648 causing us to think that some systems support C2 when they really
   13649 don't.
   13650 
   13651 Do not count processor objects for non-present CPUs (Thanks to
   13652 Dominik Brodowski)
   13653 
   13654 
   13655 3) iASL Compiler:
   13656 
   13657 Fixed a problem where ASL include files could not be found and
   13658 opened.
   13659 
   13660 Added support for the _PDC reserved name.
   13661 
   13662 
   13663 ----------------------------------------
   13664 22 January 2003.  Summary of changes for version 20030122.
   13665 
   13666 
   13667 1) ACPI CA Core Subsystem:
   13668 
   13669 Added a check for constructs of the form:  Store (Local0, Local0)
   13670 where Local0 is not initialized.  Apparently, some BIOS
   13671 programmers believe that this is a NOOP.  Since this store doesn't
   13672 do anything anyway, the new prototype behavior will ignore this
   13673 error.  This is a case where we can relax the strict checking in
   13674 the interpreter in the name of compatibility.
   13675 
   13676 
   13677 2) Linux
   13678 
   13679 The AcpiSrc Source Conversion Utility has been released with the
   13680 Linux package for the first time.  This is the utility that is
   13681 used to convert the ACPI CA base source code to the Linux version.
   13682 
   13683 (Both) Handle P_BLK lengths shorter than 6 more gracefully
   13684 
   13685 (Both) Move more headers to include/acpi, and delete an unused
   13686 header.
   13687 
   13688 (Both) Move drivers/acpi/include directory to include/acpi
   13689 
   13690 (Both) Boot functions don't use cmdline, so don't pass it around
   13691 
   13692 (Both) Remove include of unused header (Adrian Bunk)
   13693 
   13694 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
   13695 the
   13696 former now also includes the latter, acpiphp.h only needs the one,
   13697 now.
   13698 
   13699 (2.5) Make it possible to select method of bios restoring after S3
   13700 resume. [=> no more ugly ifdefs] (Pavel Machek)
   13701 
   13702 (2.5) Make proc write interfaces work (Pavel Machek)
   13703 
   13704 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
   13705 
   13706 (2.5) Break out ACPI Perf code into its own module, under cpufreq
   13707 (Dominik Brodowski)
   13708 
   13709 (2.4) S4BIOS support (Ducrot Bruno)
   13710 
   13711 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
   13712 Visinoni)
   13713 
   13714 
   13715 3) iASL Compiler:
   13716 
   13717 Added support to disassemble SSDT and PSDTs.
   13718 
   13719 Implemented support to obtain SSDTs from the Windows registry if
   13720 available.
   13721 
   13722 
   13723 ----------------------------------------
   13724 09 January 2003.  Summary of changes for version 20030109.
   13725 
   13726 1) ACPI CA Core Subsystem:
   13727 
   13728 Changed the behavior of the internal Buffer-to-String conversion
   13729 function.  The current ACPI specification states that the contents
   13730 of the buffer are "converted to a string of two-character
   13731 hexadecimal numbers, each separated by a space".  Unfortunately,
   13732 this definition is not backwards compatible with existing ACPI 1.0
   13733 implementations (although the behavior was not defined in the ACPI
   13734 1.0 specification).  The new behavior simply copies data from the
   13735 buffer to the string until a null character is found or the end of
   13736 the buffer is reached.  The new String object is always null
   13737 terminated.  This problem was seen during the generation of _BIF
   13738 battery data where incorrect strings were returned for battery
   13739 type, etc.  This will also require an errata to the ACPI
   13740 specification.
   13741 
   13742 Renamed all instances of NATIVE_UINT and NATIVE_INT to
   13743 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
   13744 
   13745 Copyright in all module headers (both Linux and non-Linux) has be
   13746 updated to 2003.
   13747 
   13748 Code and Data Size: Current core subsystem library sizes are shown
   13749 below.  These are the code and data sizes for the acpica.lib
   13750 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13751 values do not include any ACPI driver or OSPM code.  The debug
   13752 version of the code includes the debug output trace mechanism and
   13753 has a much larger code and data size.  Note that these values will
   13754 vary depending on the efficiency of the compiler and the compiler
   13755 options used during generation.
   13756 
   13757   Previous Release
   13758     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   13759     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   13760   Current Release:
   13761     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   13762     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   13763 
   13764 
   13765 2) Linux
   13766 
   13767 Fixed an oops on module insertion/removal (Matthew Tippett)
   13768 
   13769 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
   13770 
   13771 (2.5) Replace pr_debug (Randy Dunlap)
   13772 
   13773 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
   13774 
   13775 (Both) Eliminate spawning of thread from timer callback, in favor
   13776 of schedule_work()
   13777 
   13778 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
   13779 
   13780 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
   13781 
   13782 (Both) Add missing statics to button.c (Pavel Machek)
   13783 
   13784 Several changes have been made to the source code translation
   13785 utility that generates the Linux Code in order to make the code
   13786 more "Linux-like":
   13787 
   13788 All typedefs on structs and unions have been removed in keeping
   13789 with the Linux coding style.
   13790 
   13791 Removed the non-Linux SourceSafe module revision number from each
   13792 module header.
   13793 
   13794 Completed major overhaul of symbols to be lowercased for linux.
   13795 Doubled the number of symbols that are lowercased.
   13796 
   13797 Fixed a problem where identifiers within procedure headers and
   13798 within quotes were not fully lower cased (they were left with a
   13799 starting capital.)
   13800 
   13801 Some C macros whose only purpose is to allow the generation of 16-
   13802 bit code are now completely removed in the Linux code, increasing
   13803 readability and maintainability.
   13804 
   13805 ----------------------------------------
   13806 
   13807 12 December 2002.  Summary of changes for version 20021212.
   13808 
   13809 
   13810 1) ACPI CA Core Subsystem:
   13811 
   13812 Fixed a problem where the creation of a zero-length AML Buffer
   13813 would cause a fault.
   13814 
   13815 Fixed a problem where a Buffer object that pointed to a static AML
   13816 buffer (in an ACPI table) could inadvertently be deleted, causing
   13817 memory corruption.
   13818 
   13819 Fixed a problem where a user buffer (passed in to the external
   13820 ACPI CA interfaces) could be overwritten if the buffer was too
   13821 small to complete the operation, causing memory corruption.
   13822 
   13823 Fixed a problem in the Buffer-to-String conversion code where a
   13824 string of length one was always returned, regardless of the size
   13825 of the input Buffer object.
   13826 
   13827 Removed the NATIVE_CHAR data type across the entire source due to
   13828 lack of need and lack of consistent use.
   13829 
   13830 Code and Data Size: Current core subsystem library sizes are shown
   13831 below.  These are the code and data sizes for the acpica.lib
   13832 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13833 values do not include any ACPI driver or OSPM code.  The debug
   13834 version of the code includes the debug output trace mechanism and
   13835 has a much larger code and data size.  Note that these values will
   13836 vary depending on the efficiency of the compiler and the compiler
   13837 options used during generation.
   13838 
   13839   Previous Release
   13840     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   13841     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   13842   Current Release:
   13843     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   13844     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   13845 
   13846 
   13847 ----------------------------------------
   13848 05 December 2002.  Summary of changes for version 20021205.
   13849 
   13850 1) ACPI CA Core Subsystem:
   13851 
   13852 Fixed a problem where a store to a String or Buffer object could
   13853 cause corruption of the DSDT if the object type being stored was
   13854 the same as the target object type and the length of the object
   13855 being stored was equal to or smaller than the original (existing)
   13856 target object.  This was seen to cause corruption of battery _BIF
   13857 buffers if the _BIF method modified the buffer on the fly.
   13858 
   13859 Fixed a problem where an internal error was generated if a control
   13860 method invocation was used in an OperationRegion, Buffer, or
   13861 Package declaration.  This was caused by the deferred parsing of
   13862 the control method and thus the deferred creation of the internal
   13863 method object.  The solution to this problem was to create the
   13864 internal method object at the moment the method is encountered in
   13865 the first pass - so that subsequent references to the method will
   13866 able to obtain the required parameter count and thus properly
   13867 parse the method invocation.  This problem presented itself as an
   13868 AE_AML_INTERNAL during the pass 1 parse phase during table load.
   13869 
   13870 Fixed a problem where the internal String object copy routine did
   13871 not always allocate sufficient memory for the target String object
   13872 and caused memory corruption.  This problem was seen to cause
   13873 "Allocation already present in list!" errors as memory allocation
   13874 became corrupted.
   13875 
   13876 Implemented a new function for the evaluation of namespace objects
   13877 that allows the specification of the allowable return object
   13878 types.  This simplifies a lot of code that checks for a return
   13879 object of one or more specific objects returned from the
   13880 evaluation (such as _STA, etc.)  This may become and external
   13881 function if it would be useful to ACPI-related drivers.
   13882 
   13883 Completed another round of prefixing #defines with "ACPI_" for
   13884 clarity.
   13885 
   13886 Completed additional code restructuring to allow more modular
   13887 linking for iASL compiler and AcpiExec.  Several files were split
   13888 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
   13889 
   13890 Implemented an abort mechanism to terminate an executing control
   13891 method via the AML debugger.  This feature is useful for debugging
   13892 control methods that depend (wait) for specific hardware
   13893 responses.
   13894 
   13895 Code and Data Size: Current core subsystem library sizes are shown
   13896 below.  These are the code and data sizes for the acpica.lib
   13897 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13898 values do not include any ACPI driver or OSPM code.  The debug
   13899 version of the code includes the debug output trace mechanism and
   13900 has a much larger code and data size.  Note that these values will
   13901 vary depending on the efficiency of the compiler and the compiler
   13902 options used during generation.
   13903 
   13904   Previous Release
   13905     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   13906     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   13907   Current Release:
   13908     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   13909     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   13910 
   13911 
   13912 2) iASL Compiler/Disassembler
   13913 
   13914 Fixed a compiler code generation problem for "Interrupt" Resource
   13915 Descriptors.  If specified in the ASL, the optional "Resource
   13916 Source Index" and "Resource Source" fields were not inserted into
   13917 the correct location within the AML resource descriptor, creating
   13918 an invalid descriptor.
   13919 
   13920 Fixed a disassembler problem for "Interrupt" resource descriptors.
   13921 The optional "Resource Source Index" and "Resource Source" fields
   13922 were ignored.
   13923 
   13924 
   13925 ----------------------------------------
   13926 22 November 2002.  Summary of changes for version 20021122.
   13927 
   13928 
   13929 1) ACPI CA Core Subsystem:
   13930 
   13931 Fixed a reported problem where an object stored to a Method Local
   13932 or Arg was not copied to a new object during the store - the
   13933 object pointer was simply copied to the Local/Arg.  This caused
   13934 all subsequent operations on the Local/Arg to also affect the
   13935 original source of the store operation.
   13936 
   13937 Fixed a problem where a store operation to a Method Local or Arg
   13938 was not completed properly if the Local/Arg contained a reference
   13939 (from RefOf) to a named field.  The general-purpose store-to-
   13940 namespace-node code is now used so that this case is handled
   13941 automatically.
   13942 
   13943 Fixed a problem where the internal object copy routine would cause
   13944 a protection fault if the object being copied was a Package and
   13945 contained either 1) a NULL package element or 2) a nested sub-
   13946 package.
   13947 
   13948 Fixed a problem with the GPE initialization that resulted from an
   13949 ambiguity in the ACPI specification.  One section of the
   13950 specification states that both the address and length of the GPE
   13951 block must be zero if the block is not supported.  Another section
   13952 implies that only the address need be zero if the block is not
   13953 supported.  The code has been changed so that both the address and
   13954 the length must be non-zero to indicate a valid GPE block (i.e.,
   13955 if either the address or the length is zero, the GPE block is
   13956 invalid.)
   13957 
   13958 Code and Data Size: Current core subsystem library sizes are shown
   13959 below.  These are the code and data sizes for the acpica.lib
   13960 produced by the Microsoft Visual C++ 6.0 compiler, and these
   13961 values do not include any ACPI driver or OSPM code.  The debug
   13962 version of the code includes the debug output trace mechanism and
   13963 has a much larger code and data size.  Note that these values will
   13964 vary depending on the efficiency of the compiler and the compiler
   13965 options used during generation.
   13966 
   13967   Previous Release
   13968     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   13969     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   13970   Current Release:
   13971     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   13972     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   13973 
   13974 
   13975 2) Linux
   13976 
   13977 Cleaned up EC driver. Exported an external EC read/write
   13978 interface. By going through this, other drivers (most notably
   13979 sonypi) will be able to serialize access to the EC.
   13980 
   13981 
   13982 3) iASL Compiler/Disassembler
   13983 
   13984 Implemented support to optionally generate include files for both
   13985 ASM and C (the -i switch).  This simplifies BIOS development by
   13986 automatically creating include files that contain external
   13987 declarations for the symbols that are created within the
   13988 
   13989 (optionally generated) ASM and C AML source files.
   13990 
   13991 
   13992 ----------------------------------------
   13993 15 November 2002.  Summary of changes for version 20021115.
   13994 
   13995 1) ACPI CA Core Subsystem:
   13996 
   13997 Fixed a memory leak problem where an error during resolution of
   13998 
   13999 method arguments during a method invocation from another method
   14000 failed to cleanup properly by deleting all successfully resolved
   14001 argument objects.
   14002 
   14003 Fixed a problem where the target of the Index() operator was not
   14004 correctly constructed if the source object was a package.  This
   14005 problem has not been detected because the use of a target operand
   14006 with Index() is very rare.
   14007 
   14008 Fixed a problem with the Index() operator where an attempt was
   14009 made to delete the operand objects twice.
   14010 
   14011 Fixed a problem where an attempt was made to delete an operand
   14012 twice during execution of the CondRefOf() operator if the target
   14013 did not exist.
   14014 
   14015 Implemented the first of perhaps several internal create object
   14016 functions that create and initialize a specific object type.  This
   14017 consolidates duplicated code wherever the object is created, thus
   14018 shrinking the size of the subsystem.
   14019 
   14020 Implemented improved debug/error messages for errors that occur
   14021 during nested method invocations.  All executing method pathnames
   14022 are displayed (with the error) as the call stack is unwound - thus
   14023 simplifying debug.
   14024 
   14025 Fixed a problem introduced in the 10/02 release that caused
   14026 premature deletion of a buffer object if a buffer was used as an
   14027 ASL operand where an integer operand is required (Thus causing an
   14028 implicit object conversion from Buffer to Integer.)  The change in
   14029 the 10/02 release was attempting to fix a memory leak (albeit
   14030 incorrectly.)
   14031 
   14032 Code and Data Size: Current core subsystem library sizes are shown
   14033 below.  These are the code and data sizes for the acpica.lib
   14034 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14035 values do not include any ACPI driver or OSPM code.  The debug
   14036 version of the code includes the debug output trace mechanism and
   14037 has a much larger code and data size.  Note that these values will
   14038 vary depending on the efficiency of the compiler and the compiler
   14039 options used during generation.
   14040 
   14041   Previous Release
   14042     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   14043     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   14044   Current Release:
   14045     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   14046     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   14047 
   14048 
   14049 2) Linux
   14050 
   14051 Changed the implementation of the ACPI semaphores to use down()
   14052 instead of down_interruptable().  It is important that the
   14053 execution of ACPI control methods not be interrupted by signals.
   14054 Methods must run to completion, or the system may be left in an
   14055 unknown/unstable state.
   14056 
   14057 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
   14058 (Shawn Starr)
   14059 
   14060 
   14061 3) iASL Compiler/Disassembler
   14062 
   14063 
   14064 Changed the default location of output files.  All output files
   14065 are now placed in the current directory by default instead of in
   14066 the directory of the source file.  This change may affect some
   14067 existing makefiles, but it brings the behavior of the compiler in
   14068 line with other similar tools.  The location of the output files
   14069 can be overridden with the -p command line switch.
   14070 
   14071 
   14072 ----------------------------------------
   14073 11 November 2002.  Summary of changes for version 20021111.
   14074 
   14075 
   14076 0) ACPI Specification 2.0B is released and is now available at:
   14077 http://www.acpi.info/index.html
   14078 
   14079 
   14080 1) ACPI CA Core Subsystem:
   14081 
   14082 Implemented support for the ACPI 2.0 SMBus Operation Regions.
   14083 This includes the early detection and handoff of the request to
   14084 the SMBus region handler (avoiding all of the complex field
   14085 support code), and support for the bidirectional return packet
   14086 from an SMBus write operation.  This paves the way for the
   14087 development of SMBus drivers in each host operating system.
   14088 
   14089 Fixed a problem where the semaphore WAIT_FOREVER constant was
   14090 defined as 32 bits, but must be 16 bits according to the ACPI
   14091 specification.  This had the side effect of causing ASL
   14092 Mutex/Event timeouts even though the ASL code requested a wait
   14093 forever.  Changed all internal references to the ACPI timeout
   14094 parameter to 16 bits to prevent future problems.  Changed the name
   14095 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
   14096 
   14097 Code and Data Size: Current core subsystem library sizes are shown
   14098 below.  These are the code and data sizes for the acpica.lib
   14099 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14100 values do not include any ACPI driver or OSPM code.  The debug
   14101 version of the code includes the debug output trace mechanism and
   14102 has a much larger code and data size.  Note that these values will
   14103 vary depending on the efficiency of the compiler and the compiler
   14104 options used during generation.
   14105 
   14106   Previous Release
   14107     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   14108     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   14109   Current Release:
   14110     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   14111     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   14112 
   14113 
   14114 2) Linux
   14115 
   14116 Module loading/unloading fixes (John Cagle)
   14117 
   14118 
   14119 3) iASL Compiler/Disassembler
   14120 
   14121 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
   14122 
   14123 Implemented support for the disassembly of all SMBus protocol
   14124 keywords (SMBQuick, SMBWord, etc.)
   14125 
   14126 ----------------------------------------
   14127 01 November 2002.  Summary of changes for version 20021101.
   14128 
   14129 
   14130 1) ACPI CA Core Subsystem:
   14131 
   14132 Fixed a problem where platforms that have a GPE1 block but no GPE0
   14133 block were not handled correctly.  This resulted in a "GPE
   14134 overlap" error message.  GPE0 is no longer required.
   14135 
   14136 Removed code added in the previous release that inserted nodes
   14137 into the namespace in alphabetical order.  This caused some side-
   14138 effects on various machines.  The root cause of the problem is
   14139 still under investigation since in theory, the internal ordering
   14140 of the namespace nodes should not matter.
   14141 
   14142 
   14143 Enhanced error reporting for the case where a named object is not
   14144 found during control method execution.  The full ACPI namepath
   14145 (name reference) of the object that was not found is displayed in
   14146 this case.
   14147 
   14148 Note: as a result of the overhaul of the namespace object types in
   14149 the previous release, the namespace nodes for the predefined
   14150 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
   14151 instead of ACPI_TYPE_ANY.  This simplifies the namespace
   14152 management code but may affect code that walks the namespace tree
   14153 looking for specific object types.
   14154 
   14155 Code and Data Size: Current core subsystem library sizes are shown
   14156 below.  These are the code and data sizes for the acpica.lib
   14157 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14158 values do not include any ACPI driver or OSPM code.  The debug
   14159 version of the code includes the debug output trace mechanism and
   14160 has a much larger code and data size.  Note that these values will
   14161 vary depending on the efficiency of the compiler and the compiler
   14162 options used during generation.
   14163 
   14164   Previous Release
   14165     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   14166     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   14167   Current Release:
   14168     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   14169     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   14170 
   14171 
   14172 2) Linux
   14173 
   14174 Fixed a problem introduced in the previous release where the
   14175 Processor and Thermal objects were not recognized and installed in
   14176 /proc.  This was related to the scope type change described above.
   14177 
   14178 
   14179 3) iASL Compiler/Disassembler
   14180 
   14181 Implemented the -g option to get all of the required ACPI tables
   14182 from the registry and save them to files (Windows version of the
   14183 compiler only.)  The required tables are the FADT, FACS, and DSDT.
   14184 
   14185 Added ACPI table checksum validation during table disassembly in
   14186 order to catch corrupted tables.
   14187 
   14188 
   14189 ----------------------------------------
   14190 22 October 2002.  Summary of changes for version 20021022.
   14191 
   14192 1) ACPI CA Core Subsystem:
   14193 
   14194 Implemented a restriction on the Scope operator that the target
   14195 must already exist in the namespace at the time the operator is
   14196 encountered (during table load or method execution).  In other
   14197 words, forward references are not allowed and Scope() cannot
   14198 create a new object. This changes the previous behavior where the
   14199 interpreter would create the name if not found.  This new behavior
   14200 correctly enables the search-to-root algorithm during namespace
   14201 lookup of the target name.  Because of this upsearch, this fixes
   14202 the known Compaq _SB_.OKEC problem and makes both the AML
   14203 interpreter and iASL compiler compatible with other ACPI
   14204 implementations.
   14205 
   14206 Completed a major overhaul of the internal ACPI object types for
   14207 the ACPI Namespace and the associated operand objects.  Many of
   14208 these types had become obsolete with the introduction of the two-
   14209 pass namespace load.  This cleanup simplifies the code and makes
   14210 the entire namespace load mechanism much clearer and easier to
   14211 understand.
   14212 
   14213 Improved debug output for tracking scope opening/closing to help
   14214 diagnose scoping issues.  The old scope name as well as the new
   14215 scope name are displayed.  Also improved error messages for
   14216 problems with ASL Mutex objects and error messages for GPE
   14217 problems.
   14218 
   14219 Cleaned up the namespace dump code, removed obsolete code.
   14220 
   14221 All string output (for all namespace/object dumps) now uses the
   14222 common ACPI string output procedure which handles escapes properly
   14223 and does not emit non-printable characters.
   14224 
   14225 Fixed some issues with constants in the 64-bit version of the
   14226 local C library (utclib.c)
   14227 
   14228 
   14229 2) Linux
   14230 
   14231 EC Driver:  No longer attempts to acquire the Global Lock at
   14232 interrupt level.
   14233 
   14234 
   14235 3) iASL Compiler/Disassembler
   14236 
   14237 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
   14238 2 opcodes outside of a control method.  This means that the
   14239 "executable" operators (versus the "namespace" operators) cannot
   14240 be used at the table level; they can only be used within a control
   14241 method.
   14242 
   14243 Implemented the restriction on the Scope() operator where the
   14244 target must already exist in the namespace at the time the
   14245 operator is encountered (during ASL compilation). In other words,
   14246 forward references are not allowed and Scope() cannot create a new
   14247 object.  This makes the iASL compiler compatible with other ACPI
   14248 implementations and makes the Scope() implementation adhere to the
   14249 ACPI specification.
   14250 
   14251 Fixed a problem where namepath optimization for the Alias operator
   14252 was optimizing the wrong path (of the two namepaths.)  This caused
   14253 a "Missing alias link" error message.
   14254 
   14255 Fixed a problem where an "unknown reserved name" warning could be
   14256 incorrectly generated for names like "_SB" when the trailing
   14257 underscore is not used in the original ASL.
   14258 
   14259 Fixed a problem where the reserved name check did not handle
   14260 NamePaths with multiple NameSegs correctly.  The first nameseg of
   14261 the NamePath was examined instead of the last NameSeg.
   14262 
   14263 
   14264 ----------------------------------------
   14265 
   14266 02 October 2002.  Summary of changes for this release.
   14267 
   14268 
   14269 1) ACPI CA Core Subsystem version 20021002:
   14270 
   14271 Fixed a problem where a store/copy of a string to an existing
   14272 string did not always set the string length properly in the String
   14273 object.
   14274 
   14275 Fixed a reported problem with the ToString operator where the
   14276 behavior was identical to the ToHexString operator instead of just
   14277 simply converting a raw buffer to a string data type.
   14278 
   14279 Fixed a problem where CopyObject and the other "explicit"
   14280 conversion operators were not updating the internal namespace node
   14281 type as part of the store operation.
   14282 
   14283 Fixed a memory leak during implicit source operand conversion
   14284 where the original object was not deleted if it was converted to a
   14285 new object of a different type.
   14286 
   14287 Enhanced error messages for all problems associated with namespace
   14288 lookups.  Common procedure generates and prints the lookup name as
   14289 well as the formatted status.
   14290 
   14291 Completed implementation of a new design for the Alias support
   14292 within the namespace.  The existing design did not handle the case
   14293 where a new object was assigned to one of the two names due to the
   14294 use of an explicit conversion operator, resulting in the two names
   14295 pointing to two different objects.  The new design simply points
   14296 the Alias name to the original name node - not to the object.
   14297 This results in a level of indirection that must be handled in the
   14298 name resolution mechanism.
   14299 
   14300 Code and Data Size: Current core subsystem library sizes are shown
   14301 below.  These are the code and data sizes for the acpica.lib
   14302 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14303 values do not include any ACPI driver or OSPM code.  The debug
   14304 version of the code includes the debug output trace mechanism and
   14305 has a larger code and data size.  Note that these values will vary
   14306 depending on the efficiency of the compiler and the compiler
   14307 options used during generation.
   14308 
   14309   Previous Release
   14310     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   14311     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   14312   Current Release:
   14313     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   14314     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   14315 
   14316 
   14317 2) Linux
   14318 
   14319 Initialize thermal driver's timer before it is used. (Knut
   14320 Neumann)
   14321 
   14322 Allow handling negative celsius values. (Kochi Takayoshi)
   14323 
   14324 Fix thermal management and make trip points. R/W (Pavel Machek)
   14325 
   14326 Fix /proc/acpi/sleep. (P. Christeas)
   14327 
   14328 IA64 fixes. (David Mosberger)
   14329 
   14330 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
   14331 
   14332 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
   14333 Brodowski)
   14334 
   14335 
   14336 3) iASL Compiler/Disassembler
   14337 
   14338 Clarified some warning/error messages.
   14339 
   14340 
   14341 ----------------------------------------
   14342 18 September 2002.  Summary of changes for this release.
   14343 
   14344 
   14345 1) ACPI CA Core Subsystem version 20020918:
   14346 
   14347 Fixed a reported problem with reference chaining (via the Index()
   14348 and RefOf() operators) in the ObjectType() and SizeOf() operators.
   14349 The definition of these operators includes the dereferencing of
   14350 all chained references to return information on the base object.
   14351 
   14352 Fixed a problem with stores to indexed package elements - the
   14353 existing code would not complete the store if an "implicit
   14354 conversion" was not performed.  In other words, if the existing
   14355 object (package element) was to be replaced completely, the code
   14356 didn't handle this case.
   14357 
   14358 Relaxed typechecking on the ASL "Scope" operator to allow the
   14359 target name to refer to an object of type Integer, String, or
   14360 Buffer, in addition to the scoping object types (Device,
   14361 predefined Scopes, Processor, PowerResource, and ThermalZone.)
   14362 This allows existing AML code that has workarounds for a bug in
   14363 Windows to function properly.  A warning is issued, however.  This
   14364 affects both the AML interpreter and the iASL compiler. Below is
   14365 an example of this type of ASL code:
   14366 
   14367       Name(DEB,0x00)
   14368       Scope(DEB)
   14369       {
   14370 
   14371 Fixed some reported problems with 64-bit integer support in the
   14372 local implementation of C library functions (clib.c)
   14373 
   14374 
   14375 2) Linux
   14376 
   14377 Use ACPI fix map region instead of IOAPIC region, since it is
   14378 undefined in non-SMP.
   14379 
   14380 Ensure that the SCI has the proper polarity and trigger, even on
   14381 systems that do not have an interrupt override entry in the MADT.
   14382 
   14383 2.5 big driver reorganization (Pat Mochel)
   14384 
   14385 Use early table mapping code from acpitable.c (Andi Kleen)
   14386 
   14387 New blacklist entries (Andi Kleen)
   14388 
   14389 Blacklist improvements. Split blacklist code out into a separate
   14390 file. Move checking the blacklist to very early. Previously, we
   14391 would use ACPI tables, and then halfway through init, check the
   14392 blacklist -- too late. Now, it's early enough to completely fall-
   14393 back to non-ACPI.
   14394 
   14395 
   14396 3) iASL Compiler/Disassembler version 20020918:
   14397 
   14398 Fixed a problem where the typechecking code didn't know that an
   14399 alias could point to a method.  In other words, aliases were not
   14400 being dereferenced during typechecking.
   14401 
   14402 
   14403 ----------------------------------------
   14404 29 August 2002.  Summary of changes for this release.
   14405 
   14406 1) ACPI CA Core Subsystem Version 20020829:
   14407 
   14408 If the target of a Scope() operator already exists, it must be an
   14409 object type that actually opens a scope -- such as a Device,
   14410 Method, Scope, etc.  This is a fatal runtime error.  Similar error
   14411 check has been added to the iASL compiler also.
   14412 
   14413 Tightened up the namespace load to disallow multiple names in the
   14414 same scope.  This previously was allowed if both objects were of
   14415 the same type.  (i.e., a lookup was the same as entering a new
   14416 name).
   14417 
   14418 
   14419 2) Linux
   14420 
   14421 Ensure that the ACPI interrupt has the proper trigger and
   14422 polarity.
   14423 
   14424 local_irq_disable is extraneous. (Matthew Wilcox)
   14425 
   14426 Make "acpi=off" actually do what it says, and not use the ACPI
   14427 interpreter *or* the tables.
   14428 
   14429 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
   14430 Takayoshi)
   14431 
   14432 
   14433 3) iASL Compiler/Disassembler  Version 20020829:
   14434 
   14435 Implemented namepath optimization for name declarations.  For
   14436 example, a declaration like "Method (\_SB_.ABCD)" would get
   14437 optimized to "Method (ABCD)" if the declaration is within the
   14438 \_SB_ scope.  This optimization is in addition to the named
   14439 reference path optimization first released in the previous
   14440 version. This would seem to complete all possible optimizations
   14441 for namepaths within the ASL/AML.
   14442 
   14443 If the target of a Scope() operator already exists, it must be an
   14444 object type that actually opens a scope -- such as a Device,
   14445 Method, Scope, etc.
   14446 
   14447 Implemented a check and warning for unreachable code in the same
   14448 block below a Return() statement.
   14449 
   14450 Fixed a problem where the listing file was not generated if the
   14451 compiler aborted if the maximum error count was exceeded (200).
   14452 
   14453 Fixed a problem where the typechecking of method return values was
   14454 broken.  This includes the check for a return value when the
   14455 method is invoked as a TermArg (a return value is expected.)
   14456 
   14457 Fixed a reported problem where EOF conditions during a quoted
   14458 string or comment caused a fault.
   14459 
   14460 
   14461 ----------------------------------------
   14462 15 August 2002.  Summary of changes for this release.
   14463 
   14464 1) ACPI CA Core Subsystem Version 20020815:
   14465 
   14466 Fixed a reported problem where a Store to a method argument that
   14467 contains a reference did not perform the indirect store correctly.
   14468 This problem was created during the conversion to the new
   14469 reference object model - the indirect store to a method argument
   14470 code was not updated to reflect the new model.
   14471 
   14472 Reworked the ACPI mode change code to better conform to ACPI 2.0,
   14473 handle corner cases, and improve code legibility (Kochi Takayoshi)
   14474 
   14475 Fixed a problem with the pathname parsing for the carat (^)
   14476 prefix.  The heavy use of the carat operator by the new namepath
   14477 optimization in the iASL compiler uncovered a problem with the AML
   14478 interpreter handling of this prefix.  In the case where one or
   14479 more carats precede a single nameseg, the nameseg was treated as
   14480 standalone and the search rule (to root) was inadvertently
   14481 applied.  This could cause both the iASL compiler and the
   14482 interpreter to find the wrong object or to miss the error that
   14483 should occur if the object does not exist at that exact pathname.
   14484 
   14485 Found and fixed the problem where the HP Pavilion DSDT would not
   14486 load.  This was a relatively minor tweak to the table loading code
   14487 (a problem caused by the unexpected encounter with a method
   14488 invocation not within a control method), but it does not solve the
   14489 overall issue of the execution of AML code at the table level.
   14490 This investigation is still ongoing.
   14491 
   14492 Code and Data Size: Current core subsystem library sizes are shown
   14493 below.  These are the code and data sizes for the acpica.lib
   14494 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14495 values do not include any ACPI driver or OSPM code.  The debug
   14496 version of the code includes the debug output trace mechanism and
   14497 has a larger code and data size.  Note that these values will vary
   14498 depending on the efficiency of the compiler and the compiler
   14499 options used during generation.
   14500 
   14501   Previous Release
   14502     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   14503     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   14504   Current Release:
   14505     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   14506     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   14507 
   14508 
   14509 2) Linux
   14510 
   14511 Remove redundant slab.h include (Brad Hards)
   14512 
   14513 Fix several bugs in thermal.c (Herbert Nachtnebel)
   14514 
   14515 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
   14516 
   14517 Change acpi_system_suspend to use updated irq functions (Pavel
   14518 Machek)
   14519 
   14520 Export acpi_get_firmware_table (Matthew Wilcox)
   14521 
   14522 Use proper root proc entry for ACPI (Kochi Takayoshi)
   14523 
   14524 Fix early-boot table parsing (Bjorn Helgaas)
   14525 
   14526 
   14527 3) iASL Compiler/Disassembler
   14528 
   14529 Reworked the compiler options to make them more consistent and to
   14530 use two-letter options where appropriate.  We were running out of
   14531 sensible letters.   This may break some makefiles, so check the
   14532 current options list by invoking the compiler with no parameters.
   14533 
   14534 Completed the design and implementation of the ASL namepath
   14535 optimization option for the compiler.  This option optimizes all
   14536 references to named objects to the shortest possible path.  The
   14537 first attempt tries to utilize a single nameseg (4 characters) and
   14538 the "search-to-root" algorithm used by the interpreter.  If that
   14539 cannot be used (because either the name is not in the search path
   14540 or there is a conflict with another object with the same name),
   14541 the pathname is optimized using the carat prefix (usually a
   14542 shorter string than specifying the entire path from the root.)
   14543 
   14544 Implemented support to obtain the DSDT from the Windows registry
   14545 (when the disassembly option is specified with no input file).
   14546 Added this code as the implementation for AcpiOsTableOverride in
   14547 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
   14548 utility) to scan memory for the DSDT to the AcpiOsTableOverride
   14549 function in the DOS OSL to make the disassembler truly OS
   14550 independent.
   14551 
   14552 Implemented a new option to disassemble and compile in one step.
   14553 When used without an input filename, this option will grab the
   14554 DSDT from the local machine, disassemble it, and compile it in one
   14555 step.
   14556 
   14557 Added a warning message for invalid escapes (a backslash followed
   14558 by any character other than the allowable escapes).  This catches
   14559 the quoted string error "\_SB_" (which should be "\\_SB_" ).
   14560 
   14561 Also, there are numerous instances in the ACPI specification where
   14562 this error occurs.
   14563 
   14564 Added a compiler option to disable all optimizations.  This is
   14565 basically the "compatibility mode" because by using this option,
   14566 the AML code will come out exactly the same as other ASL
   14567 compilers.
   14568 
   14569 Added error messages for incorrectly ordered dependent resource
   14570 functions.  This includes: missing EndDependentFn macro at end of
   14571 dependent resource list, nested dependent function macros (both
   14572 start and end), and missing StartDependentFn macro.  These are
   14573 common errors that should be caught at compile time.
   14574 
   14575 Implemented _OSI support for the disassembler and compiler.  _OSI
   14576 must be included in the namespace for proper disassembly (because
   14577 the disassembler must know the number of arguments.)
   14578 
   14579 Added an "optimization" message type that is optional (off by
   14580 default).  This message is used for all optimizations - including
   14581 constant folding, integer optimization, and namepath optimization.
   14582 
   14583 ----------------------------------------
   14584 25 July 2002.  Summary of changes for this release.
   14585 
   14586 
   14587 1) ACPI CA Core Subsystem Version 20020725:
   14588 
   14589 The AML Disassembler has been enhanced to produce compilable ASL
   14590 code and has been integrated into the iASL compiler (see below) as
   14591 well as the single-step disassembly for the AML debugger and the
   14592 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
   14593 resource templates and macros are fully supported.  The
   14594 disassembler has been tested on over 30 different AML files,
   14595 producing identical AML when the resulting disassembled ASL file
   14596 is recompiled with the same ASL compiler.
   14597 
   14598 Modified the Resource Manager to allow zero interrupts and zero
   14599 dma channels during the GetCurrentResources call.  This was
   14600 causing problems on some platforms.
   14601 
   14602 Added the AcpiOsRedirectOutput interface to the OSL to simplify
   14603 output redirection for the AcpiOsPrintf and AcpiOsVprintf
   14604 interfaces.
   14605 
   14606 Code and Data Size: Current core subsystem library sizes are shown
   14607 below.  These are the code and data sizes for the acpica.lib
   14608 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14609 values do not include any ACPI driver or OSPM code.  The debug
   14610 version of the code includes the debug output trace mechanism and
   14611 has a larger code and data size.  Note that these values will vary
   14612 depending on the efficiency of the compiler and the compiler
   14613 options used during generation.
   14614 
   14615   Previous Release
   14616     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   14617     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   14618   Current Release:
   14619     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   14620     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   14621 
   14622 
   14623 2) Linux
   14624 
   14625 Fixed a panic in the EC driver (Dominik Brodowski)
   14626 
   14627 Implemented checksum of the R/XSDT itself during Linux table scan
   14628 (Richard Schaal)
   14629 
   14630 
   14631 3) iASL compiler
   14632 
   14633 The AML disassembler is integrated into the compiler.  The "-d"
   14634 option invokes the disassembler  to completely disassemble an
   14635 input AML file, producing as output a text ASL file with the
   14636 extension ".dsl" (to avoid name collisions with existing .asl
   14637 source files.)  A future enhancement will allow the disassembler
   14638 to obtain the BIOS DSDT from the registry under Windows.
   14639 
   14640 Fixed a problem with the VendorShort and VendorLong resource
   14641 descriptors where an invalid AML sequence was created.
   14642 
   14643 Implemented a fix for BufferData term in the ASL parser.  It was
   14644 inadvertently defined twice, allowing invalid syntax to pass and
   14645 causing reduction conflicts.
   14646 
   14647 Fixed a problem where the Ones opcode could get converted to a
   14648 value of zero if "Ones" was used where a byte, word or dword value
   14649 was expected.  The 64-bit value is now truncated to the correct
   14650 size with the correct value.
   14651 
   14652 
   14653 
   14654 ----------------------------------------
   14655 02 July 2002.  Summary of changes for this release.
   14656 
   14657 
   14658 1) ACPI CA Core Subsystem Version 20020702:
   14659 
   14660 The Table Manager code has been restructured to add several new
   14661 features.  Tables that are not required by the core subsystem
   14662 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
   14663 validated in any way and are returned from AcpiGetFirmwareTable if
   14664 requested.  The AcpiOsTableOverride interface is now called for
   14665 each table that is loaded by the subsystem in order to allow the
   14666 host to override any table it chooses.  Previously, only the DSDT
   14667 could be overridden.  Added one new files, tbrsdt.c and
   14668 tbgetall.c.
   14669 
   14670 Fixed a problem with the conversion of internal package objects to
   14671 external objects (when a package is returned from a control
   14672 method.)  The return buffer length was set to zero instead of the
   14673 proper length of the package object.
   14674 
   14675 Fixed a reported problem with the use of the RefOf and DeRefOf
   14676 operators when passing reference arguments to control methods.  A
   14677 new type of Reference object is used internally for references
   14678 produced by the RefOf operator.
   14679 
   14680 Added additional error messages in the Resource Manager to explain
   14681 AE_BAD_DATA errors when they occur during resource parsing.
   14682 
   14683 Split the AcpiEnableSubsystem into two primitives to enable a
   14684 finer granularity initialization sequence.  These two calls should
   14685 be called in this order: AcpiEnableSubsystem (flags),
   14686 AcpiInitializeObjects (flags).  The flags parameter remains the
   14687 same.
   14688 
   14689 
   14690 2) Linux
   14691 
   14692 Updated the ACPI utilities module to understand the new style of
   14693 fully resolved package objects that are now returned from the core
   14694 subsystem.  This eliminates errors of the form:
   14695 
   14696     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
   14697     acpi_utils-0430 [145] acpi_evaluate_reference:
   14698         Invalid element in package (not a device reference)
   14699 
   14700 The method evaluation utility uses the new buffer allocation
   14701 scheme instead of calling AcpiEvaluate Object twice.
   14702 
   14703 Added support for ECDT. This allows the use of the Embedded
   14704 
   14705 Controller before the namespace has been fully initialized, which
   14706 is necessary for ACPI 2.0 support, and for some laptops to
   14707 initialize properly. (Laptops using ECDT are still rare, so only
   14708 limited testing was performed of the added functionality.)
   14709 
   14710 Fixed memory leaks in the EC driver.
   14711 
   14712 Eliminated a brittle code structure in acpi_bus_init().
   14713 
   14714 Eliminated the acpi_evaluate() helper function in utils.c. It is
   14715 no longer needed since acpi_evaluate_object can optionally
   14716 allocate memory for the return object.
   14717 
   14718 Implemented fix for keyboard hang when getting battery readings on
   14719 some systems (Stephen White)
   14720 
   14721 PCI IRQ routing update (Dominik Brodowski)
   14722 
   14723 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
   14724 support
   14725 
   14726 ----------------------------------------
   14727 11 June 2002.  Summary of changes for this release.
   14728 
   14729 
   14730 1) ACPI CA Core Subsystem Version 20020611:
   14731 
   14732 Fixed a reported problem where constants such as Zero and One
   14733 appearing within _PRT packages were not handled correctly within
   14734 the resource manager code.  Originally reported against the ASL
   14735 compiler because the code generator now optimizes integers to
   14736 their minimal AML representation (i.e. AML constants if possible.)
   14737 The _PRT code now handles all AML constant opcodes correctly
   14738 (Zero, One, Ones, Revision).
   14739 
   14740 Fixed a problem with the Concatenate operator in the AML
   14741 interpreter where a buffer result object was incorrectly marked as
   14742 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
   14743 
   14744 All package sub-objects are now fully resolved before they are
   14745 returned from the external ACPI interfaces.  This means that name
   14746 strings are resolved to object handles, and constant operators
   14747 (Zero, One, Ones, Revision) are resolved to Integers.
   14748 
   14749 Implemented immediate resolution of the AML Constant opcodes
   14750 (Zero, One, Ones, Revision) to Integer objects upon detection
   14751 within the AML stream. This has simplified and reduced the
   14752 generated code size of the subsystem by eliminating about 10
   14753 switch statements for these constants (which previously were
   14754 contained in Reference objects.)  The complicating issues are that
   14755 the Zero opcode is used as a "placeholder" for unspecified
   14756 optional target operands and stores to constants are defined to be
   14757 no-ops.
   14758 
   14759 Code and Data Size: Current core subsystem library sizes are shown
   14760 below. These are the code and data sizes for the acpica.lib
   14761 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14762 values do not include any ACPI driver or OSPM code.  The debug
   14763 version of the code includes the debug output trace mechanism and
   14764 has a larger code and data size.  Note that these values will vary
   14765 depending on the efficiency of the compiler and the compiler
   14766 options used during generation.
   14767 
   14768   Previous Release
   14769     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   14770     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   14771   Current Release:
   14772     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   14773     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   14774 
   14775 
   14776 2) Linux
   14777 
   14778 
   14779 Added preliminary support for obtaining _TRA data for PCI root
   14780 bridges (Bjorn Helgaas).
   14781 
   14782 
   14783 3) iASL Compiler Version X2046:
   14784 
   14785 Fixed a problem where the "_DDN" reserved name was defined to be a
   14786 control method with one argument.  There are no arguments, and
   14787 _DDN does not have to be a control method.
   14788 
   14789 Fixed a problem with the Linux version of the compiler where the
   14790 source lines printed with error messages were the wrong lines.
   14791 This turned out to be the "LF versus CR/LF" difference between
   14792 Windows and Unix.  This appears to be the longstanding issue
   14793 concerning listing output and error messages.
   14794 
   14795 Fixed a problem with the Linux version of compiler where opcode
   14796 names within error messages were wrong.  This was caused by a
   14797 slight difference in the output of the Flex tool on Linux versus
   14798 Windows.
   14799 
   14800 Fixed a problem with the Linux compiler where the hex output files
   14801 contained some garbage data caused by an internal buffer overrun.
   14802 
   14803 
   14804 ----------------------------------------
   14805 17 May 2002.  Summary of changes for this release.
   14806 
   14807 
   14808 1) ACPI CA Core Subsystem Version 20020517:
   14809 
   14810 Implemented a workaround to an BIOS bug discovered on the HP
   14811 OmniBook where the FADT revision number and the table size are
   14812 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
   14813 behavior is to fallback to using only the ACPI 1.0 fields of the
   14814 FADT if the table is too small to be a ACPI 2.0 table as claimed
   14815 by the revision number.  Although this is a BIOS bug, this is a
   14816 case where the workaround is simple enough and with no side
   14817 effects, so it seemed prudent to add it.  A warning message is
   14818 issued, however.
   14819 
   14820 Implemented minimum size checks for the fixed-length ACPI tables -
   14821 - the FADT and FACS, as well as consistency checks between the
   14822 revision number and the table size.
   14823 
   14824 Fixed a reported problem in the table override support where the
   14825 new table pointer was incorrectly treated as a physical address
   14826 instead of a logical address.
   14827 
   14828 Eliminated the use of the AE_AML_ERROR exception and replaced it
   14829 with more descriptive codes.
   14830 
   14831 Fixed a problem where an exception would occur if an ASL Field was
   14832 defined with no named Field Units underneath it (used by some
   14833 index fields).
   14834 
   14835 Code and Data Size: Current core subsystem library sizes are shown
   14836 below.  These are the code and data sizes for the acpica.lib
   14837 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14838 values do not include any ACPI driver or OSPM code.  The debug
   14839 version of the code includes the debug output trace mechanism and
   14840 has a larger code and data size.  Note that these values will vary
   14841 depending on the efficiency of the compiler and the compiler
   14842 options used during generation.
   14843 
   14844   Previous Release
   14845     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   14846     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   14847   Current Release:
   14848     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   14849     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   14850 
   14851 
   14852 
   14853 2) Linux
   14854 
   14855 Much work done on ACPI init (MADT and PCI IRQ routing support).
   14856 (Paul D. and Dominik Brodowski)
   14857 
   14858 Fix PCI IRQ-related panic on boot (Sam Revitch)
   14859 
   14860 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
   14861 
   14862 Fix "MHz" typo (Dominik Brodowski)
   14863 
   14864 Fix RTC year 2000 issue (Dominik Brodowski)
   14865 
   14866 Preclude multiple button proc entries (Eric Brunet)
   14867 
   14868 Moved arch-specific code out of include/platform/aclinux.h
   14869 
   14870 3) iASL Compiler Version X2044:
   14871 
   14872 Implemented error checking for the string used in the EISAID macro
   14873 (Usually used in the definition of the _HID object.)  The code now
   14874 strictly enforces the PnP format - exactly 7 characters, 3
   14875 uppercase letters and 4 hex digits.
   14876 
   14877 If a raw string is used in the definition of the _HID object
   14878 (instead of the EISAID macro), the string must contain all
   14879 alphanumeric characters (e.g., "*PNP0011" is not allowed because
   14880 of the asterisk.)
   14881 
   14882 Implemented checking for invalid use of ACPI reserved names for
   14883 most of the name creation operators (Name, Device, Event, Mutex,
   14884 OperationRegion, PowerResource, Processor, and ThermalZone.)
   14885 Previously, this check was only performed for control methods.
   14886 
   14887 Implemented an additional check on the Name operator to emit an
   14888 error if a reserved name that must be implemented in ASL as a
   14889 control method is used.  We know that a reserved name must be a
   14890 method if it is defined with input arguments.
   14891 
   14892 The warning emitted when a namespace object reference is not found
   14893 during the cross reference phase has been changed into an error.
   14894 The "External" directive should be used for names defined in other
   14895 modules.
   14896 
   14897 
   14898 4) Tools and Utilities
   14899 
   14900 The 16-bit tools (adump16 and aexec16) have been regenerated and
   14901 tested.
   14902 
   14903 Fixed a problem with the output of both acpidump and adump16 where
   14904 the indentation of closing parentheses and brackets was not
   14905 
   14906 aligned properly with the parent block.
   14907 
   14908 
   14909 ----------------------------------------
   14910 03 May 2002.  Summary of changes for this release.
   14911 
   14912 
   14913 1) ACPI CA Core Subsystem Version 20020503:
   14914 
   14915 Added support a new OSL interface that allows the host operating
   14916 
   14917 system software to override the DSDT found in the firmware -
   14918 AcpiOsTableOverride.  With this interface, the OSL can examine the
   14919 version of the firmware DSDT and replace it with a different one
   14920 if desired.
   14921 
   14922 Added new external interfaces for accessing ACPI registers from
   14923 device drivers and other system software - AcpiGetRegister and
   14924 AcpiSetRegister.  This was simply an externalization of the
   14925 existing AcpiHwBitRegister interfaces.
   14926 
   14927 Fixed a regression introduced in the previous build where the
   14928 ASL/AML CreateField operator always returned an error,
   14929 "destination must be a NS Node".
   14930 
   14931 Extended the maximum time (before failure) to successfully enable
   14932 ACPI mode to 3 seconds.
   14933 
   14934 Code and Data Size: Current core subsystem library sizes are shown
   14935 below.  These are the code and data sizes for the acpica.lib
   14936 produced by the Microsoft Visual C++ 6.0 compiler, and these
   14937 values do not include any ACPI driver or OSPM code.  The debug
   14938 version of the code includes the debug output trace mechanism and
   14939 has a larger code and data size.  Note that these values will vary
   14940 depending on the efficiency of the compiler and the compiler
   14941 options used during generation.
   14942 
   14943   Previous Release
   14944     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   14945     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   14946   Current Release:
   14947     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   14948     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   14949 
   14950 
   14951 2) Linux
   14952 
   14953 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
   14954 free. While 3 out of 4 of our in-house systems work fine, the last
   14955 one still hangs when testing the LAPIC timer.
   14956 
   14957 Renamed many files in 2.5 kernel release to omit "acpi_" from the
   14958 name.
   14959 
   14960 Added warning on boot for Presario 711FR.
   14961 
   14962 Sleep improvements (Pavel Machek)
   14963 
   14964 ACPI can now be built without CONFIG_PCI enabled.
   14965 
   14966 IA64: Fixed memory map functions (JI Lee)
   14967 
   14968 
   14969 3) iASL Compiler Version X2043:
   14970 
   14971 Added support to allow the compiler to be integrated into the MS
   14972 VC++ development environment for one-button compilation of single
   14973 files or entire projects -- with error-to-source-line mapping.
   14974 
   14975 Implemented support for compile-time constant folding for the
   14976 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
   14977 specification.  This allows the ASL writer to use expressions
   14978 instead of Integer/Buffer/String constants in terms that must
   14979 evaluate to constants at compile time and will also simplify the
   14980 emitted AML in any such sub-expressions that can be folded
   14981 (evaluated at compile-time.)  This increases the size of the
   14982 compiler significantly because a portion of the ACPI CA AML
   14983 interpreter is included within the compiler in order to pre-
   14984 evaluate constant expressions.
   14985 
   14986 
   14987 Fixed a problem with the "Unicode" ASL macro that caused the
   14988 compiler to fault.  (This macro is used in conjunction with the
   14989 _STR reserved name.)
   14990 
   14991 Implemented an AML opcode optimization to use the Zero, One, and
   14992 Ones opcodes where possible to further reduce the size of integer
   14993 constants and thus reduce the overall size of the generated AML
   14994 code.
   14995 
   14996 Implemented error checking for new reserved terms for ACPI version
   14997 2.0A.
   14998 
   14999 Implemented the -qr option to display the current list of ACPI
   15000 reserved names known to the compiler.
   15001 
   15002 Implemented the -qc option to display the current list of ASL
   15003 operators that are allowed within constant expressions and can
   15004 therefore be folded at compile time if the operands are constants.
   15005 
   15006 
   15007 4) Documentation
   15008 
   15009 Updated the Programmer's Reference for new interfaces, data types,
   15010 and memory allocation model options.
   15011 
   15012 Updated the iASL Compiler User Reference to apply new format and
   15013 add information about new features and options.
   15014 
   15015 ----------------------------------------
   15016 19 April 2002.  Summary of changes for this release.
   15017 
   15018 1) ACPI CA Core Subsystem Version 20020419:
   15019 
   15020 The source code base for the Core Subsystem has been completely
   15021 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
   15022 versions.  The Lint option files used are included in the
   15023 /acpi/generate/lint directory.
   15024 
   15025 Implemented enhanced status/error checking across the entire
   15026 Hardware manager subsystem.  Any hardware errors (reported from
   15027 the OSL) are now bubbled up and will abort a running control
   15028 method.
   15029 
   15030 
   15031 Fixed a problem where the per-ACPI-table integer width (32 or 64)
   15032 was stored only with control method nodes, causing a fault when
   15033 non-control method code was executed during table loading.  The
   15034 solution implemented uses a global variable to indicate table
   15035 width across the entire ACPI subsystem.  Therefore, ACPI CA does
   15036 not support mixed integer widths across different ACPI tables
   15037 (DSDT, SSDT).
   15038 
   15039 Fixed a problem where NULL extended fields (X fields) in an ACPI
   15040 2.0 ACPI FADT caused the table load to fail.  Although the
   15041 existing ACPI specification is a bit fuzzy on this topic, the new
   15042 behavior is to fall back on a ACPI 1.0 field if the corresponding
   15043 ACPI 2.0 X field is zero (even though the table revision indicates
   15044 a full ACPI 2.0 table.)  The ACPI specification will be updated to
   15045 clarify this issue.
   15046 
   15047 Fixed a problem with the SystemMemory operation region handler
   15048 where memory was always accessed byte-wise even if the AML-
   15049 specified access width was larger than a byte.  This caused
   15050 problems on systems with memory-mapped I/O.  Memory is now
   15051 accessed with the width specified.  On systems that do not support
   15052 non-aligned transfers, a check is made to guarantee proper address
   15053 alignment before proceeding in order to avoid an AML-caused
   15054 alignment fault within the kernel.
   15055 
   15056 
   15057 Fixed a problem with the ExtendedIrq resource where only one byte
   15058 of the 4-byte Irq field was extracted.
   15059 
   15060 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
   15061 function was out of date and required a rewrite.
   15062 
   15063 Code and Data Size: Current core subsystem library sizes are shown
   15064 below.  These are the code and data sizes for the acpica.lib
   15065 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15066 values do not include any ACPI driver or OSPM code.  The debug
   15067 version of the code includes the debug output trace mechanism and
   15068 has a larger code and data size.  Note that these values will vary
   15069 depending on the efficiency of the compiler and the compiler
   15070 options used during generation.
   15071 
   15072   Previous Release
   15073     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   15074     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   15075   Current Release:
   15076     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   15077     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   15078 
   15079 
   15080 2) Linux
   15081 
   15082 PCI IRQ routing fixes (Dominik Brodowski)
   15083 
   15084 
   15085 3) iASL Compiler Version X2042:
   15086 
   15087 Implemented an additional compile-time error check for a field
   15088 unit whose size + minimum access width would cause a run-time
   15089 access beyond the end-of-region.  Previously, only the field size
   15090 itself was checked.
   15091 
   15092 The Core subsystem and iASL compiler now share a common parse
   15093 object in preparation for compile-time evaluation of the type
   15094 3/4/5 ASL operators.
   15095 
   15096 
   15097 ----------------------------------------
   15098 Summary of changes for this release: 03_29_02
   15099 
   15100 1) ACPI CA Core Subsystem Version 20020329:
   15101 
   15102 Implemented support for late evaluation of TermArg operands to
   15103 Buffer and Package objects.  This allows complex expressions to be
   15104 used in the declarations of these object types.
   15105 
   15106 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
   15107 1.0, if the field was larger than 32 bits, it was returned as a
   15108 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
   15109 the field is returned as a buffer only if the field is larger than
   15110 64 bits.  The TableRevision is now considered when making this
   15111 conversion to avoid incompatibility with existing ASL code.
   15112 
   15113 Implemented logical addressing for AcpiOsGetRootPointer.  This
   15114 allows an RSDP with either a logical or physical address.  With
   15115 this support, the host OS can now override all ACPI tables with
   15116 one logical RSDP.  Includes implementation of  "typed" pointer
   15117 support to allow a common data type for both physical and logical
   15118 pointers internally.  This required a change to the
   15119 AcpiOsGetRootPointer interface.
   15120 
   15121 Implemented the use of ACPI 2.0 Generic Address Structures for all
   15122 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
   15123 mapped I/O for these ACPI features.
   15124 
   15125 Initialization now ignores not only non-required tables (All
   15126 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
   15127 not validate the table headers of unrecognized tables.
   15128 
   15129 Fixed a problem where a notify handler could only be
   15130 installed/removed on an object of type Device.  All "notify"
   15131 
   15132 objects are now supported -- Devices, Processor, Power, and
   15133 Thermal.
   15134 
   15135 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
   15136 critical information is returned when this debug level is enabled.
   15137 
   15138 Code and Data Size: Current core subsystem library sizes are shown
   15139 below.  These are the code and data sizes for the acpica.lib
   15140 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15141 values do not include any ACPI driver or OSPM code.  The debug
   15142 version of the code includes the debug output trace mechanism and
   15143 has a larger code and data size.  Note that these values will vary
   15144 depending on the efficiency of the compiler and the compiler
   15145 options used during generation.
   15146 
   15147   Previous Release
   15148     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   15149     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   15150   Current Release:
   15151     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   15152     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   15153 
   15154 
   15155 2) Linux:
   15156 
   15157 The processor driver (acpi_processor.c) now fully supports ACPI
   15158 2.0-based processor performance control (e.g. Intel(R)
   15159 SpeedStep(TM) technology) Note that older laptops that only have
   15160 the Intel "applet" interface are not supported through this.  The
   15161 'limit' and 'performance' interface (/proc) are fully functional.
   15162 [Note that basic policy for controlling performance state
   15163 transitions will be included in the next version of ospmd.]  The
   15164 idle handler was modified to more aggressively use C2, and PIIX4
   15165 errata handling underwent a complete overhaul (big thanks to
   15166 Dominik Brodowski).
   15167 
   15168 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
   15169 based devices in the ACPI namespace are now dynamically bound
   15170 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
   15171 This allows, among other things, ACPI to resolve bus numbers for
   15172 subordinate PCI bridges.
   15173 
   15174 Enhanced PCI IRQ routing to get the proper bus number for _PRT
   15175 entries defined underneath PCI bridges.
   15176 
   15177 Added IBM 600E to bad bios list due to invalid _ADR value for
   15178 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
   15179 
   15180 In the process of adding full MADT support (e.g. IOAPIC) for IA32
   15181 (acpi.c, mpparse.c) -- stay tuned.
   15182 
   15183 Added back visual differentiation between fixed-feature and
   15184 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
   15185 button/power/PWRF) to simplify button identification.
   15186 
   15187 We no longer use -Wno-unused when compiling debug. Please ignore
   15188 any "_THIS_MODULE defined but not used" messages.
   15189 
   15190 Can now shut down the system using "magic sysrq" key.
   15191 
   15192 
   15193 3) iASL Compiler version 2041:
   15194 
   15195 Fixed a problem where conversion errors for hex/octal/decimal
   15196 constants were not reported.
   15197 
   15198 Implemented a fix for the General Register template Address field.
   15199 This field was 8 bits when it should be 64.
   15200 
   15201 Fixed a problem where errors/warnings were no longer being emitted
   15202 within the listing output file.
   15203 
   15204 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
   15205 exactly 4 characters, alphanumeric only.
   15206 
   15207 
   15208 
   15209 
   15210 ----------------------------------------
   15211 Summary of changes for this release: 03_08_02
   15212 
   15213 
   15214 1) ACPI CA Core Subsystem Version 20020308:
   15215 
   15216 Fixed a problem with AML Fields where the use of the "AccessAny"
   15217 keyword could cause an interpreter error due to attempting to read
   15218 or write beyond the end of the parent Operation Region.
   15219 
   15220 Fixed a problem in the SystemMemory Operation Region handler where
   15221 an attempt was made to map memory beyond the end of the region.
   15222 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
   15223 errors on some Linux systems.
   15224 
   15225 Fixed a problem where the interpreter/namespace "search to root"
   15226 algorithm was not functioning for some object types.  Relaxed the
   15227 internal restriction on the search to allow upsearches for all
   15228 external object types as well as most internal types.
   15229 
   15230 
   15231 2) Linux:
   15232 
   15233 We now use safe_halt() macro versus individual calls to sti | hlt.
   15234 
   15235 Writing to the processor limit interface should now work. "echo 1"
   15236 will increase the limit, 2 will decrease, and 0 will reset to the
   15237 
   15238 default.
   15239 
   15240 
   15241 3) ASL compiler:
   15242 
   15243 Fixed segfault on Linux version.
   15244 
   15245 
   15246 ----------------------------------------
   15247 Summary of changes for this release: 02_25_02
   15248 
   15249 1) ACPI CA Core Subsystem:
   15250 
   15251 
   15252 Fixed a problem where the GPE bit masks were not initialized
   15253 properly, causing erratic GPE behavior.
   15254 
   15255 Implemented limited support for multiple calling conventions.  The
   15256 code can be generated with either the VPL (variable parameter
   15257 list, or "C") convention, or the FPL (fixed parameter list, or
   15258 "Pascal") convention.  The core subsystem is about 3.4% smaller
   15259 when generated with FPL.
   15260 
   15261 
   15262 2) Linux
   15263 
   15264 Re-add some /proc/acpi/event functionality that was lost during
   15265 the rewrite
   15266 
   15267 Resolved issue with /proc events for fixed-feature buttons showing
   15268 up as the system device.
   15269 
   15270 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
   15271 
   15272 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
   15273 
   15274 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
   15275 
   15276 Fixed limit interface & usage to fix bugs with passive cooling
   15277 hysterisis.
   15278 
   15279 Restructured PRT support.
   15280 
   15281 
   15282 ----------------------------------------
   15283 Summary of changes for this label: 02_14_02
   15284 
   15285 
   15286 1) ACPI CA Core Subsystem:
   15287 
   15288 Implemented support in AcpiLoadTable to allow loading of FACS and
   15289 FADT tables.
   15290 
   15291 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
   15292 been removed.  All 64-bit platforms should be migrated to the ACPI
   15293 2.0 tables.  The actbl71.h header has been removed from the source
   15294 tree.
   15295 
   15296 All C macros defined within the subsystem have been prefixed with
   15297 "ACPI_" to avoid collision with other system include files.
   15298 
   15299 Removed the return value for the two AcpiOsPrint interfaces, since
   15300 it is never used and causes lint warnings for ignoring the return
   15301 value.
   15302 
   15303 Added error checking to all internal mutex acquire and release
   15304 calls.  Although a failure from one of these interfaces is
   15305 probably a fatal system error, these checks will cause the
   15306 immediate abort of the currently executing method or interface.
   15307 
   15308 Fixed a problem where the AcpiSetCurrentResources interface could
   15309 fault.  This was a side effect of the deployment of the new memory
   15310 allocation model.
   15311 
   15312 Fixed a couple of problems with the Global Lock support introduced
   15313 in the last major build.  The "common" (1.0/2.0) internal FACS was
   15314 being overwritten with the FACS signature and clobbering the
   15315 Global Lock pointer.  Also, the actual firmware FACS was being
   15316 unmapped after construction of the "common" FACS, preventing
   15317 access to the actual Global Lock field within it.  The "common"
   15318 internal FACS is no longer installed as an actual ACPI table; it
   15319 is used simply as a global.
   15320 
   15321 Code and Data Size: Current core subsystem library sizes are shown
   15322 below.  These are the code and data sizes for the acpica.lib
   15323 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15324 values do not include any ACPI driver or OSPM code.  The debug
   15325 version of the code includes the debug output trace mechanism and
   15326 has a larger code and data size.  Note that these values will vary
   15327 depending on the efficiency of the compiler and the compiler
   15328 options used during generation.
   15329 
   15330   Previous Release (02_07_01)
   15331     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   15332     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   15333   Current Release:
   15334     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   15335     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   15336 
   15337 
   15338 2) Linux
   15339 
   15340 Updated Linux-specific code for core macro and OSL interface
   15341 changes described above.
   15342 
   15343 Improved /proc/acpi/event. It now can be opened only once and has
   15344 proper poll functionality.
   15345 
   15346 Fixed and restructured power management (acpi_bus).
   15347 
   15348 Only create /proc "view by type" when devices of that class exist.
   15349 
   15350 Fixed "charging/discharging" bug (and others) in acpi_battery.
   15351 
   15352 Improved thermal zone code.
   15353 
   15354 
   15355 3) ASL Compiler, version X2039:
   15356 
   15357 
   15358 Implemented the new compiler restriction on ASL String hex/octal
   15359 escapes to non-null, ASCII values.  An error results if an invalid
   15360 value is used.  (This will require an ACPI 2.0 specification
   15361 change.)
   15362 
   15363 AML object labels that are output to the optional C and ASM source
   15364 are now prefixed with both the ACPI table signature and table ID
   15365 to help guarantee uniqueness within a large BIOS project.
   15366 
   15367 
   15368 ----------------------------------------
   15369 Summary of changes for this label: 02_01_02
   15370 
   15371 1) ACPI CA Core Subsystem:
   15372 
   15373 ACPI 2.0 support is complete in the entire Core Subsystem and the
   15374 ASL compiler. All new ACPI 2.0 operators are implemented and all
   15375 other changes for ACPI 2.0 support are complete.  With
   15376 simultaneous code and data optimizations throughout the subsystem,
   15377 ACPI 2.0 support has been implemented with almost no additional
   15378 cost in terms of code and data size.
   15379 
   15380 Implemented a new mechanism for allocation of return buffers.  If
   15381 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
   15382 be allocated on behalf of the caller.  Consolidated all return
   15383 buffer validation and allocation to a common procedure.  Return
   15384 buffers will be allocated via the primary OSL allocation interface
   15385 since it appears that a separate pool is not needed by most users.
   15386 If a separate pool is required for these buffers, the caller can
   15387 still use the original mechanism and pre-allocate the buffer(s).
   15388 
   15389 Implemented support for string operands within the DerefOf
   15390 operator.
   15391 
   15392 Restructured the Hardware and Event managers to be table driven,
   15393 simplifying the source code and reducing the amount of generated
   15394 code.
   15395 
   15396 Split the common read/write low-level ACPI register bitfield
   15397 procedure into a separate read and write, simplifying the code
   15398 considerably.
   15399 
   15400 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
   15401 used only a handful of times and didn't have enough critical mass
   15402 for a separate interface.  Replaced with a common calloc procedure
   15403 in the core.
   15404 
   15405 Fixed a reported problem with the GPE number mapping mechanism
   15406 that allows GPE1 numbers to be non-contiguous with GPE0.
   15407 Reorganized the GPE information and shrunk a large array that was
   15408 originally large enough to hold info for all possible GPEs (256)
   15409 to simply large enough to hold all GPEs up to the largest GPE
   15410 number on the machine.
   15411 
   15412 Fixed a reported problem with resource structure alignment on 64-
   15413 bit platforms.
   15414 
   15415 Changed the AcpiEnableEvent and AcpiDisableEvent external
   15416 interfaces to not require any flags for the common case of
   15417 enabling/disabling a GPE.
   15418 
   15419 Implemented support to allow a "Notify" on a Processor object.
   15420 
   15421 Most TBDs in comments within the source code have been resolved
   15422 and eliminated.
   15423 
   15424 
   15425 Fixed a problem in the interpreter where a standalone parent
   15426 prefix (^) was not handled correctly in the interpreter and
   15427 debugger.
   15428 
   15429 Removed obsolete and unnecessary GPE save/restore code.
   15430 
   15431 Implemented Field support in the ASL Load operator.  This allows a
   15432 table to be loaded from a named field, in addition to loading a
   15433 table directly from an Operation Region.
   15434 
   15435 Implemented timeout and handle support in the external Global Lock
   15436 interfaces.
   15437 
   15438 Fixed a problem in the AcpiDump utility where pathnames were no
   15439 longer being generated correctly during the dump of named objects.
   15440 
   15441 Modified the AML debugger to give a full display of if/while
   15442 predicates instead of just one AML opcode at a time.  (The
   15443 predicate can have several nested ASL statements.)  The old method
   15444 was confusing during single stepping.
   15445 
   15446 Code and Data Size: Current core subsystem library sizes are shown
   15447 below. These are the code and data sizes for the acpica.lib
   15448 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15449 values do not include any ACPI driver or OSPM code.  The debug
   15450 version of the code includes the debug output trace mechanism and
   15451 has a larger code and data size.  Note that these values will vary
   15452 depending on the efficiency of the compiler and the compiler
   15453 options used during generation.
   15454 
   15455   Previous Release (12_18_01)
   15456      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   15457      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   15458    Current Release:
   15459      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   15460      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   15461 
   15462 2) Linux
   15463 
   15464  Implemented fix for PIIX reverse throttling errata (Processor
   15465 driver)
   15466 
   15467 Added new Limit interface (Processor and Thermal drivers)
   15468 
   15469 New thermal policy (Thermal driver)
   15470 
   15471 Many updates to /proc
   15472 
   15473 Battery "low" event support (Battery driver)
   15474 
   15475 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
   15476 
   15477 IA32 - IA64 initialization unification, no longer experimental
   15478 
   15479 Menuconfig options redesigned
   15480 
   15481 3) ASL Compiler, version X2037:
   15482 
   15483 Implemented several new output features to simplify integration of
   15484 AML code into  firmware: 1) Output the AML in C source code with
   15485 labels for each named ASL object.  The    original ASL source code
   15486 is interleaved as C comments. 2) Output the AML in ASM source code
   15487 with labels and interleaved ASL    source. 3) Output the AML in
   15488 raw hex table form, in either C or ASM.
   15489 
   15490 Implemented support for optional string parameters to the
   15491 LoadTable operator.
   15492 
   15493 Completed support for embedded escape sequences within string
   15494 literals.  The compiler now supports all single character escapes
   15495 as well as the Octal and Hex escapes.  Note: the insertion of a
   15496 null byte into a string literal (via the hex/octal escape) causes
   15497 the string to be immediately terminated.  A warning is issued.
   15498 
   15499 Fixed a problem where incorrect AML was generated for the case
   15500 where an ASL namepath consists of a single parent prefix (
   15501 
   15502 ) with no trailing name segments.
   15503 
   15504 The compiler has been successfully generated with a 64-bit C
   15505 compiler.
   15506 
   15507 
   15508 
   15509 
   15510 ----------------------------------------
   15511 Summary of changes for this label: 12_18_01
   15512 
   15513 1) Linux
   15514 
   15515 Enhanced blacklist with reason and severity fields. Any table's
   15516 signature may now be used to identify a blacklisted system.
   15517 
   15518 Call _PIC control method to inform the firmware which interrupt
   15519 model the OS is using. Turn on any disabled link devices.
   15520 
   15521 Cleaned up busmgr /proc error handling (Andreas Dilger)
   15522 
   15523  2) ACPI CA Core Subsystem:
   15524 
   15525 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
   15526 while loop)
   15527 
   15528 Completed implementation of the ACPI 2.0 "Continue",
   15529 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
   15530 operators.  All new ACPI 2.0 operators are now implemented in both
   15531 the ASL compiler and the AML interpreter.  The only remaining ACPI
   15532 2.0 task is support for the String data type in the DerefOf
   15533 operator.  Fixed a problem with AcquireMutex where the status code
   15534 was lost if the caller had to actually wait for the mutex.
   15535 
   15536 Increased the maximum ASL Field size from 64K bits to 4G bits.
   15537 
   15538 Completed implementation of the external Global Lock interfaces --
   15539 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
   15540 Handler parameters were added.
   15541 
   15542 Completed another pass at removing warnings and issues when
   15543 compiling with 64-bit compilers.  The code now compiles cleanly
   15544 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
   15545 add and subtract (diff) macros have changed considerably.
   15546 
   15547 
   15548 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
   15549 64-bit platforms, 32-bits on all others.  This type is used
   15550 wherever memory allocation and/or the C sizeof() operator is used,
   15551 and affects the OSL memory allocation interfaces AcpiOsAllocate
   15552 and AcpiOsCallocate.
   15553 
   15554 Implemented sticky user breakpoints in the AML debugger.
   15555 
   15556 Code and Data Size: Current core subsystem library sizes are shown
   15557 below. These are the code and data sizes for the acpica.lib
   15558 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15559 values do not include any ACPI driver or OSPM code.  The debug
   15560 version of the code includes the debug output trace mechanism and
   15561 has a larger code and data size. Note that these values will vary
   15562 depending on the efficiency of the compiler and the compiler
   15563 options used during generation.
   15564 
   15565   Previous Release (12_05_01)
   15566      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   15567      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   15568    Current Release:
   15569      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   15570      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   15571 
   15572  3) ASL Compiler, version X2034:
   15573 
   15574 Now checks for (and generates an error if detected) the use of a
   15575 Break or Continue statement without an enclosing While statement.
   15576 
   15577 
   15578 Successfully generated the compiler with the Intel 64-bit C
   15579 compiler.
   15580 
   15581  ----------------------------------------
   15582 Summary of changes for this label: 12_05_01
   15583 
   15584  1) ACPI CA Core Subsystem:
   15585 
   15586 The ACPI 2.0 CopyObject operator is fully implemented.  This
   15587 operator creates a new copy of an object (and is also used to
   15588 bypass the "implicit conversion" mechanism of the Store operator.)
   15589 
   15590 The ACPI 2.0 semantics for the SizeOf operator are fully
   15591 implemented.  The change is that performing a SizeOf on a
   15592 reference object causes an automatic dereference of the object to
   15593 tha actual value before the size is evaluated. This behavior was
   15594 undefined in ACPI 1.0.
   15595 
   15596 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
   15597 have been implemented.  The interrupt polarity and mode are now
   15598 independently set.
   15599 
   15600 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
   15601 appearing in Package objects were not properly converted to
   15602 integers when the internal Package was converted to an external
   15603 object (via the AcpiEvaluateObject interface.)
   15604 
   15605 Fixed a problem with the namespace object deletion mechanism for
   15606 objects created by control methods.  There were two parts to this
   15607 problem: 1) Objects created during the initialization phase method
   15608 parse were not being deleted, and 2) The object owner ID mechanism
   15609 to track objects was broken.
   15610 
   15611 Fixed a problem where the use of the ASL Scope operator within a
   15612 control method would result in an invalid opcode exception.
   15613 
   15614 Fixed a problem introduced in the previous label where the buffer
   15615 length required for the _PRT structure was not being returned
   15616 correctly.
   15617 
   15618 Code and Data Size: Current core subsystem library sizes are shown
   15619 below. These are the code and data sizes for the acpica.lib
   15620 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15621 values do not include any ACPI driver or OSPM code.  The debug
   15622 version of the code includes the debug output trace mechanism and
   15623 has a larger code and data size.  Note that these values will vary
   15624 depending on the efficiency of the compiler and the compiler
   15625 options used during generation.
   15626 
   15627   Previous Release (11_20_01)
   15628      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   15629      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   15630 
   15631   Current Release:
   15632      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   15633      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   15634 
   15635  2) Linux:
   15636 
   15637 Updated all files to apply cleanly against 2.4.16.
   15638 
   15639 Added basic PCI Interrupt Routing Table (PRT) support for IA32
   15640 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
   15641 version supports both static and dyanmic PRT entries, but dynamic
   15642 entries are treated as if they were static (not yet
   15643 reconfigurable).  Architecture- specific code to use this data is
   15644 absent on IA32 but should be available shortly.
   15645 
   15646 Changed the initialization sequence to start the ACPI interpreter
   15647 (acpi_init) prior to initialization of the PCI driver (pci_init)
   15648 in init/main.c.  This ordering is required to support PRT and
   15649 facilitate other (future) enhancement.  A side effect is that the
   15650 ACPI bus driver and certain device drivers can no longer be loaded
   15651 as modules.
   15652 
   15653 Modified the 'make menuconfig' options to allow PCI Interrupt
   15654 Routing support to be included without the ACPI Bus and other
   15655 device drivers.
   15656 
   15657  3) ASL Compiler, version X2033:
   15658 
   15659 Fixed some issues with the use of the new CopyObject and
   15660 DataTableRegion operators.  Both are fully functional.
   15661 
   15662  ----------------------------------------
   15663 Summary of changes for this label: 11_20_01
   15664 
   15665  20 November 2001.  Summary of changes for this release.
   15666 
   15667  1) ACPI CA Core Subsystem:
   15668 
   15669 Updated Index support to match ACPI 2.0 semantics.  Storing a
   15670 Integer, String, or Buffer to an Index of a Buffer will store only
   15671 the least-significant byte of the source to the Indexed buffer
   15672 byte.  Multiple writes are not performed.
   15673 
   15674 Fixed a problem where the access type used in an AccessAs ASL
   15675 operator was not recorded correctly into the field object.
   15676 
   15677 Fixed a problem where ASL Event objects were created in a
   15678 signalled state. Events are now created in an unsignalled state.
   15679 
   15680 The internal object cache is now purged after table loading and
   15681 initialization to reduce the use of dynamic kernel memory -- on
   15682 the assumption that object use is greatest during the parse phase
   15683 of the entire table (versus the run-time use of individual control
   15684 methods.)
   15685 
   15686 ACPI 2.0 variable-length packages are now fully operational.
   15687 
   15688 Code and Data Size: Code and Data optimizations have permitted new
   15689 feature development with an actual reduction in the library size.
   15690 Current core subsystem library sizes are shown below.  These are
   15691 the code and data sizes for the acpica.lib produced by the
   15692 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15693 any ACPI driver or OSPM code.  The debug version of the code
   15694 includes the debug output trace mechanism and has a larger code
   15695 and data size.  Note that these values will vary depending on the
   15696 efficiency of the compiler and the compiler options used during
   15697 generation.
   15698 
   15699   Previous Release (11_09_01):
   15700      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   15701      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   15702 
   15703   Current Release:
   15704      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   15705      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   15706 
   15707  2) Linux:
   15708 
   15709 Enhanced the ACPI boot-time initialization code to allow the use
   15710 of Local APIC tables for processor enumeration on IA-32, and to
   15711 pave the way for a fully MPS-free boot (on SMP systems) in the
   15712 near future.  This functionality replaces
   15713 arch/i386/kernel/acpitables.c, which was introduced in an earlier
   15714 2.4.15-preX release.  To enable this feature you must add
   15715 "acpi_boot=on" to the kernel command line -- see the help entry
   15716 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
   15717 the works...
   15718 
   15719 Restructured the configuration options to allow boot-time table
   15720 parsing support without inclusion of the ACPI Interpreter (and
   15721 other) code.
   15722 
   15723 NOTE: This release does not include fixes for the reported events,
   15724 power-down, and thermal passive cooling issues (coming soon).
   15725 
   15726  3) ASL Compiler:
   15727 
   15728 Added additional typechecking for Fields within restricted access
   15729 Operation Regions.  All fields within EC and CMOS regions must be
   15730 declared with ByteAcc. All fields withing SMBus regions must be
   15731 declared with the BufferAcc access type.
   15732 
   15733 Fixed a problem where the listing file output of control methods
   15734 no longer interleaved the actual AML code with the ASL source
   15735 code.
   15736 
   15737 
   15738 
   15739 
   15740 ----------------------------------------
   15741 Summary of changes for this label: 11_09_01
   15742 
   15743 1) ACPI CA Core Subsystem:
   15744 
   15745 Implemented ACPI 2.0-defined support for writes to fields with a
   15746 Buffer, String, or Integer source operand that is smaller than the
   15747 target field. In these cases, the source operand is zero-extended
   15748 to fill the target field.
   15749 
   15750 Fixed a problem where a Field starting bit offset (within the
   15751 parent operation region) was calculated incorrectly if the
   15752 
   15753 alignment of the field differed from the access width.  This
   15754 affected CreateWordField, CreateDwordField, CreateQwordField, and
   15755 possibly other fields that use the "AccessAny" keyword.
   15756 
   15757 Fixed a problem introduced in the 11_02_01 release where indirect
   15758 stores through method arguments did not operate correctly.
   15759 
   15760 2) Linux:
   15761 
   15762 Implemented boot-time ACPI table parsing support
   15763 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
   15764 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
   15765 legacy BIOS interfaces (e.g. MPS) for the configuration of system
   15766 processors, memory, and interrupts during setup_arch().  Note that
   15767 this patch does not include the required architecture-specific
   15768 changes required to apply this information -- subsequent patches
   15769 will be posted for both IA32 and IA64 to achieve this.
   15770 
   15771 Added low-level sleep support for IA32 platforms, courtesy of Pat
   15772 Mochel. This allows IA32 systems to transition to/from various
   15773 sleeping states (e.g. S1, S3), although the lack of a centralized
   15774 driver model and power-manageable drivers will prevent its
   15775 (successful) use on most systems.
   15776 
   15777 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
   15778 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
   15779 tables" option, etc.
   15780 
   15781 Increased the default timeout for the EC driver from 1ms to 10ms
   15782 (1000 cycles of 10us) to try to address AE_TIME errors during EC
   15783 transactions.
   15784 
   15785  ----------------------------------------
   15786 Summary of changes for this label: 11_02_01
   15787 
   15788 1) ACPI CA Core Subsystem:
   15789 
   15790 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
   15791 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
   15792 implemented.
   15793 
   15794 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
   15795 changes to support ACPI 2.0 Qword field access.  Read/Write
   15796 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
   15797 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
   15798 the value parameter for the address space handler interface is now
   15799 an ACPI_INTEGER.  OSL implementations of these interfaces must now
   15800 handle the case where the Width parameter is 64.
   15801 
   15802 Index Fields: Fixed a problem where unaligned bit assembly and
   15803 disassembly for IndexFields was not supported correctly.
   15804 
   15805 Index and Bank Fields:  Nested Index and Bank Fields are now
   15806 supported. During field access, a check is performed to ensure
   15807 that the value written to an Index or Bank register is not out of
   15808 the range of the register.  The Index (or Bank) register is
   15809 written before each access to the field data. Future support will
   15810 include allowing individual IndexFields to be wider than the
   15811 DataRegister width.
   15812 
   15813 Fields: Fixed a problem where the AML interpreter was incorrectly
   15814 attempting to write beyond the end of a Field/OpRegion.  This was
   15815 a boundary case that occurred when a DWORD field was written to a
   15816 BYTE access OpRegion, forcing multiple writes and causing the
   15817 interpreter to write one datum too many.
   15818 
   15819 Fields: Fixed a problem with Field/OpRegion access where the
   15820 starting bit address of a field was incorrectly calculated if the
   15821 current access type was wider than a byte (WordAcc, DwordAcc, or
   15822 QwordAcc).
   15823 
   15824 Fields: Fixed a problem where forward references to individual
   15825 FieldUnits (individual Field names within a Field definition) were
   15826 not resolved during the AML table load.
   15827 
   15828 Fields: Fixed a problem where forward references from a Field
   15829 definition to the parent Operation Region definition were not
   15830 resolved during the AML table load.
   15831 
   15832 Fields: Duplicate FieldUnit names within a scope are now detected
   15833 during AML table load.
   15834 
   15835 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
   15836 returned an incorrect name for the root node.
   15837 
   15838 Code and Data Size: Code and Data optimizations have permitted new
   15839 feature development with an actual reduction in the library size.
   15840 Current core subsystem library sizes are shown below.  These are
   15841 the code and data sizes for the acpica.lib produced by the
   15842 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15843 any ACPI driver or OSPM code.  The debug version of the code
   15844 includes the debug output trace mechanism and has a larger code
   15845 and data size.  Note that these values will vary depending on the
   15846 efficiency of the compiler and the compiler options used during
   15847 generation.
   15848 
   15849   Previous Release (10_18_01):
   15850      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   15851      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   15852 
   15853   Current Release:
   15854      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   15855      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   15856 
   15857  2) Linux:
   15858 
   15859 Improved /proc processor output (Pavel Machek) Re-added
   15860 MODULE_LICENSE("GPL") to all modules.
   15861 
   15862  3) ASL Compiler version X2030:
   15863 
   15864 Duplicate FieldUnit names within a scope are now detected and
   15865 flagged as errors.
   15866 
   15867  4) Documentation:
   15868 
   15869 Programmer Reference updated to reflect OSL and address space
   15870 handler interface changes described above.
   15871 
   15872 ----------------------------------------
   15873 Summary of changes for this label: 10_18_01
   15874 
   15875 ACPI CA Core Subsystem:
   15876 
   15877 Fixed a problem with the internal object reference count mechanism
   15878 that occasionally caused premature object deletion. This resolves
   15879 all of the outstanding problem reports where an object is deleted
   15880 in the middle of an interpreter evaluation.  Although this problem
   15881 only showed up in rather obscure cases, the solution to the
   15882 problem involved an adjustment of all reference counts involving
   15883 objects attached to namespace nodes.
   15884 
   15885 Fixed a problem with Field support in the interpreter where
   15886 writing to an aligned field whose length is an exact multiple (2
   15887 or greater) of the field access granularity would cause an attempt
   15888 to write beyond the end of the field.
   15889 
   15890 The top level AML opcode execution functions within the
   15891 interpreter have been renamed with a more meaningful and
   15892 consistent naming convention.  The modules exmonad.c and
   15893 exdyadic.c were eliminated.  New modules are exoparg1.c,
   15894 exoparg2.c, exoparg3.c, and exoparg6.c.
   15895 
   15896 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
   15897 
   15898 Fixed a problem where the AML debugger was causing some internal
   15899 objects to not be deleted during subsystem termination.
   15900 
   15901 Fixed a problem with the external AcpiEvaluateObject interface
   15902 where the subsystem would fault if the named object to be
   15903 evaluated refered to a constant such as Zero, Ones, etc.
   15904 
   15905 Fixed a problem with IndexFields and BankFields where the
   15906 subsystem would fault if the index, data, or bank registers were
   15907 not defined in the same scope as the field itself.
   15908 
   15909 Added printf format string checking for compilers that support
   15910 this feature.  Corrected more than 50 instances of issues with
   15911 format specifiers within invocations of ACPI_DEBUG_PRINT
   15912 throughout the core subsystem code.
   15913 
   15914 The ASL "Revision" operator now returns the ACPI support level
   15915 implemented in the core - the value "2" since the ACPI 2.0 support
   15916 is more than 50% implemented.
   15917 
   15918 Enhanced the output of the AML debugger "dump namespace" command
   15919 to output in a more human-readable form.
   15920 
   15921 Current core subsystem library code sizes are shown below.  These
   15922 
   15923 are the code and data sizes for the acpica.lib produced by the
   15924 Microsoft Visual C++ 6.0 compiler, and these values do not include
   15925 any ACPI driver or OSPM code.  The debug version of the code
   15926 includes the full debug trace mechanism -- leading to a much
   15927 
   15928 larger code and data size.  Note that these values will vary
   15929 depending on the efficiency of the compiler and the compiler
   15930 options used during generation.
   15931 
   15932      Previous Label (09_20_01):
   15933      Non-Debug Version:    65K Code,     5K Data,     70K Total
   15934      Debug Version:       138K Code,    58K Data,    196K Total
   15935 
   15936      This Label:
   15937 
   15938      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   15939      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   15940 
   15941 Linux:
   15942 
   15943 Implemented a "Bad BIOS Blacklist" to track machines that have
   15944 known ASL/AML problems.
   15945 
   15946 Enhanced the /proc interface for the thermal zone driver and added
   15947 support for _HOT (the critical suspend trip point).  The 'info'
   15948 file now includes threshold/policy information, and allows setting
   15949 of _SCP (cooling preference) and _TZP (polling frequency) values
   15950 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
   15951 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
   15952 preference to the passive/quiet mode (if supported by the ASL).
   15953 
   15954 Implemented a workaround for a gcc bug that resuted in an OOPs
   15955 when loading the control method battery driver.
   15956 
   15957  ----------------------------------------
   15958 Summary of changes for this label: 09_20_01
   15959 
   15960  ACPI CA Core Subsystem:
   15961 
   15962 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
   15963 modified to allow individual GPE levels to be flagged as wake-
   15964 enabled (i.e., these GPEs are to remain enabled when the platform
   15965 sleeps.)
   15966 
   15967 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
   15968 support wake-enabled GPEs.  This means that upon entering the
   15969 sleep state, all GPEs that are not wake-enabled are disabled.
   15970 When leaving the sleep state, these GPEs are reenabled.
   15971 
   15972 A local double-precision divide/modulo module has been added to
   15973 enhance portability to OS kernels where a 64-bit math library is
   15974 not available.  The new module is "utmath.c".
   15975 
   15976 Several optimizations have been made to reduce the use of CPU
   15977 stack.  Originally over 2K, the maximum stack usage is now below
   15978 2K at 1860  bytes (1.82k)
   15979 
   15980 Fixed a problem with the AcpiGetFirmwareTable interface where the
   15981 root table pointer was not mapped into a logical address properly.
   15982 
   15983 Fixed a problem where a NULL pointer was being dereferenced in the
   15984 interpreter code for the ASL Notify operator.
   15985 
   15986 Fixed a problem where the use of the ASL Revision operator
   15987 returned an error. This operator now returns the current version
   15988 of the ACPI CA core subsystem.
   15989 
   15990 Fixed a problem where objects passed as control method parameters
   15991 to AcpiEvaluateObject were always deleted at method termination.
   15992 However, these objects may end up being stored into the namespace
   15993 by the called method.  The object reference count mechanism was
   15994 applied to these objects instead of a force delete.
   15995 
   15996 Fixed a problem where static strings or buffers (contained in the
   15997 AML code) that are declared as package elements within the ASL
   15998 code could cause a fault because the interpreter would attempt to
   15999 delete them.  These objects are now marked with the "static
   16000 object" flag to prevent any attempt to delete them.
   16001 
   16002 Implemented an interpreter optimization to use operands directly
   16003 from the state object instead of extracting the operands to local
   16004 variables.  This reduces stack use and code size, and improves
   16005 performance.
   16006 
   16007 The module exxface.c was eliminated as it was an unnecessary extra
   16008 layer of code.
   16009 
   16010 Current core subsystem library code sizes are shown below.  These
   16011 are the code and data sizes for the acpica.lib produced by the
   16012 Microsoft Visual C++ 6.0 compiler, and these values do not include
   16013 any ACPI driver or OSPM code.  The debug version of the code
   16014 includes the full debug trace mechanism -- leading to a much
   16015 larger code and data size.  Note that these values will vary
   16016 depending on the efficiency of the compiler and the compiler
   16017 options used during generation.
   16018 
   16019   Non-Debug Version:  65K Code,   5K Data,   70K Total
   16020 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
   16021 Total  (Previously 195K)
   16022 
   16023 Linux:
   16024 
   16025 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
   16026 Integer objects are now 64 bits wide
   16027 
   16028 All Acpi data types and structures are now in lower case.  Only
   16029 Acpi macros are upper case for differentiation.
   16030 
   16031  Documentation:
   16032 
   16033 Changes to the external interfaces as described above.
   16034 
   16035  ----------------------------------------
   16036 Summary of changes for this label: 08_31_01
   16037 
   16038  ACPI CA Core Subsystem:
   16039 
   16040 A bug with interpreter implementation of the ASL Divide operator
   16041 was found and fixed.  The implicit function return value (not the
   16042 explicit store operands) was returning the remainder instead of
   16043 the quotient.  This was a longstanding bug and it fixes several
   16044 known outstanding issues on various platforms.
   16045 
   16046 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
   16047 been further optimized for size.  There are 700 invocations of the
   16048 DEBUG_PRINT macro alone, so each optimization reduces the size of
   16049 the debug version of the subsystem significantly.
   16050 
   16051 A stack trace mechanism has been implemented.  The maximum stack
   16052 usage is about 2K on 32-bit platforms.  The debugger command "stat
   16053 stack" will display the current maximum stack usage.
   16054 
   16055 All public symbols and global variables within the subsystem are
   16056 now prefixed with the string "Acpi".  This keeps all of the
   16057 symbols grouped together in a kernel map, and avoids conflicts
   16058 with other kernel subsystems.
   16059 
   16060 Most of the internal fixed lookup tables have been moved into the
   16061 code segment via the const operator.
   16062 
   16063 Several enhancements have been made to the interpreter to both
   16064 reduce the code size and improve performance.
   16065 
   16066 Current core subsystem library code sizes are shown below.  These
   16067 are the code and data sizes for the acpica.lib produced by the
   16068 Microsoft Visual C++ 6.0 compiler, and these values do not include
   16069 any ACPI driver or OSPM code.  The debug version of the code
   16070 includes the full debug trace mechanism which contains over 700
   16071 invocations of the DEBUG_PRINT macro, 500 function entry macro
   16072 invocations, and over 900 function exit macro invocations --
   16073 leading to a much larger code and data size.  Note that these
   16074 values will vary depending on the efficiency of the compiler and
   16075 the compiler options used during generation.
   16076 
   16077         Non-Debug Version:  64K Code,   5K Data,   69K Total
   16078 Debug Version:     137K Code,  58K Data,  195K Total
   16079 
   16080  Linux:
   16081 
   16082 Implemented wbinvd() macro, pending a kernel-wide definition.
   16083 
   16084 Fixed /proc/acpi/event to handle poll() and short reads.
   16085 
   16086  ASL Compiler, version X2026:
   16087 
   16088 Fixed a problem introduced in the previous label where the AML
   16089 
   16090 code emitted for package objects produced packages with zero
   16091 length.
   16092 
   16093  ----------------------------------------
   16094 Summary of changes for this label: 08_16_01
   16095 
   16096 ACPI CA Core Subsystem:
   16097 
   16098 The following ACPI 2.0 ASL operators have been implemented in the
   16099 AML interpreter (These are already supported by the Intel ASL
   16100 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
   16101 ToBuffer.  Support for 64-bit AML constants is implemented in the
   16102 AML parser, debugger, and disassembler.
   16103 
   16104 The internal memory tracking mechanism (leak detection code) has
   16105 been upgraded to reduce the memory overhead (a separate tracking
   16106 block is no longer allocated for each memory allocation), and now
   16107 supports all of the internal object caches.
   16108 
   16109 The data structures and code for the internal object caches have
   16110 been coelesced and optimized so that there is a single cache and
   16111 memory list data structure and a single group of functions that
   16112 implement generic cache management.  This has reduced the code
   16113 size in both the debug and release versions of the subsystem.
   16114 
   16115 The DEBUG_PRINT macro(s) have been optimized for size and replaced
   16116 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
   16117 different, because it generates a single call to an internal
   16118 function.  This results in a savings of about 90 bytes per
   16119 invocation, resulting in an overall code and data savings of about
   16120 16% in the debug version of the subsystem.
   16121 
   16122  Linux:
   16123 
   16124 Fixed C3 disk corruption problems and re-enabled C3 on supporting
   16125 machines.
   16126 
   16127 Integrated low-level sleep code by Patrick Mochel.
   16128 
   16129 Further tweaked source code Linuxization.
   16130 
   16131 Other minor fixes.
   16132 
   16133  ASL Compiler:
   16134 
   16135 Support for ACPI 2.0 variable length packages is fixed/completed.
   16136 
   16137 Fixed a problem where the optional length parameter for the ACPI
   16138 2.0 ToString operator.
   16139 
   16140 Fixed multiple extraneous error messages when a syntax error is
   16141 detected within the declaration line of a control method.
   16142 
   16143  ----------------------------------------
   16144 Summary of changes for this label: 07_17_01
   16145 
   16146 ACPI CA Core Subsystem:
   16147 
   16148 Added a new interface named AcpiGetFirmwareTable to obtain any
   16149 ACPI table via the ACPI signature.  The interface can be called at
   16150 any time during kernel initialization, even before the kernel
   16151 virtual memory manager is initialized and paging is enabled.  This
   16152 allows kernel subsystems to obtain ACPI tables very early, even
   16153 before the ACPI CA subsystem is initialized.
   16154 
   16155 Fixed a problem where Fields defined with the AnyAcc attribute
   16156 could be resolved to the incorrect address under the following
   16157 conditions: 1) the field width is larger than 8 bits and 2) the
   16158 parent operation region is not defined on a DWORD boundary.
   16159 
   16160 Fixed a problem where the interpreter is not being locked during
   16161 namespace initialization (during execution of the _INI control
   16162 methods), causing an error when an attempt is made to release it
   16163 later.
   16164 
   16165 ACPI 2.0 support in the AML Interpreter has begun and will be
   16166 ongoing throughout the rest of this year.  In this label, The Mod
   16167 operator is implemented.
   16168 
   16169 Added a new data type to contain full PCI addresses named
   16170 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
   16171 and Function values.
   16172 
   16173  Linux:
   16174 
   16175 Enhanced the Linux version of the source code to change most
   16176 capitalized ACPI type names to lowercase. For example, all
   16177 instances of ACPI_STATUS are changed to acpi_status.  This will
   16178 result in a large diff, but the change is strictly cosmetic and
   16179 aligns the CA code closer to the Linux coding standard.
   16180 
   16181 OSL Interfaces:
   16182 
   16183 The interfaces to the PCI configuration space have been changed to
   16184 add the PCI Segment number and to split the single 32-bit combined
   16185 DeviceFunction field into two 16-bit fields.  This was
   16186 accomplished by moving the four values that define an address in
   16187 PCI configuration space (segment, bus, device, and function) to
   16188 the new ACPI_PCI_ID structure.
   16189 
   16190 The changes to the PCI configuration space interfaces led to a
   16191 reexamination of the complete set of address space access
   16192 interfaces for PCI, I/O, and Memory.  The previously existing 18
   16193 interfaces have proven difficult to maintain (any small change
   16194 must be propagated across at least 6 interfaces) and do not easily
   16195 allow for future expansion to 64 bits if necessary.  Also, on some
   16196 systems, it would not be appropriate to demultiplex the access
   16197 width (8, 16, 32,or 64) before calling the OSL if the
   16198 corresponding native OS interfaces contain a similar access width
   16199 parameter.  For these reasons, the 18 address space interfaces
   16200 have been replaced by these 6 new ones:
   16201 
   16202 AcpiOsReadPciConfiguration
   16203 AcpiOsWritePciConfiguration
   16204 AcpiOsReadMemory
   16205 AcpiOsWriteMemory
   16206 AcpiOsReadPort
   16207 AcpiOsWritePort
   16208 
   16209 Added a new interface named AcpiOsGetRootPointer to allow the OSL
   16210 to perform the platform and/or OS-specific actions necessary to
   16211 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
   16212 interface will simply call down to the CA core to perform the low-
   16213 memory search for the table.  On IA-64, the RSDP is obtained from
   16214 EFI.  Migrating this interface to the OSL allows the CA core to
   16215 
   16216 remain OS and platform independent.
   16217 
   16218 Added a new interface named AcpiOsSignal to provide a generic
   16219 "function code and pointer" interface for various miscellaneous
   16220 signals and notifications that must be made to the host OS.   The
   16221 first such signals are intended to support the ASL Fatal and
   16222 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
   16223 interface has been obsoleted.
   16224 
   16225 The definition of the AcpiFormatException interface has been
   16226 changed to simplify its use.  The caller no longer must supply a
   16227 buffer to the call; A pointer to a const string is now returned
   16228 directly.  This allows the call to be easily used in printf
   16229 statements, etc. since the caller does not have to manage a local
   16230 buffer.
   16231 
   16232 
   16233  ASL Compiler, Version X2025:
   16234 
   16235 The ACPI 2.0 Switch/Case/Default operators have been implemented
   16236 and are fully functional.  They will work with all ACPI 1.0
   16237 interpreters, since the operators are simply translated to If/Else
   16238 pairs.
   16239 
   16240 The ACPI 2.0 ElseIf operator is implemented and will also work
   16241 with 1.0 interpreters, for the same reason.
   16242 
   16243 Implemented support for ACPI 2.0 variable-length packages.  These
   16244 packages have a separate opcode, and their size is determined by
   16245 the interpreter at run-time.
   16246 
   16247 Documentation The ACPI CA Programmer Reference has been updated to
   16248 reflect the new interfaces and changes to existing interfaces.
   16249 
   16250  ------------------------------------------
   16251 Summary of changes for this label: 06_15_01
   16252 
   16253  ACPI CA Core Subsystem:
   16254 
   16255 Fixed a problem where a DWORD-accessed field within a Buffer
   16256 object would get its byte address inadvertently rounded down to
   16257 the nearest DWORD.  Buffers are always Byte-accessible.
   16258 
   16259  ASL Compiler, version X2024:
   16260 
   16261 Fixed a problem where the Switch() operator would either fault or
   16262 hang the compiler.  Note however, that the AML code for this ACPI
   16263 2.0 operator is not yet implemented.
   16264 
   16265 Compiler uses the new AcpiOsGetTimer interface to obtain compile
   16266 timings.
   16267 
   16268 Implementation of the CreateField operator automatically converts
   16269 a reference to a named field within a resource descriptor from a
   16270 byte offset to a bit offset if required.
   16271 
   16272 Added some missing named fields from the resource descriptor
   16273 support. These are the names that are automatically created by the
   16274 compiler to reference fields within a descriptor.  They are only
   16275 valid at compile time and are not passed through to the AML
   16276 interpreter.
   16277 
   16278 Resource descriptor named fields are now typed as Integers and
   16279 subject to compile-time typechecking when used in expressions.
   16280 
   16281  ------------------------------------------
   16282 Summary of changes for this label: 05_18_01
   16283 
   16284  ACPI CA Core Subsystem:
   16285 
   16286 Fixed a couple of problems in the Field support code where bits
   16287 from adjacent fields could be returned along with the proper field
   16288 bits. Restructured the field support code to improve performance,
   16289 readability and maintainability.
   16290 
   16291 New DEBUG_PRINTP macro automatically inserts the procedure name
   16292 into the output, saving hundreds of copies of procedure name
   16293 strings within the source, shrinking the memory footprint of the
   16294 debug version of the core subsystem.
   16295 
   16296  Source Code Structure:
   16297 
   16298 The source code directory tree was restructured to reflect the
   16299 current organization of the component architecture.  Some files
   16300 and directories have been moved and/or renamed.
   16301 
   16302  Linux:
   16303 
   16304 Fixed leaking kacpidpc processes.
   16305 
   16306 Fixed queueing event data even when /proc/acpi/event is not
   16307 opened.
   16308 
   16309  ASL Compiler, version X2020:
   16310 
   16311 Memory allocation performance enhancement - over 24X compile time
   16312 improvement on large ASL files.  Parse nodes and namestring
   16313 buffers are now allocated from a large internal compiler buffer.
   16314 
   16315 The temporary .SRC file is deleted unless the "-s" option is
   16316 specified
   16317 
   16318 The "-d" debug output option now sends all output to the .DBG file
   16319 instead of the console.
   16320 
   16321 "External" second parameter is now optional
   16322 
   16323 "ElseIf" syntax now properly allows the predicate
   16324 
   16325 Last operand to "Load" now recognized as a Target operand
   16326 
   16327 Debug object can now be used anywhere as a normal object.
   16328 
   16329 ResourceTemplate now returns an object of type BUFFER
   16330 
   16331 EISAID now returns an object of type INTEGER
   16332 
   16333 "Index" now works with a STRING operand
   16334 
   16335 "LoadTable" now accepts optional parameters
   16336 
   16337 "ToString" length parameter is now optional
   16338 
   16339 "Interrupt (ResourceType," parse error fixed.
   16340 
   16341 "Register" with a user-defined region space parse error fixed
   16342 
   16343 Escaped backslash at the end of a string ("\\") scan/parse error
   16344 fixed
   16345 
   16346 "Revision" is now an object of type INTEGER.
   16347 
   16348 
   16349 
   16350 ------------------------------------------
   16351 Summary of changes for this label: 05_02_01
   16352 
   16353 Linux:
   16354 
   16355 /proc/acpi/event now blocks properly.
   16356 
   16357 Removed /proc/sys/acpi. You can still dump your DSDT from
   16358 /proc/acpi/dsdt.
   16359 
   16360  ACPI CA Core Subsystem:
   16361 
   16362 Fixed a problem introduced in the previous label where some of the
   16363 "small" resource descriptor types were not recognized.
   16364 
   16365 Improved error messages for the case where an ASL Field is outside
   16366 the range of the parent operation region.
   16367 
   16368  ASL Compiler, version X2018:
   16369 
   16370 
   16371 Added error detection for ASL Fields that extend beyond the length
   16372 of the parent operation region (only if the length of the region
   16373 is known at compile time.)  This includes fields that have a
   16374 minimum access width that is smaller than the parent region, and
   16375 individual field units that are partially or entirely beyond the
   16376 extent of the parent.
   16377 
   16378 
   16379 
   16380 ------------------------------------------
   16381 Summary of changes for this label: 04_27_01
   16382 
   16383  ACPI CA Core Subsystem:
   16384 
   16385 Fixed a problem where the namespace mutex could be released at the
   16386 wrong time during execution of AcpiRemoveAddressSpaceHandler.
   16387 
   16388 Added optional thread ID output for debug traces, to simplify
   16389 debugging of multiple threads.  Added context switch notification
   16390 when the debug code realizes that a different thread is now
   16391 executing ACPI code.
   16392 
   16393 Some additional external data types have been prefixed with the
   16394 string "ACPI_" for consistency.  This may effect existing code.
   16395 The data types affected are the external callback typedefs - e.g.,
   16396 
   16397 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
   16398 
   16399  Linux:
   16400 
   16401 Fixed an issue with the OSL semaphore implementation where a
   16402 thread was waking up with an error from receiving a SIGCHLD
   16403 signal.
   16404 
   16405 Linux version of ACPI CA now uses the system C library for string
   16406 manipulation routines instead of a local implementation.
   16407 
   16408 Cleaned up comments and removed TBDs.
   16409 
   16410  ASL Compiler, version X2017:
   16411 
   16412 Enhanced error detection and reporting for all file I/O
   16413 operations.
   16414 
   16415  Documentation:
   16416 
   16417 Programmer Reference updated to version 1.06.
   16418 
   16419 
   16420 
   16421 ------------------------------------------
   16422 Summary of changes for this label: 04_13_01
   16423 
   16424  ACPI CA Core Subsystem:
   16425 
   16426 Restructured support for BufferFields and RegionFields.
   16427 BankFields support is now fully operational.  All known 32-bit
   16428 limitations on field sizes have been removed.  Both BufferFields
   16429 and (Operation) RegionFields are now supported by the same field
   16430 management code.
   16431 
   16432 Resource support now supports QWORD address and IO resources. The
   16433 16/32/64 bit address structures and the Extended IRQ structure
   16434 have been changed to properly handle Source Resource strings.
   16435 
   16436 A ThreadId of -1 is now used to indicate a "mutex not acquired"
   16437 condition internally and must never be returned by AcpiOsThreadId.
   16438 This reserved value was changed from 0 since Unix systems allow a
   16439 thread ID of 0.
   16440 
   16441 Linux:
   16442 
   16443 Driver code reorganized to enhance portability
   16444 
   16445 Added a kernel configuration option to control ACPI_DEBUG
   16446 
   16447 Fixed the EC driver to honor _GLK.
   16448 
   16449 ASL Compiler, version X2016:
   16450 
   16451 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
   16452 address space was set to 0, not 0x7f as it should be.
   16453 
   16454  ------------------------------------------
   16455 Summary of changes for this label: 03_13_01
   16456 
   16457  ACPI CA Core Subsystem:
   16458 
   16459 During ACPI initialization, the _SB_._INI method is now run if
   16460 present.
   16461 
   16462 Notify handler fix - notifies are deferred until the parent method
   16463 completes execution.  This fixes the "mutex already acquired"
   16464 issue seen occasionally.
   16465 
   16466 Part of the "implicit conversion" rules in ACPI 2.0 have been
   16467 found to cause compatibility problems with existing ASL/AML.  The
   16468 convert "result-to-target-type" implementation has been removed
   16469 for stores to method Args and Locals.  Source operand conversion
   16470 is still fully implemented.  Possible changes to ACPI 2.0
   16471 specification pending.
   16472 
   16473 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
   16474 length.
   16475 
   16476 Fix for compiler warnings for 64-bit compiles.
   16477 
   16478  Linux:
   16479 
   16480 /proc output aligned for easier parsing.
   16481 
   16482 Release-version compile problem fixed.
   16483 
   16484 New kernel configuration options documented in Configure.help.
   16485 
   16486 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
   16487 context" message.
   16488 
   16489  OSPM:
   16490 
   16491 Power resource driver integrated with bus manager.
   16492 
   16493 Fixed kernel fault during active cooling for thermal zones.
   16494 
   16495 Source Code:
   16496 
   16497 The source code tree has been restructured.
   16498 
   16499 
   16500 
   16501 ------------------------------------------
   16502 Summary of changes for this label: 03_02_01
   16503 
   16504  Linux OS Services Layer (OSL):
   16505 
   16506 Major revision of all Linux-specific code.
   16507 
   16508 Modularized all ACPI-specific drivers.
   16509 
   16510 Added new thermal zone and power resource drivers.
   16511 
   16512 Revamped /proc interface (new functionality is under /proc/acpi).
   16513 
   16514 New kernel configuration options.
   16515 
   16516  Linux known issues:
   16517 
   16518 New kernel configuration options not documented in Configure.help
   16519 yet.
   16520 
   16521 
   16522 Module dependencies not currently implemented. If used, they
   16523 should be loaded in this order: busmgr, power, ec, system,
   16524 processor, battery, ac_adapter, button, thermal.
   16525 
   16526 Modules will not load if CONFIG_MODVERSION is set.
   16527 
   16528 IBM 600E - entering S5 may reboot instead of shutting down.
   16529 
   16530 IBM 600E - Sleep button may generate "Invalid <NULL> context"
   16531 message.
   16532 
   16533 Some systems may fail with "execution mutex already acquired"
   16534 message.
   16535 
   16536  ACPI CA Core Subsystem:
   16537 
   16538 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
   16539 for the  deadlock detection code. Defined to return a non-zero, 32-
   16540 bit thread ID for the currently executing thread.  May be a non-
   16541 zero constant integer on single-thread systems.
   16542 
   16543 Implemented deadlock detection for internal subsystem mutexes.  We
   16544 may add conditional compilation for this code (debug only) later.
   16545 
   16546 ASL/AML Mutex object semantics are now fully supported.  This
   16547 includes multiple acquires/releases by owner and support for the
   16548 
   16549 Mutex SyncLevel parameter.
   16550 
   16551 A new "Force Release" mechanism automatically frees all ASL
   16552 Mutexes that have been acquired but not released when a thread
   16553 exits the interpreter.  This forces conformance to the ACPI spec
   16554 ("All mutexes must be released when an invocation exits") and
   16555 prevents deadlocked ASL threads.  This mechanism can be expanded
   16556 (later) to monitor other resource acquisitions if OEM ASL code
   16557 continues to misbehave (which it will).
   16558 
   16559 Several new ACPI exception codes have been added for the Mutex
   16560 support.
   16561 
   16562 Recursive method calls are now allowed and supported (the ACPI
   16563 spec does in fact allow recursive method calls.)  The number of
   16564 recursive calls is subject to the restrictions imposed by the
   16565 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
   16566 parameter.
   16567 
   16568 Implemented support for the SyncLevel parameter for control
   16569 methods (ACPI 2.0 feature)
   16570 
   16571 Fixed a deadlock problem when multiple threads attempted to use
   16572 the interpreter.
   16573 
   16574 Fixed a problem where the string length of a String package
   16575 element was not always set in a package returned from
   16576 AcpiEvaluateObject.
   16577 
   16578 Fixed a problem where the length of a String package element was
   16579 not always included in the length of the overall package returned
   16580 from AcpiEvaluateObject.
   16581 
   16582 Added external interfaces (Acpi*) to the ACPI debug memory
   16583 manager.  This manager keeps a list of all outstanding
   16584 allocations, and can therefore detect memory leaks and attempts to
   16585 free memory blocks more than once. Useful for code such as the
   16586 power manager, etc.  May not be appropriate for device drivers.
   16587 Performance with the debug code enabled is slow.
   16588 
   16589 The ACPI Global Lock is now an optional hardware element.
   16590 
   16591  ASL Compiler Version X2015:
   16592 
   16593 Integrated changes to allow the compiler to be generated on
   16594 multiple platforms.
   16595 
   16596 Linux makefile added to generate the compiler on Linux
   16597 
   16598  Source Code:
   16599 
   16600 All platform-specific headers have been moved to their own
   16601 subdirectory, Include/Platform.
   16602 
   16603 New source file added, Interpreter/ammutex.c
   16604 
   16605 New header file, Include/acstruct.h
   16606 
   16607  Documentation:
   16608 
   16609 The programmer reference has been updated for the following new
   16610 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
   16611 
   16612  ------------------------------------------
   16613 Summary of changes for this label: 02_08_01
   16614 
   16615 Core ACPI CA Subsystem: Fixed a problem where an error was
   16616 incorrectly returned if the return resource buffer was larger than
   16617 the actual data (in the resource interfaces).
   16618 
   16619 References to named objects within packages are resolved to the
   16620 
   16621 full pathname string before packages are returned directly (via
   16622 the AcpiEvaluateObject interface) or indirectly via the resource
   16623 interfaces.
   16624 
   16625 Linux OS Services Layer (OSL):
   16626 
   16627 Improved /proc battery interface.
   16628 
   16629 
   16630 Added C-state debugging output and other miscellaneous fixes.
   16631 
   16632 ASL Compiler Version X2014:
   16633 
   16634 All defined method arguments can now be used as local variables,
   16635 including the ones that are not actually passed in as parameters.
   16636 The compiler tracks initialization of the arguments and issues an
   16637 exception if they are used without prior assignment (just like
   16638 locals).
   16639 
   16640 The -o option now specifies a filename prefix that is used for all
   16641 output files, including the AML output file.  Otherwise, the
   16642 default behavior is as follows:  1) the AML goes to the file
   16643 specified in the DSDT.  2) all other output files use the input
   16644 source filename as the base.
   16645 
   16646  ------------------------------------------
   16647 Summary of changes for this label: 01_25_01
   16648 
   16649 Core ACPI CA Subsystem: Restructured the implementation of object
   16650 store support within the  interpreter.  This includes support for
   16651 the Store operator as well  as any ASL operators that include a
   16652 target operand.
   16653 
   16654 Partially implemented support for Implicit Result-to-Target
   16655 conversion. This is when a result object is converted on the fly
   16656 to the type of  an existing target object.  Completion of this
   16657 support is pending  further analysis of the ACPI specification
   16658 concerning this matter.
   16659 
   16660 CPU-specific code has been removed from the subsystem (hardware
   16661 directory).
   16662 
   16663 New Power Management Timer functions added
   16664 
   16665 Linux OS Services Layer (OSL): Moved system state transition code
   16666 to the core, fixed it, and modified  Linux OSL accordingly.
   16667 
   16668 Fixed C2 and C3 latency calculations.
   16669 
   16670 
   16671 We no longer use the compilation date for the version message on
   16672 initialization, but retrieve the version from AcpiGetSystemInfo().
   16673 
   16674 Incorporated for fix Sony VAIO machines.
   16675 
   16676 Documentation:  The Programmer Reference has been updated and
   16677 reformatted.
   16678 
   16679 
   16680 ASL Compiler:  Version X2013: Fixed a problem where the line
   16681 numbering and error reporting could get out  of sync in the
   16682 presence of multiple include files.
   16683 
   16684  ------------------------------------------
   16685 Summary of changes for this label: 01_15_01
   16686 
   16687 Core ACPI CA Subsystem:
   16688 
   16689 Implemented support for type conversions in the execution of the
   16690 ASL  Concatenate operator (The second operand is converted to
   16691 match the type  of the first operand before concatenation.)
   16692 
   16693 Support for implicit source operand conversion is partially
   16694 implemented.   The ASL source operand types Integer, Buffer, and
   16695 String are freely  interchangeable for most ASL operators and are
   16696 converted by the interpreter  on the fly as required.  Implicit
   16697 Target operand conversion (where the  result is converted to the
   16698 target type before storing) is not yet implemented.
   16699 
   16700 Support for 32-bit and 64-bit BCD integers is implemented.
   16701 
   16702 Problem fixed where a field read on an aligned field could cause a
   16703 read  past the end of the field.
   16704 
   16705 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
   16706 does not return a value, but the caller expects one.  (The ASL
   16707 compiler flags this as a warning.)
   16708 
   16709 ASL Compiler:
   16710 
   16711 Version X2011:
   16712 1. Static typechecking of all operands is implemented. This
   16713 prevents the use of invalid objects (such as using a Package where
   16714 an Integer is required) at compile time instead of at interpreter
   16715 run-time.
   16716 2. The ASL source line is printed with ALL errors and warnings.
   16717 3. Bug fix for source EOF without final linefeed.
   16718 4. Debug option is split into a parse trace and a namespace trace.
   16719 5. Namespace output option (-n) includes initial values for
   16720 integers and strings.
   16721 6. Parse-only option added for quick syntax checking.
   16722 7. Compiler checks for duplicate ACPI name declarations
   16723 
   16724 Version X2012:
   16725 1. Relaxed typechecking to allow interchangeability between
   16726 strings, integers, and buffers.  These types are now converted by
   16727 the interpreter at runtime.
   16728 2. Compiler reports time taken by each internal subsystem in the
   16729 debug         output file.
   16730 
   16731 
   16732  ------------------------------------------
   16733 Summary of changes for this label: 12_14_00
   16734 
   16735 ASL Compiler:
   16736 
   16737 This is the first official release of the compiler. Since the
   16738 compiler requires elements of the Core Subsystem, this label
   16739 synchronizes everything.
   16740 
   16741 ------------------------------------------
   16742 Summary of changes for this label: 12_08_00
   16743 
   16744 
   16745 Fixed a problem where named references within the ASL definition
   16746 of both OperationRegions and CreateXXXFields did not work
   16747 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   16748 initialization of the region/field. This is similar (but not
   16749 related internally) to the problem that was fixed in the last
   16750 label.
   16751 
   16752 Implemented both 32-bit and 64-bit support for the BCD ASL
   16753 functions ToBCD and FromBCD.
   16754 
   16755 Updated all legal headers to include "2000" in the copyright
   16756 years.
   16757 
   16758  ------------------------------------------
   16759 Summary of changes for this label: 12_01_00
   16760 
   16761 Fixed a problem where method invocations within the ASL definition
   16762 of both OperationRegions and CreateXXXFields did not work
   16763 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   16764 initialization of the region/field:
   16765 
   16766   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
   16767 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
   16768 (0x3005)
   16769 
   16770 Fixed a problem where operators with more than one nested
   16771 subexpression would fail.  The symptoms were varied, by mostly
   16772 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
   16773 problem that has gone unnoticed until now.
   16774 
   16775   Subtract (Add (1,2), Multiply (3,4))
   16776 
   16777 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
   16778 previous build (The prefix part of a relative path was handled
   16779 incorrectly).
   16780 
   16781 Fixed a problem where Operation Region initialization failed if
   16782 the operation region name was a "namepath" instead of a simple
   16783 "nameseg". Symptom was an AE_NO_OPERAND error.
   16784 
   16785 Fixed a problem where an assignment to a local variable via the
   16786 indirect RefOf mechanism only worked for the first such
   16787 assignment.  Subsequent assignments were ignored.
   16788 
   16789  ------------------------------------------
   16790 Summary of changes for this label: 11_15_00
   16791 
   16792 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
   16793 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
   16794 the AML  interpreter does NOT have support for the new 2.0 ASL
   16795 grammar terms at this time.
   16796 
   16797 All ACPI hardware access is via the GAS structures in the ACPI 2.0
   16798 FADT.
   16799 
   16800 All physical memory addresses across all platforms are now 64 bits
   16801 wide. Logical address width remains dependent on the platform
   16802 (i.e., "void *").
   16803 
   16804 AcpiOsMapMemory interface changed to a 64-bit physical address.
   16805 
   16806 The AML interpreter integer size is now 64 bits, as per the ACPI
   16807 2.0 specification.
   16808 
   16809 For backwards compatibility with ACPI 1.0, ACPI tables with a
   16810 revision number less than 2 use 32-bit integers only.
   16811 
   16812 Fixed a problem where the evaluation of OpRegion operands did not
   16813 always resolve them to numbers properly.
   16814 
   16815 ------------------------------------------
   16816 Summary of changes for this label: 10_20_00
   16817 
   16818 Fix for CBN_._STA issue.  This fix will allow correct access to
   16819 CBN_ OpRegions when the _STA returns 0x8.
   16820 
   16821 Support to convert ACPI constants (Ones, Zeros, One) to actual
   16822 values before a package object is returned
   16823 
   16824 Fix for method call as predicate to if/while construct causing
   16825 incorrect if/while behavior
   16826 
   16827 Fix for Else block package lengths sometimes calculated wrong (if
   16828 block > 63 bytes)
   16829 
   16830 Fix for Processor object length field, was always zero
   16831 
   16832 Table load abort if FACP sanity check fails
   16833 
   16834 Fix for problem with Scope(name) if name already exists
   16835 
   16836 Warning emitted if a named object referenced cannot be found
   16837 (resolved) during method execution.
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 ------------------------------------------
   16844 Summary of changes for this label: 9_29_00
   16845 
   16846 New table initialization interfaces: AcpiInitializeSubsystem no
   16847 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
   16848 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
   16849 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
   16850 AcpiLoadTables
   16851 
   16852 Note: These interface changes require changes to all existing OSDs
   16853 
   16854 The PCI_Config default address space handler is always installed
   16855 at the root namespace object.
   16856 
   16857 -------------------------------------------
   16858 Summary of changes for this label: 09_15_00
   16859 
   16860 The new initialization architecture is implemented.  New
   16861 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
   16862 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
   16863 
   16864 (Namespace is automatically loaded when a table is loaded)
   16865 
   16866 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
   16867 52 bytes to 32 bytes.  There is usually one of these for every
   16868 namespace object, so the memory savings is significant.
   16869 
   16870 Implemented just-in-time evaluation of the CreateField operators.
   16871 
   16872 Bug fixes for IA-64 support have been integrated.
   16873 
   16874 Additional code review comments have been implemented
   16875 
   16876 The so-called "third pass parse" has been replaced by a final walk
   16877 through the namespace to initialize all operation regions (address
   16878 spaces) and fields that have not yet been initialized during the
   16879 execution of the various _INI and REG methods.
   16880 
   16881 New file - namespace/nsinit.c
   16882 
   16883 -------------------------------------------
   16884 Summary of changes for this label: 09_01_00
   16885 
   16886 Namespace manager data structures have been reworked to change the
   16887 primary  object from a table to a single object.  This has
   16888 resulted in dynamic memory  savings of 3X within the namespace and
   16889 2X overall in the ACPI CA subsystem.
   16890 
   16891 Fixed problem where the call to AcpiEvFindPciRootBuses was
   16892 inadvertently left  commented out.
   16893 
   16894 Reduced the warning count when generating the source with the GCC
   16895 compiler.
   16896 
   16897 Revision numbers added to each module header showing the
   16898 SourceSafe version of the file.  Please refer to this version
   16899 number when giving us feedback or comments on individual modules.
   16900 
   16901 The main object types within the subsystem have been renamed to
   16902 clarify their  purpose:
   16903 
   16904 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
   16905 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
   16906 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
   16907 
   16908 NOTE: no changes to the initialization sequence are included in
   16909 this label.
   16910 
   16911 -------------------------------------------
   16912 Summary of changes for this label: 08_23_00
   16913 
   16914 Fixed problem where TerminateControlMethod was being called
   16915 multiple times per  method
   16916 
   16917 Fixed debugger problem where single stepping caused a semaphore to
   16918 be  oversignalled
   16919 
   16920 Improved performance through additional parse object caching -
   16921 added  ACPI_EXTENDED_OP type
   16922 
   16923 -------------------------------------------
   16924 Summary of changes for this label: 08_10_00
   16925 
   16926 Parser/Interpreter integration:  Eliminated the creation of
   16927 complete parse trees  for ACPI tables and control methods.
   16928 Instead, parse subtrees are created and  then deleted as soon as
   16929 they are processed (Either entered into the namespace or  executed
   16930 by the interpreter).  This reduces the use of dynamic kernel
   16931 memory  significantly. (about 10X)
   16932 
   16933 Exception codes broken into classes and renumbered.  Be sure to
   16934 recompile all  code that includes acexcep.h.  Hopefully we won't
   16935 have to renumber the codes  again now that they are split into
   16936 classes (environment, programmer, AML code,  ACPI table, and
   16937 internal).
   16938 
   16939 Fixed some additional alignment issues in the Resource Manager
   16940 subcomponent
   16941 
   16942 Implemented semaphore tracking in the AcpiExec utility, and fixed
   16943 several places  where mutexes/semaphores were being unlocked
   16944 without a corresponding lock  operation.  There are no known
   16945 semaphore or mutex "leaks" at this time.
   16946 
   16947 Fixed the case where an ASL Return operator is used to return an
   16948 unnamed  package.
   16949 
   16950 -------------------------------------------
   16951 Summary of changes for this label: 07_28_00
   16952 
   16953 Fixed a problem with the way addresses were calculated in
   16954 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
   16955 manifested itself when a Field was  created with WordAccess or
   16956 DwordAccess, but the field unit defined within the  Field was less
   16957 
   16958 than a Word or Dword.
   16959 
   16960 Fixed a problem in AmlDumpOperands() module's loop to pull
   16961 operands off of the  operand stack to display information. The
   16962 problem manifested itself as a TLB  error on 64-bit systems when
   16963 accessing an operand stack with two or more  operands.
   16964 
   16965 Fixed a problem with the PCI configuration space handlers where
   16966 context was  getting confused between accesses. This required a
   16967 change to the generic address  space handler and address space
   16968 setup definitions. Handlers now get both a  global handler context
   16969 (this is the one passed in by the user when executing
   16970 AcpiInstallAddressSpaceHandler() and a specific region context
   16971 that is unique to  each region (For example, the _ADR, _SEG and
   16972 _BBN values associated with a  specific region). The generic
   16973 function definitions have changed to the  following:
   16974 
   16975 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
   16976 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
   16977 *HandlerContext, // This used to be void *Context void
   16978 *RegionContext); // This is an additional parameter
   16979 
   16980 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
   16981 RegionHandle, UINT32 Function, void *HandlerContext,  void
   16982 **RegionContext); // This used to be **ReturnContext
   16983 
   16984 -------------------------------------------
   16985 Summary of changes for this label: 07_21_00
   16986 
   16987 Major file consolidation and rename.  All files within the
   16988 interpreter have been  renamed as well as most header files.  This
   16989 was done to prevent collisions with  existing files in the host
   16990 OSs -- filenames such as "config.h" and "global.h"  seem to be
   16991 quite common.  The VC project files have been updated.  All
   16992 makefiles  will require modification.
   16993 
   16994 The parser/interpreter integration continues in Phase 5 with the
   16995 implementation  of a complete 2-pass parse (the AML is parsed
   16996 twice) for each table;  This  avoids the construction of a huge
   16997 parse tree and therefore reduces the amount of  dynamic memory
   16998 required by the subsystem.  Greater use of the parse object cache
   16999 means that performance is unaffected.
   17000 
   17001 Many comments from the two code reviews have been rolled in.
   17002 
   17003 The 64-bit alignment support is complete.
   17004 
   17005 -------------------------------------------
   17006 Summary of changes for this label: 06_30_00
   17007 
   17008 With a nod and a tip of the hat to the technology of yesteryear,
   17009 we've added  support in the source code for 80 column output
   17010 devices.  The code is now mostly  constrained to 80 columns or
   17011 less to support environments and editors that 1)  cannot display
   17012 or print more than 80 characters on a single line, and 2) cannot
   17013 disable line wrapping.
   17014 
   17015 A major restructuring of the namespace data structure has been
   17016 completed.  The  result is 1) cleaner and more
   17017 understandable/maintainable code, and 2) a  significant reduction
   17018 in the dynamic memory requirement for each named ACPI  object
   17019 (almost half).
   17020 
   17021 -------------------------------------------
   17022 Summary of changes for this label: 06_23_00
   17023 
   17024 Linux support has been added.  In order to obtain approval to get
   17025 the ACPI CA  subsystem into the Linux kernel, we've had to make
   17026 quite a few changes to the  base subsystem that will affect all
   17027 users (all the changes are generic and OS- independent).  The
   17028 effects of these global changes have been somewhat far  reaching.
   17029 Files have been merged and/or renamed and interfaces have been
   17030 renamed.   The major changes are described below.
   17031 
   17032 Osd* interfaces renamed to AcpiOs* to eliminate namespace
   17033 pollution/confusion  within our target kernels.  All OSD
   17034 interfaces must be modified to match the new  naming convention.
   17035 
   17036 Files merged across the subsystem.  A number of the smaller source
   17037 and header  files have been merged to reduce the file count and
   17038 increase the density of the  existing files.  There are too many
   17039 to list here.  In general, makefiles that  call out individual
   17040 files will require rebuilding.
   17041 
   17042 Interpreter files renamed.  All interpreter files now have the
   17043 prefix am*  instead of ie* and is*.
   17044 
   17045 Header files renamed:  The acapi.h file is now acpixf.h.  The
   17046 acpiosd.h file is  now acpiosxf.h.  We are removing references to
   17047 the acronym "API" since it is  somewhat windowsy. The new name is
   17048 "external interface" or xface or xf in the  filenames.j
   17049 
   17050 
   17051 All manifest constants have been forced to upper case (some were
   17052 mixed case.)   Also, the string "ACPI_" has been prepended to many
   17053 (not all) of the constants,  typedefs, and structs.
   17054 
   17055 The globals "DebugLevel" and "DebugLayer" have been renamed
   17056 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
   17057 
   17058 All other globals within the subsystem are now prefixed with
   17059 "AcpiGbl_" Internal procedures within the subsystem are now
   17060 prefixed with "Acpi" (with only  a few exceptions).  The original
   17061 two-letter abbreviation for the subcomponent  remains after "Acpi"
   17062 - for example, CmCallocate became AcpiCmCallocate.
   17063 
   17064 Added a source code translation/conversion utility.  Used to
   17065 generate the Linux  source code, it can be modified to generate
   17066 other types of source as well. Can  also be used to cleanup
   17067 existing source by removing extraneous spaces and blank  lines.
   17068 Found in tools/acpisrc/*
   17069 
   17070 OsdUnMapMemory was renamed to OsdUnmapMemory and then
   17071 AcpiOsUnmapMemory.  (UnMap  became Unmap).
   17072 
   17073 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
   17074 When set to  one, this indicates that the caller wants to use the
   17075 
   17076 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
   17077 both types.  However, implementers of this  call may want to use
   17078 different OS primitives depending on the type of semaphore
   17079 requested.  For example, some operating systems provide separate
   17080 
   17081 "mutex" and  "semaphore" interfaces - where the mutex interface is
   17082 much faster because it  doesn't have all the overhead of a full
   17083 semaphore implementation.
   17084 
   17085 Fixed a deadlock problem where a method that accesses the PCI
   17086 address space can  block forever if it is the first access to the
   17087 space.
   17088 
   17089 -------------------------------------------
   17090 Summary of changes for this label: 06_02_00
   17091 
   17092 Support for environments that cannot handle unaligned data
   17093 accesses (e.g.  firmware and OS environments devoid of alignment
   17094 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
   17095 been added (via configurable macros) in  these three areas: -
   17096 Transfer of data from the raw AML byte stream is done via byte
   17097 moves instead of    word/dword/qword moves. - External objects are
   17098 aligned within the user buffer, including package   elements (sub-
   17099 objects). - Conversion of name strings to UINT32 Acpi Names is now
   17100 done byte-wise.
   17101 
   17102 The Store operator was modified to mimic Microsoft's
   17103 implementation when storing  to a Buffer Field.
   17104 
   17105 Added a check of the BM_STS bit before entering C3.
   17106 
   17107 The methods subdirectory has been obsoleted and removed.  A new
   17108 file, cmeval.c  subsumes the functionality.
   17109 
   17110 A 16-bit (DOS) version of AcpiExec has been developed.  The
   17111 makefile is under  the acpiexec directory.
   17112