Home | History | Annotate | Line # | Download | only in dist
changes.txt revision 1.1.1.25
      1 ----------------------------------------
      2 
      3 
      4 17 July 2020. Summary of changes for version 20200717:
      5 
      6 This release is available at https://acpica.org/downloads
      7 
      8 
      9 1) ACPICA kernel-resident subsystem:
     10 
     11 Do not increment OperationRegion reference counts for field units. Recent 
     12 server firmware has revealed that this reference count can overflow on 
     13 large servers that declare many field units (thousands) under the same 
     14 OperationRegion. This occurs because each field unit declaration will add 
     15 a reference count to the source OperationRegion. This release solves the 
     16 reference count overflow for OperationRegion objects by preventing 
     17 fieldUnits from incrementing their parent OperationRegion's reference 
     18 count.
     19 
     20 Replaced one-element arrays with flexible-arrays, which were introduced 
     21 in C99.
     22 
     23 Restored the readme file containing the directions for generation of 
     24 ACPICA from source on MSVC 2017. Updated the file for MSVC 2017. File is 
     25 located at: generate/msvc2017/readme.txt
     26 
     27 2) iASL Compiler/Disassembler and ACPICA tools: 
     28 
     29 iASL: Fixed a regression found in version 20200214. Prevent iASL from 
     30 emitting an extra byte of garbage data when control methods declared a 
     31 single parameter type without using braces. This extra byte is known to 
     32 cause a blue screen on the Windows AML interpreter.
     33 
     34 iASL: Made a change to allow external declarations to specify the type of 
     35 a named object even when some name segments are not defined.
     36 This change allows the following ASL code to compile (When DEV0 is not 
     37 defined or not defined yet):
     38 
     39     External (\_SB.DEV0.OBJ1, IntObj)
     40     External (\_SB.DEV0, DeviceObj)
     41 
     42 iASL: Fixed a problem where method names in "Alias ()" statement could be 
     43 misinterpreted. They are now interpreted correctly as method invocations.
     44 
     45 iASL: capture a method parameter count (Within the Method info segment, 
     46 as well as the argument node) when using parameter type lists.
     47 
     48 ----------------------------------------
     49 
     50 
     51 28 May 2020. Summary of changes for version 20200528:
     52 
     53 
     54 1) ACPICA kernel-resident subsystem:
     55 
     56 Removed old/obsolete Visual Studio files which were used to build the 
     57 Windows versions of the ACPICA tools. Since we have moved to Visual 
     58 Studio 2017, we are no longer supporting Visual Studio 2006 and 2009 
     59 project files. The new subdirectory and solution file are located at:
     60 
     61     acpica/generate/msvc2017/AcpiComponents.sln
     62 
     63 
     64 2) iASL Compiler/Disassembler and ACPICA tools: 
     65 
     66 iASL: added support for a new OperationRegion Address Space (subtype): 
     67 PlatformRtMechanism. Support for this new keyword is being released for 
     68 early prototyping. It will appear in the next release of the ACPI 
     69 specification.
     70 
     71 iASL: do not optimize the NameString parameter of the CondRefOf operator. 
     72 In the previous iASL compiler release, the NameString parameter of the 
     73 CondRefOf was optimized. There is evidence that some implementations of 
     74 the AML interpreter do not perform the recursive search-to-parent search 
     75 during the execution of the CondRefOf operator. Therefore, the CondRefOf 
     76 operator behaves differently when the NameString parameter is a single 
     77 name segment (a NameSeg) as opposed to a full NamePath (starting at the 
     78 root scope) or a NameString containing parent prefixes.
     79 
     80 iASL: Prevent an inadvertent remark message. This change prevents a 
     81 remark if within a control method the following exist:
     82 1) An Operation Region is defined, and
     83 2) A Field operator is defined that refers to the region.
     84 This happens because at the top level, the Field operator does not 
     85 actually create a new named object, it simply references the operation 
     86 region.
     87 
     88 Removed support for the acpinames utility. The acpinames was a simple 
     89 utility used to populate and display the ACPI namespace without executing 
     90 any AML code. However, ACPICA now supports executable opcodes outside of 
     91 control methods. This means that executable AML opcodes such as If and 
     92 Store opcodes need to be executed during table load. Therefore, acpinames 
     93 would need to be updated to match the same behavior as the acpiexec 
     94 utility and since acpiexec can already dump the entire namespace (via the 
     95 'namespace' command), we no longer have the need to maintain acpinames.
     96 
     97     In order to dump the contents of the ACPI namepsace using acpiexec, 
     98 execute the following command from the command line:
     99 
    100         acpiexec -b "n" [aml files]
    101 
    102 ----------------------------------------
    103 
    104 
    105 30 April 2020. Summary of changes for version 20200430:
    106 
    107 1) ACPICA kernel-resident subsystem:
    108 
    109 Cleaned up the coding style of a couple of global variables 
    110 (AcpiGbl_NextCmdNum and AcpiProtocolLengths) caught by static analyzers. 
    111 AcpiProtocolLengths was made static, and the definition of 
    112 AcpiGbl_NextCmdNum was moved to acglobal.h.
    113 
    114 
    115 2) iASL Compiler/Disassembler and ACPICA tools: 
    116 
    117 iASL DataTable Compiler:  Fixed a segfault on errors that aren't directly 
    118 associated with a field.
    119 
    120 Disassembler: has been made more resilient so that it will continue to 
    121 parse AML even if the AML generates ACPI namespace errors. This enables 
    122 iASL to disassemble some AML that may have been compiled using older 
    123 versions of iASL that no longer compile with newer versions of iASL.
    124 
    125 iASL: Fixed the required parameters for _NIH and _NIG. Previously, there 
    126 was a mixup where _NIG required one parameter and _NIH required zero 
    127 parameters. This change swaps these parameter requirements. Now it is 
    128 required that _NIH must be called with one parameter and _NIG requires 
    129 zero parameters.
    130 
    131 iASL: Allow use of undefined externals as long as they are protected by 
    132 an if (CondRefOf (...)) block when compiling multiple definition blocks.
    133 
    134 iASL: Fixed the type override behavior of named objects that are declared 
    135 as External. External declarations will no longer override the type of 
    136 the actual definition if it already exists.
    137 
    138 AcpiNames: Added setargv.obj to the MSVC 2017 link sequence to enable 
    139 command line wildcard support on Windows. Note: the AcpiNames utility is 
    140 essentially redundant with the AcpiExec utility (using the "namespace" 
    141 command) and is therefore deprecated. It will be removed in future 
    142 releases of ACPICA.
    143 
    144 Disassembler: ignore AE_ALREADY_EXISTS status when parsing create* 
    145 operators. The disassembler is intended to emit existing ASL code as-is. 
    146 Therefore, error messages emitted during disassembly should be ignored or 
    147 handled in a way such that the disassembler can continue to parse the 
    148 AML. This change ignores AE_ALREADY_EXISTS errors during the deferred Op 
    149 parsing for create operators in order to complete parsing ASL termlists.
    150 
    151 iASL DataTable Compiler: IVRS table: fix potentially uninitialized 
    152 variable warning. Some compilers catch potential uninitialized variables. 
    153 This is done by examining branches of if/else statements. This change 
    154 replaces an "else if" with an "else" to fix the uninitialized variable 
    155 warning.
    156 
    157 
    158 ----------------------------------------
    159 26 March 2020. Summary of changes for version 20200326:
    160 
    161 
    162 1) ACPICA kernel-resident subsystem:
    163 
    164 Performed a code clean-up to prevent build errors on early versions of 
    165 GCC-10.
    166 
    167 Added the NHLT table signature. iASL data table compiler/disassembler 
    168 support for this table is coming soon.
    169 
    170 
    171 2) iASL Compiler/Disassembler and ACPICA tools: 
    172 
    173 AcpiExec: Fixed several problems with the namespace initialization file 
    174 (-fi<filename> option). Includes fixes to prevent AE_ALREADY_EXISTS 
    175 errors, several seg faults, and enhancements to line parsing within the 
    176 init file. In addition, each object found in the init file and it's new 
    177 value is displayed, as well as any such entries that do not have a 
    178 corresponding name in the namespace. For reference, the syntax for the 
    179 various supported data types are presented below:
    180 	PCHG 0x777788889999BBBB	// Integer
    181 	\DEV1.STR1 "XYZ"			// String
    182 	BUF1 (88 99 AA)			// Buffer
    183 	PKG1 [0x1111 0x2222]		// Package
    184 	\BF1 0x7980				// BufferField
    185 	RCRV 0x0123456789ABCDEF	// Field Unit
    186 
    187 iASL: Added a custom iASL macro __EXPECT__(iASL-Error-Code). This macro 
    188 can be used anywhere in a given ASL file to configure iASL to expect an 
    189 iASL compiler error code on the line where this macro was placed. If the 
    190 error code does not exist, an error is generated. This is intended to be 
    191 used for ACPICA's ASL test suite, but can be used by ASL developers as 
    192 well.
    193 
    194 iASL: table compiler: Implemented IVRS IVHD type 11h parsing. The AMD 
    195 IVRS table parsing supported only IVHD type 10h structures. Parsing an 
    196 IVHD type 11h caused the iasl to report unknown subtable type. Add 
    197 necessary structure definition for IVHD type 11h and apply correct 
    198 parsing method based on subtable type. Micha? ?ygowski.
    199 
    200 iASL: table compiler: Fixed IVRS table IVHD type 10h reserved field name 
    201 According to AMD IOMMU Specification Revision 3.05 the reserved field 
    202 should be IOMMU Feature Reporting. Change the name of the field to the 
    203 correct one. Micha? ?ygowski.
    204 
    205 acpiexec: removed redeclaration of AcpiGbl_DbOpt_NoRegionSupport. Patch 
    206 based on suggestions by David Seifert and Benjamin Berg.
    207 
    208 iASL: table compiler: removed an unused variable (DtCompilerParserResult) 
    209 causing linking errors. Patch based on suggestions by David Seifert and 
    210 Benjamin Berg.
    211 
    212 iASL: table compiler: make LexBuffer static to avoid linking errors in 
    213 newer compilers. Patch based on suggestions by David Seifert and Benjamin 
    214 Berg.
    215 
    216 iASL: fixed type matching between External and Named objects. External 
    217 object types can only be expressed with ACPI object type values that are 
    218 defined in the ACPI spec. However, iASL uses ACPI object type values that 
    219 are local to ACPICA in addition to the values defined in the ACPI spec. 
    220 This change implements type matching to map some object type values 
    221 specific to ACPICA to ones that are defined in the ACPI spec.
    222 
    223 iASL: Dropped the type mismatch compiler error that can arise from 
    224 External declarations to a warning. This warning can occur when there is 
    225 a type difference between the external declaration and the actual object 
    226 declaration (when compiling multiple files/modules simultaneously).
    227 
    228 iASL: removed an incorrect error message regarding externals. This change 
    229 removes an incorrect error that is emitted when a duplicate external 
    230 declaration does not contain a type that opens a scope. This is incorrect 
    231 because the duplicate external with conflicting types are already caught 
    232 by iASL and it doesn't make any sense to enforce what this conflicting 
    233 type should be.
    234 
    235 AcpiXtract: fix AX_IS_TABLE_BLOCK_HEADER macro. This macro needs to be 
    236 surrounded by parens. Otherwise, a logical statement that applies a 
    237 logical not operator to this macro could result in a computation that 
    238 applies the operator to the left side of the logical and but not the 
    239 right. Reported-by: John Levon <john.levon (a] joyent.com>
    240 
    241 Fixed a problem with the local version of sprint(): On 32-bit, the 
    242 provided sprintf() is non-functional: with a size of ACPI_UINT32_MAX, 
    243 String + Size will wrap, meaning End < Start, and 
    244 AcpiUtBoundStringOutput() will never output anything as a result. The 
    245 symptom seen of this was acpixtract failing to output anything -- with a 
    246 custom build that included utprint.c. Signed-off-by: John Levon 
    247 <john.levon (a] joyent.com>
    248 
    249 iASL: Changed the "PlatformCommChannel" ASL keyword to "PCC", as per the 
    250 ACPI specification.
    251 
    252 
    253 ----------------------------------------
    254 14 February 2020. Summary of changes for version 20200214:
    255 
    256 
    257 1) ACPICA kernel-resident subsystem:
    258 
    259 Enable sleep button on ACPI legacy wake:  Hibernation (S4) is triggered 
    260 in a guest when it receives a sleep trigger from the hypervisor. When the 
    261 guest resumes from this power state, it does not see the SleepEnabled 
    262 bit. In other words, the sleepHibernation (S4) is triggered in a guest 
    263 when it receives a sleep trigger from the hypervisor. When the guest 
    264 resumes from this power state, it does not see the SleepEnabled bit. In 
    265 other words, the sleep button is not enabled on waking from an S4 state. 
    266 This causes subsequent invocation of sleep state to fail since the 
    267 guest.button is not enabled on waking from an S4 state. This causes 
    268 subsequent invocation of sleep state to fail in the guest. Fix this 
    269 problem by enabling the sleep button in ACPI legacy wake. From Anchal 
    270 Agarwal <anchalag (a] amazon.com>.
    271 
    272 Implemented a new external interface, AcpiAnyGpeStatusSet (). To be used 
    273 for checking the status bits of all enabled GPEs in one go. It is needed 
    274 to distinguish spurious SCIs from genuine ones when deciding whether or 
    275 not to wake up the system from suspend-to-idle.
    276 
    277 Generic Makefiles: replace HOST name with ACPI_HOST: Some machines may be 
    278 using HOST in their environment to represent the host name for their 
    279 machines. Avoid this problem by renaming this variable from HOST to 
    280 ACPI_HOST.
    281 
    282 MSVC 2017 project files: Enable multiprocessor generation to improve 
    283 build performance.
    284 
    285 Added a macro to get the byte width of a Generic Address structure. New 
    286 ACPI_ACCESS_BYTE_WIDTH is in addition to the existing 
    287 ACPI_ACCESS_BIT_WIDTH. From Mika Westerberg.
    288 
    289 
    290 2) iASL Compiler/Disassembler and ACPICA tools: 
    291 
    292 iASL: Implemented full support for the (optional, rarely used) ReturnType 
    293 and ParameterTypesList for the Method, Function, and External operators. 
    294 For Method declarations, the number of individual ParameterTypes must 
    295 match the declaration of the number of arguments (NumArgs). This also 
    296 Fixes a problem with the External operator where extra/extraneous bytes 
    297 were emitted in the AML code if the optional ReturnType/ParameterTypes 
    298 were specified for a MethodObj declaration.
    299 New error message:
    300 1) Method NumArgs count does not match length of ParameterTypes list
    301 
    302 iASL: Implemented detection of type mismatches between External 
    303 declarations and named object declarations. Also, detect type mismatches 
    304 between multiple External declarations of the same Name.
    305 New error messages:
    306 1) Type mismatch between external declaration and actual object 
    307 declaration detected
    308 2) Type mismatch between multiple external declarations detected
    309 
    310 iASL: Implemented new error messages for External operators that specify 
    311 a ReturnType and/or ParameterTypesList for any object type other than 
    312 control methods (MethodObj).
    313 New error messages:
    314 1) Return type is only allowed for Externals declared as MethodObj
    315 2) Parameter type is only allowed for Externals declared as MethodObj
    316 
    317 iASL: Implemented two new remark/warning messages for ASL code that 
    318 creates named objects from within a control method. This is very 
    319 inefficient since the named object must be created and deleted each time 
    320 the method is executed.
    321 New messages:
    322 1) Creation of named objects within a method is highly inefficient, use 
    323 globals or method local variables instead (remark)
    324 2) Static OperationRegion should be declared outside control method 
    325 (warning)
    326 
    327 iASL: Improved illegal forward reference detection by adding support to 
    328 detect forward-reference method invocations.
    329 
    330 iASL: Detect and issue an error message for NameStrings that contain too 
    331 many individual NameSegs (>255). This is an AML limitation that is 
    332 defined in the ACPI specification.
    333 New message:
    334 1) NameString contains too many NameSegs (>255)
    335 
    336 acpidump: windows: use GetSystemFirmwareTable API for all tables except 
    337 SSDT. By using this API, acpidump is able to get all tables in the XSDT
    338 
    339 iASL: Removed unused parser file and updated msvc2017 project files. 
    340 Removed the obsolete AslCompiler.y from the repository.
    341 
    342 iASL: msvc2017: Fixed macros in the file dependency list to prevent 
    343 unnecessary rebuilds. Replace %(Directory) with %(RelativeDir).
    344 
    345 Disassembler: Prevent spilling error messages to the output file. All 
    346 errors are directed to the console instead. These error messages 
    347 prevented re-compilation of the resulting disassembled ASL output file 
    348 (.DSL).
    349 
    350 
    351 ----------------------------------------
    352 10 January 2020. Summary of changes for version 20200110:
    353 
    354 
    355 1) ACPICA kernel-resident subsystem:
    356 
    357 Updated all copyrights to 2020. This affects all ACPICA source code 
    358 modules.
    359 
    360 
    361 2) iASL Compiler/Disassembler and ACPICA tools:
    362 
    363 ASL test suite (ASLTS): Updated all copyrights to 2020.
    364 
    365 Tools and utilities: Updated all signon copyrights to 2020.
    366 
    367 iASL: fix forward reference analysis for field declarations. Fixes 
    368 forward reference analysis for field declarations by searching the 
    369 parent scope for the named object when the object is not present in 
    370 the current scope.
    371 
    372 iASL: Improved the error output for ALREADY_EXISTS errors. Now, the 
    373 full pathname of the name that already exists is printed.
    374 
    375 iASL: Enhance duplicate Case() detection for buffers. Add check for 
    376 buffers with no initializer list (these buffers will be filled with 
    377 zeros at runtime.)
    378 
    379 
    380 ----------------------------------------
    381 13 December 2019. Summary of changes for version 20191213:
    382 
    383 
    384 1) ACPICA kernel-resident subsystem:
    385 
    386 Return a Buffer object for all fields created via the CreateField
    387 operator. Previously, an Integer would be returned if the size of
    388 the field was less than or equal to the current size of an Integer.
    389 Although this goes against the ACPI specification, it provides
    390 compatibility with other ACPI implementations. Also updated the
    391 ASLTS test suite to reflect this new behavior.
    392 
    393 2) iASL Compiler/Disassembler and ACPICA tools:
    394 
    395 iASL: Implemented detection of (and throw an error for) duplicate
    396 values for Case statements within a single Switch statement. Duplicate
    397 Integers, Strings, and Buffers are supported.
    398 
    399 iASL: Fix error logging issue during multiple file compilation --
    400 Switch to the correct input file during error node creation.
    401 
    402 iASL: For duplicate named object creation, now emit an error instead
    403 of a warning - since this will cause a runtime error.
    404 
    405 AcpiSrc: Add unix line-ending support for non-Windows builds.
    406 
    407 iASL: Add an error condition for an attempt to create a NameString
    408 with > 255 NameSegs (the max allowable via the AML definition).
    409 
    410 
    411 ----------------------------------------
    412 18 October 2019. Summary of changes for version 20191018:
    413 
    414 
    415 1) ACPICA kernel-resident subsystem:
    416 
    417 Debugger: added a new command: ?Fields [address space ID]?. This command 
    418 dumps the contents of all field units that are defined within the 
    419 namespace with a particular address space ID.
    420 
    421 Modified the external interface AcpiLoadTable() to return a table index. 
    422 This table index can be used for unloading a table for debugging.
    423     ACPI_STATUS
    424     AcpiLoadTable (
    425         ACPI_TABLE_HEADER       *Table,
    426         UINT32                  *TableIndex))
    427 
    428 Implemented a new external interface: AcpiUnloadTable() This new function 
    429 takes a table index as an argument and unloads the table. Useful for 
    430 debugging only.
    431     ACPI_STATUS
    432     AcpiUnloadTable (
    433         UINT32                  TableIndex))
    434 
    435 Ported the AcpiNames utility to use the new table initialization 
    436 sequence. The utility was broken before this change. Also, it was 
    437 required to include most of the AML interpreter into the utility in order 
    438 to process table initialization (module-level code execution.)
    439 
    440 Update for results from running Clang V8.0.1. This fixes all "dead 
    441 assignment" warnings. There are still several "Dereference of NULL 
    442 pointer" warnings, but these have been found to be false positive 
    443 warnings.
    444 
    445 
    446 2) iASL Compiler/Disassembler and ACPICA tools:
    447 
    448 iASL: numerous table compiler changes to ensure that the usage of 
    449 yacc/bison syntax is POSIX-compliant.
    450 
    451 iASL/disassembler: several simple bug fixes in the data table 
    452 disassembler.
    453 
    454 Acpiexec: expanded the initialization file (the -fi option) to initialize 
    455 strings, buffers, packages, and field units.
    456 
    457 
    458 ----------------------------------------
    459 16 August 2019. Summary of changes for version 20190816:
    460 
    461 This release is available at https://acpica.org/downloads
    462 
    463 
    464 1) ACPICA kernel-resident subsystem:
    465 
    466 Modified the OwnerId mechanism to allow for more Owner Ids. The previous 
    467 limit was 256 Ids, now it is 4096 Ids. This prevents OWNER_ID_LIMIT 
    468 exceptions on machines with a large number of initialization threads, 
    469 many CPU cores and nested initialization control methods.
    470 
    471 Introduced acpi_dispatch_gpe() as a wrapper around AcpiEvDetectGpe() for 
    472 checking if the given GPE (as represented by a GPE device handle and a 
    473 GPE number) is currently active and dispatching it (if that's the case) 
    474 outside of interrupt context.
    475 
    476 Table load: exit the interpreter before initializing objects within the 
    477 new table This prevents re-acquiring the interpreter lock when loading 
    478 tables
    479 
    480 Added the "Windows 2019" string to the _OSI support (version 1903). Jung-
    481 uk Kim
    482 
    483 Macros: removed pointer math on a null pointer. Causes warnings on some 
    484 compilers and/or tools. Changed ACPI_TO_POINTER to use ACPI_CAST_PTR 
    485 instead of using arithmetic.
    486 
    487 Fully deployed the ACPI_PRINTF_LIKE macro. This macro was not being used 
    488 across all "printf-like" internal functions. Also, cleanup all calls to 
    489 such functions (both in 32-bit mode and 64-bit mode) now that they are 
    490 analyzed by the gcc compiler via ACPI_PRINTF_LIKE.
    491 
    492 
    493 2) iASL Compiler/Disassembler and ACPICA tools:
    494 
    495 iASL: implemented a new data table compiler flex/bison front-end. This 
    496 change is internal and is not intended to result in changes to the 
    497 compiled code. This new compiler front-end can be invoked using the -tp 
    498 option for now, until the old mechanism is removed.
    499 
    500 ASLTS: Implemented a new data table compiler test suite. This test suite 
    501 generates all table templates and compile/disassemble/re-compile/binary-
    502 compare each file. 
    503 
    504 iASL: return -1 if AML files were not generated due to compiler errors
    505 
    506 iASL: added a warning on use of the now-legacy ASL Processor () keyword.
    507 
    508 iASL: added an error on _UID object declaration that returns a String 
    509 within a Processor () declaration. A _UID for a processor must be an 
    510 Integer.
    511 
    512 iASL: added a null terminator to name strings that consist only of 
    513 multiple parent prefixes (^)
    514 
    515 iASL: added support to compile both ASL and data table files in a single 
    516 command.
    517 
    518 Updated the tool generation project files that were recently migrated to 
    519 MSVC 2017 to eliminate all new warnings. The new project files appear in 
    520 the directory \acpica\generate\msvc2017. This change effectively 
    521 deprecates the older project files in \acpica\generate\msvc9.
    522 
    523 
    524 ----------------------------------------
    525 03 July 2019. Summary of changes for version 20190703:
    526 
    527 
    528 1) ACPICA kernel-resident subsystem:
    529 
    530 Remove legacy module-level support code. There were still some remnants 
    531 of the legacy module-level code executions. Since we no longer support 
    532 this option, this is essentially dead code and has been removed from the 
    533 ACPICA source.
    534 
    535 iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root 
    536 scope. If these named objects are declared outside the root scope, they 
    537 will not be invoked by any host Operating System.
    538 
    539 Clear status of GPEs on first direct enable. ACPI GPEs (other than the EC 
    540 one) can be enabled in two situations. First, the GPEs with existing _Lxx 
    541 and _Exx methods are enabled implicitly by ACPICA during system 
    542 initialization.  Second, the GPEs without these methods (like GPEs listed 
    543 by _PRW objects for wakeup devices) need to be enabled directly by the 
    544 code that is going to use them (e.g. ACPI power management or device 
    545 drivers).
    546 
    547 In the former case, if the status of a given GPE is set to start with, 
    548 its handler method (either _Lxx or _Exx) needs to be invoked to take care 
    549 of the events (possibly) signaled before the GPE was enabled. In the 
    550 latter case, however, the first caller of AcpiEnableGpe() for a given GPE 
    551 should not be expected to care about any events that might be signaled 
    552 through it earlier.  In that case, it is better to clear the status of 
    553 the GPE before enabling it, to prevent stale events from triggering 
    554 unwanted actions (like spurious system resume, for example).
    555 
    556 For this reason, modify AcpiEvAddGpeReference() to take an additional 
    557 boolean argument indicating whether or not the GPE status needs to be 
    558 cleared when its reference counter changes from zero to one and make 
    559 AcpiEnableGpe() pass TRUE to it through that new argument.
    560 
    561 
    562 2) iASL Compiler/Disassembler and ACPICA tools:
    563 
    564 The tool generation process has been migrated to MSVC 2017, and all 
    565 project files have been upgraded. The new project files appear in the 
    566 directory \acpica\generate\msvc2017. This change effectively deprecates 
    567 the older project files in \acpica\generate\msvc9.
    568 
    569 iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root 
    570 scope. If these named objects are declared outside the root scope, they 
    571 will not be invoked by any host Operating System
    572 
    573 ----------------------------------------
    574 09 May 2019. Summary of changes for version 20190509:
    575 
    576 
    577 1) ACPICA kernel-resident subsystem:
    578 
    579 Revert commit  6c43e1a ("ACPICA: Clear status of GPEs before enabling 
    580 them") that causes problems with Thunderbolt controllers to occur if a 
    581 dock device is connected at init time (the xhci_hcd and thunderbolt 
    582 modules crash which prevents peripherals connected through them from 
    583 working). Commit 6c43e1a effectively causes commit ecc1165b8b74 ("ACPICA: 
    584 Dispatch active GPEs at init time") to get undone, so the problem 
    585 addressed by commit ecc1165b8b74 appears again as a result of it.
    586 
    587 
    588 2) iASL Compiler/Disassembler and ACPICA tools:
    589 
    590 Reverted iASL: Additional forward reference detection. This change 
    591 reverts forward reference detection for field declarations. The feature 
    592 unintentionally emitted AML bytecode with incorrect package lengths for 
    593 some ASL code related to Fields and OperationRegions. This malformed AML 
    594 can cause systems to crash
    595 during boot. The malformed AML bytecode is emitted in iASL version 
    596 20190329 and 20190405.
    597 
    598 iASL: improve forward reference detection. This change improves forward 
    599 reference detection for named objects inside of scopes. If a parse object 
    600 has the OP_NOT_FOUND_DURING_LOAD set, it means that Op is a reference to 
    601 a named object that is declared later in the AML bytecode. This is 
    602 allowed if the reference is inside of a method and the declaration is 
    603 outside of a method like so:
    604 
    605 DefinitionBlock(...)
    606 {
    607     Method (TEST)
    608     {
    609         Return (NUM0)
    610     }
    611     Name (NUM0,0)
    612 }
    613 
    614 However, if the declaration and reference are both in the same method or 
    615 outside any methods, this is a forward reference and should be marked as 
    616 an error because it would result in runtime errors.
    617 
    618 DefinitionBlock(...)
    619 {
    620     Name (BUFF, Buffer (NUM0) {}) // Forward reference
    621     Name (NUM0, 0x0)
    622 
    623     Method (TEST)
    624     {
    625         Local0 = NUM1
    626         Name (NUM1, 0x1) // Forward reference
    627         return (Local0)
    628     }
    629 }
    630 
    631 iASL: Implemented additional buffer overflow analysis for BufferField 
    632 declarations. Check if a buffer index argument to a create buffer field 
    633 operation is beyond the end of the target buffer.
    634 
    635 This affects these AML operators:
    636  
    637    AML_CREATE_FIELD_OP
    638    AML_CREATE_BIT_FIELD_OP
    639    AML_CREATE_BYTE_FIELD_OP
    640    AML_CREATE_WORD_FIELD_OP
    641    AML_CREATE_DWORD_FIELD_OP
    642    AML_CREATE_QWORD_FIELD_OP
    643 
    644  There are three conditions that must be satisfied in order to allow this 
    645 validation at compile time:
    646  
    647    1) The length of the target buffer must be an integer constant
    648    2) The index specified in the create* must be an integer constant
    649    3) For CreateField, the bit length argument must be non-zero.
    650 
    651 Example:
    652     Name (BUF1, Buffer() {1,2})
    653     CreateField (BUF1, 7, 9, CF03)  // 3: ERR
    654 
    655 dsdt.asl     14:     CreateField (BUF1, 7, 9, CF03)  // 3: ERR
    656 Error    6165 -                           ^ Buffer index beyond end of 
    657 target buffer
    658 
    659 
    660 ----------------------------------------
    661 05 April 2019. Summary of changes for version 20190405:
    662 
    663 
    664 1) ACPICA kernel-resident subsystem:
    665 
    666 Event Manager: History: Commit 18996f2db918 ("ACPICA: Events: Stop 
    667 unconditionally clearing ACPI IRQs during suspend/resume") was added 
    668 earlier to stop clearing of event status bits unconditionally on suspend 
    669 and resume paths. Though this change fixed an issue on suspend path, it 
    670 introduced regressions on several resume paths. In the case of S0ix, 
    671 events are enabled as part of device suspend path. If status bits for the 
    672 events are set when they are enabled, it could result in premature wake 
    673 from S0ix. If status is cleared for any event that is being enabled so 
    674 that any stale events are cleared out. In case of S0ix, events are 
    675 enabled as part of device suspend path. If status bits for the events are 
    676 set when they are enabled, it could result in premature wake from S0ix.
    677 
    678 This change ensures that status is cleared for any event that is being 
    679 enabled so that any stale events are cleared out.
    680 
    681 
    682 2) iASL Compiler/Disassembler and ACPICA tools:
    683 
    684 iASL: Implemented an enhanced multiple file compilation that combines 
    685 named objects from all input files to a single namespace. With this 
    686 feature, any unresolved external declarations as well as duplicate named 
    687 object declarations can be detected during compilation rather than 
    688 generating errors much later at runtime. The following commands are 
    689 examples that utilize this feature:
    690     iasl dsdt.asl ssdt.asl
    691     iasl dsdt.asl ssdt1.asl ssdt2.asl
    692     iasl dsdt.asl ssdt*.asl
    693 
    694 ----------------------------------------
    695 29 March 2019. Summary of changes for version 20190329:
    696 
    697 
    698 1) ACPICA kernel-resident subsystem:
    699 
    700 Namespace support: Remove the address nodes from global list after method 
    701 termination. The global address list contains pointers to namespace nodes 
    702 that represent Operation Regions. This change properly removes Operation 
    703 Region namespace nodes that are declared dynamically during method 
    704 execution.
    705 
    706 Linux: Use a different debug default than ACPICA. There was a divergence 
    707 between Linux and the ACPICA codebases. In order to resolve this 
    708 divergence, Linux now declares its own debug default in aclinux.h
    709 
    710 Renamed some internal macros to improve code understanding and 
    711 maintenance. The macros below all operate on single 4-character ACPI 
    712 NameSegs, not generic strings (old -> new):
    713     ACPI_NAME_SIZE    -> ACPI_NAMESEG_SIZE
    714     ACPI_COMPARE_NAME -> ACPI_COMPARE_NAMESEG
    715     ACPI_MOVE_NAME    -> ACPI_COPY_NAMESEG
    716 
    717 Fix for missing comma in array declaration for the AcpiGbl_GenericNotify 
    718 table.
    719 
    720 Test suite: Update makefiles, add PCC operation region support
    721 
    722 
    723 2) iASL Compiler/Disassembler and Tools:
    724 
    725 iASL: Implemented additional illegal forward reference detection. Now 
    726 detect and emit an error upon detection of a forward reference from a 
    727 Field to an Operation Region. This will fail at runtime if allowed to 
    728 pass the compiler.
    729 
    730 AcpiExec: Add an address list check for dynamic Operation Regions. This 
    731 feature performs a sanity test for each node the global address list. 
    732 This is done in order to ensure that all dynamic operation regions are 
    733 properly removed from the global address list and no dangling pointers 
    734 are left behind.
    735 
    736 Disassembler: Improved generation of resource pathnames. This change 
    737 improves the code that generates resource descriptor and resource tag 
    738 pathnames. The original code used a bunch of str* C library functions 
    739 that caused warnings on some compilers.
    740 
    741 iASL: Removed some uses of strncpy and replaced with memmove. The strncpy 
    742 function can overwrite buffers if the calling code is not very careful. 
    743 In the case of generating a module/table header, use of memmove is a 
    744 better implementation.
    745 
    746 
    747 3) Status of new features that have not been completed at this time:
    748 
    749 iASL: Implementing an enhanced multiple file compilation into a single 
    750 namespace feature (Status): This feature will be released soon, and 
    751 allows multiple ASL files to be compiled into the same single namespace. 
    752 By doing so, any unresolved external declarations as well as duplicate 
    753 named object declarations can be detected during compilation (rather than 
    754 later during runtime). The following commands are examples that utilize 
    755 this feature:
    756     iasl dsdt.asl ssdt.asl
    757     iasl dsdt.asl ssdt1.asl ssdt2.asl
    758     iasl dsdt.asl ssdt*.asl
    759 
    760 ASL tutorial status: Feedback is being gathered internally and the 
    761 current plan is to publish this tutorial on the ACPICA website after a 
    762 final review by a tech writer.
    763 
    764 ----------------------------------------
    765 15 February 2019. Summary of changes for version 20190215:
    766 
    767 
    768 0) Support for ACPI specification version 6.3:
    769 
    770 Add PCC operation region support for the AML interpreter. This adds PCC 
    771 operation region support in the AML interpreter and a default handler for 
    772 acpiexec. The change also renames the PCC region address space keyword to 
    773 PlatformCommChannel.
    774 
    775 Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG. 
    776 These methods provide OSPM with health information and device boot 
    777 status.
    778 
    779 PDTT: Add TriggerOrder to the PCC Identifier structure. The field value 
    780 defines if the trigger needs to be invoked by OSPM before or at the end 
    781 of kernel crash dump processing/handling operation.
    782 
    783 SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT 
    784 is used for describing devices such as heterogeneous processors, 
    785 accelerators, GPUs, and IO devices with integrated compute or DMA 
    786 engines.
    787 
    788 MADT: Add support for statistical profiling in GICC. Statistical 
    789 profiling extension (SPE) is an architecture-specific feature for ARM.
    790 
    791 MADT: Add online capable flag. If this bit is set, system hardware 
    792 supports enabling this processor during OS runtime.
    793 
    794 New Error Disconnect Recover Notification value. There are a number of 
    795 scenarios where system Firmware in collaboration with hardware may 
    796 disconnect one or more devices from the rest of the system for purposes 
    797 of error containment. Firmware can use this new notification value to 
    798 alert OSPM of such a removal.
    799 
    800 PPTT: New additional fields in Processor Structure Flags. These flags 
    801 provide more information about processor topology.
    802 
    803 NFIT/Disassembler: Change a field name from "Address Range" to "Region 
    804 Type".
    805 
    806 HMAT updates: make several existing fields to be reserved as well as 
    807 rename subtable 0 to "memory proximity domain attributes".
    808 
    809 GTDT: Add support for new GTDT Revision 3. This revision adds information 
    810 for the EL2 timer.
    811 
    812 iASL: Update the HMAT example template for new fields.
    813 
    814 iASL: Add support for the new revision of the GTDT (Rev 3).
    815 
    816 
    817 1) ACPICA kernel-resident subsystem:
    818 
    819 AML Parser: fix the main AML parse loop to correctly skip erroneous 
    820 extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2-
    821 byte extended opcodes. If an error occurs during an AML table load, the 
    822 AML parser will continue loading the table by skipping the offending 
    823 opcode. This implements a "load table at any cost" philosophy.
    824 
    825 
    826 2) iASL Compiler/Disassembler and Tools:
    827 
    828 iASL: Add checks for illegal object references, such as a reference 
    829 outside of method to an object within a method. Such an object is only 
    830 temporary.
    831 
    832 iASL: Emit error for creation of a zero-length operation region. Such a 
    833 region is rather pointless. If encountered, a runtime error is also 
    834 implemented in the interpreter.
    835 
    836 Debugger: Fix a possible fault with the "test objects" command.
    837 
    838 iASL: Makefile: support parent directory filenames containing embedded 
    839 spaces.
    840 
    841 iASL: Update the TPM2 template to revision 4.
    842 
    843 iASL: Add the ability to report specific warnings or remarks as errors.
    844 
    845 Disassembler: Disassemble OEMx tables as actual AML byte code. 
    846 Previously, these tables were treated as "unknown table".
    847 
    848 iASL: Add definition and disassembly for TPM2 revision 3.
    849 
    850 iASL: Add support for TPM2 rev 3 compilation.
    851 
    852 
    853 ----------------------------------------
    854 08 January 2019. Summary of changes for version 20190108:
    855 
    856 
    857 1) ACPICA kernel-resident subsystem:
    858 
    859 Updated all copyrights to 2019. This affects all source code modules.
    860 
    861 
    862 2) iASL Compiler/Disassembler and Tools:
    863 
    864 ASL test suite (ASLTS): Updated all copyrights to 2019.
    865 
    866 Tools: Updated all signon copyrights to 2019.
    867 
    868 AcpiExec: Added a new option to dump extra information concerning any 
    869 memory leaks detected by the internal object/cache tracking mechanism. -
    870 va
    871 
    872 iASL: Updated the table template for the TPM2 table to the newest version 
    873 of the table (Revision 4)
    874 
    875 
    876 ----------------------------------------
    877 13 December 2018. Summary of changes for version 20181213:
    878 
    879 
    880 1) ACPICA Kernel-resident Subsystem:
    881 
    882 Fixed some buffer length issues with the GenericSerialBus, related to two 
    883 of the bidirectional protocols: AttribRawProcessBytes and AttribRawBytes, 
    884 which are rarely seen in the field. For these, the LEN field of the ASL 
    885 buffer is now ignored. Hans de Goede
    886 
    887 Implemented a new object evaluation trace mechanism for control methods 
    888 and data objects. This includes nested control methods. It is 
    889 particularly useful for examining the ACPI execution during system 
    890 initialization since the output is relatively terse. The flag below 
    891 enables the output of the trace via the ACPI_DEBUG_PRINT_RAW interface:
    892    #define ACPI_LV_EVALUATION          0x00080000
    893 
    894 Examples:
    895    Enter evaluation       :  _SB.PCI0._INI (Method)
    896    Exit evaluation        :  _SB.PCI0._INI
    897    Enter evaluation       :  _OSI (Method)
    898    Exit evaluation        :  _OSI
    899    Enter evaluation       :  _SB.PCI0.TEST (Method)
    900    Nested method call     :     _SB.PCI0.NST1
    901    Exit nested method     :     _SB.PCI0.NST1
    902    Exit evaluation        :  _SB.PCI0.TEST
    903 
    904 Added two recently-defined _OSI strings. See 
    905 https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-
    906 osi.
    907    "Windows 2018"
    908    "Windows 2018.2"
    909 
    910 Update for buffer-to-string conversions via the ToHexString ASL operator. 
    911 A "0x" is now prepended to each of the hex values in the output string. 
    912 This provides compatibility with other ACPI implementations. The ACPI 
    913 specification is somewhat vague on this issue.
    914    Example output string after conversion: 
    915 "0x01,0x02,0x03,0x04,0x05,0x06"
    916 
    917 Return a run-time error for TermArg expressions within individual package 
    918 elements. Although this is technically supported by the ASL grammar, 
    919 other ACPI implementations do not support this either. Also, this fixes a 
    920 fault if this type of construct is ever encountered (it never has been).
    921 
    922 
    923 2) iASL Compiler/Disassembler and Tools:
    924 
    925 iASL: Implemented a new compile option (-ww) that will promote individual 
    926 warnings and remarks to errors. This is intended to enhance the firmware 
    927 build process.
    928 
    929 AcpiExec: Implemented a new command-line option (-eo) to support the new 
    930 object evaluation trace mechanism described above.
    931 
    932 Disassembler: Added support to disassemble OEMx tables as AML/ASL tables 
    933 instead of a "unknown table" message.
    934 
    935 AcpiHelp: Improved support for the "special" predefined names such as 
    936 _Lxx, _Exx, _EJx, _T_x, etc. For these, any legal hex value can now be 
    937 used for "xx" and "x".
    938 
    939 ----------------------------------------
    940 31 October 2018. Summary of changes for version 20181031:
    941 
    942 
    943 An Operation Region regression was fixed by properly adding address 
    944 ranges to a global list during initialization. This allows OS to 
    945 accurately check for overlapping regions between native devices (such as 
    946 PCI) and Operation regions as well as checking for region conflicts 
    947 between two Operation Regions.
    948 
    949 Added support for the 2-byte extended opcodes in the code/feature that 
    950 attempts to continue parsing during the table load phase. Skip parsing 
    951 Device declarations (and other extended opcodes) when an error occurs 
    952 during parsing. Previously, only single-byte opcodes were supported.
    953 
    954 Cleanup: Simplified the module-level code support by eliminating a 
    955 useless global variable (AcpiGbl_GroupModuleLeveCode).
    956 
    957 
    958 2) iASL Compiler/Disassembler and Tools:
    959 
    960 iASL/Preprocessor: Fixed a regression where an incorrect use of ACPI_FREE 
    961 could cause a fault in the preprocessor. This was an inadvertent side-
    962 effect from moving more allocations/frees to the local cache/memory 
    963 mechanism.
    964 
    965 iASL: Enhanced error detection by validating that all NameSeg elements 
    966 within a NamePatch actually exist. The previous behavior was spotty at 
    967 best, and such errors could be improperly ignored at compiler time (never 
    968 at runtime, however. There are two new error messages, as shown in the 
    969 examples below:
    970 
    971 dsdt.asl     33:     CreateByteField (TTTT.BXXX, 1, CBF1)
    972 Error    6161 -                              ^ One or more objects within 
    973 the Pathname do not exist (TTTT.BXXX)
    974 
    975 dsdt.asl     34:     CreateByteField (BUF1, UUUU.INT1, BBBB.CBF1)
    976 Error    6160 -        One or more prefix Scopes do not exist ^  
    977 (BBBB.CBF1)
    978 
    979 iASL: Disassembler/table-compiler: Added support for the static data 
    980 table TPM2 revision 3 (an older version of TPM2). The support has been 
    981 added for the compiler and the disassembler.
    982 
    983 Fixed compilation of DOS format data table file on Unix/Linux systems. 
    984 iASL now properly detects line continuations (\) for DOS format data 
    985 table definition language files on when executing on Unix/Linux.
    986 
    987 ----------------------------------------
    988 03 October 2018. Summary of changes for version 20181003:
    989 
    990 
    991 2) iASL Compiler/Disassembler and Tools:
    992 
    993 Fixed a regression introduced in version 20180927 that could cause the 
    994 compiler to fault, especially with NamePaths containing one or more 
    995 carats (^). Such as: ^^_SB_PCI0
    996 
    997 Added a new remark for the Sleep() operator when the sleep time operand 
    998 is larger than one second. This is a very long time for the ASL/BIOS code 
    999 and may not be what was intended by the ASL writer.
   1000 
   1001 ----------------------------------------
   1002 27 September 2018. Summary of changes for version 20180927:
   1003 
   1004 
   1005 1) ACPICA kernel-resident subsystem:
   1006 
   1007 Updated the GPE support to clear the status of all ACPI events when 
   1008 entering any/all sleep states in order to avoid premature wakeups. In 
   1009 theory, this may cause some wakeup events to be missed, but the 
   1010 likelihood of this is small. This change restores the original behavior 
   1011 of the ACPICA code in order to fix a regression seen from the previous 
   1012 "Stop unconditionally clearing ACPI IRQs during suspend/resume" change. 
   1013 This regression could cause some systems to incorrectly wake immediately.
   1014 
   1015 Updated the execution of the _REG methods during initialization and 
   1016 namespace loading to bring the behavior into closer conformance to the 
   1017 ACPI specification and other ACPI implementations:
   1018 
   1019 From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
   1020     "Control methods must assume all operation regions are inaccessible 
   1021 until the _REG(RegionSpace, 1) method is executed"
   1022 
   1023     "The exceptions to this rule are:
   1024 1.  OSPM must guarantee that the following operation regions are always 
   1025 accessible:
   1026     SystemIO operation regions.
   1027     SystemMemory operation regions when accessing memory returned by the 
   1028 System Address Map reporting interfaces."
   1029 
   1030 Since the state of both the SystemIO and SystemMemory address spaces are 
   1031 defined by the specification to never change, this ACPICA change ensures 
   1032 that now _REG is never called on them. This solves some problems seen in 
   1033 the field and provides compatibility with other ACPI implementations. An 
   1034 update to the upcoming new version of the ACPI specification will help 
   1035 clarify this behavior.
   1036 
   1037 Updated the implementation of support for the Generic Serial Bus. For the 
   1038 "bidirectional" protocols, the internal implementation now automatically 
   1039 creates a return data buffer of the maximum size (255). This handles the 
   1040 worst-case for data that is returned from the serial bus handler, and 
   1041 fixes some problems seen in the field. This new buffer is directly 
   1042 returned to the ASL. As such, there is no true "bidirectional" buffer, 
   1043 which matches the ACPI specification. This is the reason for the "double 
   1044 store" seen in the example ASL code in the specification, shown below:
   1045 
   1046 Word Process Call (AttribProcessCall):
   1047     OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
   1048     Field(TOP1, BufferAcc, NoLock, Preserve)
   1049     {
   1050         FLD1, 8, // Virtual register at command value 1.
   1051     }
   1052 
   1053     Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
   1054                              // as BUFF
   1055     CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
   1056 
   1057     Store(0x5416, DATA)               // Save 0x5416 into the data buffer
   1058     Store(Store(BUFF, FLD1), BUFF)    // Invoke a write/read Process Call 
   1059 transaction
   1060                            // This is the "double store". The write to
   1061                            // FLD1 returns a new buffer, which is stored
   1062                            // back into BUFF with the second Store.
   1063 
   1064 
   1065 2) iASL Compiler/Disassembler and Tools:
   1066 
   1067 iASL: Implemented detection of extraneous/redundant uses of the Offset() 
   1068 operator within a Field Unit list. A remark is now issued for these. For 
   1069 example, the first two of the Offset() operators below are extraneous. 
   1070 Because both the compiler and the interpreter track the offsets 
   1071 automatically, these Offsets simply refer to the current offset and are 
   1072 unnecessary. Note, when optimization is enabled, the iASL compiler will 
   1073 in fact remove the redundant Offset operators and will not emit any AML 
   1074 code for them.
   1075 
   1076     OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
   1077     Field (OPR1)
   1078     {
   1079         Offset (0),     // Never needed
   1080         FLD1, 32,
   1081         Offset (4),     // Redundant, offset is already 4 (bytes)
   1082         FLD2, 8,
   1083         Offset (64),    // OK use of Offset.
   1084         FLD3, 16,
   1085     }
   1086 dsdt.asl     14:         Offset (0),
   1087 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
   1088 operator
   1089 
   1090 dsdt.asl     16:         Offset (4),
   1091 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
   1092 operator
   1093 
   1094 ----------------------------------------
   1095 10 August 2018. Summary of changes for version 20180810:
   1096 
   1097 
   1098 1) ACPICA kernel-resident subsystem:
   1099 
   1100 Initial ACPI table loading: Attempt to continue loading ACPI tables 
   1101 regardless of malformed AML. Since migrating table initialization to the 
   1102 new module-level code support, the AML interpreter rejected tables upon 
   1103 any ACPI error encountered during table load. This is a problem because 
   1104 non-serious ACPI errors during table load do not necessarily mean that 
   1105 the entire definition block (DSDT or SSDT) is invalid. This change 
   1106 improves the table loading by ignoring some types of errors that can be 
   1107 generated by incorrect AML. This can range from object type errors, scope 
   1108 errors, and index errors.
   1109 
   1110 Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs 
   1111 during suspend/resume. The status of ACPI events is no longer cleared 
   1112 when entering the ACPI S5 system state (power off) which caused some 
   1113 systems to power up immediately after turning off power in certain 
   1114 situations. This was a functional regression. It was fixed by clearing 
   1115 the status of all ACPI events again when entering S5 (for system-wide 
   1116 suspend or hibernation the clearing of the status of all events is not 
   1117 desirable, as it might cause the kernel to miss wakeup events sometimes). 
   1118 Rafael Wysocki.
   1119 
   1120 
   1121 2) iASL Compiler/Disassembler and Tools:
   1122 
   1123 AcpiExec: Enhanced the -fi option (Namespace initialization file). Field 
   1124 elements listed in the initialization file were previously initialized 
   1125 after the table load and before executing module-level code blocks. 
   1126 Recent changes in the module-level code support means that the table load 
   1127 becomes a large control method execution. If fields are used within 
   1128 module-level code and we are executing with the -fi option, the 
   1129 initialization values were used to initialize the namespace object(s) 
   1130 only after the table was finished loading. This change Provides an early 
   1131 initialization of objects specified in the initialization file so that 
   1132 field unit values are populated during the table load (not after the 
   1133 load).
   1134 
   1135 AcpiExec: Fixed a small memory leak regression that could result in 
   1136 warnings during exit of the utility. These warnings were similar to 
   1137 these:
   1138     0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
   1139     0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
   1140 
   1141 ----------------------------------------
   1142 29 June 2018. Summary of changes for version 20180629:
   1143 
   1144 
   1145 1) iASL Compiler/Disassembler and Tools:
   1146 
   1147 iASL: Fixed a regression related to the use of the ASL External 
   1148 statement. Error checking for the use of the External() statement has 
   1149 been relaxed. Previously, a restriction on the use of External meant that 
   1150 the referenced named object was required to be defined in a different 
   1151 table (an SSDT). Thus it would be an error to declare an object as an 
   1152 external and then define the same named object in the same table. For 
   1153 example:
   1154     DefinitionBlock (...)
   1155     {
   1156         External (DEV1)
   1157         Device (DEV1){...} // This was an error
   1158     }
   1159 However, this behavior has caused regressions in some existing ASL code, 
   1160 because there is code that depends on named objects and externals (with 
   1161 the same name) being declared in the same table. This change will allow 
   1162 the ASL code above to compile without errors or warnings.
   1163 
   1164 iASL: Implemented ASL language extensions for four operators to make some 
   1165 of their arguments optional instead of required:
   1166     1) Field (RegionName, AccessType, LockRule, UpdateRule)
   1167     2) BankField (RegionName, BankName, BankValue,
   1168                 AccessType, LockRule, UpdateRule)
   1169     3) IndexField (IndexName, DataName,
   1170                 AccessType, LockRule, UpdateRule)
   1171 For the Field operators above, the AccessType, LockRule, and UpdateRule 
   1172 are now optional arguments. The default values are:
   1173         AccessType: AnyAcc
   1174         LockRule:   NoLock
   1175         UpdateRule: Preserve
   1176     4) Mutex (MutexName, SyncLevel)
   1177 For this operator, the SyncLevel argument is now optional. This argument 
   1178 is rarely used in any meaningful way by ASL code, and thus it makes sense 
   1179 to make it optional. The default value is:
   1180         SyncLevel:  0
   1181 
   1182 iASL: Attempted use of the ASL Unload() operator now results in the 
   1183 following warning:
   1184     "Unload is not supported by all operating systems"
   1185 This is in fact very true, and the Unload operator may be completely 
   1186 deprecated in the near future.
   1187 
   1188 AcpiExec: Fixed a regression for the -fi option (Namespace initialization 
   1189 file. Recent changes in the ACPICA module-level code support altered the 
   1190 table load/initialization sequence . This means that the table load has 
   1191 become a large method execution of the table itself. If Operation Region 
   1192 Fields are used within any module-level code and the -fi option was 
   1193 specified, the initialization values were populated only after the table 
   1194 had completely finished loading (and thus the module-level code had 
   1195 already been executed). This change moves the initialization of objects 
   1196 listed in the initialization file to before the table is executed as a 
   1197 method. Field unit values are now initialized before the table execution 
   1198 is performed.
   1199 
   1200 ----------------------------------------
   1201 31 May 2018. Summary of changes for version 20180531:
   1202 
   1203 
   1204 1) ACPICA kernel-resident Subsystem:
   1205 
   1206 Implemented additional support to help ensure that a DSDT or SSDT is 
   1207 fully loaded even if errors are incurred during the load. The majority of 
   1208 the problems that are seen is the failure of individual AML operators 
   1209 that occur during execution of any module-level code (MLC) existing in 
   1210 the table. This support adds a mechanism to abort the current ASL 
   1211 statement (AML opcode), emit an error message, and to simply move on to 
   1212 the next opcode -- instead of aborting the entire table load. This is 
   1213 different than the execution of a control method where the entire method 
   1214 is aborted upon any error. The goal is to perform a very "best effort" to 
   1215 load the ACPI tables. The most common MLC errors that have been seen in 
   1216 the field are direct references to unresolved ASL/AML symbols (referenced 
   1217 directly without the use of the CondRefOf operator to validate the 
   1218 symbol). This new ACPICA behavior is now compatible with other ACPI 
   1219 implementations.
   1220 
   1221 Interpreter: The Unload AML operator is no longer supported for the 
   1222 reasons below. An AE_NOT_IMPLEMENTED exception is returned.
   1223 1) A correct implementation on at least some hosts may not be possible.
   1224 2) Other ACPI implementations do not correctly/fully support it.
   1225 3) It requires host device driver support which is not known to exist.
   1226     (To properly support namespace unload out from underneath.)
   1227 4) This AML operator has never been seen in the field.
   1228 
   1229 Parser: Added a debug option to dump AML parse sub-trees as they are 
   1230 being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is 
   1231 ACPI_DB_PARSE_TREES.
   1232 
   1233 Debugger: Reduced the verbosity for errors incurred during table load and 
   1234 module-level code execution.
   1235 
   1236 Completed an investigation into adding a namespace node "owner list" 
   1237 instead of the current "owner ID" associated with namespace nodes. This 
   1238 list would link together all nodes that are owned by an individual 
   1239 control method. The purpose would be to enhance control method execution 
   1240 by speeding up cleanup during method exit (all namespace nodes created by 
   1241 a method are deleted upon method termination.) Currently, the entire 
   1242 namespace must be searched for matching owner IDs if (and only if) the 
   1243 method creates named objects outside of the local scope. However, by far 
   1244 the most common case is that methods create objects locally, not outside 
   1245 the method scope. There is already an ACPICA optimization in place that 
   1246 only searches the entire namespace in the rare case of a method creating 
   1247 objects elsewhere in the namespace. Therefore, it is felt that the 
   1248 overhead of adding an additional pointer to each namespace node to 
   1249 implement the owner list makes this feature unnecessary.
   1250 
   1251 
   1252 2) iASL Compiler/Disassembler and Tools:
   1253 
   1254 iASL, Disassembler, and Template generator: Implemented support for 
   1255 Revision D of the IORT table. Adds a new subtable that is used to specify 
   1256 SMMUv3 PMCGs. rmurphy-arm.
   1257 
   1258 Disassembler: Restored correct table header validation for the "special" 
   1259 ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI 
   1260 table header and must be special-cased. This was a regression that has 
   1261 been present for apparently a long time.
   1262 
   1263 AcpiExec: Reduced verbosity of the local exception handler implemented 
   1264 within acpiexec. This handler is invoked by ACPICA upon any exceptions 
   1265 generated during control method execution. A new option was added: -vh 
   1266 restores the original verbosity level if desired.
   1267 
   1268 AcpiExec: Changed the default base from decimal to hex for the -x option 
   1269 (set debug level). This simplifies the use of this option and matches the 
   1270 behavior of the corresponding iASL -x option.
   1271 
   1272 AcpiExec: Restored a force-exit on multiple control-c (sigint) 
   1273 interrupts. This allows program termination even if other issues cause 
   1274 the control-c to fail.
   1275 
   1276 ASL test suite (ASLTS): Added tests for the recently implemented package 
   1277 element resolution mechanism that allows forward references to named 
   1278 objects from individual package elements (this mechanism provides 
   1279 compatibility with other ACPI implementations.)
   1280 
   1281 
   1282 ----------------------------------------
   1283 8 May 2018. Summary of changes for version 20180508:
   1284 
   1285 
   1286 1) ACPICA kernel-resident subsystem:
   1287 
   1288 Completed the new (recently deployed) package resolution mechanism for 
   1289 the Load and LoadTable ASL/AML operators. This fixes a regression that 
   1290 was introduced in version 20180209 that could result in an 
   1291 AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table 
   1292 (SSDT) that contains package objects.
   1293 
   1294 
   1295 2) iASL Compiler/Disassembler and Tools:
   1296 
   1297 AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than 
   1298 1 MB. This change allows for table offsets within the acpidump file to be 
   1299 up to 8 characters. These changes are backwards compatible with existing 
   1300 acpidump files.
   1301 
   1302 
   1303 ----------------------------------------
   1304 27 April 2018. Summary of changes for version 20180427: 
   1305 
   1306 
   1307 1) ACPICA kernel-resident subsystem:
   1308 
   1309 Debugger: Added support for Package objects in the "Test Objects" 
   1310 command. This command walks the entire namespace and evaluates all named 
   1311 data objects (Integers, Strings, Buffers, and now Packages).
   1312 
   1313 Improved error messages for the namespace root node. Originally, the root 
   1314 was referred to by the confusing string "\___". This has been replaced by 
   1315 "Namespace Root" for clarification.
   1316 
   1317 Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin 
   1318 Ian King <colin.king (a] canonical.com>.
   1319 
   1320 
   1321 2) iASL Compiler/Disassembler and Tools: 
   1322 
   1323 iASL: Implemented support to detect and flag illegal forward references. 
   1324 For compatibility with other ACPI implementations, these references are 
   1325 now illegal at the root level of the DSDT or SSDTs. Forward references 
   1326 have always been illegal within control methods. This change should not 
   1327 affect existing ASL/AML code because of the fact that these references 
   1328 have always been illegal in the other ACPI implementation.
   1329 
   1330 iASL: Added error messages for the case where a table OEM ID and OEM 
   1331 TABLE ID strings are longer than the ACPI-defined length. Previously, 
   1332 these strings were simply silently truncated.
   1333 
   1334 iASL: Enhanced the -tc option (which creates an AML hex file in C, 
   1335 suitable for import into a firmware project):
   1336   1) Create a unique name for the table, to simplify use of multiple 
   1337 SSDTs.
   1338   2) Add a protection #ifdef in the file, similar to a .h header file.
   1339 With assistance from Sami Mujawar, sami.mujawar (a] arm.com and Evan Lloyd, 
   1340 evan.lloyd (a] arm.com
   1341 
   1342 AcpiExec: Added a new option, -df, to disable the local fault handler. 
   1343 This is useful during debugging, where it may be desired to drop into a 
   1344 debugger on a fault.
   1345 
   1346 ----------------------------------------
   1347 13 March 2018. Summary of changes for version 20180313:
   1348 
   1349 
   1350 1) ACPICA kernel-resident subsystem:
   1351 
   1352 Implemented various improvements to the GPE support:
   1353 
   1354 1) Dispatch all active GPEs at initialization time so that no GPEs are 
   1355 lost.
   1356 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled 
   1357 before devices are enumerated.
   1358 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that 
   1359 IRQs are not lost.
   1360 4) Add parallel GPE handling to eliminate the possibility of dispatching 
   1361 the same GPE twice.
   1362 5) Dispatch any pending GPEs after enabling for the first time.
   1363 
   1364 AcpiGetObjectInfo - removed support for the _STA method. This was causing 
   1365 problems on some platforms.
   1366 
   1367 Added a new _OSI string, "Windows 2017.2".
   1368 
   1369 Cleaned up and simplified the module-level code support. These changes 
   1370 are in preparation for the eventual removal of the legacy MLC support 
   1371 (deferred execution), replaced by the new MLC architecture which executes 
   1372 the MLC as a table is loaded (DSDT/SSDTs).
   1373 
   1374 Changed a compile-time option to a runtime option. Changes the option to 
   1375 ignore ACPI table load-time package resolution errors into a runtime 
   1376 option. Used only for platforms that generate many AE_NOT_FOUND errors 
   1377 during boot. AcpiGbl_IgnorePackageResolutionErrors.
   1378 
   1379 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some 
   1380 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid 
   1381 compilation errors from unused variables (seen with some compilers).
   1382 
   1383 
   1384 2) iASL Compiler/Disassembler and Tools:
   1385 
   1386 ASLTS: parallelized execution in order to achieve an (approximately) 2X 
   1387 performance increase.
   1388 
   1389 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves 
   1390 error reporting.
   1391 
   1392 ----------------------------------------
   1393 09 February 2018. Summary of changes for version 20180209:
   1394 
   1395 
   1396 1) ACPICA kernel-resident subsystem:
   1397 
   1398 Completed the final integration of the recent changes to Package Object 
   1399 handling and the module-level AML code support. This allows forward 
   1400 references from individual package elements when the package object is 
   1401 declared from within module-level code blocks. Provides compatibility 
   1402 with other ACPI implementations.
   1403 
   1404 The new architecture for the AML module-level code has been completed and 
   1405 is now the default for the ACPICA code. This new architecture executes 
   1406 the module-level code in-line as the ACPI table is loaded/parsed instead 
   1407 of the previous architecture which deferred this code until after the 
   1408 table was fully loaded. This solves some ASL code ordering issues and 
   1409 provides compatibility with other ACPI implementations. At this time, 
   1410 there is an option to fallback to the earlier architecture, but this 
   1411 support is deprecated and is planned to be completely removed later this 
   1412 year.
   1413 
   1414 Added a compile-time option to ignore AE_NOT_FOUND exceptions during 
   1415 resolution of named reference elements within Package objects. Although 
   1416 this is potentially a serious problem, it can generate a lot of 
   1417 noise/errors on platforms whose firmware carries around a bunch of unused 
   1418 Package objects. To disable these errors, define 
   1419 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All 
   1420 errors are always reported for ACPICA applications such as AcpiExec.
   1421 
   1422 Fixed a regression related to the explicit type-conversion AML operators 
   1423 (ToXXXX). The regression was introduced early in 2017 but was not seen 
   1424 until recently because these operators are not fully supported by other 
   1425 ACPI implementations and are thus rarely used by firmware developers. The 
   1426 operators are defined by the ACPI specification to not implement the 
   1427 "implicit result object conversion". The regression incorrectly 
   1428 introduced this object conversion for the following explicit conversion 
   1429 operators:
   1430     ToInteger
   1431     ToString
   1432     ToBuffer
   1433     ToDecimalString
   1434     ToHexString
   1435     ToBCD
   1436     FromBCD
   1437 
   1438 
   1439 2) iASL Compiler/Disassembler and Tools:
   1440 
   1441 iASL: Fixed a problem with the compiler constant folding feature as 
   1442 related to the ToXXXX explicit conversion operators. These operators do 
   1443 not support the "implicit result object conversion" by definition. Thus, 
   1444 ASL expressions that use these operators cannot be folded to a simple 
   1445 Store operator because Store implements the implicit conversion. This 
   1446 change uses the CopyObject operator for the ToXXXX operator folding 
   1447 instead. CopyObject is defined to not implement implicit result 
   1448 conversions and is thus appropriate for folding the ToXXXX operators.
   1449 
   1450 iASL: Changed the severity of an error condition to a simple warning for 
   1451 the case where a symbol is declared both locally and as an external 
   1452 symbol. This accommodates existing ASL code.
   1453 
   1454 AcpiExec: The -ep option to enable the new architecture for module-level 
   1455 code has been removed. It is replaced by the -dp option which instead has 
   1456 the opposite effect: it disables the new architecture (the default) and 
   1457 enables the legacy architecture. When the legacy code is removed in the 
   1458 future, the -dp option will be removed also.
   1459 
   1460 ----------------------------------------
   1461 05 January 2018. Summary of changes for version 20180105:
   1462 
   1463 
   1464 1) ACPICA kernel-resident subsystem:
   1465 
   1466 Updated all copyrights to 2018. This affects all source code modules.
   1467 
   1468 Fixed a possible build error caused by an unresolved reference to the 
   1469 AcpiUtSafeStrncpy function.
   1470 
   1471 Removed NULL pointer arithmetic in the various pointer manipulation 
   1472 macros. All "(void *) NULL" constructs are converted to "(void *) 0". 
   1473 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
   1474 
   1475 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj 
   1476 Mittal.
   1477 
   1478 
   1479 2) iASL Compiler/Disassembler and Tools:
   1480 
   1481 ASLTS: Updated all copyrights to 2018.
   1482 
   1483 Tools: Updated all signon copyrights to 2018.
   1484 
   1485 AcpiXtract: Fixed a regression related to ACPI table signatures where the 
   1486 signature was truncated to 3 characters (instead of 4).
   1487 
   1488 AcpiExec: Restore the original terminal mode after the use of the -v and 
   1489 -vd options.
   1490 
   1491 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
   1492 
   1493 ----------------------------------------
   1494 14 December 2017. Summary of changes for version 20171214:
   1495 
   1496 
   1497 1) ACPICA kernel-resident subsystem:
   1498 
   1499 Fixed a regression in the external (public) AcpiEvaluateObjectTyped 
   1500 interface where the optional "pathname" argument had inadvertently become 
   1501 a required argument returning an error if omitted (NULL pointer 
   1502 argument).
   1503 
   1504 Fixed two possible memory leaks related to the recently developed "late 
   1505 resolution" of reference objects within ASL Package Object definitions.
   1506 
   1507 Added two recently defined _OSI strings: "Windows 2016" and "Windows 
   1508 2017". Mario Limonciello.
   1509 
   1510 Implemented and deployed a safer version of the C library function 
   1511 strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the 
   1512 creation of unterminated strings as a possible result of a standard 
   1513 strncpy.
   1514 
   1515 Cleaned up and restructured the global variable file (acglobal.h). There 
   1516 are many changes, but no functional changes.
   1517 
   1518 
   1519 2) iASL Compiler/Disassembler and Tools:
   1520 
   1521 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the 
   1522 optional OemData field at the end of the table was incorrectly required 
   1523 for proper compilation. It is now correctly an optional field.
   1524 
   1525 ASLTS: The entire suite was converted from standard ASL to the ASL+ 
   1526 language, using the ASL-to-ASL+ converter which is integrated into the 
   1527 iASL compiler. A binary compare of all output files has verified the 
   1528 correctness of the conversion.
   1529 
   1530 iASL: Fixed the source code build for platforms where "char" is unsigned. 
   1531 This affected the iASL lexer only. Jung-uk Kim.
   1532 
   1533 ----------------------------------------
   1534 10 November 2017. Summary of changes for version 20171110:
   1535 
   1536 
   1537 1) ACPICA kernel-resident subsystem:
   1538 
   1539 This release implements full support for ACPI 6.2A:
   1540     NFIT - Added a new subtable, "Platform Capabilities Structure"
   1541 No other changes to ACPICA were required, since ACPI 6.2A is primarily an 
   1542 errata release of the specification.
   1543 
   1544 Other ACPI table changes:
   1545     IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
   1546     PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy 
   1547 Linton
   1548 
   1549 Utilities: Modified the string/integer conversion functions to use 
   1550 internal 64-bit divide support instead of a native divide. On 32-bit 
   1551 platforms, a 64-bit divide typically requires a library function which 
   1552 may not be present in the build (kernel or otherwise).
   1553 
   1554 Implemented a targeted error message for timeouts returned from the 
   1555 Embedded Controller device driver. This is seen frequently enough to 
   1556 special-case an AE_TIME returned from an EC operation region access:
   1557     "Timeout from EC hardware or EC device driver"
   1558 
   1559 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all 
   1560 runtime error messages have the identical prefix.
   1561 
   1562 
   1563 2) iASL Compiler/Disassembler and Tools:
   1564 
   1565 AcpiXtract: Fixed a problem with table header detection within the 
   1566 acpidump file. Processing a table could be ended early if a 0x40 (@) 
   1567 appears in the original binary table, resulting in the @ symbol appearing 
   1568 in the decoded ASCII field at the end of the acpidump text line. The 
   1569 symbol caused acpixtract to incorrectly think it had reached the end of 
   1570 the current table and the beginning of a new table.
   1571 
   1572 AcpiXtract: Added an option (-f) to ignore some errors during table 
   1573 extraction. This initial implementation ignores non-ASCII and non-
   1574 printable characters found in the acpidump text file.
   1575 
   1576 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics 
   1577 for ASLTS. This feature is used to track memory allocations from 
   1578 different memory caches within the ACPICA code. At the end of an ASLTS 
   1579 run, these memory statistics are recorded and stored in a log file.
   1580 
   1581 Debugger (user-space version): Implemented a simple "Background" command. 
   1582 Creates a new thread to execute a control method in the background, while 
   1583 control returns to the debugger prompt to allow additional commands.
   1584     Syntax: Background <Namepath> [Arguments]
   1585 
   1586 ----------------------------------------
   1587 29 September 2017. Summary of changes for version 20170929:
   1588 
   1589 
   1590 1) ACPICA kernel-resident subsystem:
   1591 
   1592 Redesigned and implemented an improved ASL While() loop timeout 
   1593 mechanism. This mechanism is used to prevent infinite loops in the kernel 
   1594 AML interpreter caused by either non-responsive hardware or incorrect AML 
   1595 code. The new implementation uses AcpiOsGetTimer instead of a simple 
   1596 maximum loop count, and is thus more accurate and constant across 
   1597 different machines. The default timeout is currently 30 seconds, but this 
   1598 may be adjusted later.
   1599 
   1600 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to 
   1601 better reflect the new implementation of the loop timeout mechanism.
   1602 
   1603 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support 
   1604 and to fix an off-by-one error. Jung-uk Kim.
   1605 
   1606 Fixed an EFI build problem by updating the makefiles to for a new file 
   1607 that was added, utstrsuppt.c
   1608 
   1609 
   1610 2) iASL Compiler/Disassembler and Tools:
   1611 
   1612 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This 
   1613 includes support in the table disassembler, compiler, and template 
   1614 generator.
   1615 
   1616 iASL: Added an exception for an illegal type of recursive method 
   1617 invocation. If a method creates named objects, the first recursive call 
   1618 will fail at runtime. This change adds an error detection at compile time 
   1619 to catch the problem up front. Note: Marking such a method as 
   1620 "serialized" will not help with this problem, because the same thread can 
   1621 acquire the method mutex more than once. Example compiler and runtime 
   1622 output:
   1623 
   1624     Method (MTH1)
   1625     {
   1626         Name (INT1, 1)
   1627         MTH1 ()
   1628     }
   1629 
   1630     dsdt.asl     22: MTH1 ()
   1631     Error    6152 -  ^ Illegal recursive call to method
   1632                        that creates named objects (MTH1)
   1633 
   1634 Previous runtime exception:
   1635     ACPI Error: [INT1] Namespace lookup failure,
   1636     AE_ALREADY_EXISTS (20170831/dswload2-465)
   1637 
   1638 iASL: Updated support for External() opcodes to improve namespace 
   1639 management and error detection. These changes are related to issues seen 
   1640 with multiple-segment namespace pathnames within External declarations, 
   1641 such as below:
   1642 
   1643     External(\_SB.PCI0.GFX0, DeviceObj)
   1644     External(\_SB.PCI0.GFX0.ALSI)
   1645 
   1646 iASL: Implemented support for multi-line error/warning messages. This 
   1647 enables more detailed and helpful error messages as below, from the 
   1648 initial deployment for the duplicate names error:
   1649 
   1650     DSDT.iiii   1692:       Device(PEG2) {
   1651     Error    6074 -                  ^ Name already exists in scope 
   1652 (PEG2)
   1653 
   1654         Original name creation/declaration below:
   1655         DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
   1656 
   1657 AcpiXtract: Added additional flexibility to support differing input hex 
   1658 dump formats. Specifically, hex dumps that contain partial disassembly 
   1659 and/or comments within the ACPI table data definition. There exist some 
   1660 dump utilities seen in the field that create this type of hex dump (such 
   1661 as Simics). For example:
   1662 
   1663     DSDT @ 0xdfffd0c0 (10999 bytes)
   1664         Signature DSDT
   1665         Length 10999
   1666         Revision 1
   1667         Checksum 0xf3 (Ok)
   1668         OEM_ID BXPC
   1669         OEM_table_id BXDSDT
   1670         OEM_revision 1
   1671         Creator_id 1280593481
   1672         Creator_revision 537399345
   1673       0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
   1674       ...
   1675       2af0: 5f 4c 30 46 00 a4 01
   1676 
   1677 Test suite: Miscellaneous changes/fixes:
   1678     More cleanup and simplification of makefiles
   1679     Continue compilation of test cases after a compile failure
   1680     Do not perform binary compare unless both files actually exist
   1681 
   1682 iASL: Performed some code/module restructuring. Moved all memory 
   1683 allocation functions to new modules. Two new files, aslallocate.c and 
   1684 aslcache.c
   1685 
   1686 ----------------------------------------
   1687 31 August 2017. Summary of changes for version 20170831:
   1688 
   1689 
   1690 1) ACPICA kernel-resident subsystem:
   1691 
   1692 Implemented internal support for full 64-bit addresses that appear in all 
   1693 Generic Address Structure (GAS) structures. Previously, only the lower 32 
   1694 bits were used. Affects the use of GAS structures in the FADT and other 
   1695 tables, as well as the GAS structures passed to the AcpiRead and 
   1696 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
   1697 
   1698 Added header support for the PDTT ACPI table (Processor Debug Trigger 
   1699 Table). Full support in the iASL Data Table Compiler and disassembler is 
   1700 forthcoming.
   1701 
   1702 
   1703 2) iASL Compiler/Disassembler and Tools:
   1704 
   1705 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
   1706 Properties Topology Table) where a flag bit was specified in the wrong 
   1707 bit position ("Line Size Valid", bit 6).
   1708 
   1709 iASL: Implemented support for Octal integer constants as defined by the 
   1710 ASL language grammar, per the ACPI specification. Any integer constant 
   1711 that starts with a zero is an octal constant. For example,
   1712     Store (037777, Local0) /* Octal constant */
   1713     Store (0x3FFF, Local0) /* Hex equivalent */
   1714     Store (16383,  Local0) /* Decimal equivalent */
   1715 
   1716 iASL: Improved overflow detection for 64-bit string conversions during 
   1717 compilation of integer constants. "Overflow" in this case means a string 
   1718 that represents an integer that is too large to fit into a 64-bit value. 
   1719 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
   1720 the low-order 32 bits with a warning, as previously implemented. Several 
   1721 new exceptions are defined that indicate a 64-bit overflow, as well as 
   1722 the base (radix) that was used during the attempted conversion. Examples:
   1723     Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
   1724     Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
   1725     Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
   1726 
   1727 iASL: Added a warning for the case where a ResourceTemplate is declared 
   1728 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
   1729 this case, the resulting template is created with a single END_TAG 
   1730 descriptor, which is essentially useless.
   1731 
   1732 iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
   1733 include compilation error codes as well.
   1734 
   1735 ----------------------------------------
   1736 28 July 2017. Summary of changes for version 20170728:
   1737 
   1738 
   1739 1) ACPICA kernel-resident subsystem:
   1740 
   1741 Fixed a regression seen with small resource descriptors that could cause 
   1742 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
   1743 
   1744 AML interpreter: Implemented a new feature that allows forward references 
   1745 from individual named references within package objects that are 
   1746 contained within blocks of "module-level code". This provides 
   1747 compatibility with other ACPI implementations and supports existing 
   1748 firmware that depends on this feature. Example:
   1749 
   1750     Name (ABCD, 1)
   1751     If (ABCD)                       /* An If() at module-level */
   1752     {
   1753         Name (PKG1, Package()
   1754         {
   1755             INT1                    /* Forward reference to object INT1 
   1756 */
   1757         })
   1758         Name (INT1, 0x1234)
   1759     }
   1760 
   1761 AML Interpreter: Fixed a problem with the Alias() operator where aliases 
   1762 to some ASL objects were not handled properly. Objects affected are: 
   1763 Mutex, Event, and OperationRegion.
   1764 
   1765 AML Debugger: Enhanced to properly handle AML Alias objects. These 
   1766 objects have one level of indirection which was not fully supported by 
   1767 the debugger.
   1768 
   1769 Table Manager: Added support to detect and ignore duplicate SSDTs within 
   1770 the XSDT/RSDT. This error in the XSDT has been seen in the field.
   1771 
   1772 EFI and EDK2 support:
   1773     Enabled /WX flag for MSVC builds
   1774     Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
   1775     Added local support for 64-bit multiply and shift operations
   1776     Added support to compile acpidump.efi on Windows
   1777     Added OSL function stubs for interfaces not used under EFI
   1778 
   1779 Added additional support for the _DMA predefined name. _DMA returns a 
   1780 buffer containing a resource template. This change add support within the 
   1781 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of 
   1782 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi (a] arm.com>
   1783 
   1784 
   1785 2) iASL Compiler/Disassembler and Tools:
   1786 
   1787 iASL: Fixed a problem where the internal input line buffer(s) could 
   1788 overflow if there are very long lines in the input ASL source code file. 
   1789 Implemented buffer management that automatically increases the size of 
   1790 the buffers as necessary.
   1791 
   1792 iASL: Added an option (-vx) to "expect" particular remarks, warnings and 
   1793 errors. If the specified exception is not raised during compilation, the 
   1794 compiler emits an error. This is intended to support the ASL test suite, 
   1795 but may be useful in other contexts.
   1796 
   1797 iASL: Implemented a new predefined macro, __METHOD__, which returns a 
   1798 string containing the name of the current control method that is being 
   1799 compiled.
   1800 
   1801 iASL: Implemented debugger and table compiler support for the SDEI ACPI 
   1802 table (Software Delegated Exception Interface). James Morse 
   1803 <james.morse (a] arm.com>
   1804 
   1805 Unix/Linux makefiles: Added an option to disable compile optimizations. 
   1806 The disable occurs when the NOOPT flag is set to TRUE. 
   1807 theracermaster (a] gmail.com
   1808 
   1809 Acpidump: Added support for multiple DSDT and FACS tables. This can occur 
   1810 when there are different tables for 32-bit versus 64-bit.
   1811 
   1812 Enhanced error reporting for the ASL test suite (ASLTS) by removing 
   1813 unnecessary/verbose text, and emit the actual line number where an error 
   1814 has occurred. These changes are intended to improve the usefulness of the 
   1815 test suite.
   1816 
   1817 ----------------------------------------
   1818 29 June 2017. Summary of changes for version 20170629:
   1819 
   1820 
   1821 1) ACPICA kernel-resident subsystem:
   1822 
   1823 Tables: Implemented a deferred ACPI table verification. This is useful 
   1824 for operating systems where the tables cannot be verified in the early 
   1825 initialization stage due to early memory mapping limitations on some 
   1826 architectures. Lv Zheng.
   1827 
   1828 Tables: Removed the signature validation for dynamically loaded tables. 
   1829 Provides compatibility with other ACPI implementations. Previously, only 
   1830 SSDT tables were allowed, as per the ACPI specification. Now, any table 
   1831 signature can be used via the Load() operator. Lv Zheng.
   1832 
   1833 Tables: Fixed several mutex issues that could cause errors during table 
   1834 acquisition. Lv Zheng.
   1835 
   1836 Tables: Fixed a problem where an ACPI warning could be generated if a 
   1837 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
   1838 
   1839 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
   1840 AcpiPutTable interfaces. This applies to the "late stage" table loading 
   1841 when the use of AcpiPutTable is no longer required (since the system 
   1842 memory manager is fully running and available). Lv Zheng.
   1843 
   1844 Fixed/Reverted a regression during processing of resource descriptors 
   1845 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
   1846 exception in this case.
   1847 
   1848 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
   1849 I/O Remapping specification. Robin Murphy <robin.murphy (a] arm.com>
   1850 
   1851 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
   1852 or duplicate target is encountered during Alias creation in 
   1853 AcpiExCreateAlias. Alex James <theracermaster (a] gmail.com>
   1854 
   1855 Added an option to use designated initializers for function pointers. 
   1856 Kees Cook <keescook (a] google.com>
   1857 
   1858 
   1859 2) iASL Compiler/Disassembler and Tools:
   1860 
   1861 iASL: Allow compilation of External declarations with target pathnames 
   1862 that refer to existing named objects within the table. Erik Schmauss.
   1863 
   1864 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
   1865 FieldUnit name also is declared via External in the same table. Erik 
   1866 Schmauss.
   1867 
   1868 iASL: Allow existing scope names within pathnames used in External 
   1869 statements. For example:
   1870     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
   1871     Device (ABCD)
   1872 
   1873 iASL: IORT ACPI table: Implemented changes required to decode the new 
   1874 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
   1875 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni (a] cavium.com>
   1876 
   1877 Disassembler: Don't abort disassembly on errors from External() 
   1878 statements. Erik Schmauss.
   1879 
   1880 Disassembler: fixed a possible fault when one of the Create*Field 
   1881 operators references a Resource Template. ACPICA Bugzilla 1396.
   1882 
   1883 iASL: In the source code, resolved some naming inconsistences across the 
   1884 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
   1885 Adds a new file, aslparseop.c
   1886 
   1887 ----------------------------------------
   1888 31 May 2017. Summary of changes for version 20170531:
   1889 
   1890 
   1891 0) ACPI 6.2 support:
   1892 
   1893 The ACPI specification version 6.2 has been released and is available at
   1894 http://uefi.org/specifications
   1895 
   1896 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
   1897 are summarized below.
   1898 
   1899 New ACPI tables (Table Compiler/Disassembler/Templates):
   1900     HMAT (Heterogeneous Memory Attributes Table)
   1901     WSMT (Windows SMM Security Mitigation Table)
   1902     PPTT (Processor Properties Topology Table)
   1903 
   1904 New subtables for existing ACPI tables:
   1905     HEST (New subtable, Arch-deferred machine check)
   1906     SRAT (New subtable, Arch-specific affinity structure)
   1907     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
   1908 
   1909 Simple updates for existing ACPI tables:
   1910     BGRT (two new flag bits)
   1911     HEST (New bit defined for several subtables, GHES_ASSIST)
   1912 
   1913 New Resource Descriptors and Resource macros (Compiler/Disassembler):
   1914     PinConfig()
   1915     PinFunction()
   1916     PinGroup()
   1917     PinGroupConfig()
   1918     PinGroupFunction()
   1919     New type for hardware error notification (section 18.3.2.9)
   1920 
   1921 New predefined names/methods (Compiler/Interpreter):
   1922     _HMA (Heterogeneous Memory Attributes)
   1923     _LSI (Label Storage Information)
   1924     _LSR (Label Storage Read)
   1925     _LSW (Label Storage Write)
   1926 
   1927 ASL grammar/macro changes (Compiler):
   1928     For() ASL macro, implemented with the AML while operator
   1929     Extensions to Concatenate operator
   1930     Support for multiple definition blocks in same ASL file
   1931     Clarification for Buffer operator
   1932     Allow executable AML code underneath all scopes (Devices, etc.)
   1933     Clarification/change for the _OSI return value
   1934     ASL grammar update for reference operators
   1935     Allow a zero-length string for AML filename in DefinitionBlock
   1936 
   1937 Miscellaneous:
   1938     New device object notification value
   1939     Remove a notify value (0x0C) for graceful shutdown
   1940     New UUIDs for processor/cache properties and
   1941         physical package property
   1942     New _HID, ACPI0014 (Wireless Power Calibration Device)
   1943 
   1944 
   1945 1) ACPICA kernel-resident subsystem:
   1946 
   1947 Added support to disable ACPI events on hardware-reduced platforms. 
   1948 Eliminates error messages of the form "Could not enable fixed event". Lv 
   1949 Zheng
   1950 
   1951 Fixed a problem using Device/Thermal objects with the ObjectType and 
   1952 DerefOf ASL operators. This support had not been fully/properly 
   1953 implemented.
   1954 
   1955 Fixed a problem where if a Buffer object containing a resource template 
   1956 was longer than the actual resource template, an error was generated -- 
   1957 even though the AML is legal. This case has been seen in the field.
   1958 
   1959 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
   1960 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
   1961 
   1962 Added header file changes for the TPM2 ACPI table. Update to new version 
   1963 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
   1964 
   1965 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
   1966 These interfaces are intended to be used only in conjunction with the 
   1967 predefined _DLM method (Device Lock Method). "This object appears in a 
   1968 device scope when AML access to the device must be synchronized with the 
   1969 OS environment".
   1970 
   1971 Example Code and Data Size: These are the sizes for the OS-independent 
   1972 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   1973 debug version of the code includes the debug output trace mechanism and 
   1974 has a much larger code and data size.
   1975 
   1976   Current Release:
   1977     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
   1978     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
   1979   Previous Release:
   1980     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
   1981     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
   1982 
   1983 
   1984 2) iASL Compiler/Disassembler and Tools:
   1985 
   1986 iASL: Fixed a problem where an External() declaration could not refer to 
   1987 a Field Unit. Erik Schmauss.
   1988 
   1989 Disassembler: Improved support for the Switch/Case operators. This 
   1990 feature will disassemble AML code back to the original Switch operators 
   1991 when possible, instead of an If..Else sequence. David Box
   1992 
   1993 iASL and disassembler: Improved the handling of multiple extraneous 
   1994 parentheses for both ASL input and disassembled ASL output.
   1995 
   1996 Improved the behavior of the iASL compiler and disassembler to detect 
   1997 improper use of external declarations
   1998 
   1999 Disassembler: Now aborts immediately upon detection of an unknown AML 
   2000 opcode. The AML parser has no real way to recover from this, and can 
   2001 result in the creation of an ill-formed parse tree that causes errors 
   2002 later during the disassembly.
   2003 
   2004 All tools: Fixed a problem where the Unix application OSL did not handle 
   2005 control-c correctly. For example, a control-c could incorrectly wake the 
   2006 debugger.
   2007 
   2008 AcpiExec: Improved the Control-C handling and added a handler for 
   2009 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
   2010 environments.
   2011 
   2012 Reduced the verbosity of the generic unix makefiles. Previously, each 
   2013 compilation displayed the full set of compiler options. This has been 
   2014 eliminated as the options are easily inspected within the makefiles. Each 
   2015 compilation now results in a single line of output.
   2016 
   2017 ----------------------------------------
   2018 03 March 2017. Summary of changes for version 20170303:
   2019 
   2020 
   2021 0) ACPICA licensing:
   2022 
   2023 The licensing information at the start of each source code module has 
   2024 been updated. In addition to the Intel license, the dual GPLv2/BSD 
   2025 license has been added for completeness. Now, a single version of the 
   2026 source code should be suitable for all ACPICA customers. This is the 
   2027 major change for this release since it affects all source code modules.
   2028 
   2029 
   2030 1) ACPICA kernel-resident subsystem: 
   2031 
   2032 Fixed two issues with the common asltypes.h header that could cause 
   2033 problems in some environments: (Kim Jung-uk)
   2034     Removed typedef for YY_BUFFER_STATE ?
   2035        Fixes an error with earlier versions of Flex.
   2036     Removed use of FILE typedef (which is only defined in stdio.h)
   2037 
   2038 
   2039 2) iASL Compiler/Disassembler and Tools: 
   2040 
   2041 Disassembler: fixed a regression introduced in 20170224. A fix for a 
   2042 memory leak related to resource descriptor tags (names) could fault when 
   2043 the disassembler was generated with 64-bit compilers.
   2044 
   2045 The ASLTS test suite has been updated to implement a new testing 
   2046 architecture. During generation of the suite from ASL source, both the 
   2047 ASL and ASL+ compilers are now validated, as well as the disassembler 
   2048 itself (Erik Schmauss). The architecture executes as follows:
   2049 
   2050     For every ASL source module:
   2051         Compile (legacy ASL compilation)
   2052         Disassemble the resulting AML to ASL+ source code
   2053         Compile the new ASL+ module
   2054         Perform a binary compare on the legacy AML and the new ASL+ AML
   2055     The ASLTS suite then executes normally using the AML binaries.
   2056 
   2057 ----------------------------------------
   2058 24 February 2017. Summary of changes for version 20170224:
   2059 
   2060 
   2061 1) ACPICA kernel-resident subsystem:
   2062 
   2063 Interpreter: Fixed two issues with the control method return value auto-
   2064 repair feature, where an attempt to double-delete an internal object 
   2065 could result in an ACPICA warning (for _CID repair and others). No fault 
   2066 occurs, however, because the attempted deletion (actually a release to an 
   2067 internal cache) is detected and ignored via object poisoning.
   2068 
   2069 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
   2070 of control methods. If certain debugger commands are executed during 
   2071 stepping, a mutex acquire/release error could occur. Lv Zheng.
   2072 
   2073 Fixed some issues generating ACPICA with the Intel C compiler by 
   2074 restoring the original behavior and compiler-specific include file in 
   2075 acenv.h. Lv Zheng.
   2076 
   2077 Example Code and Data Size: These are the sizes for the OS-independent 
   2078 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2079 debug version of the code includes the debug output trace mechanism and 
   2080 has a much larger code and data size.
   2081 
   2082   Current Release:
   2083     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
   2084     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
   2085   Previous Release:
   2086     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
   2087     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
   2088 
   2089 
   2090 2) iASL Compiler/Disassembler and Tools:
   2091 
   2092 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
   2093 tool has been designed, implemented, and included in this release. The 
   2094 key feature of this utility is that the original comments within the 
   2095 input ASL file are preserved during the conversion process, and included 
   2096 within the converted ASL+ file -- thus creating a transparent conversion 
   2097 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
   2098 
   2099     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
   2100 converted code
   2101 
   2102 iASL/Disassembler: Improved the detection and correct disassembly of 
   2103 Switch/Case operators. This feature detects sequences of if/elseif/else 
   2104 operators that originated from ASL Switch/Case/Default operators and 
   2105 emits the original operators. David Box.
   2106 
   2107 iASL: Improved the IORT ACPI table support in the following areas. Lv 
   2108 Zheng:
   2109     Clear MappingOffset if the MappingCount is zero.
   2110     Fix the disassembly of the SMMU GSU interrupt offset.
   2111     Update the template file for the IORT table.
   2112 
   2113 Disassembler: Enhanced the detection and disassembly of resource 
   2114 template/descriptor within a Buffer object. An EndTag descriptor is now 
   2115 required to have a zero second byte, since all known ASL compilers emit 
   2116 this. This helps eliminate incorrect decisions when a buffer is 
   2117 disassembled (false positives on resource templates).
   2118 
   2119 ----------------------------------------
   2120 19 January 2017. Summary of changes for version 20170119:
   2121 
   2122 
   2123 1) General ACPICA software:
   2124 
   2125 Entire source code base: Added the 2017 copyright to all source code 
   2126 legal/licensing module headers and utility/tool signons. This includes 
   2127 the standard Linux dual-license header. This affects virtually every file 
   2128 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
   2129 the ACPICA test suite.
   2130 
   2131 
   2132 2) iASL Compiler/Disassembler and Tools:
   2133 
   2134 iASL: Removed/fixed an inadvertent remark when a method argument 
   2135 containing a reference is used as a target operand within the method (and 
   2136 never used as a simple argument), as in the example below. Jeffrey Hugo.
   2137 
   2138     dsdt.asl   1507:    Store(0x1, Arg0)
   2139     Remark   2146 -                ^ Method Argument is never used (Arg0)
   2140 
   2141 All tools: Removed the bit width of the compiler that generated the tool 
   2142 from the common signon for all user space tools. This proved to be 
   2143 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
   2144 from the generic makefiles (Thomas Petazzoni). Example below.
   2145 
   2146     Old:
   2147     ASL+ Optimizing Compiler version 20170119-32
   2148     ASL+ Optimizing Compiler version 20170119-64
   2149 
   2150     New:
   2151     ASL+ Optimizing Compiler version 20170119
   2152 
   2153 ----------------------------------------
   2154 22 December 2016. Summary of changes for version 20161222:
   2155 
   2156 
   2157 1) ACPICA kernel-resident subsystem:
   2158 
   2159 AML Debugger: Implemented a new mechanism to simplify and enhance 
   2160 debugger integration into all environments, including kernel debuggers 
   2161 and user-space utilities, as well as remote debug services. This 
   2162 mechanism essentially consists of new OSL interfaces to support debugger 
   2163 initialization/termination, as well as wait/notify interfaces to perform 
   2164 the debugger handshake with the host. Lv Zheng.
   2165 
   2166     New OSL interfaces:
   2167         AcpiOsInitializeDebugger (void)
   2168         AcpiOsTerminateDebugger (void)
   2169         AcpiOsWaitCommandReady (void)
   2170         AcpiOsNotifyCommandComplete (void)
   2171 
   2172     New OS services layer:
   2173         osgendbg.c -- Example implementation, and used for AcpiExec
   2174 
   2175 Update for Generic Address Space (GAS) support: Although the AccessWidth 
   2176 and/or BitOffset fields of the GAS are not often used, this change now 
   2177 fully supports these fields. This affects the internal support for FADT 
   2178 registers, registers in other ACPI data tables, and the AcpiRead and 
   2179 AcpiWrite public interfaces. Lv Zheng.
   2180 
   2181 Sleep support: In order to simplify integration of ACPI sleep for the 
   2182 various host operating systems, a new OSL interface has been introduced. 
   2183 AcpiOsEnterSleep allows the host to perform any required operations 
   2184 before the final write to the sleep control register(s) is performed by 
   2185 ACPICA. Lv Zheng.
   2186 
   2187     New OSL interface:
   2188         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
   2189 
   2190     Called from these internal interfaces:
   2191         AcpiHwLegacySleep
   2192         AcpiHwExtendedSleep
   2193 
   2194 EFI support: Added a very small EFI/ACPICA example application. Provides 
   2195 a simple demo for EFI integration, as well as assisting with resolution 
   2196 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
   2197 
   2198     source/tools/efihello/efihello.c
   2199 
   2200 Local C library: Implemented several new functions to enhance ACPICA 
   2201 portability, for environments where these clib functions are not 
   2202 available (such as EFI). Lv Zheng:
   2203     putchar
   2204     getchar
   2205     strpbrk
   2206     strtok
   2207     memmove
   2208 
   2209 Fixed a regression where occasionally a valid resource descriptor was 
   2210 incorrectly detected as invalid at runtime, and a 
   2211 AE_AML_NO_RESOURCE_END_TAG was returned.
   2212 
   2213 Fixed a problem with the recently implemented support that enables 
   2214 control method invocations as Target operands to many ASL operators. 
   2215 Warnings of this form: "Needed type [Reference], found [Processor]" were 
   2216 seen at runtime for some method invocations.
   2217 
   2218 Example Code and Data Size: These are the sizes for the OS-independent 
   2219 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2220 debug version of the code includes the debug output trace mechanism and 
   2221 has a much larger code and data size.
   2222 
   2223   Current Release:
   2224     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
   2225     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
   2226   Previous Release:
   2227     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
   2228     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
   2229 
   2230 
   2231 2) iASL Compiler/Disassembler and Tools:
   2232 
   2233 Disassembler: Enhanced output by adding the capability to detect and 
   2234 disassemble ASL Switch/Case statements back to the original ASL source 
   2235 code instead of if/else blocks. David Box.
   2236 
   2237 AcpiHelp: Split a large file into separate files based upon 
   2238 functionality/purpose. New files are:
   2239     ahaml.c
   2240     ahasl.c
   2241 
   2242 ----------------------------------------
   2243 17 November 2016. Summary of changes for version 20161117:
   2244 
   2245 
   2246 1) ACPICA kernel-resident subsystem:
   2247 
   2248 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
   2249 cleanup". This was an attempt to remove all references in the source to 
   2250 the FADT version 2, which never was a legal version number. It was 
   2251 skipped because it was an early version of 64-bit support that was 
   2252 eventually abandoned for the current 64-bit support.
   2253 
   2254 Interpreter: Fixed a problem where runtime implicit conversion was 
   2255 incorrectly disabled for the ASL operators below. This brings the 
   2256 behavior into compliance with the ACPI specification:
   2257     FromBCD
   2258     ToBCD
   2259     ToDecimalString
   2260     ToHexString
   2261     ToInteger
   2262     ToBuffer
   2263 
   2264 Table Manager: Added a new public interface, AcpiPutTable, used to 
   2265 release and free an ACPI table returned by AcpiGetTable and related 
   2266 interfaces. Lv Zheng.
   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: 140.5K Code, 58.5K Data, 198.9K Total
   2275     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
   2276   Previous Release:
   2277     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
   2278     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
   2279 
   2280 
   2281 2) iASL Compiler/Disassembler and Tools:
   2282 
   2283 Disassembler: Fixed a regression for disassembly of Resource Template. 
   2284 Detection of templates in the AML stream missed some types of templates.
   2285 
   2286 iASL: Fixed a problem where an Access Size error was returned for the PCC 
   2287 address space when the AccessSize of the GAS register is greater than a 
   2288 DWORD. Hoan Tran.
   2289 
   2290 iASL: Implemented several grammar changes for the operators below. These 
   2291 changes are slated for the next version of the ACPI specification:
   2292     RefOf        - Disallow method invocation as an operand
   2293     CondRefOf    - Disallow method invocation as an operand
   2294     DerefOf      - Disallow operands that use the result from operators 
   2295 that
   2296                    do not return a reference (Changed TermArg to 
   2297 SuperName).
   2298 
   2299 iASL: Control method invocations are now allowed for Target operands, as 
   2300 per the ACPI specification. Removed error for using a control method 
   2301 invocation as a Target operand.
   2302 
   2303 Disassembler: Improved detection of Resource Templates, Unicode, and 
   2304 Strings within Buffer objects. These subtypes do not contain a specific 
   2305 opcode to indicate the originating ASL code, and they must be detected by 
   2306 other means within the disassembler. 
   2307 
   2308 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
   2309 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
   2310 only after 64-bit to 32-bit truncation. A truncation warning message is 
   2311 still emitted, however.
   2312 
   2313 AcpiXtract: Implemented handling for both types of line terminators (LF 
   2314 or CR/LF) so that it can accept AcpiDump output files from any system. 
   2315 Peter Wu.
   2316 
   2317 AcpiBin: Added two new options for comparing AML files:
   2318     -a: compare and display ALL mismatches
   2319     -o: start compare at this offset into the second file
   2320 
   2321 ----------------------------------------
   2322 30 September 2016. Summary of changes for version 20160930:
   2323 
   2324 
   2325 1) ACPICA kernel-resident subsystem:
   2326 
   2327 Fixed a regression in the internal AcpiTbFindTable function where a non 
   2328 AE_OK exception could inadvertently be returned even if the function did 
   2329 not fail. This problem affects the following operators:
   2330     DataTableRegion
   2331     LoadTable
   2332 
   2333 Fixed a regression in the LoadTable operator where a load to any 
   2334 namespace location other than the root no longer worked properly.
   2335 
   2336 Increased the maximum loop count value that will result in the 
   2337 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
   2338 prevent infinite loops within the AML interpreter and thus the host OS 
   2339 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
   2340 1,048,575).
   2341 
   2342 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
   2343 acpixf.h file. This allows hosts to easily configure the maximum loop 
   2344 count at runtime.
   2345 
   2346 Removed an illegal character in the strtoul64.c file. This character 
   2347 caused errors with some C compilers.
   2348 
   2349 Example Code and Data Size: These are the sizes for the OS-independent 
   2350 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2351 debug version of the code includes the debug output trace mechanism and 
   2352 has a much larger code and data size.
   2353 
   2354   Current Release:
   2355     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
   2356     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
   2357   Previous Release:
   2358     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
   2359     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
   2360 
   2361 
   2362 2) iASL Compiler/Disassembler and Tools:
   2363 
   2364 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
   2365 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
   2366 block could be lost and missing from the disassembled output.
   2367 
   2368 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
   2369 the missing rule caused a parse error when using the Index operator as an 
   2370 operand to ObjectType. This construct now compiles properly. Example:
   2371     ObjectType(PKG1[4]).
   2372 
   2373 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
   2374 option). Previously, unresolved symbols could cause a protection fault. 
   2375 Such symbols are now marked as unresolved in the map file.
   2376 
   2377 iASL: Implemented support to allow control method invocations as an 
   2378 operand to the ASL DeRefOf operator. Example:
   2379     DeRefOf(MTH1(Local0))
   2380 
   2381 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
   2382 possible _PLD buffer now includes examination of both the normal buffer 
   2383 length (16 or 20) as well as the surrounding AML package length.
   2384 
   2385 Disassembler: Fixed a problem with the decoding of complex expressions 
   2386 within the Divide operator for ASL+. For the case where both the quotient 
   2387 and remainder targets are specified, the entire statement cannot be 
   2388 disassembled. Previously, the output incorrectly contained a mix of ASL- 
   2389 and ASL+ operators. This mixed statement causes a syntax error when 
   2390 compiled. Example:
   2391     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
   2392 disassembled to:
   2393     Divide (INT1 + 6, 128, RSLT, QUOT)
   2394 
   2395 iASL/Tools: Added support to process AML and non-AML ACPI tables 
   2396 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
   2397 tables (AML and data tables). For the iASL -e option, allow only AML 
   2398 tables (DSDT/SSDT).
   2399 
   2400 ----------------------------------------
   2401 31 August 2016. Summary of changes for version 20160831:
   2402 
   2403 
   2404 1) ACPICA kernel-resident subsystem:
   2405 
   2406 Improve support for the so-called "module-level code", which is defined 
   2407 to be math, logical and control AML opcodes that appear outside of any 
   2408 control method. This change improves the support by adding more opcodes 
   2409 that can be executed in the manner. Some other issues have been solved, 
   2410 and the ASL grammar changes to support such code under all scope 
   2411 operators (Device, etc.) are complete. Lv Zheng.
   2412 
   2413 UEFI support: these OSL functions have been implemented. This is an 
   2414 additional step toward supporting the AcpiExec utility natively (with 
   2415 full hardware access) under UEFI. Marcelo Ferreira.
   2416     AcpiOsReadPciConfiguration
   2417     AcpiOsWritePciConfiguration
   2418 
   2419 Fixed a possible mutex error during control method auto-serialization. Lv 
   2420 Zheng. 
   2421 
   2422 Updated support for the Generic Address Structure by fully implementing 
   2423 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
   2424 Zheng.
   2425 
   2426 Updated the return value for the internal _OSI method. Instead of 
   2427 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
   2428 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
   2429 implementations, and will be reflected and clarified in the next version 
   2430 of the ACPI specification.
   2431 
   2432 Implemented two new table events that can be passed to an ACPICA table 
   2433 handler. These events are used to indicate a table installation or 
   2434 uninstallation. These events are used in addition to existed table load 
   2435 and unload events. Lv Zheng.
   2436 
   2437 Implemented a cleanup for all internal string-to-integer conversions. 
   2438 Consolidate multiple versions of this functionality and limit possible 
   2439 bases to either 10 or 16 to simplify the code. Adds a new file, 
   2440 utstrtoul64.
   2441 
   2442 Cleanup the inclusion order of the various compiler-specific headers. 
   2443 This simplifies build configuration management. The compiler-specific 
   2444 headers are now split out from the host-specific headers. Lv Zheng.
   2445 
   2446 Example Code and Data Size: These are the sizes for the OS-independent 
   2447 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2448 debug version of the code includes the debug output trace mechanism and 
   2449 has a much larger code and data size.
   2450 
   2451   Current Release:
   2452     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
   2453     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
   2454 
   2455 
   2456 2) iASL Compiler/Disassembler and Tools:
   2457 
   2458 iASL/AcpiExec: Added a command line option to display the build date/time 
   2459 of the tool (-vd). This can be useful to verify that the correct version 
   2460 of the tools are being used.
   2461 
   2462 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
   2463 all predefined control methods and names within the current namespace. 
   2464 This can be useful for debugging problems with ACPI tables and the ACPI 
   2465 namespace.
   2466 
   2467 ----------------------------------------
   2468 29 July 2016. Summary of changes for version 20160729:
   2469 
   2470 
   2471 1) ACPICA kernel-resident subsystem:
   2472 
   2473 Implemented basic UEFI support for the various ACPICA tools. This 
   2474 includes:
   2475 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
   2476 2) Support to obtain the ACPI tables on UEFI.
   2477 3) Local implementation of required C library functions not available on 
   2478 UEFI.
   2479 4) A front-end (main) function for the tools for UEFI-related 
   2480 initialization.
   2481 
   2482 The initial deployment of this support is the AcpiDump utility executing 
   2483 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
   2484 Current environments supported are Linux/Unix. MSVC generation is not 
   2485 supported at this time. See the generate/efi/README file for build 
   2486 instructions. Lv Zheng.
   2487 
   2488 Future plans include porting the AcpiExec utility to execute natively on 
   2489 the platform with I/O and memory access. This will allow viewing/dump of 
   2490 the platform namespace and native execution of ACPI control methods that 
   2491 access the actual hardware. To fully implement this support, the OSL 
   2492 functions below must be implemented with UEFI interfaces. Any community 
   2493 help in the implementation of these functions would be appreciated:
   2494     AcpiOsReadPort
   2495     AcpiOsWritePort
   2496     AcpiOsReadMemory
   2497     AcpiOsWriteMemory
   2498     AcpiOsReadPciConfiguration
   2499     AcpiOsWritePciConfiguration
   2500 
   2501 Restructured and standardized the C library configuration for ACPICA, 
   2502 resulting in the various configuration options below. This includes a 
   2503 global restructuring of the compiler-dependent and platform-dependent 
   2504 include files. These changes may affect the existing platform-dependent 
   2505 configuration files on some hosts. Lv Zheng. 
   2506 
   2507 The current C library configuration options appear below. For any issues, 
   2508 it may be helpful to examine the existing compiler-dependent and 
   2509 platform-dependent files as examples. Lv Zheng. 
   2510 
   2511 1) Linux kernel:
   2512     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
   2513 library.
   2514     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
   2515 2) Unix/Windows/BSD applications:
   2516     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
   2517 library.
   2518     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
   2519 3) UEFI applications:
   2520     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
   2521 library.
   2522     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
   2523 4) UEFI applications (EDK2/StdLib):
   2524     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
   2525     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
   2526 
   2527 
   2528 AML interpreter: "module-level code" support. Allows for execution of so-
   2529 called "executable" AML code (math/logical operations, etc.) outside of 
   2530 control methods not just at the module level (top level) but also within 
   2531 any scope declared outside of a control method - Scope{}, Device{}, 
   2532 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
   2533 
   2534 Simplified the configuration of the "maximum AML loops" global option by 
   2535 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
   2536 modified at runtime.
   2537 
   2538 
   2539 Example Code and Data Size: These are the sizes for the OS-independent 
   2540 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2541 debug version of the code includes the debug output trace mechanism and 
   2542 has a much larger code and data size.
   2543 
   2544   Current Release:
   2545     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
   2546     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
   2547 
   2548 
   2549 2) iASL Compiler/Disassembler and Tools:
   2550 
   2551 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
   2552 Includes disassembler, data table compiler, and header support.
   2553 
   2554 iASL Expand "module-level code" support. Allows for 
   2555 compilation/disassembly of so-called "executable" AML code (math/logical 
   2556 operations, etc.) outside of control methods not just at the module level 
   2557 (top level) but also within any scope declared outside of a control 
   2558 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
   2559 ThermalZone{}.
   2560 
   2561 AcpiDump: Added support for dumping all SSDTs on newer versions of 
   2562 Windows. These tables are now easily available -- SSDTs are not available 
   2563 through the registry on older versions.
   2564 
   2565 ----------------------------------------
   2566 27 May 2016. Summary of changes for version 20160527:
   2567 
   2568 
   2569 1) ACPICA kernel-resident subsystem:
   2570 
   2571 Temporarily reverted the new arbitrary bit length/alignment support in 
   2572 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
   2573 a number of regressions with the new code that need to be fully resolved 
   2574 and tested before this support can be finally integrated into ACPICA. 
   2575 Apologies for any inconveniences these issues may have caused.
   2576 
   2577 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
   2578 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
   2579 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
   2580 
   2581 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
   2582 option. Adds a new return macro, return_STR. Junk-uk Kim.
   2583 
   2584 Example Code and Data Size: These are the sizes for the OS-independent 
   2585 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2586 debug version of the code includes the debug output trace mechanism and 
   2587 has a much larger code and data size.
   2588 
   2589   Current Release:
   2590     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
   2591     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
   2592   Previous Release:
   2593     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
   2594     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
   2595 
   2596 ----------------------------------------
   2597 22 April 2016. Summary of changes for version 20160422:
   2598 
   2599 1) ACPICA kernel-resident subsystem:
   2600 
   2601 Fixed a regression in the GAS (generic address structure) arbitrary bit 
   2602 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
   2603 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
   2604 
   2605 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
   2606 was added to each of these macros, and the original name has been 
   2607 deprecated. The AML disassembler will always disassemble to the new 
   2608 names. Support for the new macros was added to iASL, disassembler, 
   2609 resource manager, and the acpihelp utility. ACPICA BZ 1274.
   2610 
   2611     I2cSerialBus  -> I2cSerialBusV2
   2612     SpiSerialBus  -> SpiSerialBusV2
   2613     UartSerialBus -> UartSerialBusV2
   2614 
   2615 ACPI 6.0: Added support for a new integer field that was appended to the 
   2616 package object returned by the _BIX method. This adds iASL compile-time 
   2617 and AML runtime error checking. ACPICA BZ 1273.
   2618 
   2619 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
   2620 Subspace Type2" (Headers, Disassembler, and data table compiler).
   2621 
   2622 Example Code and Data Size: These are the sizes for the OS-independent 
   2623 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2624 debug version of the code includes the debug output trace mechanism and 
   2625 has a much larger code and data size.
   2626 
   2627   Current Release:
   2628     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
   2629     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
   2630   Previous Release:
   2631     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
   2632     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
   2633 
   2634 
   2635 2) iASL Compiler/Disassembler and Tools:
   2636 
   2637 iASL: Implemented an ASL grammar extension to allow/enable executable 
   2638 "module-level code" to be created and executed under the various 
   2639 operators that create new scopes. This type of AML code is already 
   2640 supported in all known AML interpreters, and the grammar change will 
   2641 appear in the next version of the ACPI specification. Simplifies the 
   2642 conditional runtime creation of named objects under these object types: 
   2643 
   2644     Device
   2645     PowerResource
   2646     Processor
   2647     Scope
   2648     ThermalZone
   2649 
   2650 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
   2651 ease-of-use to the ASL language. The syntax is similar to the 
   2652 corresponding C operator, and is implemented with the existing AML While 
   2653 opcode -- thus requiring no changes to existing AML interpreters.
   2654 
   2655     For (Initialize, Predicate, Update) {TermList}
   2656 
   2657 Grammar:
   2658     ForTerm :=
   2659         For (
   2660             Initializer    // Nothing | TermArg => ComputationalData
   2661             Predicate      // Nothing | TermArg => ComputationalData
   2662             Update         // Nothing | TermArg => ComputationalData
   2663         ) {TermList}
   2664 
   2665 
   2666 iASL: The _HID/_ADR detection and validation has been enhanced to search 
   2667 under conditionals in order to allow these objects to be conditionally 
   2668 created at runtime.
   2669 
   2670 iASL: Fixed several issues with the constant folding feature. The 
   2671 improvement allows better detection and resolution of statements that can 
   2672 be folded at compile time. ACPICA BZ 1266. 
   2673 
   2674 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
   2675 conversion to the ASL ElseIf operator where incorrect ASL code could be 
   2676 generated.
   2677 
   2678 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
   2679 sometimes an extra (and extraneous) set of parentheses were emitted for 
   2680 some combinations of operators. Although this did not cause any problems 
   2681 with recompilation of the disassembled code, it made the code more 
   2682 difficult to read. David Box. ACPICA BZ 1231.
   2683 
   2684 iASL: Changed to ignore the unreferenced detection for predefined names 
   2685 of resource descriptor elements, when the resource descriptor is 
   2686 created/defined within a control method.
   2687 
   2688 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
   2689 objects.
   2690 
   2691 ----------------------------------------
   2692 18 March 2016. Summary of changes for version 20160318:
   2693 
   2694 1) ACPICA kernel-resident subsystem:
   2695 
   2696 Added support for arbitrary bit lengths and bit offsets for registers 
   2697 defined by the Generic Address Structure. Previously, only aligned bit 
   2698 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
   2699 but recently some machines have been seen that require arbitrary bit-
   2700 level support. ACPICA BZ 1240. Lv Zheng.
   2701 
   2702 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
   2703 before any _REG methods are evaluated. Lv Zheng.
   2704 
   2705 Implemented several changes related to ACPI table support 
   2706 (Headers/Disassembler/TableCompiler):
   2707 NFIT: For ACPI 6.1, updated to add some additional new fields and 
   2708 constants.
   2709 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
   2710 6).
   2711 DMAR: Added new constants per the 10/2014 DMAR spec.
   2712 IORT: Added new subtable per the 10/2015 IORT spec.
   2713 HEST: For ACPI 6.1, added new constants and new subtable.
   2714 DBG2: Added new constants per the 12/2015 DBG2 spec.
   2715 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
   2716 ACPICA BZ 1249.
   2717 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
   2718 
   2719 Updated header support for the DMAR table to match the current version of 
   2720 the related spec.
   2721 
   2722 Added extensions to the ASL Concatenate operator to allow any ACPI object 
   2723 to be passed as an operand. Any object other than Integer/String/Buffer 
   2724 simply returns a string containing the object type. This extends the 
   2725 usefulness of the Printf macros. Previously, Concatenate would abort the 
   2726 control method if a non-data object was encountered.
   2727 
   2728 ACPICA source code: Deployed the C "const" keyword across the source code 
   2729 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
   2730 
   2731 Example Code and Data Size: These are the sizes for the OS-independent 
   2732 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2733 debug version of the code includes the debug output trace mechanism and 
   2734 has a much larger code and data size.
   2735 
   2736   Current Release:
   2737     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
   2738     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
   2739   Previous Release:
   2740     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
   2741     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
   2742 
   2743 
   2744 2) iASL Compiler/Disassembler and Tools:
   2745 
   2746 iASL/Disassembler: Improved the heuristic used to determine the number of 
   2747 arguments for an externally defined control method (a method in another 
   2748 table). Although this is an improvement, there is no deterministic way to 
   2749 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
   2750 will completely solve this problem as it is deployed (automatically) in 
   2751 newer BIOS code.
   2752 
   2753 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
   2754 statements that could cause errors when the disassembled file is 
   2755 compiled. ACPICA BZ 1243. David Box.
   2756 
   2757 iASL: Fixed a regression caused by the merger of the two versions of the 
   2758 local strtoul64. Because of a dependency on a global variable, strtoul64 
   2759 could return an error for integers greater than a 32-bit value. ACPICA BZ 
   2760 1260.
   2761 
   2762 iASL: Fixed a regression where a fault could occur for an ASL Return 
   2763 statement if it invokes a control method that is not resolved. ACPICA BZ 
   2764 1264.
   2765 
   2766 AcpiXtract: Improved input file validation: detection of binary files and 
   2767 non-acpidump text files.
   2768 
   2769 ----------------------------------------
   2770 12 February 2016. Summary of changes for version 20160212:
   2771 
   2772 1) ACPICA kernel-resident subsystem:
   2773 
   2774 Implemented full support for the ACPI 6.1 specification (released in 
   2775 January). This version of the specification is available at:  
   2776 http://www.uefi.org/specifications
   2777 
   2778 Only a relatively small number of changes were required in ACPICA to 
   2779 support ACPI 6.1, in these areas:
   2780 - New predefined names
   2781 - New _HID values
   2782 - A new subtable for HEST
   2783 - A few other header changes for new values
   2784 
   2785 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
   2786 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
   2787 
   2788 Reverted a change made in version 20151218 which enabled method 
   2789 invocations to be targets of various ASL operators (SuperName and Target 
   2790 grammar elements). While the new behavior is supported by the ACPI 
   2791 specification, other AML interpreters do not support this behavior and 
   2792 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
   2793 this support. Therefore, the change was reverted to the original ACPICA 
   2794 behavior.
   2795 
   2796 ACPICA now supports the GCC 6 compiler.
   2797 
   2798 Current Release: (Note: build changes increased sizes)
   2799     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
   2800     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
   2801 Previous Release:
   2802     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
   2803     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
   2804 
   2805 
   2806 2) iASL Compiler/Disassembler and Tools:
   2807 
   2808 Completed full support for the ACPI 6.0 External() AML opcode. The 
   2809 compiler emits an external AML opcode for each ASL External statement. 
   2810 This opcode is used by the disassembler to assist with the disassembly of 
   2811 external control methods by specifying the required number of arguments 
   2812 for the method. AML interpreters do not use this opcode. To ensure that 
   2813 interpreters do not even see the opcode, a block of one or more external 
   2814 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
   2815 commonly deployed in BIOS code, the ability of disassemblers to correctly 
   2816 disassemble AML code will be greatly improved. David Box.
   2817 
   2818 iASL: Implemented support for an optional cross-reference output file. 
   2819 The -lx option will create a the cross-reference file with the suffix 
   2820 "xrf". Three different types of cross-reference are created in this file:
   2821 - List of object references made from within each control method
   2822 - Invocation (caller) list for each user-defined control method
   2823 - List of references to each non-method object in the namespace
   2824 
   2825 iASL: Method invocations as ASL Target operands are now disallowed and 
   2826 flagged as errors in preparation for ACPI 6.2 (see the description of the 
   2827 problem above).
   2828 
   2829 ----------------------------------------
   2830 8 January 2016. Summary of changes for version 20160108:
   2831 
   2832 1) ACPICA kernel-resident subsystem:
   2833 
   2834 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
   2835 copyright to all source code module headers and utility/tool signons. 
   2836 This includes the standard Linux dual-license header. This affects 
   2837 virtually every file in the ACPICA core subsystem, iASL compiler, all 
   2838 ACPICA utilities, and the ACPICA test suite.
   2839 
   2840 Fixed a regression introduced in version 20151218 concerning the 
   2841 execution of so-called module-level ASL/AML code. Namespace objects 
   2842 created under a module-level If() construct were not properly/fully 
   2843 entered into the namespace and could cause an interpreter fault when 
   2844 accessed.
   2845 
   2846 Example Code and Data Size: These are the sizes for the OS-independent 
   2847 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2848 debug version of the code includes the debug output trace mechanism and 
   2849 has a much larger code and data size.
   2850 
   2851 Current Release:
   2852     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
   2853     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
   2854   Previous Release:
   2855     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
   2856     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
   2857 
   2858 
   2859 2) iASL Compiler/Disassembler and Tools:
   2860 
   2861 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
   2862 descriptors. The _PIN field name was incorrectly defined to be an array 
   2863 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
   2864 would cause incorrect bit width warnings when using Word (16-bit) fields 
   2865 to access the descriptors.
   2866 
   2867 
   2868 ----------------------------------------
   2869 18 December 2015. Summary of changes for version 20151218:
   2870 
   2871 1) ACPICA kernel-resident subsystem:
   2872 
   2873 Implemented per-AML-table execution of "module-level code" as individual 
   2874 ACPI tables are loaded into the namespace during ACPICA initialization. 
   2875 In other words, any module-level code within an AML table is executed 
   2876 immediately after the table is loaded, instead of batched and executed 
   2877 after all of the tables have been loaded. This provides compatibility 
   2878 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
   2879 David Box.
   2880 
   2881 To fully support the feature above, the default operation region handlers 
   2882 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
   2883 installed before any ACPI tables are loaded. This enables module-level 
   2884 code to access these address spaces during the table load and module-
   2885 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
   2886 Box.
   2887 
   2888 Implemented several changes to the internal _REG support in conjunction 
   2889 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
   2890 utilities for the changes above. Although these tools were changed, host 
   2891 operating systems that simply use the default handlers for SystemMemory, 
   2892 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
   2893 
   2894 For example, in the code below, DEV1 is conditionally added to the 
   2895 namespace by the DSDT via module-level code that accesses an operation 
   2896 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
   2897 created immediately after the DSDT is loaded in order for the SSDT to 
   2898 successfully reference DEV1. Previously, this code would cause an 
   2899 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
   2900 fully supported by ACPICA.
   2901 
   2902     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
   2903     {
   2904         OperationRegion (OPR1, SystemMemory, 0x400, 32)
   2905         Field (OPR1, AnyAcc, NoLock, Preserve)
   2906         {
   2907             FLD1, 1
   2908         }
   2909         If (FLD1)
   2910         {
   2911             Device (\DEV1)
   2912             {
   2913             }
   2914         }
   2915     }
   2916     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
   2917     {
   2918         External (\DEV1, DeviceObj)
   2919         Scope (\DEV1)
   2920         {
   2921         }
   2922     }
   2923 
   2924 Fixed an AML interpreter problem where control method invocations were 
   2925 not handled correctly when the invocation was itself a SuperName argument 
   2926 to another ASL operator. In these cases, the method was not invoked. 
   2927 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
   2928 argument:
   2929     Store
   2930     Acquire, Wait
   2931     CondRefOf, RefOf
   2932     Decrement, Increment
   2933     Load, Unload
   2934     Notify
   2935     Signal, Release, Reset
   2936     SizeOf
   2937 
   2938 Implemented automatic String-to-ObjectReference conversion support for 
   2939 packages returned by predefined names (such as _DEP). A common BIOS error 
   2940 is to add double quotes around an ObjectReference namepath, which turns 
   2941 the reference into an unexpected string object. This support detects the 
   2942 problem and corrects it before the package is returned to the caller that 
   2943 invoked the method. Lv Zheng.
   2944 
   2945 Implemented extensions to the Concatenate operator. Concatenate now 
   2946 accepts any type of object, it is not restricted to simply 
   2947 Integer/String/Buffer. For objects other than these 3 basic data types, 
   2948 the argument is treated as a string containing the name of the object 
   2949 type. This expands the utility of Concatenate and the Printf/Fprintf 
   2950 macros. ACPICA BZ 1222.
   2951 
   2952 Cleaned up the output of the ASL Debug object. The timer() value is now 
   2953 optional and no longer emitted by default. Also, the basic data types of 
   2954 Integer/String/Buffer are simply emitted as their values, without a data 
   2955 type string -- since the data type is obvious from the output. ACPICA BZ 
   2956 1221.
   2957 
   2958 Example Code and Data Size: These are the sizes for the OS-independent 
   2959 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2960 debug version of the code includes the debug output trace mechanism and 
   2961 has a much larger code and data size.
   2962 
   2963   Current Release:
   2964     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
   2965     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
   2966   Previous Release:
   2967     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
   2968     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
   2969 
   2970 
   2971 2) iASL Compiler/Disassembler and Tools:
   2972 
   2973 iASL: Fixed some issues with the ASL Include() operator. This operator 
   2974 was incorrectly defined in the iASL parser rules, causing a new scope to 
   2975 be opened for the code within the include file. This could lead to 
   2976 several issues, including allowing ASL code that is technically illegal 
   2977 and not supported by AML interpreters. Note, this does not affect the 
   2978 related #include preprocessor operator. ACPICA BZ 1212.
   2979 
   2980 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
   2981 operator is essentially an ASL macro since there is no AML opcode 
   2982 associated with it. The code emitted by the iASL compiler for ElseIf is 
   2983 an Else opcode followed immediately by an If opcode. The disassembler 
   2984 will now emit an ElseIf if it finds an Else immediately followed by an 
   2985 If. This simplifies the decoded ASL, especially for deeply nested 
   2986 If..Else and large Switch constructs. Thus, the disassembled code more 
   2987 closely follows the original source ASL. ACPICA BZ 1211. Example:
   2988 
   2989     Old disassembly:
   2990         Else
   2991         {
   2992             If (Arg0 == 0x02)
   2993             {
   2994                 Local0 = 0x05
   2995             }
   2996         }
   2997 
   2998     New disassembly:
   2999         ElseIf (Arg0 == 0x02)
   3000         {
   3001             Local0 = 0x05
   3002         }
   3003 
   3004 AcpiExec: Added support for the new module level code behavior and the 
   3005 early region installation. This required a small change to the 
   3006 initialization, since AcpiExec must install its own operation region 
   3007 handlers.
   3008 
   3009 AcpiExec: Added support to make the debug object timer optional. Default 
   3010 is timer disabled. This cleans up the debug object output -- the timer 
   3011 data is rarely used.
   3012 
   3013 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
   3014 appear on the command line. This can be important when there are 
   3015 interdependencies/references between the tables.
   3016 
   3017 iASL/Templates. Add support to generate template files with multiple 
   3018 SSDTs within a single output file. Also added ommand line support to 
   3019 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
   3020 1223, 1225.
   3021 
   3022 
   3023 ----------------------------------------
   3024 24 November 2015. Summary of changes for version 20151124:
   3025 
   3026 1) ACPICA kernel-resident subsystem:
   3027 
   3028 Fixed a possible regression for a previous update to FADT handling. The 
   3029 FADT no longer has a fixed table ID, causing some issues with code that 
   3030 was hardwired to a specific ID. Lv Zheng.
   3031 
   3032 Fixed a problem where the method auto-serialization could interfere with 
   3033 the current SyncLevel. This change makes the auto-serialization support 
   3034 transparent to the SyncLevel support and management.
   3035 
   3036 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
   3037 interface is intended for early access to the namespace during the 
   3038 initial namespace device discovery walk. The _SUB method has been seen to 
   3039 access operation regions in some cases, causing errors because the 
   3040 operation regions are not fully initialized.
   3041 
   3042 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
   3043 that can cause faults. Lv Zheng.
   3044 
   3045 AML Debugger: Add thread ID support so that single-step mode only applies 
   3046 to the AML Debugger thread. This prevents runtime errors within some 
   3047 kernels. Lv Zheng. 
   3048 
   3049 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
   3050 methods that are invoked by this interface are optional, removed warnings 
   3051 emitted for the case where one or more of these methods do not exist. 
   3052 ACPICA BZ 1208, original change by Prarit Bhargava.
   3053 
   3054 Made a major pass through the entire ACPICA source code base to 
   3055 standardize formatting that has diverged a bit over time. There are no 
   3056 functional changes, but this will of course cause quite a few code 
   3057 differences from the previous ACPICA release.
   3058 
   3059 Example Code and Data Size: These are the sizes for the OS-independent 
   3060 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3061 debug version of the code includes the debug output trace mechanism and 
   3062 has a much larger code and data size.
   3063 
   3064   Current Release:
   3065     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
   3066     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
   3067   Previous Release:
   3068     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   3069     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
   3070 
   3071 
   3072 2) iASL Compiler/Disassembler and Tools:
   3073 
   3074 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
   3075 definition blocks within a single ASL file and the resulting AML file. 
   3076 Support for this type of file was also added to the various tools that 
   3077 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
   3078 example code below shows two definition blocks within the same file:
   3079 
   3080     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
   3081 0x12345678)
   3082     {
   3083     }
   3084     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
   3085     {
   3086     }
   3087 
   3088 iASL: Enhanced typechecking for the Name() operator. All expressions for 
   3089 the value of the named object must be reduced/folded to a single constant 
   3090 at compile time, as per the ACPI specification (the AML definition of 
   3091 Name()).
   3092 
   3093 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
   3094 and assembly headers). Now all emitted code correctly begins in column 1.
   3095 
   3096 iASL: Added an error message for an attempt to open a Scope() on an 
   3097 object defined in an SSDT. The DSDT is always loaded into the namespace 
   3098 first, so any attempt to open a Scope on an SSDT object will fail at 
   3099 runtime.
   3100 
   3101 
   3102 ----------------------------------------
   3103 30 September 2015. Summary of changes for version 20150930:
   3104 
   3105 1) ACPICA kernel-resident subsystem:
   3106 
   3107 Debugger: Implemented several changes and bug fixes to assist support for 
   3108 the in-kernel version of the AML debugger. Lv Zheng.
   3109 - Fix the "predefined" command for in-kernel debugger.
   3110 - Do not enter debug command loop for the help and version commands.
   3111 - Disallow "execute" command during execution/single-step of a method.
   3112 
   3113 Interpreter: Updated runtime typechecking for all operators that have 
   3114 target operands. The operand is resolved and validated that it is legal. 
   3115 For example, the target cannot be a non-data object such as a Device, 
   3116 Mutex, ThermalZone, etc., as per the ACPI specification.
   3117 
   3118 Debugger: Fixed the double-mutex user I/O handshake to work when local 
   3119 deadlock detection is enabled.
   3120 
   3121 Debugger: limited display of method locals and arguments (LocalX and 
   3122 ArgX) to only those that have actually been initialized. This prevents 
   3123 lines of extraneous output.
   3124 
   3125 Updated the definition of the NFIT table to correct the bit polarity of 
   3126 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
   3127 
   3128 Example Code and Data Size: These are the sizes for the OS-independent 
   3129 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3130 debug version of the code includes the debug output trace mechanism and 
   3131 has a much larger code and data size.
   3132 
   3133   Current Release:
   3134     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   3135     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
   3136   Previous Release:
   3137     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
   3138     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
   3139 
   3140 
   3141 2) iASL Compiler/Disassembler and Tools:
   3142 
   3143 iASL: Improved the compile-time typechecking for operands of many of the 
   3144 ASL operators:
   3145 
   3146 -- Added an option to disable compiler operand/operator typechecking (-
   3147 ot).
   3148 
   3149 -- For the following operators, the TermArg operands are now validated 
   3150 when possible to be Integer data objects: BankField, OperationRegion, 
   3151 DataTableRegion, Buffer, and Package.
   3152 
   3153 -- Store (Source, Target): Both the source and target operands are 
   3154 resolved and checked that the operands are both legal. For example, 
   3155 neither operand can be a non-data object such as a Device, Mutex, 
   3156 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
   3157 operator can be used to store an object to any type of target object.
   3158 
   3159 -- Store (Source, Target): If the source is a Package object, the target 
   3160 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
   3161 is a Package, the source must also be a Package.
   3162 
   3163 -- Store (Source, Target): A warning is issued if the source and target 
   3164 resolve to the identical named object.
   3165 
   3166 -- Store (Source, <method invocation>): An error is generated for the 
   3167 target method invocation, as this construct is not supported by the AML 
   3168 interpreter.
   3169 
   3170 -- For all ASL math and logic operators, the target operand must be a 
   3171 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
   3172 includes the function return value also.
   3173 
   3174 -- External declarations are also included in the typechecking where 
   3175 possible. External objects defined using the UnknownObj keyword cannot be 
   3176 typechecked, however.
   3177 
   3178 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
   3179 operator:
   3180 - Legacy code: Index(PKG1, 3)
   3181 - New ASL+ code: PKG1[3]
   3182 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
   3183 supported.
   3184 
   3185 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
   3186 spaces were inadvertently appended to the filename, causing file access 
   3187 and deletion problems on some systems.
   3188 
   3189 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
   3190 possible compiler output files when building the test suite -- thus 
   3191 exercising these features of the compiler. These files are automatically 
   3192 deleted when the test suite exits.
   3193 
   3194 
   3195 ----------------------------------------
   3196 18 August 2015. Summary of changes for version 20150818:
   3197 
   3198 1) ACPICA kernel-resident subsystem:
   3199 
   3200 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
   3201 Zheng. ACPICA BZ 1186.
   3202 
   3203 Completed development to ensure that the ACPICA Disassembler and Debugger 
   3204 are fully standalone components of ACPICA. Removed cross-component 
   3205 dependences. Lv Zheng.
   3206 
   3207 The max-number-of-AML-loops is now runtime configurable (previously was 
   3208 compile-time only). This is essentially a loop timeout to force-abort 
   3209 infinite AML loops. ACPCIA BZ 1192.
   3210 
   3211 Debugger: Cleanup output to dump ACPI names and namepaths without any 
   3212 trailing underscores. Lv Zheng. ACPICA BZ 1135.
   3213 
   3214 Removed unnecessary conditional compilations across the Debugger and 
   3215 Disassembler components where entire modules could be left uncompiled.
   3216 
   3217 The aapits test is deprecated and has been removed from the ACPICA git 
   3218 tree. The test has never been completed and has not been maintained, thus 
   3219 becoming rather useless. ACPICA BZ 1015, 794.
   3220 
   3221 A batch of small changes to close bugzilla and other reports:
   3222 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
   3223 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
   3224 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
   3225 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
   3226 Moore.
   3227 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
   3228 ACPICA BZ 1184.
   3229 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
   3230 operators.
   3231 - Debugger: Split debugger initialization/termination interfaces. Lv 
   3232 Zheng.
   3233 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
   3234 identification.
   3235 - AcpiExec: Add debug message during _REG method phase during table 
   3236 load/init.
   3237 - AcpiNames: Fix a regression where some output was missing and no longer 
   3238 emitted.
   3239 - Debugger: General cleanup and simplification. Lv Zheng.
   3240 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
   3241 
   3242 Example Code and Data Size: These are the sizes for the OS-independent 
   3243 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3244 debug version of the code includes the debug output trace mechanism and 
   3245 has a much larger code and data size.
   3246 
   3247   Current Release:
   3248     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
   3249     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
   3250   Previous Release:
   3251     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
   3252     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
   3253 
   3254 
   3255 2) iASL Compiler/Disassembler and Tools:
   3256 
   3257 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
   3258 were not handled properly and caused load errors. Now, properly invoke 
   3259 and use the ACPICA auto-reallocate mechanism for ACPI table data 
   3260 structures. ACPICA BZ 1188
   3261 
   3262 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
   3263 BZ 1190.
   3264 
   3265 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
   3266 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
   3267 executed during initialization. ACPICA BZ 1187, 1189.
   3268 
   3269 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
   3270 that corresponds to each disassembled ASL statement, to simplify 
   3271 debugging. ACPICA BZ 1191.
   3272 
   3273 Debugger: Add option to the "objects" command to display a summary of the 
   3274 current namespace objects (Object type and count). This is displayed if 
   3275 the command is entered with no arguments.
   3276 
   3277 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
   3278 
   3279 
   3280 ----------------------------------------
   3281 17 July 2015. Summary of changes for version 20150717:
   3282 
   3283 1) ACPICA kernel-resident subsystem:
   3284 
   3285 Improved the partitioning between the Debugger and Disassembler 
   3286 components. This allows the Debugger to be used standalone within kernel 
   3287 code without the Disassembler (which is used for single stepping also). 
   3288 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
   3289 
   3290 Debugger: Implemented a new command to trace the execution of control 
   3291 methods (Trace). This is especially useful for the in-kernel version of 
   3292 the debugger when file I/O may not be available for method trace output. 
   3293 See the ACPICA reference for more information. Lv Zheng.
   3294 
   3295 Moved all C library prototypes (used for the local versions of these 
   3296 functions when requested) to a new header, acclib.h
   3297 Cleaned up the use of non-ANSI C library functions. These functions are 
   3298 implemented locally in ACPICA. Moved all such functions to a common 
   3299 source file, utnonansi.c
   3300 
   3301 Debugger: Fixed a problem with the "!!" command (get last command 
   3302 executed) where the debugger could enter an infinite loop and eventually 
   3303 crash.
   3304 
   3305 Removed the use of local macros that were used for some of the standard C 
   3306 library functions to automatically cast input parameters. This mostly 
   3307 affected the is* functions where the input parameter is defined to be an 
   3308 int. This required a few modifications to the main ACPICA source code to 
   3309 provide casting for these functions and eliminate possible compiler 
   3310 warnings for these parameters.
   3311 
   3312 Across the source code, added additional status/error checking to resolve 
   3313 issues discovered by static source code analysis tools such as Coverity.
   3314 
   3315 Example Code and Data Size: These are the sizes for the OS-independent 
   3316 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3317 debug version of the code includes the debug output trace mechanism and 
   3318 has a much larger code and data size.
   3319 
   3320   Current Release:
   3321     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
   3322     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
   3323   Previous Release:
   3324     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
   3325     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
   3326 
   3327 
   3328 2) iASL Compiler/Disassembler and Tools:
   3329 
   3330 iASL: Fixed a regression where the device map file feature no longer 
   3331 worked properly when used in conjunction with the disassembler. It only 
   3332 worked properly with the compiler itself.
   3333 
   3334 iASL: Implemented a new warning for method LocalX variables that are set 
   3335 but never used (similar to a C compiler such as gcc). This also applies 
   3336 to ArgX variables that are not defined by the parent method, and are 
   3337 instead (legally) used as local variables.
   3338 
   3339 iASL/Preprocessor: Finished the pass-through of line numbers from the 
   3340 preprocessor to the compiler. This ensures that compiler errors/warnings 
   3341 have the correct original line numbers and filenames, regardless of any 
   3342 #include files.
   3343 
   3344 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
   3345 pass-through of comments to the preprocessor output file (which becomes 
   3346 the compiler input file). Also fixed a problem with // comments that 
   3347 appear after a math expression.
   3348 
   3349 iASL: Added support for the TCPA server table to the table compiler and 
   3350 template generator. (The client table was already previously supported)
   3351 
   3352 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
   3353 identify the iASL compiler.
   3354 
   3355 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
   3356 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
   3357 ACPI_SIGN_POSITIVE.
   3358 
   3359 AcpiHelp: Update to expand help messages for the iASL preprocessor 
   3360 directives.
   3361 
   3362 
   3363 ----------------------------------------
   3364 19 June 2015. Summary of changes for version 20150619:
   3365 
   3366 Two regressions in version 20150616 have been addressed:
   3367 
   3368 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
   3369 etc.) This update changes ACPICA to only use the standard headers for 
   3370 functions, or the prototypes for the local versions of the C library 
   3371 functions. Across the source code, this required some additional casts 
   3372 for some Clib invocations for portability. Moved all local prototypes to 
   3373 a new file, acclib.h
   3374 
   3375 Fixes several problems with recent changes to the handling of the FACS 
   3376 table that could cause some systems not to boot.
   3377 
   3378 
   3379 ----------------------------------------
   3380 16 June 2015. Summary of changes for version 20150616:
   3381 
   3382 
   3383 1) ACPICA kernel-resident subsystem:
   3384 
   3385 Across the entire ACPICA source code base, the various macros for the C 
   3386 library functions (such as ACPI_STRLEN, etc.) have been removed and 
   3387 replaced by the standard C library names (strlen, etc.) The original 
   3388 purpose for these macros is no longer applicable. This simplification 
   3389 reduces the number of macros used in the ACPICA source code 
   3390 significantly, improving readability and maintainability.
   3391 
   3392 Implemented support for a new ACPI table, the OSDT. This table, the 
   3393 "override" SDT, can be loaded directly by the host OS at boot time. It 
   3394 enables the replacement of existing namespace objects that were installed 
   3395 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
   3396 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
   3397 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
   3398 Moore.
   3399 
   3400 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
   3401 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
   3402 X field). This change will support both automatically. There continues to 
   3403 be systems found with this issue. This support requires a change to the 
   3404 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
   3405 been added to allow the host to select which FACS is desired 
   3406 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
   3407 details Lv Zheng.
   3408 
   3409 Added a new feature to allow for systems that do not contain an FACS. 
   3410 Although this is already supported on hardware-reduced platforms, the 
   3411 feature has been extended for all platforms. The reasoning is that we do 
   3412 not want to abort the entire ACPICA initialization just because the 
   3413 system is seriously buggy and has no FACS.
   3414 
   3415 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
   3416 not correctly transcribed from the ACPI specification in ACPICA version 
   3417 20150515.
   3418 
   3419 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
   3420 interface.
   3421 
   3422 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
   3423 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
   3424 compiler also updated. Note: The TCPA "server" table is not supported by 
   3425 the disassembler/table-compiler at this time.
   3426 
   3427 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
   3428 
   3429 Example Code and Data Size: These are the sizes for the OS-independent 
   3430 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3431 debug version of the code includes the debug output trace mechanism and 
   3432 has a much larger code and data size.
   3433 
   3434   Current Release:
   3435     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
   3436     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
   3437   Previous Release:
   3438     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
   3439     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
   3440 
   3441 
   3442 2) iASL Compiler/Disassembler and Tools:
   3443 
   3444 Disassembler: Fixed a problem with the new symbolic operator disassembler 
   3445 where incorrect ASL code could be emitted in some cases for the "non-
   3446 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
   3447 ShiftRight. The actual problem cases seem to be rather unusual in common 
   3448 ASL code, however. David Box.
   3449 
   3450 Modified the linux version of acpidump to obtain ACPI tables from not 
   3451 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
   3452 Zheng.
   3453 
   3454 iASL: Fixed a problem where the user preprocessor output file (.i) 
   3455 contained extra data that was not expected. The compiler was using this 
   3456 file as a temporary file and passed through #line directives in order to 
   3457 keep compiler error messages in sync with the input file and line number 
   3458 across multiple include files. The (.i) is no longer a temporary file as 
   3459 the compiler uses a new, different file for the original purpose.
   3460 
   3461 iASL: Fixed a problem where comments within the original ASL source code 
   3462 file were not passed through to the preprocessor output file, nor any 
   3463 listing files.
   3464 
   3465 iASL: Fixed some issues for the handling of the "#include" preprocessor 
   3466 directive and the similar (but not the same) "Include" ASL operator.
   3467 
   3468 iASL: Add support for the new OSDT in both the disassembler and compiler.
   3469 
   3470 iASL: Fixed a problem with the constant folding support where a Buffer 
   3471 object could be incorrectly generated (incorrectly formed) during a 
   3472 conversion to a Store() operator.
   3473 
   3474 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
   3475 description text for the _REV predefined name. _REV now permanently 
   3476 returns 2, as per the ACPI 6.0 specification.
   3477 
   3478 Debugger: Enhanced the output of the Debug ASL object for references 
   3479 produced by the Index operator. For Buffers and strings, only output the 
   3480 actual byte pointed to by the index. For packages, only print the single 
   3481 package element decoded by the index. Previously, the entire 
   3482 buffer/string/package was emitted.
   3483 
   3484 iASL/Table-compiler: Fixed a regression where the "generic" data types 
   3485 were no longer recognized, causing errors.
   3486 
   3487 
   3488 ----------------------------------------
   3489 15 May 2015. Summary of changes for version 20150515:
   3490 
   3491 This release implements most of ACPI 6.0 as described below.
   3492 
   3493 1) ACPICA kernel-resident subsystem:
   3494 
   3495 Implemented runtime argument checking and return value checking for all 
   3496 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
   3497 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
   3498 
   3499 Example Code and Data Size: These are the sizes for the OS-independent 
   3500 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3501 debug version of the code includes the debug output trace mechanism and 
   3502 has a much larger code and data size.
   3503 
   3504   Current Release:
   3505     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
   3506     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
   3507   Previous Release:
   3508     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
   3509     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
   3510 
   3511 
   3512 2) iASL Compiler/Disassembler and Tools:
   3513 
   3514 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
   3515 names (argument count validation and return value typechecking.)
   3516 
   3517 iASL disassembler and table compiler: implemented support for all new 
   3518 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
   3519 
   3520 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
   3521 tables: FADT, MADT.
   3522 
   3523 iASL preprocessor: Added a new directive to enable inclusion of binary 
   3524 blobs into ASL code. The new directive is #includebuffer. It takes a 
   3525 binary file as input and emits a named ascii buffer object into the ASL 
   3526 code.
   3527 
   3528 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
   3529 
   3530 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
   3531 directives.
   3532 
   3533 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
   3534 tables.
   3535 
   3536 
   3537 ----------------------------------------
   3538 10 April 2015. Summary of changes for version 20150410:
   3539 
   3540 Reverted a change introduced in version 20150408 that caused
   3541 a regression in the disassembler where incorrect operator
   3542 symbols could be emitted.
   3543 
   3544 
   3545 ----------------------------------------
   3546 08 April 2015. Summary of changes for version 20150408:
   3547 
   3548 
   3549 1) ACPICA kernel-resident subsystem:
   3550 
   3551 Permanently set the return value for the _REV predefined name. It now 
   3552 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
   3553 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
   3554 for ACPI 2.0 and later. It should never be used to differentiate or 
   3555 identify operating systems.
   3556 
   3557 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
   3558 return TRUE to a query with this string.
   3559 
   3560 Fixed several issues with the local version of the printf function.
   3561 
   3562 Added the C99 compiler option (-std=c99) to the Unix makefiles.
   3563 
   3564   Current Release:
   3565     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
   3566     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
   3567   Previous Release:
   3568     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   3569     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   3570 
   3571 
   3572 2) iASL Compiler/Disassembler and Tools:
   3573 
   3574 iASL: Implemented an enhancement to the constant folding feature to 
   3575 transform the parse tree to a simple Store operation whenever possible:
   3576     Add (2, 3, X) ==> is converted to: Store (5, X)
   3577     X = 2 + 3     ==> is converted to: Store (5, X)
   3578 
   3579 Updated support for the SLIC table (Software Licensing Description Table) 
   3580 in both the Data Table compiler and the disassembler. The SLIC table 
   3581 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
   3582 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
   3583 following the ACPI header is now defined to be "Proprietary Data", and as 
   3584 such, can only be entered or displayed as a hex data block.
   3585 
   3586 Implemented full support for the MSDM table as described in the document 
   3587 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
   3588 following the ACPI header is defined to be "Proprietary Data", and can 
   3589 only be entered or displayed as a hex data block.
   3590 
   3591 Implemented the -Pn option for the iASL Table Compiler (was only 
   3592 implemented for the ASL compiler). This option disables the iASL 
   3593 preprocessor.
   3594 
   3595 Disassembler: For disassembly of Data Tables, added a comment field 
   3596 around the Ascii equivalent data that is emitted as part of the "Raw 
   3597 Table Data" block. This prevents the iASL Preprocessor from possible 
   3598 confusion if/when the table is compiled.
   3599 
   3600 Disassembler: Added an option (-df) to force the disassembler to assume 
   3601 that the table being disassembled contains valid AML. This feature is 
   3602 useful for disassembling AML files that contain ACPI signatures other 
   3603 than DSDT or SSDT (such as OEMx or other signatures).
   3604 
   3605 Changes for the EFI version of the tools:
   3606 1) Fixed a build error/issue
   3607 2) Fixed a cast warning
   3608 
   3609 iASL: Fixed a path issue with the __FILE__ operator by making the 
   3610 directory prefix optional within the internal SplitInputFilename 
   3611 function.
   3612 
   3613 Debugger: Removed some unused global variables.
   3614 
   3615 Tests: Updated the makefile for proper generation of the AAPITS suite.
   3616 
   3617 
   3618 ----------------------------------------
   3619 04 February 2015. Summary of changes for version 20150204:
   3620 
   3621 ACPICA kernel-resident subsystem:
   3622 
   3623 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   3624 copyright to all module headers and signons, including the standard Linux 
   3625 header. This affects virtually every file in the ACPICA core subsystem, 
   3626 iASL compiler, all ACPICA utilities, and the test suites.
   3627 
   3628 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
   3629 A raw gpe handling mechanism was created to allow better handling of GPE
   3630 storms that aren't easily managed by the normal handler. The raw handler
   3631 allows disabling/renabling of the the GPE so that interrupt storms can be
   3632 avoided in cases where events cannot be timely serviced. In this 
   3633 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
   3634 GPE. This API will leave the reference counts undisturbed, thereby 
   3635 preventing unintentional clearing of the GPE when the intent in only to 
   3636 temporarily disable it. Raw handlers allow enabling and disabling of a 
   3637 GPE by removing GPE register locking. As such, raw handlers much provide 
   3638 their own locks while using GPE API's to protect access to GPE data 
   3639 structures.
   3640 Lv Zheng
   3641 
   3642 Events: Always modify GPE registers under the GPE lock.
   3643 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
   3644 values. Reported as bug by joe.liu (a] apple.com.
   3645 
   3646 Unix makefiles: Separate option to disable optimizations and 
   3647 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
   3648 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
   3649 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
   3650 errors when building ACPICA. This allows disabling the option without 
   3651 also having to disable optimazations.
   3652 David Box
   3653 
   3654   Current Release:
   3655     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   3656     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
   3657 
   3658 --
   3659 --------------------------------------
   3660 07 November 2014. Summary of changes for version 20141107:
   3661 
   3662 This release is available at https://acpica.org/downloads
   3663 
   3664 This release introduces and implements language extensions to ASL that 
   3665 provide support for symbolic ("C-style") operators and expressions. These 
   3666 language extensions are known collectively as ASL+.
   3667 
   3668 
   3669 1) iASL Compiler/Disassembler and Tools:
   3670 
   3671 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
   3672 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
   3673 Box.
   3674 
   3675 Disassembler: Fixed the Unicode macro support to add escape sequences. 
   3676 All non-printable ASCII values are emitted as escape sequences, as well 
   3677 as the standard escapes for quote and backslash. Ensures that the 
   3678 disassembled macro can be correctly recompiled.
   3679 
   3680 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
   3681 translated to existing AML Concatenate and Store operations. Printf 
   3682 writes to the ASL Debug object. Fprintf allows the specification of an 
   3683 ASL name as the target. Only a single format specifier is required, %o, 
   3684 since the AML interpreter dynamically converts objects to the required 
   3685 type. David E. Box.
   3686 
   3687     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   3688                  (Concatenate (Concatenate (Concatenate ("", Arg0),
   3689                  ": Unexpected value for "), Arg1), ", "), Arg2),
   3690                  " at line "), Arg3), Debug)
   3691 
   3692     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
   3693                  Arg0, Arg1, Arg2, Arg3)
   3694 
   3695     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   3696                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
   3697 
   3698     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
   3699 
   3700 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
   3701 ASL parse tree before the AML code is generated. This allows blocks of 
   3702 ASL code to be removed in order to help locate and identify problem 
   3703 devices and/or code. David E. Box.
   3704 
   3705 AcpiExec: Added support (-fi) for an optional namespace object 
   3706 initialization file. This file specifies initial values for namespace 
   3707 objects as necessary for debugging and testing different ASL code paths 
   3708 that may be taken as a result of BIOS options.
   3709 
   3710 
   3711 2) Overview of symbolic operator support for ASL (ASL+)
   3712 -------------------------------------------------------
   3713 
   3714 As an extension to the ASL language, iASL implements support for symbolic 
   3715 (C-style) operators for math and logical expressions. This can greatly 
   3716 simplify ASL code as well as improve both readability and 
   3717 maintainability. These language extensions can exist concurrently with 
   3718 all legacy ASL code and expressions.
   3719 
   3720 The symbolic extensions are 100% compatible with existing AML 
   3721 interpreters, since no new AML opcodes are created. To implement the 
   3722 extensions, the iASL compiler transforms the symbolic expressions into 
   3723 the legacy ASL/AML equivalents at compile time.
   3724 
   3725 Full symbolic expressions are supported, along with the standard C 
   3726 precedence and associativity rules.
   3727 
   3728 Full disassembler support for the symbolic expressions is provided, and 
   3729 creates an automatic migration path for existing ASL code to ASL+ code 
   3730 via the disassembly process. By default, the disassembler now emits ASL+ 
   3731 code with symbolic expressions. An option (-dl) is provided to force the 
   3732 disassembler to emit legacy ASL code if desired.
   3733 
   3734 Below is the complete list of the currently supported symbolic operators 
   3735 with examples. See the iASL User Guide for additional information.
   3736 
   3737 
   3738 ASL+ Syntax      Legacy ASL Equivalent
   3739 -----------      ---------------------
   3740 
   3741     // Math operators
   3742 
   3743 Z = X + Y        Add (X, Y, Z)
   3744 Z = X - Y        Subtract (X, Y, Z)
   3745 Z = X * Y        Multiply (X, Y, Z)
   3746 Z = X / Y        Divide (X, Y, , Z)
   3747 Z = X % Y        Mod (X, Y, Z)
   3748 Z = X << Y       ShiftLeft (X, Y, Z)
   3749 Z = X >> Y       ShiftRight (X, Y, Z)
   3750 Z = X & Y        And (X, Y, Z)
   3751 Z = X | Y        Or (X, Y, Z)
   3752 Z = X ^ Y        Xor (X, Y, Z)
   3753 Z = ~X           Not (X, Z)
   3754 X++              Increment (X)
   3755 X--              Decrement (X)
   3756 
   3757     // Logical operators
   3758 
   3759 (X == Y)         LEqual (X, Y)
   3760 (X != Y)         LNotEqual (X, Y)
   3761 (X < Y)          LLess (X, Y)
   3762 (X > Y)          LGreater (X, Y)
   3763 (X <= Y)         LLessEqual (X, Y)
   3764 (X >= Y)         LGreaterEqual (X, Y)
   3765 (X && Y)         LAnd (X, Y)
   3766 (X || Y)         LOr (X, Y)
   3767 (!X)             LNot (X)
   3768 
   3769     // Assignment and compound assignment operations
   3770 
   3771 X = Y           Store (Y, X)
   3772 X += Y          Add (X, Y, X)
   3773 X -= Y          Subtract (X, Y, X)
   3774 X *= Y          Multiply (X, Y, X)
   3775 X /= Y          Divide (X, Y, , X)
   3776 X %= Y          Mod (X, Y, X)
   3777 X <<= Y         ShiftLeft (X, Y, X)
   3778 X >>= Y         ShiftRight (X, Y, X)
   3779 X &= Y          And (X, Y, X)
   3780 X |= Y          Or (X, Y, X)
   3781 X ^= Y          Xor (X, Y, X)
   3782 
   3783 
   3784 3) ASL+ Examples:
   3785 -----------------
   3786 
   3787 Legacy ASL:
   3788         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
   3789             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
   3790 0x03FB), 
   3791             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
   3792         {
   3793             And (MEMB, 0xFFFFFFF0, SRMB)
   3794             Store (MEMB, Local2)
   3795             Store (PDBM, Local1)
   3796             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
   3797             Store (SRMB, MEMB)
   3798             Or (PDBM, 0x02, PDBM)
   3799         }
   3800 
   3801 ASL+ version:
   3802         If (((R510 & 0x03FB) == 0x02E0) ||
   3803             ((R520 & 0x03FB) == 0x02E0) ||
   3804             ((R530 & 0x03FB) == 0x02E0) || 
   3805             ((R540 & 0x03FB) == 0x02E0))
   3806         {
   3807             SRMB = (MEMB & 0xFFFFFFF0)
   3808             Local2 = MEMB
   3809             Local1 = PDBM
   3810             PDBM &= 0xFFFFFFFFFFFFFFF9
   3811             MEMB = SRMB
   3812             PDBM |= 0x02
   3813         }
   3814 
   3815 Legacy ASL:
   3816         Store (0x1234, Local1)
   3817         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
   3818         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
   3819         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
   3820         Store (Index (PKG1, 0x03), Local6)
   3821         Store (Add (Local3, Local2), Debug)
   3822         Add (Local1, 0x0F, Local2)
   3823         Add (Local1, Multiply (Local2, Local3), Local2)
   3824         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
   3825 
   3826 ASL+ version:
   3827         Local1 = 0x1234
   3828         Local3 = (((Local1 + TEST) + 0x20) * Local2)
   3829         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
   3830         Local3 = (Local1 + (TEST + (0x20 * Local2)))
   3831         Local6 = Index (PKG1, 0x03)
   3832         Debug = (Local3 + Local2)
   3833         Local2 = (Local1 + 0x0F)
   3834         Local2 = (Local1 + (Local2 * Local3))
   3835         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
   3836 
   3837 
   3838 ----------------------------------------
   3839 26 September 2014. Summary of changes for version 20140926:
   3840 
   3841 1) ACPICA kernel-resident subsystem:
   3842 
   3843 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
   3844 In order to support GPIO Connection objects with multiple pins, along 
   3845 with the related Field objects, the following changes to the interface 
   3846 have been made: The Address is now defined to be the offset in bits of 
   3847 the field unit from the previous invocation of a Connection. It can be 
   3848 viewed as a "Pin Number Index" into the connection resource descriptor. 
   3849 The BitWidth is the exact bit width of the field. It is usually one bit, 
   3850 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
   3851 additional information and examples.
   3852 
   3853 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
   3854 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
   3855 by the firmware), so that they cannot fire until they are enabled via 
   3856 AcpiUpdateAllGpes. Rafael J. Wysocki.
   3857 
   3858 Added a new return flag for the Event/GPE status interfaces -- 
   3859 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
   3860 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
   3861 GPE currently has a handler associated with it, and can thus actually 
   3862 affect the system. Lv Zheng.
   3863 
   3864 Example Code and Data Size: These are the sizes for the OS-independent 
   3865 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3866 debug version of the code includes the debug output trace mechanism and 
   3867 has a much larger code and data size.
   3868 
   3869   Current Release:
   3870     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
   3871     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
   3872   Previous Release:
   3873     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   3874     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   3875 
   3876 2) iASL Compiler/Disassembler and Tools:
   3877 
   3878 iASL: Fixed a memory allocation/free regression introduced in 20140828 
   3879 that could cause the compiler to crash. This was introduced inadvertently 
   3880 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
   3881 1113.
   3882 
   3883 iASL: Removed two error messages that have been found to create false 
   3884 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
   3885 1) Illegal forward reference within a method
   3886 2) Illegal reference across two methods
   3887 
   3888 iASL: Implemented a new option (-lm) to create a hardware mapping file 
   3889 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
   3890 works for both the compiler and disassembler. See the iASL compiler user 
   3891 guide for additional information and examples (section 6.4.6).
   3892 
   3893 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
   3894 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
   3895 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
   3896 
   3897 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
   3898 unless STDIN is actually a terminal. Assists with batch-mode processing. 
   3899 ACPICA BZ 1114.
   3900 
   3901 Disassembler/AcpiHelp: Added another large group of recognized _HID 
   3902 values.
   3903 
   3904 
   3905 ----------------------------------------
   3906 28 August 2014. Summary of changes for version 20140828:
   3907 
   3908 1) ACPICA kernel-resident subsystem:
   3909 
   3910 Fixed a problem related to the internal use of the Timer() operator where 
   3911 a 64-bit divide could cause an attempted link to a double-precision math 
   3912 library. This divide is not actually necessary, so the code was 
   3913 restructured to eliminate it. Lv Zheng.
   3914 
   3915 ACPI 5.1: Added support for the runtime validation of the _DSD package 
   3916 (similar to the iASL support).
   3917 
   3918 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
   3919 SRAT table. Hanjun Guo <hanjun.guo (a] linaro.org>.
   3920 
   3921 Example Code and Data Size: These are the sizes for the OS-independent 
   3922 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3923 debug version of the code includes the debug output trace mechanism and 
   3924 has a much larger code and data size.
   3925 
   3926   Current Release:
   3927     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   3928     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   3929   Previous Release:
   3930     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
   3931     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   3932 
   3933 2) iASL Compiler/Disassembler and Tools:
   3934 
   3935 AcpiExec: Fixed a problem on unix systems where the original terminal 
   3936 state was not always properly restored upon exit. Seen when using the -v 
   3937 option. ACPICA BZ 1104.
   3938 
   3939 iASL: Fixed a problem with the validation of the ranges/length within the 
   3940 Memory24 resource descriptor. There was a boundary condition when the 
   3941 range was equal to the (length -1) caused by the fact that these values 
   3942 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
   3943 
   3944 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
   3945 polarity 
   3946 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
   3947 is 
   3948 now supported properly.
   3949 
   3950 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
   3951 in the disassembler, data table compiler, and table template generator.
   3952 
   3953 iASL: Added a requirement for Device() objects that one of either a _HID 
   3954 or _ADR must exist within the scope of a Device, as per the ACPI 
   3955 specification. Remove a similar requirement that was incorrectly in place 
   3956 for the _DSD object.
   3957 
   3958 iASL: Added error detection for illegal named references within control 
   3959 methods that would cause runtime failures. Now trapped as errors are: 1) 
   3960 References to objects within a non-parent control method. 2) Forward 
   3961 references (within a method) -- for control methods, AML interpreters use 
   3962 a one-pass parse of control methods. ACPICA BZ 1008.
   3963 
   3964 iASL: Added error checking for dependencies related to the _PSx power 
   3965 methods. ACPICA BZ 1029.
   3966 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
   3967 _PS3.
   3968 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
   3969 scope.
   3970 
   3971 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
   3972 deploying the existing object and string caches and adding new caches for 
   3973 the table compiler.
   3974 
   3975 iASL: Split the huge parser source file into multiple subfiles to improve 
   3976 manageability. Generation now requires the M4 macro preprocessor, which 
   3977 is part of the Bison distribution on both unix and windows platforms.
   3978 
   3979 AcpiSrc: Fixed and removed all extraneous warnings generated during 
   3980 entire ACPICA source code scan and/or conversion.
   3981 
   3982 
   3983 ----------------------------------------
   3984 
   3985 24 July 2014. Summary of changes for version 20140724: 
   3986 
   3987 The ACPI 5.1 specification has been released and is available at: 
   3988 http://uefi.org/specs/access
   3989 
   3990 
   3991 0) ACPI 5.1 support in ACPICA:
   3992 
   3993 ACPI 5.1 is fully supported in ACPICA as of this release.
   3994 
   3995 New predefined names. Support includes iASL and runtime ACPICA 
   3996 validation.
   3997     _CCA (Cache Coherency Attribute).
   3998     _DSD (Device-Specific Data). David Box.
   3999 
   4000 Modifications to existing ACPI tables. Support includes headers, iASL 
   4001 Data Table compiler, disassembler, and the template generator.
   4002     FADT - New fields and flags. Graeme Gregory.
   4003     GTDT - One new subtable and new fields. Tomasz Nowicki.
   4004     MADT - Two new subtables. Tomasz Nowicki.
   4005     PCCT - One new subtable.
   4006 
   4007 Miscellaneous.
   4008     New notification type for System Resource Affinity change events.
   4009 
   4010 
   4011 1) ACPICA kernel-resident subsystem:
   4012 
   4013 Fixed a regression introduced in 20140627 where a fault can happen during 
   4014 the deletion of Alias AML namespace objects. The problem affected both 
   4015 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
   4016 
   4017 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
   4018 simple mechanism to enable wake GPEs that have no associated handler or 
   4019 control method. Rafael Wysocki.
   4020 
   4021 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
   4022 handler or control method associated with the particular GPE. This will 
   4023 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
   4024 
   4025 Updated GPE handling and dispatch by disabling the GPE before clearing 
   4026 the status bit for edge-triggered GPEs. Lv Zheng.
   4027 
   4028 Added Timer() support to the AML Debug object. The current timer value is 
   4029 now displayed with each invocation of (Store to) the debug object to 
   4030 enable simple generation of execution times for AML code (method 
   4031 execution for example.) ACPICA BZ 1093.
   4032 
   4033 Example Code and Data Size: These are the sizes for the OS-independent 
   4034 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4035 debug version of the code includes the debug output trace mechanism and 
   4036 has a much larger code and data size.
   4037 
   4038   Current Release:
   4039     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
   4040     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   4041   Previous Release:
   4042     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   4043     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   4044 
   4045 
   4046 2) iASL Compiler/Disassembler and Tools:
   4047 
   4048 Fixed an issue with the recently added local printf implementation, 
   4049 concerning width/precision specifiers that could cause incorrect output. 
   4050 Lv Zheng. ACPICA BZ 1094.
   4051 
   4052 Disassembler: Added support to detect buffers that contain UUIDs and 
   4053 disassemble them to an invocation of the ToUUID operator. Also emit 
   4054 commented descriptions of known ACPI-related UUIDs.
   4055 
   4056 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
   4057 -u. Adds three new files. 
   4058 
   4059 iASL: Update table compiler and disassembler for DMAR table changes that 
   4060 were introduced in September 2013. With assistance by David Woodhouse.
   4061 
   4062 ----------------------------------------
   4063 27 June 2014. Summary of changes for version 20140627:
   4064 
   4065 1) ACPICA kernel-resident subsystem:
   4066 
   4067 Formatted Output: Implemented local versions of standard formatted output 
   4068 utilities such as printf, etc. Over time, it has been discovered that 
   4069 there are in fact many portability issues with printf, and the addition 
   4070 of this feature will fix/prevent these issues once and for all. Some 
   4071 known issues are summarized below:
   4072 
   4073 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
   4074 for the Linux kernel and is %uI64 for some MSVC versions.
   4075 2) Invoking printf consistently in a manner that is portable across both 
   4076 32-bit and 64-bit platforms is difficult at best in many situations.
   4077 3) The output format for pointers varies from system to system (leading 
   4078 zeros especially), and leads to inconsistent output from ACPICA across 
   4079 platforms.
   4080 4) Certain platform-specific printf formats may conflict with ACPICA use.
   4081 5) If there is no local C library available, ACPICA now has local support 
   4082 for printf.
   4083 
   4084 -- To address these printf issues in a complete manner, ACPICA now 
   4085 directly implements a small subset of printf format specifiers, only 
   4086 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
   4087 
   4088 Implemented support for ACPICA generation within the EFI environment. 
   4089 Initially, the AcpiDump utility is supported in the UEFI shell 
   4090 environment. Lv Zheng.
   4091 
   4092 Added a new external interface, AcpiLogError, to improve ACPICA 
   4093 portability. This allows the host to redirect error messages from the 
   4094 ACPICA utilities. Lv Zheng.
   4095 
   4096 Added and deployed new OSL file I/O interfaces to improve ACPICA 
   4097 portability:
   4098   AcpiOsOpenFile
   4099   AcpiOsCloseFile
   4100   AcpiOsReadFile
   4101   AcpiOsWriteFile
   4102   AcpiOsGetFileOffset
   4103   AcpiOsSetFileOffset
   4104 There are C library implementations of these functions in the new file 
   4105 service_layers/oslibcfs.c -- however, the functions can be implemented by 
   4106 the local host in any way necessary. Lv Zheng.
   4107 
   4108 Implemented a mechanism to disable/enable ACPI table checksum validation 
   4109 at runtime. This can be useful when loading tables very early during OS 
   4110 initialization when it may not be possible to map the entire table in 
   4111 order to compute the checksum. Lv Zheng.
   4112 
   4113 Fixed a buffer allocation issue for the Generic Serial Bus support. 
   4114 Originally, a fixed buffer length was used. This change allows for 
   4115 variable-length buffers based upon the protocol indicated by the field 
   4116 access attributes. Reported by Lan Tianyu. Lv Zheng.
   4117 
   4118 Fixed a problem where an object detached from a namespace node was not 
   4119 properly terminated/cleared and could cause a circular list problem if 
   4120 reattached. ACPICA BZ 1063. David Box.
   4121 
   4122 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
   4123 
   4124 Fixed a possible memory leak in an error return path within the function 
   4125 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
   4126 
   4127 Example Code and Data Size: These are the sizes for the OS-independent 
   4128 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4129 debug version of the code includes the debug output trace mechanism and 
   4130 has a much larger code and data size.
   4131 
   4132   Current Release:
   4133     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   4134     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   4135   Previous Release:
   4136     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   4137     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   4138 
   4139 
   4140 2) iASL Compiler/Disassembler and Tools:
   4141 
   4142 Disassembler: Add dump of ASCII equivalent text within a comment at the 
   4143 end of each line of the output for the Buffer() ASL operator.
   4144 
   4145 AcpiDump: Miscellaneous changes:
   4146   Fixed repetitive table dump in -n mode.
   4147   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
   4148 the ACPI 2.0 GUID fails.
   4149 
   4150 iASL: Fixed a problem where the compiler could fault if incorrectly given 
   4151 an acpidump output file as input. ACPICA BZ 1088. David Box.
   4152 
   4153 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
   4154 they are invoked without any arguments.
   4155 
   4156 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
   4157 1086. Colin Ian King.
   4158 
   4159 Disassembler: Cleaned up a block of code that extracts a parent Op 
   4160 object. Added a comment that explains that the parent is guaranteed to be 
   4161 valid in this case. ACPICA BZ 1069.
   4162 
   4163 
   4164 ----------------------------------------
   4165 24 April 2014. Summary of changes for version 20140424:
   4166 
   4167 1) ACPICA kernel-resident subsystem:
   4168 
   4169 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
   4170 Some of these tables are known to contain a trailing NULL entry. Lv 
   4171 Zheng.
   4172 
   4173 Removed an extraneous error message for the case where there are a large 
   4174 number of system GPEs (> 124). This was the "32-bit FADT register is too 
   4175 long to convert to GAS struct" message, which is irrelevant for GPEs 
   4176 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
   4177 (limited capacity) GAS bit length. Also, several changes to ensure proper 
   4178 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
   4179 internally.
   4180 
   4181 Implemented and deployed additional configuration support for the public 
   4182 ACPICA external interfaces. Entire classes of interfaces can now be 
   4183 easily modified or configured out, replaced by stubbed inline functions 
   4184 by default. Lv Zheng.
   4185 
   4186 Moved all public ACPICA runtime configuration globals to the public 
   4187 ACPICA external interface file for convenience. Also, removed some 
   4188 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
   4189 
   4190 Documentation: Added a new section to the ACPICA reference describing the 
   4191 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
   4192 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
   4193 reference.
   4194 
   4195 Example Code and Data Size: These are the sizes for the OS-independent 
   4196 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4197 debug version of the code includes the debug output trace mechanism and 
   4198 has a much larger code and data size.
   4199 
   4200   Current Release:
   4201     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   4202     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   4203   Previous Release:
   4204     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   4205     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   4206 
   4207 
   4208 2) iASL Compiler/Disassembler and Tools:
   4209 
   4210 iASL and disassembler: Add full support for the LPIT table (Low Power 
   4211 Idle Table). Includes support in the disassembler, data table compiler, 
   4212 and template generator.
   4213 
   4214 AcpiDump utility:
   4215 1) Add option to force the use of the RSDT (over the XSDT).
   4216 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
   4217 
   4218 iASL: Add check for predefined packages that are too large.  For 
   4219 predefined names that contain subpackages, check if each subpackage is 
   4220 too large. (Check for too small already exists.)
   4221 
   4222 Debugger: Updated the GPE command (which simulates a GPE by executing the 
   4223 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
   4224 to the GPE 0/1 FADT-defined blocks.
   4225 
   4226 Unix application OSL: Update line-editing support. Add additional error 
   4227 checking and take care not to reset terminal attributes on exit if they 
   4228 were never set. This should help guarantee that the terminal is always 
   4229 left in the previous state on program exit.
   4230 
   4231 
   4232 ----------------------------------------
   4233 25 March 2014. Summary of changes for version 20140325:
   4234 
   4235 1) ACPICA kernel-resident subsystem:
   4236 
   4237 Updated the auto-serialize feature for control methods. This feature 
   4238 automatically serializes all methods that create named objects in order 
   4239 to prevent runtime errors. The update adds support to ignore the 
   4240 currently executing AML SyncLevel when invoking such a method, in order 
   4241 to prevent disruption of any existing SyncLevel priorities that may exist 
   4242 in the AML code. Although the use of SyncLevels is relatively rare, this 
   4243 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
   4244 appear on some machines starting with the 20140214 release.
   4245 
   4246 Added a new external interface to allow the host to install ACPI tables 
   4247 very early, before the namespace is even created. AcpiInstallTable gives 
   4248 the host additional flexibility for ACPI table management. Tables can be 
   4249 installed directly by the host as if they had originally appeared in the 
   4250 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
   4251 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
   4252 with additional internal restructuring and cleanup. See the ACPICA 
   4253 Reference for interface details. Lv Zheng.
   4254 
   4255 Added validation of the checksum for all incoming dynamically loaded 
   4256 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
   4257 Zheng.
   4258 
   4259 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
   4260 and GPE handler removal. Restructured calls to eliminate possible race 
   4261 conditions. Lv Zheng.
   4262 
   4263 Added a warning for the use/execution of the ASL/AML Unload (table) 
   4264 operator. This will help detect and identify machines that use this 
   4265 operator if and when it is ever used. This operator has never been seen 
   4266 in the field and the usage model and possible side-effects of the drastic 
   4267 runtime action of a full table removal are unknown.
   4268 
   4269 Reverted the use of #pragma push/pop which was introduced in the 20140214 
   4270 release. It appears that push and pop are not implemented by enough 
   4271 compilers to make the use of this feature feasible for ACPICA at this 
   4272 time. However, these operators may be deployed in a future ACPICA 
   4273 release.
   4274 
   4275 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
   4276 handler interfaces.
   4277 
   4278 Source code generation:
   4279 1) Disabled the use of the "strchr" macro for the gcc-specific 
   4280 generation. For some versions of gcc, this macro can periodically expose 
   4281 a compiler bug which in turn causes compile-time error(s).
   4282 2) Added support for PPC64 compilation. Colin Ian King.
   4283 
   4284 Example Code and Data Size: These are the sizes for the OS-independent 
   4285 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4286 debug version of the code includes the debug output trace mechanism and 
   4287 has a much larger code and data size.
   4288 
   4289   Current Release:
   4290     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   4291     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   4292   Previous Release:
   4293     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   4294     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   4295 
   4296 
   4297 2) iASL Compiler/Disassembler and Tools:
   4298 
   4299 Disassembler: Added several new features to improve the readability of 
   4300 the resulting ASL code. Extra information is emitted within comment 
   4301 fields in the ASL code:
   4302 1) Known _HID/_CID values are decoded to descriptive text.
   4303 2) Standard values for the Notify() operator are decoded to descriptive 
   4304 text.
   4305 3) Target operands are expanded to full pathnames (in a comment) when 
   4306 possible.
   4307 
   4308 Disassembler: Miscellaneous updates for extern() handling:
   4309 1) Abort compiler if file specified by -fe option does not exist.
   4310 2) Silence unnecessary warnings about argument count mismatches.
   4311 3) Update warning messages concerning unresolved method externals.
   4312 4) Emit "UnknownObj" keyword for externals whose type cannot be 
   4313 determined.
   4314 
   4315 AcpiHelp utility:
   4316 1) Added the -a option to display both the ASL syntax and the AML 
   4317 encoding for an input ASL operator. This effectively displays all known 
   4318 information about an ASL operator with one AcpiHelp invocation.
   4319 2) Added substring match support (similar to a wildcard) for the -i 
   4320 (_HID/PNP IDs) option.
   4321 
   4322 iASL/Disassembler: Since this tool does not yet support execution on big-
   4323 endian machines, added detection of endianness and an error message if 
   4324 execution is attempted on big-endian. Support for big-endian within iASL 
   4325 is a feature that is on the ACPICA to-be-done list.
   4326 
   4327 AcpiBin utility:
   4328 1) Remove option to extract binary files from an acpidump; this function 
   4329 is made obsolete by the AcpiXtract utility.
   4330 2) General cleanup of open files and allocated buffers.
   4331 
   4332 
   4333 ----------------------------------------
   4334 14 February 2014. Summary of changes for version 20140214:
   4335 
   4336 1) ACPICA kernel-resident subsystem:
   4337 
   4338 Implemented a new mechanism to proactively prevent problems with ill-
   4339 behaved reentrant control methods that create named ACPI objects. This 
   4340 behavior is illegal as per the ACPI specification, but is nonetheless 
   4341 frequently seen in the field. Previously, this could lead to an 
   4342 AE_ALREADY_EXISTS exception if the method was actually entered by more 
   4343 than one thread. This new mechanism detects such methods at table load 
   4344 time and marks them "serialized" to prevent reentrancy. A new global 
   4345 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
   4346 feature if desired. This mechanism and global option obsoletes and 
   4347 supersedes the previous AcpiGbl_SerializeAllMethods option.
   4348 
   4349 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
   4350 respond TRUE to _OSI queries with this string. It is the stated policy of 
   4351 ACPICA to add new strings to the _OSI support as soon as possible after 
   4352 they are defined. See the full ACPICA _OSI policy which has been added to 
   4353 the utilities/utosi.c file.
   4354 
   4355 Hardened/updated the _PRT return value auto-repair code:
   4356 1) Do not abort the repair on a single subpackage failure, continue to 
   4357 check all subpackages.
   4358 2) Add check for the minimum subpackage length (4).
   4359 3) Properly handle extraneous NULL package elements.
   4360 
   4361 Added support to avoid the possibility of infinite loops when traversing 
   4362 object linked lists. Never allow an infinite loop, even in the face of 
   4363 corrupted object lists.
   4364 
   4365 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
   4366 pack(pop) directives to ensure that the ACPICA headers are independent of 
   4367 compiler settings or other host headers.
   4368 
   4369 Example Code and Data Size: These are the sizes for the OS-independent 
   4370 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4371 debug version of the code includes the debug output trace mechanism and 
   4372 has a much larger code and data size.
   4373 
   4374   Current Release:
   4375     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   4376     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   4377   Previous Release:
   4378     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   4379     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   4380 
   4381 
   4382 2) iASL Compiler/Disassembler and Tools:
   4383 
   4384 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
   4385 first reserved field was incorrectly forced to have a value of zero. This 
   4386 change correctly forces the field to have a value of one. ACPICA BZ 1081.
   4387 
   4388 Debugger: Added missing support for the "Extra" and "Data" subobjects 
   4389 when displaying object data.
   4390 
   4391 Debugger: Added support to display entire object linked lists when 
   4392 displaying object data.
   4393 
   4394 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
   4395 Windows registry. This feature has been superseded by the acpidump 
   4396 utility. 
   4397 
   4398 
   4399 ----------------------------------------
   4400 14 January 2014. Summary of changes for version 20140114:
   4401 
   4402 1) ACPICA kernel-resident subsystem:
   4403 
   4404 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   4405 copyright to all module headers and signons, including the standard Linux 
   4406 header. This affects virtually every file in the ACPICA core subsystem, 
   4407 iASL compiler, all ACPICA utilities, and the test suites.
   4408 
   4409 Improved parameter validation for AcpiInstallGpeBlock. Added the 
   4410 following checks:
   4411 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
   4412 2) There is not already a GPE block attached to the device.
   4413 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
   4414 device.
   4415 
   4416 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
   4417 support to allow references (namespace nodes) to be passed as arguments 
   4418 to control methods via the evaluate object interface. This is probably 
   4419 most useful for testing purposes, however.
   4420 
   4421 Improved support for 32/64 bit physical addresses in printf()-like 
   4422 output. This change improves the support for physical addresses in printf 
   4423 debug statements and other output on both 32-bit and 64-bit hosts. It 
   4424 consistently outputs the appropriate number of bytes for each host. The 
   4425 %p specifier is unsatisfactory since it does not emit uniform output on 
   4426 all hosts/clib implementations (on some, leading zeros are not supported, 
   4427 leading to difficult-to-read output).
   4428 
   4429 Example Code and Data Size: These are the sizes for the OS-independent 
   4430 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4431 debug version of the code includes the debug output trace mechanism and 
   4432 has a much larger code and data size.
   4433 
   4434   Current Release:
   4435     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   4436     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   4437   Previous Release:
   4438     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   4439     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   4440 
   4441 
   4442 2) iASL Compiler/Disassembler and Tools:
   4443 
   4444 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
   4445 problem if the parent Field definition for the Connection operator refers 
   4446 to an operation region that does not exist. ACPICA BZ 1064.
   4447 
   4448 AcpiExec: Load of local test tables is now optional. The utility has the 
   4449 capability to load some various tables to test features of ACPICA. 
   4450 However, there are enough of them that the output of the utility became 
   4451 confusing. With this change, only the required local tables are displayed 
   4452 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
   4453 line specification. This makes the default output simler and easier to 
   4454 understand. The -el command line option restores the original behavior 
   4455 for testing purposes.
   4456 
   4457 AcpiExec: Added support for overlapping operation regions. This change 
   4458 expands the simulation of operation regions by supporting regions that 
   4459 overlap within the given address space. Supports SystemMemory and 
   4460 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
   4461 
   4462 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
   4463 allows AcpiExec to simulate these address spaces, similar to the current 
   4464 support for SystemMemory and SystemIO.
   4465 
   4466 Debugger: Added new command to read/write/compare all namespace objects. 
   4467 The command "test objects" will exercise the entire namespace by writing 
   4468 new values to each data object, and ensuring that the write was 
   4469 successful. The original value is then restored and verified.
   4470 
   4471 Debugger: Added the "test predefined" command. This change makes this 
   4472 test public and puts it under the new "test" command. The test executes 
   4473 each and every predefined name within the current namespace.
   4474 
   4475 
   4476 ----------------------------------------
   4477 18 December 2013. Summary of changes for version 20131218:
   4478 
   4479 Global note: The ACPI 5.0A specification was released this month. There 
   4480 are no changes needed for ACPICA since this release of ACPI is an 
   4481 errata/clarification release. The specification is available at 
   4482 acpi.info. 
   4483 
   4484 
   4485 1) ACPICA kernel-resident subsystem:
   4486 
   4487 Added validation of the XSDT root table if it is present. Some older 
   4488 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
   4489 as containing some or all entries that are NULL pointers). This change 
   4490 adds a new function to validate the XSDT before actually using it. If the 
   4491 XSDT is found to be invalid, ACPICA will now automatically fall back to 
   4492 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
   4493 ACPICA and enhanced by Lv Zheng and Bob Moore.
   4494 
   4495 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
   4496 This change adds a runtime option that will force ACPICA to use the RSDT 
   4497 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
   4498 requires that an XSDT be used instead of the RSDT, the XSDT has been 
   4499 found to be corrupt or ill-formed on some machines. Lv Zheng.
   4500 
   4501 Added a runtime option to favor 32-bit FADT register addresses over the 
   4502 64-bit addresses. This change adds an option to favor 32-bit FADT 
   4503 addresses when there is a conflict between the 32-bit and 64-bit versions 
   4504 of the same register. The default behavior is to use the 64-bit version 
   4505 in accordance with the ACPI specification. This can now be overridden via 
   4506 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
   4507 
   4508 During the change above, the internal "Convert FADT" and "Verify FADT" 
   4509 functions have been merged to simplify the code, making it easier to 
   4510 understand and maintain. ACPICA BZ 933.
   4511 
   4512 Improve exception reporting and handling for GPE block installation. 
   4513 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
   4514 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
   4515 
   4516 Added helper macros to extract bus/segment numbers from the HEST table. 
   4517 This change adds two macros to extract the encoded bus and segment 
   4518 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
   4519 Betty Dall <betty.dall (a] hp.com>
   4520 
   4521 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
   4522 by ACPICA. It is not a public macro, so it should have no effect on 
   4523 existing OSV code. Lv Zheng.
   4524 
   4525 Example Code and Data Size: These are the sizes for the OS-independent 
   4526 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4527 debug version of the code includes the debug output trace mechanism and 
   4528 has a much larger code and data size.
   4529 
   4530   Current Release:
   4531     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   4532     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   4533   Previous Release:
   4534     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   4535     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   4536 
   4537 
   4538 2) iASL Compiler/Disassembler and Tools:
   4539 
   4540 Disassembler: Improved pathname support for emitted External() 
   4541 statements. This change adds full pathname support for external names 
   4542 that have been resolved internally by the inclusion of additional ACPI 
   4543 tables (via the iASL -e option). Without this change, the disassembler 
   4544 can emit multiple externals for the same object, or it become confused 
   4545 when the Scope() operator is used on an external object. Overall, greatly 
   4546 improves the ability to actually recompile the emitted ASL code when 
   4547 objects a referenced across multiple ACPI tables. Reported by Michael 
   4548 Tsirkin (mst (a] redhat.com).
   4549 
   4550 Tests/ASLTS: Updated functional control suite to execute with no errors. 
   4551 David Box. Fixed several errors related to the testing of the interpreter 
   4552 slack mode. Lv Zheng.
   4553 
   4554 iASL: Added support to detect names that are declared within a control 
   4555 method, but are unused (these are temporary names that are only valid 
   4556 during the time the method is executing). A remark is issued for these 
   4557 cases. ACPICA BZ 1022.
   4558 
   4559 iASL: Added full support for the DBG2 table. Adds full disassembler, 
   4560 table compiler, and template generator support for the DBG2 table (Debug 
   4561 Port 2 table).
   4562 
   4563 iASL: Added full support for the PCCT table, update the table definition. 
   4564 Updates the PCCT table definition in the actbl3.h header and adds table 
   4565 compiler and template generator support.
   4566 
   4567 iASL: Added an option to emit only error messages (no warnings/remarks). 
   4568 The -ve option will enable only error messages, warnings and remarks are 
   4569 suppressed. This can simplify debugging when only the errors are 
   4570 important, such as when an ACPI table is disassembled and there are many 
   4571 warnings and remarks -- but only the actual errors are of real interest.
   4572 
   4573 Example ACPICA code (source/tools/examples): Updated the example code so 
   4574 that it builds to an actual working program, not just example code. Added 
   4575 ACPI tables and execution of an example control method in the DSDT. Added 
   4576 makefile support for Unix generation.
   4577 
   4578 
   4579 ----------------------------------------
   4580 15 November 2013. Summary of changes for version 20131115:
   4581 
   4582 This release is available at https://acpica.org/downloads
   4583 
   4584 
   4585 1) ACPICA kernel-resident subsystem:
   4586 
   4587 Resource Manager: Fixed loop termination for the "get AML length" 
   4588 function. The loop previously had an error termination on a NULL resource 
   4589 pointer, which can never happen since the loop simply increments a valid 
   4590 resource pointer. This fix changes the loop to terminate with an error on 
   4591 an invalid end-of-buffer condition. The problem can be seen as an 
   4592 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
   4593 corrupted resource descriptor, or a resource descriptor that is missing 
   4594 an END_TAG descriptor. Reported by Dan Carpenter 
   4595 <dan.carpenter (a] oracle.com>. Lv Zheng, Bob Moore.
   4596 
   4597 Table unload and ACPICA termination: Delete all attached data objects 
   4598 during namespace node deletion. This fix updates namespace node deletion 
   4599 to delete the entire list of attached objects (attached via 
   4600 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
   4601 1024. Tomasz Nowicki (tomasz.nowicki (a] linaro.org).
   4602 
   4603 ACPICA termination: Added support to delete all objects attached to the 
   4604 root namespace node. This fix deletes any and all objects that have been 
   4605 attached to the root node via AcpiAttachData. Previously, none of these 
   4606 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
   4607 
   4608 Debug output: Do not emit the function nesting level for the in-kernel 
   4609 build. The nesting level is really only useful during a single-thread 
   4610 execution. Therefore, only enable this output for the AcpiExec utility. 
   4611 Also, only emit the thread ID when executing under AcpiExec (Context 
   4612 switches are still always detected and a message is emitted). ACPICA BZ 
   4613 972.
   4614 
   4615 Example Code and Data Size: These are the sizes for the OS-independent 
   4616 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4617 debug version of the code includes the debug output trace mechanism and 
   4618 has a much larger code and data size.
   4619 
   4620   Current Release:
   4621     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   4622     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   4623   Previous Release:
   4624     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   4625     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   4626 
   4627 
   4628 2) iASL Compiler/Disassembler and Tools:
   4629 
   4630 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
   4631 correct portable POSIX header for terminal control functions.
   4632 
   4633 Disassembler: Fixed control method invocation issues related to the use 
   4634 of the CondRefOf() operator. The problem is seen in the disassembly where 
   4635 control method invocations may not be disassembled properly if the 
   4636 control method name has been used previously as an argument to CondRefOf. 
   4637 The solution is to not attempt to emit an external declaration for the 
   4638 CondRefOf target (it is not necessary in the first place). This prevents 
   4639 disassembler object type confusion. ACPICA BZ 988.
   4640 
   4641 Unix Makefiles: Added an option to disable compiler optimizations and the 
   4642 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
   4643 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
   4644 command line option for make (NOOPT) that disables all compiler 
   4645 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
   4646 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
   4647 1034. Lv Zheng, Bob Moore.
   4648 
   4649 Tests/ASLTS: Added options to specify individual test cases and modes. 
   4650 This allows testers running aslts.sh to optionally specify individual 
   4651 test modes and test cases. Also added an option to disable the forced 
   4652 generation of the ACPICA tools from source if desired. Lv Zheng.
   4653 
   4654 ----------------------------------------
   4655 27 September 2013. Summary of changes for version 20130927:
   4656 
   4657 This release is available at https://acpica.org/downloads
   4658 
   4659 
   4660 1) ACPICA kernel-resident subsystem:
   4661 
   4662 Fixed a problem with store operations to reference objects. This change 
   4663 fixes a problem where a Store operation to an ArgX object that contained 
   4664 a 
   4665 reference to a field object did not complete the automatic dereference 
   4666 and 
   4667 then write to the actual field object. Instead, the object type of the 
   4668 field object was inadvertently changed to match the type of the source 
   4669 operand. The new behavior will actually write to the field object (buffer 
   4670 field or field unit), thus matching the correct ACPI-defined behavior.
   4671 
   4672 Implemented support to allow the host to redefine individual OSL 
   4673 prototypes. This change enables the host to redefine OSL prototypes found 
   4674 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
   4675 with a macro or inlined function. Further, it allows the host to add any 
   4676 additional required modifiers such as __iomem, __init, __exit, etc., as 
   4677 necessary on a per-interface basis. Enables maximum flexibility for the 
   4678 OSL interfaces. Lv Zheng.
   4679 
   4680 Hardcoded the access width for the FADT-defined reset register. The ACPI 
   4681 specification requires the reset register width to be 8 bits. ACPICA now 
   4682 hardcodes the width to 8 and ignores the FADT width value. This provides 
   4683 compatibility with other ACPI implementations that have allowed BIOS code 
   4684 with bad register width values to go unnoticed. Matthew Garett, Bob 
   4685 Moore, 
   4686 Lv Zheng.
   4687 
   4688 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
   4689 used 
   4690 in the OSL header (acpiosxf). The change modifies the position of this 
   4691 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
   4692 build issues if the OSL defines the implementation of the interface to be 
   4693 an inline stub function. Lv Zheng.
   4694 
   4695 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
   4696 initialization interfaces. This change adds a new macro for the main init 
   4697 and terminate external interfaces in order to support hosts that require 
   4698 additional or different processing for these functions. Changed from 
   4699 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
   4700 Zheng, Bob Moore.
   4701 
   4702 Cleaned up the memory allocation macros for configurability. In the 
   4703 common 
   4704 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
   4705 respective AcpiOs* OSL interfaces. Two options:
   4706 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
   4707 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
   4708 2) For AcpiExec (and for debugging), the macros can optionally be 
   4709 resolved 
   4710 to the local ACPICA interfaces that track each allocation (local tracking 
   4711 is used to immediately detect memory leaks).
   4712 Lv Zheng.
   4713 
   4714 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
   4715 to predefine this macro to either TRUE or FALSE during the system build.
   4716 
   4717 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
   4718 
   4719 Example Code and Data Size: These are the sizes for the OS-independent 
   4720 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4721 debug version of the code includes the debug output trace mechanism and 
   4722 has a much larger code and data size.
   4723 
   4724   Current Release:
   4725     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   4726     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   4727   Previous Release:
   4728     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   4729     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   4730 
   4731 
   4732 2) iASL Compiler/Disassembler and Tools:
   4733 
   4734 iASL: Implemented wildcard support for the -e option. This simplifies use 
   4735 when there are many SSDTs that must be included to resolve external 
   4736 method 
   4737 declarations. ACPICA BZ 1041. Example:
   4738     iasl -e ssdt*.dat -d dsdt.dat
   4739 
   4740 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
   4741 adds a portable module that implements full history and limited line 
   4742 editing for Unix and Linux systems. It does not use readline() due to 
   4743 portability issues. Instead it uses the POSIX termio interface to put the 
   4744 terminal in raw input mode so that the various special keys can be 
   4745 trapped 
   4746 (such as up/down-arrow for history support and left/right-arrow for line 
   4747 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
   4748 
   4749 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
   4750 one or more spaces. This provides compatible with early or different 
   4751 versions of the AcpiDump utility. ACPICA BZ 1044.
   4752 
   4753 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
   4754 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
   4755 no other data. This change adds support to dump these tables. Any tables 
   4756 shorter than the length of an ACPI table header remain in error (an error 
   4757 message is emitted). Reported by Yi Li.
   4758 
   4759 Debugger: Echo actual command along with the "unknown command" message.
   4760 
   4761 ----------------------------------------
   4762 23 August 2013. Summary of changes for version 20130823:
   4763 
   4764 1) ACPICA kernel-resident subsystem:
   4765 
   4766 Implemented support for host-installed System Control Interrupt (SCI) 
   4767 handlers. Certain ACPI functionality requires the host to handle raw 
   4768 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
   4769 state support requires the host device driver to handle SCIs to examine 
   4770 if the doorbell has been activated. Multiple SCI handlers can be 
   4771 installed to allow for future expansion. New external interfaces are 
   4772 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
   4773 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
   4774 
   4775 Operation region support: Never locally free the handler "context" 
   4776 pointer. This change removes some dangerous code that attempts to free 
   4777 the handler context pointer in some (rare) circumstances. The owner of 
   4778 the handler owns this pointer and the ACPICA code should never touch it. 
   4779 Although not seen to be an issue in any kernel, it did show up as a 
   4780 problem (fault) under AcpiExec. Also, set the internal storage field for 
   4781 the context pointer to zero when the region is deactivated, simply for 
   4782 sanity. David Box. ACPICA BZ 1039.
   4783 
   4784 AcpiRead: On error, do not modify the return value target location. If an 
   4785 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
   4786 modify the target of the return value pointer. Makes the code consistent 
   4787 with the rest of ACPICA. Bjorn Helgaas.
   4788 
   4789 Example Code and Data Size: These are the sizes for the OS-independent 
   4790 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4791 debug version of the code includes the debug output trace mechanism and 
   4792 has a much larger code and data size.
   4793 
   4794   Current Release:
   4795     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   4796     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   4797   Previous Release:
   4798     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   4799     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
   4800 
   4801 
   4802 2) iASL Compiler/Disassembler and Tools:
   4803 
   4804 AcpiDump: Implemented several new features and fixed some problems:
   4805 1) Added support to dump the RSDP, RSDT, and XSDT tables.
   4806 2) Added support for multiple table instances (SSDT, UEFI).
   4807 3) Added option to dump "customized" (overridden) tables (-c).
   4808 4) Fixed a problem where some table filenames were improperly 
   4809 constructed.
   4810 5) Improved some error messages, removed some unnecessary messages.
   4811 
   4812 iASL: Implemented additional support for disassembly of ACPI tables that 
   4813 contain invocations of external control methods. The -fe<file> option 
   4814 allows the import of a file that specifies the external methods along 
   4815 with the required number of arguments for each -- allowing for the 
   4816 correct disassembly of the table. This is a workaround for a limitation 
   4817 of AML code where the disassembler often cannot determine the number of 
   4818 arguments required for an external control method and generates incorrect 
   4819 ASL code. See the iASL reference for details. ACPICA BZ 1030.
   4820 
   4821 Debugger: Implemented a new command (paths) that displays the full 
   4822 pathnames (namepaths) and object types of all objects in the namespace. 
   4823 This is an alternative to the namespace command.
   4824 
   4825 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
   4826 mechanism and any installed handlers.
   4827 
   4828 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
   4829 This can occur if there are too many parent prefixes in a namepath (for 
   4830 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
   4831 
   4832 Application OSLs: Set the return value for the PCI read functions. These 
   4833 functions simply return AE_OK, but should set the return value to zero 
   4834 also. This change implements this. ACPICA BZ 1038.
   4835 
   4836 Debugger: Prevent possible command line buffer overflow. Increase the 
   4837 size of a couple of the debugger line buffers, and ensure that overflow 
   4838 cannot happen. ACPICA BZ 1037.
   4839 
   4840 iASL: Changed to abort immediately on serious errors during the parsing 
   4841 phase. Due to the nature of ASL, there is no point in attempting to 
   4842 compile these types of errors, and they typically end up causing a 
   4843 cascade of hundreds of errors which obscure the original problem.
   4844 
   4845 ----------------------------------------
   4846 25 July 2013. Summary of changes for version 20130725:
   4847 
   4848 1) ACPICA kernel-resident subsystem:
   4849 
   4850 Fixed a problem with the DerefOf operator where references to FieldUnits 
   4851 and BufferFields incorrectly returned the parent object, not the actual 
   4852 value of the object. After this change, a dereference of a FieldUnit 
   4853 reference results in a read operation on the field to get the value, and 
   4854 likewise, the appropriate BufferField value is extracted from the target 
   4855 buffer.
   4856 
   4857 Fixed a problem where the _WAK method could cause a fault under these 
   4858 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
   4859 method returned no value. The problem is rarely seen because most kernels 
   4860 run ACPICA in slack mode.
   4861 
   4862 For the DerefOf operator, a fatal error now results if an attempt is made 
   4863 to dereference a reference (created by the Index operator) to a NULL 
   4864 package element. Provides compatibility with other ACPI implementations, 
   4865 and this behavior will be added to a future version of the ACPI 
   4866 specification.
   4867 
   4868 The ACPI Power Management Timer (defined in the FADT) is now optional. 
   4869 This provides compatibility with other ACPI implementations and will 
   4870 appear in the next version of the ACPI specification. If there is no PM 
   4871 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
   4872 zero in the FADT indicates no PM timer.
   4873 
   4874 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
   4875 allows the host to globally enable/disable all vendor strings, all 
   4876 feature strings, or both. Intended to be primarily used for debugging 
   4877 purposes only. Lv Zheng.
   4878 
   4879 Expose the collected _OSI data to the host via a global variable. This 
   4880 data tracks the highest level vendor ID that has been invoked by the BIOS 
   4881 so that the host (and potentially ACPICA itself) can change behaviors 
   4882 based upon the age of the BIOS.
   4883 
   4884 Example Code and Data Size: These are the sizes for the OS-independent 
   4885 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4886 debug version of the code includes the debug output trace mechanism and 
   4887 has a much larger code and data size.
   4888 
   4889   Current Release:
   4890     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   4891     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   4892   Previous Release:
   4893     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   4894     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   4895 
   4896 
   4897 2) iASL Compiler/Disassembler and Tools:
   4898 
   4899 iASL: Created the following enhancements for the -so option (create 
   4900 offset table):
   4901 1)Add offsets for the last nameseg in each namepath for every supported 
   4902 object type
   4903 2)Add support for Processor, Device, Thermal Zone, and Scope objects
   4904 3)Add the actual AML opcode for the parent object of every supported 
   4905 object type
   4906 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
   4907 
   4908 Disassembler: Emit all unresolved external symbols in a single block. 
   4909 These are external references to control methods that could not be 
   4910 resolved, and thus, the disassembler had to make a guess at the number of 
   4911 arguments to parse.
   4912 
   4913 iASL: The argument to the -T option (create table template) is now 
   4914 optional. If not specified, the default table is a DSDT, typically the 
   4915 most common case.
   4916 
   4917 ----------------------------------------
   4918 26 June 2013. Summary of changes for version 20130626:
   4919 
   4920 1) ACPICA kernel-resident subsystem:
   4921 
   4922 Fixed an issue with runtime repair of the _CST object. Null or invalid 
   4923 elements were not always removed properly. Lv Zheng. 
   4924 
   4925 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
   4926 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
   4927 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
   4928 makes the system-wide number of GPEs essentially unlimited.
   4929 
   4930 Example Code and Data Size: These are the sizes for the OS-independent 
   4931 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4932 debug version of the code includes the debug output trace mechanism and 
   4933 has a much larger code and data size.
   4934 
   4935   Current Release:
   4936     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   4937     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   4938   Previous Release:
   4939     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   4940     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   4941 
   4942 
   4943 2) iASL Compiler/Disassembler and Tools:
   4944 
   4945 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
   4946 hosts. Now supports Linux, FreeBSD, and Windows.
   4947 
   4948 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
   4949 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
   4950 
   4951 iASL/Preprocessor: Implemented full support for nested 
   4952 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
   4953 
   4954 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
   4955 max. The original purpose of this constraint was to limit the amount of 
   4956 debug output. However, the string function in question (UtPrintString) is 
   4957 now used for the disassembler also, where 256 bytes is insufficient. 
   4958 Reported by RehabMan@GitHub.
   4959 
   4960 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
   4961 tables. ACPICA BZ 999. Lv Zheng.
   4962 
   4963 iASL: Fixed a couple of error exit issues that could result in a "Could 
   4964 not delete <file>" message during ASL compilation.
   4965 
   4966 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
   4967 the actual signatures for these tables are "FACP" and "APIC", 
   4968 respectively.
   4969 
   4970 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
   4971 tables are allowed to have multiple instances.
   4972 
   4973 ----------------------------------------
   4974 17 May 2013. Summary of changes for version 20130517:
   4975 
   4976 1) ACPICA kernel-resident subsystem:
   4977 
   4978 Fixed a regression introduced in version 20130328 for _INI methods. This 
   4979 change fixes a problem introduced in 20130328 where _INI methods are no 
   4980 longer executed properly because of a memory block that was not 
   4981 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
   4982 <tomasz.nowicki (a] linaro.org>.
   4983 
   4984 Fixed a possible problem with the new extended sleep registers in the 
   4985 ACPI 
   4986 5.0 FADT. Do not use these registers (even if populated) unless the HW-
   4987 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
   4988 1020. Lv Zheng.
   4989 
   4990 Implemented return value repair code for _CST predefined objects: Sort 
   4991 the 
   4992 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
   4993 
   4994 Implemented a debug-only option to disable loading of SSDTs from the 
   4995 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
   4996 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
   4997 acglobal.h - ACPICA BZ 1005. Lv Zheng.
   4998 
   4999 Fixed some issues in the ACPICA initialization and termination code: 
   5000 Tomasz Nowicki <tomasz.nowicki (a] linaro.org>
   5001 1) Clear events initialized flag upon event component termination. ACPICA 
   5002 BZ 1013.
   5003 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
   5004 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
   5005 4) Clear debug buffer global on termination to prevent possible multiple 
   5006 delete. ACPICA BZ 1010.
   5007 
   5008 Standardized all switch() blocks across the entire source base. After 
   5009 many 
   5010 years, different formatting for switch() had crept in. This change makes 
   5011 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
   5012 
   5013 Split some files to enhance ACPICA modularity and configurability:
   5014 1) Split buffer dump routines into utilities/utbuffer.c
   5015 2) Split internal error message routines into utilities/uterror.c
   5016 3) Split table print utilities into tables/tbprint.c
   5017 4) Split iASL command-line option processing into asloptions.c
   5018 
   5019 Makefile enhancements:
   5020 1) Support for all new files above.
   5021 2) Abort make on errors from any subcomponent. Chao Guan.
   5022 3) Add build support for Apple Mac OS X. Liang Qi.
   5023 
   5024 Example Code and Data Size: These are the sizes for the OS-independent 
   5025 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5026 debug version of the code includes the debug output trace mechanism and 
   5027 has a much larger code and data size.
   5028 
   5029   Current Release:
   5030     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   5031     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   5032   Previous Release:
   5033     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   5034     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   5035 
   5036 
   5037 2) iASL Compiler/Disassembler and Tools:
   5038 
   5039 New utility: Implemented an easily portable version of the acpidump 
   5040 utility to extract ACPI tables from the system (or a file) in an ASCII 
   5041 hex 
   5042 dump format. The top-level code implements the various command line 
   5043 options, file I/O, and table dump routines. To port to a new host, only 
   5044 three functions need to be implemented to get tables -- since this 
   5045 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
   5046 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
   5047 1) The Windows version obtains the ACPI tables from the Registry.
   5048 2) The Linux version is under development.
   5049 3) Other hosts - If an OS-dependent module is submitted, it will be 
   5050 distributed with ACPICA.
   5051 
   5052 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
   5053 restructuring/change to the initialization sequence caused this option to 
   5054 no longer work properly.
   5055 
   5056 iASL: Implemented a mechanism to disable specific warnings and remarks. 
   5057 Adds a new command line option, "-vw <messageid> as well as "#pragma 
   5058 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
   5059 
   5060 iASL: Fix for too-strict package object validation. The package object 
   5061 validation for return values from the predefined names is a bit too 
   5062 strict, it does not allow names references within the package (which will 
   5063 be resolved at runtime.) These types of references cannot be validated at 
   5064 compile time. This change ignores named references within package objects 
   5065 for names that return or define static packages.
   5066 
   5067 Debugger: Fixed the 80-character command line limitation for the History 
   5068 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
   5069 
   5070 iASL: Added control method and package support for the -so option 
   5071 (generates AML offset table for BIOS support.)
   5072 
   5073 iASL: issue a remark if a non-serialized method creates named objects. If 
   5074 a thread blocks within the method for any reason, and another thread 
   5075 enters the method, the method will fail because an attempt will be made 
   5076 to 
   5077 create the same (named) object twice. In this case, issue a remark that 
   5078 the method should be marked serialized. NOTE: may become a warning later. 
   5079 ACPICA BZ 909.
   5080 
   5081 ----------------------------------------
   5082 18 April 2013. Summary of changes for version 20130418:
   5083 
   5084 1) ACPICA kernel-resident subsystem:
   5085 
   5086 Fixed a possible buffer overrun during some rare but specific field unit 
   5087 read operations. This overrun can only happen if the DSDT version is 1 -- 
   5088 meaning that all AML integers are 32 bits -- and the field length is 
   5089 between 33 and 55 bits long. During the read, an internal buffer object 
   5090 is 
   5091 created for the field unit because the field is larger than an integer 
   5092 (32 
   5093 bits). However, in this case, the buffer will be incorrectly written 
   5094 beyond the end because the buffer length is less than the internal 
   5095 minimum 
   5096 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
   5097 long, but a full 8 bytes will be written.
   5098 
   5099 Updated the Embedded Controller "orphan" _REG method support. This refers 
   5100 to _REG methods under the EC device that have no corresponding operation 
   5101 region. This is allowed by the ACPI specification. This update removes a 
   5102 dependency on the existence an ECDT table. It will execute an orphan _REG 
   5103 method as long as the operation region handler for the EC is installed at 
   5104 the EC device node and not the namespace root. Rui Zhang (original 
   5105 update), Bob Moore (update/integrate).
   5106 
   5107 Implemented run-time argument typechecking for all predefined ACPI names 
   5108 (_STA, _BIF, etc.) This change performs object typechecking on all 
   5109 incoming arguments for all predefined names executed via 
   5110 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
   5111 passing correct object types as well as the correct number of arguments 
   5112 (therefore identifying any issues immediately). Also, the ASL/namespace 
   5113 definition of the predefined name is checked against the ACPI 
   5114 specification for the proper argument count. Adds one new file, 
   5115 nsarguments.c
   5116 
   5117 Changed an exception code for the ASL UnLoad() operator. Changed the 
   5118 exception code for the case where the input DdbHandle is invalid, from 
   5119 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
   5120 
   5121 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
   5122 global makefile. The use of this flag causes compiler errors on earlier 
   5123 versions of GCC, so it has been removed for compatibility.
   5124 
   5125 Miscellaneous cleanup:
   5126 1) Removed some unused/obsolete macros
   5127 2) Fixed a possible memory leak in the _OSI support
   5128 3) Removed an unused variable in the predefined name support
   5129 4) Windows OSL: remove obsolete reference to a memory list field
   5130 
   5131 Example Code and Data Size: These are the sizes for the OS-independent 
   5132 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5133 debug version of the code includes the debug output trace mechanism and 
   5134 has a much larger code and data size.
   5135 
   5136   Current Release:
   5137     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   5138     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   5139   Previous Release:
   5140     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   5141     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   5142 
   5143 
   5144 2) iASL Compiler/Disassembler and Tools:
   5145 
   5146 AcpiExec: Added installation of a handler for the SystemCMOS address 
   5147 space. This prevents control method abort if a method accesses this 
   5148 space.
   5149 
   5150 AcpiExec: Added support for multiple EC devices, and now install EC 
   5151 operation region handler(s) at the actual EC device instead of the 
   5152 namespace root. This reflects the typical behavior of host operating 
   5153 systems.
   5154 
   5155 AcpiExec: Updated to ensure that all operation region handlers are 
   5156 installed before the _REG methods are executed. This prevents a _REG 
   5157 method from aborting if it accesses an address space has no handler. 
   5158 AcpiExec installs a handler for every possible address space.
   5159 
   5160 Debugger: Enhanced the "handlers" command to display non-root handlers. 
   5161 This change enhances the handlers command to display handlers associated 
   5162 with individual devices throughout the namespace, in addition to the 
   5163 currently supported display of handlers associated with the root 
   5164 namespace 
   5165 node.
   5166 
   5167 ASL Test Suite: Several test suite errors have been identified and 
   5168 resolved, reducing the total error count during execution. Chao Guan.
   5169 
   5170 ----------------------------------------
   5171 28 March 2013. Summary of changes for version 20130328:
   5172 
   5173 1) ACPICA kernel-resident subsystem:
   5174 
   5175 Fixed several possible race conditions with the internal object reference 
   5176 counting mechanism. Some of the external ACPICA interfaces update object 
   5177 reference counts without holding the interpreter or namespace lock. This 
   5178 change adds a spinlock to protect reference count updates on the internal 
   5179 ACPICA objects. Reported by and with assistance from Andriy Gapon 
   5180 (avg (a] FreeBSD.org).
   5181 
   5182 FADT support: Removed an extraneous warning for very large GPE register 
   5183 sets. This change removes a size mismatch warning if the legacy length 
   5184 field for a GPE register set is larger than the 64-bit GAS structure can 
   5185 accommodate. GPE register sets can be larger than the 255-bit width 
   5186 limitation of the GAS structure. Linn Crosetto (linn (a] hp.com).
   5187 
   5188 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
   5189 return from this interface. Handles a possible timeout case if 
   5190 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
   5191 "forever". Jung-uk Kim.
   5192 
   5193 Predefined name support: Add allowed/required argument type information 
   5194 to 
   5195 the master predefined info table. This change adds the infrastructure to 
   5196 enable typechecking on incoming arguments for all predefined 
   5197 methods/objects. It does not actually contain the code that will fully 
   5198 utilize this information, this is still under development. Also condenses 
   5199 some duplicate code for the predefined names into a new module, 
   5200 utilities/utpredef.c
   5201 
   5202 Example Code and Data Size: These are the sizes for the OS-independent 
   5203 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5204 debug version of the code includes the debug output trace mechanism and 
   5205 has a much larger code and data size.
   5206 
   5207   Previous Release:
   5208     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   5209     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   5210   Current Release:
   5211     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   5212     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   5213 
   5214 
   5215 2) iASL Compiler/Disassembler and Tools:
   5216 
   5217 iASL: Implemented a new option to simplify the development of ACPI-
   5218 related 
   5219 BIOS code. Adds support for a new "offset table" output file. The -so 
   5220 option will create a C table containing the AML table offsets of various 
   5221 named objects in the namespace so that BIOS code can modify them easily 
   5222 at 
   5223 boot time. This can simplify BIOS runtime code by eliminating expensive 
   5224 searches for "magic values", enhancing boot times and adding greater 
   5225 reliability. With assistance from Lee Hamel.
   5226 
   5227 iASL: Allow additional predefined names to return zero-length packages. 
   5228 Now, all predefined names that are defined by the ACPI specification to 
   5229 return a "variable-length package of packages" are allowed to return a 
   5230 zero length top-level package. This allows the BIOS to tell the host that 
   5231 the requested feature is not supported, and supports existing BIOS/ASL 
   5232 code and practices.
   5233 
   5234 iASL: Changed the "result not used" warning to an error. This is the case 
   5235 where an ASL operator is effectively a NOOP because the result of the 
   5236 operation is not stored anywhere. For example:
   5237     Add (4, Local0)
   5238 There is no target (missing 3rd argument), nor is the function return 
   5239 value used. This is potentially a very serious problem -- since the code 
   5240 was probably intended to do something, but for whatever reason, the value 
   5241 was not stored. Therefore, this issue has been upgraded from a warning to 
   5242 an error.
   5243 
   5244 AcpiHelp: Added allowable/required argument types to the predefined names 
   5245 info display. This feature utilizes the recent update to the predefined 
   5246 names table (above).
   5247 
   5248 ----------------------------------------
   5249 14 February 2013. Summary of changes for version 20130214:
   5250 
   5251 1) ACPICA Kernel-resident Subsystem:
   5252 
   5253 Fixed a possible regression on some hosts: Reinstated the safe return 
   5254 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
   5255 evaluated only once. Although these macros are not needed for the ACPICA 
   5256 code itself, they are often used by ACPI-related host device drivers 
   5257 where 
   5258 the safe feature may be necessary.
   5259 
   5260 Fixed several issues related to the ACPI 5.0 reduced hardware support 
   5261 (SOC): Now ensure that if the platform declares itself as hardware-
   5262 reduced 
   5263 via the FADT, the following functions become NOOPs (and always return 
   5264 AE_OK) because ACPI is always enabled by definition on these machines:
   5265   AcpiEnable
   5266   AcpiDisable
   5267   AcpiHwGetMode
   5268   AcpiHwSetMode
   5269 
   5270 Dynamic Object Repair: Implemented additional runtime repairs for 
   5271 predefined name return values. Both of these repairs can simplify code in 
   5272 the related device drivers that invoke these methods:
   5273 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
   5274 string to a Unicode buffer. 
   5275 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
   5276 a 
   5277 lone end tag descriptor in the following cases: A Return(0) was executed, 
   5278 a null buffer was returned, or no object at all was returned (non-slack 
   5279 mode only). Adds a new file, nsconvert.c
   5280 ACPICA BZ 998. Bob Moore, Lv Zheng.
   5281 
   5282 Resource Manager: Added additional code to prevent possible infinite 
   5283 loops 
   5284 while traversing corrupted or ill-formed resource template buffers. Check 
   5285 for zero-length resource descriptors in all code that loops through 
   5286 resource templates (the length field is used to index through the 
   5287 template). This change also hardens the external AcpiWalkResources and 
   5288 AcpiWalkResourceBuffer interfaces.
   5289 
   5290 Local Cache Manager: Enhanced the main data structure to eliminate an 
   5291 unnecessary mechanism to access the next object in the list. Actually 
   5292 provides a small performance enhancement for hosts that use the local 
   5293 ACPICA cache manager. Jung-uk Kim.
   5294 
   5295 Example Code and Data Size: These are the sizes for the OS-independent 
   5296 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5297 debug version of the code includes the debug output trace mechanism and 
   5298 has a much larger code and data size.
   5299 
   5300   Previous Release:
   5301     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   5302     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   5303   Current Release:
   5304     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   5305     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   5306 
   5307 
   5308 2) iASL Compiler/Disassembler and Tools:
   5309 
   5310 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
   5311 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
   5312 that were made to the ACPI 5.0 specification.
   5313 
   5314 iASL/Disassembler: Added full support for the following new ACPI tables:
   5315   1) The MTMR table (MID Timer Table)
   5316   2) The VRTC table (Virtual Real Time Clock Table).
   5317 Includes header file, disassembler, table compiler, and template support 
   5318 for both tables.
   5319 
   5320 iASL: Implemented compile-time validation of package objects returned by 
   5321 predefined names. This new feature validates static package objects 
   5322 returned by the various predefined names defined to return packages. Both 
   5323 object types and package lengths are validated, for both parent packages 
   5324 and sub-packages, if any. The code is similar in structure and behavior 
   5325 to 
   5326 the runtime repair mechanism within the AML interpreter and uses the 
   5327 existing predefined name information table. Adds a new file, aslprepkg.c. 
   5328 ACPICA BZ 938.
   5329 
   5330 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
   5331 This feature detects a binary file with a valid ACPI table header and 
   5332 invokes the disassembler automatically. Eliminates the need to 
   5333 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
   5334 
   5335 iASL/Disassembler: Added several warnings for the case where there are 
   5336 unresolved control methods during the disassembly. This can potentially 
   5337 cause errors when the output file is compiled, because the disassembler 
   5338 assumes zero method arguments in these cases (it cannot determine the 
   5339 actual number of arguments without resolution/definition of the method).
   5340 
   5341 Debugger: Added support to display all resources with a single command. 
   5342 Invocation of the resources command with no arguments will now display 
   5343 all 
   5344 resources within the current namespace.
   5345 
   5346 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
   5347 via the -e option.
   5348 
   5349 ----------------------------------------
   5350 17 January 2013. Summary of changes for version 20130117:
   5351 
   5352 1) ACPICA Kernel-resident Subsystem:
   5353 
   5354 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
   5355 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
   5356 objects to return a package containing one integer, most BIOS code 
   5357 returns 
   5358 two integers and the previous code reflects that. However, we also need 
   5359 to 
   5360 support BIOS code that actually implements to the ACPI spec, and this 
   5361 change reflects this.
   5362 
   5363 Fixed two issues with the ACPI_DEBUG_PRINT macros:
   5364 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
   5365 C compilers that require this support.
   5366 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
   5367 ACPI_DEBUG is already used by many of the various hosts.
   5368 
   5369 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
   5370 copyright to all module headers and signons, including the standard Linux 
   5371 header. This affects virtually every file in the ACPICA core subsystem, 
   5372 iASL compiler, all ACPICA utilities, and the test suites.
   5373 
   5374 Example Code and Data Size: These are the sizes for the OS-independent 
   5375 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5376 debug version of the code includes the debug output trace mechanism and 
   5377 has a much larger code and data size.
   5378 
   5379   Previous Release:
   5380     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   5381     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   5382   Current Release:
   5383     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   5384     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   5385 
   5386 
   5387 2) iASL Compiler/Disassembler and Tools:
   5388 
   5389 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
   5390 prevent a possible fault on some hosts. Some C libraries modify the arg 
   5391 pointer parameter to vfprintf making it difficult to call it twice in the 
   5392 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
   5393 does not affect the Windows OSL since the Win C library does not modify 
   5394 the arg pointer. Chao Guan, Bob Moore.
   5395 
   5396 iASL: Fixed a possible infinite loop when the maximum error count is 
   5397 reached. If an output file other than the .AML file is specified (such as 
   5398 a listing file), and the maximum number of errors is reached, do not 
   5399 attempt to flush data to the output file(s) as the compiler is aborting. 
   5400 This can cause an infinite loop as the max error count code essentially 
   5401 keeps calling itself.
   5402 
   5403 iASL/Disassembler: Added an option (-in) to ignore NOOP 
   5404 opcodes/operators. 
   5405 Implemented for both the compiler and the disassembler. Often, the NOOP 
   5406 opcode is used as padding for packages that are changed dynamically by 
   5407 the 
   5408 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
   5409 errors. This option causes the disassembler to ignore all NOOP opcodes 
   5410 (0xA3), and it also causes the compiler to ignore all ASL source code 
   5411 NOOP 
   5412 statements as well.
   5413 
   5414 Debugger: Enhanced the Sleep command to execute all sleep states. This 
   5415 change allows Sleep to be invoked with no arguments and causes the 
   5416 debugger to execute all of the sleep states, 0-5, automatically.
   5417 
   5418 ----------------------------------------
   5419 20 December 2012. Summary of changes for version 20121220:
   5420 
   5421 1) ACPICA Kernel-resident Subsystem:
   5422 
   5423 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
   5424 alternate entry point for AcpiWalkResources and improves the usability of 
   5425 the resource manager by accepting as input a buffer containing the output 
   5426 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
   5427 input buffer is not deleted by this interface so that it can be used by 
   5428 the host later. See the ACPICA reference for details.
   5429 
   5430 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
   5431 (DSDT version < 2). The constant will be truncated and this warning 
   5432 reflects that behavior.
   5433 
   5434 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
   5435 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
   5436 both get and set the new wake bit in these descriptors, separately from 
   5437 the existing share bit. Reported by Aaron Lu.
   5438 
   5439 Interpreter: Fix Store() when an implicit conversion is not possible. For 
   5440 example, in the cases such as a store of a string to an existing package 
   5441 object, implement the store as a CopyObject(). This is a small departure 
   5442 from the ACPI specification which states that the control method should 
   5443 be 
   5444 aborted in this case. However, the ASLTS suite depends on this behavior.
   5445 
   5446 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
   5447 macros: check if debug output is currently enabled as soon as possible to 
   5448 minimize performance impact if debug is in fact not enabled.
   5449 
   5450 Source code restructuring: Cleanup to improve modularity. The following 
   5451 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
   5452 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
   5453 Associated makefiles and project files have been updated.
   5454 
   5455 Changed an exception code for LoadTable operator. For the case where one 
   5456 of the input strings is too long, change the returned exception code from 
   5457 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
   5458 
   5459 Fixed a possible memory leak in dispatcher error path. On error, delete 
   5460 the mutex object created during method mutex creation. Reported by 
   5461 tim.gardner (a] canonical.com.
   5462 
   5463 Example Code and Data Size: These are the sizes for the OS-independent 
   5464 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5465 debug version of the code includes the debug output trace mechanism and 
   5466 has a much larger code and data size.
   5467 
   5468   Previous Release:
   5469     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   5470     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   5471   Current Release:
   5472     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   5473     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   5474 
   5475 
   5476 2) iASL Compiler/Disassembler and Tools:
   5477 
   5478 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
   5479 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
   5480 will not allow the interpreter to differentiate between a method and a 
   5481 method invocation when these are used as an argument to the ObjectType 
   5482 operator. The ACPI specification change is to disallow a method 
   5483 invocation 
   5484 (UserTerm) for the ObjectType operator.
   5485 
   5486 Finish support for the TPM2 and CSRT tables in the headers, table 
   5487 compiler, and disassembler.
   5488 
   5489 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
   5490 always expires immediately if the semaphore is not available. The 
   5491 original 
   5492 code was using a relative-time timeout, but sem_timedwait requires the 
   5493 use 
   5494 of an absolute time.
   5495 
   5496 iASL: Added a remark if the Timer() operator is used within a 32-bit 
   5497 table. This operator returns a 64-bit time value that will be truncated 
   5498 within a 32-bit table.
   5499 
   5500 iASL Source code restructuring: Cleanup to improve modularity. The 
   5501 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
   5502 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
   5503 been updated.
   5504 
   5505 
   5506 ----------------------------------------
   5507 14 November 2012. Summary of changes for version 20121114:
   5508 
   5509 1) ACPICA Kernel-resident Subsystem:
   5510 
   5511 Implemented a performance enhancement for ACPI/AML Package objects. This 
   5512 change greatly increases the performance of Package objects within the 
   5513 interpreter. It changes the processing of reference counts for packages 
   5514 by 
   5515 optimizing for the most common case where the package sub-objects are 
   5516 either Integers, Strings, or Buffers. Increases the overall performance 
   5517 of 
   5518 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
   5519 2X.) 
   5520 Chao Guan. ACPICA BZ 943.
   5521 
   5522 Implemented and deployed common macros to extract flag bits from resource 
   5523 descriptors. Improves readability and maintainability of the code. Fixes 
   5524 a 
   5525 problem with the UART serial bus descriptor for the number of data bits 
   5526 flags (was incorrectly 2 bits, should be 3).
   5527 
   5528 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
   5529 of the macros and changed the SETx macros to the style of (destination, 
   5530 source). Also added ACPI_CASTx companion macros. Lv Zheng.
   5531 
   5532 Example Code and Data Size: These are the sizes for the OS-independent 
   5533 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5534 debug version of the code includes the debug output trace mechanism and 
   5535 has a much larger code and data size.
   5536 
   5537   Previous Release:
   5538     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   5539     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   5540   Current Release:
   5541     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   5542     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   5543 
   5544 
   5545 2) iASL Compiler/Disassembler and Tools:
   5546 
   5547 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
   5548 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
   5549 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
   5550 
   5551 Disassembler: Fixed a problem with external declaration generation. Fixes 
   5552 a problem where an incorrect pathname could be generated for an external 
   5553 declaration if the original reference to the object includes leading 
   5554 carats (^). ACPICA BZ 984.
   5555 
   5556 Debugger: Completed a major update for the Disassemble<method> command. 
   5557 This command was out-of-date and did not properly disassemble control 
   5558 methods that had any reasonable complexity. This fix brings the command 
   5559 up 
   5560 to the same level as the rest of the disassembler. Adds one new file, 
   5561 dmdeferred.c, which is existing code that is now common with the main 
   5562 disassembler and the debugger disassemble command. ACPICA MZ 978.
   5563 
   5564 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
   5565 Newer versions of Bison emit this prototype, so moved the prototype out 
   5566 of 
   5567 the iASL header to where it is actually used in order to avoid a 
   5568 duplicate 
   5569 declaration.
   5570 
   5571 iASL/Tools: Standardized use of the stream I/O functions:
   5572   1) Ensure check for I/O error after every fopen/fread/fwrite
   5573   2) Ensure proper order of size/count arguments for fread/fwrite
   5574   3) Use test of (Actual != Requested) after all fwrite, and most fread
   5575   4) Standardize I/O error messages
   5576 Improves reliability and maintainability of the code. Bob Moore, Lv 
   5577 Zheng. 
   5578 ACPICA BZ 981.
   5579 
   5580 Disassembler: Prevent duplicate External() statements. During generation 
   5581 of external statements, detect similar pathnames that are actually 
   5582 duplicates such as these:
   5583   External (\ABCD)
   5584   External (ABCD)
   5585 Remove all leading '\' characters from pathnames during the external 
   5586 statement generation so that duplicates will be detected and tossed. 
   5587 ACPICA BZ 985.
   5588 
   5589 Tools: Replace low-level I/O with stream I/O functions. Replace 
   5590 open/read/write/close with the stream I/O equivalents 
   5591 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
   5592 Moore.
   5593 
   5594 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
   5595 name header so that AcpiXtract recognizes the output file/table.
   5596 
   5597 iASL: Remove obsolete -2 option flag. Originally intended to force the 
   5598 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
   5599 and the entire concept is now obsolete.
   5600 
   5601 ----------------------------------------
   5602 18 October 2012. Summary of changes for version 20121018:
   5603 
   5604 
   5605 1) ACPICA Kernel-resident Subsystem:
   5606 
   5607 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
   5608 introduced by late changes to the table as it was added to the ACPI 5.0 
   5609 specification. Includes header, disassembler, and data table compiler 
   5610 support as well as a new version of the MPST template.
   5611 
   5612 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
   5613 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
   5614 methods: _HID, _CID, and _UID.
   5615 
   5616 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
   5617 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
   5618 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
   5619 names for their various drivers. Affects the AcpiGetObjectInfo external 
   5620 interface, and other internal interfaces as well.
   5621 
   5622 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
   5623 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
   5624 on machines that support non-aligned transfers. Optimizes for this case 
   5625 rather than using a strncpy. With assistance from Zheng Lv.
   5626 
   5627 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
   5628 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
   5629 
   5630 Added a new debug print message for AML mutex objects that are force-
   5631 released. At control method termination, any currently acquired mutex 
   5632 objects are force-released. Adds a new debug-only message for each one 
   5633 that is released.
   5634 
   5635 Audited/updated all ACPICA return macros and the function debug depth 
   5636 counter: 1) Ensure that all functions that use the various TRACE macros 
   5637 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
   5638 return statements surround the return expression (value) with parens to 
   5639 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
   5640 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
   5641 
   5642 Global source code changes/maintenance: All extra lines at the start and 
   5643 end of each source file have been removed for consistency. Also, within 
   5644 comments, all new sentences start with a single space instead of a double 
   5645 space, again for consistency across the code base.
   5646 
   5647 Example Code and Data Size: These are the sizes for the OS-independent 
   5648 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5649 debug version of the code includes the debug output trace mechanism and 
   5650 has a much larger code and data size.
   5651 
   5652   Previous Release:
   5653     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   5654     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   5655   Current Release:
   5656     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   5657     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   5658 
   5659 
   5660 2) iASL Compiler/Disassembler and Tools:
   5661 
   5662 AcpiExec: Improved the algorithm used for memory leak/corruption 
   5663 detection. Added some intelligence to the code that maintains the global 
   5664 list of allocated memory. The list is now ordered by allocated memory 
   5665 address, significantly improving performance. When running AcpiExec on 
   5666 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
   5667 on the platform and/or the environment. Note, this performance 
   5668 enhancement affects the AcpiExec utility only, not the kernel-resident 
   5669 ACPICA code.
   5670 
   5671 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
   5672 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
   5673 incorrect table offset reported for invalid opcodes. Report the original 
   5674 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
   5675 
   5676 Disassembler: Enhanced the -vt option to emit the binary table data in 
   5677 hex format to assist with debugging.
   5678 
   5679 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
   5680 size of file structure. Colin Ian King.
   5681 
   5682 ----------------------------------------
   5683 13 September 2012. Summary of changes for version 20120913:
   5684 
   5685 
   5686 1) ACPICA Kernel-resident Subsystem:
   5687 
   5688 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
   5689 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
   5690 and 
   5691 MCE(6).
   5692  
   5693 Table Manager: Merged/removed duplicate code in the root table resize 
   5694 functions. One function is external, the other is internal. Lv Zheng, 
   5695 ACPICA 
   5696 BZ 846.
   5697 
   5698 Makefiles: Completely removed the obsolete "Linux" makefiles under 
   5699 acpica/generate/linux. These makefiles are obsolete and have been 
   5700 replaced 
   5701 by 
   5702 the generic unix makefiles under acpica/generate/unix.
   5703 
   5704 Makefiles: Ensure that binary files always copied properly. Minor rule 
   5705 change 
   5706 to ensure that the final binary output files are always copied up to the 
   5707 appropriate binary directory (bin32 or bin64.)
   5708 
   5709 Example Code and Data Size: These are the sizes for the OS-independent 
   5710 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5711 debug 
   5712 version of the code includes the debug output trace mechanism and has a 
   5713 much 
   5714 larger code and data size.
   5715 
   5716   Previous Release:
   5717     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   5718     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   5719   Current Release:
   5720     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   5721     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   5722 
   5723 
   5724 2) iASL Compiler/Disassembler and Tools:
   5725 
   5726 Disassembler: Fixed a possible fault during the disassembly of resource 
   5727 descriptors when a second parse is required because of the invocation of 
   5728 external control methods within the table. With assistance from 
   5729 adq (a] lidskialf.net. ACPICA BZ 976.
   5730 
   5731 iASL: Fixed a namepath optimization problem. An error can occur if the 
   5732 parse 
   5733 node that contains the namepath to be optimized does not have a parent 
   5734 node 
   5735 that is a named object. This change fixes the problem.
   5736 
   5737 iASL: Fixed a regression where the AML file is not deleted on errors. The 
   5738 AML 
   5739 output file should be deleted if there are any errors during the 
   5740 compiler. 
   5741 The 
   5742 only exception is if the -f (force output) option is used. ACPICA BZ 974.
   5743 
   5744 iASL: Added a feature to automatically increase internal line buffer 
   5745 sizes. 
   5746 Via realloc(), automatically increase the internal line buffer sizes as 
   5747 necessary to support very long source code lines. The current version of 
   5748 the 
   5749 preprocessor requires a buffer long enough to contain full source code 
   5750 lines. 
   5751 This change increases the line buffer(s) if the input lines go beyond the 
   5752 current buffer size. This eliminates errors that occurred when a source 
   5753 code 
   5754 line was longer than the buffer.
   5755 
   5756 iASL: Fixed a problem with constant folding in method declarations. The 
   5757 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
   5758 if a 
   5759 Type3 opcode was used.
   5760 
   5761 Debugger: Improved command help support. For incorrect argument count, 
   5762 display 
   5763 full help for the command. For help command itself, allow an argument to 
   5764 specify a command.
   5765 
   5766 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
   5767 errors during execution of the suite. Guan Chao.
   5768 
   5769 ----------------------------------------
   5770 16 August 2012. Summary of changes for version 20120816:
   5771 
   5772 
   5773 1) ACPICA Kernel-resident Subsystem:
   5774 
   5775 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
   5776 _GTS 
   5777 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
   5778 deprecated and will probably be removed from the ACPI specification. 
   5779 Windows 
   5780 does not invoke them, and reportedly never will. The final nail in the 
   5781 coffin 
   5782 is that the ACPI specification states that these methods must be run with 
   5783 interrupts off, which is not going to happen in a kernel interpreter. 
   5784 Note: 
   5785 Linux has removed all use of the methods also. It was discovered that 
   5786 invoking these functions caused failures on some machines, probably 
   5787 because 
   5788 they were never tested since Windows does not call them. Affects two 
   5789 external 
   5790 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
   5791 ACPICA BZ 969.
   5792 
   5793 Implemented support for complex bit-packed buffers returned from the _PLD 
   5794 (Physical Location of Device) predefined method. Adds a new external 
   5795 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
   5796 C 
   5797 structure. Note: C Bitfields cannot be used for this type of predefined 
   5798 structure since the memory layout of individual bitfields is not defined 
   5799 by 
   5800 the C language. In addition, there are endian concerns where a compiler 
   5801 will 
   5802 change the bitfield ordering based on the machine type. The new ACPICA 
   5803 interface eliminates these issues, and should be called after _PLD is 
   5804 executed. ACPICA BZ 954.
   5805 
   5806 Implemented a change to allow a scope change to root (via "Scope (\)") 
   5807 during 
   5808 execution of module-level ASL code (code that is executed at table load 
   5809 time.) Lin Ming.
   5810 
   5811 Added the Windows8/Server2012 string for the _OSI method. This change 
   5812 adds 
   5813 a 
   5814 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
   5815 2012.
   5816 
   5817 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
   5818 2) 
   5819 and CSRT (Core System Resource Table).
   5820 
   5821 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
   5822 names. This simplifies access to the buffers returned by these predefined 
   5823 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
   5824 
   5825 GPE support: Removed an extraneous parameter from the various low-level 
   5826 internal GPE functions. Tang Feng.
   5827 
   5828 Removed the linux makefiles from the unix packages. The generate/linux 
   5829 makefiles are obsolete and have been removed from the unix tarball 
   5830 release 
   5831 packages. The replacement makefiles are under generate/unix, and there is 
   5832 a 
   5833 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
   5834 
   5835 Updates for Unix makefiles:
   5836 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
   5837 2) Update linker flags (move to end of command line) for AcpiExec 
   5838 utility. 
   5839 Guan Chao.
   5840 
   5841 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
   5842 utxface.c to improve modularity and reduce file size.
   5843 
   5844 Example Code and Data Size: These are the sizes for the OS-independent 
   5845 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5846 debug version of the code includes the debug output trace mechanism and 
   5847 has a 
   5848 much larger code and data size.
   5849 
   5850   Previous Release:
   5851     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   5852     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   5853   Current Release:
   5854     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   5855     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   5856 
   5857 
   5858 2) iASL Compiler/Disassembler and Tools:
   5859 
   5860 iASL: Fixed a problem with constant folding for fixed-length constant 
   5861 expressions. The constant-folding code was not being invoked for constant 
   5862 expressions that allow the use of type 3/4/5 opcodes to generate 
   5863 constants 
   5864 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
   5865 result 
   5866 in the generation of invalid AML bytecode. ACPICA BZ 970.
   5867 
   5868 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
   5869 apparently automatically emit some of the necessary externals. This 
   5870 change 
   5871 handles these versions in order to eliminate generation warnings.
   5872 
   5873 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
   5874 
   5875 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
   5876 appears 
   5877 within comments in the output file.
   5878 
   5879 Debugger: Fixed a regression with the "Threads" command where 
   5880 AE_BAD_PARAMETER was always returned.
   5881 
   5882 ----------------------------------------
   5883 11 July 2012. Summary of changes for version 20120711:
   5884 
   5885 1) ACPICA Kernel-resident Subsystem:
   5886 
   5887 Fixed a possible fault in the return package object repair code. Fixes a 
   5888 problem that can occur when a lone package object is wrapped with an 
   5889 outer 
   5890 package object in order to force conformance to the ACPI specification. 
   5891 Can 
   5892 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
   5893 _DLM, 
   5894 _CSD, _PSD, _TSD.
   5895 
   5896 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
   5897 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
   5898 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
   5899 state 
   5900 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
   5901 both 
   5902 Intel and other vendors. (for Intel: ICH4-M and earlier)
   5903 
   5904 This change removes the code to disable/enable bus master arbitration 
   5905 during 
   5906 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
   5907 causes 
   5908 resume problems on some machines. The change has been in use for over 
   5909 seven 
   5910 years within Linux.
   5911 
   5912 Implemented two new external interfaces to support host-directed dynamic 
   5913 ACPI 
   5914 table load and unload. They are intended to simplify the host 
   5915 implementation 
   5916 of hot-plug support:
   5917   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
   5918   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
   5919 table.
   5920 See the ACPICA reference for additional details. Adds one new file, 
   5921 components/tables/tbxfload.c
   5922 
   5923 Implemented and deployed two new interfaces for errors and warnings that 
   5924 are 
   5925 known to be caused by BIOS/firmware issues:
   5926   AcpiBiosError: Prints "ACPI Firmware Error" message.
   5927   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
   5928 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
   5929 table 
   5930 and FADT errors. Additional deployment to be completed as appropriate in 
   5931 the 
   5932 future. The associated conditional macros are ACPI_BIOS_ERROR and 
   5933 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
   5934 ACPICA 
   5935 BZ 
   5936 843.
   5937 
   5938 Implicit notify support: ensure that no memory allocation occurs within a 
   5939 critical region. This fix moves a memory allocation outside of the time 
   5940 that a 
   5941 spinlock is held. Fixes issues on systems that do not allow this 
   5942 behavior. 
   5943 Jung-uk Kim.
   5944 
   5945 Split exception code utilities and tables into a new file, 
   5946 utilities/utexcep.c
   5947 
   5948 Example Code and Data Size: These are the sizes for the OS-independent 
   5949 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5950 debug 
   5951 version of the code includes the debug output trace mechanism and has a 
   5952 much 
   5953 larger code and data size.
   5954 
   5955   Previous Release:
   5956     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   5957     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   5958   Current Release:
   5959     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   5960     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   5961 
   5962 
   5963 2) iASL Compiler/Disassembler and Tools:
   5964 
   5965 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
   5966 of 
   5967 0. Jung-uk Kim.
   5968 
   5969 Debugger: Enhanced the "tables" command to emit additional information 
   5970 about 
   5971 the current set of ACPI tables, including the owner ID and flags decode.
   5972 
   5973 Debugger: Reimplemented the "unload" command to use the new 
   5974 AcpiUnloadParentTable external interface. This command was disable 
   5975 previously 
   5976 due to need for an unload interface.
   5977 
   5978 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
   5979 option 
   5980 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
   5981 
   5982 ----------------------------------------
   5983 20 June 2012. Summary of changes for version 20120620:
   5984 
   5985 
   5986 1) ACPICA Kernel-resident Subsystem:
   5987 
   5988 Implemented support to expand the "implicit notify" feature to allow 
   5989 multiple 
   5990 devices to be notified by a single GPE. This feature automatically 
   5991 generates a 
   5992 runtime device notification in the absence of a BIOS-provided GPE control 
   5993 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
   5994 notify is 
   5995 provided by ACPICA for Windows compatibility, and is a workaround for 
   5996 BIOS 
   5997 AML 
   5998 code errors. See the description of the AcpiSetupGpeForWake interface in 
   5999 the 
   6000 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
   6001 
   6002 Changed some comments and internal function names to simplify and ensure 
   6003 correctness of the Linux code translation. No functional changes.
   6004 
   6005 Example Code and Data Size: These are the sizes for the OS-independent 
   6006 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6007 debug 
   6008 version of the code includes the debug output trace mechanism and has a 
   6009 much 
   6010 larger code and data size.
   6011 
   6012   Previous Release:
   6013     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   6014     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   6015   Current Release:
   6016     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   6017     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   6018 
   6019 
   6020 2) iASL Compiler/Disassembler and Tools:
   6021 
   6022 Disassembler: Added support to emit short, commented descriptions for the 
   6023 ACPI 
   6024 predefined names in order to improve the readability of the disassembled 
   6025 output. ACPICA BZ 959. Changes include:
   6026   1) Emit descriptions for all standard predefined names (_INI, _STA, 
   6027 _PRW, 
   6028 etc.)
   6029   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
   6030   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
   6031 etc.)
   6032 
   6033 AcpiSrc: Fixed several long-standing Linux code translation issues. 
   6034 Argument 
   6035 descriptions in function headers are now translated properly to lower 
   6036 case 
   6037 and 
   6038 underscores. ACPICA BZ 961. Also fixes translation problems such as 
   6039 these: 
   6040 (old -> new)
   6041   i_aSL -> iASL
   6042   00-7_f -> 00-7F
   6043   16_k -> 16K
   6044   local_fADT -> local_FADT
   6045   execute_oSI -> execute_OSI
   6046 
   6047 iASL: Fixed a problem where null bytes were inadvertently emitted into 
   6048 some 
   6049 listing files.
   6050 
   6051 iASL: Added the existing debug options to the standard help screen. There 
   6052 are 
   6053 no longer two different help screens. ACPICA BZ 957.
   6054 
   6055 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
   6056 Also 
   6057 expand some of the descriptions where appropriate.
   6058 
   6059 iASL: Fixed the -ot option (display compile times/statistics). Was not 
   6060 working 
   6061 properly for standard output; only worked for the debug file case.
   6062 
   6063 ----------------------------------------
   6064 18 May 2012. Summary of changes for version 20120518:
   6065 
   6066 
   6067 1) ACPICA Core Subsystem:
   6068 
   6069 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
   6070 defined 
   6071 to block until asynchronous events such as notifies and GPEs have 
   6072 completed. 
   6073 Within ACPICA, it is only called before a notify or GPE handler is 
   6074 removed/uninstalled. It also may be useful for the host OS within related 
   6075 drivers such as the Embedded Controller driver. See the ACPICA reference 
   6076 for 
   6077 additional information. ACPICA BZ 868.
   6078 
   6079 ACPI Tables: Added a new error message for a possible overflow failure 
   6080 during 
   6081 the conversion of FADT 32-bit legacy register addresses to internal 
   6082 common 
   6083 64-
   6084 bit GAS structure representation. The GAS has a one-byte "bit length" 
   6085 field, 
   6086 thus limiting the register length to 255 bits. ACPICA BZ 953.
   6087 
   6088 Example Code and Data Size: These are the sizes for the OS-independent 
   6089 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6090 debug 
   6091 version of the code includes the debug output trace mechanism and has a 
   6092 much 
   6093 larger code and data size.
   6094 
   6095   Previous Release:
   6096     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6097     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   6098   Current Release:
   6099     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   6100     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   6101 
   6102 
   6103 2) iASL Compiler/Disassembler and Tools:
   6104 
   6105 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
   6106 macro. 
   6107 This keyword was added late in the ACPI 5.0 release cycle and was not 
   6108 implemented until now.
   6109 
   6110 Disassembler: Added support for Operation Region externals. Adds missing 
   6111 support for operation regions that are defined in another table, and 
   6112 referenced locally via a Field or BankField ASL operator. Now generates 
   6113 the 
   6114 correct External statement.
   6115 
   6116 Disassembler: Several additional fixes for the External() statement 
   6117 generation 
   6118 related to some ASL operators. Also, order the External() statements 
   6119 alphabetically in the disassembler output. Fixes the External() 
   6120 generation 
   6121 for 
   6122 the Create* field, Alias, and Scope operators:
   6123  1) Create* buffer field operators - fix type mismatch warning on 
   6124 disassembly
   6125  2) Alias - implement missing External support
   6126  3) Scope - fix to make sure all necessary externals are emitted.
   6127 
   6128 iASL: Improved pathname support. For include files, merge the prefix 
   6129 pathname 
   6130 with the file pathname and eliminate unnecessary components. Convert 
   6131 backslashes in all pathnames to forward slashes, for readability. Include 
   6132 file 
   6133 pathname changes affect both #include and Include() type operators.
   6134 
   6135 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
   6136 end 
   6137 of a valid line by inserting a newline and then returning the EOF during 
   6138 the 
   6139 next call to GetNextLine. Prevents the line from being ignored due to EOF 
   6140 condition.
   6141 
   6142 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
   6143 Error 
   6144 and Warning messages are now correctly recognized for both the source 
   6145 code 
   6146 browser and the global error and warning counts.
   6147 
   6148 ----------------------------------------
   6149 20 April 2012. Summary of changes for version 20120420:
   6150 
   6151 
   6152 1) ACPICA Core Subsystem:
   6153 
   6154 Implemented support for multiple notify handlers. This change adds 
   6155 support 
   6156 to 
   6157 allow multiple system and device notify handlers on Device, Thermal Zone, 
   6158 and 
   6159 Processor objects. This can simplify the host OS notification 
   6160 implementation. 
   6161 Also re-worked and restructured the entire notify support code to 
   6162 simplify 
   6163 handler installation, handler removal, notify event queuing, and notify 
   6164 dispatch to handler(s). Note: there can still only be two global notify 
   6165 handlers - one for system notifies and one for device notifies. There are 
   6166 no 
   6167 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
   6168 Moore, Rafael Wysocki.
   6169 
   6170 Fixed a regression in the package repair code where the object reference 
   6171 count was calculated incorrectly. Regression was introduced in the commit 
   6172 "Support to add Package wrappers".
   6173 
   6174 Fixed a couple possible memory leaks in the AML parser, in the error 
   6175 recovery 
   6176 path. Jesper Juhl, Lin Ming.
   6177 
   6178 Example Code and Data Size: These are the sizes for the OS-independent 
   6179 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6180 debug version of the code includes the debug output trace mechanism and 
   6181 has a 
   6182 much larger code and data size.
   6183 
   6184   Previous Release:
   6185     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6186     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   6187   Current Release:
   6188     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6189     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   6190 
   6191 
   6192 2) iASL Compiler/Disassembler and Tools:
   6193 
   6194 iASL: Fixed a problem with the resource descriptor support where the 
   6195 length 
   6196 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
   6197 included in cumulative descriptor offset, resulting in incorrect values 
   6198 for 
   6199 resource tags within resource descriptors appearing after a 
   6200 StartDependent* 
   6201 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
   6202 
   6203 iASL and Preprocessor: Implemented full support for the #line directive 
   6204 to 
   6205 correctly track original source file line numbers through the .i 
   6206 preprocessor 
   6207 output file - for error and warning messages.
   6208 
   6209 iASL: Expand the allowable byte constants for address space IDs. 
   6210 Previously, 
   6211 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
   6212 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
   6213 
   6214 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
   6215 
   6216 iASL: Add option to completely disable the preprocessor (-Pn).
   6217 
   6218 iASL: Now emit all error/warning messages to standard error (stderr) by 
   6219 default (instead of the previous stdout).
   6220 
   6221 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
   6222 Update 
   6223 for resource descriptor offset fix above. Update/cleanup error output 
   6224 routines. Enable and send iASL errors/warnings to an error logfile 
   6225 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
   6226 Fixed 
   6227 several extraneous "unrecognized operator" messages.
   6228 
   6229 ----------------------------------------
   6230 20 March 2012. Summary of changes for version 20120320:
   6231 
   6232 
   6233 1) ACPICA Core Subsystem:
   6234 
   6235 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
   6236 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
   6237 apparently 
   6238 does not execute these methods, and therefore these methods are often 
   6239 untested. It has been seen on some systems where the execution of these 
   6240 methods causes errors and also prevents the machine from entering S5. It 
   6241 is 
   6242 therefore suggested that host operating systems do not execute these 
   6243 methods 
   6244 by default. In the future, perhaps these methods can be optionally 
   6245 executed 
   6246 based on the age of the system and/or what is the newest version of 
   6247 Windows 
   6248 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
   6249 and 
   6250 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
   6251 Ming.
   6252 
   6253 Fixed a problem where the length of the local/common FADT was set too 
   6254 early. 
   6255 The local FADT table length cannot be set to the common length until the 
   6256 original length has been examined. There is code that checks the table 
   6257 length 
   6258 and sets various fields appropriately. This can affect older machines 
   6259 with 
   6260 early FADT versions. For example, this can cause inadvertent writes to 
   6261 the 
   6262 CST_CNT register. Julian Anastasov.
   6263 
   6264 Fixed a mapping issue related to a physical table override. Use the 
   6265 deferred 
   6266 mapping mechanism for tables loaded via the physical override OSL 
   6267 interface. 
   6268 This allows for early mapping before the virtual memory manager is 
   6269 available. 
   6270 Thomas Renninger, Bob Moore.
   6271 
   6272 Enhanced the automatic return-object repair code: Repair a common problem 
   6273 with 
   6274 predefined methods that are defined to return a variable-length Package 
   6275 of 
   6276 sub-objects. If there is only one sub-object, some BIOS ASL code 
   6277 mistakenly 
   6278 simply returns the single object instead of a Package with one sub-
   6279 object. 
   6280 This new support will repair this error by wrapping a Package object 
   6281 around 
   6282 the original object, creating the correct and expected Package with one 
   6283 sub-
   6284 object. Names that can be repaired in this manner include: _ALR, _CSD, 
   6285 _HPX, 
   6286 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
   6287 939.
   6288 
   6289 Changed the exception code returned for invalid ACPI paths passed as 
   6290 parameters to external interfaces such as AcpiEvaluateObject. Was 
   6291 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
   6292 
   6293 Example Code and Data Size: These are the sizes for the OS-independent 
   6294 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6295 debug 
   6296 version of the code includes the debug output trace mechanism and has a 
   6297 much 
   6298 larger code and data size.
   6299 
   6300   Previous Release:
   6301     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   6302     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   6303   Current Release:
   6304     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6305     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   6306 
   6307 
   6308 2) iASL Compiler/Disassembler and Tools:
   6309 
   6310 iASL: Added the infrastructure and initial implementation of a integrated 
   6311 C-
   6312 like preprocessor. This will simplify BIOS development process by 
   6313 eliminating 
   6314 the need for a separate preprocessing step during builds. On Windows, it 
   6315 also 
   6316 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
   6317 features including full #define() macro support are still under 
   6318 development. 
   6319 These preprocessor directives are supported:
   6320     #define
   6321     #elif
   6322     #else
   6323     #endif
   6324     #error
   6325     #if
   6326     #ifdef
   6327     #ifndef
   6328     #include
   6329     #pragma message
   6330     #undef
   6331     #warning
   6332 In addition, these new command line options are supported:
   6333     -D <symbol> Define symbol for preprocessor use
   6334     -li         Create preprocessed output file (*.i)
   6335     -P          Preprocess only and create preprocessor output file (*.i)
   6336 
   6337 Table Compiler: Fixed a problem where the equals operator within an 
   6338 expression 
   6339 did not work properly.
   6340 
   6341 Updated iASL to use the current versions of Bison/Flex. Updated the 
   6342 Windows 
   6343 project file to invoke these tools from the standard location. ACPICA BZ 
   6344 904. 
   6345 Versions supported:
   6346     Flex for Windows:  V2.5.4
   6347     Bison for Windows: V2.4.1
   6348 
   6349 ----------------------------------------
   6350 15 February 2012. Summary of changes for version 20120215:
   6351 
   6352 
   6353 1) ACPICA Core Subsystem:
   6354 
   6355 There have been some major changes to the sleep/wake support code, as 
   6356 described below (a - e).
   6357 
   6358 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
   6359 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
   6360 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
   6361 the 
   6362 time the _BFS method is called and the _WAK method is called. NOTE: all 
   6363 hosts 
   6364 must update their wake/resume code or else sleep/wake will not work 
   6365 properly. 
   6366 Rafael Wysocki.
   6367 
   6368 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
   6369 _WAK 
   6370 method. Some machines require that the GPEs are enabled before the _WAK 
   6371 method 
   6372 is executed. Thomas Renninger.
   6373 
   6374 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
   6375 bit. 
   6376 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
   6377 to 
   6378 determine whether the system is rebooting or resuming. Matthew Garrett.
   6379 
   6380 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
   6381 Sleep) to 
   6382 match the ACPI specification requirement. Rafael Wysocki.
   6383 
   6384 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
   6385 registers within the V5 FADT. This support adds two new files: 
   6386 hardware/hwesleep.c implements the support for the new registers. Moved 
   6387 all 
   6388 sleep/wake external interfaces to hardware/hwxfsleep.c.
   6389 
   6390 
   6391 Added a new OSL interface for ACPI table overrides, 
   6392 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
   6393 table via a physical address, instead of the logical address required by 
   6394 AcpiOsTableOverride. This simplifies the host implementation. Initial 
   6395 implementation by Thomas Renninger. The ACPICA implementation creates a 
   6396 single 
   6397 shared function for table overrides that attempts both a logical and a 
   6398 physical override.
   6399 
   6400 Expanded the OSL memory read/write interfaces to 64-bit data 
   6401 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
   6402 transfer support for GAS register structures passed to AcpiRead and 
   6403 AcpiWrite.
   6404 
   6405 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
   6406 custom 
   6407 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
   6408 model. 
   6409 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
   6410 about 
   6411 10% of the code and 5% of the static data, and the following hardware 
   6412 ACPI 
   6413 features become unavailable:
   6414     PM Event and Control registers
   6415     SCI interrupt (and handler)
   6416     Fixed Events
   6417     General Purpose Events (GPEs)
   6418     Global Lock
   6419     ACPI PM timer
   6420     FACS table (Waking vectors and Global Lock)
   6421 
   6422 Updated the unix tarball directory structure to match the ACPICA git 
   6423 source 
   6424 tree. This ensures that the generic unix makefiles work properly (in 
   6425 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
   6426 867.
   6427 
   6428 Updated the return value of the _REV predefined method to integer value 5 
   6429 to 
   6430 reflect ACPI 5.0 support.
   6431 
   6432 Moved the external ACPI PM timer interface prototypes to the public 
   6433 acpixf.h 
   6434 file where they belong.
   6435 
   6436 Example Code and Data Size: These are the sizes for the OS-independent 
   6437 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6438 debug 
   6439 version of the code includes the debug output trace mechanism and has a 
   6440 much 
   6441 larger code and data size.
   6442 
   6443   Previous Release:
   6444     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   6445     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   6446   Current Release:
   6447     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   6448     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   6449 
   6450 
   6451 2) iASL Compiler/Disassembler and Tools:
   6452 
   6453 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
   6454 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
   6455 incorrectly displayed.
   6456 
   6457 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
   6458 specification.
   6459 
   6460 ----------------------------------------
   6461 11 January 2012. Summary of changes for version 20120111:
   6462 
   6463 
   6464 1) ACPICA Core Subsystem:
   6465 
   6466 Implemented a new mechanism to allow host device drivers to check for 
   6467 address 
   6468 range conflicts with ACPI Operation Regions. Both SystemMemory and 
   6469 SystemIO 
   6470 address spaces are supported. A new external interface, 
   6471 AcpiCheckAddressRange, 
   6472 allows drivers to check an address range against the ACPI namespace. See 
   6473 the 
   6474 ACPICA reference for additional details. Adds one new file, 
   6475 utilities/utaddress.c. Lin Ming, Bob Moore.
   6476 
   6477 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
   6478 Control 
   6479 and 
   6480 Status registers, update the ACPI 5.0 flags, and update internal data 
   6481 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
   6482 5.0 
   6483 FADT is 268 bytes.
   6484 
   6485 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
   6486 copyright to 
   6487 all module headers and signons, including the standard Linux header. This 
   6488 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
   6489 and 
   6490 all ACPICA utilities.
   6491 
   6492 Example Code and Data Size: These are the sizes for the OS-independent 
   6493 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6494 debug 
   6495 version of the code includes the debug output trace mechanism and has a 
   6496 much 
   6497 larger code and data size.
   6498 
   6499   Previous Release:
   6500     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   6501     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   6502   Current Release:
   6503     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   6504     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   6505 
   6506 
   6507 2) iASL Compiler/Disassembler and Tools:
   6508 
   6509 Disassembler: fixed a problem with the automatic resource tag generation 
   6510 support. Fixes a problem where the resource tags are inadvertently not 
   6511 constructed if the table being disassembled contains external references 
   6512 to 
   6513 control methods. Moved the actual construction of the tags to after the 
   6514 final 
   6515 namespace is constructed (after 2nd parse is invoked due to external 
   6516 control 
   6517 method references.) ACPICA BZ 941.
   6518 
   6519 Table Compiler: Make all "generic" operators caseless. These are the 
   6520 operators 
   6521 like UINT8, String, etc. Making these caseless improves ease-of-use. 
   6522 ACPICA BZ 
   6523 934.
   6524 
   6525 ----------------------------------------
   6526 23 November 2011. Summary of changes for version 20111123:
   6527 
   6528 0) ACPI 5.0 Support:
   6529 
   6530 This release contains full support for the ACPI 5.0 specification, as 
   6531 summarized below.
   6532 
   6533 Reduced Hardware Support:
   6534 -------------------------
   6535 
   6536 This support allows for ACPI systems without the usual ACPI hardware. 
   6537 This 
   6538 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
   6539 will 
   6540 not attempt to initialize or use any of the usual ACPI hardware. Note, 
   6541 when 
   6542 this flag is set, all of the following ACPI hardware is assumed to be not 
   6543 present and is not initialized or accessed:
   6544 
   6545     General Purpose Events (GPEs)
   6546     Fixed Events (PM1a/PM1b and PM Control)
   6547     Power Management Timer and Console Buttons (power/sleep)
   6548     Real-time Clock Alarm
   6549     Global Lock
   6550     System Control Interrupt (SCI)
   6551     The FACS is assumed to be non-existent
   6552 
   6553 ACPI Tables:
   6554 ------------
   6555 
   6556 All new tables and updates to existing tables are fully supported in the 
   6557 ACPICA headers (for use by device drivers), the disassembler, and the 
   6558 iASL 
   6559 Data Table Compiler. ACPI 5.0 defines these new tables:
   6560 
   6561     BGRT        /* Boot Graphics Resource Table */
   6562     DRTM        /* Dynamic Root of Trust for Measurement table */
   6563     FPDT        /* Firmware Performance Data Table */
   6564     GTDT        /* Generic Timer Description Table */
   6565     MPST        /* Memory Power State Table */
   6566     PCCT        /* Platform Communications Channel Table */
   6567     PMTT        /* Platform Memory Topology Table */
   6568     RASF        /* RAS Feature table */
   6569 
   6570 Operation Regions/SpaceIDs:
   6571 ---------------------------
   6572 
   6573 All new operation regions are fully supported by the iASL compiler, the 
   6574 disassembler, and the ACPICA runtime code (for dispatch to region 
   6575 handlers.) 
   6576 The new operation region Space IDs are:
   6577 
   6578     GeneralPurposeIo
   6579     GenericSerialBus
   6580 
   6581 Resource Descriptors:
   6582 ---------------------
   6583 
   6584 All new ASL resource descriptors are fully supported by the iASL 
   6585 compiler, 
   6586 the 
   6587 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
   6588 (including 
   6589 all new predefined resource tags). New descriptors are:
   6590 
   6591     FixedDma
   6592     GpioIo
   6593     GpioInt
   6594     I2cSerialBus
   6595     SpiSerialBus
   6596     UartSerialBus
   6597 
   6598 ASL/AML Operators, New and Modified:
   6599 ------------------------------------
   6600 
   6601 One new operator is added, the Connection operator, which is used to 
   6602 associate 
   6603 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
   6604 individual 
   6605 field objects within an operation region. Several new protocols are 
   6606 associated 
   6607 with the AccessAs operator. All are fully supported by the iASL compiler, 
   6608 disassembler, and runtime ACPICA AML interpreter:
   6609 
   6610     Connection                      // Declare Field Connection 
   6611 attributes
   6612     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
   6613     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
   6614 Protocol
   6615     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
   6616     RawDataBuffer                       // Data type for Vendor Data 
   6617 fields
   6618 
   6619 Predefined ASL/AML Objects:
   6620 ---------------------------
   6621 
   6622 All new predefined objects/control-methods are supported by the iASL 
   6623 compiler 
   6624 and the ACPICA runtime validation/repair (arguments and return values.) 
   6625 New 
   6626 predefined names include the following:
   6627 
   6628 Standard Predefined Names (Objects or Control Methods):
   6629     _AEI, _CLS, _CPC, _CWS, _DEP,
   6630     _DLM, _EVT, _GCP, _CRT, _GWS,
   6631     _HRV, _PRE, _PSE, _SRT, _SUB.
   6632 
   6633 Resource Tags (Names used to access individual fields within resource 
   6634 descriptors):
   6635     _DBT, _DPL, _DRS, _END, _FLC,
   6636     _IOR, _LIN, _MOD, _PAR, _PHA,
   6637     _PIN, _PPI, _POL, _RXL, _SLV,
   6638     _SPE, _STB, _TXL, _VEN.
   6639 
   6640 ACPICA External Interfaces:
   6641 ---------------------------
   6642 
   6643 Several new interfaces have been defined for use by ACPI-related device 
   6644 drivers and other host OS services:
   6645 
   6646 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
   6647 to 
   6648 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
   6649 provided by the BIOS. They are intended to be used in conjunction with 
   6650 the 
   6651 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
   6652 mutual exclusion with the AML code/interpreter.
   6653 
   6654 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
   6655 defined 
   6656 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
   6657 provides 
   6658 resource descriptors associated with hardware-reduced platform events, 
   6659 similar 
   6660 to the AcpiGetCurrentResources interface.
   6661 
   6662 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
   6663 operation regions, information about the Connection() object and any 
   6664 optional 
   6665 length information is passed to the region handler within the Context 
   6666 parameter.
   6667 
   6668 AcpiBufferToResource: This interface converts a raw AML buffer containing 
   6669 a 
   6670 resource template or resource descriptor to the ACPI_RESOURCE internal 
   6671 format 
   6672 suitable for use by device drivers. Can be used by an operation region 
   6673 handler 
   6674 to convert the Connection() buffer object into a ACPI_RESOURCE.
   6675 
   6676 Miscellaneous/Tools/TestSuites: 
   6677 -------------------------------
   6678 
   6679 Support for extended _HID names (Four alpha characters instead of three).
   6680 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
   6681 Support for ACPI 5.0 features in the ASLTS test suite.
   6682 Fully updated documentation (ACPICA and iASL reference documents.)
   6683 
   6684 ACPI Table Definition Language:
   6685 -------------------------------
   6686 
   6687 Support for this language was implemented and released as a subsystem of 
   6688 the 
   6689 iASL compiler in 2010. (See the iASL compiler User Guide.)
   6690 
   6691 
   6692 Non-ACPI 5.0 changes for this release:
   6693 --------------------------------------
   6694 
   6695 1) ACPICA Core Subsystem:
   6696 
   6697 Fix a problem with operation region declarations where a failure can 
   6698 occur 
   6699 if 
   6700 the region name and an argument that evaluates to an object (such as the 
   6701 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
   6702 937.
   6703 
   6704 Do not abort an ACPI table load if an invalid space ID is found within. 
   6705 This 
   6706 will be caught later if the offending method is executed. ACPICA BZ 925.
   6707 
   6708 Fixed an issue with the FFixedHW space ID where the ID was not always 
   6709 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
   6710 
   6711 Fixed a problem with the 32-bit generation of the unix-specific OSL 
   6712 (osunixxf.c). Lin Ming, ACPICA BZ 936.
   6713 
   6714 Several changes made to enable generation with the GCC 4.6 compiler. 
   6715 ACPICA BZ 
   6716 935.
   6717 
   6718 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
   6719 Index/Bank 
   6720 field registers out-of-range.
   6721 
   6722 2) iASL Compiler/Disassembler and Tools:
   6723 
   6724 iASL: Implemented the __PATH__ operator, which returns the full pathname 
   6725 of 
   6726 the current source file.
   6727 
   6728 AcpiHelp: Automatically display expanded keyword information for all ASL 
   6729 operators.
   6730 
   6731 Debugger: Add "Template" command to disassemble/dump resource template 
   6732 buffers.
   6733 
   6734 Added a new master script to generate and execute the ASLTS test suite. 
   6735 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
   6736 
   6737 iASL: Fix problem with listing generation during processing of the 
   6738 Switch() 
   6739 operator where AML listing was disabled until the entire Switch block was 
   6740 completed.
   6741 
   6742 iASL: Improve support for semicolon statement terminators. Fix "invalid 
   6743 character" message for some cases when the semicolon is used. Semicolons 
   6744 are 
   6745 now allowed after every <Term> grammar element. ACPICA BZ 927.
   6746 
   6747 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
   6748 923.
   6749 
   6750 Disassembler: Fix problem with disassembly of the DataTableRegion 
   6751 operator 
   6752 where an inadvertent "Unhandled deferred opcode" message could be 
   6753 generated.
   6754 
   6755 3) Example Code and Data Size
   6756 
   6757 These are the sizes for the OS-independent acpica.lib produced by the 
   6758 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   6759 includes the debug output trace mechanism and has a much larger code and 
   6760 data 
   6761 size.
   6762 
   6763   Previous Release:
   6764     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   6765     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   6766   Current Release:
   6767     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   6768     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   6769 
   6770 ----------------------------------------
   6771 22 September 2011. Summary of changes for version 20110922:
   6772 
   6773 0) ACPI 5.0 News:
   6774 
   6775 Support for ACPI 5.0 in ACPICA has been underway for several months and 
   6776 will 
   6777 be released at the same time that ACPI 5.0 is officially released.
   6778 
   6779 The ACPI 5.0 specification is on track for release in the next few 
   6780 months.
   6781  
   6782 1) ACPICA Core Subsystem:
   6783 
   6784 Fixed a problem where the maximum sleep time for the Sleep() operator was 
   6785 intended to be limited to two seconds, but was inadvertently limited to 
   6786 20 
   6787 seconds instead.
   6788 
   6789 Linux and Unix makefiles: Added header file dependencies to ensure 
   6790 correct 
   6791 generation of ACPICA core code and utilities. Also simplified the 
   6792 makefiles 
   6793 considerably through the use of the vpath variable to specify search 
   6794 paths. 
   6795 ACPICA BZ 924.
   6796 
   6797 2) iASL Compiler/Disassembler and Tools:
   6798 
   6799 iASL: Implemented support to check the access length for all fields 
   6800 created to 
   6801 access named Resource Descriptor fields. For example, if a resource field 
   6802 is 
   6803 defined to be two bits, a warning is issued if a CreateXxxxField() is 
   6804 used 
   6805 with an incorrect bit length. This is implemented for all current 
   6806 resource 
   6807 descriptor names. ACPICA BZ 930.
   6808   
   6809 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
   6810 56-
   6811 bit integers.
   6812 
   6813 iASL: Fixed a couple of issues associated with variable-length package 
   6814 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
   6815 a 
   6816 VAR_PACKAGE when these are used as a package length. 2) Allow the 
   6817 VAR_PACKAGE 
   6818 opcode (in addition to PACKAGE) when validating object types for 
   6819 predefined 
   6820 names.
   6821 
   6822 iASL: Emit statistics for all output files (instead of just the ASL input 
   6823 and 
   6824 AML output). Includes listings, hex files, etc.
   6825 
   6826 iASL: Added -G option to the table compiler to allow the compilation of 
   6827 custom 
   6828 ACPI tables. The only part of a table that is required is the standard 
   6829 36-
   6830 byte 
   6831 ACPI header.
   6832 
   6833 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
   6834 headers), 
   6835 which also adds correct 64-bit support. Also, now all output filenames 
   6836 are 
   6837 completely lower case.
   6838 
   6839 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
   6840 loading table files. A warning is issued for any such tables. The only 
   6841 exception is an FADT. This also fixes a possible fault when attempting to 
   6842 load 
   6843 non-AML tables. ACPICA BZ 932.
   6844 
   6845 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
   6846 a 
   6847 missing table terminator could cause a fault when using the -p option.
   6848 
   6849 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
   6850 statistics.
   6851 
   6852 3) Example Code and Data Size
   6853 
   6854 These are the sizes for the OS-independent acpica.lib produced by the 
   6855 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   6856 includes the debug output trace mechanism and has a much larger code and 
   6857 data 
   6858 size.
   6859 
   6860   Previous Release (VC 9.0):
   6861     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   6862     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   6863   Current Release (VC 9.0):
   6864     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   6865     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   6866 
   6867 
   6868 ----------------------------------------
   6869 23 June 2011. Summary of changes for version 20110623:
   6870 
   6871 1) ACPI CA Core Subsystem:
   6872 
   6873 Updated the predefined name repair mechanism to not attempt repair of a 
   6874 _TSS 
   6875 return object if a _PSS object is present. We can only sort the _TSS 
   6876 return 
   6877 package if there is no _PSS within the same scope. This is because if 
   6878 _PSS 
   6879 is 
   6880 present, the ACPI specification dictates that the _TSS Power Dissipation 
   6881 field 
   6882 is to be ignored, and therefore some BIOSs leave garbage values in the 
   6883 _TSS 
   6884 Power field(s). In this case, it is best to just return the _TSS package 
   6885 as-
   6886 is. Reported by, and fixed with assistance from Fenghua Yu.
   6887 
   6888 Added an option to globally disable the control method return value 
   6889 validation 
   6890 and repair. This runtime option can be used to disable return value 
   6891 repair 
   6892 if 
   6893 this is causing a problem on a particular machine. Also added an option 
   6894 to 
   6895 AcpiExec (-dr) to set this disable flag.
   6896 
   6897 All makefiles and project files: Major changes to improve generation of 
   6898 ACPICA 
   6899 tools. ACPICA BZ 912:
   6900     Reduce default optimization levels to improve compatibility
   6901     For Linux, add strict-aliasing=0 for gcc 4
   6902     Cleanup and simplify use of command line defines
   6903     Cleanup multithread library support
   6904     Improve usage messages
   6905 
   6906 Linux-specific header: update handling of THREAD_ID and pthread. For the 
   6907 32-
   6908 bit case, improve casting to eliminate possible warnings, especially with 
   6909 the 
   6910 acpica tools.
   6911 
   6912 Example Code and Data Size: These are the sizes for the OS-independent 
   6913 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6914 debug 
   6915 version of the code includes the debug output trace mechanism and has a 
   6916 much 
   6917 larger code and data size.
   6918 
   6919   Previous Release (VC 9.0):
   6920     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   6921     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   6922   Current Release (VC 9.0):
   6923     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   6924     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   6925 
   6926 2) iASL Compiler/Disassembler and Tools:
   6927 
   6928 With this release, a new utility named "acpihelp" has been added to the 
   6929 ACPICA 
   6930 package. This utility summarizes the ACPI specification chapters for the 
   6931 ASL 
   6932 and AML languages. It generates under Linux/Unix as well as Windows, and 
   6933 provides the following functionality:
   6934     Find/display ASL operator(s) -- with description and syntax.
   6935     Find/display ASL keyword(s) -- with exact spelling and descriptions.
   6936     Find/display ACPI predefined name(s) -- with description, number
   6937         of arguments, and the return value data type.
   6938     Find/display AML opcode name(s) -- with opcode, arguments, and 
   6939 grammar.
   6940     Decode/display AML opcode -- with opcode name, arguments, and 
   6941 grammar.
   6942 
   6943 Service Layers: Make multi-thread support configurable. Conditionally 
   6944 compile 
   6945 the multi-thread support so that threading libraries will not be linked 
   6946 if 
   6947 not 
   6948 necessary. The only tool that requires multi-thread support is AcpiExec.
   6949 
   6950 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
   6951 of 
   6952 Bison appear to want the interface to yyerror to be a const char * (or at 
   6953 least this is a problem when generating iASL on some systems.) ACPICA BZ 
   6954 923 
   6955 Pierre Lejeune.
   6956 
   6957 Tools: Fix for systems where O_BINARY is not defined. Only used for 
   6958 Windows 
   6959 versions of the tools.
   6960 
   6961 ----------------------------------------
   6962 27 May 2011. Summary of changes for version 20110527:
   6963 
   6964 1) ACPI CA Core Subsystem:
   6965 
   6966 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
   6967 table 
   6968 signature. Now, only allow SSDT, OEMx, and a null signature. History:
   6969     1) Originally, we checked the table signature for "SSDT" or "PSDT".
   6970        (PSDT is now obsolete.)
   6971     2) We added support for OEMx tables, signature "OEM" plus a fourth
   6972        "don't care" character.
   6973     3) Valid tables were encountered with a null signature, so we just
   6974        gave up on validating the signature, (05/2008).
   6975     4) We encountered non-AML tables such as the MADT, which caused
   6976        interpreter errors and kernel faults. So now, we once again allow
   6977        only SSDT, OEMx, and now, also a null signature. (05/2011).
   6978 
   6979 Added the missing _TDL predefined name to the global name list in order 
   6980 to 
   6981 enable validation. Affects both the core ACPICA code and the iASL 
   6982 compiler.
   6983 
   6984 Example Code and Data Size: These are the sizes for the OS-independent 
   6985 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6986 debug 
   6987 version of the code includes the debug output trace mechanism and has a 
   6988 much 
   6989 larger code and data size.
   6990 
   6991   Previous Release (VC 9.0):
   6992     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   6993     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   6994   Current Release (VC 9.0):
   6995     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   6996     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   6997 
   6998 2) iASL Compiler/Disassembler and Tools:
   6999 
   7000 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
   7001 the 
   7002 debugger command line. This adds support beyond simple integers -- 
   7003 including 
   7004 Strings, Buffers, and Packages. Includes support for nested packages. 
   7005 Increased the default command line buffer size to accommodate these 
   7006 arguments. 
   7007 See the ACPICA reference for details and syntax. ACPICA BZ 917.
   7008  
   7009 Debugger/AcpiExec: Implemented support for "default" method arguments for 
   7010 the 
   7011 Execute/Debug command. Now, the debugger will always invoke a control 
   7012 method 
   7013 with the required number of arguments -- even if the command line 
   7014 specifies 
   7015 none or insufficient arguments. It uses default integer values for any 
   7016 missing 
   7017 arguments. Also fixes a bug where only six method arguments maximum were 
   7018 supported instead of the required seven.
   7019 
   7020 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
   7021 and 
   7022 also return status in order to prevent buffer overruns. See the ACPICA 
   7023 reference for details and syntax. ACPICA BZ 921
   7024 
   7025 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
   7026 makefiles to simplify support for the two different but similar parser 
   7027 generators, bison and yacc.
   7028 
   7029 Updated the generic unix makefile for gcc 4. The default gcc version is 
   7030 now 
   7031 expected to be 4 or greater, since options specific to gcc 4 are used.
   7032 
   7033 ----------------------------------------
   7034 13 April 2011. Summary of changes for version 20110413:
   7035 
   7036 1) ACPI CA Core Subsystem:
   7037 
   7038 Implemented support to execute a so-called "orphan" _REG method under the 
   7039 EC 
   7040 device. This change will force the execution of a _REG method underneath 
   7041 the 
   7042 EC 
   7043 device even if there is no corresponding operation region of type 
   7044 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
   7045 compatible with Windows behavior. ACPICA BZ 875.
   7046 
   7047 Added more predefined methods that are eligible for automatic NULL 
   7048 package 
   7049 element removal. This change adds another group of predefined names to 
   7050 the 
   7051 list 
   7052 of names that can be repaired by having NULL package elements dynamically 
   7053 removed. This group are those methods that return a single variable-
   7054 length 
   7055 package containing simple data types such as integers, buffers, strings. 
   7056 This 
   7057 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
   7058 _PSL, 
   7059 _Sx, 
   7060 and _TZD. ACPICA BZ 914.
   7061 
   7062 Split and segregated all internal global lock functions to a new file, 
   7063 evglock.c.
   7064 
   7065 Updated internal address SpaceID for DataTable regions. Moved this 
   7066 internal 
   7067 space 
   7068 id in preparation for ACPI 5.0 changes that will include some new space 
   7069 IDs. 
   7070 This 
   7071 change should not affect user/host code.
   7072 
   7073 Example Code and Data Size: These are the sizes for the OS-independent 
   7074 acpica.lib 
   7075 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   7076 version of 
   7077 the code includes the debug output trace mechanism and has a much larger 
   7078 code 
   7079 and 
   7080 data size.
   7081 
   7082   Previous Release (VC 9.0):
   7083     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   7084     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   7085   Current Release (VC 9.0):
   7086     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   7087     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   7088 
   7089 2) iASL Compiler/Disassembler and Tools:
   7090 
   7091 iASL/DTC: Major update for new grammar features. Allow generic data types 
   7092 in 
   7093 custom ACPI tables. Field names are now optional. Any line can be split 
   7094 to 
   7095 multiple lines using the continuation char (\). Large buffers now use 
   7096 line-
   7097 continuation character(s) and no colon on the continuation lines. See the 
   7098 grammar 
   7099 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
   7100 Moore.
   7101 
   7102 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
   7103 statements. 
   7104 Since the parser stuffs a "zero" as the return value for these statements 
   7105 (due 
   7106 to 
   7107 the underlying AML grammar), they were seen as "return with value" by the 
   7108 iASL 
   7109 semantic checking. They are now seen correctly as "null" return 
   7110 statements.
   7111 
   7112 iASL: Check if a_REG declaration has a corresponding Operation Region. 
   7113 Adds a 
   7114 check for each _REG to ensure that there is in fact a corresponding 
   7115 operation 
   7116 region declaration in the same scope. If not, the _REG method is not very 
   7117 useful 
   7118 since it probably won't be executed. ACPICA BZ 915.
   7119 
   7120 iASL/DTC: Finish support for expression evaluation. Added a new 
   7121 expression 
   7122 parser 
   7123 that implements c-style operator precedence and parenthesization. ACPICA 
   7124 bugzilla 
   7125 908.
   7126 
   7127 Disassembler/DTC: Remove support for () and <> style comments in data 
   7128 tables. 
   7129 Now 
   7130 that DTC has full expression support, we don't want to have comment 
   7131 strings 
   7132 that 
   7133 start with a parentheses or a less-than symbol. Now, only the standard /* 
   7134 and 
   7135 // 
   7136 comments are supported, as well as the bracket [] comments.
   7137 
   7138 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
   7139 "unusual" 
   7140 headers in the acpidump file. Update the header validation to support 
   7141 these 
   7142 tables. Problem introduced in previous AcpiXtract version in the change 
   7143 to 
   7144 support "wrong checksum" error messages emitted by acpidump utility.
   7145 
   7146 iASL: Add a * option to generate all template files (as a synonym for 
   7147 ALL) 
   7148 as 
   7149 in 
   7150 "iasl -T *" or "iasl -T ALL".
   7151 
   7152 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
   7153 completely 
   7154 abort the compiler on "fatal" errors, simply should abort the current 
   7155 compile. 
   7156 This allows multiple compiles with a single (possibly wildcard) compiler 
   7157 invocation.
   7158 
   7159 ----------------------------------------
   7160 16 March 2011. Summary of changes for version 20110316:
   7161 
   7162 1) ACPI CA Core Subsystem:
   7163 
   7164 Fixed a problem caused by a _PRW method appearing at the namespace root 
   7165 scope 
   7166 during the setup of wake GPEs. A fault could occur if a _PRW directly 
   7167 under 
   7168 the 
   7169 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
   7170 
   7171 Implemented support for "spurious" Global Lock interrupts. On some 
   7172 systems, a 
   7173 global lock interrupt can occur without the pending flag being set. Upon 
   7174 a 
   7175 GL 
   7176 interrupt, we now ensure that a thread is actually waiting for the lock 
   7177 before 
   7178 signaling GL availability. Rafael Wysocki, Bob Moore.
   7179 
   7180 Example Code and Data Size: These are the sizes for the OS-independent 
   7181 acpica.lib 
   7182 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   7183 version of 
   7184 the code includes the debug output trace mechanism and has a much larger 
   7185 code 
   7186 and 
   7187 data size.
   7188 
   7189   Previous Release (VC 9.0):
   7190     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   7191     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   7192   Current Release (VC 9.0):
   7193     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   7194     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   7195 
   7196 2) iASL Compiler/Disassembler and Tools:
   7197 
   7198 Implemented full support for the "SLIC" ACPI table. Includes support in 
   7199 the 
   7200 header files, disassembler, table compiler, and template generator. Bob 
   7201 Moore, 
   7202 Lin Ming.
   7203 
   7204 AcpiXtract: Correctly handle embedded comments and messages from 
   7205 AcpiDump. 
   7206 Apparently some or all versions of acpidump will occasionally emit a 
   7207 comment 
   7208 like 
   7209 "Wrong checksum", etc., into the dump file. This was causing problems for 
   7210 AcpiXtract. ACPICA BZ 905.
   7211 
   7212 iASL: Fix the Linux makefile by removing an inadvertent double file 
   7213 inclusion. 
   7214 ACPICA BZ 913.
   7215 
   7216 AcpiExec: Update installation of operation region handlers. Install one 
   7217 handler 
   7218 for a user-defined address space. This is used by the ASL test suite 
   7219 (ASLTS).
   7220 
   7221 ----------------------------------------
   7222 11 February 2011. Summary of changes for version 20110211:
   7223 
   7224 1) ACPI CA Core Subsystem:
   7225 
   7226 Added a mechanism to defer _REG methods for some early-installed 
   7227 handlers. 
   7228 Most user handlers should be installed before call to 
   7229 AcpiEnableSubsystem. 
   7230 However, Event handlers and region handlers should be installed after 
   7231 AcpiInitializeObjects. Override handlers for the "default" regions should 
   7232 be 
   7233 installed early, however. This change executes all _REG methods for the 
   7234 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
   7235 chicken/egg issues between them. ACPICA BZ 848.
   7236 
   7237 Implemented an optimization for GPE detection. This optimization will 
   7238 simply 
   7239 ignore GPE registers that contain no enabled GPEs -- there is no need to 
   7240 read the register since this information is available internally. This 
   7241 becomes more important on machines with a large GPE space. ACPICA 
   7242 bugzilla 
   7243 884. Lin Ming. Suggestion from Joe Liu.
   7244 
   7245 Removed all use of the highly unreliable FADT revision field. The 
   7246 revision 
   7247 number in the FADT has been found to be completely unreliable and cannot 
   7248 be 
   7249 trusted. Only the actual table length can be used to infer the version. 
   7250 This 
   7251 change updates the ACPICA core and the disassembler so that both no 
   7252 longer 
   7253 even look at the FADT version and instead depend solely upon the FADT 
   7254 length.
   7255 
   7256 Fix an unresolved name issue for the no-debug and no-error-message source 
   7257 generation cases. The _AcpiModuleName was left undefined in these cases, 
   7258 but 
   7259 it is actually needed as a parameter to some interfaces. Define 
   7260 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
   7261 
   7262 Split several large files (makefiles and project files updated)
   7263   utglobal.c   -> utdecode.c
   7264   dbcomds.c    -> dbmethod.c dbnames.c
   7265   dsopcode.c   -> dsargs.c dscontrol.c
   7266   dsload.c     -> dsload2.c
   7267   aslanalyze.c -> aslbtypes.c aslwalks.c
   7268 
   7269 Example Code and Data Size: These are the sizes for the OS-independent 
   7270 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7271 debug version of the code includes the debug output trace mechanism and 
   7272 has 
   7273 a much larger code and data size.
   7274 
   7275   Previous Release (VC 9.0):
   7276     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   7277     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   7278   Current Release (VC 9.0):
   7279     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   7280     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   7281 
   7282 2) iASL Compiler/Disassembler and Tools:
   7283 
   7284 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
   7285 These are useful C-style macros with the standard definitions. ACPICA 
   7286 bugzilla 898.
   7287 
   7288 iASL/DTC: Added support for integer expressions and labels. Support for 
   7289 full 
   7290 expressions for all integer fields in all ACPI tables. Support for labels 
   7291 in 
   7292 "generic" portions of tables such as UEFI. See the iASL reference manual.
   7293 
   7294 Debugger: Added a command to display the status of global handlers. The 
   7295 "handlers" command will display op region, fixed event, and miscellaneous 
   7296 global handlers. installation status -- and for op regions, whether 
   7297 default 
   7298 or user-installed handler will be used.
   7299 
   7300 iASL: Warn if reserved method incorrectly returns a value. Many 
   7301 predefined 
   7302 names are defined such that they do not return a value. If implemented as 
   7303 a 
   7304 method, issue a warning if such a name explicitly returns a value. ACPICA 
   7305 Bugzilla 855.
   7306 
   7307 iASL: Added detection of GPE method name conflicts. Detects a conflict 
   7308 where 
   7309 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
   7310 (For 
   7311 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
   7312 
   7313 iASL/DTC: Fixed a couple input scanner issues with comments and line 
   7314 numbers. Comment remover could get confused and miss a comment ending. 
   7315 Fixed 
   7316 a problem with line counter maintenance.
   7317 
   7318 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
   7319 is 
   7320 no need to abort on simple errors within a field definition.
   7321 
   7322 Debugger: Simplified the output of the help command. All help output now 
   7323 in 
   7324 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
   7325 
   7326 ----------------------------------------
   7327 12 January 2011. Summary of changes for version 20110112:
   7328 
   7329 1) ACPI CA Core Subsystem:
   7330 
   7331 Fixed a race condition between method execution and namespace walks that 
   7332 can 
   7333 possibly cause a fault. The problem was apparently introduced in version 
   7334 20100528 as a result of a performance optimization that reduces the 
   7335 number 
   7336 of 
   7337 namespace walks upon method exit by using the delete_namespace_subtree 
   7338 function instead of the delete_namespace_by_owner function used 
   7339 previously. 
   7340 Bug is a missing namespace lock in the delete_namespace_subtree function. 
   7341 dana.myers (a] oracle.com
   7342 
   7343 Fixed several issues and a possible fault with the automatic "serialized" 
   7344 method support. History: This support changes a method to "serialized" on 
   7345 the 
   7346 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
   7347 possibility that it cannot handle reentrancy. This fix repairs a couple 
   7348 of 
   7349 issues seen in the field, especially on machines with many cores:
   7350 
   7351     1) Delete method children only upon the exit of the last thread,
   7352        so as to not delete objects out from under other running threads
   7353       (and possibly causing a fault.)
   7354     2) Set the "serialized" bit for the method only upon the exit of the
   7355        Last thread, so as to not cause deadlock when running threads
   7356        attempt to exit.
   7357     3) Cleanup the use of the AML "MethodFlags" and internal method flags
   7358        so that there is no longer any confusion between the two.
   7359 
   7360     Lin Ming, Bob Moore. Reported by dana.myers (a] oracle.com.
   7361 
   7362 Debugger: Now lock the namespace for duration of a namespace dump. 
   7363 Prevents 
   7364 issues if the namespace is changing dynamically underneath the debugger. 
   7365 Especially affects temporary namespace nodes, since the debugger displays 
   7366 these also.
   7367 
   7368 Updated the ordering of include files. The ACPICA headers should appear 
   7369 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
   7370 set 
   7371 any necessary compiler-specific defines, etc. Affects the ACPI-related 
   7372 tools 
   7373 and utilities.
   7374 
   7375 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
   7376 copyright 
   7377 to all module headers and signons, including the Linux header. This 
   7378 affects 
   7379 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
   7380 utilities.
   7381 
   7382 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
   7383 project files for VC++ 6.0 are now obsolete. New project files can be 
   7384 found 
   7385 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
   7386 details.
   7387 
   7388 Example Code and Data Size: These are the sizes for the OS-independent 
   7389 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7390 debug version of the code includes the debug output trace mechanism and 
   7391 has a 
   7392 much larger code and data size.
   7393 
   7394   Previous Release (VC 6.0):
   7395     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   7396     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   7397   Current Release (VC 9.0):
   7398     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   7399     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   7400 
   7401 2) iASL Compiler/Disassembler and Tools:
   7402 
   7403 iASL: Added generic data types to the Data Table compiler. Add "generic" 
   7404 data 
   7405 types such as UINT32, String, Unicode, etc., to simplify the generation 
   7406 of 
   7407 platform-defined tables such as UEFI. Lin Ming.
   7408 
   7409 iASL: Added listing support for the Data Table Compiler. Adds listing 
   7410 support 
   7411 (-l) to display actual binary output for each line of input code.
   7412 
   7413 ----------------------------------------
   7414 09 December 2010. Summary of changes for version 20101209:
   7415 
   7416 1) ACPI CA Core Subsystem:
   7417 
   7418 Completed the major overhaul of the GPE support code that was begun in 
   7419 July 
   7420 2010. Major features include: removal of _PRW execution in ACPICA (host 
   7421 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
   7422 changes to existing interfaces, simplification of GPE handler operation, 
   7423 and 
   7424 a handful of new interfaces:
   7425 
   7426     AcpiUpdateAllGpes
   7427     AcpiFinishGpe
   7428     AcpiSetupGpeForWake
   7429     AcpiSetGpeWakeMask
   7430     One new file, evxfgpe.c to consolidate all external GPE interfaces.
   7431 
   7432 See the ACPICA Programmer Reference for full details and programming 
   7433 information. See the new section 4.4 "General Purpose Event (GPE) 
   7434 Support" 
   7435 for a full overview, and section 8.7 "ACPI General Purpose Event 
   7436 Management" 
   7437 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
   7438 Ming, 
   7439 Bob Moore, Rafael Wysocki.
   7440 
   7441 Implemented a new GPE feature for Windows compatibility, the "Implicit 
   7442 Wake 
   7443 GPE Notify". This feature will automatically issue a Notify(2) on a 
   7444 device 
   7445 when a Wake GPE is received if there is no corresponding GPE method or 
   7446 handler. ACPICA BZ 870.
   7447 
   7448 Fixed a problem with the Scope() operator during table parse and load 
   7449 phase. 
   7450 During load phase (table load or method execution), the scope operator 
   7451 should 
   7452 not enter the target into the namespace. Instead, it should open a new 
   7453 scope 
   7454 at the target location. Linux BZ 19462, ACPICA BZ 882.
   7455 
   7456 Example Code and Data Size: These are the sizes for the OS-independent 
   7457 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7458 debug version of the code includes the debug output trace mechanism and 
   7459 has a 
   7460 much larger code and data size.
   7461 
   7462   Previous Release:
   7463     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   7464     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   7465   Current Release:
   7466     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   7467     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   7468 
   7469 2) iASL Compiler/Disassembler and Tools:
   7470 
   7471 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
   7472 are 
   7473 "bus-specific" per the ACPI specification, and therefore any characters 
   7474 are 
   7475 acceptable. The only checks that can be performed are for a null string 
   7476 and 
   7477 perhaps for a leading asterisk. ACPICA BZ 886.
   7478 
   7479 iASL: Fixed a problem where a syntax error that caused a premature EOF 
   7480 condition on the source file emitted a very confusing error message. The 
   7481 premature EOF is now detected correctly. ACPICA BZ 891.
   7482 
   7483 Disassembler: Decode the AccessSize within a Generic Address Structure 
   7484 (byte 
   7485 access, word access, etc.) Note, this field does not allow arbitrary bit 
   7486 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
   7487 
   7488 New: AcpiNames utility - Example namespace dump utility. Shows an example 
   7489 of 
   7490 ACPICA configuration for a minimal namespace dump utility. Uses table and 
   7491 namespace managers, but no AML interpreter. Does not add any 
   7492 functionality 
   7493 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
   7494 partition and configure ACPICA. ACPICA BZ 883.
   7495 
   7496 AML Debugger: Increased the debugger buffer size for method return 
   7497 objects. 
   7498 Was 4K, increased to 16K. Also enhanced error messages for debugger 
   7499 method 
   7500 execution, including the buffer overflow case.
   7501 
   7502 ----------------------------------------
   7503 13 October 2010. Summary of changes for version 20101013:
   7504 
   7505 1) ACPI CA Core Subsystem:
   7506 
   7507 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
   7508 now 
   7509 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
   7510 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
   7511 
   7512 Changed the type of the predefined namespace object _TZ from ThermalZone 
   7513 to 
   7514 Device. This was found to be confusing to the host software that 
   7515 processes 
   7516 the various thermal zones, since _TZ is not really a ThermalZone. 
   7517 However, 
   7518 a 
   7519 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
   7520 Zhang.
   7521 
   7522 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
   7523 string is "Windows 2006 SP2".
   7524 
   7525 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
   7526 nsrepair 
   7527 code automatically repairs _HID-related strings, this type of code is no 
   7528 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
   7529 878.
   7530 
   7531 Example Code and Data Size: These are the sizes for the OS-independent 
   7532 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7533 debug version of the code includes the debug output trace mechanism and 
   7534 has a 
   7535 much larger code and data size.
   7536 
   7537   Previous Release:
   7538     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   7539     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   7540   Current Release:
   7541     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   7542     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   7543 
   7544 2) iASL Compiler/Disassembler and Tools:
   7545 
   7546 iASL: Implemented additional compile-time validation for _HID strings. 
   7547 The 
   7548 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
   7549 length 
   7550 of 
   7551 the string must be exactly seven or eight characters. For both _HID and 
   7552 _CID 
   7553 strings, all characters must be alphanumeric. ACPICA BZ 874.
   7554 
   7555 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
   7556 descriptors that are mostly or all zeros, with the expectation that they 
   7557 will 
   7558 be filled in at runtime. iASL now allows this as long as there is a 
   7559 "resource 
   7560 tag" (name) associated with the descriptor, which gives the ASL a handle 
   7561 needed to modify the descriptor. ACPICA BZ 873.
   7562 
   7563 Added single-thread support to the generic Unix application OSL. 
   7564 Primarily 
   7565 for iASL support, this change removes the use of semaphores in the 
   7566 single-
   7567 threaded ACPICA tools/applications - increasing performance. The 
   7568 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
   7569 option. ACPICA BZ 879.
   7570 
   7571 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
   7572 support 
   7573 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
   7574 
   7575 iASL: Moved all compiler messages to a new file, aslmessages.h.
   7576 
   7577 ----------------------------------------
   7578 15 September 2010. Summary of changes for version 20100915:
   7579 
   7580 1) ACPI CA Core Subsystem:
   7581 
   7582 Removed the AcpiOsDerivePciId OSL interface. The various host 
   7583 implementations 
   7584 of this function were not OS-dependent and are now obsolete and can be 
   7585 removed from all host OSLs. This function has been replaced by 
   7586 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
   7587 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
   7588 module, hwpci.c. ACPICA BZ 857.
   7589 
   7590 Implemented a dynamic repair for _HID and _CID strings. The following 
   7591 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
   7592 string, and 2) the entire string is uppercased. Both repairs are in 
   7593 accordance with the ACPI specification and will simplify host driver 
   7594 code. 
   7595 ACPICA BZ 871.
   7596 
   7597 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
   7598 always UINT64. This simplifies the ACPICA code, especially any printf 
   7599 output. 
   7600 UINT64 is the only common data type for all thread_id types across all 
   7601 operating systems. It is now up to the host OSL to cast the native 
   7602 thread_id 
   7603 type to UINT64 before returning the value to ACPICA (via 
   7604 AcpiOsGetThreadId). 
   7605 Lin Ming, Bob Moore.
   7606 
   7607 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
   7608 "inline" 
   7609 keyword is not standard across compilers, and this type allows inline to 
   7610 be 
   7611 configured on a per-compiler basis. Lin Ming.
   7612 
   7613 Made the system global AcpiGbl_SystemAwakeAndRunning publicly
   7614 available. 
   7615 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
   7616 value 
   7617 during suspend/restore operations. ACPICA BZ 869.
   7618 
   7619 All code that implements error/warning messages with the "ACPI:" prefix 
   7620 has 
   7621 been moved to a new module, utxferror.c.
   7622 
   7623 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
   7624 it 
   7625 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
   7626 
   7627 Example Code and Data Size: These are the sizes for the OS-independent 
   7628 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7629 debug version of the code includes the debug output trace mechanism and 
   7630 has a 
   7631 much larger code and data size.
   7632 
   7633   Previous Release:
   7634     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   7635     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   7636   Current Release:
   7637     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   7638     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   7639 
   7640 2) iASL Compiler/Disassembler and Tools:
   7641 
   7642 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
   7643 file. 
   7644 This keeps the output files free of random error messages that may 
   7645 originate 
   7646 from within the namespace/interpreter code. Used this opportunity to 
   7647 merge 
   7648 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
   7649 866. Lin Ming, Bob Moore.
   7650 
   7651 Tools: update some printfs for ansi warnings on size_t. Handle width 
   7652 change 
   7653 of size_t on 32-bit versus 64-bit generations. Lin Ming.
   7654 
   7655 ----------------------------------------
   7656 06 August 2010. Summary of changes for version 20100806:
   7657 
   7658 1) ACPI CA Core Subsystem:
   7659 
   7660 Designed and implemented a new host interface to the _OSI support code. 
   7661 This 
   7662 will allow the host to dynamically add or remove multiple _OSI strings, 
   7663 as 
   7664 well as install an optional handler that is called for each _OSI 
   7665 invocation. 
   7666 Also added a new AML debugger command, 'osi' to display and modify the 
   7667 global 
   7668 _OSI string table, and test support in the AcpiExec utility. See the 
   7669 ACPICA 
   7670 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
   7671 New Functions:
   7672     AcpiInstallInterface - Add an _OSI string.
   7673     AcpiRemoveInterface - Delete an _OSI string.
   7674     AcpiInstallInterfaceHandler - Install optional _OSI handler.
   7675 Obsolete Functions:
   7676     AcpiOsValidateInterface - no longer used.
   7677 New Files:
   7678     source/components/utilities/utosi.c
   7679 
   7680 Re-introduced the support to enable multi-byte transfers for Embedded 
   7681 Controller (EC) operation regions. A reported problem was found to be a 
   7682 bug 
   7683 in the host OS, not in the multi-byte support. Previously, the maximum 
   7684 data 
   7685 size passed to the EC operation region handler was a single byte. There 
   7686 are 
   7687 often EC Fields larger than one byte that need to be transferred, and it 
   7688 is 
   7689 useful for the EC driver to lock these as a single transaction. This 
   7690 change 
   7691 enables single transfers larger than 8 bits. This effectively changes the 
   7692 access to the EC space from ByteAcc to AnyAcc, and will probably require 
   7693 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
   7694 bit 
   7695 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
   7696 
   7697 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
   7698 prototype in acpiosxf.h had the output value pointer as a (void *).
   7699 It should be a (UINT64 *). This may affect some host OSL code.
   7700 
   7701 Fixed a couple problems with the recently modified Linux makefiles for 
   7702 iASL 
   7703 and AcpiExec. These new makefiles place the generated object files in the 
   7704 local directory so that there can be no collisions between the files that 
   7705 are 
   7706 shared between them that are compiled with different options.
   7707 
   7708 Example Code and Data Size: These are the sizes for the OS-independent 
   7709 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7710 debug version of the code includes the debug output trace mechanism and 
   7711 has a 
   7712 much larger code and data size.
   7713 
   7714   Previous Release:
   7715     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   7716     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   7717   Current Release:
   7718     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   7719     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   7720 
   7721 2) iASL Compiler/Disassembler and Tools:
   7722 
   7723 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
   7724 the 
   7725 namespace from and disassemble an entire group of AML files. Useful for 
   7726 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
   7727 and 
   7728 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
   7729 
   7730 iASL: Allow multiple invocations of -e option. This change allows 
   7731 multiple 
   7732 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
   7733 834. 
   7734 Lin Ming.
   7735 
   7736 ----------------------------------------
   7737 02 July 2010. Summary of changes for version 20100702:
   7738 
   7739 1) ACPI CA Core Subsystem:
   7740 
   7741 Implemented several updates to the recently added GPE reference count 
   7742 support. The model for "wake" GPEs is changing to give the host OS 
   7743 complete 
   7744 control of these GPEs. Eventually, the ACPICA core will not execute any 
   7745 _PRW 
   7746 methods, since the host already must execute them. Also, additional 
   7747 changes 
   7748 were made to help ensure that the reference counts are kept in proper 
   7749 synchronization with reality. Rafael J. Wysocki.
   7750 
   7751 1) Ensure that GPEs are not enabled twice during initialization.
   7752 2) Ensure that GPE enable masks stay in sync with the reference count.
   7753 3) Do not inadvertently enable GPEs when writing GPE registers.
   7754 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
   7755 interface. This interface will set or clear individual GPEs for wakeup.
   7756 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
   7757 interfaces 
   7758 are now used for "runtime" GPEs only.
   7759 
   7760 Changed the behavior of the GPE install/remove handler interfaces. The 
   7761 GPE 
   7762 is 
   7763 no longer disabled during this process, as it was found to cause problems 
   7764 on 
   7765 some machines. Rafael J. Wysocki.
   7766 
   7767 Reverted a change introduced in version 20100528 to enable Embedded 
   7768 Controller multi-byte transfers. This change was found to cause problems 
   7769 with 
   7770 Index Fields and possibly Bank Fields. It will be reintroduced when these 
   7771 problems have been resolved.
   7772 
   7773 Fixed a problem with references to Alias objects within Package Objects. 
   7774 A 
   7775 reference to an Alias within the definition of a Package was not always 
   7776 resolved properly. Aliases to objects like Processors, Thermal zones, 
   7777 etc. 
   7778 were resolved to the actual object instead of a reference to the object 
   7779 as 
   7780 it 
   7781 should be. Package objects are only allowed to contain integer, string, 
   7782 buffer, package, and reference objects. Redhat bugzilla 608648.
   7783 
   7784 Example Code and Data Size: These are the sizes for the OS-independent 
   7785 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7786 debug version of the code includes the debug output trace mechanism and 
   7787 has a 
   7788 much larger code and data size.
   7789 
   7790   Previous Release:
   7791     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   7792     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   7793   Current Release:
   7794     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   7795     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   7796 
   7797 2) iASL Compiler/Disassembler and Tools:
   7798 
   7799 iASL: Implemented a new compiler subsystem to allow definition and 
   7800 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
   7801 These 
   7802 are called "ACPI Data Tables", and the new compiler is the "Data Table 
   7803 Compiler". This compiler is intended to simplify the existing error-prone 
   7804 process of creating these tables for the BIOS, as well as allowing the 
   7805 disassembly, modification, recompilation, and override of existing ACPI 
   7806 data 
   7807 tables. See the iASL User Guide for detailed information.
   7808 
   7809 iASL: Implemented a new Template Generator option in support of the new 
   7810 Data 
   7811 Table Compiler. This option will create examples of all known ACPI tables 
   7812 that can be used as the basis for table development. See the iASL 
   7813 documentation and the -T option.
   7814 
   7815 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
   7816 Descriptor Table).
   7817 
   7818 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
   7819 object files in the local directory so that there can be no collisions 
   7820 between the shared files between them that are generated with different 
   7821 options.
   7822 
   7823 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
   7824 Use 
   7825 the #define __APPLE__ to enable this support.
   7826 
   7827 ----------------------------------------
   7828 28 May 2010. Summary of changes for version 20100528:
   7829 
   7830 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
   7831 available at www.acpi.info. This is primarily an errata release.
   7832 
   7833 1) ACPI CA Core Subsystem:
   7834 
   7835 Undefined ACPI tables: We are looking for the definitions for the 
   7836 following 
   7837 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
   7838 
   7839 Implemented support to enable multi-byte transfers for Embedded 
   7840 Controller 
   7841 (EC) operation regions. Previously, the maximum data size passed to the 
   7842 EC 
   7843 operation region handler was a single byte. There are often EC Fields 
   7844 larger 
   7845 than one byte that need to be transferred, and it is useful for the EC 
   7846 driver 
   7847 to lock these as a single transaction. This change enables single 
   7848 transfers 
   7849 larger than 8 bits. This effectively changes the access to the EC space 
   7850 from 
   7851 ByteAcc to AnyAcc, and will probably require changes to the host OS 
   7852 Embedded 
   7853 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
   7854 bit 
   7855 transfers. Alexey Starikovskiy, Lin Ming
   7856 
   7857 Implemented a performance enhancement for namespace search and access. 
   7858 This 
   7859 change enhances the performance of namespace searches and walks by adding 
   7860 a 
   7861 backpointer to the parent in each namespace node. On large namespaces, 
   7862 this 
   7863 change can improve overall ACPI performance by up to 9X. Adding a pointer 
   7864 to 
   7865 each namespace node increases the overall size of the internal namespace 
   7866 by 
   7867 about 5%, since each namespace entry usually consists of both a namespace 
   7868 node and an ACPI operand object. However, this is the first growth of the 
   7869 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
   7870 
   7871 Implemented a performance optimization that reduces the number of 
   7872 namespace 
   7873 walks. On control method exit, only walk the namespace if the method is 
   7874 known 
   7875 to have created namespace objects outside of its local scope. Previously, 
   7876 the 
   7877 entire namespace was traversed on each control method exit. This change 
   7878 can 
   7879 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
   7880 Moore.
   7881 
   7882 Added support to truncate I/O addresses to 16 bits for Windows 
   7883 compatibility. 
   7884 Some ASL code has been seen in the field that inadvertently has bits set 
   7885 above bit 15. This feature is optional and is enabled if the BIOS 
   7886 requests 
   7887 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
   7888 Garrett, Bob Moore.
   7889 
   7890 Added support to limit the maximum time for the ASL Sleep() operator. To 
   7891 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
   7892 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
   7893 bugzilla 854.
   7894 
   7895 Added run-time validation support for the _WDG and_WED Microsoft 
   7896 predefined 
   7897 methods. These objects are defined by "Windows Instrumentation", and are 
   7898 not 
   7899 part of the ACPI spec. ACPICA BZ 860.
   7900 
   7901 Expanded all statistic counters used during namespace and device 
   7902 initialization from 16 to 32 bits in order to support very large 
   7903 namespaces.
   7904 
   7905 Replaced all instances of %d in printf format specifiers with %u since 
   7906 nearly 
   7907 all integers in ACPICA are unsigned.
   7908 
   7909 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
   7910 returned 
   7911 as AE_NO_HANDLER.
   7912 
   7913 Example Code and Data Size: These are the sizes for the OS-independent 
   7914 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7915 debug version of the code includes the debug output trace mechanism and 
   7916 has a 
   7917 much larger code and data size.
   7918 
   7919   Previous Release:
   7920     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   7921     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   7922   Current Release:
   7923     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   7924     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   7925 
   7926 2) iASL Compiler/Disassembler and Tools:
   7927 
   7928 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
   7929 methods. These objects are defined by "Windows Instrumentation", and are 
   7930 not 
   7931 part of the ACPI spec. ACPICA BZ 860.
   7932 
   7933 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
   7934 option will disable the tracking mechanism, which improves performance 
   7935 considerably.
   7936 
   7937 AcpiExec: Restructured the command line options into -d (disable) and -e 
   7938 (enable) options.
   7939 
   7940 ----------------------------------------
   7941 28 April 2010. Summary of changes for version 20100428:
   7942 
   7943 1) ACPI CA Core Subsystem:
   7944 
   7945 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
   7946 including FADT-based and GPE Block Devices, execute any _PRW methods in 
   7947 the 
   7948 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
   7949 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
   7950 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
   7951 Devices. Provides compatibility with other ACPI implementations. Two new 
   7952 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
   7953 Moore.
   7954 
   7955 Fixed a regression introduced in version 20100331 within the table 
   7956 manager 
   7957 where initial table loading could fail. This was introduced in the fix 
   7958 for 
   7959 AcpiReallocateRootTable. Also, renamed some of fields in the table 
   7960 manager 
   7961 data structures to clarify their meaning and use.
   7962 
   7963 Fixed a possible allocation overrun during internal object copy in 
   7964 AcpiUtCopySimpleObject. The original code did not correctly handle the 
   7965 case 
   7966 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
   7967 847.
   7968 
   7969 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
   7970 possible access beyond end-of-allocation. Also, now fully validate 
   7971 descriptor 
   7972 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
   7973 
   7974 Example Code and Data Size: These are the sizes for the OS-independent 
   7975 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7976 debug version of the code includes the debug output trace mechanism and 
   7977 has a 
   7978 much larger code and data size.
   7979 
   7980   Previous Release:
   7981     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   7982     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   7983   Current Release:
   7984     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   7985     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   7986 
   7987 2) iASL Compiler/Disassembler and Tools:
   7988 
   7989 iASL: Implemented Min/Max/Len/Gran validation for address resource 
   7990 descriptors. This change implements validation for the address fields 
   7991 that 
   7992 are common to all address-type resource descriptors. These checks are 
   7993 implemented: Checks for valid Min/Max, length within the Min/Max window, 
   7994 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
   7995 per 
   7996 table 6-40 in the ACPI 4.0a specification. Also split the large 
   7997 aslrestype1.c 
   7998 and aslrestype2.c files into five new files. ACPICA BZ 840.
   7999 
   8000 iASL: Added support for the _Wxx predefined names. This support was 
   8001 missing 
   8002 and these names were not recognized by the compiler as valid predefined 
   8003 names. ACPICA BZ 851.
   8004 
   8005 iASL: Added an error for all predefined names that are defined to return 
   8006 no 
   8007 value and thus must be implemented as Control Methods. These include all 
   8008 of 
   8009 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
   8010 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
   8011 
   8012 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
   8013 an 
   8014 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
   8015 be 
   8016 dynamically loaded via the Load() operator. Also cleaned up output for 
   8017 the 
   8018 -
   8019 ta and -tc options. ACPICA BZ 853.
   8020 
   8021 Tests: Added a new file with examples of extended iASL error checking. 
   8022 Demonstrates the advanced error checking ability of the iASL compiler. 
   8023 Available at tests/misc/badcode.asl.
   8024 
   8025 ----------------------------------------
   8026 31 March 2010. Summary of changes for version 20100331:
   8027 
   8028 1) ACPI CA Core Subsystem:
   8029 
   8030 Completed a major update for the GPE support in order to improve support 
   8031 for 
   8032 shared GPEs and to simplify both host OS and ACPICA code. Added a 
   8033 reference 
   8034 count mechanism to support shared GPEs that require multiple device 
   8035 drivers. 
   8036 Several external interfaces have changed. One external interface has been 
   8037 removed. One new external interface was added. Most of the GPE external 
   8038 interfaces now use the GPE spinlock instead of the events mutex (and the 
   8039 Flags parameter for many GPE interfaces has been removed.) See the 
   8040 updated 
   8041 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
   8042 Rafael 
   8043 Wysocki. ACPICA BZ 831.
   8044 
   8045 Changed:
   8046     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
   8047 Removed:
   8048     AcpiSetGpeType
   8049 New:
   8050     AcpiSetGpe
   8051 
   8052 Implemented write support for DataTable operation regions. These regions 
   8053 are 
   8054 defined via the DataTableRegion() operator. Previously, only read support 
   8055 was 
   8056 implemented. The ACPI specification allows DataTableRegions to be 
   8057 read/write, 
   8058 however.
   8059 
   8060 Implemented a new subsystem option to force a copy of the DSDT to local 
   8061 memory. Optionally copy the entire DSDT to local memory (instead of 
   8062 simply 
   8063 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
   8064 replace 
   8065 the original DSDT, creating the need for this option. Default is FALSE, 
   8066 do 
   8067 not copy the DSDT.
   8068 
   8069 Implemented detection of a corrupted or replaced DSDT. This change adds 
   8070 support to detect a DSDT that has been corrupted and/or replaced from 
   8071 outside 
   8072 the OS (by firmware). This is typically catastrophic for the system, but 
   8073 has 
   8074 been seen on some machines. Once this problem has been detected, the DSDT 
   8075 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
   8076 
   8077 Fixed two problems with AcpiReallocateRootTable during the root table 
   8078 copy. 
   8079 When copying the root table to the new allocation, the length used was 
   8080 incorrect. The new size was used instead of the current table size, 
   8081 meaning 
   8082 too much data was copied. Also, the count of available slots for ACPI 
   8083 tables 
   8084 was not set correctly. Alexey Starikovskiy, Bob Moore.
   8085 
   8086 Example Code and Data Size: These are the sizes for the OS-independent 
   8087 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8088 debug version of the code includes the debug output trace mechanism and 
   8089 has a 
   8090 much larger code and data size.
   8091 
   8092   Previous Release:
   8093     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   8094     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   8095   Current Release:
   8096     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   8097     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   8098 
   8099 2) iASL Compiler/Disassembler and Tools:
   8100 
   8101 iASL: Implement limited typechecking for values returned from predefined 
   8102 control methods. The type of any returned static (unnamed) object is now 
   8103 validated. For example, Return(1). ACPICA BZ 786.
   8104 
   8105 iASL: Fixed a predefined name object verification regression. Fixes a 
   8106 problem 
   8107 introduced in version 20100304. An error is incorrectly generated if a 
   8108 predefined name is declared as a static named object with a value defined 
   8109 using the keywords "Zero", "One", or "Ones". Lin Ming.
   8110 
   8111 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
   8112 by 
   8113 reducing the requested registry access rights. ACPICA BZ 842.
   8114 
   8115 Disassembler: fixed a possible fault when generating External() 
   8116 statements. 
   8117 Introduced in commit ae7d6fd: Properly handle externals with parent-
   8118 prefix 
   8119 (carat). Fixes a string length allocation calculation. Lin Ming.
   8120 
   8121 ----------------------------------------
   8122 04 March 2010. Summary of changes for version 20100304:
   8123 
   8124 1) ACPI CA Core Subsystem:
   8125 
   8126 Fixed a possible problem with the AML Mutex handling function 
   8127 AcpiExReleaseMutex where the function could fault under the very rare 
   8128 condition when the interpreter has blocked, the interpreter lock is 
   8129 released, 
   8130 the interpreter is then reentered via the same thread, and attempts to 
   8131 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
   8132 Lin 
   8133 Ming.
   8134 
   8135 Implemented additional configuration support for the AML "Debug Object". 
   8136 Output from the debug object can now be enabled via a global variable, 
   8137 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
   8138 debugging. 
   8139 This debug output is now available in the release version of ACPICA 
   8140 instead 
   8141 of just the debug version. Also, the entire debug output module can now 
   8142 be 
   8143 configured out of the ACPICA build if desired. One new file added, 
   8144 executer/exdebug.c. Lin Ming, Bob Moore.
   8145 
   8146 Added header support for the ACPI MCHI table (Management Controller Host 
   8147 Interface Table). This table was added in ACPI 4.0, but the defining 
   8148 document 
   8149 has only recently become available.
   8150 
   8151 Standardized output of integer values for ACPICA warnings/errors. Always 
   8152 use 
   8153 0x prefix for hex output, always use %u for unsigned integer decimal 
   8154 output. 
   8155 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
   8156 400 
   8157 invocations.) These invocations were converted from the original 
   8158 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
   8159 
   8160 Example Code and Data Size: These are the sizes for the OS-independent 
   8161 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8162 debug version of the code includes the debug output trace mechanism and 
   8163 has a 
   8164 much larger code and data size.
   8165 
   8166   Previous Release:
   8167     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   8168     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   8169   Current Release:
   8170     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   8171     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   8172 
   8173 2) iASL Compiler/Disassembler and Tools:
   8174 
   8175 iASL: Implemented typechecking support for static (non-control method) 
   8176 predefined named objects that are declared with the Name() operator. For 
   8177 example, the type of this object is now validated to be of type Integer: 
   8178 Name(_BBN, 1). This change migrates the compiler to using the core 
   8179 predefined 
   8180 name table instead of maintaining a local version. Added a new file, 
   8181 aslpredef.c. ACPICA BZ 832.
   8182 
   8183 Disassembler: Added support for the ACPI 4.0 MCHI table.
   8184 
   8185 ----------------------------------------
   8186 21 January 2010. Summary of changes for version 20100121:
   8187 
   8188 1) ACPI CA Core Subsystem:
   8189 
   8190 Added the 2010 copyright to all module headers and signons. This affects 
   8191 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
   8192 tools/utilities, and the test suites.
   8193 
   8194 Implemented a change to the AcpiGetDevices interface to eliminate 
   8195 unnecessary 
   8196 invocations of the _STA method. In the case where a specific _HID is 
   8197 requested, do not run _STA until a _HID match is found. This eliminates 
   8198 potentially dozens of _STA calls during a search for a particular 
   8199 device/HID, 
   8200 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
   8201 
   8202 Implemented an additional repair for predefined method return values. 
   8203 Attempt 
   8204 to repair unexpected NULL elements within returned Package objects. 
   8205 Create 
   8206 an 
   8207 Integer of value zero, a NULL String, or a zero-length Buffer as 
   8208 appropriate. 
   8209 ACPICA BZ 818. Lin Ming, Bob Moore.
   8210 
   8211 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
   8212 the 
   8213 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
   8214 (with 
   8215 64-bit AML integers). It is now obsolete and this change removes it from 
   8216 the 
   8217 ACPICA code base, replaced by UINT64. The original typedef has been 
   8218 retained 
   8219 for now for compatibility with existing device driver code. ACPICA BZ 
   8220 824.
   8221 
   8222 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
   8223 in 
   8224 the parse tree object.
   8225 
   8226 Added additional warning options for the gcc-4 generation. Updated the 
   8227 source 
   8228 accordingly. This includes some code restructuring to eliminate 
   8229 unreachable 
   8230 code, elimination of some gotos, elimination of unused return values, 
   8231 some 
   8232 additional casting, and removal of redundant declarations.
   8233 
   8234 Example Code and Data Size: These are the sizes for the OS-independent 
   8235 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8236 debug version of the code includes the debug output trace mechanism and 
   8237 has a 
   8238 much larger code and data size.
   8239 
   8240   Previous Release:
   8241     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   8242     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   8243   Current Release:
   8244     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   8245     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   8246 
   8247 2) iASL Compiler/Disassembler and Tools:
   8248 
   8249 No functional changes for this release.
   8250 
   8251 ----------------------------------------
   8252 14 December 2009. Summary of changes for version 20091214:
   8253 
   8254 1) ACPI CA Core Subsystem:
   8255 
   8256 Enhanced automatic data type conversions for predefined name repairs. 
   8257 This 
   8258 change expands the automatic repairs/conversions for predefined name 
   8259 return 
   8260 values to make Integers, Strings, and Buffers fully interchangeable. 
   8261 Also, 
   8262 a 
   8263 Buffer can be converted to a Package of Integers if necessary. The 
   8264 nsrepair.c 
   8265 module was completely restructured. Lin Ming, Bob Moore.
   8266 
   8267 Implemented automatic removal of null package elements during predefined 
   8268 name 
   8269 repairs. This change will automatically remove embedded and trailing NULL 
   8270 package elements from returned package objects that are defined to 
   8271 contain 
   8272 a 
   8273 variable number of sub-packages. The driver is then presented with a 
   8274 package 
   8275 with no null elements to deal with. ACPICA BZ 819.
   8276 
   8277 Implemented a repair for the predefined _FDE and _GTM names. The expected 
   8278 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
   8279 two 
   8280 possible problems (both seen in the field), where a package of integers 
   8281 is 
   8282 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
   8283 Kim.
   8284 
   8285 Implemented additional module-level code support. This change will 
   8286 properly 
   8287 execute module-level code that is not at the root of the namespace (under 
   8288 a 
   8289 Device object, etc.). Now executes the code within the current scope 
   8290 instead 
   8291 of the root. ACPICA BZ 762. Lin Ming.
   8292 
   8293 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
   8294 a 
   8295 problem where mutex errors can occur when running a _REG method that is 
   8296 in 
   8297 the same scope as a method-defined operation region or an operation 
   8298 region 
   8299 under a module-level IF block. This type of code is rare, so the problem 
   8300 has 
   8301 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
   8302 
   8303 Fixed a possible memory leak during module-level code execution. An 
   8304 object 
   8305 could be leaked for each block of executed module-level code if the 
   8306 interpreter slack mode is enabled This change deletes any implicitly 
   8307 returned 
   8308 object from the module-level code block. Lin Ming.
   8309 
   8310 Removed messages for successful predefined repair(s). The repair 
   8311 mechanism 
   8312 was considered too wordy. Now, messages are only unconditionally emitted 
   8313 if 
   8314 the return object cannot be repaired. Existing messages for successful 
   8315 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
   8316 827.
   8317 
   8318 Example Code and Data Size: These are the sizes for the OS-independent 
   8319 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8320 debug version of the code includes the debug output trace mechanism and 
   8321 has a 
   8322 much larger code and data size.
   8323 
   8324   Previous Release:
   8325     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   8326     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   8327   Current Release:
   8328     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   8329     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   8330 
   8331 2) iASL Compiler/Disassembler and Tools:
   8332 
   8333 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
   8334 files 
   8335 were no longer automatically removed at the termination of the compile.
   8336 
   8337 acpiexec: Implemented the -f option to specify default region fill value. 
   8338 This option specifies the value used to initialize buffers that simulate 
   8339 operation regions. Default value is zero. Useful for debugging problems 
   8340 that 
   8341 depend on a specific initial value for a region or field.
   8342 
   8343 ----------------------------------------
   8344 12 November 2009. Summary of changes for version 20091112:
   8345 
   8346 1) ACPI CA Core Subsystem:
   8347 
   8348 Implemented a post-order callback to AcpiWalkNamespace. The existing 
   8349 interface only has a pre-order callback. This change adds an additional 
   8350 parameter for a post-order callback which will be more useful for bus 
   8351 scans. 
   8352 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
   8353 
   8354 Modified the behavior of the operation region memory mapping cache for 
   8355 SystemMemory. Ensure that the memory mappings created for operation 
   8356 regions 
   8357 do not cross 4K page boundaries. Crossing a page boundary while mapping 
   8358 regions can cause kernel warnings on some hosts if the pages have 
   8359 different 
   8360 attributes. Such regions are probably BIOS bugs, and this is the 
   8361 workaround. 
   8362 Linux BZ 14445. Lin Ming.
   8363 
   8364 Implemented an automatic repair for predefined methods that must return 
   8365 sorted lists. This change will repair (by sorting) packages returned by 
   8366 _ALR, 
   8367 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
   8368 sorted 
   8369 and do not contain NULL package elements. Adds one new file, 
   8370 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
   8371 
   8372 Fixed a possible fault during predefined name validation if a return 
   8373 Package 
   8374 object contains NULL elements. Also adds a warning if a NULL element is 
   8375 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
   8376 may 
   8377 include repair or removal of all such NULL elements where possible.
   8378 
   8379 Implemented additional module-level executable AML code support. This 
   8380 change 
   8381 will execute module-level code that is not at the root of the namespace 
   8382 (under a Device object, etc.) at table load time. Module-level executable 
   8383 AML 
   8384 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
   8385 
   8386 Implemented a new internal function to create Integer objects. This 
   8387 function 
   8388 simplifies miscellaneous object creation code. ACPICA BZ 823.
   8389 
   8390 Reduced the severity of predefined repair messages, Warning to Info. 
   8391 Since 
   8392 the object was successfully repaired, a warning is too severe. Reduced to 
   8393 an 
   8394 info message for now. These messages may eventually be changed to debug-
   8395 only. 
   8396 ACPICA BZ 812.
   8397 
   8398 Example Code and Data Size: These are the sizes for the OS-independent 
   8399 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8400 debug version of the code includes the debug output trace mechanism and 
   8401 has a 
   8402 much larger code and data size.
   8403 
   8404   Previous Release:
   8405     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   8406     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   8407   Current Release:
   8408     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   8409     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   8410 
   8411 2) iASL Compiler/Disassembler and Tools:
   8412 
   8413 iASL: Implemented Switch() with While(1) so that Break works correctly. 
   8414 This 
   8415 change correctly implements the Switch operator with a surrounding 
   8416 While(1) 
   8417 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
   8418 
   8419 iASL: Added a message if a package initializer list is shorter than 
   8420 package 
   8421 length. Adds a new remark for a Package() declaration if an initializer 
   8422 list 
   8423 exists, but is shorter than the declared length of the package. Although 
   8424 technically legal, this is probably a coding error and it is seen in the 
   8425 field. ACPICA BZ 815. Lin Ming, Bob Moore.
   8426 
   8427 iASL: Fixed a problem where the compiler could fault after the maximum 
   8428 number 
   8429 of errors was reached (200).
   8430 
   8431 acpixtract: Fixed a possible warning for pointer cast if the compiler 
   8432 warning 
   8433 level set very high.
   8434 
   8435 ----------------------------------------
   8436 13 October 2009. Summary of changes for version 20091013:
   8437 
   8438 1) ACPI CA Core Subsystem:
   8439 
   8440 Fixed a problem where an Operation Region _REG method could be executed 
   8441 more 
   8442 than once. If a custom address space handler is installed by the host 
   8443 before 
   8444 the "initialize operation regions" phase of the ACPICA initialization, 
   8445 any 
   8446 _REG methods for that address space could be executed twice. This change 
   8447 fixes the problem. ACPICA BZ 427. Lin Ming.
   8448 
   8449 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
   8450 invocation of "Scope(\)" is executed (change scope to root), one internal 
   8451 operand object was leaked. Lin Ming.
   8452 
   8453 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
   8454 return value is defined as a Field object in the AML, and the field
   8455 size is less than or equal to the default width of an integer (32 or 
   8456 64),_MAT 
   8457 can incorrectly return an Integer instead of a Buffer. ACPICA now 
   8458 automatically repairs this problem. ACPICA BZ 810.
   8459 
   8460 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
   8461 The 
   8462 "OEM Information" field is often incorrectly returned as an Integer with 
   8463 value zero if the field is not supported by the platform. This is due to 
   8464 an 
   8465 ambiguity in the ACPI specification. The field should always be a string. 
   8466 ACPICA now automatically repairs this problem by returning a NULL string 
   8467 within the returned Package. ACPICA BZ 807.
   8468 
   8469 Example Code and Data Size: These are the sizes for the OS-independent 
   8470 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8471 debug version of the code includes the debug output trace mechanism and 
   8472 has a 
   8473 much larger code and data size.
   8474 
   8475   Previous Release:
   8476     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   8477     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   8478   Current Release:
   8479     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   8480     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   8481 
   8482 2) iASL Compiler/Disassembler and Tools:
   8483 
   8484 Disassembler: Fixed a problem where references to external symbols that 
   8485 contained one or more parent-prefixes (carats) were not handled 
   8486 correctly, 
   8487 possibly causing a fault. ACPICA BZ 806. Lin Ming.
   8488 
   8489 Disassembler: Restructured the code so that all functions that handle 
   8490 external symbols are in a single module. One new file is added, 
   8491 common/dmextern.c.
   8492 
   8493 AML Debugger: Added a max count argument for the Batch command (which 
   8494 executes multiple predefined methods within the namespace.)
   8495 
   8496 iASL: Updated the compiler documentation (User Reference.) Available at 
   8497 http://www.acpica.org/documentation/. ACPICA BZ 750.
   8498 
   8499 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
   8500 files.
   8501 
   8502 ----------------------------------------
   8503 03 September 2009. Summary of changes for version 20090903:
   8504 
   8505 1) ACPI CA Core Subsystem:
   8506 
   8507 For Windows Vista compatibility, added the automatic execution of an _INI 
   8508 method located at the namespace root (\_INI). This method is executed at 
   8509 table load time. This support is in addition to the automatic execution 
   8510 of 
   8511 \_SB._INI. Lin Ming.
   8512 
   8513 Fixed a possible memory leak in the interpreter for AML package objects 
   8514 if 
   8515 the package initializer list is longer than the defined size of the 
   8516 package. 
   8517 This apparently can only happen if the BIOS changes the package size on 
   8518 the 
   8519 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
   8520 interpreter will truncate the package to the defined size (and issue an 
   8521 error 
   8522 message), but previously could leave the extra objects undeleted if they 
   8523 were 
   8524 pre-created during the argument processing (such is the case if the 
   8525 package 
   8526 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
   8527 
   8528 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
   8529 This has been reported in the field. Previously, ACPICA would zero out 
   8530 the 
   8531 buffer/string. Now, the operation is treated as a noop. Provides Windows 
   8532 compatibility. ACPICA BZ 803. Lin Ming.
   8533 
   8534 Removed an extraneous error message for ASL constructs of the form 
   8535 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
   8536 statements 
   8537 are seen in many BIOSs and are once again treated as NOOPs and no error 
   8538 is 
   8539 emitted when they are encountered. ACPICA BZ 785.
   8540 
   8541 Fixed an extraneous warning message if a _DSM reserved method returns a 
   8542 Package object. _DSM can return any type of object, so validation on the 
   8543 return type cannot be performed. ACPICA BZ 802.
   8544 
   8545 Example Code and Data Size: These are the sizes for the OS-independent 
   8546 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8547 debug version of the code includes the debug output trace mechanism and 
   8548 has a 
   8549 much larger code and data size.
   8550 
   8551   Previous Release:
   8552     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   8553     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   8554   Current Release:
   8555     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   8556     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   8557 
   8558 2) iASL Compiler/Disassembler and Tools:
   8559 
   8560 iASL: Fixed a problem with the use of the Alias operator and Resource 
   8561 Templates. The correct alias is now constructed and no error is emitted. 
   8562 ACPICA BZ 738.
   8563 
   8564 iASL: Implemented the -I option to specify additional search directories 
   8565 for 
   8566 include files. Allows multiple additional search paths for include files. 
   8567 Directories are searched in the order specified on the command line 
   8568 (after 
   8569 the local directory is searched.) ACPICA BZ 800.
   8570 
   8571 iASL: Fixed a problem where the full pathname for include files was not 
   8572 emitted for warnings/errors. This caused the IDE support to not work 
   8573 properly. ACPICA BZ 765.
   8574 
   8575 iASL: Implemented the -@ option to specify a Windows-style response file 
   8576 containing additional command line options. ACPICA BZ 801.
   8577 
   8578 AcpiExec: Added support to load multiple AML files simultaneously (such 
   8579 as 
   8580 a 
   8581 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
   8582 pathname. These features allow all machine tables to be easily loaded and 
   8583 debugged together. ACPICA BZ 804.
   8584 
   8585 Disassembler: Added missing support for disassembly of HEST table Error 
   8586 Bank 
   8587 subtables. 
   8588 
   8589 ----------------------------------------
   8590 30 July 2009. Summary of changes for version 20090730:
   8591 
   8592 The ACPI 4.0 implementation for ACPICA is complete with this release.
   8593 
   8594 1) ACPI CA Core Subsystem:
   8595 
   8596 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
   8597 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
   8598 new 
   8599 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
   8600 BERT, 
   8601 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
   8602 There 
   8603 have been some ACPI 4.0 changes to other existing tables. Split the large 
   8604 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
   8605 
   8606 ACPI 4.0: Implemented predefined name validation for all new names. There 
   8607 are 
   8608 31 new names in ACPI 4.0. The predefined validation module was split into 
   8609 two 
   8610 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
   8611 
   8612 Implemented support for so-called "module-level executable code". This is 
   8613 executable AML code that exists outside of any control method and is 
   8614 intended 
   8615 to be executed at table load time. Although illegal since ACPI 2.0, this 
   8616 type 
   8617 of code still exists and is apparently still being created. Blocks of 
   8618 this 
   8619 code are now detected and executed as intended. Currently, the code 
   8620 blocks 
   8621 must exist under either an If, Else, or While construct; these are the 
   8622 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
   8623 
   8624 Implemented an automatic dynamic repair for predefined names that return 
   8625 nested Package objects. This applies to predefined names that are defined 
   8626 to 
   8627 return a variable-length Package of sub-packages. If the number of sub-
   8628 packages is one, BIOS code is occasionally seen that creates a simple 
   8629 single 
   8630 package with no sub-packages. This code attempts to fix the problem by 
   8631 wrapping a new package object around the existing package. These methods 
   8632 can 
   8633 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
   8634 BZ 
   8635 790.
   8636 
   8637 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
   8638 interface. 
   8639 The _HID/_CID matching was broken and no longer matched IDs correctly. 
   8640 ACPICA 
   8641 BZ 793.
   8642 
   8643 Fixed a problem with AcpiReset where the reset would silently fail if the 
   8644 register was one of the protected I/O ports. AcpiReset now bypasses the 
   8645 port 
   8646 validation mechanism. This may eventually be driven into the 
   8647 AcpiRead/Write 
   8648 interfaces.
   8649 
   8650 Fixed a regression related to the recent update of the AcpiRead/Write 
   8651 interfaces. A sleep/suspend could fail if the optional PM2 Control 
   8652 register 
   8653 does not exist during an attempt to write the Bus Master Arbitration bit. 
   8654 (However, some hosts already delete the code that writes this bit, and 
   8655 the 
   8656 code may in fact be obsolete at this date.) ACPICA BZ 799.
   8657 
   8658 Fixed a problem where AcpiTerminate could fault if inadvertently called 
   8659 twice 
   8660 in succession. ACPICA BZ 795.
   8661 
   8662 Example Code and Data Size: These are the sizes for the OS-independent 
   8663 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8664 debug version of the code includes the debug output trace mechanism and 
   8665 has a 
   8666 much larger code and data size.
   8667 
   8668   Previous Release:
   8669     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   8670     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   8671   Current Release:
   8672     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   8673     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   8674 
   8675 2) iASL Compiler/Disassembler and Tools:
   8676 
   8677 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
   8678 changes to existing tables. ACPICA BZ 775.
   8679 
   8680 ----------------------------------------
   8681 25 June 2009. Summary of changes for version 20090625:
   8682 
   8683 The ACPI 4.0 Specification was released on June 16 and is available at 
   8684 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
   8685 continue for the next few releases.
   8686 
   8687 1) ACPI CA Core Subsystem:
   8688 
   8689 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
   8690 address space. Includes support for bi-directional data buffers and an 
   8691 IPMI 
   8692 address space handler (to be installed by an IPMI device driver.) ACPICA 
   8693 BZ 
   8694 773. Lin Ming.
   8695 
   8696 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
   8697 Includes 
   8698 support in both the header files and the disassembler.
   8699 
   8700 Completed a major update for the AcpiGetObjectInfo external interface. 
   8701 Changes include:
   8702  - Support for variable, unlimited length HID, UID, and CID strings.
   8703  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
   8704 etc.)
   8705  - Call the _SxW power methods on behalf of a device object.
   8706  - Determine if a device is a PCI root bridge.
   8707  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
   8708 These changes will require an update to all callers of this interface. 
   8709 See 
   8710 the updated ACPICA Programmer Reference for details. One new source file 
   8711 has 
   8712 been added - utilities/utids.c. ACPICA BZ 368, 780.
   8713 
   8714 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
   8715 transfers. The Value parameter has been extended from 32 bits to 64 bits 
   8716 in 
   8717 order to support new ACPI 4.0 tables. These changes will require an 
   8718 update 
   8719 to 
   8720 all callers of these interfaces. See the ACPICA Programmer Reference for 
   8721 details. ACPICA BZ 768.
   8722 
   8723 Fixed several problems with AcpiAttachData. The handler was not invoked 
   8724 when 
   8725 the host node was deleted. The data sub-object was not automatically 
   8726 deleted 
   8727 when the host node was deleted. The interface to the handler had an 
   8728 unused 
   8729 parameter, this was removed. ACPICA BZ 778.
   8730 
   8731 Enhanced the function that dumps ACPI table headers. All non-printable 
   8732 characters in the string fields are now replaced with '?' (Signature, 
   8733 OemId, 
   8734 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
   8735 these fields are occasionally seen in the field. ACPICA BZ 788.
   8736 
   8737 Fixed a problem with predefined method repair code where the code that 
   8738 attempts to repair/convert an object of incorrect type is only executed 
   8739 on 
   8740 the first time the predefined method is called. The mechanism that 
   8741 disables 
   8742 warnings on subsequent calls was interfering with the repair mechanism. 
   8743 ACPICA BZ 781.
   8744 
   8745 Fixed a possible memory leak in the predefined validation/repair code 
   8746 when 
   8747 a 
   8748 buffer is automatically converted to an expected string object.
   8749 
   8750 Removed obsolete 16-bit files from the distribution and from the current 
   8751 git 
   8752 tree head. ACPICA BZ 776.
   8753 
   8754 Example Code and Data Size: These are the sizes for the OS-independent 
   8755 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8756 debug version of the code includes the debug output trace mechanism and 
   8757 has a 
   8758 much larger code and data size.
   8759 
   8760   Previous Release:
   8761     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   8762     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   8763   Current Release:
   8764     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   8765     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   8766 
   8767 2) iASL Compiler/Disassembler and Tools:
   8768 
   8769 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
   8770 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
   8771 
   8772 ACPI 4.0: iASL - implemented compile-time validation support for all new 
   8773 predefined names and control methods (31 total). ACPICA BZ 769.
   8774 
   8775 ----------------------------------------
   8776 21 May 2009. Summary of changes for version 20090521:
   8777 
   8778 1) ACPI CA Core Subsystem:
   8779 
   8780 Disabled the preservation of the SCI enable bit in the PM1 control 
   8781 register. 
   8782 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
   8783 to 
   8784 be 
   8785 a "preserved" bit - "OSPM always preserves this bit position", section 
   8786 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
   8787 because the bit needs to be explicitly set by the OS as a workaround. No 
   8788 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
   8789 attempts to preserve this bit.
   8790 
   8791 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
   8792 incorrectly formed _PRT package could cause a fault. Added validation to 
   8793 ensure that each package element is actually a sub-package.
   8794 
   8795 Implemented a new interface to install or override a single control 
   8796 method, 
   8797 AcpiInstallMethod. This interface is useful when debugging in order to 
   8798 repair 
   8799 an existing method or to install a missing method without having to 
   8800 override 
   8801 the entire ACPI table. See the ACPICA Programmer Reference for use and 
   8802 examples. Lin Ming, Bob Moore.
   8803 
   8804 Fixed several reference count issues with the DdbHandle object that is 
   8805 created from a Load or LoadTable operator. Prevent premature deletion of 
   8806 the 
   8807 object. Also, mark the object as invalid once the table has been 
   8808 unloaded. 
   8809 This is needed because the handle itself may not be deleted after the 
   8810 table 
   8811 unload, depending on whether it has been stored in a named object by the 
   8812 caller. Lin Ming.
   8813 
   8814 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
   8815 mutexes of the same sync level are acquired but then not released in 
   8816 strict 
   8817 opposite order, the internally maintained Current Sync Level becomes 
   8818 confused 
   8819 and can cause subsequent execution errors. ACPICA BZ 471.
   8820 
   8821 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
   8822 specification has been changed to make the SyncLevel for mutex objects 
   8823 more 
   8824 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
   8825 the 
   8826 same as the current sync level. This makes more sense than the previous 
   8827 rule 
   8828 (SyncLevel less than or equal). This change updates the code to match the 
   8829 specification.
   8830 
   8831 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
   8832 The 
   8833 (local) cache must be locked during all cache object deletions. Andrew 
   8834 Baumann.
   8835 
   8836 Updated the Load operator to use operation region interfaces. This 
   8837 replaces 
   8838 direct memory mapping with region access calls. Now, all region accesses 
   8839 go 
   8840 through the installed region handler as they should.
   8841 
   8842 Simplified and optimized the NsGetNextNode function. Reduced parameter 
   8843 count 
   8844 and reduced code for this frequently used function.
   8845 
   8846 Example Code and Data Size: These are the sizes for the OS-independent 
   8847 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8848 debug version of the code includes the debug output trace mechanism and 
   8849 has a 
   8850 much larger code and data size.
   8851 
   8852   Previous Release:
   8853     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   8854     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   8855   Current Release:
   8856     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   8857     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   8858 
   8859 2) iASL Compiler/Disassembler and Tools:
   8860 
   8861 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
   8862 problems 
   8863 with sub-table disassembly and handling invalid sub-tables. Attempt 
   8864 recovery 
   8865 after an invalid sub-table ID.
   8866 
   8867 ----------------------------------------
   8868 22 April 2009. Summary of changes for version 20090422:
   8869 
   8870 1) ACPI CA Core Subsystem:
   8871 
   8872 Fixed a compatibility issue with the recently released I/O port 
   8873 protection 
   8874 mechanism. For windows compatibility, 1) On a port protection violation, 
   8875 simply ignore the request and do not return an exception (allow the 
   8876 control 
   8877 method to continue execution.) 2) If only part of the request overlaps a 
   8878 protected port, read/write the individual ports that are not protected. 
   8879 Linux 
   8880 BZ 13036. Lin Ming
   8881 
   8882 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
   8883 actually 
   8884 breaks into the AML debugger if the debugger is present. This matches the 
   8885 ACPI-defined behavior.
   8886 
   8887 Fixed several possible warnings related to the use of the configurable 
   8888 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
   8889 pointer with no warnings. Also fixes several warnings in printf-like 
   8890 statements for the 64-bit build when the type is configured as a pointer. 
   8891 ACPICA BZ 766, 767.
   8892 
   8893 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
   8894 on 
   8895 warning options.) Examples include printf formats, aliasing, unused 
   8896 globals, 
   8897 missing prototypes, missing switch default statements, use of non-ANSI 
   8898 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
   8899 for 
   8900 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
   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 a 
   8906 much larger code and data size.
   8907 
   8908   Previous Release:
   8909     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   8910     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   8911   Current Release:
   8912     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   8913     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   8914 
   8915 2) iASL Compiler/Disassembler and Tools:
   8916 
   8917 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
   8918 warnings 
   8919 on 
   8920 the 64-bit build.
   8921 
   8922 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
   8923 not 
   8924 correctly digest Windows/DOS formatted files (with CR/LF).
   8925 
   8926 iASL: Added a new option for "quiet mode" (-va) that produces only the 
   8927 compilation summary, not individual errors and warnings. Useful for large 
   8928 batch compilations.
   8929 
   8930 AcpiExec: Implemented a new option (-z) to enable a forced 
   8931 semaphore/mutex 
   8932 timeout that can be used to detect hang conditions during execution of 
   8933 AML 
   8934 code (includes both internal semaphores and AML-defined mutexes and 
   8935 events.)
   8936 
   8937 Added new makefiles for the generation of acpica in a generic unix-like 
   8938 environment. These makefiles are intended to generate the acpica tools 
   8939 and 
   8940 utilities from the original acpica git source tree structure.
   8941 
   8942 Test Suites: Updated and cleaned up the documentation files. Updated the 
   8943 copyrights to 2009, affecting all source files. Use the new version of 
   8944 iASL 
   8945 with quiet mode. Increased the number of available semaphores in the 
   8946 Windows 
   8947 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
   8948 added 
   8949 an alternate implementation of the semaphore timeout to allow aslts to 
   8950 execute fully on Cygwin.
   8951 
   8952 ----------------------------------------
   8953 20 March 2009. Summary of changes for version 20090320:
   8954 
   8955 1) ACPI CA Core Subsystem:
   8956 
   8957 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
   8958 table 
   8959 unloads. Added a reader/writer locking mechanism to allow multiple 
   8960 concurrent 
   8961 namespace walks (readers), but block a dynamic table unload until it can 
   8962 gain 
   8963 exclusive write access to the namespace. This fixes a problem where a 
   8964 table 
   8965 unload could (possibly catastrophically) delete the portion of the 
   8966 namespace 
   8967 that is currently being examined by a walk. Adds a new file, utlock.c, 
   8968 that 
   8969 implements the reader/writer lock mechanism. ACPICA BZ 749.
   8970 
   8971 Fixed a regression introduced in version 20090220 where a change to the 
   8972 FADT 
   8973 handling could cause the ACPICA subsystem to access non-existent I/O 
   8974 ports.
   8975 
   8976 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
   8977 The 
   8978 FADT can contain both 32-bit and 64-bit versions of these addresses. 
   8979 Previously, the 64-bit versions were favored, meaning that if both 32 and 
   8980 64 
   8981 versions were valid, but not equal, the 64-bit version was used. This was 
   8982 found to cause some machines to fail. Now, in this case, the 32-bit 
   8983 version 
   8984 is used instead. This now matches the Windows behavior.
   8985 
   8986 Implemented a new mechanism to protect certain I/O ports. Provides 
   8987 Microsoft 
   8988 compatibility and protects the standard PC I/O ports from access via AML 
   8989 code. Adds a new file, hwvalid.c
   8990 
   8991 Fixed a possible extraneous warning message from the FADT support. The 
   8992 message warns of a 32/64 length mismatch between the legacy and GAS 
   8993 definitions for a register.
   8994 
   8995 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
   8996 is 
   8997 made obsolete by the port protection mechanism above. It was previously 
   8998 used 
   8999 to validate the entire address range of an operation region, which could 
   9000 be 
   9001 incorrect if the range included illegal ports, but fields within the 
   9002 operation region did not actually access those ports. Validation is now 
   9003 performed on a per-field basis instead of the entire region.
   9004 
   9005 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
   9006 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
   9007 this 
   9008 means a read/modify/write when writing to the register. However, for 
   9009 status 
   9010 registers, writing a one means clear the event. Writing a zero means 
   9011 preserve 
   9012 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
   9013 spec, 
   9014 and the ACPICA code now simply always writes a zero to the ignored bit.
   9015 
   9016 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
   9017 As 
   9018 per the ACPI specification, for the control registers, preserve 
   9019 (read/modify/write) all bits that are defined as either reserved or 
   9020 ignored.
   9021 
   9022 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
   9023 When reading the register, zero the write-only bits as per the ACPI spec. 
   9024 ACPICA BZ 443. Lin Ming.
   9025 
   9026 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
   9027 wants to reply true to this request. The Windows strings are the only 
   9028 paths 
   9029 through the AML that are tested and known to work properly.
   9030 
   9031   Previous Release:
   9032     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   9033     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   9034   Current Release:
   9035     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   9036     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   9037 
   9038 2) iASL Compiler/Disassembler and Tools:
   9039 
   9040 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
   9041 and 
   9042 aetables.c
   9043 
   9044 ----------------------------------------
   9045 20 February 2009. Summary of changes for version 20090220:
   9046 
   9047 1) ACPI CA Core Subsystem:
   9048 
   9049 Optimized the ACPI register locking. Removed locking for reads from the 
   9050 ACPI 
   9051 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
   9052 is 
   9053 not required when reading the single-bit registers. The 
   9054 AcpiGetRegisterUnlocked function is no longer needed and has been 
   9055 removed. 
   9056 This will improve performance for reads on these registers. ACPICA BZ 
   9057 760.
   9058 
   9059 Fixed the parameter validation for AcpiRead/Write. Now return 
   9060 AE_BAD_PARAMETER if the input register pointer is null, and 
   9061 AE_BAD_ADDRESS 
   9062 if 
   9063 the register has an address of zero. Previously, these cases simply 
   9064 returned 
   9065 AE_OK. For optional registers such as PM1B status/enable/control, the 
   9066 caller 
   9067 should check for a valid register address before calling. ACPICA BZ 748.
   9068 
   9069 Renamed the external ACPI bit register access functions. Renamed 
   9070 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
   9071 functions. The new names are AcpiReadBitRegister and 
   9072 AcpiWriteBitRegister. 
   9073 Also, restructured the code for these functions by simplifying the code 
   9074 path 
   9075 and condensing duplicate code to reduce code size.
   9076 
   9077 Added new functions to transparently handle the possibly split PM1 A/B 
   9078 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
   9079 functions 
   9080 now handle the split registers for PM1 Status, Enable, and Control. 
   9081 ACPICA 
   9082 BZ 
   9083 746.
   9084 
   9085 Added a function to handle the PM1 control registers, 
   9086 AcpiHwWritePm1Control. 
   9087 This function writes both of the PM1 control registers (A/B). These 
   9088 registers 
   9089 are different than the PM1 A/B status and enable registers in that 
   9090 different 
   9091 values can be written to the A/B registers. Most notably, the SLP_TYP 
   9092 bits 
   9093 can be different, as per the values returned from the _Sx predefined 
   9094 methods.
   9095 
   9096 Removed an extra register write within AcpiHwClearAcpiStatus. This 
   9097 function 
   9098 was writing an optional PM1B status register twice. The existing call to 
   9099 the 
   9100 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
   9101 A/B 
   9102 register. ACPICA BZ 751.
   9103 
   9104 Split out the PM1 Status registers from the FADT. Added new globals for 
   9105 these 
   9106 registers (A/B), similar to the way the PM1 Enable registers are handled. 
   9107 Instead of overloading the FADT Event Register blocks. This makes the 
   9108 code 
   9109 clearer and less prone to error.
   9110 
   9111 Fixed the warning message for when the platform contains too many ACPI 
   9112 tables 
   9113 for the default size of the global root table data structure. The 
   9114 calculation 
   9115 for the truncation value was incorrect.
   9116 
   9117 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
   9118 obsolete macro, since it is now a simple reference to ->common.type. 
   9119 There 
   9120 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
   9121 
   9122 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
   9123 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
   9124 simply SLEEP_TYPE. ACPICA BZ 754.
   9125 
   9126 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
   9127 function is only needed on 64-bit host operating systems and is thus not 
   9128 included for 32-bit hosts.
   9129 
   9130 Debug output: print the input and result for invocations of the _OSI 
   9131 reserved 
   9132 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
   9133 the 
   9134 verbosity of this debug level. Len Brown.
   9135 
   9136 Example Code and Data Size: These are the sizes for the OS-independent 
   9137 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9138 debug version of the code includes the debug output trace mechanism and 
   9139 has a 
   9140 much larger code and data size.
   9141 
   9142   Previous Release:
   9143     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   9144     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   9145   Current Release:
   9146     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   9147     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   9148 
   9149 2) iASL Compiler/Disassembler and Tools:
   9150 
   9151 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
   9152 various legal performance profiles.
   9153 
   9154 ----------------------------------------
   9155 23 January 2009. Summary of changes for version 20090123:
   9156 
   9157 1) ACPI CA Core Subsystem:
   9158 
   9159 Added the 2009 copyright to all module headers and signons. This affects 
   9160 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   9161 the tools/utilities.
   9162 
   9163 Implemented a change to allow the host to override any ACPI table, 
   9164 including 
   9165 dynamically loaded tables. Previously, only the DSDT could be replaced by 
   9166 the 
   9167 host. With this change, the AcpiOsTableOverride interface is called for 
   9168 each 
   9169 table found in the RSDT/XSDT during ACPICA initialization, and also 
   9170 whenever 
   9171 a table is dynamically loaded via the AML Load operator.
   9172 
   9173 Updated FADT flag definitions, especially the Boot Architecture flags.
   9174 
   9175 Debugger: For the Find command, automatically pad the input ACPI name 
   9176 with 
   9177 underscores if the name is shorter than 4 characters. This enables a 
   9178 match 
   9179 with the actual namespace entry which is itself padded with underscores.
   9180 
   9181 Example Code and Data Size: These are the sizes for the OS-independent 
   9182 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9183 debug version of the code includes the debug output trace mechanism and 
   9184 has a 
   9185 much larger code and data size.
   9186 
   9187   Previous Release:
   9188     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   9189     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   9190   Current Release:
   9191     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   9192     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   9193 
   9194 2) iASL Compiler/Disassembler and Tools:
   9195 
   9196 Fix build error under Bison-2.4.
   9197 
   9198 Disassembler: Enhanced FADT support. Added decoding of the Boot
   9199 Architecture
   9200 flags. Now decode all flags, regardless of the FADT version. Flag output 
   9201 includes the FADT version which first defined each flag.
   9202 
   9203 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
   9204 and 
   9205 DSDT). Windows only.
   9206 
   9207 ----------------------------------------
   9208 04 December 2008. Summary of changes for version 20081204:
   9209 
   9210 1) ACPI CA Core Subsystem:
   9211 
   9212 The ACPICA Programmer Reference has been completely updated and revamped 
   9213 for 
   9214 this release. This includes updates to the external interfaces, OSL 
   9215 interfaces, the overview sections, and the debugger reference.
   9216 
   9217 Several new ACPICA interfaces have been implemented and documented in the 
   9218 programmer reference:
   9219 AcpiReset - Writes the reset value to the FADT-defined reset register.
   9220 AcpiDisableAllGpes - Disable all available GPEs.
   9221 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
   9222 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
   9223 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
   9224 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
   9225 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
   9226 
   9227 Most of the public ACPI hardware-related interfaces have been moved to a 
   9228 new 
   9229 file, components/hardware/hwxface.c
   9230 
   9231 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
   9232 register lengths within the FADT are now used, and the low level ACPI 
   9233 register access no longer hardcodes the ACPI register lengths. Given that 
   9234 there may be some risk in actually trusting the FADT register lengths, a 
   9235 run-
   9236 time option was added to fall back to the default hardcoded lengths if 
   9237 the 
   9238 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
   9239 option is set to true for now, and a warning is issued if a suspicious 
   9240 FADT 
   9241 register length is overridden with the default value.
   9242 
   9243 Fixed a reference count issue in NsRepairObject. This problem was 
   9244 introduced 
   9245 in version 20081031 as part of a fix to repair Buffer objects within 
   9246 Packages. Lin Ming.
   9247 
   9248 Added semaphore support to the Linux/Unix application OS-services layer 
   9249 (OSL). ACPICA BZ 448. Lin Ming.
   9250 
   9251 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
   9252 will 
   9253 be implemented in the OSL, or will binary semaphores be used instead.
   9254 
   9255 Example Code and Data Size: These are the sizes for the OS-independent 
   9256 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9257 debug version of the code includes the debug output trace mechanism and 
   9258 has a 
   9259 much larger code and data size.
   9260 
   9261   Previous Release:
   9262     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   9263     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   9264   Current Release:
   9265     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   9266     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   9267 
   9268 2) iASL Compiler/Disassembler and Tools:
   9269 
   9270 iASL: Completed the '-e' option to include additional ACPI tables in 
   9271 order 
   9272 to 
   9273 aid with disassembly and External statement generation. ACPICA BZ 742. 
   9274 Lin 
   9275 Ming.
   9276 
   9277 iASL: Removed the "named object in while loop" error. The compiler cannot 
   9278 determine how many times a loop will execute. ACPICA BZ 730.
   9279 
   9280 Disassembler: Implemented support for FADT revision 2 (MS extension). 
   9281 ACPICA 
   9282 BZ 743.
   9283 
   9284 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
   9285 MCFG).
   9286 
   9287 ----------------------------------------
   9288 31 October 2008. Summary of changes for version 20081031:
   9289 
   9290 1) ACPI CA Core Subsystem:
   9291 
   9292 Restructured the ACPICA header files into public/private. acpi.h now 
   9293 includes 
   9294 only the "public" acpica headers. All other acpica headers are "private" 
   9295 and 
   9296 should not be included by acpica users. One new file, accommon.h is used 
   9297 to 
   9298 include the commonly used private headers for acpica code generation. 
   9299 Future 
   9300 plans include moving all private headers to a new subdirectory.
   9301 
   9302 Implemented an automatic Buffer->String return value conversion for 
   9303 predefined ACPI methods. For these methods (such as _BIF), added 
   9304 automatic 
   9305 conversion for return objects that are required to be a String, but a 
   9306 Buffer 
   9307 was found instead. This can happen when reading string battery data from 
   9308 an 
   9309 operation region, because it used to be difficult to convert the data 
   9310 from 
   9311 buffer to string from within the ASL. Ensures that the host OS is 
   9312 provided 
   9313 with a valid null-terminated string. Linux BZ 11822.
   9314 
   9315 Updated the FACS waking vector interfaces. Split 
   9316 AcpiSetFirmwareWakingVector 
   9317 into two: one for the 32-bit vector, another for the 64-bit vector. This 
   9318 is 
   9319 required because the host OS must setup the wake much differently for 
   9320 each 
   9321 vector (real vs. protected mode, etc.) and the interface itself should 
   9322 not 
   9323 be 
   9324 deciding which vector to use. Also, eliminated the 
   9325 GetFirmwareWakingVector 
   9326 interface, as it served no purpose (only the firmware reads the vector, 
   9327 OS 
   9328 only writes the vector.) ACPICA BZ 731.
   9329 
   9330 Implemented a mechanism to escape infinite AML While() loops. Added a 
   9331 loop 
   9332 counter to force exit from AML While loops if the count becomes too 
   9333 large. 
   9334 This can occur in poorly written AML when the hardware does not respond 
   9335 within a while loop and the loop does not implement a timeout. The 
   9336 maximum 
   9337 loop count is configurable. A new exception code is returned when a loop 
   9338 is 
   9339 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
   9340 
   9341 Optimized the execution of AML While loops. Previously, a control state 
   9342 object was allocated and freed for each execution of the loop. The 
   9343 optimization is to simply reuse the control state for each iteration. 
   9344 This 
   9345 speeds up the raw loop execution time by about 5%.
   9346 
   9347 Enhanced the implicit return mechanism. For Windows compatibility, return 
   9348 an 
   9349 implicit integer of value zero for methods that contain no executable 
   9350 code. 
   9351 Such methods are seen in the field as stubs (presumably), and can cause 
   9352 drivers to fail if they expect a return value. Lin Ming.
   9353 
   9354 Allow multiple backslashes as root prefixes in namepaths. In a fully 
   9355 qualified namepath, allow multiple backslash prefixes. This can happen 
   9356 (and 
   9357 is seen in the field) because of the use of a double-backslash in strings 
   9358 (since backslash is the escape character) causing confusion. ACPICA BZ 
   9359 739 
   9360 Lin Ming.
   9361 
   9362 Emit a warning if two different FACS or DSDT tables are discovered in the 
   9363 FADT. Checks if there are two valid but different addresses for the FACS 
   9364 and 
   9365 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
   9366 
   9367 Consolidated the method argument count validation code. Merged the code 
   9368 that 
   9369 validates control method argument counts into the predefined validation 
   9370 module. Eliminates possible multiple warnings for incorrect argument 
   9371 counts.
   9372 
   9373 Implemented ACPICA example code. Includes code for ACPICA initialization, 
   9374 handler installation, and calling a control method. Available at 
   9375 source/tools/examples.
   9376 
   9377 Added a global pointer for FACS table to simplify internal FACS access. 
   9378 Use 
   9379 the global pointer instead of using AcpiGetTableByIndex for each FACS 
   9380 access. 
   9381 This simplifies the code for the Global Lock and the Firmware Waking 
   9382 Vector(s).
   9383 
   9384 Example Code and Data Size: These are the sizes for the OS-independent 
   9385 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9386 debug version of the code includes the debug output trace mechanism and 
   9387 has a 
   9388 much larger code and data size.
   9389 
   9390   Previous Release:
   9391     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   9392     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   9393   Current Release:
   9394     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   9395     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   9396 
   9397 2) iASL Compiler/Disassembler and Tools:
   9398 
   9399 iASL: Improved disassembly of external method calls. Added the -e option 
   9400 to 
   9401 allow the inclusion of additional ACPI tables to help with the 
   9402 disassembly 
   9403 of 
   9404 method invocations and the generation of external declarations during the 
   9405 disassembly. Certain external method invocations cannot be disassembled 
   9406 properly without the actual declaration of the method. Use the -e option 
   9407 to 
   9408 include the table where the external method(s) are actually declared. 
   9409 Most 
   9410 useful for disassembling SSDTs that make method calls back to the master 
   9411 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
   9412 -d 
   9413 -e dsdt.aml ssdt1.aml
   9414 
   9415 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
   9416 problem where the use of an alias within a namepath would result in a not 
   9417 found error or cause the compiler to fault. Also now allows forward 
   9418 references from the Alias operator itself. ACPICA BZ 738.
   9419 
   9420 ----------------------------------------
   9421 26 September 2008. Summary of changes for version 20080926:
   9422 
   9423 1) ACPI CA Core Subsystem:
   9424 
   9425 Designed and implemented a mechanism to validate predefined ACPI methods 
   9426 and 
   9427 objects. This code validates the predefined ACPI objects (objects whose 
   9428 names 
   9429 start with underscore) that appear in the namespace, at the time they are 
   9430 evaluated. The argument count and the type of the returned object are 
   9431 validated against the ACPI specification. The purpose of this validation 
   9432 is 
   9433 to detect problems with the BIOS-implemented predefined ACPI objects 
   9434 before 
   9435 the results are returned to the ACPI-related drivers. Future enhancements 
   9436 may 
   9437 include actual repair of incorrect return objects where possible. Two new 
   9438 files are nspredef.c and acpredef.h.
   9439 
   9440 Fixed a fault in the AML parser if a memory allocation fails during the 
   9441 Op 
   9442 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
   9443 
   9444 Fixed an issue with implicit return compatibility. This change improves 
   9445 the 
   9446 implicit return mechanism to be more compatible with the MS interpreter. 
   9447 Lin 
   9448 Ming, ACPICA BZ 349.
   9449 
   9450 Implemented support for zero-length buffer-to-string conversions. Allow 
   9451 zero 
   9452 length strings during interpreter buffer-to-string conversions. For 
   9453 example, 
   9454 during the ToDecimalString and ToHexString operators, as well as implicit 
   9455 conversions. Fiodor Suietov, ACPICA BZ 585.
   9456 
   9457 Fixed two possible memory leaks in the error exit paths of 
   9458 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
   9459 are 
   9460 similar in that they use a stack of state objects in order to eliminate 
   9461 recursion. The stack must be fully unwound and deallocated if an error 
   9462 occurs. Lin Ming. ACPICA BZ 383.
   9463 
   9464 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
   9465 global 
   9466 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
   9467 Moore ACPICA BZ 442.
   9468 
   9469 Removed the obsolete version number in module headers. Removed the 
   9470 "$Revision" number that appeared in each module header. This version 
   9471 number 
   9472 was useful under SourceSafe and CVS, but has no meaning under git. It is 
   9473 not 
   9474 only incorrect, it could also be misleading.
   9475 
   9476 Example Code and Data Size: These are the sizes for the OS-independent 
   9477 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9478 debug version of the code includes the debug output trace mechanism and 
   9479 has a 
   9480 much larger code and data size.
   9481 
   9482   Previous Release:
   9483     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   9484     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   9485   Current Release:
   9486     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   9487     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   9488 
   9489 ----------------------------------------
   9490 29 August 2008. Summary of changes for version 20080829:
   9491 
   9492 1) ACPI CA Core Subsystem:
   9493 
   9494 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
   9495 Reference. Changes include the elimination of cheating on the Object 
   9496 field 
   9497 for the DdbHandle subtype, addition of a reference class field to 
   9498 differentiate the various reference types (instead of an AML opcode), and 
   9499 the 
   9500 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
   9501 
   9502 Reduce an error to a warning for an incorrect method argument count. 
   9503 Previously aborted with an error if too few arguments were passed to a 
   9504 control method via the external ACPICA interface. Now issue a warning 
   9505 instead 
   9506 and continue. Handles the case where the method inadvertently declares 
   9507 too 
   9508 many arguments, but does not actually use the extra ones. Applies mainly 
   9509 to 
   9510 the predefined methods. Lin Ming. Linux BZ 11032.
   9511 
   9512 Disallow the evaluation of named object types with no intrinsic value. 
   9513 Return 
   9514 AE_TYPE for objects that have no value and therefore evaluation is 
   9515 undefined: 
   9516 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
   9517 of 
   9518 these types were allowed, but an exception would be generated at some 
   9519 point 
   9520 during the evaluation. Now, the error is generated up front.
   9521 
   9522 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
   9523 (nsnames.c). Fixes a leak in the error exit path.
   9524 
   9525 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
   9526 debug 
   9527 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
   9528 ACPI_EXCEPTION 
   9529 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
   9530 ACPI_LV_EVENTS.
   9531 
   9532 Removed obsolete and/or unused exception codes from the acexcep.h header. 
   9533 There is the possibility that certain device drivers may be affected if 
   9534 they 
   9535 use any of these exceptions.
   9536 
   9537 The ACPICA documentation has been added to the public git source tree, 
   9538 under 
   9539 acpica/documents. Included are the ACPICA programmer reference, the iASL 
   9540 compiler reference, and the changes.txt release logfile.
   9541 
   9542 Example Code and Data Size: These are the sizes for the OS-independent 
   9543 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9544 debug version of the code includes the debug output trace mechanism and 
   9545 has a 
   9546 much larger code and data size.
   9547 
   9548   Previous Release:
   9549     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   9550     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   9551   Current Release:
   9552     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   9553     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   9554 
   9555 2) iASL Compiler/Disassembler and Tools:
   9556 
   9557 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
   9558 defines _SCP with 3 arguments. Previous versions defined it with only 1 
   9559 argument. iASL now allows both definitions.
   9560 
   9561 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
   9562 zero-
   9563 length subtables when disassembling ACPI tables. Also fixed a couple of 
   9564 errors where a full 16-bit table type field was not extracted from the 
   9565 input 
   9566 properly.
   9567 
   9568 acpisrc: Improve comment counting mechanism for generating source code 
   9569 statistics. Count first and last lines of multi-line comments as 
   9570 whitespace, 
   9571 not comment lines. Handle Linux legal header in addition to standard 
   9572 acpica 
   9573 header.
   9574 
   9575 ----------------------------------------
   9576 
   9577 29 July 2008. Summary of changes for version 20080729:
   9578 
   9579 1) ACPI CA Core Subsystem:
   9580 
   9581 Fix a possible deadlock in the GPE dispatch. Remove call to 
   9582 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
   9583 attempt 
   9584 to acquire the GPE lock but can deadlock since the GPE lock is already 
   9585 held 
   9586 at dispatch time. This code was introduced in version 20060831 as a 
   9587 response 
   9588 to Linux BZ 6881 and has since been removed from Linux.
   9589 
   9590 Add a function to dereference returned reference objects. Examines the 
   9591 return 
   9592 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
   9593 are 
   9594 automatically dereferenced in an attempt to return something useful 
   9595 (these 
   9596 reference types cannot be converted into an external ACPI_OBJECT.) 
   9597 Provides 
   9598 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
   9599 
   9600 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
   9601 subtables for the MADT and one new subtable for the SRAT. Includes 
   9602 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
   9603 x2APIC 
   9604 Specification, June 2008.
   9605 
   9606 Additional error checking for pathname utilities. Add error check after 
   9607 all 
   9608 calls to AcpiNsGetPathnameLength. Add status return from 
   9609 AcpiNsBuildExternalPath and check after all calls. Add parameter 
   9610 validation 
   9611 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
   9612 
   9613 Return status from the global init function AcpiUtGlobalInitialize. This 
   9614 is 
   9615 used by both the kernel subsystem and the utilities such as iASL 
   9616 compiler. 
   9617 The function could possibly fail when the caches are initialized. Yang 
   9618 Yi.
   9619 
   9620 Add a function to decode reference object types to strings. Created for 
   9621 improved error messages. 
   9622 
   9623 Improve object conversion error messages. Better error messages during 
   9624 object 
   9625 conversion from internal to the external ACPI_OBJECT. Used for external 
   9626 calls 
   9627 to AcpiEvaluateObject.
   9628 
   9629 Example Code and Data Size: These are the sizes for the OS-independent 
   9630 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9631 debug version of the code includes the debug output trace mechanism and 
   9632 has a 
   9633 much larger code and data size.
   9634 
   9635   Previous Release:
   9636     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   9637     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   9638   Current Release:
   9639     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   9640     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   9641 
   9642 2) iASL Compiler/Disassembler and Tools:
   9643 
   9644 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
   9645 problem 
   9646 introduced in version 20080701. If the object being evaluated (via 
   9647 execute 
   9648 command) is not a method, the debugger can hang while trying to obtain 
   9649 non-
   9650 existent parameters.
   9651 
   9652 iASL: relax error for using reserved "_T_x" identifiers. These names can 
   9653 appear in a disassembled ASL file if they were emitted by the original 
   9654 compiler. Instead of issuing an error or warning and forcing the user to 
   9655 manually change these names, issue a remark instead.
   9656 
   9657 iASL: error if named object created in while loop. Emit an error if any 
   9658 named 
   9659 object is created within a While loop. If allowed, this code will 
   9660 generate 
   9661 a 
   9662 run-time error on the second iteration of the loop when an attempt is 
   9663 made 
   9664 to 
   9665 create the same named object twice. ACPICA bugzilla 730.
   9666 
   9667 iASL: Support absolute pathnames for include files. Add support for 
   9668 absolute 
   9669 pathnames within the Include operator. previously, only relative 
   9670 pathnames 
   9671 were supported.
   9672 
   9673 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
   9674 Descriptor. 
   9675 The ACPI spec requires one interrupt minimum. BZ 423
   9676 
   9677 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
   9678 Handles the case for the Interrupt Resource Descriptor where
   9679 the ResourceSource argument is omitted but ResourceSourceIndex
   9680 is present. Now leave room for the Index. BZ 426
   9681 
   9682 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
   9683 cases 
   9684 where an error message is emitted if the target does not exist. BZ 516
   9685 
   9686 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
   9687 (get ACPI tables on Windows). This was apparently broken in version 
   9688 20070919.
   9689 
   9690 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
   9691 where 
   9692 the EOF happens immediately after the last table in the input file. Print 
   9693 completion message. Previously, no message was displayed in this case.
   9694 
   9695 ----------------------------------------
   9696 01 July 2008. Summary of changes for version 20080701:
   9697 
   9698 0) Git source tree / acpica.org
   9699 
   9700 Fixed a problem where a git-clone from http would not transfer the entire 
   9701 source tree.
   9702 
   9703 1) ACPI CA Core Subsystem:
   9704 
   9705 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
   9706 enable bit. Now performs a read-change-write of the enable register 
   9707 instead 
   9708 of simply writing out the cached enable mask. This will prevent 
   9709 inadvertent 
   9710 enabling of GPEs if a rogue GPE is received during initialization (before 
   9711 GPE 
   9712 handlers are installed.)
   9713 
   9714 Implemented a copy for dynamically loaded tables. Previously, dynamically 
   9715 loaded tables were simply mapped - but on some machines this memory is 
   9716 corrupted after suspend. Now copy the table to a local buffer. For the 
   9717 OpRegion case, added checksum verify. Use the table length from the table 
   9718 header, not the region length. For the Buffer case, use the table length 
   9719 also. Dennis Noordsij, Bob Moore. BZ 10734
   9720 
   9721 Fixed a problem where the same ACPI table could not be dynamically loaded 
   9722 and 
   9723 unloaded more than once. Without this change, a table cannot be loaded 
   9724 again 
   9725 once it has been loaded/unloaded one time. The current mechanism does not 
   9726 unregister a table upon an unload. During a load, if the same table is 
   9727 found, 
   9728 this no longer returns an exception. BZ 722
   9729 
   9730 Fixed a problem where the wrong descriptor length was calculated for the 
   9731 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
   9732 EndTag 
   9733 are calculated as 12 bytes long, but the actual length in the internal 
   9734 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
   9735 Reported 
   9736 by Linn Crosetto. BZ 728
   9737 
   9738 Fixed a possible memory leak in the Unload operator. The DdbHandle 
   9739 returned 
   9740 by Load() did not have its reference count decremented during unload, 
   9741 leading 
   9742 to a memory leak. Lin Ming. BZ 727
   9743 
   9744 Fixed a possible memory leak when deleting thermal/processor objects. Any 
   9745 associated notify handlers (and objects) were not being deleted. Fiodor 
   9746 Suietov. BZ 506
   9747 
   9748 Fixed the ordering of the ASCII names in the global mutex table to match 
   9749 the 
   9750 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
   9751 only. 
   9752 Vegard Nossum. BZ 726
   9753 
   9754 Enhanced the AcpiGetObjectInfo interface to return the number of required 
   9755 arguments if the object is a control method. Added this call to the 
   9756 debugger 
   9757 so the proper number of default arguments are passed to a method. This 
   9758 prevents a warning when executing methods from AcpiExec.
   9759 
   9760 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
   9761 AE_BAD_PARAMETER if input handle is invalid. BZ 474
   9762 
   9763 Fixed an extraneous warning from exconfig.c on the 64-bit build.
   9764 
   9765 Example Code and Data Size: These are the sizes for the OS-independent 
   9766 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9767 debug version of the code includes the debug output trace mechanism and 
   9768 has a 
   9769 much larger code and data size.
   9770 
   9771   Previous Release:
   9772     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   9773     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   9774   Current Release:
   9775     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   9776     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   9777 
   9778 2) iASL Compiler/Disassembler and Tools:
   9779 
   9780 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
   9781 resource descriptor names.
   9782 
   9783 iASL: Detect invalid ASCII characters in input (windows version). Removed 
   9784 the 
   9785 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
   9786 characters in the input. BZ 441
   9787 
   9788 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
   9789 the 
   9790 "result of operation not used" warning when the DDB handle returned from 
   9791 LoadTable is not used. The warning is not needed. BZ 590
   9792 
   9793 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
   9794 method 
   9795 to 
   9796 pass address of table to the AML. Added option to disable OpRegion 
   9797 simulation 
   9798 to allow creation of an OpRegion with a real address that was passed to 
   9799 _CFG. 
   9800 All of this allows testing of the Load and Unload operators from 
   9801 AcpiExec.
   9802 
   9803 Debugger: update tables command for unloaded tables. Handle unloaded 
   9804 tables 
   9805 and use the standard table header output routine.
   9806 
   9807 ----------------------------------------
   9808 09 June 2008. Summary of changes for version 20080609:
   9809 
   9810 1) ACPI CA Core Subsystem:
   9811 
   9812 Implemented a workaround for reversed _PRT entries. A significant number 
   9813 of 
   9814 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
   9815 change dynamically detects and repairs this problem. Provides 
   9816 compatibility 
   9817 with MS ACPI. BZ 6859
   9818 
   9819 Simplified the internal ACPI hardware interfaces to eliminate the locking 
   9820 flag parameter from Register Read/Write. Added a new external interface, 
   9821 AcpiGetRegisterUnlocked.
   9822 
   9823 Fixed a problem where the invocation of a GPE control method could hang. 
   9824 This 
   9825 was a regression introduced in 20080514. The new method argument count 
   9826 validation mechanism can enter an infinite loop when a GPE method is 
   9827 dispatched. Problem fixed by removing the obsolete code that passed GPE 
   9828 block 
   9829 information to the notify handler via the control method parameter 
   9830 pointer.
   9831 
   9832 Fixed a problem where the _SST execution status was incorrectly returned 
   9833 to 
   9834 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
   9835 in 
   9836 20080514. _SST is optional and a NOT_FOUND exception should never be 
   9837 returned. BZ 716
   9838 
   9839 Fixed a problem where a deleted object could be accessed from within the 
   9840 AML 
   9841 parser. This was a regression introduced in version 20080123 as a fix for 
   9842 the 
   9843 Unload operator. Lin Ming. BZ 10669
   9844 
   9845 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
   9846 operands 
   9847 and eliminated the use of a negative index in a loop. Operands are now 
   9848 displayed in the correct order, not backwards. This also fixes a 
   9849 regression 
   9850 introduced in 20080514 on 64-bit systems where the elimination of 
   9851 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
   9852 715
   9853 
   9854 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
   9855 exit 
   9856 path did not delete a locally allocated structure.
   9857 
   9858 Updated definitions for the DMAR and SRAT tables to synchronize with the 
   9859 current specifications. Includes disassembler support.
   9860 
   9861 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
   9862 loop termination value was used. Loop terminated on iteration early, 
   9863 missing 
   9864 one mutex. Linn Crosetto
   9865 
   9866 Example Code and Data Size: These are the sizes for the OS-independent 
   9867 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9868 debug version of the code includes the debug output trace mechanism and 
   9869 has a 
   9870 much larger code and data size.
   9871 
   9872   Previous Release:
   9873     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   9874     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   9875   Current Release:
   9876     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   9877     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   9878 
   9879 2) iASL Compiler/Disassembler and Tools:
   9880 
   9881 Disassembler: Implemented support for EisaId() within _CID objects. Now 
   9882 disassemble integer _CID objects back to EisaId invocations, including 
   9883 multiple integers within _CID packages. Includes single-step support for 
   9884 debugger also.
   9885 
   9886 Disassembler: Added support for DMAR and SRAT table definition changes.
   9887 
   9888 ----------------------------------------
   9889 14 May 2008. Summary of changes for version 20080514:
   9890 
   9891 1) ACPI CA Core Subsystem:
   9892 
   9893 Fixed a problem where GPEs were enabled too early during the ACPICA 
   9894 initialization. This could lead to "handler not installed" errors on some 
   9895 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
   9896 This 
   9897 ensures that all operation regions and devices throughout the namespace 
   9898 have 
   9899 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
   9900 
   9901 Implemented a change to the enter sleep code. Moved execution of the _GTS 
   9902 method to just before setting sleep enable bit. The execution was moved 
   9903 from 
   9904 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
   9905 immediately before the SLP_EN bit is set, as per the ACPI specification. 
   9906 Luming Yu, BZ 1653.
   9907 
   9908 Implemented a fix to disable unknown GPEs (2nd version). Now always 
   9909 disable 
   9910 the GPE, even if ACPICA thinks that that it is already disabled. It is 
   9911 possible that the AML or some other code has enabled the GPE unbeknownst 
   9912 to 
   9913 the ACPICA code.
   9914 
   9915 Fixed a problem with the Field operator where zero-length fields would 
   9916 return 
   9917 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
   9918 ASL 
   9919 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
   9920 
   9921 Implemented a fix for the Load operator, now load the table at the 
   9922 namespace 
   9923 root. This reverts a change introduced in version 20071019. The table is 
   9924 now 
   9925 loaded at the namespace root even though this goes against the ACPI 
   9926 specification. This provides compatibility with other ACPI 
   9927 implementations. 
   9928 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
   9929 Ming.
   9930 
   9931 Fixed a problem where ACPICA would not Load() tables with unusual 
   9932 signatures. 
   9933 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
   9934 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
   9935 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
   9936 such 
   9937 signatures, ACPICA must be compatible. BZ 10454.
   9938 
   9939 Fixed a possible negative array index in AcpiUtValidateException. Added 
   9940 NULL 
   9941 fields to the exception string arrays to eliminate a -1 subtraction on 
   9942 the 
   9943 SubStatus field.
   9944 
   9945 Updated the debug tracking macros to reduce overall code and data size. 
   9946 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
   9947 instead of pointers to static strings. Jan Beulich and Bob Moore.
   9948 
   9949 Implemented argument count checking in control method invocation via 
   9950 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
   9951 too 
   9952 many. This applies only to extern programmatic control method execution, 
   9953 not 
   9954 method-to-method calls within the AML. Lin Ming.
   9955 
   9956 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
   9957 no 
   9958 longer needed, especially with the removal of 16-bit support. It was 
   9959 replaced 
   9960 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
   9961 bit 
   9962 on 
   9963 32/64-bit platforms is required.
   9964 
   9965 Added the C const qualifier for appropriate string constants -- mostly 
   9966 MODULE_NAME and printf format strings. Jan Beulich.
   9967 
   9968 Example Code and Data Size: These are the sizes for the OS-independent 
   9969 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9970 debug version of the code includes the debug output trace mechanism and 
   9971 has a 
   9972 much larger code and data size.
   9973 
   9974   Previous Release:
   9975     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   9976     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   9977   Current Release:
   9978     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   9979     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   9980 
   9981 2) iASL Compiler/Disassembler and Tools:
   9982 
   9983 Implemented ACPI table revision ID validation in the disassembler. Zero 
   9984 is 
   9985 always invalid. For DSDTs, the ID controls the interpreter integer width. 
   9986 1 
   9987 means 32-bit and this is unusual. 2 or greater is 64-bit.
   9988 
   9989 ----------------------------------------
   9990 21 March 2008. Summary of changes for version 20080321:
   9991 
   9992 1) ACPI CA Core Subsystem:
   9993 
   9994 Implemented an additional change to the GPE support in order to suppress 
   9995 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
   9996 permanently 
   9997 disable incoming GPEs that are neither enabled nor disabled -- meaning 
   9998 that 
   9999 the GPE is unknown to the system. This should prevent future interrupt 
   10000 floods 
   10001 from that GPE. BZ 6217 (Zhang Rui)
   10002 
   10003 Fixed a problem where NULL package elements were not returned to the 
   10004 AcpiEvaluateObject interface correctly. The element was simply ignored 
   10005 instead of returning a NULL ACPI_OBJECT package element, potentially 
   10006 causing 
   10007 a buffer overflow and/or confusing the caller who expected a fixed number 
   10008 of 
   10009 elements. BZ 10132 (Lin Ming, Bob Moore)
   10010 
   10011 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
   10012 Dword, 
   10013 Qword), Field, BankField, and IndexField operators when invoked from 
   10014 inside 
   10015 an executing control method. In this case, these operators created 
   10016 namespace 
   10017 nodes that were incorrectly left marked as permanent nodes instead of 
   10018 temporary nodes. This could cause a problem if there is race condition 
   10019 between an exiting control method and a running namespace walk. (Reported 
   10020 by 
   10021 Linn Crosetto)
   10022 
   10023 Fixed a problem where the CreateField and CreateXXXField operators would 
   10024 incorrectly allow duplicate names (the name of the field) with no 
   10025 exception 
   10026 generated.
   10027 
   10028 Implemented several changes for Notify handling. Added support for new 
   10029 Notify 
   10030 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
   10031 PowerResource objects is no longer allowed, as per the ACPI 
   10032 specification. 
   10033 (Bob Moore, Zhang Rui)
   10034 
   10035 All Reference Objects returned via the AcpiEvaluateObject interface are 
   10036 now 
   10037 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
   10038 for 
   10039 NULL objects - either NULL package elements or unresolved named 
   10040 references.
   10041 
   10042 Fixed a problem where an extraneous debug message was produced for 
   10043 package 
   10044 objects (when debugging enabled). The message "Package List length larger 
   10045 than NumElements count" is now produced in the correct case, and is now 
   10046 an 
   10047 error message rather than a debug message. Added a debug message for the 
   10048 opposite case, where NumElements is larger than the Package List (the 
   10049 package 
   10050 will be padded out with NULL elements as per the ACPI spec.)
   10051 
   10052 Implemented several improvements for the output of the ASL "Debug" object 
   10053 to 
   10054 clarify and keep all data for a given object on one output line.
   10055 
   10056 Fixed two size calculation issues with the variable-length Start 
   10057 Dependent 
   10058 resource descriptor.
   10059 
   10060 Example Code and Data Size: These are the sizes for the OS-independent 
   10061 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10062 debug version of the code includes the debug output trace mechanism and 
   10063 has 
   10064 a much larger code and data size.
   10065 
   10066   Previous Release:
   10067     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   10068     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   10069   Current Release:
   10070     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   10071     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   10072 
   10073 2) iASL Compiler/Disassembler and Tools:
   10074 
   10075 Fixed a problem with the use of the Switch operator where execution of 
   10076 the 
   10077 containing method by multiple concurrent threads could cause an 
   10078 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
   10079 actual Switch opcode, it must be simulated with local named temporary 
   10080 variables and if/else pairs. The solution chosen was to mark any method 
   10081 that 
   10082 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
   10083 469.
   10084 
   10085 ----------------------------------------
   10086 13 February 2008. Summary of changes for version 20080213:
   10087 
   10088 1) ACPI CA Core Subsystem:
   10089 
   10090 Implemented another MS compatibility design change for GPE/Notify 
   10091 handling. 
   10092 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
   10093 to 
   10094 complete first. It is expected that the OSL will queue the enable request 
   10095 behind all pending notify requests (may require changes to the local host 
   10096 OSL 
   10097 in AcpiOsExecute). Alexey Starikovskiy.
   10098 
   10099 Fixed a problem where buffer and package objects passed as arguments to a 
   10100 control method via the external AcpiEvaluateObject interface could cause 
   10101 an 
   10102 AE_AML_INTERNAL exception depending on the order and type of operators 
   10103 executed by the target control method.
   10104 
   10105 Fixed a problem where resource descriptor size optimization could cause a 
   10106 problem when a _CRS resource template is passed to a _SRS method. The 
   10107 _SRS 
   10108 resource template must use the same descriptors (with the same size) as 
   10109 returned from _CRS. This change affects the following resource 
   10110 descriptors: 
   10111 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
   10112 9487)
   10113 
   10114 Fixed a problem where a CopyObject to RegionField, BankField, and 
   10115 IndexField 
   10116 objects did not perform an implicit conversion as it should. These types 
   10117 must 
   10118 retain their initial type permanently as per the ACPI specification. 
   10119 However, 
   10120 a CopyObject to all other object types should not perform an implicit 
   10121 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
   10122 
   10123 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
   10124 match device CIDs did not examine the entire list of available CIDs, but 
   10125 instead aborted on the first non-matching CID. Andrew Patterson.
   10126 
   10127 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
   10128 was 
   10129 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
   10130 truncating the upper dword of a 64-bit value. This macro is only used to 
   10131 display debug output, so no incorrect calculations were made. Also, 
   10132 reimplemented the macro so that a 64-bit shift is not performed by 
   10133 inefficient compilers.
   10134 
   10135 Added missing va_end statements that should correspond with each va_start 
   10136 statement.
   10137 
   10138 Example Code and Data Size: These are the sizes for the OS-independent 
   10139 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10140 debug version of the code includes the debug output trace mechanism and 
   10141 has 
   10142 a much larger code and data size.
   10143 
   10144   Previous Release:
   10145     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   10146     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   10147   Current Release:
   10148     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   10149     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   10150 
   10151 2) iASL Compiler/Disassembler and Tools:
   10152 
   10153 Implemented full disassembler support for the following new ACPI tables: 
   10154 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
   10155 complicated HEST table. These tables support the Windows Hardware Error 
   10156 Architecture (WHEA).
   10157 
   10158 ----------------------------------------
   10159 23 January 2008. Summary of changes for version 20080123:
   10160 
   10161 1) ACPI CA Core Subsystem:
   10162 
   10163 Added the 2008 copyright to all module headers and signons. This affects 
   10164 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   10165 the tools/utilities.
   10166 
   10167 Fixed a problem with the SizeOf operator when used with Package and 
   10168 Buffer 
   10169 objects. These objects have deferred execution for some arguments, and 
   10170 the 
   10171 execution is now completed before the SizeOf is executed. This problem 
   10172 caused 
   10173 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
   10174 BZ 
   10175 9558
   10176 
   10177 Implemented an enhancement to the interpreter "slack mode". In the 
   10178 absence 
   10179 of 
   10180 an explicit return or an implicitly returned object from the last 
   10181 executed 
   10182 opcode, a control method will now implicitly return an integer of value 0 
   10183 for 
   10184 Microsoft compatibility. (Lin Ming) BZ 392
   10185 
   10186 Fixed a problem with the Load operator where an exception was not 
   10187 returned 
   10188 in 
   10189 the case where the table is already loaded. (Lin Ming) BZ 463
   10190 
   10191 Implemented support for the use of DDBHandles as an Indexed Reference, as 
   10192 per 
   10193 the ACPI spec. (Lin Ming) BZ 486
   10194 
   10195 Implemented support for UserTerm (Method invocation) for the Unload 
   10196 operator 
   10197 as per the ACPI spec. (Lin Ming) BZ 580
   10198 
   10199 Fixed a problem with the LoadTable operator where the OemId and 
   10200 OemTableId 
   10201 input strings could cause unexpected failures if they were shorter than 
   10202 the 
   10203 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
   10204 
   10205 Implemented support for UserTerm (Method invocation) for the Unload 
   10206 operator 
   10207 as per the ACPI spec. (Lin Ming) BZ 580
   10208 
   10209 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
   10210 HEST, 
   10211 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
   10212 
   10213 Example Code and Data Size: These are the sizes for the OS-independent 
   10214 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10215 debug version of the code includes the debug output trace mechanism and 
   10216 has 
   10217 a much larger code and data size.
   10218 
   10219   Previous Release:
   10220     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   10221     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   10222   Current Release:
   10223     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   10224     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   10225 
   10226 2) iASL Compiler/Disassembler and Tools:
   10227 
   10228 Implemented support in the disassembler for checksum validation on 
   10229 incoming 
   10230 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
   10231 table 
   10232 header dump at the start of the disassembly.
   10233 
   10234 Implemented additional debugging information in the namespace listing 
   10235 file 
   10236 created during compilation. In addition to the namespace hierarchy, the 
   10237 full 
   10238 pathname to each namespace object is displayed.
   10239 
   10240 Fixed a problem with the disassembler where invalid ACPI tables could 
   10241 cause 
   10242 faults or infinite loops.
   10243 
   10244 Fixed an unexpected parse error when using the optional "parameter types" 
   10245 list in a control method declaration. (Lin Ming) BZ 397
   10246 
   10247 Fixed a problem where two External declarations with the same name did 
   10248 not 
   10249 cause an error (Lin Ming) BZ 509
   10250 
   10251 Implemented support for full TermArgs (adding Argx, Localx and method 
   10252 invocation) for the ParameterData parameter to the LoadTable operator. 
   10253 (Lin 
   10254 Ming) BZ 583,587
   10255 
   10256 ----------------------------------------
   10257 19 December 2007. Summary of changes for version 20071219:
   10258 
   10259 1) ACPI CA Core Subsystem:
   10260 
   10261 Implemented full support for deferred execution for the TermArg string 
   10262 arguments for DataTableRegion. This enables forward references and full 
   10263 operand resolution for the three string arguments. Similar to 
   10264 OperationRegion 
   10265 deferred argument execution.) Lin Ming. BZ 430
   10266 
   10267 Implemented full argument resolution support for the BankValue argument 
   10268 to 
   10269 BankField. Previously, only constants were supported, now any TermArg may 
   10270 be 
   10271 used. Lin Ming BZ 387, 393
   10272 
   10273 Fixed a problem with AcpiGetDevices where the search of a branch of the 
   10274 device tree could be terminated prematurely. In accordance with the ACPI 
   10275 specification, the search down the current branch is terminated if a 
   10276 device 
   10277 is both not present and not functional (instead of just not present.) 
   10278 Yakui 
   10279 Zhao.
   10280 
   10281 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
   10282 if 
   10283 the underlying AML code changed the GPE enable registers. Now, any 
   10284 unknown 
   10285 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
   10286 disabled 
   10287 instead of simply ignored. Rui Zhang.
   10288 
   10289 Fixed a problem with Index Fields where the Index register was 
   10290 incorrectly 
   10291 limited to a maximum of 32 bits. Now any size may be used.
   10292 
   10293 Fixed a couple memory leaks associated with "implicit return" objects 
   10294 when 
   10295 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
   10296 
   10297 Example Code and Data Size: These are the sizes for the OS-independent 
   10298 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10299 debug version of the code includes the debug output trace mechanism and 
   10300 has 
   10301 a much larger code and data size.
   10302 
   10303   Previous Release:
   10304     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   10305     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   10306   Current Release:
   10307     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   10308     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   10309 
   10310 ----------------------------------------
   10311 14 November 2007. Summary of changes for version 20071114:
   10312 
   10313 1) ACPI CA Core Subsystem:
   10314 
   10315 Implemented event counters for each of the Fixed Events, the ACPI SCI 
   10316 (interrupt) itself, and control methods executed. Named 
   10317 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
   10318 These 
   10319 should be useful for debugging and statistics.
   10320 
   10321 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
   10322 contents of the various event counters. Returns the current values for 
   10323 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
   10324 AcpiMethodCount. The interface can be expanded in the future if new 
   10325 counters 
   10326 are added. Device drivers should use this interface rather than access 
   10327 the 
   10328 counters directly.
   10329 
   10330 Fixed a problem with the FromBCD and ToBCD operators. With some 
   10331 compilers, 
   10332 the ShortDivide function worked incorrectly, causing problems with the 
   10333 BCD 
   10334 functions with large input values. A truncation from 64-bit to 32-bit 
   10335 inadvertently occurred. Internal BZ 435. Lin Ming
   10336 
   10337 Fixed a problem with Index references passed as method arguments. 
   10338 References 
   10339 passed as arguments to control methods were dereferenced immediately 
   10340 (before 
   10341 control was passed to the called method). The references are now 
   10342 correctly 
   10343 passed directly to the called method. BZ 5389. Lin Ming
   10344 
   10345 Fixed a problem with CopyObject used in conjunction with the Index 
   10346 operator. 
   10347 The reference was incorrectly dereferenced before the copy. The reference 
   10348 is 
   10349 now correctly copied. BZ 5391. Lin Ming
   10350 
   10351 Fixed a problem with Control Method references within Package objects. 
   10352 These 
   10353 references are now correctly generated. This completes the package 
   10354 construction overhaul that began in version 20071019.
   10355 
   10356 Example Code and Data Size: These are the sizes for the OS-independent 
   10357 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10358 debug version of the code includes the debug output trace mechanism and 
   10359 has 
   10360 a much larger code and data size.
   10361 
   10362   Previous Release:
   10363     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   10364     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   10365   Current Release:
   10366     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   10367     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   10368 
   10369 
   10370 2) iASL Compiler/Disassembler and Tools:
   10371 
   10372 The AcpiExec utility now installs handlers for all of the predefined 
   10373 Operation Region types. New types supported are: PCI_Config, CMOS, and 
   10374 PCIBARTarget.
   10375 
   10376 Fixed a problem with the 64-bit version of AcpiExec where the extended 
   10377 (64-
   10378 bit) address fields for the DSDT and FACS within the FADT were not being 
   10379 used, causing truncation of the upper 32-bits of these addresses. Lin 
   10380 Ming 
   10381 and Bob Moore
   10382 
   10383 ----------------------------------------
   10384 19 October 2007. Summary of changes for version 20071019:
   10385 
   10386 1) ACPI CA Core Subsystem:
   10387 
   10388 Fixed a problem with the Alias operator when the target of the alias is a 
   10389 named ASL operator that opens a new scope -- Scope, Device, 
   10390 PowerResource, 
   10391 Processor, and ThermalZone. In these cases, any children of the original 
   10392 operator could not be accessed via the alias, potentially causing 
   10393 unexpected 
   10394 AE_NOT_FOUND exceptions. (BZ 9067)
   10395 
   10396 Fixed a problem with the Package operator where all named references were 
   10397 created as object references and left otherwise unresolved. According to 
   10398 the 
   10399 ACPI specification, a Package can only contain Data Objects or references 
   10400 to 
   10401 control methods. The implication is that named references to Data Objects 
   10402 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
   10403 immediately upon package creation. This is the approach taken with this 
   10404 change. References to all other named objects (Methods, Devices, Scopes, 
   10405 etc.) are all now properly created as reference objects. (BZ 5328)
   10406 
   10407 Reverted a change to Notify handling that was introduced in version 
   10408 20070508. This version changed the Notify handling from asynchronous to 
   10409 fully synchronous (Device driver Notify handling with respect to the 
   10410 Notify 
   10411 ASL operator). It was found that this change caused more problems than it 
   10412 solved and was removed by most users.
   10413 
   10414 Fixed a problem with the Increment and Decrement operators where the type 
   10415 of 
   10416 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
   10417 Lin Ming.
   10418 
   10419 Fixed a problem with the Load and LoadTable operators where the table 
   10420 location within the namespace was ignored. Instead, the table was always 
   10421 loaded into the root or current scope. Lin Ming.
   10422 
   10423 Fixed a problem with the Load operator when loading a table from a buffer 
   10424 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
   10425 
   10426 Fixed a problem with the Debug object where a store of a DdbHandle 
   10427 reference 
   10428 object to the Debug object could cause a fault.
   10429 
   10430 Added a table checksum verification for the Load operator, in the case 
   10431 where 
   10432 the load is from a buffer. (BZ 578).
   10433 
   10434 Implemented additional parameter validation for the LoadTable operator. 
   10435 The 
   10436 length of the input strings SignatureString, OemIdString, and OemTableId 
   10437 are 
   10438 now checked for maximum lengths. (BZ 582) Lin Ming.
   10439 
   10440 Example Code and Data Size: These are the sizes for the OS-independent 
   10441 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10442 debug version of the code includes the debug output trace mechanism and 
   10443 has 
   10444 a much larger code and data size.
   10445 
   10446   Previous Release:
   10447     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   10448     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   10449   Current Release:
   10450     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   10451     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   10452 
   10453 
   10454 2) iASL Compiler/Disassembler:
   10455 
   10456 Fixed a problem where if a single file was specified and the file did not 
   10457 exist, no error message was emitted. (Introduced with wildcard support in 
   10458 version 20070917.)
   10459 
   10460 ----------------------------------------
   10461 19 September 2007. Summary of changes for version 20070919:
   10462 
   10463 1) ACPI CA Core Subsystem:
   10464 
   10465 Designed and implemented new external interfaces to install and remove 
   10466 handlers for ACPI table-related events. Current events that are defined 
   10467 are 
   10468 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
   10469 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
   10470 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
   10471 
   10472 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
   10473 (acpi_serialized option on Linux) could cause some systems to hang during 
   10474 initialization. (Bob Moore) BZ 8171
   10475 
   10476 Fixed a problem where objects of certain types (Device, ThermalZone, 
   10477 Processor, PowerResource) can be not found if they are declared and 
   10478 referenced from within the same control method (Lin Ming) BZ 341
   10479 
   10480 Example Code and Data Size: These are the sizes for the OS-independent 
   10481 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10482 debug version of the code includes the debug output trace mechanism and 
   10483 has 
   10484 a much larger code and data size.
   10485 
   10486   Previous Release:
   10487     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   10488     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   10489   Current Release:
   10490     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   10491     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   10492 
   10493 
   10494 2) iASL Compiler/Disassembler:
   10495 
   10496 Implemented support to allow multiple files to be compiled/disassembled 
   10497 in 
   10498 a 
   10499 single invocation. This includes command line wildcard support for both 
   10500 the 
   10501 Windows and Unix versions of the compiler. This feature simplifies the 
   10502 disassembly and compilation of multiple ACPI tables in a single 
   10503 directory.
   10504 
   10505 ----------------------------------------
   10506 08 May 2007. Summary of changes for version 20070508:
   10507 
   10508 1) ACPI CA Core Subsystem:
   10509 
   10510 Implemented a Microsoft compatibility design change for the handling of 
   10511 the 
   10512 Notify AML operator. Previously, notify handlers were dispatched and 
   10513 executed completely asynchronously in a deferred thread. The new design 
   10514 still executes the notify handlers in a different thread, but the 
   10515 original 
   10516 thread that executed the Notify() now waits at a synchronization point 
   10517 for 
   10518 the notify handler to complete. Some machines depend on a synchronous 
   10519 Notify 
   10520 operator in order to operate correctly.
   10521 
   10522 Implemented support to allow Package objects to be passed as method 
   10523 arguments to the external AcpiEvaluateObject interface. Previously, this 
   10524 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
   10525 implemented since there were no reserved control methods that required it 
   10526 until recently.
   10527 
   10528 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
   10529 that 
   10530 contained invalid non-zero values in reserved fields could cause later 
   10531 failures because these fields have meaning in later revisions of the 
   10532 FADT. 
   10533 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
   10534 fields 
   10535 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
   10536 
   10537 Fixed a problem where the Global Lock handle was not properly updated if 
   10538 a 
   10539 thread that acquired the Global Lock via executing AML code then 
   10540 attempted 
   10541 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
   10542 Joe 
   10543 Liu.
   10544 
   10545 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
   10546 could be corrupted if the interrupt being removed was at the head of the 
   10547 list. Reported by Linn Crosetto.
   10548 
   10549 Example Code and Data Size: These are the sizes for the OS-independent 
   10550 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10551 debug version of the code includes the debug output trace mechanism and 
   10552 has 
   10553 a much larger code and data size.
   10554 
   10555   Previous Release:
   10556     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   10557     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   10558   Current Release:
   10559     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   10560     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   10561 
   10562 ----------------------------------------
   10563 20 March 2007. Summary of changes for version 20070320:
   10564 
   10565 1) ACPI CA Core Subsystem:
   10566 
   10567 Implemented a change to the order of interpretation and evaluation of AML 
   10568 operand objects within the AML interpreter. The interpreter now evaluates 
   10569 operands in the order that they appear in the AML stream (and the 
   10570 corresponding ASL code), instead of in the reverse order (after the 
   10571 entire 
   10572 operand list has been parsed). The previous behavior caused several 
   10573 subtle 
   10574 incompatibilities with the Microsoft AML interpreter as well as being 
   10575 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
   10576 
   10577 Implemented a change to the ACPI Global Lock support. All interfaces to 
   10578 the 
   10579 global lock now allow the same thread to acquire the lock multiple times. 
   10580 This affects the AcpiAcquireGlobalLock external interface to the global 
   10581 lock 
   10582 as well as the internal use of the global lock to support AML fields -- a 
   10583 control method that is holding the global lock can now simultaneously 
   10584 access 
   10585 AML fields that require global lock protection. Previously, in both 
   10586 cases, 
   10587 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
   10588 to 
   10589 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
   10590 Controller. There is no change to the behavior of the AML Acquire 
   10591 operator, 
   10592 as this can already be used to acquire a mutex multiple times by the same 
   10593 thread. BZ 8066. With assistance from Alexey Starikovskiy.
   10594 
   10595 Fixed a problem where invalid objects could be referenced in the AML 
   10596 Interpreter after error conditions. During operand evaluation, ensure 
   10597 that 
   10598 the internal "Return Object" field is cleared on error and only valid 
   10599 pointers are stored there. Caused occasional access to deleted objects 
   10600 that 
   10601 resulted in "large reference count" warning messages. Valery Podrezov.
   10602 
   10603 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
   10604 on 
   10605 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
   10606 Podrezov.
   10607 
   10608 Fixed an internal problem with the handling of result objects on the 
   10609 interpreter result stack. BZ 7872. Valery Podrezov.
   10610 
   10611 Removed obsolete code that handled the case where AML_NAME_OP is the 
   10612 target 
   10613 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
   10614 7874. Valery Podrezov.
   10615 
   10616 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
   10617 was 
   10618 a 
   10619 remnant from the previously discontinued 16-bit support.
   10620 
   10621 Example Code and Data Size: These are the sizes for the OS-independent 
   10622 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10623 debug version of the code includes the debug output trace mechanism and 
   10624 has 
   10625 a much larger code and data size.
   10626 
   10627   Previous Release:
   10628     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   10629     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   10630   Current Release:
   10631     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   10632     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   10633 
   10634 ----------------------------------------
   10635 26 January 2007. Summary of changes for version 20070126:
   10636 
   10637 1) ACPI CA Core Subsystem:
   10638 
   10639 Added the 2007 copyright to all module headers and signons. This affects 
   10640 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   10641 the utilities.
   10642 
   10643 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
   10644 during a table load. A bad pointer was passed in the case where the DSDT 
   10645 is 
   10646 overridden, causing a fault in this case.
   10647 
   10648 Example Code and Data Size: These are the sizes for the OS-independent 
   10649 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10650 debug version of the code includes the debug output trace mechanism and 
   10651 has 
   10652 a much larger code and data size.
   10653 
   10654   Previous Release:
   10655     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   10656     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   10657   Current Release:
   10658     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   10659     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   10660 
   10661 ----------------------------------------
   10662 15 December 2006. Summary of changes for version 20061215:
   10663 
   10664 1) ACPI CA Core Subsystem:
   10665 
   10666 Support for 16-bit ACPICA has been completely removed since it is no 
   10667 longer 
   10668 necessary and it clutters the code. All 16-bit macros, types, and 
   10669 conditional compiles have been removed, cleaning up and simplifying the 
   10670 code 
   10671 across the entire subsystem. DOS support is no longer needed since the 
   10672 bootable Linux firmware kit is now available.
   10673 
   10674 The handler for the Global Lock is now removed during AcpiTerminate to 
   10675 enable a clean subsystem restart, via the implementation of the 
   10676 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
   10677 HP)
   10678 
   10679 Implemented enhancements to the multithreading support within the 
   10680 debugger 
   10681 to enable improved multithreading debugging and evaluation of the 
   10682 subsystem. 
   10683 (Valery Podrezov)
   10684 
   10685 Debugger: Enhanced the Statistics/Memory command to emit the total 
   10686 (maximum) 
   10687 memory used during the execution, as well as the maximum memory consumed 
   10688 by 
   10689 each of the various object types. (Valery Podrezov)
   10690 
   10691 Example Code and Data Size: These are the sizes for the OS-independent 
   10692 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10693 debug version of the code includes the debug output trace mechanism and 
   10694 has 
   10695 a much larger code and data size.
   10696 
   10697   Previous Release:
   10698     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   10699     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   10700   Current Release:
   10701     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   10702     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   10703 
   10704 
   10705 2) iASL Compiler/Disassembler and Tools:
   10706 
   10707 AcpiExec: Implemented a new option (-m) to display full memory use 
   10708 statistics upon subsystem/program termination. (Valery Podrezov)
   10709 
   10710 ----------------------------------------
   10711 09 November 2006. Summary of changes for version 20061109:
   10712 
   10713 1) ACPI CA Core Subsystem:
   10714 
   10715 Optimized the Load ASL operator in the case where the source operand is 
   10716 an 
   10717 operation region. Simply map the operation region memory, instead of 
   10718 performing a bytewise read. (Region must be of type SystemMemory, see 
   10719 below.)
   10720 
   10721 Fixed the Load ASL operator for the case where the source operand is a 
   10722 region field. A buffer object is also allowed as the source operand. BZ 
   10723 480
   10724 
   10725 Fixed a problem where the Load ASL operator allowed the source operand to 
   10726 be 
   10727 an operation region of any type. It is now restricted to regions of type 
   10728 SystemMemory, as per the ACPI specification. BZ 481
   10729 
   10730 Additional cleanup and optimizations for the new Table Manager code.
   10731 
   10732 AcpiEnable will now fail if all of the required ACPI tables are not 
   10733 loaded 
   10734 (FADT, FACS, DSDT). BZ 477
   10735 
   10736 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
   10737 this 
   10738 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
   10739 manually optimized to be aligned and will not work if it is byte-packed. 
   10740 
   10741 Example Code and Data Size: These are the sizes for the OS-independent 
   10742 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10743 debug version of the code includes the debug output trace mechanism and 
   10744 has 
   10745 a much larger code and data size.
   10746 
   10747   Previous Release:
   10748     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   10749     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   10750   Current Release:
   10751     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   10752     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   10753 
   10754 
   10755 2) iASL Compiler/Disassembler and Tools:
   10756 
   10757 Fixed a problem where the presence of the _OSI predefined control method 
   10758 within complex expressions could cause an internal compiler error.
   10759 
   10760 AcpiExec: Implemented full region support for multiple address spaces. 
   10761 SpaceId is now part of the REGION object. BZ 429
   10762 
   10763 ----------------------------------------
   10764 11 October 2006. Summary of changes for version 20061011:
   10765 
   10766 1) ACPI CA Core Subsystem:
   10767 
   10768 Completed an AML interpreter performance enhancement for control method 
   10769 execution. Previously a 2-pass parse/execution, control methods are now 
   10770 completely parsed and executed in a single pass. This improves overall 
   10771 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
   10772 use. (Valery Podrezov + interpreter changes in version 20051202 that 
   10773 eliminated namespace loading during the pass one parse.)
   10774 
   10775 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
   10776 not 
   10777 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
   10778 now 
   10779 obtained and also checked for an ID match.
   10780 
   10781 Implemented additional support for the PCI _ADR execution: upsearch until 
   10782 a 
   10783 device scope is found before executing _ADR. This allows PCI_Config 
   10784 operation regions to be declared locally within control methods 
   10785 underneath 
   10786 PCI device objects.
   10787 
   10788 Fixed a problem with a possible race condition between threads executing 
   10789 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
   10790 modifying AcpiWalkNamespace to (by default) ignore all temporary 
   10791 namespace 
   10792 entries created during any concurrent control method execution. An 
   10793 additional namespace race condition is known to exist between 
   10794 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
   10795 investigation.
   10796 
   10797 Restructured the AML ParseLoop function, breaking it into several 
   10798 subfunctions in order to reduce CPU stack use and improve 
   10799 maintainability. 
   10800 (Mikhail Kouzmich)
   10801 
   10802 AcpiGetHandle: Fix for parameter validation to detect invalid 
   10803 combinations 
   10804 of prefix handle and pathname. BZ 478
   10805 
   10806 Example Code and Data Size: These are the sizes for the OS-independent 
   10807 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10808 debug version of the code includes the debug output trace mechanism and 
   10809 has 
   10810 a much larger code and data size.
   10811 
   10812   Previous Release:
   10813     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   10814     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   10815   Current Release:
   10816     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   10817     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   10818 
   10819 2) iASL Compiler/Disassembler and Tools:
   10820 
   10821 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
   10822 Manager 
   10823 to restore original behavior.
   10824 
   10825 ----------------------------------------
   10826 27 September 2006. Summary of changes for version 20060927:
   10827 
   10828 1) ACPI CA Core Subsystem:
   10829 
   10830 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
   10831 These functions now use a spinlock for mutual exclusion and the interrupt 
   10832 level indication flag is not needed.
   10833 
   10834 Fixed a problem with the Global Lock where the lock could appear to be 
   10835 obtained before it is actually obtained. The global lock semaphore was 
   10836 inadvertently created with one unit instead of zero units. (BZ 464) 
   10837 Fiodor 
   10838 Suietov.
   10839 
   10840 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
   10841 during 
   10842 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
   10843 
   10844 Example Code and Data Size: These are the sizes for the OS-independent 
   10845 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10846 debug version of the code includes the debug output trace mechanism and 
   10847 has 
   10848 a much larger code and data size.
   10849 
   10850   Previous Release:
   10851     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   10852     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   10853   Current Release:
   10854     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   10855     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   10856 
   10857 
   10858 2) iASL Compiler/Disassembler and Tools:
   10859 
   10860 Fixed a compilation problem with the pre-defined Resource Descriptor 
   10861 field 
   10862 names where an "object does not exist" error could be incorrectly 
   10863 generated 
   10864 if the parent ResourceTemplate pathname places the template within a 
   10865 different namespace scope than the current scope. (BZ 7212)
   10866 
   10867 Fixed a problem where the compiler could hang after syntax errors 
   10868 detected 
   10869 in an ElseIf construct. (BZ 453)
   10870 
   10871 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
   10872 operator. An incorrect output filename was produced when this parameter 
   10873 was 
   10874 a null string (""). Now, the original input filename is used as the AML 
   10875 output filename, with an ".aml" extension.
   10876 
   10877 Implemented a generic batch command mode for the AcpiExec utility 
   10878 (execute 
   10879 any AML debugger command) (Valery Podrezov).
   10880 
   10881 ----------------------------------------
   10882 12 September 2006. Summary of changes for version 20060912:
   10883 
   10884 1) ACPI CA Core Subsystem:
   10885 
   10886 Enhanced the implementation of the "serialized mode" of the interpreter 
   10887 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
   10888 specified, instead of creating a serialization semaphore per control 
   10889 method, 
   10890 the interpreter lock is simply no longer released before a blocking 
   10891 operation during control method execution. This effectively makes the AML 
   10892 Interpreter single-threaded. The overhead of a semaphore per-method is 
   10893 eliminated.
   10894 
   10895 Fixed a regression where an error was no longer emitted if a control 
   10896 method 
   10897 attempts to create 2 objects of the same name. This once again returns 
   10898 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
   10899 that 
   10900 will dynamically serialize the control method to possible prevent future 
   10901 errors. (BZ 440)
   10902 
   10903 Integrated a fix for a problem with PCI Express HID detection in the PCI 
   10904 Config Space setup procedure. (BZ 7145)
   10905 
   10906 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
   10907 AcpiHwInitialize function - the FADT registers are now validated when the 
   10908 table is loaded.
   10909 
   10910 Added two new warnings during FADT verification - 1) if the FADT is 
   10911 larger 
   10912 than the largest known FADT version, and 2) if there is a mismatch 
   10913 between 
   10914 a 
   10915 32-bit block address and the 64-bit X counterpart (when both are non-
   10916 zero.)
   10917 
   10918 Example Code and Data Size: These are the sizes for the OS-independent 
   10919 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10920 debug version of the code includes the debug output trace mechanism and 
   10921 has 
   10922 a much larger code and data size.
   10923 
   10924   Previous Release:
   10925     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   10926     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   10927   Current Release:
   10928     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   10929     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   10930 
   10931 
   10932 2) iASL Compiler/Disassembler and Tools:
   10933 
   10934 Fixed a problem with the implementation of the Switch() operator where 
   10935 the 
   10936 temporary variable was declared too close to the actual Switch, instead 
   10937 of 
   10938 at method level. This could cause a problem if the Switch() operator is 
   10939 within a while loop, causing an error on the second iteration. (BZ 460)
   10940 
   10941 Disassembler - fix for error emitted for unknown type for target of scope 
   10942 operator. Now, ignore it and continue.
   10943 
   10944 Disassembly of an FADT now verifies the input FADT and reports any errors 
   10945 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
   10946 
   10947 Disassembly of raw data buffers with byte initialization data now 
   10948 prefixes 
   10949 each output line with the current buffer offset.
   10950 
   10951 Disassembly of ASF! table now includes all variable-length data fields at 
   10952 the end of some of the subtables.
   10953 
   10954 The disassembler now emits a comment if a buffer appears to be a 
   10955 ResourceTemplate, but cannot be disassembled as such because the EndTag 
   10956 does 
   10957 not appear at the very end of the buffer.
   10958 
   10959 AcpiExec - Added the "-t" command line option to enable the serialized 
   10960 mode 
   10961 of the AML interpreter.
   10962 
   10963 ----------------------------------------
   10964 31 August 2006. Summary of changes for version 20060831:
   10965 
   10966 1) ACPI CA Core Subsystem:
   10967 
   10968 Miscellaneous fixes for the Table Manager:
   10969 - Correctly initialize internal common FADT for all 64-bit "X" fields
   10970 - Fixed a couple table mapping issues during table load
   10971 - Fixed a couple alignment issues for IA64
   10972 - Initialize input array to zero in AcpiInitializeTables
   10973 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
   10974 AcpiGetTableByIndex
   10975 
   10976 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
   10977 now 
   10978 immediately disabled to prevent the waking GPE from firing again and to 
   10979 prevent other wake GPEs from interrupting the wake process.
   10980 
   10981 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
   10982 to 
   10983 be used for debugging systems with a large number of ACPI interrupts.
   10984 
   10985 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
   10986 both the ACPICA headers and the disassembler.
   10987 
   10988 Example Code and Data Size: These are the sizes for the OS-independent 
   10989 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10990 debug version of the code includes the debug output trace mechanism and 
   10991 has 
   10992 a much larger code and data size.
   10993 
   10994   Previous Release:
   10995     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   10996     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   10997   Current Release:
   10998     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   10999     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   11000 
   11001 
   11002 2) iASL Compiler/Disassembler and Tools:
   11003 
   11004 Disassembler support for the DMAR ACPI table.
   11005 
   11006 ----------------------------------------
   11007 23 August 2006. Summary of changes for version 20060823:
   11008 
   11009 1) ACPI CA Core Subsystem:
   11010 
   11011 The Table Manager component has been completely redesigned and 
   11012 reimplemented. The new design is much simpler, and reduces the overall 
   11013 code 
   11014 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
   11015 is 
   11016 now possible to obtain the ACPI tables very early during kernel 
   11017 initialization, even before dynamic memory management is initialized. 
   11018 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
   11019 
   11020 Obsolete ACPICA interfaces:
   11021 
   11022 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
   11023 init 
   11024 time).
   11025 - AcpiLoadTable: Not needed.
   11026 - AcpiUnloadTable: Not needed.
   11027 
   11028 New ACPICA interfaces:
   11029 
   11030 - AcpiInitializeTables: Must be called before the table manager can be 
   11031 used.
   11032 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
   11033 allocated memory after it becomes available.
   11034 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
   11035 tables 
   11036 in the RSDT/XSDT.
   11037 
   11038 Other ACPICA changes:
   11039 
   11040 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
   11041 Use 
   11042 AcpiOsUnmapMemory to free this mapping.
   11043 - AcpiGetTable returns the actual mapped table. The mapping is managed 
   11044 internally and must not be deleted by the caller. Use of this interface 
   11045 causes no additional dynamic memory allocation.
   11046 - AcpiFindRootPointer: Support for physical addressing has been 
   11047 eliminated, 
   11048 it appeared to be unused.
   11049 - The interface to AcpiOsMapMemory has changed to be consistent with the 
   11050 other allocation interfaces.
   11051 - The interface to AcpiOsGetRootPointer has changed to eliminate 
   11052 unnecessary 
   11053 parameters.
   11054 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
   11055 64-
   11056 bit platforms. Was previously 64 bits on all platforms.
   11057 - The interface to the ACPI Global Lock acquire/release macros have 
   11058 changed 
   11059 slightly since ACPICA no longer keeps a local copy of the FACS with a 
   11060 constructed pointer to the actual global lock.
   11061 
   11062 Porting to the new table manager:
   11063 
   11064 - AcpiInitializeTables: Must be called once, and can be called anytime 
   11065 during the OS initialization process. It allows the host to specify an 
   11066 area 
   11067 of memory to be used to store the internal version of the RSDT/XSDT (root 
   11068 table). This allows the host to access ACPI tables before memory 
   11069 management 
   11070 is initialized and running.
   11071 - AcpiReallocateRootTable: Can be called after memory management is 
   11072 running 
   11073 to copy the root table to a dynamically allocated array, freeing up the 
   11074 scratch memory specified in the call to AcpiInitializeTables.
   11075 - AcpiSubsystemInitialize: This existing interface is independent of the 
   11076 Table Manager, and does not have to be called before the Table Manager 
   11077 can 
   11078 be used, it only must be called before the rest of ACPICA can be used.
   11079 - ACPI Tables: Some changes have been made to the names and structure of 
   11080 the 
   11081 actbl.h and actbl1.h header files and may require changes to existing 
   11082 code. 
   11083 For example, bitfields have been completely removed because of their lack 
   11084 of 
   11085 portability across C compilers.
   11086 - Update interfaces to the Global Lock acquire/release macros if local 
   11087 versions are used. (see acwin.h)
   11088 
   11089 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
   11090 
   11091 New files: tbfind.c
   11092 
   11093 Example Code and Data Size: These are the sizes for the OS-independent 
   11094 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11095 debug version of the code includes the debug output trace mechanism and 
   11096 has 
   11097 a much larger code and data size.
   11098 
   11099   Previous Release:
   11100     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   11101     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   11102   Current Release:
   11103     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   11104     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   11105 
   11106 
   11107 2) iASL Compiler/Disassembler and Tools:
   11108 
   11109 No changes for this release.
   11110 
   11111 ----------------------------------------
   11112 21 July 2006. Summary of changes for version 20060721:
   11113 
   11114 1) ACPI CA Core Subsystem:
   11115 
   11116 The full source code for the ASL test suite used to validate the iASL 
   11117 compiler and the ACPICA core subsystem is being released with the ACPICA 
   11118 source for the first time. The source is contained in a separate package 
   11119 and 
   11120 consists of over 1100 files that exercise all ASL/AML operators. The 
   11121 package 
   11122 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
   11123 Fiodor 
   11124 Suietov)
   11125 
   11126 Completed a new design and implementation for support of the ACPI Global 
   11127 Lock. On the OS side, the global lock is now treated as a standard AML 
   11128 mutex. Previously, multiple OS threads could "acquire" the global lock 
   11129 simultaneously. However, this could cause the BIOS to be starved out of 
   11130 the 
   11131 lock - especially in cases such as the Embedded Controller driver where 
   11132 there is a tight coupling between the OS and the BIOS.
   11133 
   11134 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
   11135 The Global Lock interrupt handler no longer queues the execution of a 
   11136 separate thread to signal the global lock semaphore. Instead, the 
   11137 semaphore 
   11138 is signaled directly from the interrupt handler.
   11139 
   11140 Implemented support within the AML interpreter for package objects that 
   11141 contain a larger AML length (package list length) than the package 
   11142 element 
   11143 count. In this case, the length of the package is truncated to match the 
   11144 package element count. Some BIOS code apparently modifies the package 
   11145 length 
   11146 on the fly, and this change supports this behavior. Provides 
   11147 compatibility 
   11148 with the MS AML interpreter. (With assistance from Fiodor Suietov)
   11149 
   11150 Implemented a temporary fix for the BankValue parameter of a Bank Field 
   11151 to 
   11152 support all constant values, now including the Zero and One opcodes. 
   11153 Evaluation of this parameter must eventually be converted to a full 
   11154 TermArg 
   11155 evaluation. A not-implemented error is now returned (temporarily) for 
   11156 non-
   11157 constant values for this parameter.
   11158 
   11159 Fixed problem reports (Fiodor Suietov) integrated:
   11160 - Fix for premature object deletion after CopyObject on Operation Region 
   11161 (BZ 
   11162 350)
   11163 
   11164 Example Code and Data Size: These are the sizes for the OS-independent 
   11165 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11166 debug version of the code includes the debug output trace mechanism and 
   11167 has 
   11168 a much larger code and data size.
   11169 
   11170   Previous Release:
   11171     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
   11172     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
   11173   Current Release:
   11174     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   11175     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   11176 
   11177 
   11178 2) iASL Compiler/Disassembler and Tools:
   11179 
   11180 No changes for this release.
   11181 
   11182 ----------------------------------------
   11183 07 July 2006. Summary of changes for version 20060707:
   11184 
   11185 1) ACPI CA Core Subsystem:
   11186 
   11187 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
   11188 that do not allow the initialization of address pointers within packed 
   11189 structures - even though the hardware itself may support misaligned 
   11190 transfers. Some of the debug data structures are packed by default to 
   11191 minimize size.
   11192 
   11193 Added an error message for the case where AcpiOsGetThreadId() returns 
   11194 zero. 
   11195 A non-zero value is required by the core ACPICA code to ensure the proper 
   11196 operation of AML mutexes and recursive control methods.
   11197 
   11198 The DSDT is now the only ACPI table that determines whether the AML 
   11199 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
   11200 but 
   11201 the hooks for per-table 32/64 switching have been removed from the code. 
   11202 A 
   11203 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
   11204 
   11205 Fixed a possible leak of an OwnerID in the error path of 
   11206 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
   11207 deletion to a single place in AcpiTbUninstallTable to correct possible 
   11208 leaks 
   11209 when using the AcpiTbDeleteTablesByType interface (with assistance from 
   11210 Lance Ortiz.)
   11211 
   11212 Fixed a problem with Serialized control methods where the semaphore 
   11213 associated with the method could be over-signaled after multiple method 
   11214 invocations.
   11215 
   11216 Fixed two issues with the locking of the internal namespace data 
   11217 structure. 
   11218 Both the Unload() operator and AcpiUnloadTable interface now lock the 
   11219 namespace during the namespace deletion associated with the table unload 
   11220 (with assistance from Linn Crosetto.)
   11221 
   11222 Fixed problem reports (Valery Podrezov) integrated:
   11223 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
   11224 
   11225 Fixed problem reports (Fiodor Suietov) integrated:
   11226 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
   11227 - On Address Space handler deletion, needless deactivation call (BZ 374)
   11228 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
   11229 375)
   11230 - Possible memory leak, Notify sub-objects of Processor, Power, 
   11231 ThermalZone 
   11232 (BZ 376)
   11233 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
   11234 - Minimum Length of RSDT should be validated (BZ 379)
   11235 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
   11236 Handler (BZ (380)
   11237 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
   11238 loaded 
   11239 (BZ 381)
   11240 
   11241 Example Code and Data Size: These are the sizes for the OS-independent 
   11242 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11243 debug version of the code includes the debug output trace mechanism and 
   11244 has 
   11245 a much larger code and data size.
   11246 
   11247   Previous Release:
   11248     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   11249     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   11250   Current Release:
   11251     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   11252     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   11253 
   11254 
   11255 2) iASL Compiler/Disassembler and Tools:
   11256 
   11257 Fixed problem reports:
   11258 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
   11259 436)
   11260 
   11261 ----------------------------------------
   11262 23 June 2006. Summary of changes for version 20060623:
   11263 
   11264 1) ACPI CA Core Subsystem:
   11265 
   11266 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
   11267 allows the type to be customized to the host OS for improved efficiency 
   11268 (since a spinlock is usually a very small object.)
   11269 
   11270 Implemented support for "ignored" bits in the ACPI registers. According 
   11271 to 
   11272 the ACPI specification, these bits should be preserved when writing the 
   11273 registers via a read/modify/write cycle. There are 3 bits preserved in 
   11274 this 
   11275 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
   11276 
   11277 Implemented the initial deployment of new OSL mutex interfaces. Since 
   11278 some 
   11279 host operating systems have separate mutex and semaphore objects, this 
   11280 feature was requested. The base code now uses mutexes (and the new mutex 
   11281 interfaces) wherever a binary semaphore was used previously. However, for 
   11282 the current release, the mutex interfaces are defined as macros to map 
   11283 them 
   11284 to the existing semaphore interfaces. Therefore, no OSL changes are 
   11285 required 
   11286 at this time. (See acpiosxf.h)
   11287 
   11288 Fixed several problems with the support for the control method SyncLevel 
   11289 parameter. The SyncLevel now works according to the ACPI specification 
   11290 and 
   11291 in concert with the Mutex SyncLevel parameter, since the current 
   11292 SyncLevel 
   11293 is a property of the executing thread. Mutual exclusion for control 
   11294 methods 
   11295 is now implemented with a mutex instead of a semaphore.
   11296 
   11297 Fixed three instances of the use of the C shift operator in the bitfield 
   11298 support code (exfldio.c) to avoid the use of a shift value larger than 
   11299 the 
   11300 target data width. The behavior of C compilers is undefined in this case 
   11301 and 
   11302 can cause unpredictable results, and therefore the case must be detected 
   11303 and 
   11304 avoided. (Fiodor Suietov)
   11305 
   11306 Added an info message whenever an SSDT or OEM table is loaded dynamically 
   11307 via the Load() or LoadTable() ASL operators. This should improve 
   11308 debugging 
   11309 capability since it will show exactly what tables have been loaded 
   11310 (beyond 
   11311 the tables present in the RSDT/XSDT.)
   11312 
   11313 Example Code and Data Size: These are the sizes for the OS-independent 
   11314 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11315 debug version of the code includes the debug output trace mechanism and 
   11316 has 
   11317 a much larger code and data size.
   11318 
   11319   Previous Release:
   11320     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   11321     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   11322   Current Release:
   11323     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   11324     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   11325 
   11326 
   11327 2) iASL Compiler/Disassembler and Tools:
   11328 
   11329 No changes for this release.
   11330 
   11331 ----------------------------------------
   11332 08 June 2006. Summary of changes for version 20060608:
   11333 
   11334 1) ACPI CA Core Subsystem:
   11335 
   11336 Converted the locking mutex used for the ACPI hardware to a spinlock. 
   11337 This 
   11338 change should eliminate all problems caused by attempting to acquire a 
   11339 semaphore at interrupt level, and it means that all ACPICA external 
   11340 interfaces that directly access the ACPI hardware can be safely called 
   11341 from 
   11342 interrupt level. OSL code that implements the semaphore interfaces should 
   11343 be 
   11344 able to eliminate any workarounds for being called at interrupt level.
   11345 
   11346 Fixed a regression introduced in 20060526 where the ACPI device 
   11347 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
   11348 device 
   11349 did not have an optional _INI method.
   11350 
   11351 Fixed an IndexField issue where a write to the Data Register should be 
   11352 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
   11353 433, 
   11354 Fiodor Suietov)
   11355 
   11356 Fixed problem reports (Valery Podrezov) integrated:
   11357 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
   11358 
   11359 Fixed problem reports (Fiodor Suietov) integrated:
   11360 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
   11361 
   11362 Removed four global mutexes that were obsolete and were no longer being 
   11363 used.
   11364 
   11365 Example Code and Data Size: These are the sizes for the OS-independent 
   11366 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11367 debug version of the code includes the debug output trace mechanism and 
   11368 has 
   11369 a much larger code and data size.
   11370 
   11371   Previous Release:
   11372     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   11373     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   11374   Current Release:
   11375     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   11376     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   11377 
   11378 
   11379 2) iASL Compiler/Disassembler and Tools:
   11380 
   11381 Fixed a fault when using -g option (get tables from registry) on Windows 
   11382 machines.
   11383 
   11384 Fixed problem reports integrated:
   11385 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
   11386 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
   11387 Suietov)
   11388 - Global table revision override (-r) is ignored (BZ 413)
   11389 
   11390 ----------------------------------------
   11391 26 May 2006. Summary of changes for version 20060526:
   11392 
   11393 1) ACPI CA Core Subsystem:
   11394 
   11395 Restructured, flattened, and simplified the internal interfaces for 
   11396 namespace object evaluation - resulting in smaller code, less CPU stack 
   11397 use, 
   11398 and fewer interfaces. (With assistance from Mikhail Kouzmich)
   11399 
   11400 Fixed a problem with the CopyObject operator where the first parameter 
   11401 was 
   11402 not typed correctly for the parser, interpreter, compiler, and 
   11403 disassembler. 
   11404 Caused various errors and unexpected behavior.
   11405 
   11406 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
   11407 produced incorrect results with some C compilers. Since the behavior of C 
   11408 compilers when the shift value is larger than the datatype width is 
   11409 apparently not well defined, the interpreter now detects this condition 
   11410 and 
   11411 simply returns zero as expected in all such cases. (BZ 395)
   11412 
   11413 Fixed problem reports (Valery Podrezov) integrated:
   11414 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
   11415 - Allow interpreter to handle nested method declarations (BZ 5361)
   11416 
   11417 Fixed problem reports (Fiodor Suietov) integrated:
   11418 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
   11419 355)
   11420 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
   11421 356)
   11422 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
   11423 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
   11424 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
   11425 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
   11426 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
   11427 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
   11428 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
   11429 365)
   11430 - Status of the Global Initialization Handler call not used (BZ 366)
   11431 - Incorrect object parameter to Global Initialization Handler (BZ 367)
   11432 
   11433 Example Code and Data Size: These are the sizes for the OS-independent 
   11434 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11435 debug version of the code includes the debug output trace mechanism and 
   11436 has 
   11437 a much larger code and data size.
   11438 
   11439   Previous Release:
   11440     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   11441     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   11442   Current Release:
   11443     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   11444     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   11445 
   11446 
   11447 2) iASL Compiler/Disassembler and Tools:
   11448 
   11449 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
   11450 namespace identifiers with no collision with existing resource descriptor 
   11451 macro names. This provides compatibility with other ASL compilers and is 
   11452 most useful for disassembly/recompilation of existing tables without 
   11453 parse 
   11454 errors. (With assistance from Thomas Renninger)
   11455 
   11456 Disassembler: fixed an incorrect disassembly problem with the 
   11457 DataTableRegion and CopyObject operators. Fixed a possible fault during 
   11458 disassembly of some Alias operators.
   11459 
   11460 ----------------------------------------
   11461 12 May 2006. Summary of changes for version 20060512:
   11462 
   11463 1) ACPI CA Core Subsystem:
   11464 
   11465 Replaced the AcpiOsQueueForExecution interface with a new interface named 
   11466 AcpiOsExecute. The major difference is that the new interface does not 
   11467 have 
   11468 a Priority parameter, this appeared to be useless and has been replaced 
   11469 by 
   11470 a 
   11471 Type parameter. The Type tells the host what type of execution is being 
   11472 requested, such as global lock handler, notify handler, GPE handler, etc. 
   11473 This allows the host to queue and execute the request as appropriate for 
   11474 the 
   11475 request type, possibly using different work queues and different 
   11476 priorities 
   11477 for the various request types. This enables fixes for multithreading 
   11478 deadlock problems such as BZ #5534, and will require changes to all 
   11479 existing 
   11480 OS interface layers. (Alexey Starikovskiy and Bob Moore)
   11481 
   11482 Fixed a possible memory leak associated with the support for the so-
   11483 called 
   11484 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
   11485 Suietov)
   11486 
   11487 Fixed a problem with the Load() operator where a table load from an 
   11488 operation region could overwrite an internal table buffer by up to 7 
   11489 bytes 
   11490 and cause alignment faults on IPF systems. (With assistance from Luming 
   11491 Yu)
   11492 
   11493 Example Code and Data Size: These are the sizes for the OS-independent 
   11494 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11495 debug version of the code includes the debug output trace mechanism and 
   11496 has 
   11497 a much larger code and data size.
   11498 
   11499   Previous Release:
   11500     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   11501     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   11502   Current Release:
   11503     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   11504     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   11505 
   11506 
   11507 
   11508 2) iASL Compiler/Disassembler and Tools:
   11509 
   11510 Disassembler: Implemented support to cross reference the internal 
   11511 namespace 
   11512 and automatically generate ASL External() statements for symbols not 
   11513 defined 
   11514 within the current table being disassembled. This will simplify the 
   11515 disassembly and recompilation of interdependent tables such as SSDTs 
   11516 since 
   11517 these statements will no longer have to be added manually.
   11518 
   11519 Disassembler: Implemented experimental support to automatically detect 
   11520 invocations of external control methods and generate appropriate 
   11521 External() 
   11522 statements. This is problematic because the AML cannot be correctly 
   11523 parsed 
   11524 until the number of arguments for each control method is known. 
   11525 Currently, 
   11526 standalone method invocations and invocations as the source operand of a 
   11527 Store() statement are supported.
   11528 
   11529 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
   11530 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
   11531 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
   11532 more readable and likely closer to the original ASL source.
   11533 
   11534 ----------------------------------------
   11535 21 April 2006. Summary of changes for version 20060421:
   11536 
   11537 1) ACPI CA Core Subsystem:
   11538 
   11539 Removed a device initialization optimization introduced in 20051216 where 
   11540 the _STA method was not run unless an _INI was also present for the same 
   11541 device. This optimization could cause problems because it could allow 
   11542 _INI 
   11543 methods to be run within a not-present device subtree. (If a not-present 
   11544 device had no _INI, _STA would not be run, the not-present status would 
   11545 not 
   11546 be discovered, and the children of the device would be incorrectly 
   11547 traversed.)
   11548 
   11549 Implemented a new _STA optimization where namespace subtrees that do not 
   11550 contain _INI are identified and ignored during device initialization. 
   11551 Selectively running _STA can significantly improve boot time on large 
   11552 machines (with assistance from Len Brown.)
   11553 
   11554 Implemented support for the device initialization case where the returned 
   11555 _STA flags indicate a device not-present but functioning. In this case, 
   11556 _INI 
   11557 is not run, but the device children are examined for presence, as per the 
   11558 ACPI specification.
   11559 
   11560 Implemented an additional change to the IndexField support in order to 
   11561 conform to MS behavior. The value written to the Index Register is not 
   11562 simply a byte offset, it is a byte offset in units of the access width of 
   11563 the parent Index Field. (Fiodor Suietov)
   11564 
   11565 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
   11566 interface is called during the creation of all AML operation regions, and 
   11567 allows the host OS to exert control over what addresses it will allow the 
   11568 AML code to access. Operation Regions whose addresses are disallowed will 
   11569 cause a runtime exception when they are actually accessed (will not 
   11570 affect 
   11571 or abort table loading.) See oswinxf or osunixxf for an example 
   11572 implementation.
   11573 
   11574 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
   11575 interface allows the host OS to match the various "optional" 
   11576 interface/behavior strings for the _OSI predefined control method as 
   11577 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
   11578 for an example implementation.
   11579 
   11580 Restructured and corrected various problems in the exception handling 
   11581 code 
   11582 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
   11583 (with assistance from Takayoshi Kochi.)
   11584 
   11585 Modified the Linux source converter to ignore quoted string literals 
   11586 while 
   11587 converting identifiers from mixed to lower case. This will correct 
   11588 problems 
   11589 with the disassembler and other areas where such strings must not be 
   11590 modified.
   11591 
   11592 The ACPI_FUNCTION_* macros no longer require quotes around the function 
   11593 name. This allows the Linux source converter to convert the names, now 
   11594 that 
   11595 the converter ignores quoted strings.
   11596 
   11597 Example Code and Data Size: These are the sizes for the OS-independent 
   11598 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11599 debug version of the code includes the debug output trace mechanism and 
   11600 has 
   11601 a much larger code and data size.
   11602 
   11603   Previous Release:
   11604 
   11605     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   11606     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   11607   Current Release:
   11608     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   11609     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   11610 
   11611 
   11612 2) iASL Compiler/Disassembler and Tools:
   11613 
   11614 Implemented 3 new warnings for iASL, and implemented multiple warning 
   11615 levels 
   11616 (w2 flag).
   11617 
   11618 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
   11619 not 
   11620 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
   11621 check for the possible timeout, a warning is issued.
   11622 
   11623 2) Useless operators: If an ASL operator does not specify an optional 
   11624 target 
   11625 operand and it also does not use the function return value from the 
   11626 operator, a warning is issued since the operator effectively does 
   11627 nothing.
   11628 
   11629 3) Unreferenced objects: If a namespace object is created, but never 
   11630 referenced, a warning is issued. This is a warning level 2 since there 
   11631 are 
   11632 cases where this is ok, such as when a secondary table is loaded that 
   11633 uses 
   11634 the unreferenced objects. Even so, care is taken to only flag objects 
   11635 that 
   11636 don't look like they will ever be used. For example, the reserved methods 
   11637 (starting with an underscore) are usually not referenced because it is 
   11638 expected that the OS will invoke them.
   11639 
   11640 ----------------------------------------
   11641 31 March 2006. Summary of changes for version 20060331:
   11642 
   11643 1) ACPI CA Core Subsystem:
   11644 
   11645 Implemented header file support for the following additional ACPI tables: 
   11646 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
   11647 support, 
   11648 all current and known ACPI tables are now defined in the ACPICA headers 
   11649 and 
   11650 are available for use by device drivers and other software.
   11651 
   11652 Implemented support to allow tables that contain ACPI names with invalid 
   11653 characters to be loaded. Previously, this would cause the table load to 
   11654 fail, but since there are several known cases of such tables on existing 
   11655 machines, this change was made to enable ACPI support for them. Also, 
   11656 this 
   11657 matches the behavior of the Microsoft ACPI implementation.
   11658 
   11659 Fixed a couple regressions introduced during the memory optimization in 
   11660 the 
   11661 20060317 release. The namespace node definition required additional 
   11662 reorganization and an internal datatype that had been changed to 8-bit 
   11663 was 
   11664 restored to 32-bit. (Valery Podrezov)
   11665 
   11666 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
   11667 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
   11668 null pointers are now trapped and ignored, matching the behavior of the 
   11669 previous implementation before the deployment of AcpiOsReleaseObject.
   11670 (Valery Podrezov, Fiodor Suietov)
   11671 
   11672 Fixed a memory mapping leak during the deletion of a SystemMemory 
   11673 operation 
   11674 region where a cached memory mapping was not deleted. This became a 
   11675 noticeable problem for operation regions that are defined within 
   11676 frequently 
   11677 used control methods. (Dana Meyers)
   11678 
   11679 Reorganized the ACPI table header files into two main files: one for the 
   11680 ACPI tables consumed by the ACPICA core, and another for the 
   11681 miscellaneous 
   11682 ACPI tables that are consumed by the drivers and other software. The 
   11683 various 
   11684 FADT definitions were merged into one common section and three different 
   11685 tables (ACPI 1.0, 1.0+, and 2.0)
   11686 
   11687 Example Code and Data Size: These are the sizes for the OS-independent 
   11688 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11689 debug version of the code includes the debug output trace mechanism and 
   11690 has 
   11691 a much larger code and data size.
   11692 
   11693   Previous Release:
   11694     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   11695     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   11696   Current Release:
   11697     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   11698     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   11699 
   11700 
   11701 2) iASL Compiler/Disassembler and Tools:
   11702 
   11703 Disassembler: Implemented support to decode and format all non-AML ACPI 
   11704 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
   11705 added to the ACPICA headers, therefore all current and known ACPI tables 
   11706 are 
   11707 supported.
   11708 
   11709 Disassembler: The change to allow ACPI names with invalid characters also 
   11710 enables the disassembly of such tables. Invalid characters within names 
   11711 are 
   11712 changed to '*' to make the name printable; the iASL compiler will still 
   11713 generate an error for such names, however, since this is an invalid ACPI 
   11714 character.
   11715 
   11716 Implemented an option for AcpiXtract (-a) to extract all tables found in 
   11717 the 
   11718 input file. The default invocation extracts only the DSDTs and SSDTs.
   11719 
   11720 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
   11721 makefile for the AcpiXtract utility.
   11722 
   11723 ----------------------------------------
   11724 17 March 2006. Summary of changes for version 20060317:
   11725 
   11726 1) ACPI CA Core Subsystem:
   11727 
   11728 Implemented the use of a cache object for all internal namespace nodes. 
   11729 Since there are about 1000 static nodes in a typical system, this will 
   11730 decrease memory use for cache implementations that minimize per-
   11731 allocation 
   11732 overhead (such as a slab allocator.)
   11733 
   11734 Removed the reference count mechanism for internal namespace nodes, since 
   11735 it 
   11736 was deemed unnecessary. This reduces the size of each namespace node by 
   11737 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
   11738 case, 
   11739 and 32 bytes for the 64-bit case.
   11740 
   11741 Optimized several internal data structures to reduce object size on 64-
   11742 bit 
   11743 platforms by packing data within the 64-bit alignment. This includes the 
   11744 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
   11745 instances corresponding to the namespace objects.
   11746 
   11747 Added two new strings for the predefined _OSI method: "Windows 2001.1 
   11748 SP1" 
   11749 and "Windows 2006".
   11750 
   11751 Split the allocation tracking mechanism out to a separate file, from 
   11752 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
   11753 application-level code. Kernels may wish to not include uttrack.c in 
   11754 distributions.
   11755 
   11756 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
   11757 associated 
   11758 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
   11759 macros.)
   11760 
   11761 Code and Data Size: These are the sizes for the acpica.lib produced by 
   11762 the 
   11763 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   11764 ACPI 
   11765 driver or OSPM code. The debug version of the code includes the debug 
   11766 output 
   11767 trace mechanism and has a much larger code and data size. Note that these 
   11768 values will vary depending on the efficiency of the compiler and the 
   11769 compiler options used during generation.
   11770 
   11771   Previous Release:
   11772     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   11773     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   11774   Current Release:
   11775     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   11776     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   11777 
   11778 
   11779 2) iASL Compiler/Disassembler and Tools:
   11780 
   11781 Implemented an ANSI C version of the acpixtract utility. This version 
   11782 will 
   11783 automatically extract the DSDT and all SSDTs from the input acpidump text 
   11784 file and dump the binary output to separate files. It can also display a 
   11785 summary of the input file including the headers for each table found and 
   11786 will extract any single ACPI table, with any signature. (See 
   11787 source/tools/acpixtract)
   11788 
   11789 ----------------------------------------
   11790 10 March 2006. Summary of changes for version 20060310:
   11791 
   11792 1) ACPI CA Core Subsystem:
   11793 
   11794 Tagged all external interfaces to the subsystem with the new 
   11795 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
   11796 assist 
   11797 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
   11798 macro. The default definition is NULL.
   11799 
   11800 Added the ACPI_THREAD_ID type for the return value from 
   11801 AcpiOsGetThreadId. 
   11802 This allows the host to define this as necessary to simplify kernel 
   11803 integration. The default definition is ACPI_NATIVE_UINT.
   11804 
   11805 Fixed two interpreter problems related to error processing, the deletion 
   11806 of 
   11807 objects, and placing invalid pointers onto the internal operator result 
   11808 stack. BZ 6028, 6151 (Valery Podrezov)
   11809 
   11810 Increased the reference count threshold where a warning is emitted for 
   11811 large 
   11812 reference counts in order to eliminate unnecessary warnings on systems 
   11813 with 
   11814 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
   11815 0x800.
   11816 
   11817 Due to universal disagreement as to the meaning of the 'c' in the 
   11818 calloc() 
   11819 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
   11820 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
   11821 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
   11822 ACPI_FREE.
   11823 
   11824 Code and Data Size: These are the sizes for the acpica.lib produced by 
   11825 the 
   11826 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   11827 ACPI 
   11828 driver or OSPM code. The debug version of the code includes the debug 
   11829 output 
   11830 trace mechanism and has a much larger code and data size. Note that these 
   11831 values will vary depending on the efficiency of the compiler and the 
   11832 compiler options used during generation.
   11833 
   11834   Previous Release:
   11835     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   11836     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   11837   Current Release:
   11838     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   11839     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   11840 
   11841 
   11842 2) iASL Compiler/Disassembler:
   11843 
   11844 Disassembler: implemented support for symbolic resource descriptor 
   11845 references. If a CreateXxxxField operator references a fixed offset 
   11846 within 
   11847 a 
   11848 resource descriptor, a name is assigned to the descriptor and the offset 
   11849 is 
   11850 translated to the appropriate resource tag and pathname. The addition of 
   11851 this support brings the disassembled code very close to the original ASL 
   11852 source code and helps eliminate run-time errors when the disassembled 
   11853 code 
   11854 is modified (and recompiled) in such a way as to invalidate the original 
   11855 fixed offsets.
   11856 
   11857 Implemented support for a Descriptor Name as the last parameter to the 
   11858 ASL 
   11859 Register() macro. This parameter was inadvertently left out of the ACPI 
   11860 specification, and will be added for ACPI 3.0b.
   11861 
   11862 Fixed a problem where the use of the "_OSI" string (versus the full path 
   11863 "\_OSI") caused an internal compiler error. ("No back ptr to op")
   11864 
   11865 Fixed a problem with the error message that occurs when an invalid string 
   11866 is 
   11867 used for a _HID object (such as one with an embedded asterisk: 
   11868 "*PNP010A".) 
   11869 The correct message is now displayed.
   11870 
   11871 ----------------------------------------
   11872 17 February 2006. Summary of changes for version 20060217:
   11873 
   11874 1) ACPI CA Core Subsystem:
   11875 
   11876 Implemented a change to the IndexField support to match the behavior of 
   11877 the 
   11878 Microsoft AML interpreter. The value written to the Index register is now 
   11879 a 
   11880 byte offset, no longer an index based upon the width of the Data 
   11881 register. 
   11882 This should fix IndexField problems seen on some machines where the Data 
   11883 register is not exactly one byte wide. The ACPI specification will be 
   11884 clarified on this point.
   11885 
   11886 Fixed a problem where several resource descriptor types could overrun the 
   11887 internal descriptor buffer due to size miscalculation: VendorShort, 
   11888 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
   11889 affect all platforms.
   11890 
   11891 Fixed a problem where individual resource descriptors were misaligned 
   11892 within 
   11893 the internal buffer, causing alignment faults on IA64 platforms.
   11894 
   11895 Code and Data Size: These are the sizes for the acpica.lib produced by 
   11896 the 
   11897 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   11898 ACPI 
   11899 driver or OSPM code. The debug version of the code includes the debug 
   11900 output 
   11901 trace mechanism and has a much larger code and data size. Note that these 
   11902 values will vary depending on the efficiency of the compiler and the 
   11903 compiler options used during generation.
   11904 
   11905   Previous Release:
   11906     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   11907     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   11908   Current Release:
   11909     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   11910     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   11911 
   11912 
   11913 2) iASL Compiler/Disassembler:
   11914 
   11915 Implemented support for new reserved names: _WDG and _WED are Microsoft 
   11916 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
   11917 defined method (Throttling Depth Limit.)
   11918 
   11919 Fixed a problem where a zero-length VendorShort or VendorLong resource 
   11920 descriptor was incorrectly emitted as a descriptor of length one.
   11921 
   11922 ----------------------------------------
   11923 10 February 2006. Summary of changes for version 20060210:
   11924 
   11925 1) ACPI CA Core Subsystem:
   11926 
   11927 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
   11928 normal execution. These became apparent after the conversion from 
   11929 ACPI_DEBUG_PRINT.
   11930 
   11931 Fixed a problem where the CreateField operator could hang if the BitIndex 
   11932 or 
   11933 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
   11934 
   11935 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
   11936 failed with an exception. This also fixes a couple of related RefOf and 
   11937 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
   11938 
   11939 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
   11940 of 
   11941 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
   11942 BZ 
   11943 5480)
   11944 
   11945 Implemented a memory cleanup at the end of the execution of each 
   11946 iteration 
   11947 of an AML While() loop, preventing the accumulation of outstanding 
   11948 objects. 
   11949 (Valery Podrezov, BZ 5427)
   11950 
   11951 Eliminated a chunk of duplicate code in the object resolution code. 
   11952 (Valery 
   11953 Podrezov, BZ 5336)
   11954 
   11955 Fixed several warnings during the 64-bit code generation.
   11956 
   11957 The AcpiSrc source code conversion tool now inserts one line of 
   11958 whitespace 
   11959 after an if() statement that is followed immediately by a comment, 
   11960 improving 
   11961 readability of the Linux code.
   11962 
   11963 Code and Data Size: The current and previous library sizes for the core 
   11964 subsystem are shown below. These are the code and data sizes for the 
   11965 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   11966 These 
   11967 values do not include any ACPI driver or OSPM code. The debug version of 
   11968 the 
   11969 code includes the debug output trace mechanism and has a much larger code 
   11970 and data size. Note that these values will vary depending on the 
   11971 efficiency 
   11972 of the compiler and the compiler options used during generation.
   11973 
   11974   Previous Release:
   11975     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   11976     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   11977   Current Release:
   11978     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   11979     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   11980 
   11981 
   11982 2) iASL Compiler/Disassembler:
   11983 
   11984 Fixed a problem with the disassembly of a BankField operator with a 
   11985 complex 
   11986 expression for the BankValue parameter.
   11987 
   11988 ----------------------------------------
   11989 27 January 2006. Summary of changes for version 20060127:
   11990 
   11991 1) ACPI CA Core Subsystem:
   11992 
   11993 Implemented support in the Resource Manager to allow unresolved 
   11994 namestring 
   11995 references within resource package objects for the _PRT method. This 
   11996 support 
   11997 is in addition to the previously implemented unresolved reference support 
   11998 within the AML parser. If the interpreter slack mode is enabled, these 
   11999 unresolved references will be passed through to the caller as a NULL 
   12000 package 
   12001 entry.
   12002 
   12003 Implemented and deployed new macros and functions for error and warning 
   12004 messages across the subsystem. These macros are simpler and generate less 
   12005 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
   12006 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
   12007 macros remain defined to allow ACPI drivers time to migrate to the new 
   12008 macros.
   12009 
   12010 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
   12011 the 
   12012 Acquire/Release Lock OSL interfaces.
   12013 
   12014 Fixed a problem where Alias ASL operators are sometimes not correctly 
   12015 resolved, in both the interpreter and the iASL compiler.
   12016 
   12017 Fixed several problems with the implementation of the 
   12018 ConcatenateResTemplate 
   12019 ASL operator. As per the ACPI specification, zero length buffers are now 
   12020 treated as a single EndTag. One-length buffers always cause a fatal 
   12021 exception. Non-zero length buffers that do not end with a full 2-byte 
   12022 EndTag 
   12023 cause a fatal exception.
   12024 
   12025 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
   12026 interface. (With assistance from Thomas Renninger)
   12027 
   12028 Code and Data Size: The current and previous library sizes for the core 
   12029 subsystem are shown below. These are the code and data sizes for the 
   12030 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12031 These 
   12032 values do not include any ACPI driver or OSPM code. The debug version of 
   12033 the 
   12034 code includes the debug output trace mechanism and has a much larger code 
   12035 and data size. Note that these values will vary depending on the 
   12036 efficiency 
   12037 of the compiler and the compiler options used during generation.
   12038 
   12039   Previous Release:
   12040     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   12041     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   12042   Current Release:
   12043     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   12044     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   12045 
   12046 
   12047 2) iASL Compiler/Disassembler:
   12048 
   12049 Fixed an internal error that was generated for any forward references to 
   12050 ASL 
   12051 Alias objects.
   12052 
   12053 ----------------------------------------
   12054 13 January 2006. Summary of changes for version 20060113:
   12055 
   12056 1) ACPI CA Core Subsystem:
   12057 
   12058 Added 2006 copyright to all module headers and signons. This affects 
   12059 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
   12060 utilities.
   12061  
   12062 Enhanced the ACPICA error reporting in order to simplify user migration 
   12063 to 
   12064 the non-debug version of ACPICA. Replaced all instances of the 
   12065 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
   12066 debug 
   12067 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
   12068 respectively. This preserves all error and warning messages in the non-
   12069 debug 
   12070 version of the ACPICA code (this has been referred to as the "debug lite" 
   12071 option.) Over 200 cases were converted to create a total of over 380 
   12072 error/warning messages across the ACPICA code. This increases the code 
   12073 and 
   12074 data size of the default non-debug version of the code somewhat (about 
   12075 13K), 
   12076 but all error/warning reporting may be disabled if desired (and code 
   12077 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
   12078 configuration option. The size of the debug version of ACPICA remains 
   12079 about 
   12080 the same.
   12081 
   12082 Fixed a memory leak within the AML Debugger "Set" command. One object was 
   12083 not properly deleted for every successful invocation of the command.
   12084 
   12085 Code and Data Size: The current and previous library sizes for the core 
   12086 subsystem are shown below. These are the code and data sizes for the 
   12087 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12088 These 
   12089 values do not include any ACPI driver or OSPM code. The debug version of 
   12090 the 
   12091 code includes the debug output trace mechanism and has a much larger code 
   12092 and data size. Note that these values will vary depending on the 
   12093 efficiency 
   12094 of the compiler and the compiler options used during generation.
   12095 
   12096   Previous Release:
   12097     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   12098     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   12099   Current Release:
   12100     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   12101     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   12102 
   12103 
   12104 2) iASL Compiler/Disassembler:
   12105 
   12106 The compiler now officially supports the ACPI 3.0a specification that was 
   12107 released on December 30, 2005. (Specification is available at 
   12108 www.acpi.info)
   12109 
   12110 ----------------------------------------
   12111 16 December 2005. Summary of changes for version 20051216:
   12112 
   12113 1) ACPI CA Core Subsystem:
   12114 
   12115 Implemented optional support to allow unresolved names within ASL Package 
   12116 objects. A null object is inserted in the package when a named reference 
   12117 cannot be located in the current namespace. Enabled via the interpreter 
   12118 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
   12119 machines 
   12120 that contain such code.
   12121 
   12122 Implemented an optimization to the initialization sequence that can 
   12123 improve 
   12124 boot time. During ACPI device initialization, the _STA method is now run 
   12125 if 
   12126 and only if the _INI method exists. The _STA method is used to determine 
   12127 if 
   12128 the device is present; An _INI can only be run if _STA returns present, 
   12129 but 
   12130 it is a waste of time to run the _STA method if the _INI does not exist. 
   12131 (Prototype and assistance from Dong Wei)
   12132 
   12133 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
   12134 is 
   12135 available in the current compiler. Otherwise, the default (void *) cast 
   12136 is 
   12137 used as before.
   12138 
   12139 Fixed some possible memory leaks found within the execution path of the 
   12140 Break, Continue, If, and CreateField operators. (Valery Podrezov)
   12141 
   12142 Fixed a problem introduced in the 20051202 release where an exception is 
   12143 generated during method execution if a control method attempts to declare 
   12144 another method.
   12145 
   12146 Moved resource descriptor string constants that are used by both the AML 
   12147 disassembler and AML debugger to the common utilities directory so that 
   12148 these components are independent.
   12149 
   12150 Implemented support in the AcpiExec utility (-e switch) to globally 
   12151 ignore 
   12152 exceptions during control method execution (method is not aborted.)
   12153 
   12154 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
   12155 generation.
   12156 
   12157 Code and Data Size: The current and previous library sizes for the core 
   12158 subsystem are shown below. These are the code and data sizes for the 
   12159 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12160 These 
   12161 values do not include any ACPI driver or OSPM code. The debug version of 
   12162 the 
   12163 code includes the debug output trace mechanism and has a much larger code 
   12164 and data size. Note that these values will vary depending on the 
   12165 efficiency 
   12166 of the compiler and the compiler options used during generation.
   12167 
   12168   Previous Release:
   12169     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12170     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   12171   Current Release:
   12172     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   12173     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   12174 
   12175 
   12176 2) iASL Compiler/Disassembler:
   12177 
   12178 Fixed a problem where a CPU stack overflow fault could occur if a 
   12179 recursive 
   12180 method call was made from within a Return statement.
   12181 
   12182 ----------------------------------------
   12183 02 December 2005. Summary of changes for version 20051202:
   12184 
   12185 1) ACPI CA Core Subsystem:
   12186 
   12187 Modified the parsing of control methods to no longer create namespace 
   12188 objects during the first pass of the parse. Objects are now created only 
   12189 during the execute phase, at the moment the namespace creation operator 
   12190 is 
   12191 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
   12192 This 
   12193 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
   12194 reentrant control methods are protected by an AML mutex. The mutex will 
   12195 now 
   12196 correctly block multiple threads from attempting to create the same 
   12197 object 
   12198 more than once.
   12199 
   12200 Increased the number of available Owner Ids for namespace object tracking 
   12201 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
   12202 on 
   12203 some machines with a large number of ACPI tables (either static or 
   12204 dynamic).
   12205 
   12206 Fixed a problem with the AcpiExec utility where a fault could occur when 
   12207 the 
   12208 -b switch (batch mode) is used.
   12209 
   12210 Enhanced the namespace dump routine to output the owner ID for each 
   12211 namespace object.
   12212 
   12213 Code and Data Size: The current and previous library sizes for the core 
   12214 subsystem are shown below. These are the code and data sizes for the 
   12215 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12216 These 
   12217 values do not include any ACPI driver or OSPM code. The debug version of 
   12218 the 
   12219 code includes the debug output trace mechanism and has a much larger code 
   12220 and data size. Note that these values will vary depending on the 
   12221 efficiency 
   12222 of the compiler and the compiler options used during generation.
   12223 
   12224   Previous Release:
   12225     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12226     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   12227   Current Release:
   12228     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12229     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   12230 
   12231 
   12232 2) iASL Compiler/Disassembler:
   12233 
   12234 Fixed a parse error during compilation of certain Switch/Case constructs. 
   12235 To 
   12236 simplify the parse, the grammar now allows for multiple Default 
   12237 statements 
   12238 and this error is now detected and flagged during the analysis phase.
   12239 
   12240 Disassembler: The disassembly now includes the contents of the original 
   12241 table header within a comment at the start of the file. This includes the 
   12242 name and version of the original ASL compiler.
   12243 
   12244 ----------------------------------------
   12245 17 November 2005. Summary of changes for version 20051117:
   12246 
   12247 1) ACPI CA Core Subsystem:
   12248 
   12249 Fixed a problem in the AML parser where the method thread count could be 
   12250 decremented below zero if any errors occurred during the method parse 
   12251 phase. 
   12252 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
   12253 machines. 
   12254 This also fixed a related regression with the mechanism that detects and 
   12255 corrects methods that cannot properly handle reentrancy (related to the 
   12256 deployment of the new OwnerId mechanism.)
   12257 
   12258 Eliminated the pre-parsing of control methods (to detect errors) during 
   12259 table load. Related to the problem above, this was causing unwind issues 
   12260 if 
   12261 any errors occurred during the parse, and it seemed to be overkill. A 
   12262 table 
   12263 load should not be aborted if there are problems with any single control 
   12264 method, thus rendering this feature rather pointless.
   12265 
   12266 Fixed a problem with the new table-driven resource manager where an 
   12267 internal 
   12268 buffer overflow could occur for small resource templates.
   12269 
   12270 Implemented a new external interface, AcpiGetVendorResource. This 
   12271 interface 
   12272 will find and return a vendor-defined resource descriptor within a _CRS 
   12273 or 
   12274 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
   12275 Helgaas.
   12276 
   12277 Removed the length limit (200) on string objects as per the upcoming ACPI 
   12278 3.0A specification. This affects the following areas of the interpreter: 
   12279 1) 
   12280 any implicit conversion of a Buffer to a String, 2) a String object
   12281 result 
   12282 of the ASL Concatenate operator, 3) the String object result of the ASL
   12283 ToString operator.
   12284 
   12285 Fixed a problem in the Windows OS interface layer (OSL) where a 
   12286 WAIT_FOREVER 
   12287 on a semaphore object would incorrectly timeout. This allows the 
   12288 multithreading features of the AcpiExec utility to work properly under 
   12289 Windows.
   12290 
   12291 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
   12292 the recently added file named "utresrc.c".
   12293 
   12294 Code and Data Size: The current and previous library sizes for the core 
   12295 subsystem are shown below. These are the code and data sizes for the 
   12296 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12297 These 
   12298 values do not include any ACPI driver or OSPM code. The debug version of 
   12299 the 
   12300 code includes the debug output trace mechanism and has a much larger code 
   12301 and data size. Note that these values will vary depending on the 
   12302 efficiency 
   12303 of the compiler and the compiler options used during generation.
   12304 
   12305   Previous Release:
   12306     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   12307     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   12308   Current Release:
   12309     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12310     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   12311 
   12312 
   12313 2) iASL Compiler/Disassembler:
   12314 
   12315 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
   12316 specification. For the iASL compiler, this means that string literals 
   12317 within 
   12318 the source ASL can be of any length. 
   12319 
   12320 Enhanced the listing output to dump the AML code for resource descriptors 
   12321 immediately after the ASL code for each descriptor, instead of in a block 
   12322 at 
   12323 the end of the entire resource template.
   12324 
   12325 Enhanced the compiler debug output to dump the entire original parse tree 
   12326 constructed during the parse phase, before any transforms are applied to 
   12327 the 
   12328 tree. The transformed tree is dumped also.
   12329 
   12330 ----------------------------------------
   12331 02 November 2005. Summary of changes for version 20051102:
   12332 
   12333 1) ACPI CA Core Subsystem:
   12334 
   12335 Modified the subsystem initialization sequence to improve GPE support. 
   12336 The 
   12337 GPE initialization has been split into two parts in order to defer 
   12338 execution 
   12339 of the _PRW methods (Power Resources for Wake) until after the hardware 
   12340 is 
   12341 fully initialized and the SCI handler is installed. This allows the _PRW 
   12342 methods to access fields protected by the Global Lock. This will fix 
   12343 systems 
   12344 where a NO_GLOBAL_LOCK exception has been seen during initialization.
   12345 
   12346 Converted the ACPI internal object disassemble and display code within 
   12347 the 
   12348 AML debugger to fully table-driven operation, reducing code size and 
   12349 increasing maintainability.
   12350 
   12351 Fixed a regression with the ConcatenateResTemplate() ASL operator 
   12352 introduced 
   12353 in the 20051021 release.
   12354 
   12355 Implemented support for "local" internal ACPI object types within the 
   12356 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
   12357 These local types include RegionFields, BankFields, IndexFields, Alias, 
   12358 and 
   12359 reference objects.
   12360 
   12361 Moved common AML resource handling code into a new file, "utresrc.c". 
   12362 This 
   12363 code is shared by both the Resource Manager and the AML Debugger.
   12364 
   12365 Code and Data Size: The current and previous library sizes for the core 
   12366 subsystem are shown below. These are the code and data sizes for the 
   12367 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12368 These 
   12369 values do not include any ACPI driver or OSPM code. The debug version of 
   12370 the 
   12371 code includes the debug output trace mechanism and has a much larger code 
   12372 and data size. Note that these values will vary depending on the 
   12373 efficiency 
   12374 of the compiler and the compiler options used during generation.
   12375 
   12376   Previous Release:
   12377     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   12378     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   12379   Current Release:
   12380     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   12381     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   12382 
   12383 
   12384 2) iASL Compiler/Disassembler:
   12385 
   12386 Fixed a problem with very large initializer lists (more than 4000 
   12387 elements) 
   12388 for both Buffer and Package objects where the parse stack could overflow.
   12389 
   12390 Enhanced the pre-compile source code scan for non-ASCII characters to 
   12391 ignore 
   12392 characters within comment fields. The scan is now always performed and is 
   12393 no 
   12394 longer optional, detecting invalid characters within a source file 
   12395 immediately rather than during the parse phase or later.
   12396 
   12397 Enhanced the ASL grammar definition to force early reductions on all 
   12398 list-
   12399 style grammar elements so that the overall parse stack usage is greatly 
   12400 reduced. This should improve performance and reduce the possibility of 
   12401 parse 
   12402 stack overflow.
   12403 
   12404 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
   12405 Also, 
   12406 with the addition of a %expected statement, the compiler generates from 
   12407 source with no warnings.
   12408 
   12409 Fixed a possible segment fault in the disassembler if the input filename 
   12410 does not contain a "dot" extension (Thomas Renninger).
   12411 
   12412 ----------------------------------------
   12413 21 October 2005. Summary of changes for version 20051021:
   12414 
   12415 1) ACPI CA Core Subsystem:
   12416 
   12417 Implemented support for the EM64T and other x86-64 processors. This 
   12418 essentially entails recognizing that these processors support non-aligned 
   12419 memory transfers. Previously, all 64-bit processors were assumed to lack 
   12420 hardware support for non-aligned transfers.
   12421 
   12422 Completed conversion of the Resource Manager to nearly full table-driven 
   12423 operation. Specifically, the resource conversion code (convert AML to 
   12424 internal format and the reverse) and the debug code to dump internal 
   12425 resource descriptors are fully table-driven, reducing code and data size 
   12426 and 
   12427 improving maintainability.
   12428 
   12429 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
   12430 word 
   12431 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
   12432 from 
   12433 Alexey Starikovskiy)
   12434 
   12435 Implemented support within the resource conversion code for the Type-
   12436 Specific byte within the various ACPI 3.0 *WordSpace macros.
   12437 
   12438 Fixed some issues within the resource conversion code for the type-
   12439 specific 
   12440 flags for both Memory and I/O address resource descriptors. For Memory, 
   12441 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
   12442 TTP flags into two separate fields.
   12443 
   12444 Code and Data Size: The current and previous library sizes for the core 
   12445 subsystem are shown below. These are the code and data sizes for the 
   12446 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12447 These 
   12448 values do not include any ACPI driver or OSPM code. The debug version of 
   12449 the 
   12450 code includes the debug output trace mechanism and has a much larger code 
   12451 and data size. Note that these values will vary depending on the 
   12452 efficiency 
   12453 of the compiler and the compiler options used during generation.
   12454 
   12455   Previous Release:
   12456     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   12457     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   12458   Current Release:
   12459     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   12460     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   12461 
   12462 
   12463 
   12464 2) iASL Compiler/Disassembler:
   12465 
   12466 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
   12467 the 
   12468 corresponding ResourceSource string was not also present in a resource 
   12469 descriptor declaration. This restriction caused problems with existing 
   12470 AML/ASL code that includes the Index byte without the string. When such 
   12471 AML 
   12472 was disassembled, it could not be compiled without modification. Further, 
   12473 the modified code created a resource template with a different size than 
   12474 the 
   12475 original, breaking code that used fixed offsets into the resource 
   12476 template 
   12477 buffer.
   12478 
   12479 Removed a recent feature of the disassembler to ignore a lone 
   12480 ResourceIndex 
   12481 byte. This byte is now emitted if present so that the exact AML can be 
   12482 reproduced when the disassembled code is recompiled.
   12483 
   12484 Improved comments and text alignment for the resource descriptor code 
   12485 emitted by the disassembler.
   12486 
   12487 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
   12488 a 
   12489 Register() resource descriptor.
   12490 
   12491 ----------------------------------------
   12492 30 September 2005. Summary of changes for version 20050930:
   12493 
   12494 1) ACPI CA Core Subsystem:
   12495 
   12496 Completed a major overhaul of the Resource Manager code - specifically, 
   12497 optimizations in the area of the AML/internal resource conversion code. 
   12498 The 
   12499 code has been optimized to simplify and eliminate duplicated code, CPU 
   12500 stack 
   12501 use has been decreased by optimizing function parameters and local 
   12502 variables, and naming conventions across the manager have been 
   12503 standardized 
   12504 for clarity and ease of maintenance (this includes function, parameter, 
   12505 variable, and struct/typedef names.) The update may force changes in some 
   12506 driver code, depending on how resources are handled by the host OS.
   12507 
   12508 All Resource Manager dispatch and information tables have been moved to a 
   12509 single location for clarity and ease of maintenance. One new file was 
   12510 created, named "rsinfo.c".
   12511 
   12512 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
   12513 guarantee that the argument is not evaluated twice, making them less 
   12514 prone 
   12515 to macro side-effects. However, since there exists the possibility of 
   12516 additional stack use if a particular compiler cannot optimize them (such 
   12517 as 
   12518 in the debug generation case), the original macros are optionally 
   12519 available.  
   12520 Note that some invocations of the return_VALUE macro may now cause size 
   12521 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
   12522 to 
   12523 eliminate these. (From Randy Dunlap)
   12524 
   12525 Implemented a new mechanism to enable debug tracing for individual 
   12526 control 
   12527 methods. A new external interface, AcpiDebugTrace, is provided to enable 
   12528 this mechanism. The intent is to allow the host OS to easily enable and 
   12529 disable tracing for problematic control methods. This interface can be 
   12530 easily exposed to a user or debugger interface if desired. See the file 
   12531 psxface.c for details.
   12532 
   12533 AcpiUtCallocate will now return a valid pointer if a length of zero is 
   12534 specified - a length of one is used and a warning is issued. This matches 
   12535 the behavior of AcpiUtAllocate.
   12536 
   12537 Code and Data Size: The current and previous library sizes for the core 
   12538 subsystem are shown below. These are the code and data sizes for the 
   12539 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12540 These 
   12541 values do not include any ACPI driver or OSPM code. The debug version of 
   12542 the 
   12543 code includes the debug output trace mechanism and has a much larger code 
   12544 and data size. Note that these values will vary depending on the 
   12545 efficiency 
   12546 of the compiler and the compiler options used during generation.
   12547 
   12548   Previous Release:
   12549     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   12550     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   12551   Current Release:
   12552     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   12553     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   12554 
   12555 
   12556 2) iASL Compiler/Disassembler:
   12557 
   12558 A remark is issued if the effective compile-time length of a package or 
   12559 buffer is zero. Previously, this was a warning.
   12560 
   12561 ----------------------------------------
   12562 16 September 2005. Summary of changes for version 20050916:
   12563 
   12564 1) ACPI CA Core Subsystem:
   12565 
   12566 Fixed a problem within the Resource Manager where support for the Generic 
   12567 Register descriptor was not fully implemented. This descriptor is now 
   12568 fully 
   12569 recognized, parsed, disassembled, and displayed.
   12570 
   12571 Completely restructured the Resource Manager code to utilize table-driven 
   12572 dispatch and lookup, eliminating many of the large switch() statements. 
   12573 This 
   12574 reduces overall subsystem code size and code complexity. Affects the 
   12575 resource parsing and construction, disassembly, and debug dump output.
   12576 
   12577 Cleaned up and restructured the debug dump output for all resource 
   12578 descriptors. Improved readability of the output and reduced code size.
   12579 
   12580 Fixed a problem where changes to internal data structures caused the 
   12581 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
   12582 
   12583 Code and Data Size: The current and previous library sizes for the core 
   12584 subsystem are shown below. These are the code and data sizes for the 
   12585 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12586 These 
   12587 values do not include any ACPI driver or OSPM code. The debug version of 
   12588 the 
   12589 code includes the debug output trace mechanism and has a much larger code 
   12590 and data size. Note that these values will vary depending on the 
   12591 efficiency 
   12592 of the compiler and the compiler options used during generation.
   12593 
   12594   Previous Release:
   12595     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   12596     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   12597   Current Release:
   12598     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   12599     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   12600 
   12601 
   12602 2) iASL Compiler/Disassembler:
   12603 
   12604 Updated the disassembler to automatically insert an EndDependentFn() 
   12605 macro 
   12606 into the ASL stream if this macro is missing in the original AML code, 
   12607 simplifying compilation of the resulting ASL module.
   12608 
   12609 Fixed a problem in the disassembler where a disassembled ResourceSource 
   12610 string (within a large resource descriptor) was not surrounded by quotes 
   12611 and 
   12612 not followed by a comma, causing errors when the resulting ASL module was 
   12613 compiled. Also, escape sequences within a ResourceSource string are now 
   12614 handled correctly (especially "\\")
   12615 
   12616 ----------------------------------------
   12617 02 September 2005. Summary of changes for version 20050902:
   12618 
   12619 1) ACPI CA Core Subsystem:
   12620 
   12621 Fixed a problem with the internal Owner ID allocation and deallocation 
   12622 mechanisms for control method execution and recursive method invocation. 
   12623 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
   12624 messages seen on some systems. Recursive method invocation depth is 
   12625 currently limited to 255. (Alexey Starikovskiy)
   12626 
   12627 Completely eliminated all vestiges of support for the "module-level 
   12628 executable code" until this support is fully implemented and debugged. 
   12629 This 
   12630 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
   12631 some systems that invoke this support.
   12632 
   12633 Fixed a problem within the resource manager code where the transaction 
   12634 flags 
   12635 for a 64-bit address descriptor were handled incorrectly in the type-
   12636 specific flag byte.
   12637 
   12638 Consolidated duplicate code within the address descriptor resource 
   12639 manager 
   12640 code, reducing overall subsystem code size.
   12641 
   12642 Fixed a fault when using the AML debugger "disassemble" command to 
   12643 disassemble individual control methods.
   12644 
   12645 Removed references to the "release_current" directory within the Unix 
   12646 release package.
   12647 
   12648 Code and Data Size: The current and previous core subsystem library sizes 
   12649 are shown below. These are the code and data sizes for the acpica.lib 
   12650 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
   12651 include any ACPI driver or OSPM code. The debug version of the code 
   12652 includes 
   12653 the debug output trace mechanism and has a much larger code and data 
   12654 size. 
   12655 Note that these values will vary depending on the efficiency of the 
   12656 compiler 
   12657 and the compiler options used during generation.
   12658 
   12659   Previous Release:
   12660     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   12661     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   12662   Current Release:
   12663     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   12664     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   12665 
   12666 
   12667 2) iASL Compiler/Disassembler:
   12668 
   12669 Implemented an error check for illegal duplicate values in the interrupt 
   12670 and 
   12671 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
   12672 Interrupt().
   12673 
   12674 Implemented error checking for the Irq() and IrqNoFlags() macros to 
   12675 detect 
   12676 too many values in the interrupt list (16 max) and invalid values in the 
   12677 list (range 0 - 15)
   12678 
   12679 The maximum length string literal within an ASL file is now restricted to 
   12680 200 characters as per the ACPI specification.
   12681 
   12682 Fixed a fault when using the -ln option (generate namespace listing).
   12683 
   12684 Implemented an error check to determine if a DescriptorName within a 
   12685 resource descriptor has already been used within the current scope.
   12686 
   12687 ----------------------------------------
   12688 15 August 2005.  Summary of changes for version 20050815:
   12689  
   12690 1) ACPI CA Core Subsystem:
   12691  
   12692 Implemented a full bytewise compare to determine if a table load request 
   12693 is 
   12694 attempting to load a duplicate table. The compare is performed if the 
   12695 table 
   12696 signatures and table lengths match. This will allow different tables with 
   12697 the same OEM Table ID and revision to be loaded - probably against the 
   12698 ACPI 
   12699 specification, but discovered in the field nonetheless.
   12700  
   12701 Added the changes.txt logfile to each of the zipped release packages.
   12702  
   12703 Code and Data Size: Current and previous core subsystem library sizes are 
   12704 shown below. These are the code and data sizes for the acpica.lib 
   12705 produced 
   12706 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12707 any ACPI driver or OSPM code. The debug version of the code includes the 
   12708 debug output trace mechanism and has a much larger code and data size. 
   12709 Note 
   12710 that these values will vary depending on the efficiency of the compiler 
   12711 and 
   12712 the compiler options used during generation.
   12713  
   12714   Previous Release:
   12715     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   12716     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   12717   Current Release:
   12718     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   12719     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   12720  
   12721  
   12722 2) iASL Compiler/Disassembler:
   12723  
   12724 Fixed a problem where incorrect AML code could be generated for Package 
   12725 objects if optimization is disabled (via the -oa switch).
   12726  
   12727 Fixed a problem with where incorrect AML code is generated for variable-
   12728 length packages when the package length is not specified and the number 
   12729 of 
   12730 initializer values is greater than 255.
   12731  
   12732 
   12733 ----------------------------------------
   12734 29 July 2005.  Summary of changes for version 20050729:
   12735 
   12736 1) ACPI CA Core Subsystem:
   12737 
   12738 Implemented support to ignore an attempt to install/load a particular 
   12739 ACPI 
   12740 table more than once. Apparently there exists BIOS code that repeatedly 
   12741 attempts to load the same SSDT upon certain events. With assistance from 
   12742 Venkatesh Pallipadi.
   12743 
   12744 Restructured the main interface to the AML parser in order to correctly 
   12745 handle all exceptional conditions. This will prevent leakage of the 
   12746 OwnerId 
   12747 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
   12748 some 
   12749 machines. With assistance from Alexey Starikovskiy.
   12750 
   12751 Support for "module level code" has been disabled in this version due to 
   12752 a 
   12753 number of issues that have appeared on various machines. The support can 
   12754 be 
   12755 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
   12756 compilation. When the issues are fully resolved, the code will be enabled 
   12757 by 
   12758 default again.
   12759 
   12760 Modified the internal functions for debug print support to define the 
   12761 FunctionName parameter as a (const char *) for compatibility with 
   12762 compiler 
   12763 built-in macros such as __FUNCTION__, etc.
   12764 
   12765 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
   12766 
   12767 Implemented support to display an object count summary for the AML 
   12768 Debugger 
   12769 commands Object and Methods.
   12770 
   12771 Code and Data Size: Current and previous core subsystem library sizes are 
   12772 shown below. These are the code and data sizes for the acpica.lib 
   12773 produced 
   12774 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12775 any ACPI driver or OSPM code. The debug version of the code includes the 
   12776 debug output trace mechanism and has a much larger code and data size. 
   12777 Note 
   12778 that these values will vary depending on the efficiency of the compiler 
   12779 and 
   12780 the compiler options used during generation.
   12781 
   12782   Previous Release:
   12783     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   12784     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   12785   Current Release:
   12786     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   12787     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   12788 
   12789 
   12790 2) iASL Compiler/Disassembler:
   12791 
   12792 Fixed a regression that appeared in the 20050708 version of the compiler 
   12793 where an error message was inadvertently emitted for invocations of the 
   12794 _OSI 
   12795 reserved control method.
   12796 
   12797 ----------------------------------------
   12798 08 July 2005.  Summary of changes for version 20050708:
   12799 
   12800 1) ACPI CA Core Subsystem:
   12801 
   12802 The use of the CPU stack in the debug version of the subsystem has been 
   12803 considerably reduced. Previously, a debug structure was declared in every 
   12804 function that used the debug macros. This structure has been removed in 
   12805 favor of declaring the individual elements as parameters to the debug 
   12806 functions. This reduces the cumulative stack use during nested execution 
   12807 of 
   12808 ACPI function calls at the cost of a small increase in the code size of 
   12809 the 
   12810 debug version of the subsystem. With assistance from Alexey Starikovskiy 
   12811 and 
   12812 Len Brown.
   12813 
   12814 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
   12815 headers to define a macro that will return the current function name at 
   12816 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
   12817 by 
   12818 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
   12819 compiler-dependent header, the function name is saved on the CPU stack 
   12820 (one 
   12821 pointer per function.) This mechanism is used because apparently there 
   12822 exists no standard ANSI-C defined macro that that returns the function 
   12823 name.
   12824 
   12825 Redesigned and reimplemented the "Owner ID" mechanism used to track 
   12826 namespace objects created/deleted by ACPI tables and control method 
   12827 execution. A bitmap is now used to allocate and free the IDs, thus 
   12828 solving 
   12829 the wraparound problem present in the previous implementation. The size 
   12830 of 
   12831 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
   12832 Starikovskiy).
   12833 
   12834 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
   12835 bitfield 
   12836 flag definitions within the headers for the predefined ACPI tables. These 
   12837 have been replaced by UINT8_BIT in order to increase the code portability 
   12838 of 
   12839 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
   12840 eliminate bitfields entirely because of a lack of portability.
   12841 
   12842 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
   12843 This 
   12844 is a frequently used function and this improvement increases the 
   12845 performance 
   12846 of the entire subsystem (Alexey Starikovskiy).
   12847 
   12848 Fixed several possible memory leaks and the inverse - premature object 
   12849 deletion (Alexey Starikovskiy).
   12850 
   12851 Code and Data Size: Current and previous core subsystem library sizes are 
   12852 shown below. These are the code and data sizes for the acpica.lib 
   12853 produced 
   12854 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12855 any ACPI driver or OSPM code. The debug version of the code includes the 
   12856 debug output trace mechanism and has a much larger code and data size. 
   12857 Note 
   12858 that these values will vary depending on the efficiency of the compiler 
   12859 and 
   12860 the compiler options used during generation.
   12861 
   12862   Previous Release:
   12863     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   12864     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   12865   Current Release:
   12866     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   12867     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   12868 
   12869 ----------------------------------------
   12870 24 June 2005.  Summary of changes for version 20050624:
   12871 
   12872 1) ACPI CA Core Subsystem:
   12873 
   12874 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
   12875 the host-defined cache object. This allows the OSL implementation to 
   12876 define 
   12877 and type this object in any manner desired, simplifying the OSL 
   12878 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
   12879 Linux, and should be defined in the OS-specific header file for other 
   12880 operating systems as required.
   12881 
   12882 Changed the interface to AcpiOsAcquireObject to directly return the 
   12883 requested object as the function return (instead of ACPI_STATUS.) This 
   12884 change was made for performance reasons, since this is the purpose of the 
   12885 interface in the first place. AcpiOsAcquireObject is now similar to the 
   12886 AcpiOsAllocate interface.
   12887 
   12888 Implemented a new AML debugger command named Businfo. This command 
   12889 displays 
   12890 information about all devices that have an associate _PRT object. The 
   12891 _ADR, 
   12892 _HID, _UID, and _CID are displayed for these devices.
   12893 
   12894 Modified the initialization sequence in AcpiInitializeSubsystem to call 
   12895 the 
   12896 OSL interface AcpiOslInitialize first, before any local initialization. 
   12897 This 
   12898 change was required because the global initialization now calls OSL 
   12899 interfaces.
   12900 
   12901 Enhanced the Dump command to display the entire contents of Package 
   12902 objects 
   12903 (including all sub-objects and their values.) 
   12904 
   12905 Restructured the code base to split some files because of size and/or 
   12906 because the code logically belonged in a separate file. New files are 
   12907 listed 
   12908 below. All makefiles and project files included in the ACPI CA release 
   12909 have 
   12910 been updated.
   12911     utilities/utcache.c           /* Local cache interfaces */
   12912     utilities/utmutex.c           /* Local mutex support */
   12913     utilities/utstate.c           /* State object support */
   12914     interpreter/parser/psloop.c   /* Main AML parse loop */
   12915 
   12916 Code and Data Size: Current and previous core subsystem library sizes are 
   12917 shown below. These are the code and data sizes for the acpica.lib 
   12918 produced 
   12919 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12920 any ACPI driver or OSPM code. The debug version of the code includes the 
   12921 debug output trace mechanism and has a much larger code and data size. 
   12922 Note 
   12923 that these values will vary depending on the efficiency of the compiler 
   12924 and 
   12925 the compiler options used during generation.
   12926 
   12927   Previous Release:
   12928     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   12929     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   12930   Current Release:
   12931     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   12932     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   12933 
   12934 
   12935 2) iASL Compiler/Disassembler:
   12936 
   12937 Fixed a regression introduced in version 20050513 where the use of a 
   12938 Package 
   12939 object within a Case() statement caused a compile time exception. The 
   12940 original behavior has been restored (a Match() operator is emitted.)
   12941 
   12942 ----------------------------------------
   12943 17 June 2005.  Summary of changes for version 20050617:
   12944 
   12945 1) ACPI CA Core Subsystem:
   12946 
   12947 Moved the object cache operations into the OS interface layer (OSL) to 
   12948 allow 
   12949 the host OS to handle these operations if desired (for example, the Linux 
   12950 OSL will invoke the slab allocator). This support is optional; the 
   12951 compile 
   12952 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
   12953 cache 
   12954 code in the ACPI CA core. The new OSL interfaces are shown below. See 
   12955 utalloc.c for an example implementation, and acpiosxf.h for the exact 
   12956 interface definitions. With assistance from Alexey Starikovskiy.
   12957     AcpiOsCreateCache
   12958     AcpiOsDeleteCache
   12959     AcpiOsPurgeCache
   12960     AcpiOsAcquireObject
   12961     AcpiOsReleaseObject
   12962 
   12963 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
   12964 return 
   12965 and restore a flags parameter. This fits better with many OS lock models. 
   12966 Note: the current execution state (interrupt handler or not) is no longer 
   12967 passed to these interfaces. If necessary, the OSL must determine this 
   12968 state 
   12969 by itself, a simple and fast operation. With assistance from Alexey 
   12970 Starikovskiy.
   12971 
   12972 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
   12973 present if the revision of the RSDP was 2 or greater. According to the 
   12974 ACPI 
   12975 specification, the XSDT is optional in all cases, and the table manager 
   12976 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
   12977 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
   12978 contain 
   12979 only the RSDT.
   12980 
   12981 Fixed an interpreter problem with the Mid() operator in the case of an 
   12982 input 
   12983 string where the resulting output string is of zero length. It now 
   12984 correctly 
   12985 returns a valid, null terminated string object instead of a string object 
   12986 with a null pointer.
   12987 
   12988 Fixed a problem with the control method argument handling to allow a 
   12989 store 
   12990 to an Arg object that already contains an object of type Device. The 
   12991 Device 
   12992 object is now correctly overwritten. Previously, an error was returned.
   12993 
   12994 
   12995 Enhanced the debugger Find command to emit object values in addition to 
   12996 the 
   12997 found object pathnames. The output format is the same as the dump 
   12998 namespace 
   12999 command.
   13000 
   13001 Enhanced the debugger Set command. It now has the ability to set the 
   13002 value 
   13003 of any Named integer object in the namespace (Previously, only method 
   13004 locals 
   13005 and args could be set.)
   13006 
   13007 Code and Data Size: Current and previous core subsystem library sizes are 
   13008 shown below. These are the code and data sizes for the acpica.lib 
   13009 produced 
   13010 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13011 any ACPI driver or OSPM code. The debug version of the code includes the 
   13012 debug output trace mechanism and has a much larger code and data size. 
   13013 Note 
   13014 that these values will vary depending on the efficiency of the compiler 
   13015 and 
   13016 the compiler options used during generation.
   13017 
   13018   Previous Release:
   13019     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   13020     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   13021   Current Release:
   13022     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   13023     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   13024 
   13025 
   13026 2) iASL Compiler/Disassembler:
   13027 
   13028 Fixed a regression in the disassembler where if/else/while constructs 
   13029 were 
   13030 output incorrectly. This problem was introduced in the previous release 
   13031 (20050526). This problem also affected the single-step disassembly in the 
   13032 debugger.
   13033 
   13034 Fixed a problem where compiling the reserved _OSI method would randomly 
   13035 (but 
   13036 rarely) produce compile errors.
   13037 
   13038 Enhanced the disassembler to emit compilable code in the face of 
   13039 incorrect 
   13040 AML resource descriptors. If the optional ResourceSourceIndex is present, 
   13041 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
   13042 disassembly. Otherwise, the resulting code cannot be compiled without 
   13043 errors.
   13044 
   13045 ----------------------------------------
   13046 26 May 2005.  Summary of changes for version 20050526:
   13047 
   13048 1) ACPI CA Core Subsystem:
   13049 
   13050 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
   13051 the module level (not within a control method.) These opcodes are 
   13052 executed 
   13053 exactly once at the time the table is loaded. This type of code was legal 
   13054 up 
   13055 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
   13056 in 
   13057 order to provide backwards compatibility with earlier BIOS 
   13058 implementations. 
   13059 This eliminates the "Encountered executable code at module level" warning 
   13060 that was previously generated upon detection of such code.
   13061 
   13062 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
   13063 inadvertently be generated during the lookup of namespace objects in the 
   13064 second pass parse of ACPI tables and control methods. It appears that 
   13065 this 
   13066 problem could occur during the resolution of forward references to 
   13067 namespace 
   13068 objects.
   13069 
   13070 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
   13071 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
   13072 allows the deadlock detection debug code to be compiled out in the normal 
   13073 case, improving mutex performance (and overall subsystem performance) 
   13074 considerably.
   13075 
   13076 Implemented a handful of miscellaneous fixes for possible memory leaks on 
   13077 error conditions and error handling control paths. These fixes were 
   13078 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
   13079 
   13080 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
   13081 (tbxfroot.c) 
   13082 to prevent a fault in this error case.
   13083 
   13084 Code and Data Size: Current and previous core subsystem library sizes are 
   13085 shown below. These are the code and data sizes for the acpica.lib 
   13086 produced 
   13087 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13088 any ACPI driver or OSPM code. The debug version of the code includes the 
   13089 debug output trace mechanism and has a much larger code and data size. 
   13090 Note 
   13091 that these values will vary depending on the efficiency of the compiler 
   13092 and 
   13093 the compiler options used during generation.
   13094 
   13095   Previous Release:
   13096     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13097     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13098   Current Release:
   13099     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   13100     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   13101 
   13102 
   13103 2) iASL Compiler/Disassembler:
   13104 
   13105 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
   13106 the module level (not within a control method.) These operators will be 
   13107 executed once at the time the table is loaded. This type of code was 
   13108 legal 
   13109 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
   13110 compiler in order to provide backwards compatibility with earlier BIOS 
   13111 ASL 
   13112 code.
   13113 
   13114 The ACPI integer width (specified via the table revision ID or the -r 
   13115 override, 32 or 64 bits) is now used internally during compile-time 
   13116 constant 
   13117 folding to ensure that constants are truncated to 32 bits if necessary. 
   13118 Previously, the revision ID value was only emitted in the AML table 
   13119 header.
   13120 
   13121 An error message is now generated for the Mutex and Method operators if 
   13122 the 
   13123 SyncLevel parameter is outside the legal range of 0 through 15.
   13124 
   13125 Fixed a problem with the Method operator ParameterTypes list handling 
   13126 (ACPI 
   13127 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
   13128 error.  
   13129 The actual underlying implementation of method argument typechecking is 
   13130 still under development, however.
   13131 
   13132 ----------------------------------------
   13133 13 May 2005.  Summary of changes for version 20050513:
   13134 
   13135 1) ACPI CA Core Subsystem:
   13136 
   13137 Implemented support for PCI Express root bridges -- added support for 
   13138 device 
   13139 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
   13140 
   13141 The interpreter now automatically truncates incoming 64-bit constants to 
   13142 32 
   13143 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
   13144 This 
   13145 also affects the iASL compiler constant folding. (Note: as per below, the 
   13146 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
   13147 
   13148 Fixed a problem where string and buffer objects with "static" pointers 
   13149 (pointers to initialization data within an ACPI table) were not handled 
   13150 consistently. The internal object copy operation now always copies the 
   13151 data 
   13152 to a newly allocated buffer, regardless of whether the source object is 
   13153 static or not.
   13154 
   13155 Fixed a problem with the FromBCD operator where an implicit result 
   13156 conversion was improperly performed while storing the result to the 
   13157 target 
   13158 operand. Since this is an "explicit conversion" operator, the implicit 
   13159 conversion should never be performed on the output.
   13160 
   13161 Fixed a problem with the CopyObject operator where a copy to an existing 
   13162 named object did not always completely overwrite the existing object 
   13163 stored 
   13164 at name. Specifically, a buffer-to-buffer copy did not delete the 
   13165 existing 
   13166 buffer.
   13167 
   13168 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
   13169 and 
   13170 structs for consistency.
   13171 
   13172 Code and Data Size: Current and previous core subsystem library sizes are 
   13173 shown below. These are the code and data sizes for the acpica.lib 
   13174 produced 
   13175 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13176 any ACPI driver or OSPM code. The debug version of the code includes the 
   13177 debug output trace mechanism and has a much larger code and data size. 
   13178 Note 
   13179 that these values will vary depending on the efficiency of the compiler 
   13180 and 
   13181 the compiler options used during generation.
   13182 
   13183   Previous Release:
   13184     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13185     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13186   Current Release: (Same sizes)
   13187     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13188     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13189 
   13190 
   13191 2) iASL Compiler/Disassembler:
   13192 
   13193 The compiler now emits a warning if an attempt is made to generate a 64-
   13194 bit 
   13195 integer constant from within a 32-bit ACPI table (Revision < 2). The 
   13196 integer 
   13197 is truncated to 32 bits.
   13198 
   13199 Fixed a problem with large package objects: if the static length of the 
   13200 package is greater than 255, the "variable length package" opcode is 
   13201 emitted. Previously, this caused an error. This requires an update to the 
   13202 ACPI spec, since it currently (incorrectly) states that packages larger 
   13203 than 
   13204 255 elements are not allowed.
   13205 
   13206 The disassembler now correctly handles variable length packages and 
   13207 packages 
   13208 larger than 255 elements.
   13209 
   13210 ----------------------------------------
   13211 08 April 2005.  Summary of changes for version 20050408:
   13212 
   13213 1) ACPI CA Core Subsystem:
   13214 
   13215 Fixed three cases in the interpreter where an "index" argument to an ASL 
   13216 function was still (internally) 32 bits instead of the required 64 bits. 
   13217 This was the Index argument to the Index, Mid, and Match operators.
   13218 
   13219 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
   13220 is 
   13221 not a POSIX-defined function and not present in most kernel-level C 
   13222 libraries. All references to the C library strupr function have been 
   13223 removed 
   13224 from the headers.
   13225 
   13226 Completed the deployment of static functions/prototypes. All prototypes 
   13227 with 
   13228 the static attribute have been moved from the headers to the owning C 
   13229 file.
   13230 
   13231 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
   13232 utility). This option allows the utility to extract individual ACPI 
   13233 tables 
   13234 from the output of AcpiDmp. It provides the same functionality of the 
   13235 acpixtract.pl perl script without the worry of setting the correct perl 
   13236 options. AcpiBin runs on Windows and has not yet been generated/validated 
   13237 in 
   13238 the Linux/Unix environment (but should be soon).
   13239  
   13240 Updated and fixed the table dump option for AcpiBin (-d). This option 
   13241 converts a single ACPI table to a hex/ascii file, similar to the output 
   13242 of 
   13243 AcpiDmp.
   13244 
   13245 Code and Data Size: Current and previous core subsystem library sizes are 
   13246 shown below. These are the code and data sizes for the acpica.lib 
   13247 produced 
   13248 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13249 any ACPI driver or OSPM code. The debug version of the code includes the 
   13250 debug output trace mechanism and has a much larger code and data size. 
   13251 Note 
   13252 that these values will vary depending on the efficiency of the compiler 
   13253 and 
   13254 the compiler options used during generation.
   13255 
   13256   Previous Release:
   13257     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   13258     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   13259   Current Release:
   13260     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13261     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13262 
   13263 
   13264 2) iASL Compiler/Disassembler:
   13265 
   13266 Disassembler fix: Added a check to ensure that the table length found in 
   13267 the 
   13268 ACPI table header within the input file is not longer than the actual 
   13269 input 
   13270 file size. This indicates some kind of file or table corruption.
   13271 
   13272 ----------------------------------------
   13273 29 March 2005.  Summary of changes for version 20050329:
   13274 
   13275 1) ACPI CA Core Subsystem:
   13276 
   13277 An error is now generated if an attempt is made to create a Buffer Field 
   13278 of 
   13279 length zero (A CreateField with a length operand of zero.)
   13280 
   13281 The interpreter now issues a warning whenever executable code at the 
   13282 module 
   13283 level is detected during ACPI table load. This will give some idea of the 
   13284 prevalence of this type of code.
   13285 
   13286 Implemented support for references to named objects (other than control 
   13287 methods) within package objects.
   13288 
   13289 Enhanced package object output for the debug object. Package objects are 
   13290 now 
   13291 completely dumped, showing all elements.
   13292 
   13293 Enhanced miscellaneous object output for the debug object. Any object can 
   13294 now be written to the debug object (for example, a device object can be 
   13295 written, and the type of the object will be displayed.)
   13296 
   13297 The "static" qualifier has been added to all local functions across both 
   13298 the 
   13299 core subsystem and the iASL compiler.
   13300 
   13301 The number of "long" lines (> 80 chars) within the source has been 
   13302 significantly reduced, by about 1/3.
   13303 
   13304 Cleaned up all header files to ensure that all CA/iASL functions are 
   13305 prototyped (even static functions) and the formatting is consistent.
   13306 
   13307 Two new header files have been added, acopcode.h and acnames.h.
   13308 
   13309 Removed several obsolete functions that were no longer used.
   13310 
   13311 Code and Data Size: Current and previous core subsystem library sizes are 
   13312 shown below. These are the code and data sizes for the acpica.lib 
   13313 produced 
   13314 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13315 any ACPI driver or OSPM code. The debug version of the code includes the 
   13316 debug output trace mechanism and has a much larger code and data size. 
   13317 Note 
   13318 that these values will vary depending on the efficiency of the compiler 
   13319 and 
   13320 the compiler options used during generation.
   13321 
   13322   Previous Release:
   13323     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   13324     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   13325   Current Release:
   13326     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   13327     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   13328 
   13329 
   13330 
   13331 2) iASL Compiler/Disassembler:
   13332 
   13333 Fixed a problem with the resource descriptor generation/support. For the 
   13334 ResourceSourceIndex and the ResourceSource fields, both must be present, 
   13335 or 
   13336 both must be not present - can't have one without the other.
   13337 
   13338 The compiler now returns non-zero from the main procedure if any errors 
   13339 have 
   13340 occurred during the compilation.
   13341 
   13342 
   13343 ----------------------------------------
   13344 09 March 2005.  Summary of changes for version 20050309:
   13345 
   13346 1) ACPI CA Core Subsystem:
   13347 
   13348 The string-to-buffer implicit conversion code has been modified again 
   13349 after 
   13350 a change to the ACPI specification.  In order to match the behavior of 
   13351 the 
   13352 other major ACPI implementation, the target buffer is no longer truncated 
   13353 if 
   13354 the source string is smaller than an existing target buffer. This change 
   13355 requires an update to the ACPI spec, and should eliminate the recent 
   13356 AE_AML_BUFFER_LIMIT issues.
   13357 
   13358 The "implicit return" support was rewritten to a new algorithm that 
   13359 solves 
   13360 the general case. Rather than attempt to determine when a method is about 
   13361 to 
   13362 exit, the result of every ASL operator is saved momentarily until the 
   13363 very 
   13364 next ASL operator is executed. Therefore, no matter how the method exits, 
   13365 there will always be a saved implicit return value. This feature is only 
   13366 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
   13367 eliminate 
   13368 AE_AML_NO_RETURN_VALUE errors when enabled.
   13369 
   13370 Implemented implicit conversion support for the predicate (operand) of 
   13371 the 
   13372 If, Else, and While operators. String and Buffer arguments are 
   13373 automatically 
   13374 converted to Integers.
   13375 
   13376 Changed the string-to-integer conversion behavior to match the new ACPI 
   13377 errata: "If no integer object exists, a new integer is created. The ASCII 
   13378 string is interpreted as a hexadecimal constant. Each string character is 
   13379 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
   13380 with the first character as the most significant digit, and ending with 
   13381 the 
   13382 first non-hexadecimal character or end-of-string." This means that the 
   13383 first 
   13384 non-hex character terminates the conversion and this is the code that was 
   13385 changed.
   13386 
   13387 Fixed a problem where the ObjectType operator would fail (fault) when 
   13388 used 
   13389 on an Index of a Package which pointed to a null package element. The 
   13390 operator now properly returns zero (Uninitialized) in this case.
   13391 
   13392 Fixed a problem where the While operator used excessive memory by not 
   13393 properly popping the result stack during execution. There was no memory 
   13394 leak 
   13395 after execution, however. (Code provided by Valery Podrezov.)
   13396 
   13397 Fixed a problem where references to control methods within Package 
   13398 objects 
   13399 caused the method to be invoked, instead of producing a reference object 
   13400 pointing to the method.
   13401 
   13402 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
   13403 to 
   13404 improve performance and reduce code size. (Code provided by Alexey 
   13405 Starikovskiy.)
   13406 
   13407 Code and Data Size: Current and previous core subsystem library sizes are 
   13408 shown below. These are the code and data sizes for the acpica.lib 
   13409 produced 
   13410 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13411 any ACPI driver or OSPM code. The debug version of the code includes the 
   13412 debug output trace mechanism and has a much larger code and data size. 
   13413 Note 
   13414 that these values will vary depending on the efficiency of the compiler 
   13415 and 
   13416 the compiler options used during generation.
   13417 
   13418   Previous Release:
   13419     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   13420     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   13421   Current Release:
   13422     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   13423     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   13424 
   13425 
   13426 2) iASL Compiler/Disassembler:
   13427 
   13428 Fixed a problem with the Return operator with no arguments. Since the AML 
   13429 grammar for the byte encoding requires an operand for the Return opcode, 
   13430 the 
   13431 compiler now emits a Return(Zero) for this case.  An ACPI specification 
   13432 update has been written for this case.
   13433 
   13434 For tables other than the DSDT, namepath optimization is automatically 
   13435 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
   13436 the 
   13437 compiler has no knowledge of where, and thus cannot optimize namepaths.
   13438 
   13439 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
   13440 inadvertently omitted from the ACPI specification, and will require an 
   13441 update to the spec.
   13442 
   13443 The source file scan for ASCII characters is now optional (-a). This 
   13444 change 
   13445 was made because some vendors place non-ascii characters within comments. 
   13446 However, the scan is simply a brute-force byte compare to ensure all 
   13447 characters in the file are in the range 0x00 to 0x7F.
   13448 
   13449 Fixed a problem with the CondRefOf operator where the compiler was 
   13450 inappropriately checking for the existence of the target. Since the point 
   13451 of 
   13452 the operator is to check for the existence of the target at run-time, the 
   13453 compiler no longer checks for the target existence.
   13454 
   13455 Fixed a problem where errors generated from the internal AML interpreter 
   13456 during constant folding were not handled properly, causing a fault.
   13457 
   13458 Fixed a problem with overly aggressive range checking for the Stall 
   13459 operator. The valid range (max 255) is now only checked if the operand is 
   13460 of 
   13461 type Integer. All other operand types cannot be statically checked.
   13462 
   13463 Fixed a problem where control method references within the RefOf, 
   13464 DeRefOf, 
   13465 and ObjectType operators were not treated properly. They are now treated 
   13466 as 
   13467 actual references, not method invocations.
   13468 
   13469 Fixed and enhanced the "list namespace" option (-ln). This option was 
   13470 broken 
   13471 a number of releases ago.
   13472 
   13473 Improved error handling for the Field, IndexField, and BankField 
   13474 operators. 
   13475 The compiler now cleanly reports and recovers from errors in the field 
   13476 component (FieldUnit) list.
   13477 
   13478 Fixed a disassembler problem where the optional ResourceDescriptor fields 
   13479 TRS and TTP were not always handled correctly.
   13480 
   13481 Disassembler - Comments in output now use "//" instead of "/*"
   13482 
   13483 ----------------------------------------
   13484 28 February 2005.  Summary of changes for version 20050228:
   13485 
   13486 1) ACPI CA Core Subsystem:
   13487 
   13488 Fixed a problem where the result of an Index() operator (an object 
   13489 reference) must increment the reference count on the target object for 
   13490 the 
   13491 life of the object reference.
   13492 
   13493 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
   13494 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
   13495 WordSpace 
   13496 resource descriptors.
   13497 
   13498 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
   13499 Space Descriptor" string, indicating interpreter support for the 
   13500 descriptors 
   13501 above.
   13502 
   13503 Implemented header support for the new ACPI 3.0 FADT flag bits.
   13504 
   13505 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
   13506 PM1 
   13507 status/enable registers.
   13508 
   13509 Updated header support for the MADT processor local Apic struct and MADT 
   13510 platform interrupt source struct for new ACPI 3.0 fields.
   13511 
   13512 Implemented header support for the SRAT and SLIT ACPI tables.
   13513 
   13514 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
   13515 flag 
   13516 at runtime.
   13517 
   13518 Code and Data Size: Current and previous core subsystem library sizes are 
   13519 shown below. These are the code and data sizes for the acpica.lib 
   13520 produced 
   13521 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13522 any ACPI driver or OSPM code. The debug version of the code includes the 
   13523 debug output trace mechanism and has a much larger code and data size. 
   13524 Note 
   13525 that these values will vary depending on the efficiency of the compiler 
   13526 and 
   13527 the compiler options used during generation.
   13528 
   13529   Previous Release:
   13530     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   13531     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   13532   Current Release:
   13533     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   13534     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   13535 
   13536 
   13537 2) iASL Compiler/Disassembler:
   13538 
   13539 Fixed a problem with the internal 64-bit String-to-integer conversion 
   13540 with 
   13541 strings less than two characters long.
   13542 
   13543 Fixed a problem with constant folding where the result of the Index() 
   13544 operator can not be considered a constant. This means that Index() cannot 
   13545 be 
   13546 a type3 opcode and this will require an update to the ACPI specification.
   13547 
   13548 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
   13549 descriptor fields. These fields were inadvertently ignored and not output 
   13550 in 
   13551 the disassembly of the resource descriptor.
   13552 
   13553 
   13554  ----------------------------------------
   13555 11 February 2005.  Summary of changes for version 20050211:
   13556 
   13557 1) ACPI CA Core Subsystem:
   13558 
   13559 Implemented ACPI 3.0 support for implicit conversion within the Match() 
   13560 operator. MatchObjects can now be of type integer, buffer, or string 
   13561 instead 
   13562 of just type integer.  Package elements are implicitly converted to the 
   13563 type 
   13564 of the MatchObject. This change aligns the behavior of Match() with the 
   13565 behavior of the other logical operators (LLess(), etc.) It also requires 
   13566 an 
   13567 errata change to the ACPI specification as this support was intended for 
   13568 ACPI 3.0, but was inadvertently omitted.
   13569 
   13570 Fixed a problem with the internal implicit "to buffer" conversion. 
   13571 Strings 
   13572 that are converted to buffers will cause buffer truncation if the string 
   13573 is 
   13574 smaller than the target buffer. Integers that are converted to buffers 
   13575 will 
   13576 not cause buffer truncation, only zero extension (both as per the ACPI 
   13577 spec.) The problem was introduced when code was added to truncate the 
   13578 buffer, but this should not be performed in all cases, only the string 
   13579 case.
   13580 
   13581 Fixed a problem with the Buffer and Package operators where the 
   13582 interpreter 
   13583 would get confused if two such operators were used as operands to an ASL 
   13584 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
   13585 stack was not being popped after the execution of these operators, 
   13586 resulting 
   13587 in an AE_NO_RETURN_VALUE exception.
   13588 
   13589 Fixed a problem with constructs of the form Store(Index(...),...). The 
   13590 reference object returned from Index was inadvertently resolved to an 
   13591 actual 
   13592 value. This problem was introduced in version 20050114 when the behavior 
   13593 of 
   13594 Store() was modified to restrict the object types that can be used as the 
   13595 source operand (to match the ACPI specification.)
   13596 
   13597 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
   13598 
   13599 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
   13600 
   13601 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
   13602 
   13603 Code and Data Size: Current and previous core subsystem library sizes are 
   13604 shown below. These are the code and data sizes for the acpica.lib 
   13605 produced 
   13606 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13607 any ACPI driver or OSPM code. The debug version of the code includes the 
   13608 debug output trace mechanism and has a much larger code and data size. 
   13609 Note 
   13610 that these values will vary depending on the efficiency of the compiler 
   13611 and 
   13612 the compiler options used during generation.
   13613 
   13614   Previous Release:
   13615     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
   13616     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
   13617   Current Release:
   13618     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   13619     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   13620 
   13621 
   13622 2) iASL Compiler/Disassembler:
   13623 
   13624 Fixed a code generation problem in the constant folding optimization code 
   13625 where incorrect code was generated if a constant was reduced to a buffer 
   13626 object (i.e., a reduced type 5 opcode.)
   13627 
   13628 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
   13629 incorrect return type in the internal opcode information table.
   13630 
   13631 ----------------------------------------
   13632 25 January 2005.  Summary of changes for version 20050125:
   13633 
   13634 1) ACPI CA Core Subsystem:
   13635 
   13636 Fixed a recently introduced problem with the Global Lock where the 
   13637 underlying semaphore was not created.  This problem was introduced in 
   13638 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
   13639 Acquire() operation on _GL.
   13640 
   13641 The local object cache is now optional, and is disabled by default. Both 
   13642 AcpiExec and the iASL compiler enable the cache because they run in user 
   13643 mode and this enhances their performance. #define 
   13644 ACPI_ENABLE_OBJECT_CACHE 
   13645 to enable the local cache.
   13646 
   13647 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
   13648 the 
   13649 optional "implicit return" support where an error was returned if no 
   13650 return 
   13651 object was expected, but one was implicitly returned. AE_OK is now 
   13652 returned 
   13653 in this case and the implicitly returned object is deleted. 
   13654 AcpiUtEvaluateObject is only occasionally used, and only to execute 
   13655 reserved 
   13656 methods such as _STA and _INI where the return type is known up front.
   13657 
   13658 Fixed a few issues with the internal convert-to-integer code. It now 
   13659 returns 
   13660 an error if an attempt is made to convert a null string, a string of only 
   13661 blanks/tabs, or a zero-length buffer. This affects both implicit 
   13662 conversion 
   13663 and explicit conversion via the ToInteger() operator.
   13664 
   13665 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
   13666 is 
   13667 not needed for normal operation and should increase the performance of 
   13668 the 
   13669 entire subsystem. The code remains in case it is needed for debug 
   13670 purposes 
   13671 again.
   13672 
   13673 The AcpiExec source and makefile are included in the Unix/Linux package 
   13674 for 
   13675 the first time.
   13676 
   13677 Code and Data Size: Current and previous core subsystem library sizes are 
   13678 shown below. These are the code and data sizes for the acpica.lib 
   13679 produced 
   13680 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13681 any ACPI driver or OSPM code. The debug version of the code includes the 
   13682 debug output trace mechanism and has a much larger code and data size. 
   13683 Note 
   13684 that these values will vary depending on the efficiency of the compiler 
   13685 and 
   13686 the compiler options used during generation.
   13687 
   13688   Previous Release:
   13689     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   13690     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   13691   Current Release:
   13692     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
   13693     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
   13694 
   13695 2) iASL Compiler/Disassembler:
   13696 
   13697 Switch/Case support: A warning is now issued if the type of the Switch 
   13698 value 
   13699 cannot be determined at compile time. For example, Switch(Arg0) will 
   13700 generate the warning, and the type is assumed to be an integer. As per 
   13701 the 
   13702 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
   13703 the 
   13704 warning.
   13705 
   13706 Switch/Case support: Implemented support for buffer and string objects as 
   13707 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
   13708 buffers and strings.
   13709 
   13710 Switch/Case support: The emitted code for the LEqual() comparisons now 
   13711 uses 
   13712 the switch value as the first operand, not the second. The case value is 
   13713 now 
   13714 the second operand, and this allows the case value to be implicitly 
   13715 converted to the type of the switch value, not the other way around.
   13716 
   13717 Switch/Case support: Temporary variables are now emitted immediately 
   13718 within 
   13719 the control method, not at the global level. This means that there are 
   13720 now 
   13721 36 temps available per-method, not 36 temps per-module as was the case 
   13722 with 
   13723 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
   13724 
   13725 ----------------------------------------
   13726 14 January 2005.  Summary of changes for version 20050114:
   13727 
   13728 Added 2005 copyright to all module headers.  This affects every module in 
   13729 the core subsystem, iASL compiler, and the utilities.
   13730 
   13731 1) ACPI CA Core Subsystem:
   13732 
   13733 Fixed an issue with the String-to-Buffer conversion code where the string 
   13734 null terminator was not included in the buffer after conversion, but 
   13735 there 
   13736 is existing ASL that assumes the string null terminator is included. This 
   13737 is 
   13738 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
   13739 introduced in the previous version when the code was updated to correctly 
   13740 set the converted buffer size as per the ACPI specification. The ACPI 
   13741 spec 
   13742 is ambiguous and will be updated to specify that the null terminator must 
   13743 be 
   13744 included in the converted buffer. This also affects the ToBuffer() ASL 
   13745 operator.
   13746 
   13747 Fixed a problem with the Mid() ASL/AML operator where it did not work 
   13748 correctly on Buffer objects. Newly created sub-buffers were not being 
   13749 marked 
   13750 as initialized.
   13751 
   13752 
   13753 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
   13754 performed on the OemId and OemTableId table header fields.  These fields 
   13755 are 
   13756 not null terminated, so strncmp is now used instead of strcmp.
   13757 
   13758 Implemented a restriction on the Store() ASL/AML operator to align the 
   13759 behavior with the ACPI specification.  Previously, any object could be 
   13760 used 
   13761 as the source operand.  Now, the only objects that may be used are 
   13762 Integers, 
   13763 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
   13764 necessary, the original behavior can be restored by enabling the 
   13765 EnableInterpreterSlack flag.
   13766 
   13767 Enhanced the optional "implicit return" support to allow an implicit 
   13768 return 
   13769 value from methods that are invoked externally via the AcpiEvaluateObject 
   13770 interface.  This enables implicit returns from the _STA and _INI methods, 
   13771 for example.
   13772 
   13773 Changed the Revision() ASL/AML operator to return the current version of 
   13774 the 
   13775 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
   13776 returned 
   13777 the supported ACPI version (This is the function of the _REV method).
   13778 
   13779 Updated the _REV predefined method to return the currently supported 
   13780 version 
   13781 of ACPI, now 3.
   13782 
   13783 Implemented batch mode option for the AcpiExec utility (-b).
   13784 
   13785 Code and Data Size: Current and previous core subsystem library sizes are 
   13786 shown below. These are the code and data sizes for the acpica.lib 
   13787 produced 
   13788 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13789 any ACPI driver or OSPM code. The debug version of the code includes the 
   13790 debug output trace mechanism and has a much larger code and data size. 
   13791 Note 
   13792 that these values will vary depending on the efficiency of the compiler 
   13793 and 
   13794 the compiler options used during generation.
   13795 
   13796   Previous Release:
   13797     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   13798     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   13799   Current Release:
   13800     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   13801     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   13802 
   13803 ----------------------------------------
   13804 10 December 2004.  Summary of changes for version 20041210:
   13805 
   13806 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
   13807 ACPI CA core subsystem.
   13808 
   13809 1) ACPI CA Core Subsystem:
   13810 
   13811 Fixed a problem in the ToDecimalString operator where the resulting 
   13812 string 
   13813 length was incorrectly calculated. The length is now calculated exactly, 
   13814 eliminating incorrect AE_STRING_LIMIT exceptions.
   13815 
   13816 Fixed a problem in the ToHexString operator to allow a maximum 200 
   13817 character 
   13818 string to be produced.
   13819 
   13820 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
   13821 copy 
   13822 routine where the length of the resulting buffer was not truncated to the 
   13823 new size (if the target buffer already existed).
   13824 
   13825 Code and Data Size: Current and previous core subsystem library sizes are 
   13826 shown below. These are the code and data sizes for the acpica.lib 
   13827 produced 
   13828 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13829 any ACPI driver or OSPM code. The debug version of the code includes the 
   13830 debug output trace mechanism and has a much larger code and data size. 
   13831 Note 
   13832 that these values will vary depending on the efficiency of the compiler 
   13833 and 
   13834 the compiler options used during generation.
   13835 
   13836   Previous Release:
   13837     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   13838     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   13839   Current Release:
   13840     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   13841     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   13842 
   13843 
   13844 2) iASL Compiler/Disassembler:
   13845 
   13846 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
   13847 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
   13848 Includes support in the disassembler.
   13849 
   13850 Implemented support for the new (ACPI 3.0) parameter to the Register 
   13851 macro, 
   13852 AccessSize.
   13853 
   13854 Fixed a problem where the _HE resource name for the Interrupt macro was 
   13855 referencing bit 0 instead of bit 1.
   13856 
   13857 Implemented check for maximum 255 interrupts in the Interrupt macro.
   13858 
   13859 Fixed a problem with the predefined resource descriptor names where 
   13860 incorrect AML code was generated if the offset within the resource buffer 
   13861 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
   13862 but did not update the surrounding package lengths.
   13863 
   13864 Changes to the Dma macro:  All channels within the channel list must be 
   13865 in 
   13866 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
   13867 optional (default is BusMaster).
   13868 
   13869 Implemented check for maximum 7 data bytes for the VendorShort macro.
   13870 
   13871 The ReadWrite parameter is now optional for the Memory32 and similar 
   13872 macros.
   13873 
   13874 ----------------------------------------
   13875 03 December 2004.  Summary of changes for version 20041203:
   13876 
   13877 1) ACPI CA Core Subsystem:
   13878 
   13879 The low-level field insertion/extraction code (exfldio) has been 
   13880 completely 
   13881 rewritten to eliminate unnecessary complexity, bugs, and boundary 
   13882 conditions.
   13883 
   13884 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
   13885 ToDecimalString 
   13886 operators where the input operand could be inadvertently deleted if no 
   13887 conversion was necessary (e.g., if the input to ToInteger was an Integer 
   13888 object.)
   13889 
   13890 Fixed a problem with the ToDecimalString and ToHexString where an 
   13891 incorrect 
   13892 exception code was returned if the resulting string would be > 200 chars.  
   13893 AE_STRING_LIMIT is now returned.
   13894 
   13895 Fixed a problem with the Concatenate operator where AE_OK was always 
   13896 returned, even if the operation failed.
   13897 
   13898 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
   13899 semaphores to be allocated.
   13900 
   13901 Code and Data Size: Current and previous core subsystem library sizes are 
   13902 shown below. These are the code and data sizes for the acpica.lib 
   13903 produced 
   13904 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13905 any ACPI driver or OSPM code. The debug version of the code includes the 
   13906 debug output trace mechanism and has a much larger code and data size. 
   13907 Note 
   13908 that these values will vary depending on the efficiency of the compiler 
   13909 and 
   13910 the compiler options used during generation.
   13911 
   13912   Previous Release:
   13913     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   13914     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   13915   Current Release:
   13916     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   13917     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   13918 
   13919 
   13920 2) iASL Compiler/Disassembler:
   13921 
   13922 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
   13923 recently introduced in 20041119.
   13924 
   13925 Fixed a problem with the ToUUID macro where the upper nybble of each 
   13926 buffer 
   13927 byte was inadvertently set to zero.
   13928 
   13929 ----------------------------------------
   13930 19 November 2004.  Summary of changes for version 20041119:
   13931 
   13932 1) ACPI CA Core Subsystem:
   13933 
   13934 Fixed a problem in the internal ConvertToInteger routine where new 
   13935 integers 
   13936 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
   13937 converts 
   13938 buffers and strings to integers.
   13939 
   13940 Implemented support to store a value to an Index() on a String object. 
   13941 This 
   13942 is an ACPI 2.0 feature that had not yet been implemented.
   13943 
   13944 Implemented new behavior for storing objects to individual package 
   13945 elements 
   13946 (via the Index() operator). The previous behavior was to invoke the 
   13947 implicit 
   13948 conversion rules if an object was already present at the index.  The new 
   13949 behavior is to simply delete any existing object and directly store the 
   13950 new 
   13951 object. Although the ACPI specification seems unclear on this subject, 
   13952 other 
   13953 ACPI implementations behave in this manner.  (This is the root of the 
   13954 AE_BAD_HEX_CONSTANT issue.)
   13955 
   13956 Modified the RSDP memory scan mechanism to support the extended checksum 
   13957 for 
   13958 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
   13959 RSDP signature is found with a valid checksum.
   13960 
   13961 Code and Data Size: Current and previous core subsystem library sizes are 
   13962 shown below. These are the code and data sizes for the acpica.lib 
   13963 produced 
   13964 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13965 any ACPI driver or OSPM code. The debug version of the code includes the 
   13966 debug output trace mechanism and has a much larger code and data size. 
   13967 Note 
   13968 that these values will vary depending on the efficiency of the compiler 
   13969 and 
   13970 the compiler options used during generation.
   13971 
   13972   Previous Release:
   13973     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   13974     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   13975   Current Release:
   13976     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   13977     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   13978 
   13979 
   13980 2) iASL Compiler/Disassembler:
   13981 
   13982 Fixed a missing semicolon in the aslcompiler.y file.
   13983 
   13984 ----------------------------------------
   13985 05 November 2004.  Summary of changes for version 20041105:
   13986 
   13987 1) ACPI CA Core Subsystem:
   13988 
   13989 Implemented support for FADT revision 2.  This was an interim table 
   13990 (between 
   13991 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
   13992 
   13993 Implemented optional support to allow uninitialized LocalX and ArgX 
   13994 variables in a control method.  The variables are initialized to an 
   13995 Integer 
   13996 object with a value of zero.  This support is enabled by setting the 
   13997 AcpiGbl_EnableInterpreterSlack flag to TRUE.
   13998 
   13999 Implemented support for Integer objects for the SizeOf operator.  Either 
   14000 4 
   14001 or 8 is returned, depending on the current integer size (32-bit or 64-
   14002 bit, 
   14003 depending on the parent table revision).
   14004 
   14005 Fixed a problem in the implementation of the SizeOf and ObjectType 
   14006 operators 
   14007 where the operand was resolved to a value too early, causing incorrect 
   14008 return values for some objects.
   14009 
   14010 Fixed some possible memory leaks during exceptional conditions.
   14011 
   14012 Code and Data Size: Current and previous core subsystem library sizes are 
   14013 shown below. These are the code and data sizes for the acpica.lib 
   14014 produced 
   14015 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14016 any ACPI driver or OSPM code. The debug version of the code includes the 
   14017 debug output trace mechanism and has a much larger code and data size. 
   14018 Note 
   14019 that these values will vary depending on the efficiency of the compiler 
   14020 and 
   14021 the compiler options used during generation.
   14022 
   14023   Previous Release:
   14024     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   14025     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   14026   Current Release:
   14027     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14028     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14029 
   14030 
   14031 2) iASL Compiler/Disassembler:
   14032 
   14033 Implemented support for all ACPI 3.0 reserved names and methods.
   14034 
   14035 Implemented all ACPI 3.0 grammar elements in the front-end, including 
   14036 support for semicolons.
   14037 
   14038 Implemented the ACPI 3.0 Function() and ToUUID() macros
   14039 
   14040 Fixed a problem in the disassembler where a Scope() operator would not be 
   14041 emitted properly if the target of the scope was in another table.
   14042 
   14043 ----------------------------------------
   14044 15 October 2004.  Summary of changes for version 20041015:
   14045 
   14046 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
   14047 evaluation to test/verify the following areas. Other suggestions are 
   14048 welcome. This will result in an increase in the frequency of releases and 
   14049 the number of bug fixes in the next few months.
   14050   - Functional tests for all ASL/AML operators
   14051   - All implicit/explicit type conversions
   14052   - Bit fields and operation regions
   14053   - 64-bit math support and 32-bit-only "truncated" math support
   14054   - Exceptional conditions, both compiler and interpreter
   14055   - Dynamic object deletion and memory leaks
   14056   - ACPI 3.0 support when implemented
   14057   - External interfaces to the ACPI subsystem
   14058 
   14059 
   14060 1) ACPI CA Core Subsystem:
   14061 
   14062 Fixed two alignment issues on 64-bit platforms - within debug statements 
   14063 in 
   14064 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
   14065 Address 
   14066 field within the non-aligned ACPI generic address structure.
   14067 
   14068 Fixed a problem in the Increment and Decrement operators where incorrect 
   14069 operand resolution could result in the inadvertent modification of the 
   14070 original integer when the integer is passed into another method as an 
   14071 argument and the arg is then incremented/decremented.
   14072 
   14073 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
   14074 bit 
   14075 BCD number were truncated during conversion.
   14076 
   14077 Fixed a problem in the ToDecimal operator where the length of the 
   14078 resulting 
   14079 string could be set incorrectly too long if the input operand was a 
   14080 Buffer 
   14081 object.
   14082 
   14083 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
   14084 (0) 
   14085 within a buffer would prematurely terminate a compare between buffer 
   14086 objects.
   14087 
   14088 Added a check for string overflow (>200 characters as per the ACPI 
   14089 specification) during the Concatenate operator with two string operands.
   14090 
   14091 Code and Data Size: Current and previous core subsystem library sizes are 
   14092 shown below. These are the code and data sizes for the acpica.lib 
   14093 produced 
   14094 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14095 any ACPI driver or OSPM code. The debug version of the code includes the 
   14096 debug output trace mechanism and has a much larger code and data size. 
   14097 Note 
   14098 that these values will vary depending on the efficiency of the compiler 
   14099 and 
   14100 the compiler options used during generation.
   14101 
   14102   Previous Release:
   14103     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   14104     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   14105   Current Release:
   14106     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   14107     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   14108 
   14109 
   14110 
   14111 2) iASL Compiler/Disassembler:
   14112 
   14113 Allow the use of the ObjectType operator on uninitialized Locals and Args 
   14114 (returns 0 as per the ACPI specification).
   14115 
   14116 Fixed a problem where the compiler would fault if there was a syntax 
   14117 error 
   14118 in the FieldName of all of the various CreateXXXField operators.
   14119 
   14120 Disallow the use of lower case letters within the EISAID macro, as per 
   14121 the 
   14122 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
   14123 Where 
   14124 U is an uppercase letter and N is a hex digit.
   14125 
   14126 
   14127 ----------------------------------------
   14128 06 October 2004.  Summary of changes for version 20041006:
   14129 
   14130 1) ACPI CA Core Subsystem:
   14131 
   14132 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
   14133 implements a 64-bit timer with 100 nanosecond granularity.
   14134 
   14135 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
   14136 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
   14137 implement 
   14138 the timer with the best clock available. Also, it keeps the core 
   14139 subsystem 
   14140 out of the clock handling business, since the host OS (usually) performs 
   14141 this function.
   14142 
   14143 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
   14144 functions use a 64-bit address which is part of the packed ACPI Generic 
   14145 Address Structure. Since the structure is non-aligned, the alignment 
   14146 macros 
   14147 are now used to extract the address to a local variable before use.
   14148 
   14149 Fixed a problem where the ToInteger operator assumed all input strings 
   14150 were 
   14151 hexadecimal. The operator now handles both decimal strings and hex 
   14152 strings 
   14153 (prefixed with "0x").
   14154 
   14155 Fixed a problem where the string length in the string object created as a 
   14156 result of the internal ConvertToString procedure could be incorrect. This 
   14157 potentially affected all implicit conversions and also the 
   14158 ToDecimalString 
   14159 and ToHexString operators.
   14160 
   14161 Fixed two problems in the ToString operator. If the length parameter was 
   14162 zero, an incorrect string object was created and the value of the input 
   14163 length parameter was inadvertently changed from zero to Ones.
   14164 
   14165 Fixed a problem where the optional ResourceSource string in the 
   14166 ExtendedIRQ 
   14167 resource macro was ignored.
   14168 
   14169 Simplified the interfaces to the internal division functions, reducing 
   14170 code 
   14171 size and complexity.
   14172 
   14173 Code and Data Size: Current and previous core subsystem library sizes are 
   14174 shown below. These are the code and data sizes for the acpica.lib 
   14175 produced 
   14176 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14177 any ACPI driver or OSPM code. The debug version of the code includes the 
   14178 debug output trace mechanism and has a much larger code and data size. 
   14179 Note 
   14180 that these values will vary depending on the efficiency of the compiler 
   14181 and 
   14182 the compiler options used during generation.
   14183 
   14184   Previous Release:
   14185     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   14186     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   14187   Current Release:
   14188     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   14189     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   14190 
   14191 
   14192 2) iASL Compiler/Disassembler:
   14193 
   14194 Implemented support for the ACPI 3.0 Timer operator.
   14195 
   14196 Fixed a problem where the Default() operator was inadvertently ignored in 
   14197 a 
   14198 Switch/Case block.  This was a problem in the translation of the Switch 
   14199 statement to If...Else pairs.
   14200 
   14201 Added support to allow a standalone Return operator, with no parentheses 
   14202 (or 
   14203 operands).
   14204 
   14205 Fixed a problem with code generation for the ElseIf operator where the 
   14206 translated Else...If parse tree was improperly constructed leading to the 
   14207 loss of some code.
   14208 
   14209 ----------------------------------------
   14210 22 September 2004.  Summary of changes for version 20040922:
   14211 
   14212 1) ACPI CA Core Subsystem:
   14213 
   14214 Fixed a problem with the implementation of the LNot() operator where 
   14215 "Ones" 
   14216 was not returned for the TRUE case. Changed the code to return Ones 
   14217 instead 
   14218 of (!Arg) which was usually 1. This change affects iASL constant folding 
   14219 for 
   14220 this operator also.
   14221 
   14222 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
   14223 not 
   14224 initialized properly -- Now zero the entire buffer in this case where the 
   14225 buffer already exists.
   14226 
   14227 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
   14228 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
   14229 related code considerably. This will require changes/updates to all OS 
   14230 interface layers (OSLs.)
   14231 
   14232 Implemented a new external interface, AcpiInstallExceptionHandler, to 
   14233 allow 
   14234 a system exception handler to be installed. This handler is invoked upon 
   14235 any 
   14236 run-time exception that occurs during control method execution.
   14237 
   14238 Added support for the DSDT in AcpiTbFindTable. This allows the 
   14239 DataTableRegion() operator to access the local copy of the DSDT.
   14240 
   14241 Code and Data Size: Current and previous core subsystem library sizes are 
   14242 shown below. These are the code and data sizes for the acpica.lib 
   14243 produced 
   14244 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14245 any ACPI driver or OSPM code. The debug version of the code includes the 
   14246 debug output trace mechanism and has a much larger code and data size. 
   14247 Note 
   14248 that these values will vary depending on the efficiency of the compiler 
   14249 and 
   14250 the compiler options used during generation.
   14251 
   14252   Previous Release:
   14253     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   14254     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   14255   Current Release:
   14256     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   14257     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   14258 
   14259 
   14260 2) iASL Compiler/Disassembler:
   14261 
   14262 Fixed a problem with constant folding and the LNot operator. LNot was 
   14263 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
   14264 This 
   14265 could result in the generation of an incorrect folded/reduced constant.
   14266 
   14267 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
   14268 longer occurs if such a comment is at the very end of the input ASL 
   14269 source 
   14270 file.
   14271 
   14272 Implemented the "-r" option to override the Revision in the table header. 
   14273 The initial use of this option will be to simplify the evaluation of the 
   14274 AML 
   14275 interpreter by allowing a single ASL source module to be compiled for 
   14276 either 
   14277 32-bit or 64-bit integers.
   14278 
   14279 
   14280 ----------------------------------------
   14281 27 August 2004.  Summary of changes for version 20040827:
   14282 
   14283 1) ACPI CA Core Subsystem:
   14284 
   14285 - Implemented support for implicit object conversion in the non-numeric 
   14286 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
   14287 and 
   14288 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
   14289 the second operand is implicitly converted on the fly to match the type 
   14290 of 
   14291 the first operand.  For example:
   14292 
   14293     LEqual (Source1, Source2)
   14294 
   14295 Source1 and Source2 must each evaluate to an integer, a string, or a 
   14296 buffer. 
   14297 The data type of Source1 dictates the required type of Source2. Source2 
   14298 is 
   14299 implicitly converted if necessary to match the type of Source1.
   14300 
   14301 - Updated and corrected the behavior of the string conversion support.  
   14302 The 
   14303 rules concerning conversion of buffers to strings (according to the ACPI 
   14304 specification) are as follows:
   14305 
   14306 ToDecimalString - explicit byte-wise conversion of buffer to string of 
   14307 decimal values (0-255) separated by commas. ToHexString - explicit byte-
   14308 wise 
   14309 conversion of buffer to string of hex values (0-FF) separated by commas. 
   14310 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
   14311 byte 
   14312 copy with no transform except NULL terminated. Any other implicit buffer-
   14313 to-
   14314 string conversion - byte-wise conversion of buffer to string of hex 
   14315 values 
   14316 (0-FF) separated by spaces.
   14317 
   14318 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
   14319 
   14320 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
   14321 was 
   14322 one byte too short in the case of a node in the root scope.  This could 
   14323 cause a fault during debug output.
   14324 
   14325 - Code and Data Size: Current and previous core subsystem library sizes 
   14326 are 
   14327 shown below.  These are the code and data sizes for the acpica.lib 
   14328 produced 
   14329 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14330 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14331 debug output trace mechanism and has a much larger code and data size.  
   14332 Note 
   14333 that these values will vary depending on the efficiency of the compiler 
   14334 and 
   14335 the compiler options used during generation.
   14336 
   14337   Previous Release:
   14338     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   14339     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   14340   Current Release:
   14341     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   14342     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   14343 
   14344 
   14345 2) iASL Compiler/Disassembler:
   14346 
   14347 - Fixed a Linux generation error.
   14348 
   14349 
   14350 ----------------------------------------
   14351 16 August 2004.  Summary of changes for version 20040816:
   14352 
   14353 1) ACPI CA Core Subsystem:
   14354 
   14355 Designed and implemented support within the AML interpreter for the so-
   14356 called "implicit return".  This support returns the result of the last 
   14357 ASL 
   14358 operation within a control method, in the absence of an explicit Return() 
   14359 operator.  A few machines depend on this behavior, even though it is not 
   14360 explicitly supported by the ASL language.  It is optional support that 
   14361 can 
   14362 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
   14363 
   14364 Removed support for the PCI_Config address space from the internal low 
   14365 level 
   14366 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
   14367 support was not used internally, and would not work correctly anyway 
   14368 because 
   14369 the PCI bus number and segment number were not supported.  There are 
   14370 separate interfaces for PCI configuration space access because of the 
   14371 unique 
   14372 interface.
   14373 
   14374 Code and Data Size: Current and previous core subsystem library sizes are 
   14375 shown below.  These are the code and data sizes for the acpica.lib 
   14376 produced 
   14377 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14378 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14379 debug output trace mechanism and has a much larger code and data size.  
   14380 Note 
   14381 that these values will vary depending on the efficiency of the compiler 
   14382 and 
   14383 the compiler options used during generation.
   14384 
   14385   Previous Release:
   14386     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   14387     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   14388   Current Release:
   14389     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   14390     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   14391 
   14392 
   14393 2) iASL Compiler/Disassembler:
   14394 
   14395 Fixed a problem where constants in ASL expressions at the root level (not 
   14396 within a control method) could be inadvertently truncated during code 
   14397 generation.  This problem was introduced in the 20040715 release.
   14398 
   14399 
   14400 ----------------------------------------
   14401 15 July 2004.  Summary of changes for version 20040715:
   14402 
   14403 1) ACPI CA Core Subsystem:
   14404 
   14405 Restructured the internal HW GPE interfaces to pass/track the current 
   14406 state 
   14407 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
   14408 increase flexibility of the interfaces.
   14409 
   14410 Implemented a "lexicographical compare" for String and Buffer objects 
   14411 within 
   14412 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
   14413 - 
   14414 as per further clarification to the ACPI specification.  Behavior is 
   14415 similar 
   14416 to C library "strcmp".
   14417 
   14418 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
   14419 external function.  In the 32-bit non-debug case, the stack use has been 
   14420 reduced from 168 bytes to 32 bytes.
   14421 
   14422 Deployed a new run-time configuration flag, 
   14423 AcpiGbl_EnableInterpreterSlack, 
   14424 whose purpose is to allow the AML interpreter to forgive certain bad AML 
   14425 constructs.  Default setting is FALSE.
   14426 
   14427 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
   14428 IO 
   14429 support code.  If enabled, it allows field access to go beyond the end of 
   14430 a 
   14431 region definition if the field is within the region length rounded up to 
   14432 the 
   14433 next access width boundary (a common coding error.)
   14434 
   14435 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
   14436 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
   14437 these 
   14438 symbols are lowercase by the latest version of the AcpiSrc tool.
   14439 
   14440 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
   14441 rename "Register" to simply "Reg" to prevent certain compilers from 
   14442 complaining.
   14443 
   14444 Code and Data Size: Current and previous core subsystem library sizes are 
   14445 shown below.  These are the code and data sizes for the acpica.lib 
   14446 produced 
   14447 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14448 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14449 debug output trace mechanism and has a much larger code and data size.  
   14450 Note 
   14451 that these values will vary depending on the efficiency of the compiler 
   14452 and 
   14453 the compiler options used during generation.
   14454 
   14455   Previous Release:
   14456     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   14457     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   14458   Current Release:
   14459     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   14460     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   14461 
   14462 
   14463 2) iASL Compiler/Disassembler:
   14464 
   14465 Implemented full support for Package objects within the Case() operator.  
   14466 Note: The Break() operator is currently not supported within Case blocks 
   14467 (TermLists) as there is some question about backward compatibility with 
   14468 ACPI 
   14469 1.0 interpreters.
   14470 
   14471 
   14472 Fixed a problem where complex terms were not supported properly within 
   14473 the 
   14474 Switch() operator.
   14475 
   14476 Eliminated extraneous warning for compiler-emitted reserved names of the 
   14477 form "_T_x".  (Used in Switch/Case operators.)
   14478 
   14479 Eliminated optimization messages for "_T_x" objects and small constants 
   14480 within the DefinitionBlock operator.
   14481 
   14482 
   14483 ----------------------------------------
   14484 15 June 2004.  Summary of changes for version 20040615:
   14485 
   14486 1) ACPI CA Core Subsystem:
   14487 
   14488 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   14489 the 
   14490 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   14491 LLessEqual.
   14492 
   14493 All directory names in the entire source package are lower case, as they 
   14494 were in earlier releases.
   14495 
   14496 Implemented "Disassemble" command in the AML debugger that will 
   14497 disassemble 
   14498 a single control method.
   14499 
   14500 Code and Data Size: Current and previous core subsystem library sizes are 
   14501 shown below.  These are the code and data sizes for the acpica.lib 
   14502 produced 
   14503 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14504 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14505 debug output trace mechanism and has a much larger code and data size.  
   14506 Note 
   14507 that these values will vary depending on the efficiency of the compiler 
   14508 and 
   14509 the compiler options used during generation.
   14510 
   14511   Previous Release:
   14512     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   14513     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   14514 
   14515   Current Release:
   14516     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   14517     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   14518 
   14519 
   14520 2) iASL Compiler/Disassembler:
   14521 
   14522 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   14523 the 
   14524 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   14525 LLessEqual.
   14526 
   14527 All directory names in the entire source package are lower case, as they 
   14528 were in earlier releases.
   14529 
   14530 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
   14531 not found.
   14532 
   14533 Fixed an issue with the Windows version of the compiler where later 
   14534 versions 
   14535 of Windows place the FADT in the registry under the name "FADT" and not 
   14536 "FACP" as earlier versions did.  This applies when using the -g or -
   14537 d<nofilename> options.  The compiler now looks for both strings as 
   14538 necessary.
   14539 
   14540 Fixed a problem with compiler namepath optimization where a namepath 
   14541 within 
   14542 the Scope() operator could not be optimized if the namepath was a subpath 
   14543 of 
   14544 the current scope path.
   14545 
   14546 ----------------------------------------
   14547 27 May 2004.  Summary of changes for version 20040527:
   14548 
   14549 1) ACPI CA Core Subsystem:
   14550 
   14551 Completed a new design and implementation for EBDA (Extended BIOS Data 
   14552 Area) 
   14553 support in the RSDP scan code.  The original code improperly scanned for 
   14554 the 
   14555 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
   14556 method 
   14557 is to first obtain the EBDA pointer from within the BIOS data area, then 
   14558 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
   14559 if 
   14560 any machines that place the RSDP in the EBDA, however.
   14561 
   14562 Integrated a fix for a possible fault during evaluation of BufferField 
   14563 arguments.  Obsolete code that was causing the problem was removed.
   14564 
   14565 Found and fixed a problem in the Field Support Code where data could be 
   14566 corrupted on a bit field read that starts on an aligned boundary but does 
   14567 not end on an aligned boundary.  Merged the read/write "datum length" 
   14568 calculation code into a common procedure.
   14569 
   14570 Rolled in a couple of changes to the FreeBSD-specific header.
   14571 
   14572 
   14573 Code and Data Size: Current and previous core subsystem library sizes are 
   14574 shown below.  These are the code and data sizes for the acpica.lib 
   14575 produced 
   14576 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14577 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14578 debug output trace mechanism and has a much larger code and data size.  
   14579 Note 
   14580 that these values will vary depending on the efficiency of the compiler 
   14581 and 
   14582 the compiler options used during generation.
   14583 
   14584   Previous Release:
   14585     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   14586     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   14587   Current Release:
   14588     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   14589     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   14590 
   14591 
   14592 2) iASL Compiler/Disassembler:
   14593 
   14594 Fixed a generation warning produced by some overly-verbose compilers for 
   14595 a 
   14596 64-bit constant.
   14597 
   14598 ----------------------------------------
   14599 14 May 2004.  Summary of changes for version 20040514:
   14600 
   14601 1) ACPI CA Core Subsystem:
   14602 
   14603 Fixed a problem where hardware GPE enable bits sometimes not set properly 
   14604 during and after GPE method execution.  Result of 04/27 changes.
   14605 
   14606 Removed extra "clear all GPEs" when sleeping/waking.
   14607 
   14608 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
   14609 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
   14610 to 
   14611 the new AcpiEv* calls as appropriate.
   14612 
   14613 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
   14614 is 
   14615 now "Microsoft Windows NT" for maximum compatibility.  However this can 
   14616 be 
   14617 changed by modifying the acconfig.h file.
   14618 
   14619 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
   14620 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
   14621 
   14622 Run _INI methods on ThermalZone objects.  This is against the ACPI 
   14623 specification, but there is apparently ASL code in the field that has 
   14624 these 
   14625 _INI methods, and apparently "other" AML interpreters execute them.
   14626 
   14627 Performed a full 16/32/64 bit lint that resulted in some small changes.
   14628 
   14629 Added a sleep simulation command to the AML debugger to test sleep code. 
   14630 
   14631 Code and Data Size: Current and previous core subsystem library sizes are 
   14632 shown below.  These are the code and data sizes for the acpica.lib 
   14633 produced 
   14634 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14635 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14636 debug output trace mechanism and has a much larger code and data size.  
   14637 Note 
   14638 that these values will vary depending on the efficiency of the compiler 
   14639 and 
   14640 the compiler options used during generation.
   14641 
   14642   Previous Release:
   14643     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   14644     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   14645   Current Release:
   14646     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   14647     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   14648 
   14649 ----------------------------------------
   14650 27 April 2004.  Summary of changes for version 20040427:
   14651 
   14652 1) ACPI CA Core Subsystem:
   14653 
   14654 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
   14655 now three types of GPEs:  wake-only, runtime-only, and combination 
   14656 wake/run.  
   14657 The only GPEs allowed to be combination wake/run are for button-style 
   14658 devices such as a control-method power button, control-method sleep 
   14659 button, 
   14660 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
   14661 not 
   14662 referenced by any _PRW methods are marked for "runtime" and hardware 
   14663 enabled.  Any GPE that is referenced by a _PRW method is marked for 
   14664 "wake" 
   14665 (and disabled at runtime).  However, at sleep time, only those GPEs that 
   14666 have been specifically enabled for wake via the AcpiEnableGpe interface 
   14667 will 
   14668 actually be hardware enabled.
   14669 
   14670 A new external interface has been added, AcpiSetGpeType(), that is meant 
   14671 to 
   14672 be used by device drivers to force a GPE to a particular type.  It will 
   14673 be 
   14674 especially useful for the drivers for the button devices mentioned above.
   14675 
   14676 Completed restructuring of the ACPI CA initialization sequence so that 
   14677 default operation region handlers are installed before GPEs are 
   14678 initialized 
   14679 and the _PRW methods are executed.  This will prevent errors when the 
   14680 _PRW 
   14681 methods attempt to access system memory or I/O space.
   14682 
   14683 GPE enable/disable no longer reads the GPE enable register.  We now keep 
   14684 the 
   14685 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
   14686 thus no longer depend on the hardware to maintain these bits.
   14687 
   14688 Always clear the wake status and fixed/GPE status bits before sleep, even 
   14689 for state S5.
   14690 
   14691 Improved the AML debugger output for displaying the GPE blocks and their 
   14692 current status.
   14693 
   14694 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
   14695 where 
   14696 x = 0,1,2,3,4.
   14697 
   14698 Fixed a problem where the physical address was incorrectly calculated 
   14699 when 
   14700 the Load() operator was used to directly load from an Operation Region 
   14701 (vs. 
   14702 loading from a Field object.)  Also added check for minimum table length 
   14703 for 
   14704 this case.
   14705 
   14706 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
   14707 mutex release.
   14708 
   14709 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
   14710 consistency with the other fields returned.
   14711 
   14712 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
   14713 structure for each GPE in the system, so the size of this structure is 
   14714 important.
   14715 
   14716 CPU stack requirement reduction:  Cleaned up the method execution and 
   14717 object 
   14718 evaluation paths so that now a parameter structure is passed, instead of 
   14719 copying the various method parameters over and over again.
   14720 
   14721 In evregion.c:  Correctly exit and reenter the interpreter region if and 
   14722 only if dispatching an operation region request to a user-installed 
   14723 handler.  
   14724 Do not exit/reenter when dispatching to a default handler (e.g., default 
   14725 system memory or I/O handlers)
   14726 
   14727 
   14728 Notes for updating drivers for the new GPE support.  The following 
   14729 changes 
   14730 must be made to ACPI-related device drivers that are attached to one or 
   14731 more 
   14732 GPEs: (This information will be added to the ACPI CA Programmer 
   14733 Reference.)
   14734 
   14735 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
   14736 must 
   14737 explicitly call AcpiEnableGpe.
   14738 2) There is a new interface called AcpiSetGpeType. This should be called 
   14739 before enabling the GPE.  Also, this interface will automatically disable 
   14740 the GPE if it is currently enabled.
   14741 3) AcpiEnableGpe no longer supports a GPE type flag.
   14742 
   14743 Specific drivers that must be changed:
   14744 1) EC driver:
   14745     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
   14746 AeGpeHandler, NULL);
   14747     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
   14748     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
   14749 
   14750 2) Button Drivers (Power, Lid, Sleep):
   14751 Run _PRW method under parent device
   14752 If _PRW exists: /* This is a control-method button */
   14753     Extract GPE number and possibly GpeDevice
   14754     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
   14755     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
   14756 
   14757 For all other devices that have _PRWs, we automatically set the GPE type 
   14758 to 
   14759 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
   14760 This 
   14761 must be done on a selective basis, usually requiring some kind of user 
   14762 app 
   14763 to allow the user to pick the wake devices.
   14764 
   14765 
   14766 Code and Data Size: Current and previous core subsystem library sizes are 
   14767 shown below.  These are the code and data sizes for the acpica.lib 
   14768 produced 
   14769 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14770 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14771 debug output trace mechanism and has a much larger code and data size.  
   14772 Note 
   14773 that these values will vary depending on the efficiency of the compiler 
   14774 and 
   14775 the compiler options used during generation.
   14776 
   14777   Previous Release:
   14778     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   14779     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   14780   Current Release:
   14781 
   14782     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   14783     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   14784 
   14785 
   14786 
   14787 ----------------------------------------
   14788 02 April 2004.  Summary of changes for version 20040402:
   14789 
   14790 1) ACPI CA Core Subsystem:
   14791 
   14792 Fixed an interpreter problem where an indirect store through an ArgX 
   14793 parameter was incorrectly applying the "implicit conversion rules" during 
   14794 the store.  From the ACPI specification: "If the target is a method local 
   14795 or 
   14796 argument (LocalX or ArgX), no conversion is performed and the result is 
   14797 stored directly to the target".  The new behavior is to disable implicit 
   14798 conversion during ALL stores to an ArgX.
   14799 
   14800 Changed the behavior of the _PRW method scan to ignore any and all errors 
   14801 returned by a given _PRW.  This prevents the scan from aborting from the 
   14802 failure of any single _PRW.
   14803 
   14804 Moved the runtime configuration parameters from the global init procedure 
   14805 to 
   14806 static variables in acglobal.h.  This will allow the host to override the 
   14807 default values easily.
   14808 
   14809 Code and Data Size: Current and previous core subsystem library sizes are 
   14810 shown below.  These are the code and data sizes for the acpica.lib 
   14811 produced 
   14812 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14813 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14814 debug output trace mechanism and has a much larger code and data size.  
   14815 Note 
   14816 that these values will vary depending on the efficiency of the compiler 
   14817 and 
   14818 the compiler options used during generation.
   14819 
   14820   Previous Release:
   14821     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   14822     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   14823   Current Release:
   14824     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   14825     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   14826 
   14827 
   14828 2) iASL Compiler/Disassembler:
   14829 
   14830 iASL now fully disassembles SSDTs.  However, External() statements are 
   14831 not 
   14832 generated automatically for unresolved symbols at this time.  This is a 
   14833 planned feature for future implementation.
   14834 
   14835 Fixed a scoping problem in the disassembler that occurs when the type of 
   14836 the 
   14837 target of a Scope() operator is overridden.  This problem caused an 
   14838 incorrectly nested internal namespace to be constructed.
   14839 
   14840 Any warnings or errors that are emitted during disassembly are now 
   14841 commented 
   14842 out automatically so that the resulting file can be recompiled without 
   14843 any 
   14844 hand editing.
   14845 
   14846 ----------------------------------------
   14847 26 March 2004.  Summary of changes for version 20040326:
   14848 
   14849 1) ACPI CA Core Subsystem:
   14850 
   14851 Implemented support for "wake" GPEs via interaction between GPEs and the 
   14852 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
   14853 identified as a WAKE GPE and by default will no longer be enabled at 
   14854 runtime.  Previously, we were blindly enabling all GPEs with a 
   14855 corresponding 
   14856 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
   14857 We 
   14858 believe this has been the cause of thousands of "spurious" GPEs on some 
   14859 systems.
   14860 
   14861 This new GPE behavior is can be reverted to the original behavior (enable 
   14862 ALL GPEs at runtime) via a runtime flag.
   14863 
   14864 Fixed a problem where aliased control methods could not access objects 
   14865 properly.  The proper scope within the namespace was not initialized 
   14866 (transferred to the target of the aliased method) before executing the 
   14867 target method.
   14868 
   14869 Fixed a potential race condition on internal object deletion on the 
   14870 return 
   14871 object in AcpiEvaluateObject. 
   14872 
   14873 Integrated a fix for resource descriptors where both _MEM and _MTP were 
   14874 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
   14875 wide, 0x0F instead of 0x03.)
   14876 
   14877 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
   14878 preventing 
   14879 a 
   14880 fault in some cases.
   14881 
   14882 Updated Notify() values for debug statements in evmisc.c
   14883 
   14884 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
   14885 
   14886 Code and Data Size: Current and previous core subsystem library sizes are 
   14887 shown below.  These are the code and data sizes for the acpica.lib 
   14888 produced 
   14889 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14890 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14891 debug output trace mechanism and has a much larger code and data size.  
   14892 Note 
   14893 that these values will vary depending on the efficiency of the compiler 
   14894 and 
   14895 the compiler options used during generation.
   14896 
   14897   Previous Release:
   14898 
   14899     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   14900     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   14901   Current Release:
   14902     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   14903     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   14904 
   14905 ----------------------------------------
   14906 11 March 2004.  Summary of changes for version 20040311:
   14907 
   14908 1) ACPI CA Core Subsystem:
   14909 
   14910 Fixed a problem where errors occurring during the parse phase of control 
   14911 method execution did not abort cleanly.  For example, objects created and 
   14912 installed in the namespace were not deleted.  This caused all subsequent 
   14913 invocations of the method to return the AE_ALREADY_EXISTS exception.
   14914 
   14915 Implemented a mechanism to force a control method to "Serialized" 
   14916 execution 
   14917 if the method attempts to create namespace objects. (The root of the 
   14918 AE_ALREADY_EXISTS problem.)
   14919 
   14920 Implemented support for the predefined _OSI "internal" control method.  
   14921 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
   14922 and 
   14923 "Windows 2001.1", and can be easily upgraded for new strings as 
   14924 necessary.  
   14925 This feature will allow "other" operating systems to execute the fully 
   14926 tested, "Windows" code path through the ASL code
   14927 
   14928 Global Lock Support:  Now allows multiple acquires and releases with any 
   14929 internal thread.  Removed concept of "owning thread" for this special 
   14930 mutex.
   14931 
   14932 Fixed two functions that were inappropriately declaring large objects on 
   14933 the 
   14934 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
   14935 during 
   14936 method execution considerably.
   14937 
   14938 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
   14939 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
   14940 
   14941 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
   14942 defined on the machine.
   14943 
   14944 Implemented two runtime options:  One to force all control method 
   14945 execution 
   14946 to "Serialized" to mimic Windows behavior, another to disable _OSI 
   14947 support 
   14948 if it causes problems on a given machine.
   14949 
   14950 Code and Data Size: Current and previous core subsystem library sizes are 
   14951 shown below.  These are the code and data sizes for the acpica.lib 
   14952 produced 
   14953 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14954 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14955 debug output trace mechanism and has a much larger code and data size.  
   14956 Note 
   14957 that these values will vary depending on the efficiency of the compiler 
   14958 and 
   14959 the compiler options used during generation.
   14960 
   14961   Previous Release:
   14962     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   14963     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   14964   Current Release:
   14965     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   14966     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   14967 
   14968 2) iASL Compiler/Disassembler:
   14969 
   14970 Fixed an array size problem for FreeBSD that would cause the compiler to 
   14971 fault.
   14972 
   14973 ----------------------------------------
   14974 20 February 2004.  Summary of changes for version 20040220:
   14975 
   14976 
   14977 1) ACPI CA Core Subsystem:
   14978 
   14979 Implemented execution of _SxD methods for Device objects in the 
   14980 GetObjectInfo interface.
   14981 
   14982 Fixed calls to _SST method to pass the correct arguments.
   14983 
   14984 Added a call to _SST on wake to restore to "working" state.
   14985 
   14986 Check for End-Of-Buffer failure case in the WalkResources interface.
   14987 
   14988 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
   14989 structures to the beginning of the file.
   14990 
   14991 After wake, clear GPE status register(s) before enabling GPEs.
   14992 
   14993 After wake, clear/enable power button.  (Perhaps we should clear/enable 
   14994 all 
   14995 fixed events upon wake.)
   14996 
   14997 Fixed a couple of possible memory leaks in the Namespace manager.
   14998 
   14999 Integrated latest acnetbsd.h file.
   15000 
   15001 ----------------------------------------
   15002 11 February 2004.  Summary of changes for version 20040211:
   15003 
   15004 
   15005 1) ACPI CA Core Subsystem:
   15006 
   15007 Completed investigation and implementation of the call-by-reference 
   15008 mechanism for control method arguments.
   15009 
   15010 Fixed a problem where a store of an object into an indexed package could 
   15011 fail if the store occurs within a different method than the method that 
   15012 created the package.
   15013 
   15014 Fixed a problem where the ToDecimal operator could return incorrect 
   15015 results.
   15016 
   15017 Fixed a problem where the CopyObject operator could fail on some of the 
   15018 more 
   15019 obscure objects (e.g., Reference objects.)
   15020 
   15021 Improved the output of the Debug object to display buffer, package, and 
   15022 index objects.
   15023 
   15024 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
   15025 return 
   15026 the expected result.
   15027 
   15028 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
   15029 ACPI_AML_INTERNAL exception.
   15030 
   15031 Integrated latest version of acfreebsd.h
   15032 
   15033 ----------------------------------------
   15034 16 January 2004.  Summary of changes for version 20040116:
   15035 
   15036 The purpose of this release is primarily to update the copyright years in 
   15037 each module, thus causing a huge number of diffs.  There are a few small 
   15038 functional changes, however.
   15039 
   15040 1) ACPI CA Core Subsystem:
   15041 
   15042 Improved error messages when there is a problem finding one or more of 
   15043 the 
   15044 required base ACPI tables
   15045 
   15046 Reintroduced the definition of APIC_HEADER in actbl.h
   15047 
   15048 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
   15049 
   15050 Removed extraneous reference to NewObj in dsmthdat.c
   15051 
   15052 2) iASL compiler
   15053 
   15054 Fixed a problem introduced in December that disabled the correct 
   15055 disassembly 
   15056 of Resource Templates
   15057 
   15058 
   15059 ----------------------------------------
   15060 03 December 2003.  Summary of changes for version 20031203:
   15061 
   15062 1) ACPI CA Core Subsystem:
   15063 
   15064 Changed the initialization of Operation Regions during subsystem
   15065 init to perform two entire walks of the ACPI namespace; The first
   15066 to initialize the regions themselves, the second to execute the
   15067 _REG methods.  This fixed some interdependencies across _REG
   15068 methods found on some machines.
   15069 
   15070 Fixed a problem where a Store(Local0, Local1) could simply update
   15071 the object reference count, and not create a new copy of the
   15072 object if the Local1 is uninitialized.
   15073 
   15074 Implemented support for the _SST reserved method during sleep
   15075 transitions.
   15076 
   15077 Implemented support to clear the SLP_TYP and SLP_EN bits when
   15078 waking up, this is apparently required by some machines.
   15079 
   15080 When sleeping, clear the wake status only if SleepState is not S5.
   15081 
   15082 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
   15083 pointer arithmetic advanced a string pointer too far.
   15084 
   15085 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
   15086 could be returned if the requested table has not been loaded.
   15087 
   15088 Within the support for IRQ resources, restructured the handling of
   15089 the active and edge/level bits.
   15090 
   15091 Fixed a few problems in AcpiPsxExecute() where memory could be
   15092 leaked under certain error conditions.
   15093 
   15094 Improved error messages for the cases where the ACPI mode could
   15095 not be entered.
   15096 
   15097 Code and Data Size: Current and previous core subsystem library
   15098 sizes are shown below.  These are the code and data sizes for the
   15099 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15100 these values do not include any ACPI driver or OSPM code.  The
   15101 debug version of the code includes the debug output trace
   15102 mechanism and has a much larger code and data size.  Note that
   15103 these values will vary depending on the efficiency of the compiler
   15104 and the compiler options used during generation.
   15105 
   15106   Previous Release (20031029):
   15107     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   15108     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   15109   Current Release:
   15110     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   15111     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   15112 
   15113 2) iASL Compiler/Disassembler:
   15114 
   15115 Implemented a fix for the iASL disassembler where a bad index was
   15116 generated.  This was most noticeable on 64-bit platforms
   15117 
   15118 
   15119 ----------------------------------------
   15120 29 October 2003.  Summary of changes for version 20031029:
   15121 
   15122 1) ACPI CA Core Subsystem:
   15123 
   15124 
   15125 Fixed a problem where a level-triggered GPE with an associated
   15126 _Lxx control method was incorrectly cleared twice.
   15127 
   15128 Fixed a problem with the Field support code where an access can
   15129 occur beyond the end-of-region if the field is non-aligned but
   15130 extends to the very end of the parent region (resulted in an
   15131 AE_AML_REGION_LIMIT exception.)
   15132 
   15133 Fixed a problem with ACPI Fixed Events where an RT Clock handler
   15134 would not get invoked on an RTC event.  The RTC event bitmasks for
   15135 the PM1 registers were not being initialized properly.
   15136 
   15137 Implemented support for executing _STA and _INI methods for
   15138 Processor objects.  Although this is currently not part of the
   15139 ACPI specification, there is existing ASL code that depends on the
   15140 init-time execution of these methods.
   15141 
   15142 Implemented and deployed a GetDescriptorName function to decode
   15143 the various types of internal descriptors.  Guards against null
   15144 descriptors during debug output also.
   15145 
   15146 Implemented and deployed a GetNodeName function to extract the 4-
   15147 character namespace node name.  This function simplifies the debug
   15148 and error output, as well as guarding against null pointers during
   15149 output.
   15150 
   15151 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
   15152 simplify the debug and error output of 64-bit integers.  This
   15153 macro replaces the HIDWORD and LODWORD macros for dumping these
   15154 integers.
   15155 
   15156 Updated the implementation of the Stall() operator to only call
   15157 AcpiOsStall(), and also return an error if the operand is larger
   15158 than 255.  This preserves the required behavior of not
   15159 relinquishing the processor, as would happen if AcpiOsSleep() was
   15160 called for "long stalls".
   15161 
   15162 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
   15163 initialized are now treated as NOOPs.
   15164 
   15165 Cleaned up a handful of warnings during 64-bit generation.
   15166 
   15167 Fixed a reported error where and incorrect GPE number was passed
   15168 to the GPE dispatch handler.  This value is only used for error
   15169 output, however.  Used this opportunity to clean up and streamline
   15170 the GPE dispatch code.
   15171 
   15172 Code and Data Size: Current and previous core subsystem library
   15173 sizes are shown below.  These are the code and data sizes for the
   15174 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15175 these values do not include any ACPI driver or OSPM code.  The
   15176 
   15177 debug version of the code includes the debug output trace
   15178 mechanism and has a much larger code and data size.  Note that
   15179 these values will vary depending on the efficiency of the compiler
   15180 and the compiler options used during generation.
   15181 
   15182   Previous Release (20031002):
   15183     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   15184     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   15185   Current Release:
   15186     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   15187     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   15188 
   15189 
   15190 2) iASL Compiler/Disassembler:
   15191 
   15192 Updated the iASL compiler to return an error if the operand to the
   15193 Stall() operator is larger than 255.
   15194 
   15195 
   15196 ----------------------------------------
   15197 02 October 2003.  Summary of changes for version 20031002:
   15198 
   15199 
   15200 1) ACPI CA Core Subsystem:
   15201 
   15202 Fixed a problem with Index Fields where the index was not
   15203 incremented for fields that require multiple writes to the
   15204 index/data registers (Fields that are wider than the data
   15205 register.)
   15206 
   15207 Fixed a problem with all Field objects where a write could go
   15208 beyond the end-of-field if the field was larger than the access
   15209 granularity and therefore required multiple writes to complete the
   15210 request.  An extra write beyond the end of the field could happen
   15211 inadvertently.
   15212 
   15213 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
   15214 would incorrectly be returned if the width of the Data Register
   15215 was larger than the specified field access width.
   15216 
   15217 Completed fixes for LoadTable() and Unload() and verified their
   15218 operation.  Implemented full support for the "DdbHandle" object
   15219 throughout the ACPI CA subsystem.
   15220 
   15221 Implemented full support for the MADT and ECDT tables in the ACPI
   15222 CA header files.  Even though these tables are not directly
   15223 consumed by ACPI CA, the header definitions are useful for ACPI
   15224 device drivers.
   15225 
   15226 Integrated resource descriptor fixes posted to the Linux ACPI
   15227 list.  This included checks for minimum descriptor length, and
   15228 support for trailing NULL strings within descriptors that have
   15229 optional string elements.
   15230 
   15231 Code and Data Size: Current and previous core subsystem library
   15232 sizes are shown below.  These are the code and data sizes for the
   15233 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15234 these values do not include any ACPI driver or OSPM code.  The
   15235 debug version of the code includes the debug output trace
   15236 mechanism and has a much larger code and data size.  Note that
   15237 these values will vary depending on the efficiency of the compiler
   15238 and the compiler options used during generation.
   15239 
   15240   Previous Release (20030918):
   15241     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   15242     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   15243   Current Release:
   15244     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   15245     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   15246 
   15247 
   15248 2) iASL Compiler:
   15249 
   15250 Implemented detection of non-ASCII characters within the input
   15251 source ASL file.  This catches attempts to compile binary (AML)
   15252 files early in the compile, with an informative error message.
   15253 
   15254 Fixed a problem where the disassembler would fault if the output
   15255 filename could not be generated or if the output file could not be
   15256 opened.
   15257 
   15258 ----------------------------------------
   15259 18 September 2003.  Summary of changes for version 20030918:
   15260 
   15261 
   15262 1) ACPI CA Core Subsystem:
   15263 
   15264 Found and fixed a longstanding problem with the late execution of
   15265 the various deferred AML opcodes (such as Operation Regions,
   15266 Buffer Fields, Buffers, and Packages).  If the name string
   15267 specified for the name of the new object placed the object in a
   15268 scope other than the current scope, the initialization/execution
   15269 of the opcode failed.  The solution to this problem was to
   15270 implement a mechanism where the late execution of such opcodes
   15271 does not attempt to lookup/create the name a second time in an
   15272 incorrect scope.  This fixes the "region size computed
   15273 incorrectly" problem.
   15274 
   15275 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
   15276 Global Lock AE_BAD_PARAMETER error.
   15277 
   15278 Fixed several 64-bit issues with prototypes, casting and data
   15279 types.
   15280 
   15281 Removed duplicate prototype from acdisasm.h
   15282 
   15283 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
   15284 
   15285 Code and Data Size: Current and previous core subsystem library
   15286 sizes are shown below.  These are the code and data sizes for the
   15287 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15288 these values do not include any ACPI driver or OSPM code.  The
   15289 debug version of the code includes the debug output trace
   15290 mechanism and has a much larger code and data size.  Note that
   15291 these values will vary depending on the efficiency of the compiler
   15292 and the compiler options used during generation.
   15293 
   15294   Previous Release:
   15295 
   15296     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   15297     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   15298   Current Release:
   15299     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   15300     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   15301 
   15302 
   15303 2) Linux:
   15304 
   15305 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
   15306 correct sleep time in seconds.
   15307 
   15308 ----------------------------------------
   15309 14 July 2003.  Summary of changes for version 20030619:
   15310 
   15311 1) ACPI CA Core Subsystem:
   15312 
   15313 Parse SSDTs in order discovered, as opposed to reverse order
   15314 (Hrvoje Habjanic)
   15315 
   15316 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
   15317 Klausner,
   15318    Nate Lawson)
   15319 
   15320 
   15321 2) Linux:
   15322 
   15323 Dynamically allocate SDT list (suggested by Andi Kleen)
   15324 
   15325 proc function return value cleanups (Andi Kleen)
   15326 
   15327 Correctly handle NMI watchdog during long stalls (Andrew Morton)
   15328 
   15329 Make it so acpismp=force works (reported by Andrew Morton)
   15330 
   15331 
   15332 ----------------------------------------
   15333 19 June 2003.  Summary of changes for version 20030619:
   15334 
   15335 1) ACPI CA Core Subsystem:
   15336 
   15337 Fix To/FromBCD, eliminating the need for an arch-specific #define.
   15338 
   15339 Do not acquire a semaphore in the S5 shutdown path.
   15340 
   15341 Fix ex_digits_needed for 0. (Takayoshi Kochi)
   15342 
   15343 Fix sleep/stall code reversal. (Andi Kleen)
   15344 
   15345 Revert a change having to do with control method calling
   15346 semantics.
   15347 
   15348 2) Linux:
   15349 
   15350 acpiphp update (Takayoshi Kochi)
   15351 
   15352 Export acpi_disabled for sonypi (Stelian Pop)
   15353 
   15354 Mention acpismp=force in config help
   15355 
   15356 Re-add acpitable.c and acpismp=force. This improves backwards
   15357 
   15358 compatibility and also cleans up the code to a significant degree.
   15359 
   15360 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
   15361 
   15362 ----------------------------------------
   15363 22 May 2003.  Summary of changes for version 20030522:
   15364 
   15365 1) ACPI CA Core Subsystem:
   15366 
   15367 Found and fixed a reported problem where an AE_NOT_FOUND error
   15368 occurred occasionally during _BST evaluation.  This turned out to
   15369 be an Owner ID allocation issue where a called method did not get
   15370 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
   15371 ID UINT16 would wraparound so that the ID would be the same as the
   15372 caller's and the called method would delete the caller's
   15373 namespace.
   15374 
   15375 Implemented extended error reporting for control methods that are
   15376 aborted due to a run-time exception.  Output includes the exact
   15377 AML instruction that caused the method abort, a dump of the method
   15378 locals and arguments at the time of the abort, and a trace of all
   15379 nested control method calls.
   15380 
   15381 Modified the interpreter to allow the creation of buffers of zero
   15382 length from the AML code. Implemented new code to ensure that no
   15383 attempt is made to actually allocate a memory buffer (of length
   15384 zero) - instead, a simple buffer object with a NULL buffer pointer
   15385 and length zero is created.  A warning is no longer issued when
   15386 the AML attempts to create a zero-length buffer.
   15387 
   15388 Implemented a workaround for the "leading asterisk issue" in
   15389 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
   15390 asterisk is automatically removed if present in any HID, UID, or
   15391 CID strings.  The iASL compiler will still flag this asterisk as
   15392 an error, however.
   15393 
   15394 Implemented full support for _CID methods that return a package of
   15395 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
   15396 now additionally returns a device _CID list if present.  This
   15397 required a change to the external interface in order to pass an
   15398 ACPI_BUFFER object as a parameter since the _CID list is of
   15399 variable length.
   15400 
   15401 Fixed a problem with the new AE_SAME_HANDLER exception where
   15402 handler initialization code did not know about this exception.
   15403 
   15404 Code and Data Size: Current and previous core subsystem library
   15405 sizes are shown below.  These are the code and data sizes for the
   15406 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15407 these values do not include any ACPI driver or OSPM code.  The
   15408 debug version of the code includes the debug output trace
   15409 mechanism and has a much larger code and data size.  Note that
   15410 these values will vary depending on the efficiency of the compiler
   15411 and the compiler options used during generation.
   15412 
   15413   Previous Release (20030509):
   15414     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   15415     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   15416   Current Release:
   15417     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   15418     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   15419 
   15420 
   15421 2) Linux:
   15422 
   15423 Fixed a bug in which we would reinitialize the ACPI interrupt
   15424 after it was already working, thus disabling all ACPI and the IRQs
   15425 for any other device sharing the interrupt. (Thanks to Stian
   15426 Jordet)
   15427 
   15428 Toshiba driver update (John Belmonte)
   15429 
   15430 Return only 0 or 1 for our interrupt handler status (Andrew
   15431 Morton)
   15432 
   15433 
   15434 3) iASL Compiler:
   15435 
   15436 Fixed a reported problem where multiple (nested) ElseIf()
   15437 statements were not handled correctly by the compiler, resulting
   15438 in incorrect warnings and incorrect AML code.  This was a problem
   15439 in both the ASL parser and the code generator.
   15440 
   15441 
   15442 4) Documentation:
   15443 
   15444 Added changes to existing interfaces, new exception codes, and new
   15445 text concerning reference count object management versus garbage
   15446 collection.
   15447 
   15448 ----------------------------------------
   15449 09 May 2003.  Summary of changes for version 20030509.
   15450 
   15451 
   15452 1) ACPI CA Core Subsystem:
   15453 
   15454 Changed the subsystem initialization sequence to hold off
   15455 installation of address space handlers until the hardware has been
   15456 initialized and the system has entered ACPI mode.  This is because
   15457 the installation of space handlers can cause _REG methods to be
   15458 run.  Previously, the _REG methods could potentially be run before
   15459 ACPI mode was enabled.
   15460 
   15461 Fixed some memory leak issues related to address space handler and
   15462 notify handler installation.  There were some problems with the
   15463 reference count mechanism caused by the fact that the handler
   15464 objects are shared across several namespace objects.
   15465 
   15466 Fixed a reported problem where reference counts within the
   15467 namespace were not properly updated when named objects created by
   15468 method execution were deleted.
   15469 
   15470 Fixed a reported problem where multiple SSDTs caused a deletion
   15471 issue during subsystem termination.  Restructured the table data
   15472 structures to simplify the linked lists and the related code.
   15473 
   15474 Fixed a problem where the table ID associated with secondary
   15475 tables (SSDTs) was not being propagated into the namespace objects
   15476 created by those tables.  This would only present a problem for
   15477 tables that are unloaded at run-time, however.
   15478 
   15479 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
   15480 type as the length parameter (instead of UINT32).
   15481 
   15482 Solved a long-standing problem where an ALREADY_EXISTS error
   15483 appears on various systems.  This problem could happen when there
   15484 are multiple PCI_Config operation regions under a single PCI root
   15485 bus.  This doesn't happen very frequently, but there are some
   15486 systems that do this in the ASL.
   15487 
   15488 Fixed a reported problem where the internal DeleteNode function
   15489 was incorrectly handling the case where a namespace node was the
   15490 first in the parent's child list, and had additional peers (not
   15491 the only child, but first in the list of children.)
   15492 
   15493 Code and Data Size: Current core subsystem library sizes are shown
   15494 below.  These are the code and data sizes for the acpica.lib
   15495 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15496 values do not include any ACPI driver or OSPM code.  The debug
   15497 version of the code includes the debug output trace mechanism and
   15498 has a much larger code and data size.  Note that these values will
   15499 vary depending on the efficiency of the compiler and the compiler
   15500 options used during generation.
   15501 
   15502   Previous Release
   15503     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   15504     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   15505   Current Release:
   15506     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   15507     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   15508 
   15509 
   15510 2) Linux:
   15511 
   15512 Allow ":" in OS override string (Ducrot Bruno)
   15513 
   15514 Kobject fix (Greg KH)
   15515 
   15516 
   15517 3 iASL Compiler/Disassembler:
   15518 
   15519 Fixed a problem in the generation of the C source code files (AML
   15520 is emitted in C source statements for BIOS inclusion) where the
   15521 Ascii dump that appears within a C comment at the end of each line
   15522 could cause a compile time error if the AML sequence happens to
   15523 have an open comment or close comment sequence embedded.
   15524 
   15525 
   15526 ----------------------------------------
   15527 24 April 2003.  Summary of changes for version 20030424.
   15528 
   15529 
   15530 1) ACPI CA Core Subsystem:
   15531 
   15532 Support for big-endian systems has been implemented.  Most of the
   15533 support has been invisibly added behind big-endian versions of the
   15534 ACPI_MOVE_* macros.
   15535 
   15536 Fixed a problem in AcpiHwDisableGpeBlock() and
   15537 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
   15538 low level hardware write routine.  The offset parameter was
   15539 actually eliminated from the low level read/write routines because
   15540 they had become obsolete.
   15541 
   15542 Fixed a problem where a handler object was deleted twice during
   15543 the removal of a fixed event handler.
   15544 
   15545 
   15546 2) Linux:
   15547 
   15548 A fix for SMP systems with link devices was contributed by
   15549 
   15550 Compaq's Dan Zink.
   15551 
   15552 (2.5) Return whether we handled the interrupt in our IRQ handler.
   15553 (Linux ISRs no longer return void, so we can propagate the handler
   15554 return value from the ACPI CA core back to the OS.)
   15555 
   15556 
   15557 
   15558 3) Documentation:
   15559 
   15560 The ACPI CA Programmer Reference has been updated to reflect new
   15561 interfaces and changes to existing interfaces.
   15562 
   15563 ----------------------------------------
   15564 28 March 2003.  Summary of changes for version 20030328.
   15565 
   15566 1) ACPI CA Core Subsystem:
   15567 
   15568 The GPE Block Device support has been completed.  New interfaces
   15569 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
   15570 interfaces (enable, disable, clear, getstatus) have been split
   15571 into separate interfaces for Fixed Events and General Purpose
   15572 Events (GPEs) in order to support GPE Block Devices properly.
   15573 
   15574 Fixed a problem where the error message "Failed to acquire
   15575 semaphore" would appear during operations on the embedded
   15576 controller (EC).
   15577 
   15578 Code and Data Size: Current core subsystem library sizes are shown
   15579 below.  These are the code and data sizes for the acpica.lib
   15580 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15581 values do not include any ACPI driver or OSPM code.  The debug
   15582 version of the code includes the debug output trace mechanism and
   15583 has a much larger code and data size.  Note that these values will
   15584 vary depending on the efficiency of the compiler and the compiler
   15585 options used during generation.
   15586 
   15587   Previous Release
   15588     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   15589     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   15590   Current Release:
   15591     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   15592     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   15593 
   15594 
   15595 ----------------------------------------
   15596 28 February 2003.  Summary of changes for version 20030228.
   15597 
   15598 
   15599 1) ACPI CA Core Subsystem:
   15600 
   15601 The GPE handling and dispatch code has been completely overhauled
   15602 in preparation for support of GPE Block Devices (ID ACPI0006).
   15603 This affects internal data structures and code only; there should
   15604 be no differences visible externally.  One new file has been
   15605 added, evgpeblk.c
   15606 
   15607 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
   15608 fields that are used to determine the GPE block lengths.  The
   15609 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
   15610 structures are ignored.  This is per the ACPI specification but it
   15611 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
   15612 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
   15613 
   15614 In the SCI interrupt handler, removed the read of the PM1_CONTROL
   15615 register to look at the SCI_EN bit.  On some machines, this read
   15616 causes an SMI event and greatly slows down SCI events.  (This may
   15617 in fact be the cause of slow battery status response on some
   15618 systems.)
   15619 
   15620 Fixed a problem where a store of a NULL string to a package object
   15621 could cause the premature deletion of the object.  This was seen
   15622 during execution of the battery _BIF method on some systems,
   15623 resulting in no battery data being returned.
   15624 
   15625 Added AcpiWalkResources interface to simplify parsing of resource
   15626 lists.
   15627 
   15628 Code and Data Size: Current core subsystem library sizes are shown
   15629 below.  These are the code and data sizes for the acpica.lib
   15630 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15631 values do not include any ACPI driver or OSPM code.  The debug
   15632 version of the code includes the debug output trace mechanism and
   15633 has a much larger code and data size.  Note that these values will
   15634 vary depending on the efficiency of the compiler and the compiler
   15635 options used during generation.
   15636 
   15637   Previous Release
   15638     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   15639     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   15640   Current Release:
   15641     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   15642     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   15643 
   15644 
   15645 2) Linux
   15646 
   15647 S3 fixes (Ole Rohne)
   15648 
   15649 Update ACPI PHP driver with to use new acpi_walk_resource API
   15650 (Bjorn Helgaas)
   15651 
   15652 Add S4BIOS support (Pavel Machek)
   15653 
   15654 Map in entire table before performing checksum (John Stultz)
   15655 
   15656 Expand the mem= cmdline to allow the specification of reserved and
   15657 ACPI DATA blocks (Pavel Machek)
   15658 
   15659 Never use ACPI on VISWS
   15660 
   15661 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
   15662 
   15663 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
   15664 causing us to think that some systems support C2 when they really
   15665 don't.
   15666 
   15667 Do not count processor objects for non-present CPUs (Thanks to
   15668 Dominik Brodowski)
   15669 
   15670 
   15671 3) iASL Compiler:
   15672 
   15673 Fixed a problem where ASL include files could not be found and
   15674 opened.
   15675 
   15676 Added support for the _PDC reserved name.
   15677 
   15678 
   15679 ----------------------------------------
   15680 22 January 2003.  Summary of changes for version 20030122.
   15681 
   15682 
   15683 1) ACPI CA Core Subsystem:
   15684 
   15685 Added a check for constructs of the form:  Store (Local0, Local0)
   15686 where Local0 is not initialized.  Apparently, some BIOS
   15687 programmers believe that this is a NOOP.  Since this store doesn't
   15688 do anything anyway, the new prototype behavior will ignore this
   15689 error.  This is a case where we can relax the strict checking in
   15690 the interpreter in the name of compatibility.
   15691 
   15692 
   15693 2) Linux
   15694 
   15695 The AcpiSrc Source Conversion Utility has been released with the
   15696 Linux package for the first time.  This is the utility that is
   15697 used to convert the ACPI CA base source code to the Linux version.
   15698 
   15699 (Both) Handle P_BLK lengths shorter than 6 more gracefully
   15700 
   15701 (Both) Move more headers to include/acpi, and delete an unused
   15702 header.
   15703 
   15704 (Both) Move drivers/acpi/include directory to include/acpi
   15705 
   15706 (Both) Boot functions don't use cmdline, so don't pass it around
   15707 
   15708 (Both) Remove include of unused header (Adrian Bunk)
   15709 
   15710 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
   15711 the
   15712 former now also includes the latter, acpiphp.h only needs the one,
   15713 now.
   15714 
   15715 (2.5) Make it possible to select method of bios restoring after S3
   15716 resume. [=> no more ugly ifdefs] (Pavel Machek)
   15717 
   15718 (2.5) Make proc write interfaces work (Pavel Machek)
   15719 
   15720 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
   15721 
   15722 (2.5) Break out ACPI Perf code into its own module, under cpufreq
   15723 (Dominik Brodowski)
   15724 
   15725 (2.4) S4BIOS support (Ducrot Bruno)
   15726 
   15727 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
   15728 Visinoni)
   15729 
   15730 
   15731 3) iASL Compiler:
   15732 
   15733 Added support to disassemble SSDT and PSDTs.
   15734 
   15735 Implemented support to obtain SSDTs from the Windows registry if
   15736 available.
   15737 
   15738 
   15739 ----------------------------------------
   15740 09 January 2003.  Summary of changes for version 20030109.
   15741 
   15742 1) ACPI CA Core Subsystem:
   15743 
   15744 Changed the behavior of the internal Buffer-to-String conversion
   15745 function.  The current ACPI specification states that the contents
   15746 of the buffer are "converted to a string of two-character
   15747 hexadecimal numbers, each separated by a space".  Unfortunately,
   15748 this definition is not backwards compatible with existing ACPI 1.0
   15749 implementations (although the behavior was not defined in the ACPI
   15750 1.0 specification).  The new behavior simply copies data from the
   15751 buffer to the string until a null character is found or the end of
   15752 the buffer is reached.  The new String object is always null
   15753 terminated.  This problem was seen during the generation of _BIF
   15754 battery data where incorrect strings were returned for battery
   15755 type, etc.  This will also require an errata to the ACPI
   15756 specification.
   15757 
   15758 Renamed all instances of NATIVE_UINT and NATIVE_INT to
   15759 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
   15760 
   15761 Copyright in all module headers (both Linux and non-Linux) has be
   15762 updated to 2003.
   15763 
   15764 Code and Data Size: Current core subsystem library sizes are shown
   15765 below.  These are the code and data sizes for the acpica.lib
   15766 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15767 values do not include any ACPI driver or OSPM code.  The debug
   15768 version of the code includes the debug output trace mechanism and
   15769 has a much larger code and data size.  Note that these values will
   15770 vary depending on the efficiency of the compiler and the compiler
   15771 options used during generation.
   15772 
   15773   Previous Release
   15774     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   15775     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   15776   Current Release:
   15777     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   15778     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   15779 
   15780 
   15781 2) Linux
   15782 
   15783 Fixed an oops on module insertion/removal (Matthew Tippett)
   15784 
   15785 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
   15786 
   15787 (2.5) Replace pr_debug (Randy Dunlap)
   15788 
   15789 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
   15790 
   15791 (Both) Eliminate spawning of thread from timer callback, in favor
   15792 of schedule_work()
   15793 
   15794 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
   15795 
   15796 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
   15797 
   15798 (Both) Add missing statics to button.c (Pavel Machek)
   15799 
   15800 Several changes have been made to the source code translation
   15801 utility that generates the Linux Code in order to make the code
   15802 more "Linux-like":
   15803 
   15804 All typedefs on structs and unions have been removed in keeping
   15805 with the Linux coding style.
   15806 
   15807 Removed the non-Linux SourceSafe module revision number from each
   15808 module header.
   15809 
   15810 Completed major overhaul of symbols to be lowercase for linux.
   15811 Doubled the number of symbols that are lowercase.
   15812 
   15813 Fixed a problem where identifiers within procedure headers and
   15814 within quotes were not fully lower cased (they were left with a
   15815 starting capital.)
   15816 
   15817 Some C macros whose only purpose is to allow the generation of 16-
   15818 bit code are now completely removed in the Linux code, increasing
   15819 readability and maintainability.
   15820 
   15821 ----------------------------------------
   15822 
   15823 12 December 2002.  Summary of changes for version 20021212.
   15824 
   15825 
   15826 1) ACPI CA Core Subsystem:
   15827 
   15828 Fixed a problem where the creation of a zero-length AML Buffer
   15829 would cause a fault.
   15830 
   15831 Fixed a problem where a Buffer object that pointed to a static AML
   15832 buffer (in an ACPI table) could inadvertently be deleted, causing
   15833 memory corruption.
   15834 
   15835 Fixed a problem where a user buffer (passed in to the external
   15836 ACPI CA interfaces) could be overwritten if the buffer was too
   15837 small to complete the operation, causing memory corruption.
   15838 
   15839 Fixed a problem in the Buffer-to-String conversion code where a
   15840 string of length one was always returned, regardless of the size
   15841 of the input Buffer object.
   15842 
   15843 Removed the NATIVE_CHAR data type across the entire source due to
   15844 lack of need and lack of consistent use.
   15845 
   15846 Code and Data Size: Current core subsystem library sizes are shown
   15847 below.  These are the code and data sizes for the acpica.lib
   15848 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15849 values do not include any ACPI driver or OSPM code.  The debug
   15850 version of the code includes the debug output trace mechanism and
   15851 has a much larger code and data size.  Note that these values will
   15852 vary depending on the efficiency of the compiler and the compiler
   15853 options used during generation.
   15854 
   15855   Previous Release
   15856     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   15857     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   15858   Current Release:
   15859     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   15860     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   15861 
   15862 
   15863 ----------------------------------------
   15864 05 December 2002.  Summary of changes for version 20021205.
   15865 
   15866 1) ACPI CA Core Subsystem:
   15867 
   15868 Fixed a problem where a store to a String or Buffer object could
   15869 cause corruption of the DSDT if the object type being stored was
   15870 the same as the target object type and the length of the object
   15871 being stored was equal to or smaller than the original (existing)
   15872 target object.  This was seen to cause corruption of battery _BIF
   15873 buffers if the _BIF method modified the buffer on the fly.
   15874 
   15875 Fixed a problem where an internal error was generated if a control
   15876 method invocation was used in an OperationRegion, Buffer, or
   15877 Package declaration.  This was caused by the deferred parsing of
   15878 the control method and thus the deferred creation of the internal
   15879 method object.  The solution to this problem was to create the
   15880 internal method object at the moment the method is encountered in
   15881 the first pass - so that subsequent references to the method will
   15882 able to obtain the required parameter count and thus properly
   15883 parse the method invocation.  This problem presented itself as an
   15884 AE_AML_INTERNAL during the pass 1 parse phase during table load.
   15885 
   15886 Fixed a problem where the internal String object copy routine did
   15887 not always allocate sufficient memory for the target String object
   15888 and caused memory corruption.  This problem was seen to cause
   15889 "Allocation already present in list!" errors as memory allocation
   15890 became corrupted.
   15891 
   15892 Implemented a new function for the evaluation of namespace objects
   15893 that allows the specification of the allowable return object
   15894 types.  This simplifies a lot of code that checks for a return
   15895 object of one or more specific objects returned from the
   15896 evaluation (such as _STA, etc.)  This may become and external
   15897 function if it would be useful to ACPI-related drivers.
   15898 
   15899 Completed another round of prefixing #defines with "ACPI_" for
   15900 clarity.
   15901 
   15902 Completed additional code restructuring to allow more modular
   15903 linking for iASL compiler and AcpiExec.  Several files were split
   15904 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
   15905 
   15906 Implemented an abort mechanism to terminate an executing control
   15907 method via the AML debugger.  This feature is useful for debugging
   15908 control methods that depend (wait) for specific hardware
   15909 responses.
   15910 
   15911 Code and Data Size: Current core subsystem library sizes are shown
   15912 below.  These are the code and data sizes for the acpica.lib
   15913 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15914 values do not include any ACPI driver or OSPM code.  The debug
   15915 version of the code includes the debug output trace mechanism and
   15916 has a much larger code and data size.  Note that these values will
   15917 vary depending on the efficiency of the compiler and the compiler
   15918 options used during generation.
   15919 
   15920   Previous Release
   15921     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   15922     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   15923   Current Release:
   15924     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   15925     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   15926 
   15927 
   15928 2) iASL Compiler/Disassembler
   15929 
   15930 Fixed a compiler code generation problem for "Interrupt" Resource
   15931 Descriptors.  If specified in the ASL, the optional "Resource
   15932 Source Index" and "Resource Source" fields were not inserted into
   15933 the correct location within the AML resource descriptor, creating
   15934 an invalid descriptor.
   15935 
   15936 Fixed a disassembler problem for "Interrupt" resource descriptors.
   15937 The optional "Resource Source Index" and "Resource Source" fields
   15938 were ignored.
   15939 
   15940 
   15941 ----------------------------------------
   15942 22 November 2002.  Summary of changes for version 20021122.
   15943 
   15944 
   15945 1) ACPI CA Core Subsystem:
   15946 
   15947 Fixed a reported problem where an object stored to a Method Local
   15948 or Arg was not copied to a new object during the store - the
   15949 object pointer was simply copied to the Local/Arg.  This caused
   15950 all subsequent operations on the Local/Arg to also affect the
   15951 original source of the store operation.
   15952 
   15953 Fixed a problem where a store operation to a Method Local or Arg
   15954 was not completed properly if the Local/Arg contained a reference
   15955 (from RefOf) to a named field.  The general-purpose store-to-
   15956 namespace-node code is now used so that this case is handled
   15957 automatically.
   15958 
   15959 Fixed a problem where the internal object copy routine would cause
   15960 a protection fault if the object being copied was a Package and
   15961 contained either 1) a NULL package element or 2) a nested sub-
   15962 package.
   15963 
   15964 Fixed a problem with the GPE initialization that resulted from an
   15965 ambiguity in the ACPI specification.  One section of the
   15966 specification states that both the address and length of the GPE
   15967 block must be zero if the block is not supported.  Another section
   15968 implies that only the address need be zero if the block is not
   15969 supported.  The code has been changed so that both the address and
   15970 the length must be non-zero to indicate a valid GPE block (i.e.,
   15971 if either the address or the length is zero, the GPE block is
   15972 invalid.)
   15973 
   15974 Code and Data Size: Current core subsystem library sizes are shown
   15975 below.  These are the code and data sizes for the acpica.lib
   15976 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15977 values do not include any ACPI driver or OSPM code.  The debug
   15978 version of the code includes the debug output trace mechanism and
   15979 has a much larger code and data size.  Note that these values will
   15980 vary depending on the efficiency of the compiler and the compiler
   15981 options used during generation.
   15982 
   15983   Previous Release
   15984     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   15985     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   15986   Current Release:
   15987     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   15988     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   15989 
   15990 
   15991 2) Linux
   15992 
   15993 Cleaned up EC driver. Exported an external EC read/write
   15994 interface. By going through this, other drivers (most notably
   15995 sonypi) will be able to serialize access to the EC.
   15996 
   15997 
   15998 3) iASL Compiler/Disassembler
   15999 
   16000 Implemented support to optionally generate include files for both
   16001 ASM and C (the -i switch).  This simplifies BIOS development by
   16002 automatically creating include files that contain external
   16003 declarations for the symbols that are created within the
   16004 
   16005 (optionally generated) ASM and C AML source files.
   16006 
   16007 
   16008 ----------------------------------------
   16009 15 November 2002.  Summary of changes for version 20021115.
   16010 
   16011 1) ACPI CA Core Subsystem:
   16012 
   16013 Fixed a memory leak problem where an error during resolution of
   16014 
   16015 method arguments during a method invocation from another method
   16016 failed to cleanup properly by deleting all successfully resolved
   16017 argument objects.
   16018 
   16019 Fixed a problem where the target of the Index() operator was not
   16020 correctly constructed if the source object was a package.  This
   16021 problem has not been detected because the use of a target operand
   16022 with Index() is very rare.
   16023 
   16024 Fixed a problem with the Index() operator where an attempt was
   16025 made to delete the operand objects twice.
   16026 
   16027 Fixed a problem where an attempt was made to delete an operand
   16028 twice during execution of the CondRefOf() operator if the target
   16029 did not exist.
   16030 
   16031 Implemented the first of perhaps several internal create object
   16032 functions that create and initialize a specific object type.  This
   16033 consolidates duplicated code wherever the object is created, thus
   16034 shrinking the size of the subsystem.
   16035 
   16036 Implemented improved debug/error messages for errors that occur
   16037 during nested method invocations.  All executing method pathnames
   16038 are displayed (with the error) as the call stack is unwound - thus
   16039 simplifying debug.
   16040 
   16041 Fixed a problem introduced in the 10/02 release that caused
   16042 premature deletion of a buffer object if a buffer was used as an
   16043 ASL operand where an integer operand is required (Thus causing an
   16044 implicit object conversion from Buffer to Integer.)  The change in
   16045 the 10/02 release was attempting to fix a memory leak (albeit
   16046 incorrectly.)
   16047 
   16048 Code and Data Size: Current core subsystem library sizes are shown
   16049 below.  These are the code and data sizes for the acpica.lib
   16050 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16051 values do not include any ACPI driver or OSPM code.  The debug
   16052 version of the code includes the debug output trace mechanism and
   16053 has a much larger code and data size.  Note that these values will
   16054 vary depending on the efficiency of the compiler and the compiler
   16055 options used during generation.
   16056 
   16057   Previous Release
   16058     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   16059     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   16060   Current Release:
   16061     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   16062     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   16063 
   16064 
   16065 2) Linux
   16066 
   16067 Changed the implementation of the ACPI semaphores to use down()
   16068 instead of down_interruptable().  It is important that the
   16069 execution of ACPI control methods not be interrupted by signals.
   16070 Methods must run to completion, or the system may be left in an
   16071 unknown/unstable state.
   16072 
   16073 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
   16074 (Shawn Starr)
   16075 
   16076 
   16077 3) iASL Compiler/Disassembler
   16078 
   16079 
   16080 Changed the default location of output files.  All output files
   16081 are now placed in the current directory by default instead of in
   16082 the directory of the source file.  This change may affect some
   16083 existing makefiles, but it brings the behavior of the compiler in
   16084 line with other similar tools.  The location of the output files
   16085 can be overridden with the -p command line switch.
   16086 
   16087 
   16088 ----------------------------------------
   16089 11 November 2002.  Summary of changes for version 20021111.
   16090 
   16091 
   16092 0) ACPI Specification 2.0B is released and is now available at:
   16093 http://www.acpi.info/index.html
   16094 
   16095 
   16096 1) ACPI CA Core Subsystem:
   16097 
   16098 Implemented support for the ACPI 2.0 SMBus Operation Regions.
   16099 This includes the early detection and handoff of the request to
   16100 the SMBus region handler (avoiding all of the complex field
   16101 support code), and support for the bidirectional return packet
   16102 from an SMBus write operation.  This paves the way for the
   16103 development of SMBus drivers in each host operating system.
   16104 
   16105 Fixed a problem where the semaphore WAIT_FOREVER constant was
   16106 defined as 32 bits, but must be 16 bits according to the ACPI
   16107 specification.  This had the side effect of causing ASL
   16108 Mutex/Event timeouts even though the ASL code requested a wait
   16109 forever.  Changed all internal references to the ACPI timeout
   16110 parameter to 16 bits to prevent future problems.  Changed the name
   16111 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
   16112 
   16113 Code and Data Size: Current core subsystem library sizes are shown
   16114 below.  These are the code and data sizes for the acpica.lib
   16115 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16116 values do not include any ACPI driver or OSPM code.  The debug
   16117 version of the code includes the debug output trace mechanism and
   16118 has a much larger code and data size.  Note that these values will
   16119 vary depending on the efficiency of the compiler and the compiler
   16120 options used during generation.
   16121 
   16122   Previous Release
   16123     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16124     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   16125   Current Release:
   16126     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   16127     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   16128 
   16129 
   16130 2) Linux
   16131 
   16132 Module loading/unloading fixes (John Cagle)
   16133 
   16134 
   16135 3) iASL Compiler/Disassembler
   16136 
   16137 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
   16138 
   16139 Implemented support for the disassembly of all SMBus protocol
   16140 keywords (SMBQuick, SMBWord, etc.)
   16141 
   16142 ----------------------------------------
   16143 01 November 2002.  Summary of changes for version 20021101.
   16144 
   16145 
   16146 1) ACPI CA Core Subsystem:
   16147 
   16148 Fixed a problem where platforms that have a GPE1 block but no GPE0
   16149 block were not handled correctly.  This resulted in a "GPE
   16150 overlap" error message.  GPE0 is no longer required.
   16151 
   16152 Removed code added in the previous release that inserted nodes
   16153 into the namespace in alphabetical order.  This caused some side-
   16154 effects on various machines.  The root cause of the problem is
   16155 still under investigation since in theory, the internal ordering
   16156 of the namespace nodes should not matter.
   16157 
   16158 
   16159 Enhanced error reporting for the case where a named object is not
   16160 found during control method execution.  The full ACPI namepath
   16161 (name reference) of the object that was not found is displayed in
   16162 this case.
   16163 
   16164 Note: as a result of the overhaul of the namespace object types in
   16165 the previous release, the namespace nodes for the predefined
   16166 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
   16167 instead of ACPI_TYPE_ANY.  This simplifies the namespace
   16168 management code but may affect code that walks the namespace tree
   16169 looking for specific object types.
   16170 
   16171 Code and Data Size: Current core subsystem library sizes are shown
   16172 below.  These are the code and data sizes for the acpica.lib
   16173 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16174 values do not include any ACPI driver or OSPM code.  The debug
   16175 version of the code includes the debug output trace mechanism and
   16176 has a much larger code and data size.  Note that these values will
   16177 vary depending on the efficiency of the compiler and the compiler
   16178 options used during generation.
   16179 
   16180   Previous Release
   16181     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   16182     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   16183   Current Release:
   16184     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16185     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   16186 
   16187 
   16188 2) Linux
   16189 
   16190 Fixed a problem introduced in the previous release where the
   16191 Processor and Thermal objects were not recognized and installed in
   16192 /proc.  This was related to the scope type change described above.
   16193 
   16194 
   16195 3) iASL Compiler/Disassembler
   16196 
   16197 Implemented the -g option to get all of the required ACPI tables
   16198 from the registry and save them to files (Windows version of the
   16199 compiler only.)  The required tables are the FADT, FACS, and DSDT.
   16200 
   16201 Added ACPI table checksum validation during table disassembly in
   16202 order to catch corrupted tables.
   16203 
   16204 
   16205 ----------------------------------------
   16206 22 October 2002.  Summary of changes for version 20021022.
   16207 
   16208 1) ACPI CA Core Subsystem:
   16209 
   16210 Implemented a restriction on the Scope operator that the target
   16211 must already exist in the namespace at the time the operator is
   16212 encountered (during table load or method execution).  In other
   16213 words, forward references are not allowed and Scope() cannot
   16214 create a new object. This changes the previous behavior where the
   16215 interpreter would create the name if not found.  This new behavior
   16216 correctly enables the search-to-root algorithm during namespace
   16217 lookup of the target name.  Because of this upsearch, this fixes
   16218 the known Compaq _SB_.OKEC problem and makes both the AML
   16219 interpreter and iASL compiler compatible with other ACPI
   16220 implementations.
   16221 
   16222 Completed a major overhaul of the internal ACPI object types for
   16223 the ACPI Namespace and the associated operand objects.  Many of
   16224 these types had become obsolete with the introduction of the two-
   16225 pass namespace load.  This cleanup simplifies the code and makes
   16226 the entire namespace load mechanism much clearer and easier to
   16227 understand.
   16228 
   16229 Improved debug output for tracking scope opening/closing to help
   16230 diagnose scoping issues.  The old scope name as well as the new
   16231 scope name are displayed.  Also improved error messages for
   16232 problems with ASL Mutex objects and error messages for GPE
   16233 problems.
   16234 
   16235 Cleaned up the namespace dump code, removed obsolete code.
   16236 
   16237 All string output (for all namespace/object dumps) now uses the
   16238 common ACPI string output procedure which handles escapes properly
   16239 and does not emit non-printable characters.
   16240 
   16241 Fixed some issues with constants in the 64-bit version of the
   16242 local C library (utclib.c)
   16243 
   16244 
   16245 2) Linux
   16246 
   16247 EC Driver:  No longer attempts to acquire the Global Lock at
   16248 interrupt level.
   16249 
   16250 
   16251 3) iASL Compiler/Disassembler
   16252 
   16253 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
   16254 2 opcodes outside of a control method.  This means that the
   16255 "executable" operators (versus the "namespace" operators) cannot
   16256 be used at the table level; they can only be used within a control
   16257 method.
   16258 
   16259 Implemented the restriction on the Scope() operator where the
   16260 target must already exist in the namespace at the time the
   16261 operator is encountered (during ASL compilation). In other words,
   16262 forward references are not allowed and Scope() cannot create a new
   16263 object.  This makes the iASL compiler compatible with other ACPI
   16264 implementations and makes the Scope() implementation adhere to the
   16265 ACPI specification.
   16266 
   16267 Fixed a problem where namepath optimization for the Alias operator
   16268 was optimizing the wrong path (of the two namepaths.)  This caused
   16269 a "Missing alias link" error message.
   16270 
   16271 Fixed a problem where an "unknown reserved name" warning could be
   16272 incorrectly generated for names like "_SB" when the trailing
   16273 underscore is not used in the original ASL.
   16274 
   16275 Fixed a problem where the reserved name check did not handle
   16276 NamePaths with multiple NameSegs correctly.  The first nameseg of
   16277 the NamePath was examined instead of the last NameSeg.
   16278 
   16279 
   16280 ----------------------------------------
   16281 
   16282 02 October 2002.  Summary of changes for this release.
   16283 
   16284 
   16285 1) ACPI CA Core Subsystem version 20021002:
   16286 
   16287 Fixed a problem where a store/copy of a string to an existing
   16288 string did not always set the string length properly in the String
   16289 object.
   16290 
   16291 Fixed a reported problem with the ToString operator where the
   16292 behavior was identical to the ToHexString operator instead of just
   16293 simply converting a raw buffer to a string data type.
   16294 
   16295 Fixed a problem where CopyObject and the other "explicit"
   16296 conversion operators were not updating the internal namespace node
   16297 type as part of the store operation.
   16298 
   16299 Fixed a memory leak during implicit source operand conversion
   16300 where the original object was not deleted if it was converted to a
   16301 new object of a different type.
   16302 
   16303 Enhanced error messages for all problems associated with namespace
   16304 lookups.  Common procedure generates and prints the lookup name as
   16305 well as the formatted status.
   16306 
   16307 Completed implementation of a new design for the Alias support
   16308 within the namespace.  The existing design did not handle the case
   16309 where a new object was assigned to one of the two names due to the
   16310 use of an explicit conversion operator, resulting in the two names
   16311 pointing to two different objects.  The new design simply points
   16312 the Alias name to the original name node - not to the object.
   16313 This results in a level of indirection that must be handled in the
   16314 name resolution mechanism.
   16315 
   16316 Code and Data Size: Current core subsystem library sizes are shown
   16317 below.  These are the code and data sizes for the acpica.lib
   16318 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16319 values do not include any ACPI driver or OSPM code.  The debug
   16320 version of the code includes the debug output trace mechanism and
   16321 has a larger code and data size.  Note that these values will vary
   16322 depending on the efficiency of the compiler and the compiler
   16323 options used during generation.
   16324 
   16325   Previous Release
   16326     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   16327     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   16328   Current Release:
   16329     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   16330     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   16331 
   16332 
   16333 2) Linux
   16334 
   16335 Initialize thermal driver's timer before it is used. (Knut
   16336 Neumann)
   16337 
   16338 Allow handling negative celsius values. (Kochi Takayoshi)
   16339 
   16340 Fix thermal management and make trip points. R/W (Pavel Machek)
   16341 
   16342 Fix /proc/acpi/sleep. (P. Christeas)
   16343 
   16344 IA64 fixes. (David Mosberger)
   16345 
   16346 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
   16347 
   16348 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
   16349 Brodowski)
   16350 
   16351 
   16352 3) iASL Compiler/Disassembler
   16353 
   16354 Clarified some warning/error messages.
   16355 
   16356 
   16357 ----------------------------------------
   16358 18 September 2002.  Summary of changes for this release.
   16359 
   16360 
   16361 1) ACPI CA Core Subsystem version 20020918:
   16362 
   16363 Fixed a reported problem with reference chaining (via the Index()
   16364 and RefOf() operators) in the ObjectType() and SizeOf() operators.
   16365 The definition of these operators includes the dereferencing of
   16366 all chained references to return information on the base object.
   16367 
   16368 Fixed a problem with stores to indexed package elements - the
   16369 existing code would not complete the store if an "implicit
   16370 conversion" was not performed.  In other words, if the existing
   16371 object (package element) was to be replaced completely, the code
   16372 didn't handle this case.
   16373 
   16374 Relaxed typechecking on the ASL "Scope" operator to allow the
   16375 target name to refer to an object of type Integer, String, or
   16376 Buffer, in addition to the scoping object types (Device,
   16377 predefined Scopes, Processor, PowerResource, and ThermalZone.)
   16378 This allows existing AML code that has workarounds for a bug in
   16379 Windows to function properly.  A warning is issued, however.  This
   16380 affects both the AML interpreter and the iASL compiler. Below is
   16381 an example of this type of ASL code:
   16382 
   16383       Name(DEB,0x00)
   16384       Scope(DEB)
   16385       {
   16386 
   16387 Fixed some reported problems with 64-bit integer support in the
   16388 local implementation of C library functions (clib.c)
   16389 
   16390 
   16391 2) Linux
   16392 
   16393 Use ACPI fix map region instead of IOAPIC region, since it is
   16394 undefined in non-SMP.
   16395 
   16396 Ensure that the SCI has the proper polarity and trigger, even on
   16397 systems that do not have an interrupt override entry in the MADT.
   16398 
   16399 2.5 big driver reorganization (Pat Mochel)
   16400 
   16401 Use early table mapping code from acpitable.c (Andi Kleen)
   16402 
   16403 New blacklist entries (Andi Kleen)
   16404 
   16405 Blacklist improvements. Split blacklist code out into a separate
   16406 file. Move checking the blacklist to very early. Previously, we
   16407 would use ACPI tables, and then halfway through init, check the
   16408 blacklist -- too late. Now, it's early enough to completely fall-
   16409 back to non-ACPI.
   16410 
   16411 
   16412 3) iASL Compiler/Disassembler version 20020918:
   16413 
   16414 Fixed a problem where the typechecking code didn't know that an
   16415 alias could point to a method.  In other words, aliases were not
   16416 being dereferenced during typechecking.
   16417 
   16418 
   16419 ----------------------------------------
   16420 29 August 2002.  Summary of changes for this release.
   16421 
   16422 1) ACPI CA Core Subsystem Version 20020829:
   16423 
   16424 If the target of a Scope() operator already exists, it must be an
   16425 object type that actually opens a scope -- such as a Device,
   16426 Method, Scope, etc.  This is a fatal runtime error.  Similar error
   16427 check has been added to the iASL compiler also.
   16428 
   16429 Tightened up the namespace load to disallow multiple names in the
   16430 same scope.  This previously was allowed if both objects were of
   16431 the same type.  (i.e., a lookup was the same as entering a new
   16432 name).
   16433 
   16434 
   16435 2) Linux
   16436 
   16437 Ensure that the ACPI interrupt has the proper trigger and
   16438 polarity.
   16439 
   16440 local_irq_disable is extraneous. (Matthew Wilcox)
   16441 
   16442 Make "acpi=off" actually do what it says, and not use the ACPI
   16443 interpreter *or* the tables.
   16444 
   16445 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
   16446 Takayoshi)
   16447 
   16448 
   16449 3) iASL Compiler/Disassembler  Version 20020829:
   16450 
   16451 Implemented namepath optimization for name declarations.  For
   16452 example, a declaration like "Method (\_SB_.ABCD)" would get
   16453 optimized to "Method (ABCD)" if the declaration is within the
   16454 \_SB_ scope.  This optimization is in addition to the named
   16455 reference path optimization first released in the previous
   16456 version. This would seem to complete all possible optimizations
   16457 for namepaths within the ASL/AML.
   16458 
   16459 If the target of a Scope() operator already exists, it must be an
   16460 object type that actually opens a scope -- such as a Device,
   16461 Method, Scope, etc.
   16462 
   16463 Implemented a check and warning for unreachable code in the same
   16464 block below a Return() statement.
   16465 
   16466 Fixed a problem where the listing file was not generated if the
   16467 compiler aborted if the maximum error count was exceeded (200).
   16468 
   16469 Fixed a problem where the typechecking of method return values was
   16470 broken.  This includes the check for a return value when the
   16471 method is invoked as a TermArg (a return value is expected.)
   16472 
   16473 Fixed a reported problem where EOF conditions during a quoted
   16474 string or comment caused a fault.
   16475 
   16476 
   16477 ----------------------------------------
   16478 15 August 2002.  Summary of changes for this release.
   16479 
   16480 1) ACPI CA Core Subsystem Version 20020815:
   16481 
   16482 Fixed a reported problem where a Store to a method argument that
   16483 contains a reference did not perform the indirect store correctly.
   16484 This problem was created during the conversion to the new
   16485 reference object model - the indirect store to a method argument
   16486 code was not updated to reflect the new model.
   16487 
   16488 Reworked the ACPI mode change code to better conform to ACPI 2.0,
   16489 handle corner cases, and improve code legibility (Kochi Takayoshi)
   16490 
   16491 Fixed a problem with the pathname parsing for the carat (^)
   16492 prefix.  The heavy use of the carat operator by the new namepath
   16493 optimization in the iASL compiler uncovered a problem with the AML
   16494 interpreter handling of this prefix.  In the case where one or
   16495 more carats precede a single nameseg, the nameseg was treated as
   16496 standalone and the search rule (to root) was inadvertently
   16497 applied.  This could cause both the iASL compiler and the
   16498 interpreter to find the wrong object or to miss the error that
   16499 should occur if the object does not exist at that exact pathname.
   16500 
   16501 Found and fixed the problem where the HP Pavilion DSDT would not
   16502 load.  This was a relatively minor tweak to the table loading code
   16503 (a problem caused by the unexpected encounter with a method
   16504 invocation not within a control method), but it does not solve the
   16505 overall issue of the execution of AML code at the table level.
   16506 This investigation is still ongoing.
   16507 
   16508 Code and Data Size: Current core subsystem library sizes are shown
   16509 below.  These are the code and data sizes for the acpica.lib
   16510 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16511 values do not include any ACPI driver or OSPM code.  The debug
   16512 version of the code includes the debug output trace mechanism and
   16513 has a larger code and data size.  Note that these values will vary
   16514 depending on the efficiency of the compiler and the compiler
   16515 options used during generation.
   16516 
   16517   Previous Release
   16518     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   16519     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   16520   Current Release:
   16521     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   16522     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   16523 
   16524 
   16525 2) Linux
   16526 
   16527 Remove redundant slab.h include (Brad Hards)
   16528 
   16529 Fix several bugs in thermal.c (Herbert Nachtnebel)
   16530 
   16531 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
   16532 
   16533 Change acpi_system_suspend to use updated irq functions (Pavel
   16534 Machek)
   16535 
   16536 Export acpi_get_firmware_table (Matthew Wilcox)
   16537 
   16538 Use proper root proc entry for ACPI (Kochi Takayoshi)
   16539 
   16540 Fix early-boot table parsing (Bjorn Helgaas)
   16541 
   16542 
   16543 3) iASL Compiler/Disassembler
   16544 
   16545 Reworked the compiler options to make them more consistent and to
   16546 use two-letter options where appropriate.  We were running out of
   16547 sensible letters.   This may break some makefiles, so check the
   16548 current options list by invoking the compiler with no parameters.
   16549 
   16550 Completed the design and implementation of the ASL namepath
   16551 optimization option for the compiler.  This option optimizes all
   16552 references to named objects to the shortest possible path.  The
   16553 first attempt tries to utilize a single nameseg (4 characters) and
   16554 the "search-to-root" algorithm used by the interpreter.  If that
   16555 cannot be used (because either the name is not in the search path
   16556 or there is a conflict with another object with the same name),
   16557 the pathname is optimized using the carat prefix (usually a
   16558 shorter string than specifying the entire path from the root.)
   16559 
   16560 Implemented support to obtain the DSDT from the Windows registry
   16561 (when the disassembly option is specified with no input file).
   16562 Added this code as the implementation for AcpiOsTableOverride in
   16563 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
   16564 utility) to scan memory for the DSDT to the AcpiOsTableOverride
   16565 function in the DOS OSL to make the disassembler truly OS
   16566 independent.
   16567 
   16568 Implemented a new option to disassemble and compile in one step.
   16569 When used without an input filename, this option will grab the
   16570 DSDT from the local machine, disassemble it, and compile it in one
   16571 step.
   16572 
   16573 Added a warning message for invalid escapes (a backslash followed
   16574 by any character other than the allowable escapes).  This catches
   16575 the quoted string error "\_SB_" (which should be "\\_SB_" ).
   16576 
   16577 Also, there are numerous instances in the ACPI specification where
   16578 this error occurs.
   16579 
   16580 Added a compiler option to disable all optimizations.  This is
   16581 basically the "compatibility mode" because by using this option,
   16582 the AML code will come out exactly the same as other ASL
   16583 compilers.
   16584 
   16585 Added error messages for incorrectly ordered dependent resource
   16586 functions.  This includes: missing EndDependentFn macro at end of
   16587 dependent resource list, nested dependent function macros (both
   16588 start and end), and missing StartDependentFn macro.  These are
   16589 common errors that should be caught at compile time.
   16590 
   16591 Implemented _OSI support for the disassembler and compiler.  _OSI
   16592 must be included in the namespace for proper disassembly (because
   16593 the disassembler must know the number of arguments.)
   16594 
   16595 Added an "optimization" message type that is optional (off by
   16596 default).  This message is used for all optimizations - including
   16597 constant folding, integer optimization, and namepath optimization.
   16598 
   16599 ----------------------------------------
   16600 25 July 2002.  Summary of changes for this release.
   16601 
   16602 
   16603 1) ACPI CA Core Subsystem Version 20020725:
   16604 
   16605 The AML Disassembler has been enhanced to produce compilable ASL
   16606 code and has been integrated into the iASL compiler (see below) as
   16607 well as the single-step disassembly for the AML debugger and the
   16608 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
   16609 resource templates and macros are fully supported.  The
   16610 disassembler has been tested on over 30 different AML files,
   16611 producing identical AML when the resulting disassembled ASL file
   16612 is recompiled with the same ASL compiler.
   16613 
   16614 Modified the Resource Manager to allow zero interrupts and zero
   16615 dma channels during the GetCurrentResources call.  This was
   16616 causing problems on some platforms.
   16617 
   16618 Added the AcpiOsRedirectOutput interface to the OSL to simplify
   16619 output redirection for the AcpiOsPrintf and AcpiOsVprintf
   16620 interfaces.
   16621 
   16622 Code and Data Size: Current core subsystem library sizes are shown
   16623 below.  These are the code and data sizes for the acpica.lib
   16624 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16625 values do not include any ACPI driver or OSPM code.  The debug
   16626 version of the code includes the debug output trace mechanism and
   16627 has a larger code and data size.  Note that these values will vary
   16628 depending on the efficiency of the compiler and the compiler
   16629 options used during generation.
   16630 
   16631   Previous Release
   16632     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   16633     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   16634   Current Release:
   16635     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   16636     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   16637 
   16638 
   16639 2) Linux
   16640 
   16641 Fixed a panic in the EC driver (Dominik Brodowski)
   16642 
   16643 Implemented checksum of the R/XSDT itself during Linux table scan
   16644 (Richard Schaal)
   16645 
   16646 
   16647 3) iASL compiler
   16648 
   16649 The AML disassembler is integrated into the compiler.  The "-d"
   16650 option invokes the disassembler  to completely disassemble an
   16651 input AML file, producing as output a text ASL file with the
   16652 extension ".dsl" (to avoid name collisions with existing .asl
   16653 source files.)  A future enhancement will allow the disassembler
   16654 to obtain the BIOS DSDT from the registry under Windows.
   16655 
   16656 Fixed a problem with the VendorShort and VendorLong resource
   16657 descriptors where an invalid AML sequence was created.
   16658 
   16659 Implemented a fix for BufferData term in the ASL parser.  It was
   16660 inadvertently defined twice, allowing invalid syntax to pass and
   16661 causing reduction conflicts.
   16662 
   16663 Fixed a problem where the Ones opcode could get converted to a
   16664 value of zero if "Ones" was used where a byte, word or dword value
   16665 was expected.  The 64-bit value is now truncated to the correct
   16666 size with the correct value.
   16667 
   16668 
   16669 
   16670 ----------------------------------------
   16671 02 July 2002.  Summary of changes for this release.
   16672 
   16673 
   16674 1) ACPI CA Core Subsystem Version 20020702:
   16675 
   16676 The Table Manager code has been restructured to add several new
   16677 features.  Tables that are not required by the core subsystem
   16678 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
   16679 validated in any way and are returned from AcpiGetFirmwareTable if
   16680 requested.  The AcpiOsTableOverride interface is now called for
   16681 each table that is loaded by the subsystem in order to allow the
   16682 host to override any table it chooses.  Previously, only the DSDT
   16683 could be overridden.  Added one new files, tbrsdt.c and
   16684 tbgetall.c.
   16685 
   16686 Fixed a problem with the conversion of internal package objects to
   16687 external objects (when a package is returned from a control
   16688 method.)  The return buffer length was set to zero instead of the
   16689 proper length of the package object.
   16690 
   16691 Fixed a reported problem with the use of the RefOf and DeRefOf
   16692 operators when passing reference arguments to control methods.  A
   16693 new type of Reference object is used internally for references
   16694 produced by the RefOf operator.
   16695 
   16696 Added additional error messages in the Resource Manager to explain
   16697 AE_BAD_DATA errors when they occur during resource parsing.
   16698 
   16699 Split the AcpiEnableSubsystem into two primitives to enable a
   16700 finer granularity initialization sequence.  These two calls should
   16701 be called in this order: AcpiEnableSubsystem (flags),
   16702 AcpiInitializeObjects (flags).  The flags parameter remains the
   16703 same.
   16704 
   16705 
   16706 2) Linux
   16707 
   16708 Updated the ACPI utilities module to understand the new style of
   16709 fully resolved package objects that are now returned from the core
   16710 subsystem.  This eliminates errors of the form:
   16711 
   16712     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
   16713     acpi_utils-0430 [145] acpi_evaluate_reference:
   16714         Invalid element in package (not a device reference)
   16715 
   16716 The method evaluation utility uses the new buffer allocation
   16717 scheme instead of calling AcpiEvaluate Object twice.
   16718 
   16719 Added support for ECDT. This allows the use of the Embedded
   16720 
   16721 Controller before the namespace has been fully initialized, which
   16722 is necessary for ACPI 2.0 support, and for some laptops to
   16723 initialize properly. (Laptops using ECDT are still rare, so only
   16724 limited testing was performed of the added functionality.)
   16725 
   16726 Fixed memory leaks in the EC driver.
   16727 
   16728 Eliminated a brittle code structure in acpi_bus_init().
   16729 
   16730 Eliminated the acpi_evaluate() helper function in utils.c. It is
   16731 no longer needed since acpi_evaluate_object can optionally
   16732 allocate memory for the return object.
   16733 
   16734 Implemented fix for keyboard hang when getting battery readings on
   16735 some systems (Stephen White)
   16736 
   16737 PCI IRQ routing update (Dominik Brodowski)
   16738 
   16739 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
   16740 support
   16741 
   16742 ----------------------------------------
   16743 11 June 2002.  Summary of changes for this release.
   16744 
   16745 
   16746 1) ACPI CA Core Subsystem Version 20020611:
   16747 
   16748 Fixed a reported problem where constants such as Zero and One
   16749 appearing within _PRT packages were not handled correctly within
   16750 the resource manager code.  Originally reported against the ASL
   16751 compiler because the code generator now optimizes integers to
   16752 their minimal AML representation (i.e. AML constants if possible.)
   16753 The _PRT code now handles all AML constant opcodes correctly
   16754 (Zero, One, Ones, Revision).
   16755 
   16756 Fixed a problem with the Concatenate operator in the AML
   16757 interpreter where a buffer result object was incorrectly marked as
   16758 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
   16759 
   16760 All package sub-objects are now fully resolved before they are
   16761 returned from the external ACPI interfaces.  This means that name
   16762 strings are resolved to object handles, and constant operators
   16763 (Zero, One, Ones, Revision) are resolved to Integers.
   16764 
   16765 Implemented immediate resolution of the AML Constant opcodes
   16766 (Zero, One, Ones, Revision) to Integer objects upon detection
   16767 within the AML stream. This has simplified and reduced the
   16768 generated code size of the subsystem by eliminating about 10
   16769 switch statements for these constants (which previously were
   16770 contained in Reference objects.)  The complicating issues are that
   16771 the Zero opcode is used as a "placeholder" for unspecified
   16772 optional target operands and stores to constants are defined to be
   16773 no-ops.
   16774 
   16775 Code and Data Size: Current core subsystem library sizes are shown
   16776 below. These are the code and data sizes for the acpica.lib
   16777 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16778 values do not include any ACPI driver or OSPM code.  The debug
   16779 version of the code includes the debug output trace mechanism and
   16780 has a larger code and data size.  Note that these values will vary
   16781 depending on the efficiency of the compiler and the compiler
   16782 options used during generation.
   16783 
   16784   Previous Release
   16785     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   16786     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   16787   Current Release:
   16788     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   16789     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   16790 
   16791 
   16792 2) Linux
   16793 
   16794 
   16795 Added preliminary support for obtaining _TRA data for PCI root
   16796 bridges (Bjorn Helgaas).
   16797 
   16798 
   16799 3) iASL Compiler Version X2046:
   16800 
   16801 Fixed a problem where the "_DDN" reserved name was defined to be a
   16802 control method with one argument.  There are no arguments, and
   16803 _DDN does not have to be a control method.
   16804 
   16805 Fixed a problem with the Linux version of the compiler where the
   16806 source lines printed with error messages were the wrong lines.
   16807 This turned out to be the "LF versus CR/LF" difference between
   16808 Windows and Unix.  This appears to be the longstanding issue
   16809 concerning listing output and error messages.
   16810 
   16811 Fixed a problem with the Linux version of compiler where opcode
   16812 names within error messages were wrong.  This was caused by a
   16813 slight difference in the output of the Flex tool on Linux versus
   16814 Windows.
   16815 
   16816 Fixed a problem with the Linux compiler where the hex output files
   16817 contained some garbage data caused by an internal buffer overrun.
   16818 
   16819 
   16820 ----------------------------------------
   16821 17 May 2002.  Summary of changes for this release.
   16822 
   16823 
   16824 1) ACPI CA Core Subsystem Version 20020517:
   16825 
   16826 Implemented a workaround to an BIOS bug discovered on the HP
   16827 OmniBook where the FADT revision number and the table size are
   16828 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
   16829 behavior is to fallback to using only the ACPI 1.0 fields of the
   16830 FADT if the table is too small to be a ACPI 2.0 table as claimed
   16831 by the revision number.  Although this is a BIOS bug, this is a
   16832 case where the workaround is simple enough and with no side
   16833 effects, so it seemed prudent to add it.  A warning message is
   16834 issued, however.
   16835 
   16836 Implemented minimum size checks for the fixed-length ACPI tables -
   16837 - the FADT and FACS, as well as consistency checks between the
   16838 revision number and the table size.
   16839 
   16840 Fixed a reported problem in the table override support where the
   16841 new table pointer was incorrectly treated as a physical address
   16842 instead of a logical address.
   16843 
   16844 Eliminated the use of the AE_AML_ERROR exception and replaced it
   16845 with more descriptive codes.
   16846 
   16847 Fixed a problem where an exception would occur if an ASL Field was
   16848 defined with no named Field Units underneath it (used by some
   16849 index fields).
   16850 
   16851 Code and Data Size: Current core subsystem library sizes are shown
   16852 below.  These are the code and data sizes for the acpica.lib
   16853 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16854 values do not include any ACPI driver or OSPM code.  The debug
   16855 version of the code includes the debug output trace mechanism and
   16856 has a larger code and data size.  Note that these values will vary
   16857 depending on the efficiency of the compiler and the compiler
   16858 options used during generation.
   16859 
   16860   Previous Release
   16861     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   16862     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   16863   Current Release:
   16864     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   16865     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   16866 
   16867 
   16868 
   16869 2) Linux
   16870 
   16871 Much work done on ACPI init (MADT and PCI IRQ routing support).
   16872 (Paul D. and Dominik Brodowski)
   16873 
   16874 Fix PCI IRQ-related panic on boot (Sam Revitch)
   16875 
   16876 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
   16877 
   16878 Fix "MHz" typo (Dominik Brodowski)
   16879 
   16880 Fix RTC year 2000 issue (Dominik Brodowski)
   16881 
   16882 Preclude multiple button proc entries (Eric Brunet)
   16883 
   16884 Moved arch-specific code out of include/platform/aclinux.h
   16885 
   16886 3) iASL Compiler Version X2044:
   16887 
   16888 Implemented error checking for the string used in the EISAID macro
   16889 (Usually used in the definition of the _HID object.)  The code now
   16890 strictly enforces the PnP format - exactly 7 characters, 3
   16891 uppercase letters and 4 hex digits.
   16892 
   16893 If a raw string is used in the definition of the _HID object
   16894 (instead of the EISAID macro), the string must contain all
   16895 alphanumeric characters (e.g., "*PNP0011" is not allowed because
   16896 of the asterisk.)
   16897 
   16898 Implemented checking for invalid use of ACPI reserved names for
   16899 most of the name creation operators (Name, Device, Event, Mutex,
   16900 OperationRegion, PowerResource, Processor, and ThermalZone.)
   16901 Previously, this check was only performed for control methods.
   16902 
   16903 Implemented an additional check on the Name operator to emit an
   16904 error if a reserved name that must be implemented in ASL as a
   16905 control method is used.  We know that a reserved name must be a
   16906 method if it is defined with input arguments.
   16907 
   16908 The warning emitted when a namespace object reference is not found
   16909 during the cross reference phase has been changed into an error.
   16910 The "External" directive should be used for names defined in other
   16911 modules.
   16912 
   16913 
   16914 4) Tools and Utilities
   16915 
   16916 The 16-bit tools (adump16 and aexec16) have been regenerated and
   16917 tested.
   16918 
   16919 Fixed a problem with the output of both acpidump and adump16 where
   16920 the indentation of closing parentheses and brackets was not
   16921 
   16922 aligned properly with the parent block.
   16923 
   16924 
   16925 ----------------------------------------
   16926 03 May 2002.  Summary of changes for this release.
   16927 
   16928 
   16929 1) ACPI CA Core Subsystem Version 20020503:
   16930 
   16931 Added support a new OSL interface that allows the host operating
   16932 
   16933 system software to override the DSDT found in the firmware -
   16934 AcpiOsTableOverride.  With this interface, the OSL can examine the
   16935 version of the firmware DSDT and replace it with a different one
   16936 if desired.
   16937 
   16938 Added new external interfaces for accessing ACPI registers from
   16939 device drivers and other system software - AcpiGetRegister and
   16940 AcpiSetRegister.  This was simply an externalization of the
   16941 existing AcpiHwBitRegister interfaces.
   16942 
   16943 Fixed a regression introduced in the previous build where the
   16944 ASL/AML CreateField operator always returned an error,
   16945 "destination must be a NS Node".
   16946 
   16947 Extended the maximum time (before failure) to successfully enable
   16948 ACPI mode to 3 seconds.
   16949 
   16950 Code and Data Size: Current core subsystem library sizes are shown
   16951 below.  These are the code and data sizes for the acpica.lib
   16952 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16953 values do not include any ACPI driver or OSPM code.  The debug
   16954 version of the code includes the debug output trace mechanism and
   16955 has a larger code and data size.  Note that these values will vary
   16956 depending on the efficiency of the compiler and the compiler
   16957 options used during generation.
   16958 
   16959   Previous Release
   16960     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   16961     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   16962   Current Release:
   16963     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   16964     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   16965 
   16966 
   16967 2) Linux
   16968 
   16969 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
   16970 free. While 3 out of 4 of our in-house systems work fine, the last
   16971 one still hangs when testing the LAPIC timer.
   16972 
   16973 Renamed many files in 2.5 kernel release to omit "acpi_" from the
   16974 name.
   16975 
   16976 Added warning on boot for Presario 711FR.
   16977 
   16978 Sleep improvements (Pavel Machek)
   16979 
   16980 ACPI can now be built without CONFIG_PCI enabled.
   16981 
   16982 IA64: Fixed memory map functions (JI Lee)
   16983 
   16984 
   16985 3) iASL Compiler Version X2043:
   16986 
   16987 Added support to allow the compiler to be integrated into the MS
   16988 VC++ development environment for one-button compilation of single
   16989 files or entire projects -- with error-to-source-line mapping.
   16990 
   16991 Implemented support for compile-time constant folding for the
   16992 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
   16993 specification.  This allows the ASL writer to use expressions
   16994 instead of Integer/Buffer/String constants in terms that must
   16995 evaluate to constants at compile time and will also simplify the
   16996 emitted AML in any such sub-expressions that can be folded
   16997 (evaluated at compile-time.)  This increases the size of the
   16998 compiler significantly because a portion of the ACPI CA AML
   16999 interpreter is included within the compiler in order to pre-
   17000 evaluate constant expressions.
   17001 
   17002 
   17003 Fixed a problem with the "Unicode" ASL macro that caused the
   17004 compiler to fault.  (This macro is used in conjunction with the
   17005 _STR reserved name.)
   17006 
   17007 Implemented an AML opcode optimization to use the Zero, One, and
   17008 Ones opcodes where possible to further reduce the size of integer
   17009 constants and thus reduce the overall size of the generated AML
   17010 code.
   17011 
   17012 Implemented error checking for new reserved terms for ACPI version
   17013 2.0A.
   17014 
   17015 Implemented the -qr option to display the current list of ACPI
   17016 reserved names known to the compiler.
   17017 
   17018 Implemented the -qc option to display the current list of ASL
   17019 operators that are allowed within constant expressions and can
   17020 therefore be folded at compile time if the operands are constants.
   17021 
   17022 
   17023 4) Documentation
   17024 
   17025 Updated the Programmer's Reference for new interfaces, data types,
   17026 and memory allocation model options.
   17027 
   17028 Updated the iASL Compiler User Reference to apply new format and
   17029 add information about new features and options.
   17030 
   17031 ----------------------------------------
   17032 19 April 2002.  Summary of changes for this release.
   17033 
   17034 1) ACPI CA Core Subsystem Version 20020419:
   17035 
   17036 The source code base for the Core Subsystem has been completely
   17037 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
   17038 versions.  The Lint option files used are included in the
   17039 /acpi/generate/lint directory.
   17040 
   17041 Implemented enhanced status/error checking across the entire
   17042 Hardware manager subsystem.  Any hardware errors (reported from
   17043 the OSL) are now bubbled up and will abort a running control
   17044 method.
   17045 
   17046 
   17047 Fixed a problem where the per-ACPI-table integer width (32 or 64)
   17048 was stored only with control method nodes, causing a fault when
   17049 non-control method code was executed during table loading.  The
   17050 solution implemented uses a global variable to indicate table
   17051 width across the entire ACPI subsystem.  Therefore, ACPI CA does
   17052 not support mixed integer widths across different ACPI tables
   17053 (DSDT, SSDT).
   17054 
   17055 Fixed a problem where NULL extended fields (X fields) in an ACPI
   17056 2.0 ACPI FADT caused the table load to fail.  Although the
   17057 existing ACPI specification is a bit fuzzy on this topic, the new
   17058 behavior is to fall back on a ACPI 1.0 field if the corresponding
   17059 ACPI 2.0 X field is zero (even though the table revision indicates
   17060 a full ACPI 2.0 table.)  The ACPI specification will be updated to
   17061 clarify this issue.
   17062 
   17063 Fixed a problem with the SystemMemory operation region handler
   17064 where memory was always accessed byte-wise even if the AML-
   17065 specified access width was larger than a byte.  This caused
   17066 problems on systems with memory-mapped I/O.  Memory is now
   17067 accessed with the width specified.  On systems that do not support
   17068 non-aligned transfers, a check is made to guarantee proper address
   17069 alignment before proceeding in order to avoid an AML-caused
   17070 alignment fault within the kernel.
   17071 
   17072 
   17073 Fixed a problem with the ExtendedIrq resource where only one byte
   17074 of the 4-byte Irq field was extracted.
   17075 
   17076 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
   17077 function was out of date and required a rewrite.
   17078 
   17079 Code and Data Size: Current core subsystem library sizes are shown
   17080 below.  These are the code and data sizes for the acpica.lib
   17081 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17082 values do not include any ACPI driver or OSPM code.  The debug
   17083 version of the code includes the debug output trace mechanism and
   17084 has a larger code and data size.  Note that these values will vary
   17085 depending on the efficiency of the compiler and the compiler
   17086 options used during generation.
   17087 
   17088   Previous Release
   17089     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   17090     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   17091   Current Release:
   17092     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   17093     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   17094 
   17095 
   17096 2) Linux
   17097 
   17098 PCI IRQ routing fixes (Dominik Brodowski)
   17099 
   17100 
   17101 3) iASL Compiler Version X2042:
   17102 
   17103 Implemented an additional compile-time error check for a field
   17104 unit whose size + minimum access width would cause a run-time
   17105 access beyond the end-of-region.  Previously, only the field size
   17106 itself was checked.
   17107 
   17108 The Core subsystem and iASL compiler now share a common parse
   17109 object in preparation for compile-time evaluation of the type
   17110 3/4/5 ASL operators.
   17111 
   17112 
   17113 ----------------------------------------
   17114 Summary of changes for this release: 03_29_02
   17115 
   17116 1) ACPI CA Core Subsystem Version 20020329:
   17117 
   17118 Implemented support for late evaluation of TermArg operands to
   17119 Buffer and Package objects.  This allows complex expressions to be
   17120 used in the declarations of these object types.
   17121 
   17122 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
   17123 1.0, if the field was larger than 32 bits, it was returned as a
   17124 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
   17125 the field is returned as a buffer only if the field is larger than
   17126 64 bits.  The TableRevision is now considered when making this
   17127 conversion to avoid incompatibility with existing ASL code.
   17128 
   17129 Implemented logical addressing for AcpiOsGetRootPointer.  This
   17130 allows an RSDP with either a logical or physical address.  With
   17131 this support, the host OS can now override all ACPI tables with
   17132 one logical RSDP.  Includes implementation of  "typed" pointer
   17133 support to allow a common data type for both physical and logical
   17134 pointers internally.  This required a change to the
   17135 AcpiOsGetRootPointer interface.
   17136 
   17137 Implemented the use of ACPI 2.0 Generic Address Structures for all
   17138 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
   17139 mapped I/O for these ACPI features.
   17140 
   17141 Initialization now ignores not only non-required tables (All
   17142 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
   17143 not validate the table headers of unrecognized tables.
   17144 
   17145 Fixed a problem where a notify handler could only be
   17146 installed/removed on an object of type Device.  All "notify"
   17147 
   17148 objects are now supported -- Devices, Processor, Power, and
   17149 Thermal.
   17150 
   17151 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
   17152 critical information is returned when this debug level is enabled.
   17153 
   17154 Code and Data Size: Current core subsystem library sizes are shown
   17155 below.  These are the code and data sizes for the acpica.lib
   17156 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17157 values do not include any ACPI driver or OSPM code.  The debug
   17158 version of the code includes the debug output trace mechanism and
   17159 has a larger code and data size.  Note that these values will vary
   17160 depending on the efficiency of the compiler and the compiler
   17161 options used during generation.
   17162 
   17163   Previous Release
   17164     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   17165     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   17166   Current Release:
   17167     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   17168     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   17169 
   17170 
   17171 2) Linux:
   17172 
   17173 The processor driver (acpi_processor.c) now fully supports ACPI
   17174 2.0-based processor performance control (e.g. Intel(R)
   17175 SpeedStep(TM) technology) Note that older laptops that only have
   17176 the Intel "applet" interface are not supported through this.  The
   17177 'limit' and 'performance' interface (/proc) are fully functional.
   17178 [Note that basic policy for controlling performance state
   17179 transitions will be included in the next version of ospmd.]  The
   17180 idle handler was modified to more aggressively use C2, and PIIX4
   17181 errata handling underwent a complete overhaul (big thanks to
   17182 Dominik Brodowski).
   17183 
   17184 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
   17185 based devices in the ACPI namespace are now dynamically bound
   17186 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
   17187 This allows, among other things, ACPI to resolve bus numbers for
   17188 subordinate PCI bridges.
   17189 
   17190 Enhanced PCI IRQ routing to get the proper bus number for _PRT
   17191 entries defined underneath PCI bridges.
   17192 
   17193 Added IBM 600E to bad bios list due to invalid _ADR value for
   17194 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
   17195 
   17196 In the process of adding full MADT support (e.g. IOAPIC) for IA32
   17197 (acpi.c, mpparse.c) -- stay tuned.
   17198 
   17199 Added back visual differentiation between fixed-feature and
   17200 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
   17201 button/power/PWRF) to simplify button identification.
   17202 
   17203 We no longer use -Wno-unused when compiling debug. Please ignore
   17204 any "_THIS_MODULE defined but not used" messages.
   17205 
   17206 Can now shut down the system using "magic sysrq" key.
   17207 
   17208 
   17209 3) iASL Compiler version 2041:
   17210 
   17211 Fixed a problem where conversion errors for hex/octal/decimal
   17212 constants were not reported.
   17213 
   17214 Implemented a fix for the General Register template Address field.
   17215 This field was 8 bits when it should be 64.
   17216 
   17217 Fixed a problem where errors/warnings were no longer being emitted
   17218 within the listing output file.
   17219 
   17220 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
   17221 exactly 4 characters, alphanumeric only.
   17222 
   17223 
   17224 
   17225 
   17226 ----------------------------------------
   17227 Summary of changes for this release: 03_08_02
   17228 
   17229 
   17230 1) ACPI CA Core Subsystem Version 20020308:
   17231 
   17232 Fixed a problem with AML Fields where the use of the "AccessAny"
   17233 keyword could cause an interpreter error due to attempting to read
   17234 or write beyond the end of the parent Operation Region.
   17235 
   17236 Fixed a problem in the SystemMemory Operation Region handler where
   17237 an attempt was made to map memory beyond the end of the region.
   17238 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
   17239 errors on some Linux systems.
   17240 
   17241 Fixed a problem where the interpreter/namespace "search to root"
   17242 algorithm was not functioning for some object types.  Relaxed the
   17243 internal restriction on the search to allow upsearches for all
   17244 external object types as well as most internal types.
   17245 
   17246 
   17247 2) Linux:
   17248 
   17249 We now use safe_halt() macro versus individual calls to sti | hlt.
   17250 
   17251 Writing to the processor limit interface should now work. "echo 1"
   17252 will increase the limit, 2 will decrease, and 0 will reset to the
   17253 
   17254 default.
   17255 
   17256 
   17257 3) ASL compiler:
   17258 
   17259 Fixed segfault on Linux version.
   17260 
   17261 
   17262 ----------------------------------------
   17263 Summary of changes for this release: 02_25_02
   17264 
   17265 1) ACPI CA Core Subsystem:
   17266 
   17267 
   17268 Fixed a problem where the GPE bit masks were not initialized
   17269 properly, causing erratic GPE behavior.
   17270 
   17271 Implemented limited support for multiple calling conventions.  The
   17272 code can be generated with either the VPL (variable parameter
   17273 list, or "C") convention, or the FPL (fixed parameter list, or
   17274 "Pascal") convention.  The core subsystem is about 3.4% smaller
   17275 when generated with FPL.
   17276 
   17277 
   17278 2) Linux
   17279 
   17280 Re-add some /proc/acpi/event functionality that was lost during
   17281 the rewrite
   17282 
   17283 Resolved issue with /proc events for fixed-feature buttons showing
   17284 up as the system device.
   17285 
   17286 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
   17287 
   17288 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
   17289 
   17290 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
   17291 
   17292 Fixed limit interface & usage to fix bugs with passive cooling
   17293 hysterisis.
   17294 
   17295 Restructured PRT support.
   17296 
   17297 
   17298 ----------------------------------------
   17299 Summary of changes for this label: 02_14_02
   17300 
   17301 
   17302 1) ACPI CA Core Subsystem:
   17303 
   17304 Implemented support in AcpiLoadTable to allow loading of FACS and
   17305 FADT tables.
   17306 
   17307 Support for the now-obsolete interim 0.71 64-bit ACPI tables has
   17308 been removed.  All 64-bit platforms should be migrated to the ACPI
   17309 2.0 tables.  The actbl71.h header has been removed from the source
   17310 tree.
   17311 
   17312 All C macros defined within the subsystem have been prefixed with
   17313 "ACPI_" to avoid collision with other system include files.
   17314 
   17315 Removed the return value for the two AcpiOsPrint interfaces, since
   17316 it is never used and causes lint warnings for ignoring the return
   17317 value.
   17318 
   17319 Added error checking to all internal mutex acquire and release
   17320 calls.  Although a failure from one of these interfaces is
   17321 probably a fatal system error, these checks will cause the
   17322 immediate abort of the currently executing method or interface.
   17323 
   17324 Fixed a problem where the AcpiSetCurrentResources interface could
   17325 fault.  This was a side effect of the deployment of the new memory
   17326 allocation model.
   17327 
   17328 Fixed a couple of problems with the Global Lock support introduced
   17329 in the last major build.  The "common" (1.0/2.0) internal FACS was
   17330 being overwritten with the FACS signature and clobbering the
   17331 Global Lock pointer.  Also, the actual firmware FACS was being
   17332 unmapped after construction of the "common" FACS, preventing
   17333 access to the actual Global Lock field within it.  The "common"
   17334 internal FACS is no longer installed as an actual ACPI table; it
   17335 is used simply as a global.
   17336 
   17337 Code and Data Size: Current core subsystem library sizes are shown
   17338 below.  These are the code and data sizes for the acpica.lib
   17339 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17340 values do not include any ACPI driver or OSPM code.  The debug
   17341 version of the code includes the debug output trace mechanism and
   17342 has a larger code and data size.  Note that these values will vary
   17343 depending on the efficiency of the compiler and the compiler
   17344 options used during generation.
   17345 
   17346   Previous Release (02_07_01)
   17347     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   17348     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   17349   Current Release:
   17350     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   17351     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   17352 
   17353 
   17354 2) Linux
   17355 
   17356 Updated Linux-specific code for core macro and OSL interface
   17357 changes described above.
   17358 
   17359 Improved /proc/acpi/event. It now can be opened only once and has
   17360 proper poll functionality.
   17361 
   17362 Fixed and restructured power management (acpi_bus).
   17363 
   17364 Only create /proc "view by type" when devices of that class exist.
   17365 
   17366 Fixed "charging/discharging" bug (and others) in acpi_battery.
   17367 
   17368 Improved thermal zone code.
   17369 
   17370 
   17371 3) ASL Compiler, version X2039:
   17372 
   17373 
   17374 Implemented the new compiler restriction on ASL String hex/octal
   17375 escapes to non-null, ASCII values.  An error results if an invalid
   17376 value is used.  (This will require an ACPI 2.0 specification
   17377 change.)
   17378 
   17379 AML object labels that are output to the optional C and ASM source
   17380 are now prefixed with both the ACPI table signature and table ID
   17381 to help guarantee uniqueness within a large BIOS project.
   17382 
   17383 
   17384 ----------------------------------------
   17385 Summary of changes for this label: 02_01_02
   17386 
   17387 1) ACPI CA Core Subsystem:
   17388 
   17389 ACPI 2.0 support is complete in the entire Core Subsystem and the
   17390 ASL compiler. All new ACPI 2.0 operators are implemented and all
   17391 other changes for ACPI 2.0 support are complete.  With
   17392 simultaneous code and data optimizations throughout the subsystem,
   17393 ACPI 2.0 support has been implemented with almost no additional
   17394 cost in terms of code and data size.
   17395 
   17396 Implemented a new mechanism for allocation of return buffers.  If
   17397 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
   17398 be allocated on behalf of the caller.  Consolidated all return
   17399 buffer validation and allocation to a common procedure.  Return
   17400 buffers will be allocated via the primary OSL allocation interface
   17401 since it appears that a separate pool is not needed by most users.
   17402 If a separate pool is required for these buffers, the caller can
   17403 still use the original mechanism and pre-allocate the buffer(s).
   17404 
   17405 Implemented support for string operands within the DerefOf
   17406 operator.
   17407 
   17408 Restructured the Hardware and Event managers to be table driven,
   17409 simplifying the source code and reducing the amount of generated
   17410 code.
   17411 
   17412 Split the common read/write low-level ACPI register bitfield
   17413 procedure into a separate read and write, simplifying the code
   17414 considerably.
   17415 
   17416 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
   17417 used only a handful of times and didn't have enough critical mass
   17418 for a separate interface.  Replaced with a common calloc procedure
   17419 in the core.
   17420 
   17421 Fixed a reported problem with the GPE number mapping mechanism
   17422 that allows GPE1 numbers to be non-contiguous with GPE0.
   17423 Reorganized the GPE information and shrunk a large array that was
   17424 originally large enough to hold info for all possible GPEs (256)
   17425 to simply large enough to hold all GPEs up to the largest GPE
   17426 number on the machine.
   17427 
   17428 Fixed a reported problem with resource structure alignment on 64-
   17429 bit platforms.
   17430 
   17431 Changed the AcpiEnableEvent and AcpiDisableEvent external
   17432 interfaces to not require any flags for the common case of
   17433 enabling/disabling a GPE.
   17434 
   17435 Implemented support to allow a "Notify" on a Processor object.
   17436 
   17437 Most TBDs in comments within the source code have been resolved
   17438 and eliminated.
   17439 
   17440 
   17441 Fixed a problem in the interpreter where a standalone parent
   17442 prefix (^) was not handled correctly in the interpreter and
   17443 debugger.
   17444 
   17445 Removed obsolete and unnecessary GPE save/restore code.
   17446 
   17447 Implemented Field support in the ASL Load operator.  This allows a
   17448 table to be loaded from a named field, in addition to loading a
   17449 table directly from an Operation Region.
   17450 
   17451 Implemented timeout and handle support in the external Global Lock
   17452 interfaces.
   17453 
   17454 Fixed a problem in the AcpiDump utility where pathnames were no
   17455 longer being generated correctly during the dump of named objects.
   17456 
   17457 Modified the AML debugger to give a full display of if/while
   17458 predicates instead of just one AML opcode at a time.  (The
   17459 predicate can have several nested ASL statements.)  The old method
   17460 was confusing during single stepping.
   17461 
   17462 Code and Data Size: Current core subsystem library sizes are shown
   17463 below. These are the code and data sizes for the acpica.lib
   17464 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17465 values do not include any ACPI driver or OSPM code.  The debug
   17466 version of the code includes the debug output trace mechanism and
   17467 has a larger code and data size.  Note that these values will vary
   17468 depending on the efficiency of the compiler and the compiler
   17469 options used during generation.
   17470 
   17471   Previous Release (12_18_01)
   17472      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   17473      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   17474    Current Release:
   17475      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   17476      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   17477 
   17478 2) Linux
   17479 
   17480  Implemented fix for PIIX reverse throttling errata (Processor
   17481 driver)
   17482 
   17483 Added new Limit interface (Processor and Thermal drivers)
   17484 
   17485 New thermal policy (Thermal driver)
   17486 
   17487 Many updates to /proc
   17488 
   17489 Battery "low" event support (Battery driver)
   17490 
   17491 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
   17492 
   17493 IA32 - IA64 initialization unification, no longer experimental
   17494 
   17495 Menuconfig options redesigned
   17496 
   17497 3) ASL Compiler, version X2037:
   17498 
   17499 Implemented several new output features to simplify integration of
   17500 AML code into  firmware: 1) Output the AML in C source code with
   17501 labels for each named ASL object.  The    original ASL source code
   17502 is interleaved as C comments. 2) Output the AML in ASM source code
   17503 with labels and interleaved ASL    source. 3) Output the AML in
   17504 raw hex table form, in either C or ASM.
   17505 
   17506 Implemented support for optional string parameters to the
   17507 LoadTable operator.
   17508 
   17509 Completed support for embedded escape sequences within string
   17510 literals.  The compiler now supports all single character escapes
   17511 as well as the Octal and Hex escapes.  Note: the insertion of a
   17512 null byte into a string literal (via the hex/octal escape) causes
   17513 the string to be immediately terminated.  A warning is issued.
   17514 
   17515 Fixed a problem where incorrect AML was generated for the case
   17516 where an ASL namepath consists of a single parent prefix (
   17517 
   17518 ) with no trailing name segments.
   17519 
   17520 The compiler has been successfully generated with a 64-bit C
   17521 compiler.
   17522 
   17523 
   17524 
   17525 
   17526 ----------------------------------------
   17527 Summary of changes for this label: 12_18_01
   17528 
   17529 1) Linux
   17530 
   17531 Enhanced blacklist with reason and severity fields. Any table's
   17532 signature may now be used to identify a blacklisted system.
   17533 
   17534 Call _PIC control method to inform the firmware which interrupt
   17535 model the OS is using. Turn on any disabled link devices.
   17536 
   17537 Cleaned up busmgr /proc error handling (Andreas Dilger)
   17538 
   17539  2) ACPI CA Core Subsystem:
   17540 
   17541 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
   17542 while loop)
   17543 
   17544 Completed implementation of the ACPI 2.0 "Continue",
   17545 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
   17546 operators.  All new ACPI 2.0 operators are now implemented in both
   17547 the ASL compiler and the AML interpreter.  The only remaining ACPI
   17548 2.0 task is support for the String data type in the DerefOf
   17549 operator.  Fixed a problem with AcquireMutex where the status code
   17550 was lost if the caller had to actually wait for the mutex.
   17551 
   17552 Increased the maximum ASL Field size from 64K bits to 4G bits.
   17553 
   17554 Completed implementation of the external Global Lock interfaces --
   17555 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
   17556 Handler parameters were added.
   17557 
   17558 Completed another pass at removing warnings and issues when
   17559 compiling with 64-bit compilers.  The code now compiles cleanly
   17560 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
   17561 add and subtract (diff) macros have changed considerably.
   17562 
   17563 
   17564 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
   17565 64-bit platforms, 32-bits on all others.  This type is used
   17566 wherever memory allocation and/or the C sizeof() operator is used,
   17567 and affects the OSL memory allocation interfaces AcpiOsAllocate
   17568 and AcpiOsCallocate.
   17569 
   17570 Implemented sticky user breakpoints in the AML debugger.
   17571 
   17572 Code and Data Size: Current core subsystem library sizes are shown
   17573 below. These are the code and data sizes for the acpica.lib
   17574 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17575 values do not include any ACPI driver or OSPM code.  The debug
   17576 version of the code includes the debug output trace mechanism and
   17577 has a larger code and data size. Note that these values will vary
   17578 depending on the efficiency of the compiler and the compiler
   17579 options used during generation.
   17580 
   17581   Previous Release (12_05_01)
   17582      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   17583      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   17584    Current Release:
   17585      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   17586      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   17587 
   17588  3) ASL Compiler, version X2034:
   17589 
   17590 Now checks for (and generates an error if detected) the use of a
   17591 Break or Continue statement without an enclosing While statement.
   17592 
   17593 
   17594 Successfully generated the compiler with the Intel 64-bit C
   17595 compiler.
   17596 
   17597  ----------------------------------------
   17598 Summary of changes for this label: 12_05_01
   17599 
   17600  1) ACPI CA Core Subsystem:
   17601 
   17602 The ACPI 2.0 CopyObject operator is fully implemented.  This
   17603 operator creates a new copy of an object (and is also used to
   17604 bypass the "implicit conversion" mechanism of the Store operator.)
   17605 
   17606 The ACPI 2.0 semantics for the SizeOf operator are fully
   17607 implemented.  The change is that performing a SizeOf on a
   17608 reference object causes an automatic dereference of the object to
   17609 tha actual value before the size is evaluated. This behavior was
   17610 undefined in ACPI 1.0.
   17611 
   17612 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
   17613 have been implemented.  The interrupt polarity and mode are now
   17614 independently set.
   17615 
   17616 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
   17617 appearing in Package objects were not properly converted to
   17618 integers when the internal Package was converted to an external
   17619 object (via the AcpiEvaluateObject interface.)
   17620 
   17621 Fixed a problem with the namespace object deletion mechanism for
   17622 objects created by control methods.  There were two parts to this
   17623 problem: 1) Objects created during the initialization phase method
   17624 parse were not being deleted, and 2) The object owner ID mechanism
   17625 to track objects was broken.
   17626 
   17627 Fixed a problem where the use of the ASL Scope operator within a
   17628 control method would result in an invalid opcode exception.
   17629 
   17630 Fixed a problem introduced in the previous label where the buffer
   17631 length required for the _PRT structure was not being returned
   17632 correctly.
   17633 
   17634 Code and Data Size: Current core subsystem library sizes are shown
   17635 below. These are the code and data sizes for the acpica.lib
   17636 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17637 values do not include any ACPI driver or OSPM code.  The debug
   17638 version of the code includes the debug output trace mechanism and
   17639 has a larger code and data size.  Note that these values will vary
   17640 depending on the efficiency of the compiler and the compiler
   17641 options used during generation.
   17642 
   17643   Previous Release (11_20_01)
   17644      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   17645      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   17646 
   17647   Current Release:
   17648      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   17649      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   17650 
   17651  2) Linux:
   17652 
   17653 Updated all files to apply cleanly against 2.4.16.
   17654 
   17655 Added basic PCI Interrupt Routing Table (PRT) support for IA32
   17656 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
   17657 version supports both static and dynamic PRT entries, but dynamic
   17658 entries are treated as if they were static (not yet
   17659 reconfigurable).  Architecture- specific code to use this data is
   17660 absent on IA32 but should be available shortly.
   17661 
   17662 Changed the initialization sequence to start the ACPI interpreter
   17663 (acpi_init) prior to initialization of the PCI driver (pci_init)
   17664 in init/main.c.  This ordering is required to support PRT and
   17665 facilitate other (future) enhancement.  A side effect is that the
   17666 ACPI bus driver and certain device drivers can no longer be loaded
   17667 as modules.
   17668 
   17669 Modified the 'make menuconfig' options to allow PCI Interrupt
   17670 Routing support to be included without the ACPI Bus and other
   17671 device drivers.
   17672 
   17673  3) ASL Compiler, version X2033:
   17674 
   17675 Fixed some issues with the use of the new CopyObject and
   17676 DataTableRegion operators.  Both are fully functional.
   17677 
   17678  ----------------------------------------
   17679 Summary of changes for this label: 11_20_01
   17680 
   17681  20 November 2001.  Summary of changes for this release.
   17682 
   17683  1) ACPI CA Core Subsystem:
   17684 
   17685 Updated Index support to match ACPI 2.0 semantics.  Storing a
   17686 Integer, String, or Buffer to an Index of a Buffer will store only
   17687 the least-significant byte of the source to the Indexed buffer
   17688 byte.  Multiple writes are not performed.
   17689 
   17690 Fixed a problem where the access type used in an AccessAs ASL
   17691 operator was not recorded correctly into the field object.
   17692 
   17693 Fixed a problem where ASL Event objects were created in a
   17694 signalled state. Events are now created in an unsignalled state.
   17695 
   17696 The internal object cache is now purged after table loading and
   17697 initialization to reduce the use of dynamic kernel memory -- on
   17698 the assumption that object use is greatest during the parse phase
   17699 of the entire table (versus the run-time use of individual control
   17700 methods.)
   17701 
   17702 ACPI 2.0 variable-length packages are now fully operational.
   17703 
   17704 Code and Data Size: Code and Data optimizations have permitted new
   17705 feature development with an actual reduction in the library size.
   17706 Current core subsystem library sizes are shown below.  These are
   17707 the code and data sizes for the acpica.lib produced by the
   17708 Microsoft Visual C++ 6.0 compiler, and these values do not include
   17709 any ACPI driver or OSPM code.  The debug version of the code
   17710 includes the debug output trace mechanism and has a larger code
   17711 and data size.  Note that these values will vary depending on the
   17712 efficiency of the compiler and the compiler options used during
   17713 generation.
   17714 
   17715   Previous Release (11_09_01):
   17716      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   17717      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   17718 
   17719   Current Release:
   17720      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   17721      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   17722 
   17723  2) Linux:
   17724 
   17725 Enhanced the ACPI boot-time initialization code to allow the use
   17726 of Local APIC tables for processor enumeration on IA-32, and to
   17727 pave the way for a fully MPS-free boot (on SMP systems) in the
   17728 near future.  This functionality replaces
   17729 arch/i386/kernel/acpitables.c, which was introduced in an earlier
   17730 2.4.15-preX release.  To enable this feature you must add
   17731 "acpi_boot=on" to the kernel command line -- see the help entry
   17732 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
   17733 the works...
   17734 
   17735 Restructured the configuration options to allow boot-time table
   17736 parsing support without inclusion of the ACPI Interpreter (and
   17737 other) code.
   17738 
   17739 NOTE: This release does not include fixes for the reported events,
   17740 power-down, and thermal passive cooling issues (coming soon).
   17741 
   17742  3) ASL Compiler:
   17743 
   17744 Added additional typechecking for Fields within restricted access
   17745 Operation Regions.  All fields within EC and CMOS regions must be
   17746 declared with ByteAcc. All fields within SMBus regions must be
   17747 declared with the BufferAcc access type.
   17748 
   17749 Fixed a problem where the listing file output of control methods
   17750 no longer interleaved the actual AML code with the ASL source
   17751 code.
   17752 
   17753 
   17754 
   17755 
   17756 ----------------------------------------
   17757 Summary of changes for this label: 11_09_01
   17758 
   17759 1) ACPI CA Core Subsystem:
   17760 
   17761 Implemented ACPI 2.0-defined support for writes to fields with a
   17762 Buffer, String, or Integer source operand that is smaller than the
   17763 target field. In these cases, the source operand is zero-extended
   17764 to fill the target field.
   17765 
   17766 Fixed a problem where a Field starting bit offset (within the
   17767 parent operation region) was calculated incorrectly if the
   17768 
   17769 alignment of the field differed from the access width.  This
   17770 affected CreateWordField, CreateDwordField, CreateQwordField, and
   17771 possibly other fields that use the "AccessAny" keyword.
   17772 
   17773 Fixed a problem introduced in the 11_02_01 release where indirect
   17774 stores through method arguments did not operate correctly.
   17775 
   17776 2) Linux:
   17777 
   17778 Implemented boot-time ACPI table parsing support
   17779 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
   17780 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
   17781 legacy BIOS interfaces (e.g. MPS) for the configuration of system
   17782 processors, memory, and interrupts during setup_arch().  Note that
   17783 this patch does not include the required architecture-specific
   17784 changes required to apply this information -- subsequent patches
   17785 will be posted for both IA32 and IA64 to achieve this.
   17786 
   17787 Added low-level sleep support for IA32 platforms, courtesy of Pat
   17788 Mochel. This allows IA32 systems to transition to/from various
   17789 sleeping states (e.g. S1, S3), although the lack of a centralized
   17790 driver model and power-manageable drivers will prevent its
   17791 (successful) use on most systems.
   17792 
   17793 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
   17794 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
   17795 tables" option, etc.
   17796 
   17797 Increased the default timeout for the EC driver from 1ms to 10ms
   17798 (1000 cycles of 10us) to try to address AE_TIME errors during EC
   17799 transactions.
   17800 
   17801  ----------------------------------------
   17802 Summary of changes for this label: 11_02_01
   17803 
   17804 1) ACPI CA Core Subsystem:
   17805 
   17806 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
   17807 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
   17808 implemented.
   17809 
   17810 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
   17811 changes to support ACPI 2.0 Qword field access.  Read/Write
   17812 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
   17813 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
   17814 the value parameter for the address space handler interface is now
   17815 an ACPI_INTEGER.  OSL implementations of these interfaces must now
   17816 handle the case where the Width parameter is 64.
   17817 
   17818 Index Fields: Fixed a problem where unaligned bit assembly and
   17819 disassembly for IndexFields was not supported correctly.
   17820 
   17821 Index and Bank Fields:  Nested Index and Bank Fields are now
   17822 supported. During field access, a check is performed to ensure
   17823 that the value written to an Index or Bank register is not out of
   17824 the range of the register.  The Index (or Bank) register is
   17825 written before each access to the field data. Future support will
   17826 include allowing individual IndexFields to be wider than the
   17827 DataRegister width.
   17828 
   17829 Fields: Fixed a problem where the AML interpreter was incorrectly
   17830 attempting to write beyond the end of a Field/OpRegion.  This was
   17831 a boundary case that occurred when a DWORD field was written to a
   17832 BYTE access OpRegion, forcing multiple writes and causing the
   17833 interpreter to write one datum too many.
   17834 
   17835 Fields: Fixed a problem with Field/OpRegion access where the
   17836 starting bit address of a field was incorrectly calculated if the
   17837 current access type was wider than a byte (WordAcc, DwordAcc, or
   17838 QwordAcc).
   17839 
   17840 Fields: Fixed a problem where forward references to individual
   17841 FieldUnits (individual Field names within a Field definition) were
   17842 not resolved during the AML table load.
   17843 
   17844 Fields: Fixed a problem where forward references from a Field
   17845 definition to the parent Operation Region definition were not
   17846 resolved during the AML table load.
   17847 
   17848 Fields: Duplicate FieldUnit names within a scope are now detected
   17849 during AML table load.
   17850 
   17851 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
   17852 returned an incorrect name for the root node.
   17853 
   17854 Code and Data Size: Code and Data optimizations have permitted new
   17855 feature development with an actual reduction in the library size.
   17856 Current core subsystem library sizes are shown below.  These are
   17857 the code and data sizes for the acpica.lib produced by the
   17858 Microsoft Visual C++ 6.0 compiler, and these values do not include
   17859 any ACPI driver or OSPM code.  The debug version of the code
   17860 includes the debug output trace mechanism and has a larger code
   17861 and data size.  Note that these values will vary depending on the
   17862 efficiency of the compiler and the compiler options used during
   17863 generation.
   17864 
   17865   Previous Release (10_18_01):
   17866      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   17867      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   17868 
   17869   Current Release:
   17870      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   17871      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   17872 
   17873  2) Linux:
   17874 
   17875 Improved /proc processor output (Pavel Machek) Re-added
   17876 MODULE_LICENSE("GPL") to all modules.
   17877 
   17878  3) ASL Compiler version X2030:
   17879 
   17880 Duplicate FieldUnit names within a scope are now detected and
   17881 flagged as errors.
   17882 
   17883  4) Documentation:
   17884 
   17885 Programmer Reference updated to reflect OSL and address space
   17886 handler interface changes described above.
   17887 
   17888 ----------------------------------------
   17889 Summary of changes for this label: 10_18_01
   17890 
   17891 ACPI CA Core Subsystem:
   17892 
   17893 Fixed a problem with the internal object reference count mechanism
   17894 that occasionally caused premature object deletion. This resolves
   17895 all of the outstanding problem reports where an object is deleted
   17896 in the middle of an interpreter evaluation.  Although this problem
   17897 only showed up in rather obscure cases, the solution to the
   17898 problem involved an adjustment of all reference counts involving
   17899 objects attached to namespace nodes.
   17900 
   17901 Fixed a problem with Field support in the interpreter where
   17902 writing to an aligned field whose length is an exact multiple (2
   17903 or greater) of the field access granularity would cause an attempt
   17904 to write beyond the end of the field.
   17905 
   17906 The top level AML opcode execution functions within the
   17907 interpreter have been renamed with a more meaningful and
   17908 consistent naming convention.  The modules exmonad.c and
   17909 exdyadic.c were eliminated.  New modules are exoparg1.c,
   17910 exoparg2.c, exoparg3.c, and exoparg6.c.
   17911 
   17912 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
   17913 
   17914 Fixed a problem where the AML debugger was causing some internal
   17915 objects to not be deleted during subsystem termination.
   17916 
   17917 Fixed a problem with the external AcpiEvaluateObject interface
   17918 where the subsystem would fault if the named object to be
   17919 evaluated referred to a constant such as Zero, Ones, etc.
   17920 
   17921 Fixed a problem with IndexFields and BankFields where the
   17922 subsystem would fault if the index, data, or bank registers were
   17923 not defined in the same scope as the field itself.
   17924 
   17925 Added printf format string checking for compilers that support
   17926 this feature.  Corrected more than 50 instances of issues with
   17927 format specifiers within invocations of ACPI_DEBUG_PRINT
   17928 throughout the core subsystem code.
   17929 
   17930 The ASL "Revision" operator now returns the ACPI support level
   17931 implemented in the core - the value "2" since the ACPI 2.0 support
   17932 is more than 50% implemented.
   17933 
   17934 Enhanced the output of the AML debugger "dump namespace" command
   17935 to output in a more human-readable form.
   17936 
   17937 Current core subsystem library code sizes are shown below.  These
   17938 
   17939 are the code and data sizes for the acpica.lib produced by the
   17940 Microsoft Visual C++ 6.0 compiler, and these values do not include
   17941 any ACPI driver or OSPM code.  The debug version of the code
   17942 includes the full debug trace mechanism -- leading to a much
   17943 
   17944 larger code and data size.  Note that these values will vary
   17945 depending on the efficiency of the compiler and the compiler
   17946 options used during generation.
   17947 
   17948      Previous Label (09_20_01):
   17949      Non-Debug Version:    65K Code,     5K Data,     70K Total
   17950      Debug Version:       138K Code,    58K Data,    196K Total
   17951 
   17952      This Label:
   17953 
   17954      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   17955      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   17956 
   17957 Linux:
   17958 
   17959 Implemented a "Bad BIOS Blacklist" to track machines that have
   17960 known ASL/AML problems.
   17961 
   17962 Enhanced the /proc interface for the thermal zone driver and added
   17963 support for _HOT (the critical suspend trip point).  The 'info'
   17964 file now includes threshold/policy information, and allows setting
   17965 of _SCP (cooling preference) and _TZP (polling frequency) values
   17966 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
   17967 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
   17968 preference to the passive/quiet mode (if supported by the ASL).
   17969 
   17970 Implemented a workaround for a gcc bug that resuted in an OOPs
   17971 when loading the control method battery driver.
   17972 
   17973  ----------------------------------------
   17974 Summary of changes for this label: 09_20_01
   17975 
   17976  ACPI CA Core Subsystem:
   17977 
   17978 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
   17979 modified to allow individual GPE levels to be flagged as wake-
   17980 enabled (i.e., these GPEs are to remain enabled when the platform
   17981 sleeps.)
   17982 
   17983 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
   17984 support wake-enabled GPEs.  This means that upon entering the
   17985 sleep state, all GPEs that are not wake-enabled are disabled.
   17986 When leaving the sleep state, these GPEs are re-enabled.
   17987 
   17988 A local double-precision divide/modulo module has been added to
   17989 enhance portability to OS kernels where a 64-bit math library is
   17990 not available.  The new module is "utmath.c".
   17991 
   17992 Several optimizations have been made to reduce the use of CPU
   17993 stack.  Originally over 2K, the maximum stack usage is now below
   17994 2K at 1860  bytes (1.82k)
   17995 
   17996 Fixed a problem with the AcpiGetFirmwareTable interface where the
   17997 root table pointer was not mapped into a logical address properly.
   17998 
   17999 Fixed a problem where a NULL pointer was being dereferenced in the
   18000 interpreter code for the ASL Notify operator.
   18001 
   18002 Fixed a problem where the use of the ASL Revision operator
   18003 returned an error. This operator now returns the current version
   18004 of the ACPI CA core subsystem.
   18005 
   18006 Fixed a problem where objects passed as control method parameters
   18007 to AcpiEvaluateObject were always deleted at method termination.
   18008 However, these objects may end up being stored into the namespace
   18009 by the called method.  The object reference count mechanism was
   18010 applied to these objects instead of a force delete.
   18011 
   18012 Fixed a problem where static strings or buffers (contained in the
   18013 AML code) that are declared as package elements within the ASL
   18014 code could cause a fault because the interpreter would attempt to
   18015 delete them.  These objects are now marked with the "static
   18016 object" flag to prevent any attempt to delete them.
   18017 
   18018 Implemented an interpreter optimization to use operands directly
   18019 from the state object instead of extracting the operands to local
   18020 variables.  This reduces stack use and code size, and improves
   18021 performance.
   18022 
   18023 The module exxface.c was eliminated as it was an unnecessary extra
   18024 layer of code.
   18025 
   18026 Current core subsystem library code sizes are shown below.  These
   18027 are the code and data sizes for the acpica.lib produced by the
   18028 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18029 any ACPI driver or OSPM code.  The debug version of the code
   18030 includes the full debug trace mechanism -- leading to a much
   18031 larger code and data size.  Note that these values will vary
   18032 depending on the efficiency of the compiler and the compiler
   18033 options used during generation.
   18034 
   18035   Non-Debug Version:  65K Code,   5K Data,   70K Total
   18036 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
   18037 Total  (Previously 195K)
   18038 
   18039 Linux:
   18040 
   18041 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
   18042 Integer objects are now 64 bits wide
   18043 
   18044 All Acpi data types and structures are now in lower case.  Only
   18045 Acpi macros are upper case for differentiation.
   18046 
   18047  Documentation:
   18048 
   18049 Changes to the external interfaces as described above.
   18050 
   18051  ----------------------------------------
   18052 Summary of changes for this label: 08_31_01
   18053 
   18054  ACPI CA Core Subsystem:
   18055 
   18056 A bug with interpreter implementation of the ASL Divide operator
   18057 was found and fixed.  The implicit function return value (not the
   18058 explicit store operands) was returning the remainder instead of
   18059 the quotient.  This was a longstanding bug and it fixes several
   18060 known outstanding issues on various platforms.
   18061 
   18062 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
   18063 been further optimized for size.  There are 700 invocations of the
   18064 DEBUG_PRINT macro alone, so each optimization reduces the size of
   18065 the debug version of the subsystem significantly.
   18066 
   18067 A stack trace mechanism has been implemented.  The maximum stack
   18068 usage is about 2K on 32-bit platforms.  The debugger command "stat
   18069 stack" will display the current maximum stack usage.
   18070 
   18071 All public symbols and global variables within the subsystem are
   18072 now prefixed with the string "Acpi".  This keeps all of the
   18073 symbols grouped together in a kernel map, and avoids conflicts
   18074 with other kernel subsystems.
   18075 
   18076 Most of the internal fixed lookup tables have been moved into the
   18077 code segment via the const operator.
   18078 
   18079 Several enhancements have been made to the interpreter to both
   18080 reduce the code size and improve performance.
   18081 
   18082 Current core subsystem library code sizes are shown below.  These
   18083 are the code and data sizes for the acpica.lib produced by the
   18084 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18085 any ACPI driver or OSPM code.  The debug version of the code
   18086 includes the full debug trace mechanism which contains over 700
   18087 invocations of the DEBUG_PRINT macro, 500 function entry macro
   18088 invocations, and over 900 function exit macro invocations --
   18089 leading to a much larger code and data size.  Note that these
   18090 values will vary depending on the efficiency of the compiler and
   18091 the compiler options used during generation.
   18092 
   18093         Non-Debug Version:  64K Code,   5K Data,   69K Total
   18094 Debug Version:     137K Code,  58K Data,  195K Total
   18095 
   18096  Linux:
   18097 
   18098 Implemented wbinvd() macro, pending a kernel-wide definition.
   18099 
   18100 Fixed /proc/acpi/event to handle poll() and short reads.
   18101 
   18102  ASL Compiler, version X2026:
   18103 
   18104 Fixed a problem introduced in the previous label where the AML
   18105 
   18106 code emitted for package objects produced packages with zero
   18107 length.
   18108 
   18109  ----------------------------------------
   18110 Summary of changes for this label: 08_16_01
   18111 
   18112 ACPI CA Core Subsystem:
   18113 
   18114 The following ACPI 2.0 ASL operators have been implemented in the
   18115 AML interpreter (These are already supported by the Intel ASL
   18116 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
   18117 ToBuffer.  Support for 64-bit AML constants is implemented in the
   18118 AML parser, debugger, and disassembler.
   18119 
   18120 The internal memory tracking mechanism (leak detection code) has
   18121 been upgraded to reduce the memory overhead (a separate tracking
   18122 block is no longer allocated for each memory allocation), and now
   18123 supports all of the internal object caches.
   18124 
   18125 The data structures and code for the internal object caches have
   18126 been coelesced and optimized so that there is a single cache and
   18127 memory list data structure and a single group of functions that
   18128 implement generic cache management.  This has reduced the code
   18129 size in both the debug and release versions of the subsystem.
   18130 
   18131 The DEBUG_PRINT macro(s) have been optimized for size and replaced
   18132 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
   18133 different, because it generates a single call to an internal
   18134 function.  This results in a savings of about 90 bytes per
   18135 invocation, resulting in an overall code and data savings of about
   18136 16% in the debug version of the subsystem.
   18137 
   18138  Linux:
   18139 
   18140 Fixed C3 disk corruption problems and re-enabled C3 on supporting
   18141 machines.
   18142 
   18143 Integrated low-level sleep code by Patrick Mochel.
   18144 
   18145 Further tweaked source code Linuxization.
   18146 
   18147 Other minor fixes.
   18148 
   18149  ASL Compiler:
   18150 
   18151 Support for ACPI 2.0 variable length packages is fixed/completed.
   18152 
   18153 Fixed a problem where the optional length parameter for the ACPI
   18154 2.0 ToString operator.
   18155 
   18156 Fixed multiple extraneous error messages when a syntax error is
   18157 detected within the declaration line of a control method.
   18158 
   18159  ----------------------------------------
   18160 Summary of changes for this label: 07_17_01
   18161 
   18162 ACPI CA Core Subsystem:
   18163 
   18164 Added a new interface named AcpiGetFirmwareTable to obtain any
   18165 ACPI table via the ACPI signature.  The interface can be called at
   18166 any time during kernel initialization, even before the kernel
   18167 virtual memory manager is initialized and paging is enabled.  This
   18168 allows kernel subsystems to obtain ACPI tables very early, even
   18169 before the ACPI CA subsystem is initialized.
   18170 
   18171 Fixed a problem where Fields defined with the AnyAcc attribute
   18172 could be resolved to the incorrect address under the following
   18173 conditions: 1) the field width is larger than 8 bits and 2) the
   18174 parent operation region is not defined on a DWORD boundary.
   18175 
   18176 Fixed a problem where the interpreter is not being locked during
   18177 namespace initialization (during execution of the _INI control
   18178 methods), causing an error when an attempt is made to release it
   18179 later.
   18180 
   18181 ACPI 2.0 support in the AML Interpreter has begun and will be
   18182 ongoing throughout the rest of this year.  In this label, The Mod
   18183 operator is implemented.
   18184 
   18185 Added a new data type to contain full PCI addresses named
   18186 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
   18187 and Function values.
   18188 
   18189  Linux:
   18190 
   18191 Enhanced the Linux version of the source code to change most
   18192 capitalized ACPI type names to lowercase. For example, all
   18193 instances of ACPI_STATUS are changed to acpi_status.  This will
   18194 result in a large diff, but the change is strictly cosmetic and
   18195 aligns the CA code closer to the Linux coding standard.
   18196 
   18197 OSL Interfaces:
   18198 
   18199 The interfaces to the PCI configuration space have been changed to
   18200 add the PCI Segment number and to split the single 32-bit combined
   18201 DeviceFunction field into two 16-bit fields.  This was
   18202 accomplished by moving the four values that define an address in
   18203 PCI configuration space (segment, bus, device, and function) to
   18204 the new ACPI_PCI_ID structure.
   18205 
   18206 The changes to the PCI configuration space interfaces led to a
   18207 reexamination of the complete set of address space access
   18208 interfaces for PCI, I/O, and Memory.  The previously existing 18
   18209 interfaces have proven difficult to maintain (any small change
   18210 must be propagated across at least 6 interfaces) and do not easily
   18211 allow for future expansion to 64 bits if necessary.  Also, on some
   18212 systems, it would not be appropriate to demultiplex the access
   18213 width (8, 16, 32,or 64) before calling the OSL if the
   18214 corresponding native OS interfaces contain a similar access width
   18215 parameter.  For these reasons, the 18 address space interfaces
   18216 have been replaced by these 6 new ones:
   18217 
   18218 AcpiOsReadPciConfiguration
   18219 AcpiOsWritePciConfiguration
   18220 AcpiOsReadMemory
   18221 AcpiOsWriteMemory
   18222 AcpiOsReadPort
   18223 AcpiOsWritePort
   18224 
   18225 Added a new interface named AcpiOsGetRootPointer to allow the OSL
   18226 to perform the platform and/or OS-specific actions necessary to
   18227 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
   18228 interface will simply call down to the CA core to perform the low-
   18229 memory search for the table.  On IA-64, the RSDP is obtained from
   18230 EFI.  Migrating this interface to the OSL allows the CA core to
   18231 
   18232 remain OS and platform independent.
   18233 
   18234 Added a new interface named AcpiOsSignal to provide a generic
   18235 "function code and pointer" interface for various miscellaneous
   18236 signals and notifications that must be made to the host OS.   The
   18237 first such signals are intended to support the ASL Fatal and
   18238 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
   18239 interface has been obsoleted.
   18240 
   18241 The definition of the AcpiFormatException interface has been
   18242 changed to simplify its use.  The caller no longer must supply a
   18243 buffer to the call; A pointer to a const string is now returned
   18244 directly.  This allows the call to be easily used in printf
   18245 statements, etc. since the caller does not have to manage a local
   18246 buffer.
   18247 
   18248 
   18249  ASL Compiler, Version X2025:
   18250 
   18251 The ACPI 2.0 Switch/Case/Default operators have been implemented
   18252 and are fully functional.  They will work with all ACPI 1.0
   18253 interpreters, since the operators are simply translated to If/Else
   18254 pairs.
   18255 
   18256 The ACPI 2.0 ElseIf operator is implemented and will also work
   18257 with 1.0 interpreters, for the same reason.
   18258 
   18259 Implemented support for ACPI 2.0 variable-length packages.  These
   18260 packages have a separate opcode, and their size is determined by
   18261 the interpreter at run-time.
   18262 
   18263 Documentation The ACPI CA Programmer Reference has been updated to
   18264 reflect the new interfaces and changes to existing interfaces.
   18265 
   18266  ------------------------------------------
   18267 Summary of changes for this label: 06_15_01
   18268 
   18269  ACPI CA Core Subsystem:
   18270 
   18271 Fixed a problem where a DWORD-accessed field within a Buffer
   18272 object would get its byte address inadvertently rounded down to
   18273 the nearest DWORD.  Buffers are always Byte-accessible.
   18274 
   18275  ASL Compiler, version X2024:
   18276 
   18277 Fixed a problem where the Switch() operator would either fault or
   18278 hang the compiler.  Note however, that the AML code for this ACPI
   18279 2.0 operator is not yet implemented.
   18280 
   18281 Compiler uses the new AcpiOsGetTimer interface to obtain compile
   18282 timings.
   18283 
   18284 Implementation of the CreateField operator automatically converts
   18285 a reference to a named field within a resource descriptor from a
   18286 byte offset to a bit offset if required.
   18287 
   18288 Added some missing named fields from the resource descriptor
   18289 support. These are the names that are automatically created by the
   18290 compiler to reference fields within a descriptor.  They are only
   18291 valid at compile time and are not passed through to the AML
   18292 interpreter.
   18293 
   18294 Resource descriptor named fields are now typed as Integers and
   18295 subject to compile-time typechecking when used in expressions.
   18296 
   18297  ------------------------------------------
   18298 Summary of changes for this label: 05_18_01
   18299 
   18300  ACPI CA Core Subsystem:
   18301 
   18302 Fixed a couple of problems in the Field support code where bits
   18303 from adjacent fields could be returned along with the proper field
   18304 bits. Restructured the field support code to improve performance,
   18305 readability and maintainability.
   18306 
   18307 New DEBUG_PRINTP macro automatically inserts the procedure name
   18308 into the output, saving hundreds of copies of procedure name
   18309 strings within the source, shrinking the memory footprint of the
   18310 debug version of the core subsystem.
   18311 
   18312  Source Code Structure:
   18313 
   18314 The source code directory tree was restructured to reflect the
   18315 current organization of the component architecture.  Some files
   18316 and directories have been moved and/or renamed.
   18317 
   18318  Linux:
   18319 
   18320 Fixed leaking kacpidpc processes.
   18321 
   18322 Fixed queueing event data even when /proc/acpi/event is not
   18323 opened.
   18324 
   18325  ASL Compiler, version X2020:
   18326 
   18327 Memory allocation performance enhancement - over 24X compile time
   18328 improvement on large ASL files.  Parse nodes and namestring
   18329 buffers are now allocated from a large internal compiler buffer.
   18330 
   18331 The temporary .SRC file is deleted unless the "-s" option is
   18332 specified
   18333 
   18334 The "-d" debug output option now sends all output to the .DBG file
   18335 instead of the console.
   18336 
   18337 "External" second parameter is now optional
   18338 
   18339 "ElseIf" syntax now properly allows the predicate
   18340 
   18341 Last operand to "Load" now recognized as a Target operand
   18342 
   18343 Debug object can now be used anywhere as a normal object.
   18344 
   18345 ResourceTemplate now returns an object of type BUFFER
   18346 
   18347 EISAID now returns an object of type INTEGER
   18348 
   18349 "Index" now works with a STRING operand
   18350 
   18351 "LoadTable" now accepts optional parameters
   18352 
   18353 "ToString" length parameter is now optional
   18354 
   18355 "Interrupt (ResourceType," parse error fixed.
   18356 
   18357 "Register" with a user-defined region space parse error fixed
   18358 
   18359 Escaped backslash at the end of a string ("\\") scan/parse error
   18360 fixed
   18361 
   18362 "Revision" is now an object of type INTEGER.
   18363 
   18364 
   18365 
   18366 ------------------------------------------
   18367 Summary of changes for this label: 05_02_01
   18368 
   18369 Linux:
   18370 
   18371 /proc/acpi/event now blocks properly.
   18372 
   18373 Removed /proc/sys/acpi. You can still dump your DSDT from
   18374 /proc/acpi/dsdt.
   18375 
   18376  ACPI CA Core Subsystem:
   18377 
   18378 Fixed a problem introduced in the previous label where some of the
   18379 "small" resource descriptor types were not recognized.
   18380 
   18381 Improved error messages for the case where an ASL Field is outside
   18382 the range of the parent operation region.
   18383 
   18384  ASL Compiler, version X2018:
   18385 
   18386 
   18387 Added error detection for ASL Fields that extend beyond the length
   18388 of the parent operation region (only if the length of the region
   18389 is known at compile time.)  This includes fields that have a
   18390 minimum access width that is smaller than the parent region, and
   18391 individual field units that are partially or entirely beyond the
   18392 extent of the parent.
   18393 
   18394 
   18395 
   18396 ------------------------------------------
   18397 Summary of changes for this label: 04_27_01
   18398 
   18399  ACPI CA Core Subsystem:
   18400 
   18401 Fixed a problem where the namespace mutex could be released at the
   18402 wrong time during execution of AcpiRemoveAddressSpaceHandler.
   18403 
   18404 Added optional thread ID output for debug traces, to simplify
   18405 debugging of multiple threads.  Added context switch notification
   18406 when the debug code realizes that a different thread is now
   18407 executing ACPI code.
   18408 
   18409 Some additional external data types have been prefixed with the
   18410 string "ACPI_" for consistency.  This may effect existing code.
   18411 The data types affected are the external callback typedefs - e.g.,
   18412 
   18413 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
   18414 
   18415  Linux:
   18416 
   18417 Fixed an issue with the OSL semaphore implementation where a
   18418 thread was waking up with an error from receiving a SIGCHLD
   18419 signal.
   18420 
   18421 Linux version of ACPI CA now uses the system C library for string
   18422 manipulation routines instead of a local implementation.
   18423 
   18424 Cleaned up comments and removed TBDs.
   18425 
   18426  ASL Compiler, version X2017:
   18427 
   18428 Enhanced error detection and reporting for all file I/O
   18429 operations.
   18430 
   18431  Documentation:
   18432 
   18433 Programmer Reference updated to version 1.06.
   18434 
   18435 
   18436 
   18437 ------------------------------------------
   18438 Summary of changes for this label: 04_13_01
   18439 
   18440  ACPI CA Core Subsystem:
   18441 
   18442 Restructured support for BufferFields and RegionFields.
   18443 BankFields support is now fully operational.  All known 32-bit
   18444 limitations on field sizes have been removed.  Both BufferFields
   18445 and (Operation) RegionFields are now supported by the same field
   18446 management code.
   18447 
   18448 Resource support now supports QWORD address and IO resources. The
   18449 16/32/64 bit address structures and the Extended IRQ structure
   18450 have been changed to properly handle Source Resource strings.
   18451 
   18452 A ThreadId of -1 is now used to indicate a "mutex not acquired"
   18453 condition internally and must never be returned by AcpiOsThreadId.
   18454 This reserved value was changed from 0 since Unix systems allow a
   18455 thread ID of 0.
   18456 
   18457 Linux:
   18458 
   18459 Driver code reorganized to enhance portability
   18460 
   18461 Added a kernel configuration option to control ACPI_DEBUG
   18462 
   18463 Fixed the EC driver to honor _GLK.
   18464 
   18465 ASL Compiler, version X2016:
   18466 
   18467 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
   18468 address space was set to 0, not 0x7f as it should be.
   18469 
   18470  ------------------------------------------
   18471 Summary of changes for this label: 03_13_01
   18472 
   18473  ACPI CA Core Subsystem:
   18474 
   18475 During ACPI initialization, the _SB_._INI method is now run if
   18476 present.
   18477 
   18478 Notify handler fix - notifies are deferred until the parent method
   18479 completes execution.  This fixes the "mutex already acquired"
   18480 issue seen occasionally.
   18481 
   18482 Part of the "implicit conversion" rules in ACPI 2.0 have been
   18483 found to cause compatibility problems with existing ASL/AML.  The
   18484 convert "result-to-target-type" implementation has been removed
   18485 for stores to method Args and Locals.  Source operand conversion
   18486 is still fully implemented.  Possible changes to ACPI 2.0
   18487 specification pending.
   18488 
   18489 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
   18490 length.
   18491 
   18492 Fix for compiler warnings for 64-bit compiles.
   18493 
   18494  Linux:
   18495 
   18496 /proc output aligned for easier parsing.
   18497 
   18498 Release-version compile problem fixed.
   18499 
   18500 New kernel configuration options documented in Configure.help.
   18501 
   18502 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
   18503 context" message.
   18504 
   18505  OSPM:
   18506 
   18507 Power resource driver integrated with bus manager.
   18508 
   18509 Fixed kernel fault during active cooling for thermal zones.
   18510 
   18511 Source Code:
   18512 
   18513 The source code tree has been restructured.
   18514 
   18515 
   18516 
   18517 ------------------------------------------
   18518 Summary of changes for this label: 03_02_01
   18519 
   18520  Linux OS Services Layer (OSL):
   18521 
   18522 Major revision of all Linux-specific code.
   18523 
   18524 Modularized all ACPI-specific drivers.
   18525 
   18526 Added new thermal zone and power resource drivers.
   18527 
   18528 Revamped /proc interface (new functionality is under /proc/acpi).
   18529 
   18530 New kernel configuration options.
   18531 
   18532  Linux known issues:
   18533 
   18534 New kernel configuration options not documented in Configure.help
   18535 yet.
   18536 
   18537 
   18538 Module dependencies not currently implemented. If used, they
   18539 should be loaded in this order: busmgr, power, ec, system,
   18540 processor, battery, ac_adapter, button, thermal.
   18541 
   18542 Modules will not load if CONFIG_MODVERSION is set.
   18543 
   18544 IBM 600E - entering S5 may reboot instead of shutting down.
   18545 
   18546 IBM 600E - Sleep button may generate "Invalid <NULL> context"
   18547 message.
   18548 
   18549 Some systems may fail with "execution mutex already acquired"
   18550 message.
   18551 
   18552  ACPI CA Core Subsystem:
   18553 
   18554 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
   18555 for the  deadlock detection code. Defined to return a non-zero, 32-
   18556 bit thread ID for the currently executing thread.  May be a non-
   18557 zero constant integer on single-thread systems.
   18558 
   18559 Implemented deadlock detection for internal subsystem mutexes.  We
   18560 may add conditional compilation for this code (debug only) later.
   18561 
   18562 ASL/AML Mutex object semantics are now fully supported.  This
   18563 includes multiple acquires/releases by owner and support for the
   18564 
   18565 Mutex SyncLevel parameter.
   18566 
   18567 A new "Force Release" mechanism automatically frees all ASL
   18568 Mutexes that have been acquired but not released when a thread
   18569 exits the interpreter.  This forces conformance to the ACPI spec
   18570 ("All mutexes must be released when an invocation exits") and
   18571 prevents deadlocked ASL threads.  This mechanism can be expanded
   18572 (later) to monitor other resource acquisitions if OEM ASL code
   18573 continues to misbehave (which it will).
   18574 
   18575 Several new ACPI exception codes have been added for the Mutex
   18576 support.
   18577 
   18578 Recursive method calls are now allowed and supported (the ACPI
   18579 spec does in fact allow recursive method calls.)  The number of
   18580 recursive calls is subject to the restrictions imposed by the
   18581 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
   18582 parameter.
   18583 
   18584 Implemented support for the SyncLevel parameter for control
   18585 methods (ACPI 2.0 feature)
   18586 
   18587 Fixed a deadlock problem when multiple threads attempted to use
   18588 the interpreter.
   18589 
   18590 Fixed a problem where the string length of a String package
   18591 element was not always set in a package returned from
   18592 AcpiEvaluateObject.
   18593 
   18594 Fixed a problem where the length of a String package element was
   18595 not always included in the length of the overall package returned
   18596 from AcpiEvaluateObject.
   18597 
   18598 Added external interfaces (Acpi*) to the ACPI debug memory
   18599 manager.  This manager keeps a list of all outstanding
   18600 allocations, and can therefore detect memory leaks and attempts to
   18601 free memory blocks more than once. Useful for code such as the
   18602 power manager, etc.  May not be appropriate for device drivers.
   18603 Performance with the debug code enabled is slow.
   18604 
   18605 The ACPI Global Lock is now an optional hardware element.
   18606 
   18607  ASL Compiler Version X2015:
   18608 
   18609 Integrated changes to allow the compiler to be generated on
   18610 multiple platforms.
   18611 
   18612 Linux makefile added to generate the compiler on Linux
   18613 
   18614  Source Code:
   18615 
   18616 All platform-specific headers have been moved to their own
   18617 subdirectory, Include/Platform.
   18618 
   18619 New source file added, Interpreter/ammutex.c
   18620 
   18621 New header file, Include/acstruct.h
   18622 
   18623  Documentation:
   18624 
   18625 The programmer reference has been updated for the following new
   18626 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
   18627 
   18628  ------------------------------------------
   18629 Summary of changes for this label: 02_08_01
   18630 
   18631 Core ACPI CA Subsystem: Fixed a problem where an error was
   18632 incorrectly returned if the return resource buffer was larger than
   18633 the actual data (in the resource interfaces).
   18634 
   18635 References to named objects within packages are resolved to the
   18636 
   18637 full pathname string before packages are returned directly (via
   18638 the AcpiEvaluateObject interface) or indirectly via the resource
   18639 interfaces.
   18640 
   18641 Linux OS Services Layer (OSL):
   18642 
   18643 Improved /proc battery interface.
   18644 
   18645 
   18646 Added C-state debugging output and other miscellaneous fixes.
   18647 
   18648 ASL Compiler Version X2014:
   18649 
   18650 All defined method arguments can now be used as local variables,
   18651 including the ones that are not actually passed in as parameters.
   18652 The compiler tracks initialization of the arguments and issues an
   18653 exception if they are used without prior assignment (just like
   18654 locals).
   18655 
   18656 The -o option now specifies a filename prefix that is used for all
   18657 output files, including the AML output file.  Otherwise, the
   18658 default behavior is as follows:  1) the AML goes to the file
   18659 specified in the DSDT.  2) all other output files use the input
   18660 source filename as the base.
   18661 
   18662  ------------------------------------------
   18663 Summary of changes for this label: 01_25_01
   18664 
   18665 Core ACPI CA Subsystem: Restructured the implementation of object
   18666 store support within the  interpreter.  This includes support for
   18667 the Store operator as well  as any ASL operators that include a
   18668 target operand.
   18669 
   18670 Partially implemented support for Implicit Result-to-Target
   18671 conversion. This is when a result object is converted on the fly
   18672 to the type of  an existing target object.  Completion of this
   18673 support is pending  further analysis of the ACPI specification
   18674 concerning this matter.
   18675 
   18676 CPU-specific code has been removed from the subsystem (hardware
   18677 directory).
   18678 
   18679 New Power Management Timer functions added
   18680 
   18681 Linux OS Services Layer (OSL): Moved system state transition code
   18682 to the core, fixed it, and modified  Linux OSL accordingly.
   18683 
   18684 Fixed C2 and C3 latency calculations.
   18685 
   18686 
   18687 We no longer use the compilation date for the version message on
   18688 initialization, but retrieve the version from AcpiGetSystemInfo().
   18689 
   18690 Incorporated for fix Sony VAIO machines.
   18691 
   18692 Documentation:  The Programmer Reference has been updated and
   18693 reformatted.
   18694 
   18695 
   18696 ASL Compiler:  Version X2013: Fixed a problem where the line
   18697 numbering and error reporting could get out  of sync in the
   18698 presence of multiple include files.
   18699 
   18700  ------------------------------------------
   18701 Summary of changes for this label: 01_15_01
   18702 
   18703 Core ACPI CA Subsystem:
   18704 
   18705 Implemented support for type conversions in the execution of the
   18706 ASL  Concatenate operator (The second operand is converted to
   18707 match the type  of the first operand before concatenation.)
   18708 
   18709 Support for implicit source operand conversion is partially
   18710 implemented.   The ASL source operand types Integer, Buffer, and
   18711 String are freely  interchangeable for most ASL operators and are
   18712 converted by the interpreter  on the fly as required.  Implicit
   18713 Target operand conversion (where the  result is converted to the
   18714 target type before storing) is not yet implemented.
   18715 
   18716 Support for 32-bit and 64-bit BCD integers is implemented.
   18717 
   18718 Problem fixed where a field read on an aligned field could cause a
   18719 read  past the end of the field.
   18720 
   18721 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
   18722 does not return a value, but the caller expects one.  (The ASL
   18723 compiler flags this as a warning.)
   18724 
   18725 ASL Compiler:
   18726 
   18727 Version X2011:
   18728 1. Static typechecking of all operands is implemented. This
   18729 prevents the use of invalid objects (such as using a Package where
   18730 an Integer is required) at compile time instead of at interpreter
   18731 run-time.
   18732 2. The ASL source line is printed with ALL errors and warnings.
   18733 3. Bug fix for source EOF without final linefeed.
   18734 4. Debug option is split into a parse trace and a namespace trace.
   18735 5. Namespace output option (-n) includes initial values for
   18736 integers and strings.
   18737 6. Parse-only option added for quick syntax checking.
   18738 7. Compiler checks for duplicate ACPI name declarations
   18739 
   18740 Version X2012:
   18741 1. Relaxed typechecking to allow interchangeability between
   18742 strings, integers, and buffers.  These types are now converted by
   18743 the interpreter at runtime.
   18744 2. Compiler reports time taken by each internal subsystem in the
   18745 debug         output file.
   18746 
   18747 
   18748  ------------------------------------------
   18749 Summary of changes for this label: 12_14_00
   18750 
   18751 ASL Compiler:
   18752 
   18753 This is the first official release of the compiler. Since the
   18754 compiler requires elements of the Core Subsystem, this label
   18755 synchronizes everything.
   18756 
   18757 ------------------------------------------
   18758 Summary of changes for this label: 12_08_00
   18759 
   18760 
   18761 Fixed a problem where named references within the ASL definition
   18762 of both OperationRegions and CreateXXXFields did not work
   18763 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   18764 initialization of the region/field. This is similar (but not
   18765 related internally) to the problem that was fixed in the last
   18766 label.
   18767 
   18768 Implemented both 32-bit and 64-bit support for the BCD ASL
   18769 functions ToBCD and FromBCD.
   18770 
   18771 Updated all legal headers to include "2000" in the copyright
   18772 years.
   18773 
   18774  ------------------------------------------
   18775 Summary of changes for this label: 12_01_00
   18776 
   18777 Fixed a problem where method invocations within the ASL definition
   18778 of both OperationRegions and CreateXXXFields did not work
   18779 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   18780 initialization of the region/field:
   18781 
   18782   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
   18783 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
   18784 (0x3005)
   18785 
   18786 Fixed a problem where operators with more than one nested
   18787 subexpression would fail.  The symptoms were varied, by mostly
   18788 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
   18789 problem that has gone unnoticed until now.
   18790 
   18791   Subtract (Add (1,2), Multiply (3,4))
   18792 
   18793 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
   18794 previous build (The prefix part of a relative path was handled
   18795 incorrectly).
   18796 
   18797 Fixed a problem where Operation Region initialization failed if
   18798 the operation region name was a "namepath" instead of a simple
   18799 "nameseg". Symptom was an AE_NO_OPERAND error.
   18800 
   18801 Fixed a problem where an assignment to a local variable via the
   18802 indirect RefOf mechanism only worked for the first such
   18803 assignment.  Subsequent assignments were ignored.
   18804 
   18805  ------------------------------------------
   18806 Summary of changes for this label: 11_15_00
   18807 
   18808 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
   18809 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
   18810 the AML  interpreter does NOT have support for the new 2.0 ASL
   18811 grammar terms at this time.
   18812 
   18813 All ACPI hardware access is via the GAS structures in the ACPI 2.0
   18814 FADT.
   18815 
   18816 All physical memory addresses across all platforms are now 64 bits
   18817 wide. Logical address width remains dependent on the platform
   18818 (i.e., "void *").
   18819 
   18820 AcpiOsMapMemory interface changed to a 64-bit physical address.
   18821 
   18822 The AML interpreter integer size is now 64 bits, as per the ACPI
   18823 2.0 specification.
   18824 
   18825 For backwards compatibility with ACPI 1.0, ACPI tables with a
   18826 revision number less than 2 use 32-bit integers only.
   18827 
   18828 Fixed a problem where the evaluation of OpRegion operands did not
   18829 always resolve them to numbers properly.
   18830 
   18831 ------------------------------------------
   18832 Summary of changes for this label: 10_20_00
   18833 
   18834 Fix for CBN_._STA issue.  This fix will allow correct access to
   18835 CBN_ OpRegions when the _STA returns 0x8.
   18836 
   18837 Support to convert ACPI constants (Ones, Zeros, One) to actual
   18838 values before a package object is returned
   18839 
   18840 Fix for method call as predicate to if/while construct causing
   18841 incorrect if/while behavior
   18842 
   18843 Fix for Else block package lengths sometimes calculated wrong (if
   18844 block > 63 bytes)
   18845 
   18846 Fix for Processor object length field, was always zero
   18847 
   18848 Table load abort if FACP sanity check fails
   18849 
   18850 Fix for problem with Scope(name) if name already exists
   18851 
   18852 Warning emitted if a named object referenced cannot be found
   18853 (resolved) during method execution.
   18854 
   18855 
   18856 
   18857 
   18858 
   18859 ------------------------------------------
   18860 Summary of changes for this label: 9_29_00
   18861 
   18862 New table initialization interfaces: AcpiInitializeSubsystem no
   18863 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
   18864 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
   18865 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
   18866 AcpiLoadTables
   18867 
   18868 Note: These interface changes require changes to all existing OSDs
   18869 
   18870 The PCI_Config default address space handler is always installed
   18871 at the root namespace object.
   18872 
   18873 -------------------------------------------
   18874 Summary of changes for this label: 09_15_00
   18875 
   18876 The new initialization architecture is implemented.  New
   18877 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
   18878 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
   18879 
   18880 (Namespace is automatically loaded when a table is loaded)
   18881 
   18882 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
   18883 52 bytes to 32 bytes.  There is usually one of these for every
   18884 namespace object, so the memory savings is significant.
   18885 
   18886 Implemented just-in-time evaluation of the CreateField operators.
   18887 
   18888 Bug fixes for IA-64 support have been integrated.
   18889 
   18890 Additional code review comments have been implemented
   18891 
   18892 The so-called "third pass parse" has been replaced by a final walk
   18893 through the namespace to initialize all operation regions (address
   18894 spaces) and fields that have not yet been initialized during the
   18895 execution of the various _INI and REG methods.
   18896 
   18897 New file - namespace/nsinit.c
   18898 
   18899 -------------------------------------------
   18900 Summary of changes for this label: 09_01_00
   18901 
   18902 Namespace manager data structures have been reworked to change the
   18903 primary  object from a table to a single object.  This has
   18904 resulted in dynamic memory  savings of 3X within the namespace and
   18905 2X overall in the ACPI CA subsystem.
   18906 
   18907 Fixed problem where the call to AcpiEvFindPciRootBuses was
   18908 inadvertently left  commented out.
   18909 
   18910 Reduced the warning count when generating the source with the GCC
   18911 compiler.
   18912 
   18913 Revision numbers added to each module header showing the
   18914 SourceSafe version of the file.  Please refer to this version
   18915 number when giving us feedback or comments on individual modules.
   18916 
   18917 The main object types within the subsystem have been renamed to
   18918 clarify their  purpose:
   18919 
   18920 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
   18921 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
   18922 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
   18923 
   18924 NOTE: no changes to the initialization sequence are included in
   18925 this label.
   18926 
   18927 -------------------------------------------
   18928 Summary of changes for this label: 08_23_00
   18929 
   18930 Fixed problem where TerminateControlMethod was being called
   18931 multiple times per  method
   18932 
   18933 Fixed debugger problem where single stepping caused a semaphore to
   18934 be  oversignalled
   18935 
   18936 Improved performance through additional parse object caching -
   18937 added  ACPI_EXTENDED_OP type
   18938 
   18939 -------------------------------------------
   18940 Summary of changes for this label: 08_10_00
   18941 
   18942 Parser/Interpreter integration:  Eliminated the creation of
   18943 complete parse trees  for ACPI tables and control methods.
   18944 Instead, parse subtrees are created and  then deleted as soon as
   18945 they are processed (Either entered into the namespace or  executed
   18946 by the interpreter).  This reduces the use of dynamic kernel
   18947 memory  significantly. (about 10X)
   18948 
   18949 Exception codes broken into classes and renumbered.  Be sure to
   18950 recompile all  code that includes acexcep.h.  Hopefully we won't
   18951 have to renumber the codes  again now that they are split into
   18952 classes (environment, programmer, AML code,  ACPI table, and
   18953 internal).
   18954 
   18955 Fixed some additional alignment issues in the Resource Manager
   18956 subcomponent
   18957 
   18958 Implemented semaphore tracking in the AcpiExec utility, and fixed
   18959 several places  where mutexes/semaphores were being unlocked
   18960 without a corresponding lock  operation.  There are no known
   18961 semaphore or mutex "leaks" at this time.
   18962 
   18963 Fixed the case where an ASL Return operator is used to return an
   18964 unnamed  package.
   18965 
   18966 -------------------------------------------
   18967 Summary of changes for this label: 07_28_00
   18968 
   18969 Fixed a problem with the way addresses were calculated in
   18970 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
   18971 manifested itself when a Field was  created with WordAccess or
   18972 DwordAccess, but the field unit defined within the  Field was less
   18973 
   18974 than a Word or Dword.
   18975 
   18976 Fixed a problem in AmlDumpOperands() module's loop to pull
   18977 operands off of the  operand stack to display information. The
   18978 problem manifested itself as a TLB  error on 64-bit systems when
   18979 accessing an operand stack with two or more  operands.
   18980 
   18981 Fixed a problem with the PCI configuration space handlers where
   18982 context was  getting confused between accesses. This required a
   18983 change to the generic address  space handler and address space
   18984 setup definitions. Handlers now get both a  global handler context
   18985 (this is the one passed in by the user when executing
   18986 AcpiInstallAddressSpaceHandler() and a specific region context
   18987 that is unique to  each region (For example, the _ADR, _SEG and
   18988 _BBN values associated with a  specific region). The generic
   18989 function definitions have changed to the  following:
   18990 
   18991 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
   18992 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
   18993 *HandlerContext, // This used to be void *Context void
   18994 *RegionContext); // This is an additional parameter
   18995 
   18996 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
   18997 RegionHandle, UINT32 Function, void *HandlerContext,  void
   18998 **RegionContext); // This used to be **ReturnContext
   18999 
   19000 -------------------------------------------
   19001 Summary of changes for this label: 07_21_00
   19002 
   19003 Major file consolidation and rename.  All files within the
   19004 interpreter have been  renamed as well as most header files.  This
   19005 was done to prevent collisions with  existing files in the host
   19006 OSs -- filenames such as "config.h" and "global.h"  seem to be
   19007 quite common.  The VC project files have been updated.  All
   19008 makefiles  will require modification.
   19009 
   19010 The parser/interpreter integration continues in Phase 5 with the
   19011 implementation  of a complete 2-pass parse (the AML is parsed
   19012 twice) for each table;  This  avoids the construction of a huge
   19013 parse tree and therefore reduces the amount of  dynamic memory
   19014 required by the subsystem.  Greater use of the parse object cache
   19015 means that performance is unaffected.
   19016 
   19017 Many comments from the two code reviews have been rolled in.
   19018 
   19019 The 64-bit alignment support is complete.
   19020 
   19021 -------------------------------------------
   19022 Summary of changes for this label: 06_30_00
   19023 
   19024 With a nod and a tip of the hat to the technology of yesteryear,
   19025 we've added  support in the source code for 80 column output
   19026 devices.  The code is now mostly  constrained to 80 columns or
   19027 less to support environments and editors that 1)  cannot display
   19028 or print more than 80 characters on a single line, and 2) cannot
   19029 disable line wrapping.
   19030 
   19031 A major restructuring of the namespace data structure has been
   19032 completed.  The  result is 1) cleaner and more
   19033 understandable/maintainable code, and 2) a  significant reduction
   19034 in the dynamic memory requirement for each named ACPI  object
   19035 (almost half).
   19036 
   19037 -------------------------------------------
   19038 Summary of changes for this label: 06_23_00
   19039 
   19040 Linux support has been added.  In order to obtain approval to get
   19041 the ACPI CA  subsystem into the Linux kernel, we've had to make
   19042 quite a few changes to the  base subsystem that will affect all
   19043 users (all the changes are generic and OS- independent).  The
   19044 effects of these global changes have been somewhat far  reaching.
   19045 Files have been merged and/or renamed and interfaces have been
   19046 renamed.   The major changes are described below.
   19047 
   19048 Osd* interfaces renamed to AcpiOs* to eliminate namespace
   19049 pollution/confusion  within our target kernels.  All OSD
   19050 interfaces must be modified to match the new  naming convention.
   19051 
   19052 Files merged across the subsystem.  A number of the smaller source
   19053 and header  files have been merged to reduce the file count and
   19054 increase the density of the  existing files.  There are too many
   19055 to list here.  In general, makefiles that  call out individual
   19056 files will require rebuilding.
   19057 
   19058 Interpreter files renamed.  All interpreter files now have the
   19059 prefix am*  instead of ie* and is*.
   19060 
   19061 Header files renamed:  The acapi.h file is now acpixf.h.  The
   19062 acpiosd.h file is  now acpiosxf.h.  We are removing references to
   19063 the acronym "API" since it is  somewhat windowsy. The new name is
   19064 "external interface" or xface or xf in the  filenames.j
   19065 
   19066 
   19067 All manifest constants have been forced to upper case (some were
   19068 mixed case.)   Also, the string "ACPI_" has been prepended to many
   19069 (not all) of the constants,  typedefs, and structs.
   19070 
   19071 The globals "DebugLevel" and "DebugLayer" have been renamed
   19072 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
   19073 
   19074 All other globals within the subsystem are now prefixed with
   19075 "AcpiGbl_" Internal procedures within the subsystem are now
   19076 prefixed with "Acpi" (with only  a few exceptions).  The original
   19077 two-letter abbreviation for the subcomponent  remains after "Acpi"
   19078 - for example, CmCallocate became AcpiCmCallocate.
   19079 
   19080 Added a source code translation/conversion utility.  Used to
   19081 generate the Linux  source code, it can be modified to generate
   19082 other types of source as well. Can  also be used to cleanup
   19083 existing source by removing extraneous spaces and blank  lines.
   19084 Found in tools/acpisrc/*
   19085 
   19086 OsdUnMapMemory was renamed to OsdUnmapMemory and then
   19087 AcpiOsUnmapMemory.  (UnMap  became Unmap).
   19088 
   19089 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
   19090 When set to  one, this indicates that the caller wants to use the
   19091 
   19092 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
   19093 both types.  However, implementers of this  call may want to use
   19094 different OS primitives depending on the type of semaphore
   19095 requested.  For example, some operating systems provide separate
   19096 
   19097 "mutex" and  "semaphore" interfaces - where the mutex interface is
   19098 much faster because it  doesn't have all the overhead of a full
   19099 semaphore implementation.
   19100 
   19101 Fixed a deadlock problem where a method that accesses the PCI
   19102 address space can  block forever if it is the first access to the
   19103 space.
   19104 
   19105 -------------------------------------------
   19106 Summary of changes for this label: 06_02_00
   19107 
   19108 Support for environments that cannot handle unaligned data
   19109 accesses (e.g.  firmware and OS environments devoid of alignment
   19110 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
   19111 been added (via configurable macros) in  these three areas: -
   19112 Transfer of data from the raw AML byte stream is done via byte
   19113 moves instead of    word/dword/qword moves. - External objects are
   19114 aligned within the user buffer, including package   elements (sub-
   19115 objects). - Conversion of name strings to UINT32 Acpi Names is now
   19116 done byte-wise.
   19117 
   19118 The Store operator was modified to mimic Microsoft's
   19119 implementation when storing  to a Buffer Field.
   19120 
   19121 Added a check of the BM_STS bit before entering C3.
   19122 
   19123 The methods subdirectory has been obsoleted and removed.  A new
   19124 file, cmeval.c  subsumes the functionality.
   19125 
   19126 A 16-bit (DOS) version of AcpiExec has been developed.  The
   19127 makefile is under  the acpiexec directory.
   19128