Home | History | Annotate | Line # | Download | only in dist
changes.txt revision 1.1.1.26
      1 ----------------------------------------
      2 
      3 
      4 13 November 2020. Summary of changes for version 20201113:
      5 
      6 This release is available at https://acpica.org/downloads
      7 
      8 
      9 1) ACPICA kernel-resident subsystem:
     10 
     11 Interpreter: fixed a memory leak by using use existing buffer in _HID 
     12 repair. There was a memory leak that occurred when a _CID object is 
     13 defined as a package containing string objects. When _CID is checked for 
     14 any possible repairs, it calls a helper function to repair _HID (because 
     15 _CID basically contains multiple _HID entries). The _HID repair function 
     16 assumes that string objects are standalone objects that are not contained 
     17 inside of any packages. The _HID repair function replaced the string 
     18 object with a brand new object and attempted to delete the old object by 
     19 decrementing the reference count of the old object. Strings inside of 
     20 packages have a reference count of 2 so the _HID repair function leaves 
     21 this object in a dangling state and causes a memory leak. Instead of 
     22 allocating a brand new object and removing the old object, use the 
     23 existing object when repairing the _HID object.
     24 
     25 Added function trace macros to improve namespace debugging. The namespace 
     26 repair mechanism does not have function tracing macros. Add several trace 
     27 macros to improve debuggability.
     28 
     29 Handle "orphan" _REG methods for GPIO OpRegions. Before this change 
     30 AcpiEvExecuteRegMethods() had special handling to handle "orphan" (no 
     31 matching OpRegion declared) _REG methods for EC nodes. On Intel Cherry 
     32 Trail devices there are 2 possible ACPI OpRegions for accessing GPIOs. 
     33 The standard GeneralPurposeIo OpRegion and the Cherry Trail - specific 
     34 UserDefined 0x9X OpRegions. Having 2 different types of OpRegions leads 
     35 to potential issues with checks for OpRegion availability, or in other 
     36 words checks if _REG has been called for the OpRegion which the ACPI code 
     37 wants to use. Except for the "orphan" EC handling, ACPICA core does not 
     38 call _REG on an ACPI node which does not define an OpRegion matching the 
     39 type being registered; and the reference design DSDT, from which most 
     40 Cherry Trail DSDTs are derived, does not define GeneralPurposeIo, nor 
     41 UserDefined(0x93) OpRegions for the GPO2 (UID 3) device, because no pins 
     42 were assigned ACPI controlled functions in the reference design. Together 
     43 this leads to the perfect storm, at least on the Cherry Trail based 
     44 Medion Akayo E1239T. This design does use a GPO2 pin from its ACPI code 
     45 and has added the Cherry Trail specific UserDefined(0x93) opregion to its 
     46 GPO2 ACPI node to access this pin. But it uses a "has _REG been called" 
     47 availability check for the standard GeneralPurposeIo OpRegion. This 
     48 clearly is a bug in the DSDT, but this does work under Windows. This 
     49 issue leads to the intel vbtn driver reporting the device always being in 
     50 tablet-mode at boot, even if it is in laptop mode. Which in turn causes 
     51 userspace to ignore touchpad events. So in other words, this issue causes 
     52 the touchpad to not work at boot. This change fixes this by extending the 
     53 "orphan" _REG method handling to also apply to GPIO address-space 
     54 handlers.
     55 
     56 
     57 2) iASL Compiler/Disassembler and ACPICA tools: 
     58 
     59 iASL: Added more info to namespace dump file (-ln option). In a separate 
     60 section of the dump file (after the main namespace dump), emit the full 
     61 pathname for each namespace node, its type, and the ASL filename and line 
     62 number where it is declared.
     63 
     64 AcpiHelp: Added an option to display/decode iASL exceptions. Option is: -
     65 x [Hex Value] where "Hex Value" is the iASL exception code. If Hex Value 
     66 is omitted, all iASL exceptions are displayed.
     67 
     68 iASL: Use StringLiteral instead of StringData for some ASL macros. The 
     69 use of the stringData rule allows for some "string" oriented opcodes 
     70 (Such as ToString, ToHexString, etc.) None of which make sense with the 
     71 macros in question. This change modifies the StringData part of the rule 
     72 for these macros to a simple string  literal - thus disallowing the use 
     73 of ToString, ToHexString, etc.
     74 The following ASL operators (macros) are affected:
     75 EisaId
     76 Fprintf
     77 Printf
     78 ToUuid
     79 Unicode
     80 Note: The MS compiler requires the use of string literals for these 
     81 operators also.
     82 
     83 iASL: Added a remark for an unknown UUID: ASL_MSG_UUID_NOT_FOUND. Search 
     84 the list of "known" UUIDs for the input to the ToUUID macro.
     85 
     86 Added 5 new UUIDs to the known UUID table. All related to NVDIMM and the 
     87 NFIT table.
     88 
     89 
     90 ----------------------------------------
     91 
     92 25 September 2020. Summary of changes for version 20200925:
     93 
     94 This release is available at https://acpica.org/downloads
     95 
     96 
     97 1) ACPICA kernel-resident subsystem:
     98 
     99 Preserve memory opregion mappings. The ACPICA's strategy with respect to 
    100 the handling of memory mappings associated with memory operation regions 
    101 is to avoid mapping the entire region at once which may be problematic at 
    102 least in principle (for example, it may lead to conflicts with 
    103 overlapping mappings having different attributes created by drivers).  It 
    104 may also be wasteful, because memory opregions on some systems take up 
    105 vastchunks of address space while the fields in those regions actually 
    106 accessed by AML are sparsely distributed.
    107 
    108 For this reason, a one-page "window" is mapped for a given opregion on 
    109 the first memory access through it and if that "window" does not cover an 
    110 address range accessed through that opregion subsequently, it is unmapped 
    111 and a new "window" is mapped to replace it.  Next, if the new "window" is 
    112 not sufficient to access memory through the opregion in question in the 
    113 future, it will be replaced with yet another "window" and so on.  That 
    114 may lead to a suboptimal sequence of memory mapping and unmapping 
    115 operations, for example if two fields in one opregion separated from each 
    116 other by a sufficiently wide chunk of unused address space are accessed 
    117 in an alternating pattern.
    118 
    119 Added support for 64 bit risc-v compilation.  Useful for acpica tools and 
    120 incorporating ACPICA into the Firmware Test Suite. Colin Ian King 
    121 <colin.king (a] canonical.com>.
    122 
    123 Added support for SMBus predefined names (from SMBus Control Method 
    124 Interface Specification, Version 1.0, December 10, 1999. New predefined 
    125 names:
    126     _SBA
    127     _SBI
    128     _SBR
    129     _SBT
    130     _SBW
    131 
    132 AML Disassembler: Added a new command, "All <NameSeg>". This command will 
    133 evaluate all objects in the current namespace whose NameString contains 
    134 the input NameSeg as the last element of the NameString. Useful for 
    135 debugging.
    136 
    137 
    138 2) iASL Compiler/Disassembler and ACPICA tools: 
    139 
    140 iASL: fixed a crash that occurred when predefined objects return packages 
    141 with lengths that exceed the initializer list.
    142 
    143 iASL: added more detail to external resolution error message when 
    144 compiling multiple definition blocks.
    145 
    146 iASL: added a remark for an attempt to create a nameseg or namestring 
    147 containing lower-case letters. This should prevent declaring multiple 
    148 namesegs or namestrings in an attempt to refer to different objects (with 
    149 different cases), but actually refer to the same object(s).
    150 
    151 iASL: improve alias analysis by saving object type. If the alias is a 
    152 method type, the parameter count is also recorded.
    153 
    154 AcpiExec: Increase the default loop timeout value. Was 1 second, is now 
    155 10 seconds. Prevents unnecessary timeouts when executing control methods 
    156 from the command line.
    157 
    158 AcpiHelp/disassembler: Added a bunch of "known" UUIDs to the internal 
    159 list. Includes:
    160     Memory Device
    161     Generic Buttons Device
    162     NVDIMM Root Device
    163     Control Method Battery
    164     Device Graphs for _DSD method
    165     Hierarchical Data Extension
    166 ....ARM CoreSight Graph
    167 
    168 ----------------------------------------
    169 
    170 
    171 17 July 2020. Summary of changes for version 20200717:
    172 
    173 This release is available at https://acpica.org/downloads
    174 
    175 
    176 1) ACPICA kernel-resident subsystem:
    177 
    178 Do not increment OperationRegion reference counts for field units. Recent 
    179 server firmware has revealed that this reference count can overflow on 
    180 large servers that declare many field units (thousands) under the same 
    181 OperationRegion. This occurs because each field unit declaration will add 
    182 a reference count to the source OperationRegion. This release solves the 
    183 reference count overflow for OperationRegion objects by preventing 
    184 fieldUnits from incrementing their parent OperationRegion's reference 
    185 count.
    186 
    187 Replaced one-element arrays with flexible-arrays, which were introduced 
    188 in C99.
    189 
    190 Restored the readme file containing the directions for generation of 
    191 ACPICA from source on MSVC 2017. Updated the file for MSVC 2017. File is 
    192 located at: generate/msvc2017/readme.txt
    193 
    194 2) iASL Compiler/Disassembler and ACPICA tools: 
    195 
    196 iASL: Fixed a regression found in version 20200214. Prevent iASL from 
    197 emitting an extra byte of garbage data when control methods declared a 
    198 single parameter type without using braces. This extra byte is known to 
    199 cause a blue screen on the Windows AML interpreter.
    200 
    201 iASL: Made a change to allow external declarations to specify the type of 
    202 a named object even when some name segments are not defined.
    203 This change allows the following ASL code to compile (When DEV0 is not 
    204 defined or not defined yet):
    205 
    206     External (\_SB.DEV0.OBJ1, IntObj)
    207     External (\_SB.DEV0, DeviceObj)
    208 
    209 iASL: Fixed a problem where method names in "Alias ()" statement could be 
    210 misinterpreted. They are now interpreted correctly as method invocations.
    211 
    212 iASL: capture a method parameter count (Within the Method info segment, 
    213 as well as the argument node) when using parameter type lists.
    214 
    215 ----------------------------------------
    216 
    217 
    218 28 May 2020. Summary of changes for version 20200528:
    219 
    220 
    221 1) ACPICA kernel-resident subsystem:
    222 
    223 Removed old/obsolete Visual Studio files which were used to build the 
    224 Windows versions of the ACPICA tools. Since we have moved to Visual 
    225 Studio 2017, we are no longer supporting Visual Studio 2006 and 2009 
    226 project files. The new subdirectory and solution file are located at:
    227 
    228     acpica/generate/msvc2017/AcpiComponents.sln
    229 
    230 
    231 2) iASL Compiler/Disassembler and ACPICA tools: 
    232 
    233 iASL: added support for a new OperationRegion Address Space (subtype): 
    234 PlatformRtMechanism. Support for this new keyword is being released for 
    235 early prototyping. It will appear in the next release of the ACPI 
    236 specification.
    237 
    238 iASL: do not optimize the NameString parameter of the CondRefOf operator. 
    239 In the previous iASL compiler release, the NameString parameter of the 
    240 CondRefOf was optimized. There is evidence that some implementations of 
    241 the AML interpreter do not perform the recursive search-to-parent search 
    242 during the execution of the CondRefOf operator. Therefore, the CondRefOf 
    243 operator behaves differently when the NameString parameter is a single 
    244 name segment (a NameSeg) as opposed to a full NamePath (starting at the 
    245 root scope) or a NameString containing parent prefixes.
    246 
    247 iASL: Prevent an inadvertent remark message. This change prevents a 
    248 remark if within a control method the following exist:
    249 1) An Operation Region is defined, and
    250 2) A Field operator is defined that refers to the region.
    251 This happens because at the top level, the Field operator does not 
    252 actually create a new named object, it simply references the operation 
    253 region.
    254 
    255 Removed support for the acpinames utility. The acpinames was a simple 
    256 utility used to populate and display the ACPI namespace without executing 
    257 any AML code. However, ACPICA now supports executable opcodes outside of 
    258 control methods. This means that executable AML opcodes such as If and 
    259 Store opcodes need to be executed during table load. Therefore, acpinames 
    260 would need to be updated to match the same behavior as the acpiexec 
    261 utility and since acpiexec can already dump the entire namespace (via the 
    262 'namespace' command), we no longer have the need to maintain acpinames.
    263 
    264     In order to dump the contents of the ACPI namespace using acpiexec,
    265 execute the following command from the command line:
    266 
    267         acpiexec -b "n" [aml files]
    268 
    269 ----------------------------------------
    270 
    271 
    272 30 April 2020. Summary of changes for version 20200430:
    273 
    274 1) ACPICA kernel-resident subsystem:
    275 
    276 Cleaned up the coding style of a couple of global variables 
    277 (AcpiGbl_NextCmdNum and AcpiProtocolLengths) caught by static analyzers. 
    278 AcpiProtocolLengths was made static, and the definition of 
    279 AcpiGbl_NextCmdNum was moved to acglobal.h.
    280 
    281 
    282 2) iASL Compiler/Disassembler and ACPICA tools: 
    283 
    284 iASL DataTable Compiler:  Fixed a segfault on errors that aren't directly 
    285 associated with a field.
    286 
    287 Disassembler: has been made more resilient so that it will continue to 
    288 parse AML even if the AML generates ACPI namespace errors. This enables 
    289 iASL to disassemble some AML that may have been compiled using older 
    290 versions of iASL that no longer compile with newer versions of iASL.
    291 
    292 iASL: Fixed the required parameters for _NIH and _NIG. Previously, there 
    293 was a mixup where _NIG required one parameter and _NIH required zero 
    294 parameters. This change swaps these parameter requirements. Now it is 
    295 required that _NIH must be called with one parameter and _NIG requires 
    296 zero parameters.
    297 
    298 iASL: Allow use of undefined externals as long as they are protected by 
    299 an if (CondRefOf (...)) block when compiling multiple definition blocks.
    300 
    301 iASL: Fixed the type override behavior of named objects that are declared 
    302 as External. External declarations will no longer override the type of 
    303 the actual definition if it already exists.
    304 
    305 AcpiNames: Added setargv.obj to the MSVC 2017 link sequence to enable 
    306 command line wildcard support on Windows. Note: the AcpiNames utility is 
    307 essentially redundant with the AcpiExec utility (using the "namespace" 
    308 command) and is therefore deprecated. It will be removed in future 
    309 releases of ACPICA.
    310 
    311 Disassembler: ignore AE_ALREADY_EXISTS status when parsing create* 
    312 operators. The disassembler is intended to emit existing ASL code as-is. 
    313 Therefore, error messages emitted during disassembly should be ignored or 
    314 handled in a way such that the disassembler can continue to parse the 
    315 AML. This change ignores AE_ALREADY_EXISTS errors during the deferred Op 
    316 parsing for create operators in order to complete parsing ASL termlists.
    317 
    318 iASL DataTable Compiler: IVRS table: fix potentially uninitialized 
    319 variable warning. Some compilers catch potential uninitialized variables. 
    320 This is done by examining branches of if/else statements. This change 
    321 replaces an "else if" with an "else" to fix the uninitialized variable 
    322 warning.
    323 
    324 
    325 ----------------------------------------
    326 26 March 2020. Summary of changes for version 20200326:
    327 
    328 
    329 1) ACPICA kernel-resident subsystem:
    330 
    331 Performed a code clean-up to prevent build errors on early versions of 
    332 GCC-10.
    333 
    334 Added the NHLT table signature. iASL data table compiler/disassembler 
    335 support for this table is coming soon.
    336 
    337 
    338 2) iASL Compiler/Disassembler and ACPICA tools: 
    339 
    340 AcpiExec: Fixed several problems with the namespace initialization file 
    341 (-fi<filename> option). Includes fixes to prevent AE_ALREADY_EXISTS 
    342 errors, several seg faults, and enhancements to line parsing within the 
    343 init file. In addition, each object found in the init file and it's new 
    344 value is displayed, as well as any such entries that do not have a 
    345 corresponding name in the namespace. For reference, the syntax for the 
    346 various supported data types are presented below:
    347 	PCHG 0x777788889999BBBB	// Integer
    348 	\DEV1.STR1 "XYZ"			// String
    349 	BUF1 (88 99 AA)			// Buffer
    350 	PKG1 [0x1111 0x2222]		// Package
    351 	\BF1 0x7980				// BufferField
    352 	RCRV 0x0123456789ABCDEF	// Field Unit
    353 
    354 iASL: Added a custom iASL macro __EXPECT__(iASL-Error-Code). This macro 
    355 can be used anywhere in a given ASL file to configure iASL to expect an 
    356 iASL compiler error code on the line where this macro was placed. If the 
    357 error code does not exist, an error is generated. This is intended to be 
    358 used for ACPICA's ASL test suite, but can be used by ASL developers as 
    359 well.
    360 
    361 iASL: table compiler: Implemented IVRS IVHD type 11h parsing. The AMD 
    362 IVRS table parsing supported only IVHD type 10h structures. Parsing an 
    363 IVHD type 11h caused the iasl to report unknown subtable type. Add 
    364 necessary structure definition for IVHD type 11h and apply correct 
    365 parsing method based on subtable type. Micha? ?ygowski.
    366 
    367 iASL: table compiler: Fixed IVRS table IVHD type 10h reserved field name 
    368 According to AMD IOMMU Specification Revision 3.05 the reserved field 
    369 should be IOMMU Feature Reporting. Change the name of the field to the 
    370 correct one. Micha? ?ygowski.
    371 
    372 acpiexec: removed redeclaration of AcpiGbl_DbOpt_NoRegionSupport. Patch 
    373 based on suggestions by David Seifert and Benjamin Berg.
    374 
    375 iASL: table compiler: removed an unused variable (DtCompilerParserResult) 
    376 causing linking errors. Patch based on suggestions by David Seifert and 
    377 Benjamin Berg.
    378 
    379 iASL: table compiler: make LexBuffer static to avoid linking errors in 
    380 newer compilers. Patch based on suggestions by David Seifert and Benjamin 
    381 Berg.
    382 
    383 iASL: fixed type matching between External and Named objects. External 
    384 object types can only be expressed with ACPI object type values that are 
    385 defined in the ACPI spec. However, iASL uses ACPI object type values that 
    386 are local to ACPICA in addition to the values defined in the ACPI spec. 
    387 This change implements type matching to map some object type values 
    388 specific to ACPICA to ones that are defined in the ACPI spec.
    389 
    390 iASL: Dropped the type mismatch compiler error that can arise from 
    391 External declarations to a warning. This warning can occur when there is 
    392 a type difference between the external declaration and the actual object 
    393 declaration (when compiling multiple files/modules simultaneously).
    394 
    395 iASL: removed an incorrect error message regarding externals. This change 
    396 removes an incorrect error that is emitted when a duplicate external 
    397 declaration does not contain a type that opens a scope. This is incorrect 
    398 because the duplicate external with conflicting types are already caught 
    399 by iASL and it doesn't make any sense to enforce what this conflicting 
    400 type should be.
    401 
    402 AcpiXtract: fix AX_IS_TABLE_BLOCK_HEADER macro. This macro needs to be 
    403 surrounded by parens. Otherwise, a logical statement that applies a 
    404 logical not operator to this macro could result in a computation that 
    405 applies the operator to the left side of the logical and but not the 
    406 right. Reported-by: John Levon <john.levon (a] joyent.com>
    407 
    408 Fixed a problem with the local version of sprint(): On 32-bit, the 
    409 provided sprintf() is non-functional: with a size of ACPI_UINT32_MAX, 
    410 String + Size will wrap, meaning End < Start, and 
    411 AcpiUtBoundStringOutput() will never output anything as a result. The 
    412 symptom seen of this was acpixtract failing to output anything -- with a 
    413 custom build that included utprint.c. Signed-off-by: John Levon 
    414 <john.levon (a] joyent.com>
    415 
    416 iASL: Changed the "PlatformCommChannel" ASL keyword to "PCC", as per the 
    417 ACPI specification.
    418 
    419 
    420 ----------------------------------------
    421 14 February 2020. Summary of changes for version 20200214:
    422 
    423 
    424 1) ACPICA kernel-resident subsystem:
    425 
    426 Enable sleep button on ACPI legacy wake:  Hibernation (S4) is triggered 
    427 in a guest when it receives a sleep trigger from the hypervisor. When the 
    428 guest resumes from this power state, it does not see the SleepEnabled 
    429 bit. In other words, the sleepHibernation (S4) is triggered in a guest 
    430 when it receives a sleep trigger from the hypervisor. When the guest 
    431 resumes from this power state, it does not see the SleepEnabled bit. In 
    432 other words, the sleep button is not enabled on waking from an S4 state. 
    433 This causes subsequent invocation of sleep state to fail since the 
    434 guest.button is not enabled on waking from an S4 state. This causes 
    435 subsequent invocation of sleep state to fail in the guest. Fix this 
    436 problem by enabling the sleep button in ACPI legacy wake. From Anchal 
    437 Agarwal <anchalag (a] amazon.com>.
    438 
    439 Implemented a new external interface, AcpiAnyGpeStatusSet (). To be used 
    440 for checking the status bits of all enabled GPEs in one go. It is needed 
    441 to distinguish spurious SCIs from genuine ones when deciding whether or 
    442 not to wake up the system from suspend-to-idle.
    443 
    444 Generic Makefiles: replace HOST name with ACPI_HOST: Some machines may be 
    445 using HOST in their environment to represent the host name for their 
    446 machines. Avoid this problem by renaming this variable from HOST to 
    447 ACPI_HOST.
    448 
    449 MSVC 2017 project files: Enable multiprocessor generation to improve 
    450 build performance.
    451 
    452 Added a macro to get the byte width of a Generic Address structure. New 
    453 ACPI_ACCESS_BYTE_WIDTH is in addition to the existing 
    454 ACPI_ACCESS_BIT_WIDTH. From Mika Westerberg.
    455 
    456 
    457 2) iASL Compiler/Disassembler and ACPICA tools: 
    458 
    459 iASL: Implemented full support for the (optional, rarely used) ReturnType 
    460 and ParameterTypesList for the Method, Function, and External operators. 
    461 For Method declarations, the number of individual ParameterTypes must 
    462 match the declaration of the number of arguments (NumArgs). This also 
    463 Fixes a problem with the External operator where extra/extraneous bytes 
    464 were emitted in the AML code if the optional ReturnType/ParameterTypes 
    465 were specified for a MethodObj declaration.
    466 New error message:
    467 1) Method NumArgs count does not match length of ParameterTypes list
    468 
    469 iASL: Implemented detection of type mismatches between External 
    470 declarations and named object declarations. Also, detect type mismatches 
    471 between multiple External declarations of the same Name.
    472 New error messages:
    473 1) Type mismatch between external declaration and actual object 
    474 declaration detected
    475 2) Type mismatch between multiple external declarations detected
    476 
    477 iASL: Implemented new error messages for External operators that specify 
    478 a ReturnType and/or ParameterTypesList for any object type other than 
    479 control methods (MethodObj).
    480 New error messages:
    481 1) Return type is only allowed for Externals declared as MethodObj
    482 2) Parameter type is only allowed for Externals declared as MethodObj
    483 
    484 iASL: Implemented two new remark/warning messages for ASL code that 
    485 creates named objects from within a control method. This is very 
    486 inefficient since the named object must be created and deleted each time 
    487 the method is executed.
    488 New messages:
    489 1) Creation of named objects within a method is highly inefficient, use 
    490 globals or method local variables instead (remark)
    491 2) Static OperationRegion should be declared outside control method 
    492 (warning)
    493 
    494 iASL: Improved illegal forward reference detection by adding support to 
    495 detect forward-reference method invocations.
    496 
    497 iASL: Detect and issue an error message for NameStrings that contain too 
    498 many individual NameSegs (>255). This is an AML limitation that is 
    499 defined in the ACPI specification.
    500 New message:
    501 1) NameString contains too many NameSegs (>255)
    502 
    503 acpidump: windows: use GetSystemFirmwareTable API for all tables except 
    504 SSDT. By using this API, acpidump is able to get all tables in the XSDT
    505 
    506 iASL: Removed unused parser file and updated msvc2017 project files. 
    507 Removed the obsolete AslCompiler.y from the repository.
    508 
    509 iASL: msvc2017: Fixed macros in the file dependency list to prevent 
    510 unnecessary rebuilds. Replace %(Directory) with %(RelativeDir).
    511 
    512 Disassembler: Prevent spilling error messages to the output file. All 
    513 errors are directed to the console instead. These error messages 
    514 prevented re-compilation of the resulting disassembled ASL output file 
    515 (.DSL).
    516 
    517 
    518 ----------------------------------------
    519 10 January 2020. Summary of changes for version 20200110:
    520 
    521 
    522 1) ACPICA kernel-resident subsystem:
    523 
    524 Updated all copyrights to 2020. This affects all ACPICA source code 
    525 modules.
    526 
    527 
    528 2) iASL Compiler/Disassembler and ACPICA tools:
    529 
    530 ASL test suite (ASLTS): Updated all copyrights to 2020.
    531 
    532 Tools and utilities: Updated all signon copyrights to 2020.
    533 
    534 iASL: fix forward reference analysis for field declarations. Fixes 
    535 forward reference analysis for field declarations by searching the 
    536 parent scope for the named object when the object is not present in 
    537 the current scope.
    538 
    539 iASL: Improved the error output for ALREADY_EXISTS errors. Now, the 
    540 full pathname of the name that already exists is printed.
    541 
    542 iASL: Enhance duplicate Case() detection for buffers. Add check for 
    543 buffers with no initializer list (these buffers will be filled with 
    544 zeros at runtime.)
    545 
    546 
    547 ----------------------------------------
    548 13 December 2019. Summary of changes for version 20191213:
    549 
    550 
    551 1) ACPICA kernel-resident subsystem:
    552 
    553 Return a Buffer object for all fields created via the CreateField
    554 operator. Previously, an Integer would be returned if the size of
    555 the field was less than or equal to the current size of an Integer.
    556 Although this goes against the ACPI specification, it provides
    557 compatibility with other ACPI implementations. Also updated the
    558 ASLTS test suite to reflect this new behavior.
    559 
    560 2) iASL Compiler/Disassembler and ACPICA tools:
    561 
    562 iASL: Implemented detection of (and throw an error for) duplicate
    563 values for Case statements within a single Switch statement. Duplicate
    564 Integers, Strings, and Buffers are supported.
    565 
    566 iASL: Fix error logging issue during multiple file compilation --
    567 Switch to the correct input file during error node creation.
    568 
    569 iASL: For duplicate named object creation, now emit an error instead
    570 of a warning - since this will cause a runtime error.
    571 
    572 AcpiSrc: Add unix line-ending support for non-Windows builds.
    573 
    574 iASL: Add an error condition for an attempt to create a NameString
    575 with > 255 NameSegs (the max allowable via the AML definition).
    576 
    577 
    578 ----------------------------------------
    579 18 October 2019. Summary of changes for version 20191018:
    580 
    581 
    582 1) ACPICA kernel-resident subsystem:
    583 
    584 Debugger: added a new command: ?Fields [address space ID]?. This command 
    585 dumps the contents of all field units that are defined within the 
    586 namespace with a particular address space ID.
    587 
    588 Modified the external interface AcpiLoadTable() to return a table index. 
    589 This table index can be used for unloading a table for debugging.
    590     ACPI_STATUS
    591     AcpiLoadTable (
    592         ACPI_TABLE_HEADER       *Table,
    593         UINT32                  *TableIndex))
    594 
    595 Implemented a new external interface: AcpiUnloadTable() This new function 
    596 takes a table index as an argument and unloads the table. Useful for 
    597 debugging only.
    598     ACPI_STATUS
    599     AcpiUnloadTable (
    600         UINT32                  TableIndex))
    601 
    602 Ported the AcpiNames utility to use the new table initialization 
    603 sequence. The utility was broken before this change. Also, it was 
    604 required to include most of the AML interpreter into the utility in order 
    605 to process table initialization (module-level code execution.)
    606 
    607 Update for results from running Clang V8.0.1. This fixes all "dead 
    608 assignment" warnings. There are still several "Dereference of NULL 
    609 pointer" warnings, but these have been found to be false positive 
    610 warnings.
    611 
    612 
    613 2) iASL Compiler/Disassembler and ACPICA tools:
    614 
    615 iASL: numerous table compiler changes to ensure that the usage of 
    616 yacc/bison syntax is POSIX-compliant.
    617 
    618 iASL/disassembler: several simple bug fixes in the data table 
    619 disassembler.
    620 
    621 Acpiexec: expanded the initialization file (the -fi option) to initialize 
    622 strings, buffers, packages, and field units.
    623 
    624 
    625 ----------------------------------------
    626 16 August 2019. Summary of changes for version 20190816:
    627 
    628 This release is available at https://acpica.org/downloads
    629 
    630 
    631 1) ACPICA kernel-resident subsystem:
    632 
    633 Modified the OwnerId mechanism to allow for more Owner Ids. The previous 
    634 limit was 256 Ids, now it is 4096 Ids. This prevents OWNER_ID_LIMIT 
    635 exceptions on machines with a large number of initialization threads, 
    636 many CPU cores and nested initialization control methods.
    637 
    638 Introduced acpi_dispatch_gpe() as a wrapper around AcpiEvDetectGpe() for 
    639 checking if the given GPE (as represented by a GPE device handle and a 
    640 GPE number) is currently active and dispatching it (if that's the case) 
    641 outside of interrupt context.
    642 
    643 Table load: exit the interpreter before initializing objects within the 
    644 new table This prevents re-acquiring the interpreter lock when loading 
    645 tables
    646 
    647 Added the "Windows 2019" string to the _OSI support (version 1903). Jung-
    648 uk Kim
    649 
    650 Macros: removed pointer math on a null pointer. Causes warnings on some 
    651 compilers and/or tools. Changed ACPI_TO_POINTER to use ACPI_CAST_PTR 
    652 instead of using arithmetic.
    653 
    654 Fully deployed the ACPI_PRINTF_LIKE macro. This macro was not being used 
    655 across all "printf-like" internal functions. Also, cleanup all calls to 
    656 such functions (both in 32-bit mode and 64-bit mode) now that they are 
    657 analyzed by the gcc compiler via ACPI_PRINTF_LIKE.
    658 
    659 
    660 2) iASL Compiler/Disassembler and ACPICA tools:
    661 
    662 iASL: implemented a new data table compiler flex/bison front-end. This 
    663 change is internal and is not intended to result in changes to the 
    664 compiled code. This new compiler front-end can be invoked using the -tp 
    665 option for now, until the old mechanism is removed.
    666 
    667 ASLTS: Implemented a new data table compiler test suite. This test suite 
    668 generates all table templates and compile/disassemble/re-compile/binary-
    669 compare each file. 
    670 
    671 iASL: return -1 if AML files were not generated due to compiler errors
    672 
    673 iASL: added a warning on use of the now-legacy ASL Processor () keyword.
    674 
    675 iASL: added an error on _UID object declaration that returns a String 
    676 within a Processor () declaration. A _UID for a processor must be an 
    677 Integer.
    678 
    679 iASL: added a null terminator to name strings that consist only of 
    680 multiple parent prefixes (^)
    681 
    682 iASL: added support to compile both ASL and data table files in a single 
    683 command.
    684 
    685 Updated the tool generation project files that were recently migrated to 
    686 MSVC 2017 to eliminate all new warnings. The new project files appear in 
    687 the directory \acpica\generate\msvc2017. This change effectively 
    688 deprecates the older project files in \acpica\generate\msvc9.
    689 
    690 
    691 ----------------------------------------
    692 03 July 2019. Summary of changes for version 20190703:
    693 
    694 
    695 1) ACPICA kernel-resident subsystem:
    696 
    697 Remove legacy module-level support code. There were still some remnants 
    698 of the legacy module-level code executions. Since we no longer support 
    699 this option, this is essentially dead code and has been removed from the 
    700 ACPICA source.
    701 
    702 iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root 
    703 scope. If these named objects are declared outside the root scope, they 
    704 will not be invoked by any host Operating System.
    705 
    706 Clear status of GPEs on first direct enable. ACPI GPEs (other than the EC 
    707 one) can be enabled in two situations. First, the GPEs with existing _Lxx 
    708 and _Exx methods are enabled implicitly by ACPICA during system 
    709 initialization.  Second, the GPEs without these methods (like GPEs listed 
    710 by _PRW objects for wakeup devices) need to be enabled directly by the 
    711 code that is going to use them (e.g. ACPI power management or device 
    712 drivers).
    713 
    714 In the former case, if the status of a given GPE is set to start with, 
    715 its handler method (either _Lxx or _Exx) needs to be invoked to take care 
    716 of the events (possibly) signaled before the GPE was enabled. In the 
    717 latter case, however, the first caller of AcpiEnableGpe() for a given GPE 
    718 should not be expected to care about any events that might be signaled 
    719 through it earlier.  In that case, it is better to clear the status of 
    720 the GPE before enabling it, to prevent stale events from triggering 
    721 unwanted actions (like spurious system resume, for example).
    722 
    723 For this reason, modify AcpiEvAddGpeReference() to take an additional 
    724 boolean argument indicating whether or not the GPE status needs to be 
    725 cleared when its reference counter changes from zero to one and make 
    726 AcpiEnableGpe() pass TRUE to it through that new argument.
    727 
    728 
    729 2) iASL Compiler/Disassembler and ACPICA tools:
    730 
    731 The tool generation process has been migrated to MSVC 2017, and all 
    732 project files have been upgraded. The new project files appear in the 
    733 directory \acpica\generate\msvc2017. This change effectively deprecates 
    734 the older project files in \acpica\generate\msvc9.
    735 
    736 iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root 
    737 scope. If these named objects are declared outside the root scope, they 
    738 will not be invoked by any host Operating System
    739 
    740 ----------------------------------------
    741 09 May 2019. Summary of changes for version 20190509:
    742 
    743 
    744 1) ACPICA kernel-resident subsystem:
    745 
    746 Revert commit  6c43e1a ("ACPICA: Clear status of GPEs before enabling 
    747 them") that causes problems with Thunderbolt controllers to occur if a 
    748 dock device is connected at init time (the xhci_hcd and thunderbolt 
    749 modules crash which prevents peripherals connected through them from 
    750 working). Commit 6c43e1a effectively causes commit ecc1165b8b74 ("ACPICA: 
    751 Dispatch active GPEs at init time") to get undone, so the problem 
    752 addressed by commit ecc1165b8b74 appears again as a result of it.
    753 
    754 
    755 2) iASL Compiler/Disassembler and ACPICA tools:
    756 
    757 Reverted iASL: Additional forward reference detection. This change 
    758 reverts forward reference detection for field declarations. The feature 
    759 unintentionally emitted AML bytecode with incorrect package lengths for 
    760 some ASL code related to Fields and OperationRegions. This malformed AML 
    761 can cause systems to crash
    762 during boot. The malformed AML bytecode is emitted in iASL version 
    763 20190329 and 20190405.
    764 
    765 iASL: improve forward reference detection. This change improves forward 
    766 reference detection for named objects inside of scopes. If a parse object 
    767 has the OP_NOT_FOUND_DURING_LOAD set, it means that Op is a reference to 
    768 a named object that is declared later in the AML bytecode. This is 
    769 allowed if the reference is inside of a method and the declaration is 
    770 outside of a method like so:
    771 
    772 DefinitionBlock(...)
    773 {
    774     Method (TEST)
    775     {
    776         Return (NUM0)
    777     }
    778     Name (NUM0,0)
    779 }
    780 
    781 However, if the declaration and reference are both in the same method or 
    782 outside any methods, this is a forward reference and should be marked as 
    783 an error because it would result in runtime errors.
    784 
    785 DefinitionBlock(...)
    786 {
    787     Name (BUFF, Buffer (NUM0) {}) // Forward reference
    788     Name (NUM0, 0x0)
    789 
    790     Method (TEST)
    791     {
    792         Local0 = NUM1
    793         Name (NUM1, 0x1) // Forward reference
    794         return (Local0)
    795     }
    796 }
    797 
    798 iASL: Implemented additional buffer overflow analysis for BufferField 
    799 declarations. Check if a buffer index argument to a create buffer field 
    800 operation is beyond the end of the target buffer.
    801 
    802 This affects these AML operators:
    803  
    804    AML_CREATE_FIELD_OP
    805    AML_CREATE_BIT_FIELD_OP
    806    AML_CREATE_BYTE_FIELD_OP
    807    AML_CREATE_WORD_FIELD_OP
    808    AML_CREATE_DWORD_FIELD_OP
    809    AML_CREATE_QWORD_FIELD_OP
    810 
    811  There are three conditions that must be satisfied in order to allow this 
    812 validation at compile time:
    813  
    814    1) The length of the target buffer must be an integer constant
    815    2) The index specified in the create* must be an integer constant
    816    3) For CreateField, the bit length argument must be non-zero.
    817 
    818 Example:
    819     Name (BUF1, Buffer() {1,2})
    820     CreateField (BUF1, 7, 9, CF03)  // 3: ERR
    821 
    822 dsdt.asl     14:     CreateField (BUF1, 7, 9, CF03)  // 3: ERR
    823 Error    6165 -                           ^ Buffer index beyond end of 
    824 target buffer
    825 
    826 
    827 ----------------------------------------
    828 05 April 2019. Summary of changes for version 20190405:
    829 
    830 
    831 1) ACPICA kernel-resident subsystem:
    832 
    833 Event Manager: History: Commit 18996f2db918 ("ACPICA: Events: Stop 
    834 unconditionally clearing ACPI IRQs during suspend/resume") was added 
    835 earlier to stop clearing of event status bits unconditionally on suspend 
    836 and resume paths. Though this change fixed an issue on suspend path, it 
    837 introduced regressions on several resume paths. In the case of S0ix, 
    838 events are enabled as part of device suspend path. If status bits for the 
    839 events are set when they are enabled, it could result in premature wake 
    840 from S0ix. If status is cleared for any event that is being enabled so 
    841 that any stale events are cleared out. In case of S0ix, events are 
    842 enabled as part of device suspend path. If status bits for the events are 
    843 set when they are enabled, it could result in premature wake from S0ix.
    844 
    845 This change ensures that status is cleared for any event that is being 
    846 enabled so that any stale events are cleared out.
    847 
    848 
    849 2) iASL Compiler/Disassembler and ACPICA tools:
    850 
    851 iASL: Implemented an enhanced multiple file compilation that combines 
    852 named objects from all input files to a single namespace. With this 
    853 feature, any unresolved external declarations as well as duplicate named 
    854 object declarations can be detected during compilation rather than 
    855 generating errors much later at runtime. The following commands are 
    856 examples that utilize this feature:
    857     iasl dsdt.asl ssdt.asl
    858     iasl dsdt.asl ssdt1.asl ssdt2.asl
    859     iasl dsdt.asl ssdt*.asl
    860 
    861 ----------------------------------------
    862 29 March 2019. Summary of changes for version 20190329:
    863 
    864 
    865 1) ACPICA kernel-resident subsystem:
    866 
    867 Namespace support: Remove the address nodes from global list after method 
    868 termination. The global address list contains pointers to namespace nodes 
    869 that represent Operation Regions. This change properly removes Operation 
    870 Region namespace nodes that are declared dynamically during method 
    871 execution.
    872 
    873 Linux: Use a different debug default than ACPICA. There was a divergence 
    874 between Linux and the ACPICA codebases. In order to resolve this 
    875 divergence, Linux now declares its own debug default in aclinux.h
    876 
    877 Renamed some internal macros to improve code understanding and 
    878 maintenance. The macros below all operate on single 4-character ACPI 
    879 NameSegs, not generic strings (old -> new):
    880     ACPI_NAME_SIZE    -> ACPI_NAMESEG_SIZE
    881     ACPI_COMPARE_NAME -> ACPI_COMPARE_NAMESEG
    882     ACPI_MOVE_NAME    -> ACPI_COPY_NAMESEG
    883 
    884 Fix for missing comma in array declaration for the AcpiGbl_GenericNotify 
    885 table.
    886 
    887 Test suite: Update makefiles, add PCC operation region support
    888 
    889 
    890 2) iASL Compiler/Disassembler and Tools:
    891 
    892 iASL: Implemented additional illegal forward reference detection. Now 
    893 detect and emit an error upon detection of a forward reference from a 
    894 Field to an Operation Region. This will fail at runtime if allowed to 
    895 pass the compiler.
    896 
    897 AcpiExec: Add an address list check for dynamic Operation Regions. This 
    898 feature performs a sanity test for each node the global address list. 
    899 This is done in order to ensure that all dynamic operation regions are 
    900 properly removed from the global address list and no dangling pointers 
    901 are left behind.
    902 
    903 Disassembler: Improved generation of resource pathnames. This change 
    904 improves the code that generates resource descriptor and resource tag 
    905 pathnames. The original code used a bunch of str* C library functions 
    906 that caused warnings on some compilers.
    907 
    908 iASL: Removed some uses of strncpy and replaced with memmove. The strncpy 
    909 function can overwrite buffers if the calling code is not very careful. 
    910 In the case of generating a module/table header, use of memmove is a 
    911 better implementation.
    912 
    913 
    914 3) Status of new features that have not been completed at this time:
    915 
    916 iASL: Implementing an enhanced multiple file compilation into a single 
    917 namespace feature (Status): This feature will be released soon, and 
    918 allows multiple ASL files to be compiled into the same single namespace. 
    919 By doing so, any unresolved external declarations as well as duplicate 
    920 named object declarations can be detected during compilation (rather than 
    921 later during runtime). The following commands are examples that utilize 
    922 this feature:
    923     iasl dsdt.asl ssdt.asl
    924     iasl dsdt.asl ssdt1.asl ssdt2.asl
    925     iasl dsdt.asl ssdt*.asl
    926 
    927 ASL tutorial status: Feedback is being gathered internally and the 
    928 current plan is to publish this tutorial on the ACPICA website after a 
    929 final review by a tech writer.
    930 
    931 ----------------------------------------
    932 15 February 2019. Summary of changes for version 20190215:
    933 
    934 
    935 0) Support for ACPI specification version 6.3:
    936 
    937 Add PCC operation region support for the AML interpreter. This adds PCC 
    938 operation region support in the AML interpreter and a default handler for 
    939 acpiexec. The change also renames the PCC region address space keyword to 
    940 PlatformCommChannel.
    941 
    942 Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG. 
    943 These methods provide OSPM with health information and device boot 
    944 status.
    945 
    946 PDTT: Add TriggerOrder to the PCC Identifier structure. The field value 
    947 defines if the trigger needs to be invoked by OSPM before or at the end 
    948 of kernel crash dump processing/handling operation.
    949 
    950 SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT 
    951 is used for describing devices such as heterogeneous processors, 
    952 accelerators, GPUs, and IO devices with integrated compute or DMA 
    953 engines.
    954 
    955 MADT: Add support for statistical profiling in GICC. Statistical 
    956 profiling extension (SPE) is an architecture-specific feature for ARM.
    957 
    958 MADT: Add online capable flag. If this bit is set, system hardware 
    959 supports enabling this processor during OS runtime.
    960 
    961 New Error Disconnect Recover Notification value. There are a number of 
    962 scenarios where system Firmware in collaboration with hardware may 
    963 disconnect one or more devices from the rest of the system for purposes 
    964 of error containment. Firmware can use this new notification value to 
    965 alert OSPM of such a removal.
    966 
    967 PPTT: New additional fields in Processor Structure Flags. These flags 
    968 provide more information about processor topology.
    969 
    970 NFIT/Disassembler: Change a field name from "Address Range" to "Region 
    971 Type".
    972 
    973 HMAT updates: make several existing fields to be reserved as well as 
    974 rename subtable 0 to "memory proximity domain attributes".
    975 
    976 GTDT: Add support for new GTDT Revision 3. This revision adds information 
    977 for the EL2 timer.
    978 
    979 iASL: Update the HMAT example template for new fields.
    980 
    981 iASL: Add support for the new revision of the GTDT (Rev 3).
    982 
    983 
    984 1) ACPICA kernel-resident subsystem:
    985 
    986 AML Parser: fix the main AML parse loop to correctly skip erroneous 
    987 extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2-
    988 byte extended opcodes. If an error occurs during an AML table load, the 
    989 AML parser will continue loading the table by skipping the offending 
    990 opcode. This implements a "load table at any cost" philosophy.
    991 
    992 
    993 2) iASL Compiler/Disassembler and Tools:
    994 
    995 iASL: Add checks for illegal object references, such as a reference 
    996 outside of method to an object within a method. Such an object is only 
    997 temporary.
    998 
    999 iASL: Emit error for creation of a zero-length operation region. Such a 
   1000 region is rather pointless. If encountered, a runtime error is also 
   1001 implemented in the interpreter.
   1002 
   1003 Debugger: Fix a possible fault with the "test objects" command.
   1004 
   1005 iASL: Makefile: support parent directory filenames containing embedded 
   1006 spaces.
   1007 
   1008 iASL: Update the TPM2 template to revision 4.
   1009 
   1010 iASL: Add the ability to report specific warnings or remarks as errors.
   1011 
   1012 Disassembler: Disassemble OEMx tables as actual AML byte code. 
   1013 Previously, these tables were treated as "unknown table".
   1014 
   1015 iASL: Add definition and disassembly for TPM2 revision 3.
   1016 
   1017 iASL: Add support for TPM2 rev 3 compilation.
   1018 
   1019 
   1020 ----------------------------------------
   1021 08 January 2019. Summary of changes for version 20190108:
   1022 
   1023 
   1024 1) ACPICA kernel-resident subsystem:
   1025 
   1026 Updated all copyrights to 2019. This affects all source code modules.
   1027 
   1028 
   1029 2) iASL Compiler/Disassembler and Tools:
   1030 
   1031 ASL test suite (ASLTS): Updated all copyrights to 2019.
   1032 
   1033 Tools: Updated all signon copyrights to 2019.
   1034 
   1035 AcpiExec: Added a new option to dump extra information concerning any 
   1036 memory leaks detected by the internal object/cache tracking mechanism. -
   1037 va
   1038 
   1039 iASL: Updated the table template for the TPM2 table to the newest version 
   1040 of the table (Revision 4)
   1041 
   1042 
   1043 ----------------------------------------
   1044 13 December 2018. Summary of changes for version 20181213:
   1045 
   1046 
   1047 1) ACPICA Kernel-resident Subsystem:
   1048 
   1049 Fixed some buffer length issues with the GenericSerialBus, related to two 
   1050 of the bidirectional protocols: AttribRawProcessBytes and AttribRawBytes, 
   1051 which are rarely seen in the field. For these, the LEN field of the ASL 
   1052 buffer is now ignored. Hans de Goede
   1053 
   1054 Implemented a new object evaluation trace mechanism for control methods 
   1055 and data objects. This includes nested control methods. It is 
   1056 particularly useful for examining the ACPI execution during system 
   1057 initialization since the output is relatively terse. The flag below 
   1058 enables the output of the trace via the ACPI_DEBUG_PRINT_RAW interface:
   1059    #define ACPI_LV_EVALUATION          0x00080000
   1060 
   1061 Examples:
   1062    Enter evaluation       :  _SB.PCI0._INI (Method)
   1063    Exit evaluation        :  _SB.PCI0._INI
   1064    Enter evaluation       :  _OSI (Method)
   1065    Exit evaluation        :  _OSI
   1066    Enter evaluation       :  _SB.PCI0.TEST (Method)
   1067    Nested method call     :     _SB.PCI0.NST1
   1068    Exit nested method     :     _SB.PCI0.NST1
   1069    Exit evaluation        :  _SB.PCI0.TEST
   1070 
   1071 Added two recently-defined _OSI strings. See 
   1072 https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-
   1073 osi.
   1074    "Windows 2018"
   1075    "Windows 2018.2"
   1076 
   1077 Update for buffer-to-string conversions via the ToHexString ASL operator. 
   1078 A "0x" is now prepended to each of the hex values in the output string. 
   1079 This provides compatibility with other ACPI implementations. The ACPI 
   1080 specification is somewhat vague on this issue.
   1081    Example output string after conversion: 
   1082 "0x01,0x02,0x03,0x04,0x05,0x06"
   1083 
   1084 Return a run-time error for TermArg expressions within individual package 
   1085 elements. Although this is technically supported by the ASL grammar, 
   1086 other ACPI implementations do not support this either. Also, this fixes a 
   1087 fault if this type of construct is ever encountered (it never has been).
   1088 
   1089 
   1090 2) iASL Compiler/Disassembler and Tools:
   1091 
   1092 iASL: Implemented a new compile option (-ww) that will promote individual 
   1093 warnings and remarks to errors. This is intended to enhance the firmware 
   1094 build process.
   1095 
   1096 AcpiExec: Implemented a new command-line option (-eo) to support the new 
   1097 object evaluation trace mechanism described above.
   1098 
   1099 Disassembler: Added support to disassemble OEMx tables as AML/ASL tables 
   1100 instead of a "unknown table" message.
   1101 
   1102 AcpiHelp: Improved support for the "special" predefined names such as 
   1103 _Lxx, _Exx, _EJx, _T_x, etc. For these, any legal hex value can now be 
   1104 used for "xx" and "x".
   1105 
   1106 ----------------------------------------
   1107 31 October 2018. Summary of changes for version 20181031:
   1108 
   1109 
   1110 An Operation Region regression was fixed by properly adding address 
   1111 ranges to a global list during initialization. This allows OS to 
   1112 accurately check for overlapping regions between native devices (such as 
   1113 PCI) and Operation regions as well as checking for region conflicts 
   1114 between two Operation Regions.
   1115 
   1116 Added support for the 2-byte extended opcodes in the code/feature that 
   1117 attempts to continue parsing during the table load phase. Skip parsing 
   1118 Device declarations (and other extended opcodes) when an error occurs 
   1119 during parsing. Previously, only single-byte opcodes were supported.
   1120 
   1121 Cleanup: Simplified the module-level code support by eliminating a 
   1122 useless global variable (AcpiGbl_GroupModuleLeveCode).
   1123 
   1124 
   1125 2) iASL Compiler/Disassembler and Tools:
   1126 
   1127 iASL/Preprocessor: Fixed a regression where an incorrect use of ACPI_FREE 
   1128 could cause a fault in the preprocessor. This was an inadvertent side-
   1129 effect from moving more allocations/frees to the local cache/memory 
   1130 mechanism.
   1131 
   1132 iASL: Enhanced error detection by validating that all NameSeg elements 
   1133 within a NamePatch actually exist. The previous behavior was spotty at 
   1134 best, and such errors could be improperly ignored at compiler time (never 
   1135 at runtime, however. There are two new error messages, as shown in the 
   1136 examples below:
   1137 
   1138 dsdt.asl     33:     CreateByteField (TTTT.BXXX, 1, CBF1)
   1139 Error    6161 -                              ^ One or more objects within 
   1140 the Pathname do not exist (TTTT.BXXX)
   1141 
   1142 dsdt.asl     34:     CreateByteField (BUF1, UUUU.INT1, BBBB.CBF1)
   1143 Error    6160 -        One or more prefix Scopes do not exist ^  
   1144 (BBBB.CBF1)
   1145 
   1146 iASL: Disassembler/table-compiler: Added support for the static data 
   1147 table TPM2 revision 3 (an older version of TPM2). The support has been 
   1148 added for the compiler and the disassembler.
   1149 
   1150 Fixed compilation of DOS format data table file on Unix/Linux systems. 
   1151 iASL now properly detects line continuations (\) for DOS format data 
   1152 table definition language files on when executing on Unix/Linux.
   1153 
   1154 ----------------------------------------
   1155 03 October 2018. Summary of changes for version 20181003:
   1156 
   1157 
   1158 2) iASL Compiler/Disassembler and Tools:
   1159 
   1160 Fixed a regression introduced in version 20180927 that could cause the 
   1161 compiler to fault, especially with NamePaths containing one or more 
   1162 carats (^). Such as: ^^_SB_PCI0
   1163 
   1164 Added a new remark for the Sleep() operator when the sleep time operand 
   1165 is larger than one second. This is a very long time for the ASL/BIOS code 
   1166 and may not be what was intended by the ASL writer.
   1167 
   1168 ----------------------------------------
   1169 27 September 2018. Summary of changes for version 20180927:
   1170 
   1171 
   1172 1) ACPICA kernel-resident subsystem:
   1173 
   1174 Updated the GPE support to clear the status of all ACPI events when 
   1175 entering any/all sleep states in order to avoid premature wakeups. In 
   1176 theory, this may cause some wakeup events to be missed, but the 
   1177 likelihood of this is small. This change restores the original behavior 
   1178 of the ACPICA code in order to fix a regression seen from the previous 
   1179 "Stop unconditionally clearing ACPI IRQs during suspend/resume" change. 
   1180 This regression could cause some systems to incorrectly wake immediately.
   1181 
   1182 Updated the execution of the _REG methods during initialization and 
   1183 namespace loading to bring the behavior into closer conformance to the 
   1184 ACPI specification and other ACPI implementations:
   1185 
   1186 From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
   1187     "Control methods must assume all operation regions are inaccessible 
   1188 until the _REG(RegionSpace, 1) method is executed"
   1189 
   1190     "The exceptions to this rule are:
   1191 1.  OSPM must guarantee that the following operation regions are always 
   1192 accessible:
   1193     SystemIO operation regions.
   1194     SystemMemory operation regions when accessing memory returned by the 
   1195 System Address Map reporting interfaces."
   1196 
   1197 Since the state of both the SystemIO and SystemMemory address spaces are 
   1198 defined by the specification to never change, this ACPICA change ensures 
   1199 that now _REG is never called on them. This solves some problems seen in 
   1200 the field and provides compatibility with other ACPI implementations. An 
   1201 update to the upcoming new version of the ACPI specification will help 
   1202 clarify this behavior.
   1203 
   1204 Updated the implementation of support for the Generic Serial Bus. For the 
   1205 "bidirectional" protocols, the internal implementation now automatically 
   1206 creates a return data buffer of the maximum size (255). This handles the 
   1207 worst-case for data that is returned from the serial bus handler, and 
   1208 fixes some problems seen in the field. This new buffer is directly 
   1209 returned to the ASL. As such, there is no true "bidirectional" buffer, 
   1210 which matches the ACPI specification. This is the reason for the "double 
   1211 store" seen in the example ASL code in the specification, shown below:
   1212 
   1213 Word Process Call (AttribProcessCall):
   1214     OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
   1215     Field(TOP1, BufferAcc, NoLock, Preserve)
   1216     {
   1217         FLD1, 8, // Virtual register at command value 1.
   1218     }
   1219 
   1220     Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
   1221                              // as BUFF
   1222     CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
   1223 
   1224     Store(0x5416, DATA)               // Save 0x5416 into the data buffer
   1225     Store(Store(BUFF, FLD1), BUFF)    // Invoke a write/read Process Call 
   1226 transaction
   1227                            // This is the "double store". The write to
   1228                            // FLD1 returns a new buffer, which is stored
   1229                            // back into BUFF with the second Store.
   1230 
   1231 
   1232 2) iASL Compiler/Disassembler and Tools:
   1233 
   1234 iASL: Implemented detection of extraneous/redundant uses of the Offset() 
   1235 operator within a Field Unit list. A remark is now issued for these. For 
   1236 example, the first two of the Offset() operators below are extraneous. 
   1237 Because both the compiler and the interpreter track the offsets 
   1238 automatically, these Offsets simply refer to the current offset and are 
   1239 unnecessary. Note, when optimization is enabled, the iASL compiler will 
   1240 in fact remove the redundant Offset operators and will not emit any AML 
   1241 code for them.
   1242 
   1243     OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
   1244     Field (OPR1)
   1245     {
   1246         Offset (0),     // Never needed
   1247         FLD1, 32,
   1248         Offset (4),     // Redundant, offset is already 4 (bytes)
   1249         FLD2, 8,
   1250         Offset (64),    // OK use of Offset.
   1251         FLD3, 16,
   1252     }
   1253 dsdt.asl     14:         Offset (0),
   1254 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
   1255 operator
   1256 
   1257 dsdt.asl     16:         Offset (4),
   1258 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
   1259 operator
   1260 
   1261 ----------------------------------------
   1262 10 August 2018. Summary of changes for version 20180810:
   1263 
   1264 
   1265 1) ACPICA kernel-resident subsystem:
   1266 
   1267 Initial ACPI table loading: Attempt to continue loading ACPI tables 
   1268 regardless of malformed AML. Since migrating table initialization to the 
   1269 new module-level code support, the AML interpreter rejected tables upon 
   1270 any ACPI error encountered during table load. This is a problem because 
   1271 non-serious ACPI errors during table load do not necessarily mean that 
   1272 the entire definition block (DSDT or SSDT) is invalid. This change 
   1273 improves the table loading by ignoring some types of errors that can be 
   1274 generated by incorrect AML. This can range from object type errors, scope 
   1275 errors, and index errors.
   1276 
   1277 Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs 
   1278 during suspend/resume. The status of ACPI events is no longer cleared 
   1279 when entering the ACPI S5 system state (power off) which caused some 
   1280 systems to power up immediately after turning off power in certain 
   1281 situations. This was a functional regression. It was fixed by clearing 
   1282 the status of all ACPI events again when entering S5 (for system-wide 
   1283 suspend or hibernation the clearing of the status of all events is not 
   1284 desirable, as it might cause the kernel to miss wakeup events sometimes). 
   1285 Rafael Wysocki.
   1286 
   1287 
   1288 2) iASL Compiler/Disassembler and Tools:
   1289 
   1290 AcpiExec: Enhanced the -fi option (Namespace initialization file). Field 
   1291 elements listed in the initialization file were previously initialized 
   1292 after the table load and before executing module-level code blocks. 
   1293 Recent changes in the module-level code support means that the table load 
   1294 becomes a large control method execution. If fields are used within 
   1295 module-level code and we are executing with the -fi option, the 
   1296 initialization values were used to initialize the namespace object(s) 
   1297 only after the table was finished loading. This change Provides an early 
   1298 initialization of objects specified in the initialization file so that 
   1299 field unit values are populated during the table load (not after the 
   1300 load).
   1301 
   1302 AcpiExec: Fixed a small memory leak regression that could result in 
   1303 warnings during exit of the utility. These warnings were similar to 
   1304 these:
   1305     0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
   1306     0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
   1307 
   1308 ----------------------------------------
   1309 29 June 2018. Summary of changes for version 20180629:
   1310 
   1311 
   1312 1) iASL Compiler/Disassembler and Tools:
   1313 
   1314 iASL: Fixed a regression related to the use of the ASL External 
   1315 statement. Error checking for the use of the External() statement has 
   1316 been relaxed. Previously, a restriction on the use of External meant that 
   1317 the referenced named object was required to be defined in a different 
   1318 table (an SSDT). Thus it would be an error to declare an object as an 
   1319 external and then define the same named object in the same table. For 
   1320 example:
   1321     DefinitionBlock (...)
   1322     {
   1323         External (DEV1)
   1324         Device (DEV1){...} // This was an error
   1325     }
   1326 However, this behavior has caused regressions in some existing ASL code, 
   1327 because there is code that depends on named objects and externals (with 
   1328 the same name) being declared in the same table. This change will allow 
   1329 the ASL code above to compile without errors or warnings.
   1330 
   1331 iASL: Implemented ASL language extensions for four operators to make some 
   1332 of their arguments optional instead of required:
   1333     1) Field (RegionName, AccessType, LockRule, UpdateRule)
   1334     2) BankField (RegionName, BankName, BankValue,
   1335                 AccessType, LockRule, UpdateRule)
   1336     3) IndexField (IndexName, DataName,
   1337                 AccessType, LockRule, UpdateRule)
   1338 For the Field operators above, the AccessType, LockRule, and UpdateRule 
   1339 are now optional arguments. The default values are:
   1340         AccessType: AnyAcc
   1341         LockRule:   NoLock
   1342         UpdateRule: Preserve
   1343     4) Mutex (MutexName, SyncLevel)
   1344 For this operator, the SyncLevel argument is now optional. This argument 
   1345 is rarely used in any meaningful way by ASL code, and thus it makes sense 
   1346 to make it optional. The default value is:
   1347         SyncLevel:  0
   1348 
   1349 iASL: Attempted use of the ASL Unload() operator now results in the 
   1350 following warning:
   1351     "Unload is not supported by all operating systems"
   1352 This is in fact very true, and the Unload operator may be completely 
   1353 deprecated in the near future.
   1354 
   1355 AcpiExec: Fixed a regression for the -fi option (Namespace initialization 
   1356 file. Recent changes in the ACPICA module-level code support altered the 
   1357 table load/initialization sequence . This means that the table load has 
   1358 become a large method execution of the table itself. If Operation Region 
   1359 Fields are used within any module-level code and the -fi option was 
   1360 specified, the initialization values were populated only after the table 
   1361 had completely finished loading (and thus the module-level code had 
   1362 already been executed). This change moves the initialization of objects 
   1363 listed in the initialization file to before the table is executed as a 
   1364 method. Field unit values are now initialized before the table execution 
   1365 is performed.
   1366 
   1367 ----------------------------------------
   1368 31 May 2018. Summary of changes for version 20180531:
   1369 
   1370 
   1371 1) ACPICA kernel-resident Subsystem:
   1372 
   1373 Implemented additional support to help ensure that a DSDT or SSDT is 
   1374 fully loaded even if errors are incurred during the load. The majority of 
   1375 the problems that are seen is the failure of individual AML operators 
   1376 that occur during execution of any module-level code (MLC) existing in 
   1377 the table. This support adds a mechanism to abort the current ASL 
   1378 statement (AML opcode), emit an error message, and to simply move on to 
   1379 the next opcode -- instead of aborting the entire table load. This is 
   1380 different than the execution of a control method where the entire method 
   1381 is aborted upon any error. The goal is to perform a very "best effort" to 
   1382 load the ACPI tables. The most common MLC errors that have been seen in 
   1383 the field are direct references to unresolved ASL/AML symbols (referenced 
   1384 directly without the use of the CondRefOf operator to validate the 
   1385 symbol). This new ACPICA behavior is now compatible with other ACPI 
   1386 implementations.
   1387 
   1388 Interpreter: The Unload AML operator is no longer supported for the 
   1389 reasons below. An AE_NOT_IMPLEMENTED exception is returned.
   1390 1) A correct implementation on at least some hosts may not be possible.
   1391 2) Other ACPI implementations do not correctly/fully support it.
   1392 3) It requires host device driver support which is not known to exist.
   1393     (To properly support namespace unload out from underneath.)
   1394 4) This AML operator has never been seen in the field.
   1395 
   1396 Parser: Added a debug option to dump AML parse sub-trees as they are 
   1397 being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is 
   1398 ACPI_DB_PARSE_TREES.
   1399 
   1400 Debugger: Reduced the verbosity for errors incurred during table load and 
   1401 module-level code execution.
   1402 
   1403 Completed an investigation into adding a namespace node "owner list" 
   1404 instead of the current "owner ID" associated with namespace nodes. This 
   1405 list would link together all nodes that are owned by an individual 
   1406 control method. The purpose would be to enhance control method execution 
   1407 by speeding up cleanup during method exit (all namespace nodes created by 
   1408 a method are deleted upon method termination.) Currently, the entire 
   1409 namespace must be searched for matching owner IDs if (and only if) the 
   1410 method creates named objects outside of the local scope. However, by far 
   1411 the most common case is that methods create objects locally, not outside 
   1412 the method scope. There is already an ACPICA optimization in place that 
   1413 only searches the entire namespace in the rare case of a method creating 
   1414 objects elsewhere in the namespace. Therefore, it is felt that the 
   1415 overhead of adding an additional pointer to each namespace node to 
   1416 implement the owner list makes this feature unnecessary.
   1417 
   1418 
   1419 2) iASL Compiler/Disassembler and Tools:
   1420 
   1421 iASL, Disassembler, and Template generator: Implemented support for 
   1422 Revision D of the IORT table. Adds a new subtable that is used to specify 
   1423 SMMUv3 PMCGs. rmurphy-arm.
   1424 
   1425 Disassembler: Restored correct table header validation for the "special" 
   1426 ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI 
   1427 table header and must be special-cased. This was a regression that has 
   1428 been present for apparently a long time.
   1429 
   1430 AcpiExec: Reduced verbosity of the local exception handler implemented 
   1431 within acpiexec. This handler is invoked by ACPICA upon any exceptions 
   1432 generated during control method execution. A new option was added: -vh 
   1433 restores the original verbosity level if desired.
   1434 
   1435 AcpiExec: Changed the default base from decimal to hex for the -x option 
   1436 (set debug level). This simplifies the use of this option and matches the 
   1437 behavior of the corresponding iASL -x option.
   1438 
   1439 AcpiExec: Restored a force-exit on multiple control-c (sigint) 
   1440 interrupts. This allows program termination even if other issues cause 
   1441 the control-c to fail.
   1442 
   1443 ASL test suite (ASLTS): Added tests for the recently implemented package 
   1444 element resolution mechanism that allows forward references to named 
   1445 objects from individual package elements (this mechanism provides 
   1446 compatibility with other ACPI implementations.)
   1447 
   1448 
   1449 ----------------------------------------
   1450 8 May 2018. Summary of changes for version 20180508:
   1451 
   1452 
   1453 1) ACPICA kernel-resident subsystem:
   1454 
   1455 Completed the new (recently deployed) package resolution mechanism for 
   1456 the Load and LoadTable ASL/AML operators. This fixes a regression that 
   1457 was introduced in version 20180209 that could result in an 
   1458 AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table 
   1459 (SSDT) that contains package objects.
   1460 
   1461 
   1462 2) iASL Compiler/Disassembler and Tools:
   1463 
   1464 AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than 
   1465 1 MB. This change allows for table offsets within the acpidump file to be 
   1466 up to 8 characters. These changes are backwards compatible with existing 
   1467 acpidump files.
   1468 
   1469 
   1470 ----------------------------------------
   1471 27 April 2018. Summary of changes for version 20180427: 
   1472 
   1473 
   1474 1) ACPICA kernel-resident subsystem:
   1475 
   1476 Debugger: Added support for Package objects in the "Test Objects" 
   1477 command. This command walks the entire namespace and evaluates all named 
   1478 data objects (Integers, Strings, Buffers, and now Packages).
   1479 
   1480 Improved error messages for the namespace root node. Originally, the root 
   1481 was referred to by the confusing string "\___". This has been replaced by 
   1482 "Namespace Root" for clarification.
   1483 
   1484 Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin 
   1485 Ian King <colin.king (a] canonical.com>.
   1486 
   1487 
   1488 2) iASL Compiler/Disassembler and Tools: 
   1489 
   1490 iASL: Implemented support to detect and flag illegal forward references. 
   1491 For compatibility with other ACPI implementations, these references are 
   1492 now illegal at the root level of the DSDT or SSDTs. Forward references 
   1493 have always been illegal within control methods. This change should not 
   1494 affect existing ASL/AML code because of the fact that these references 
   1495 have always been illegal in the other ACPI implementation.
   1496 
   1497 iASL: Added error messages for the case where a table OEM ID and OEM 
   1498 TABLE ID strings are longer than the ACPI-defined length. Previously, 
   1499 these strings were simply silently truncated.
   1500 
   1501 iASL: Enhanced the -tc option (which creates an AML hex file in C, 
   1502 suitable for import into a firmware project):
   1503   1) Create a unique name for the table, to simplify use of multiple 
   1504 SSDTs.
   1505   2) Add a protection #ifdef in the file, similar to a .h header file.
   1506 With assistance from Sami Mujawar, sami.mujawar (a] arm.com and Evan Lloyd, 
   1507 evan.lloyd (a] arm.com
   1508 
   1509 AcpiExec: Added a new option, -df, to disable the local fault handler. 
   1510 This is useful during debugging, where it may be desired to drop into a 
   1511 debugger on a fault.
   1512 
   1513 ----------------------------------------
   1514 13 March 2018. Summary of changes for version 20180313:
   1515 
   1516 
   1517 1) ACPICA kernel-resident subsystem:
   1518 
   1519 Implemented various improvements to the GPE support:
   1520 
   1521 1) Dispatch all active GPEs at initialization time so that no GPEs are 
   1522 lost.
   1523 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled 
   1524 before devices are enumerated.
   1525 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that 
   1526 IRQs are not lost.
   1527 4) Add parallel GPE handling to eliminate the possibility of dispatching 
   1528 the same GPE twice.
   1529 5) Dispatch any pending GPEs after enabling for the first time.
   1530 
   1531 AcpiGetObjectInfo - removed support for the _STA method. This was causing 
   1532 problems on some platforms.
   1533 
   1534 Added a new _OSI string, "Windows 2017.2".
   1535 
   1536 Cleaned up and simplified the module-level code support. These changes 
   1537 are in preparation for the eventual removal of the legacy MLC support 
   1538 (deferred execution), replaced by the new MLC architecture which executes 
   1539 the MLC as a table is loaded (DSDT/SSDTs).
   1540 
   1541 Changed a compile-time option to a runtime option. Changes the option to 
   1542 ignore ACPI table load-time package resolution errors into a runtime 
   1543 option. Used only for platforms that generate many AE_NOT_FOUND errors 
   1544 during boot. AcpiGbl_IgnorePackageResolutionErrors.
   1545 
   1546 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some 
   1547 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid 
   1548 compilation errors from unused variables (seen with some compilers).
   1549 
   1550 
   1551 2) iASL Compiler/Disassembler and Tools:
   1552 
   1553 ASLTS: parallelized execution in order to achieve an (approximately) 2X 
   1554 performance increase.
   1555 
   1556 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves 
   1557 error reporting.
   1558 
   1559 ----------------------------------------
   1560 09 February 2018. Summary of changes for version 20180209:
   1561 
   1562 
   1563 1) ACPICA kernel-resident subsystem:
   1564 
   1565 Completed the final integration of the recent changes to Package Object 
   1566 handling and the module-level AML code support. This allows forward 
   1567 references from individual package elements when the package object is 
   1568 declared from within module-level code blocks. Provides compatibility 
   1569 with other ACPI implementations.
   1570 
   1571 The new architecture for the AML module-level code has been completed and 
   1572 is now the default for the ACPICA code. This new architecture executes 
   1573 the module-level code in-line as the ACPI table is loaded/parsed instead 
   1574 of the previous architecture which deferred this code until after the 
   1575 table was fully loaded. This solves some ASL code ordering issues and 
   1576 provides compatibility with other ACPI implementations. At this time, 
   1577 there is an option to fallback to the earlier architecture, but this 
   1578 support is deprecated and is planned to be completely removed later this 
   1579 year.
   1580 
   1581 Added a compile-time option to ignore AE_NOT_FOUND exceptions during 
   1582 resolution of named reference elements within Package objects. Although 
   1583 this is potentially a serious problem, it can generate a lot of 
   1584 noise/errors on platforms whose firmware carries around a bunch of unused 
   1585 Package objects. To disable these errors, define 
   1586 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All 
   1587 errors are always reported for ACPICA applications such as AcpiExec.
   1588 
   1589 Fixed a regression related to the explicit type-conversion AML operators 
   1590 (ToXXXX). The regression was introduced early in 2017 but was not seen 
   1591 until recently because these operators are not fully supported by other 
   1592 ACPI implementations and are thus rarely used by firmware developers. The 
   1593 operators are defined by the ACPI specification to not implement the 
   1594 "implicit result object conversion". The regression incorrectly 
   1595 introduced this object conversion for the following explicit conversion 
   1596 operators:
   1597     ToInteger
   1598     ToString
   1599     ToBuffer
   1600     ToDecimalString
   1601     ToHexString
   1602     ToBCD
   1603     FromBCD
   1604 
   1605 
   1606 2) iASL Compiler/Disassembler and Tools:
   1607 
   1608 iASL: Fixed a problem with the compiler constant folding feature as 
   1609 related to the ToXXXX explicit conversion operators. These operators do 
   1610 not support the "implicit result object conversion" by definition. Thus, 
   1611 ASL expressions that use these operators cannot be folded to a simple 
   1612 Store operator because Store implements the implicit conversion. This 
   1613 change uses the CopyObject operator for the ToXXXX operator folding 
   1614 instead. CopyObject is defined to not implement implicit result 
   1615 conversions and is thus appropriate for folding the ToXXXX operators.
   1616 
   1617 iASL: Changed the severity of an error condition to a simple warning for 
   1618 the case where a symbol is declared both locally and as an external 
   1619 symbol. This accommodates existing ASL code.
   1620 
   1621 AcpiExec: The -ep option to enable the new architecture for module-level 
   1622 code has been removed. It is replaced by the -dp option which instead has 
   1623 the opposite effect: it disables the new architecture (the default) and 
   1624 enables the legacy architecture. When the legacy code is removed in the 
   1625 future, the -dp option will be removed also.
   1626 
   1627 ----------------------------------------
   1628 05 January 2018. Summary of changes for version 20180105:
   1629 
   1630 
   1631 1) ACPICA kernel-resident subsystem:
   1632 
   1633 Updated all copyrights to 2018. This affects all source code modules.
   1634 
   1635 Fixed a possible build error caused by an unresolved reference to the 
   1636 AcpiUtSafeStrncpy function.
   1637 
   1638 Removed NULL pointer arithmetic in the various pointer manipulation 
   1639 macros. All "(void *) NULL" constructs are converted to "(void *) 0". 
   1640 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
   1641 
   1642 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj 
   1643 Mittal.
   1644 
   1645 
   1646 2) iASL Compiler/Disassembler and Tools:
   1647 
   1648 ASLTS: Updated all copyrights to 2018.
   1649 
   1650 Tools: Updated all signon copyrights to 2018.
   1651 
   1652 AcpiXtract: Fixed a regression related to ACPI table signatures where the 
   1653 signature was truncated to 3 characters (instead of 4).
   1654 
   1655 AcpiExec: Restore the original terminal mode after the use of the -v and 
   1656 -vd options.
   1657 
   1658 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
   1659 
   1660 ----------------------------------------
   1661 14 December 2017. Summary of changes for version 20171214:
   1662 
   1663 
   1664 1) ACPICA kernel-resident subsystem:
   1665 
   1666 Fixed a regression in the external (public) AcpiEvaluateObjectTyped 
   1667 interface where the optional "pathname" argument had inadvertently become 
   1668 a required argument returning an error if omitted (NULL pointer 
   1669 argument).
   1670 
   1671 Fixed two possible memory leaks related to the recently developed "late 
   1672 resolution" of reference objects within ASL Package Object definitions.
   1673 
   1674 Added two recently defined _OSI strings: "Windows 2016" and "Windows 
   1675 2017". Mario Limonciello.
   1676 
   1677 Implemented and deployed a safer version of the C library function 
   1678 strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the 
   1679 creation of unterminated strings as a possible result of a standard 
   1680 strncpy.
   1681 
   1682 Cleaned up and restructured the global variable file (acglobal.h). There 
   1683 are many changes, but no functional changes.
   1684 
   1685 
   1686 2) iASL Compiler/Disassembler and Tools:
   1687 
   1688 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the 
   1689 optional OemData field at the end of the table was incorrectly required 
   1690 for proper compilation. It is now correctly an optional field.
   1691 
   1692 ASLTS: The entire suite was converted from standard ASL to the ASL+ 
   1693 language, using the ASL-to-ASL+ converter which is integrated into the 
   1694 iASL compiler. A binary compare of all output files has verified the 
   1695 correctness of the conversion.
   1696 
   1697 iASL: Fixed the source code build for platforms where "char" is unsigned. 
   1698 This affected the iASL lexer only. Jung-uk Kim.
   1699 
   1700 ----------------------------------------
   1701 10 November 2017. Summary of changes for version 20171110:
   1702 
   1703 
   1704 1) ACPICA kernel-resident subsystem:
   1705 
   1706 This release implements full support for ACPI 6.2A:
   1707     NFIT - Added a new subtable, "Platform Capabilities Structure"
   1708 No other changes to ACPICA were required, since ACPI 6.2A is primarily an 
   1709 errata release of the specification.
   1710 
   1711 Other ACPI table changes:
   1712     IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
   1713     PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy 
   1714 Linton
   1715 
   1716 Utilities: Modified the string/integer conversion functions to use 
   1717 internal 64-bit divide support instead of a native divide. On 32-bit 
   1718 platforms, a 64-bit divide typically requires a library function which 
   1719 may not be present in the build (kernel or otherwise).
   1720 
   1721 Implemented a targeted error message for timeouts returned from the 
   1722 Embedded Controller device driver. This is seen frequently enough to 
   1723 special-case an AE_TIME returned from an EC operation region access:
   1724     "Timeout from EC hardware or EC device driver"
   1725 
   1726 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all 
   1727 runtime error messages have the identical prefix.
   1728 
   1729 
   1730 2) iASL Compiler/Disassembler and Tools:
   1731 
   1732 AcpiXtract: Fixed a problem with table header detection within the 
   1733 acpidump file. Processing a table could be ended early if a 0x40 (@) 
   1734 appears in the original binary table, resulting in the @ symbol appearing 
   1735 in the decoded ASCII field at the end of the acpidump text line. The 
   1736 symbol caused acpixtract to incorrectly think it had reached the end of 
   1737 the current table and the beginning of a new table.
   1738 
   1739 AcpiXtract: Added an option (-f) to ignore some errors during table 
   1740 extraction. This initial implementation ignores non-ASCII and non-
   1741 printable characters found in the acpidump text file.
   1742 
   1743 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics 
   1744 for ASLTS. This feature is used to track memory allocations from 
   1745 different memory caches within the ACPICA code. At the end of an ASLTS 
   1746 run, these memory statistics are recorded and stored in a log file.
   1747 
   1748 Debugger (user-space version): Implemented a simple "Background" command. 
   1749 Creates a new thread to execute a control method in the background, while 
   1750 control returns to the debugger prompt to allow additional commands.
   1751     Syntax: Background <Namepath> [Arguments]
   1752 
   1753 ----------------------------------------
   1754 29 September 2017. Summary of changes for version 20170929:
   1755 
   1756 
   1757 1) ACPICA kernel-resident subsystem:
   1758 
   1759 Redesigned and implemented an improved ASL While() loop timeout 
   1760 mechanism. This mechanism is used to prevent infinite loops in the kernel 
   1761 AML interpreter caused by either non-responsive hardware or incorrect AML 
   1762 code. The new implementation uses AcpiOsGetTimer instead of a simple 
   1763 maximum loop count, and is thus more accurate and constant across 
   1764 different machines. The default timeout is currently 30 seconds, but this 
   1765 may be adjusted later.
   1766 
   1767 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to 
   1768 better reflect the new implementation of the loop timeout mechanism.
   1769 
   1770 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support 
   1771 and to fix an off-by-one error. Jung-uk Kim.
   1772 
   1773 Fixed an EFI build problem by updating the makefiles to for a new file 
   1774 that was added, utstrsuppt.c
   1775 
   1776 
   1777 2) iASL Compiler/Disassembler and Tools:
   1778 
   1779 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This 
   1780 includes support in the table disassembler, compiler, and template 
   1781 generator.
   1782 
   1783 iASL: Added an exception for an illegal type of recursive method 
   1784 invocation. If a method creates named objects, the first recursive call 
   1785 will fail at runtime. This change adds an error detection at compile time 
   1786 to catch the problem up front. Note: Marking such a method as 
   1787 "serialized" will not help with this problem, because the same thread can 
   1788 acquire the method mutex more than once. Example compiler and runtime 
   1789 output:
   1790 
   1791     Method (MTH1)
   1792     {
   1793         Name (INT1, 1)
   1794         MTH1 ()
   1795     }
   1796 
   1797     dsdt.asl     22: MTH1 ()
   1798     Error    6152 -  ^ Illegal recursive call to method
   1799                        that creates named objects (MTH1)
   1800 
   1801 Previous runtime exception:
   1802     ACPI Error: [INT1] Namespace lookup failure,
   1803     AE_ALREADY_EXISTS (20170831/dswload2-465)
   1804 
   1805 iASL: Updated support for External() opcodes to improve namespace 
   1806 management and error detection. These changes are related to issues seen 
   1807 with multiple-segment namespace pathnames within External declarations, 
   1808 such as below:
   1809 
   1810     External(\_SB.PCI0.GFX0, DeviceObj)
   1811     External(\_SB.PCI0.GFX0.ALSI)
   1812 
   1813 iASL: Implemented support for multi-line error/warning messages. This 
   1814 enables more detailed and helpful error messages as below, from the 
   1815 initial deployment for the duplicate names error:
   1816 
   1817     DSDT.iiii   1692:       Device(PEG2) {
   1818     Error    6074 -                  ^ Name already exists in scope 
   1819 (PEG2)
   1820 
   1821         Original name creation/declaration below:
   1822         DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
   1823 
   1824 AcpiXtract: Added additional flexibility to support differing input hex 
   1825 dump formats. Specifically, hex dumps that contain partial disassembly 
   1826 and/or comments within the ACPI table data definition. There exist some 
   1827 dump utilities seen in the field that create this type of hex dump (such 
   1828 as Simics). For example:
   1829 
   1830     DSDT @ 0xdfffd0c0 (10999 bytes)
   1831         Signature DSDT
   1832         Length 10999
   1833         Revision 1
   1834         Checksum 0xf3 (Ok)
   1835         OEM_ID BXPC
   1836         OEM_table_id BXDSDT
   1837         OEM_revision 1
   1838         Creator_id 1280593481
   1839         Creator_revision 537399345
   1840       0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
   1841       ...
   1842       2af0: 5f 4c 30 46 00 a4 01
   1843 
   1844 Test suite: Miscellaneous changes/fixes:
   1845     More cleanup and simplification of makefiles
   1846     Continue compilation of test cases after a compile failure
   1847     Do not perform binary compare unless both files actually exist
   1848 
   1849 iASL: Performed some code/module restructuring. Moved all memory 
   1850 allocation functions to new modules. Two new files, aslallocate.c and 
   1851 aslcache.c
   1852 
   1853 ----------------------------------------
   1854 31 August 2017. Summary of changes for version 20170831:
   1855 
   1856 
   1857 1) ACPICA kernel-resident subsystem:
   1858 
   1859 Implemented internal support for full 64-bit addresses that appear in all 
   1860 Generic Address Structure (GAS) structures. Previously, only the lower 32 
   1861 bits were used. Affects the use of GAS structures in the FADT and other 
   1862 tables, as well as the GAS structures passed to the AcpiRead and 
   1863 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
   1864 
   1865 Added header support for the PDTT ACPI table (Processor Debug Trigger 
   1866 Table). Full support in the iASL Data Table Compiler and disassembler is 
   1867 forthcoming.
   1868 
   1869 
   1870 2) iASL Compiler/Disassembler and Tools:
   1871 
   1872 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
   1873 Properties Topology Table) where a flag bit was specified in the wrong 
   1874 bit position ("Line Size Valid", bit 6).
   1875 
   1876 iASL: Implemented support for Octal integer constants as defined by the 
   1877 ASL language grammar, per the ACPI specification. Any integer constant 
   1878 that starts with a zero is an octal constant. For example,
   1879     Store (037777, Local0) /* Octal constant */
   1880     Store (0x3FFF, Local0) /* Hex equivalent */
   1881     Store (16383,  Local0) /* Decimal equivalent */
   1882 
   1883 iASL: Improved overflow detection for 64-bit string conversions during 
   1884 compilation of integer constants. "Overflow" in this case means a string 
   1885 that represents an integer that is too large to fit into a 64-bit value. 
   1886 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
   1887 the low-order 32 bits with a warning, as previously implemented. Several 
   1888 new exceptions are defined that indicate a 64-bit overflow, as well as 
   1889 the base (radix) that was used during the attempted conversion. Examples:
   1890     Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
   1891     Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
   1892     Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
   1893 
   1894 iASL: Added a warning for the case where a ResourceTemplate is declared 
   1895 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
   1896 this case, the resulting template is created with a single END_TAG 
   1897 descriptor, which is essentially useless.
   1898 
   1899 iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
   1900 include compilation error codes as well.
   1901 
   1902 ----------------------------------------
   1903 28 July 2017. Summary of changes for version 20170728:
   1904 
   1905 
   1906 1) ACPICA kernel-resident subsystem:
   1907 
   1908 Fixed a regression seen with small resource descriptors that could cause 
   1909 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
   1910 
   1911 AML interpreter: Implemented a new feature that allows forward references 
   1912 from individual named references within package objects that are 
   1913 contained within blocks of "module-level code". This provides 
   1914 compatibility with other ACPI implementations and supports existing 
   1915 firmware that depends on this feature. Example:
   1916 
   1917     Name (ABCD, 1)
   1918     If (ABCD)                       /* An If() at module-level */
   1919     {
   1920         Name (PKG1, Package()
   1921         {
   1922             INT1                    /* Forward reference to object INT1 
   1923 */
   1924         })
   1925         Name (INT1, 0x1234)
   1926     }
   1927 
   1928 AML Interpreter: Fixed a problem with the Alias() operator where aliases 
   1929 to some ASL objects were not handled properly. Objects affected are: 
   1930 Mutex, Event, and OperationRegion.
   1931 
   1932 AML Debugger: Enhanced to properly handle AML Alias objects. These 
   1933 objects have one level of indirection which was not fully supported by 
   1934 the debugger.
   1935 
   1936 Table Manager: Added support to detect and ignore duplicate SSDTs within 
   1937 the XSDT/RSDT. This error in the XSDT has been seen in the field.
   1938 
   1939 EFI and EDK2 support:
   1940     Enabled /WX flag for MSVC builds
   1941     Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
   1942     Added local support for 64-bit multiply and shift operations
   1943     Added support to compile acpidump.efi on Windows
   1944     Added OSL function stubs for interfaces not used under EFI
   1945 
   1946 Added additional support for the _DMA predefined name. _DMA returns a 
   1947 buffer containing a resource template. This change add support within the 
   1948 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of 
   1949 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi (a] arm.com>
   1950 
   1951 
   1952 2) iASL Compiler/Disassembler and Tools:
   1953 
   1954 iASL: Fixed a problem where the internal input line buffer(s) could 
   1955 overflow if there are very long lines in the input ASL source code file. 
   1956 Implemented buffer management that automatically increases the size of 
   1957 the buffers as necessary.
   1958 
   1959 iASL: Added an option (-vx) to "expect" particular remarks, warnings and 
   1960 errors. If the specified exception is not raised during compilation, the 
   1961 compiler emits an error. This is intended to support the ASL test suite, 
   1962 but may be useful in other contexts.
   1963 
   1964 iASL: Implemented a new predefined macro, __METHOD__, which returns a 
   1965 string containing the name of the current control method that is being 
   1966 compiled.
   1967 
   1968 iASL: Implemented debugger and table compiler support for the SDEI ACPI 
   1969 table (Software Delegated Exception Interface). James Morse 
   1970 <james.morse (a] arm.com>
   1971 
   1972 Unix/Linux makefiles: Added an option to disable compile optimizations. 
   1973 The disable occurs when the NOOPT flag is set to TRUE. 
   1974 theracermaster (a] gmail.com
   1975 
   1976 Acpidump: Added support for multiple DSDT and FACS tables. This can occur 
   1977 when there are different tables for 32-bit versus 64-bit.
   1978 
   1979 Enhanced error reporting for the ASL test suite (ASLTS) by removing 
   1980 unnecessary/verbose text, and emit the actual line number where an error 
   1981 has occurred. These changes are intended to improve the usefulness of the 
   1982 test suite.
   1983 
   1984 ----------------------------------------
   1985 29 June 2017. Summary of changes for version 20170629:
   1986 
   1987 
   1988 1) ACPICA kernel-resident subsystem:
   1989 
   1990 Tables: Implemented a deferred ACPI table verification. This is useful 
   1991 for operating systems where the tables cannot be verified in the early 
   1992 initialization stage due to early memory mapping limitations on some 
   1993 architectures. Lv Zheng.
   1994 
   1995 Tables: Removed the signature validation for dynamically loaded tables. 
   1996 Provides compatibility with other ACPI implementations. Previously, only 
   1997 SSDT tables were allowed, as per the ACPI specification. Now, any table 
   1998 signature can be used via the Load() operator. Lv Zheng.
   1999 
   2000 Tables: Fixed several mutex issues that could cause errors during table 
   2001 acquisition. Lv Zheng.
   2002 
   2003 Tables: Fixed a problem where an ACPI warning could be generated if a 
   2004 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
   2005 
   2006 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
   2007 AcpiPutTable interfaces. This applies to the "late stage" table loading 
   2008 when the use of AcpiPutTable is no longer required (since the system 
   2009 memory manager is fully running and available). Lv Zheng.
   2010 
   2011 Fixed/Reverted a regression during processing of resource descriptors 
   2012 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
   2013 exception in this case.
   2014 
   2015 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
   2016 I/O Remapping specification. Robin Murphy <robin.murphy (a] arm.com>
   2017 
   2018 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
   2019 or duplicate target is encountered during Alias creation in 
   2020 AcpiExCreateAlias. Alex James <theracermaster (a] gmail.com>
   2021 
   2022 Added an option to use designated initializers for function pointers. 
   2023 Kees Cook <keescook (a] google.com>
   2024 
   2025 
   2026 2) iASL Compiler/Disassembler and Tools:
   2027 
   2028 iASL: Allow compilation of External declarations with target pathnames 
   2029 that refer to existing named objects within the table. Erik Schmauss.
   2030 
   2031 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
   2032 FieldUnit name also is declared via External in the same table. Erik 
   2033 Schmauss.
   2034 
   2035 iASL: Allow existing scope names within pathnames used in External 
   2036 statements. For example:
   2037     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
   2038     Device (ABCD)
   2039 
   2040 iASL: IORT ACPI table: Implemented changes required to decode the new 
   2041 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
   2042 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni (a] cavium.com>
   2043 
   2044 Disassembler: Don't abort disassembly on errors from External() 
   2045 statements. Erik Schmauss.
   2046 
   2047 Disassembler: fixed a possible fault when one of the Create*Field 
   2048 operators references a Resource Template. ACPICA Bugzilla 1396.
   2049 
   2050 iASL: In the source code, resolved some naming inconsistences across the 
   2051 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
   2052 Adds a new file, aslparseop.c
   2053 
   2054 ----------------------------------------
   2055 31 May 2017. Summary of changes for version 20170531:
   2056 
   2057 
   2058 0) ACPI 6.2 support:
   2059 
   2060 The ACPI specification version 6.2 has been released and is available at
   2061 http://uefi.org/specifications
   2062 
   2063 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
   2064 are summarized below.
   2065 
   2066 New ACPI tables (Table Compiler/Disassembler/Templates):
   2067     HMAT (Heterogeneous Memory Attributes Table)
   2068     WSMT (Windows SMM Security Mitigation Table)
   2069     PPTT (Processor Properties Topology Table)
   2070 
   2071 New subtables for existing ACPI tables:
   2072     HEST (New subtable, Arch-deferred machine check)
   2073     SRAT (New subtable, Arch-specific affinity structure)
   2074     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
   2075 
   2076 Simple updates for existing ACPI tables:
   2077     BGRT (two new flag bits)
   2078     HEST (New bit defined for several subtables, GHES_ASSIST)
   2079 
   2080 New Resource Descriptors and Resource macros (Compiler/Disassembler):
   2081     PinConfig()
   2082     PinFunction()
   2083     PinGroup()
   2084     PinGroupConfig()
   2085     PinGroupFunction()
   2086     New type for hardware error notification (section 18.3.2.9)
   2087 
   2088 New predefined names/methods (Compiler/Interpreter):
   2089     _HMA (Heterogeneous Memory Attributes)
   2090     _LSI (Label Storage Information)
   2091     _LSR (Label Storage Read)
   2092     _LSW (Label Storage Write)
   2093 
   2094 ASL grammar/macro changes (Compiler):
   2095     For() ASL macro, implemented with the AML while operator
   2096     Extensions to Concatenate operator
   2097     Support for multiple definition blocks in same ASL file
   2098     Clarification for Buffer operator
   2099     Allow executable AML code underneath all scopes (Devices, etc.)
   2100     Clarification/change for the _OSI return value
   2101     ASL grammar update for reference operators
   2102     Allow a zero-length string for AML filename in DefinitionBlock
   2103 
   2104 Miscellaneous:
   2105     New device object notification value
   2106     Remove a notify value (0x0C) for graceful shutdown
   2107     New UUIDs for processor/cache properties and
   2108         physical package property
   2109     New _HID, ACPI0014 (Wireless Power Calibration Device)
   2110 
   2111 
   2112 1) ACPICA kernel-resident subsystem:
   2113 
   2114 Added support to disable ACPI events on hardware-reduced platforms. 
   2115 Eliminates error messages of the form "Could not enable fixed event". Lv 
   2116 Zheng
   2117 
   2118 Fixed a problem using Device/Thermal objects with the ObjectType and 
   2119 DerefOf ASL operators. This support had not been fully/properly 
   2120 implemented.
   2121 
   2122 Fixed a problem where if a Buffer object containing a resource template 
   2123 was longer than the actual resource template, an error was generated -- 
   2124 even though the AML is legal. This case has been seen in the field.
   2125 
   2126 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
   2127 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
   2128 
   2129 Added header file changes for the TPM2 ACPI table. Update to new version 
   2130 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
   2131 
   2132 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
   2133 These interfaces are intended to be used only in conjunction with the 
   2134 predefined _DLM method (Device Lock Method). "This object appears in a 
   2135 device scope when AML access to the device must be synchronized with the 
   2136 OS environment".
   2137 
   2138 Example Code and Data Size: These are the sizes for the OS-independent 
   2139 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2140 debug version of the code includes the debug output trace mechanism and 
   2141 has a much larger code and data size.
   2142 
   2143   Current Release:
   2144     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
   2145     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
   2146   Previous Release:
   2147     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
   2148     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
   2149 
   2150 
   2151 2) iASL Compiler/Disassembler and Tools:
   2152 
   2153 iASL: Fixed a problem where an External() declaration could not refer to 
   2154 a Field Unit. Erik Schmauss.
   2155 
   2156 Disassembler: Improved support for the Switch/Case operators. This 
   2157 feature will disassemble AML code back to the original Switch operators 
   2158 when possible, instead of an If..Else sequence. David Box
   2159 
   2160 iASL and disassembler: Improved the handling of multiple extraneous 
   2161 parentheses for both ASL input and disassembled ASL output.
   2162 
   2163 Improved the behavior of the iASL compiler and disassembler to detect 
   2164 improper use of external declarations
   2165 
   2166 Disassembler: Now aborts immediately upon detection of an unknown AML 
   2167 opcode. The AML parser has no real way to recover from this, and can 
   2168 result in the creation of an ill-formed parse tree that causes errors 
   2169 later during the disassembly.
   2170 
   2171 All tools: Fixed a problem where the Unix application OSL did not handle 
   2172 control-c correctly. For example, a control-c could incorrectly wake the 
   2173 debugger.
   2174 
   2175 AcpiExec: Improved the Control-C handling and added a handler for 
   2176 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
   2177 environments.
   2178 
   2179 Reduced the verbosity of the generic unix makefiles. Previously, each 
   2180 compilation displayed the full set of compiler options. This has been 
   2181 eliminated as the options are easily inspected within the makefiles. Each 
   2182 compilation now results in a single line of output.
   2183 
   2184 ----------------------------------------
   2185 03 March 2017. Summary of changes for version 20170303:
   2186 
   2187 
   2188 0) ACPICA licensing:
   2189 
   2190 The licensing information at the start of each source code module has 
   2191 been updated. In addition to the Intel license, the dual GPLv2/BSD 
   2192 license has been added for completeness. Now, a single version of the 
   2193 source code should be suitable for all ACPICA customers. This is the 
   2194 major change for this release since it affects all source code modules.
   2195 
   2196 
   2197 1) ACPICA kernel-resident subsystem: 
   2198 
   2199 Fixed two issues with the common asltypes.h header that could cause 
   2200 problems in some environments: (Kim Jung-uk)
   2201     Removed typedef for YY_BUFFER_STATE ?
   2202        Fixes an error with earlier versions of Flex.
   2203     Removed use of FILE typedef (which is only defined in stdio.h)
   2204 
   2205 
   2206 2) iASL Compiler/Disassembler and Tools: 
   2207 
   2208 Disassembler: fixed a regression introduced in 20170224. A fix for a 
   2209 memory leak related to resource descriptor tags (names) could fault when 
   2210 the disassembler was generated with 64-bit compilers.
   2211 
   2212 The ASLTS test suite has been updated to implement a new testing 
   2213 architecture. During generation of the suite from ASL source, both the 
   2214 ASL and ASL+ compilers are now validated, as well as the disassembler 
   2215 itself (Erik Schmauss). The architecture executes as follows:
   2216 
   2217     For every ASL source module:
   2218         Compile (legacy ASL compilation)
   2219         Disassemble the resulting AML to ASL+ source code
   2220         Compile the new ASL+ module
   2221         Perform a binary compare on the legacy AML and the new ASL+ AML
   2222     The ASLTS suite then executes normally using the AML binaries.
   2223 
   2224 ----------------------------------------
   2225 24 February 2017. Summary of changes for version 20170224:
   2226 
   2227 
   2228 1) ACPICA kernel-resident subsystem:
   2229 
   2230 Interpreter: Fixed two issues with the control method return value auto-
   2231 repair feature, where an attempt to double-delete an internal object 
   2232 could result in an ACPICA warning (for _CID repair and others). No fault 
   2233 occurs, however, because the attempted deletion (actually a release to an 
   2234 internal cache) is detected and ignored via object poisoning.
   2235 
   2236 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
   2237 of control methods. If certain debugger commands are executed during 
   2238 stepping, a mutex acquire/release error could occur. Lv Zheng.
   2239 
   2240 Fixed some issues generating ACPICA with the Intel C compiler by 
   2241 restoring the original behavior and compiler-specific include file in 
   2242 acenv.h. Lv Zheng.
   2243 
   2244 Example Code and Data Size: These are the sizes for the OS-independent 
   2245 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2246 debug version of the code includes the debug output trace mechanism and 
   2247 has a much larger code and data size.
   2248 
   2249   Current Release:
   2250     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
   2251     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
   2252   Previous Release:
   2253     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
   2254     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
   2255 
   2256 
   2257 2) iASL Compiler/Disassembler and Tools:
   2258 
   2259 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
   2260 tool has been designed, implemented, and included in this release. The 
   2261 key feature of this utility is that the original comments within the 
   2262 input ASL file are preserved during the conversion process, and included 
   2263 within the converted ASL+ file -- thus creating a transparent conversion 
   2264 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
   2265 
   2266     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
   2267 converted code
   2268 
   2269 iASL/Disassembler: Improved the detection and correct disassembly of 
   2270 Switch/Case operators. This feature detects sequences of if/elseif/else 
   2271 operators that originated from ASL Switch/Case/Default operators and 
   2272 emits the original operators. David Box.
   2273 
   2274 iASL: Improved the IORT ACPI table support in the following areas. Lv 
   2275 Zheng:
   2276     Clear MappingOffset if the MappingCount is zero.
   2277     Fix the disassembly of the SMMU GSU interrupt offset.
   2278     Update the template file for the IORT table.
   2279 
   2280 Disassembler: Enhanced the detection and disassembly of resource 
   2281 template/descriptor within a Buffer object. An EndTag descriptor is now 
   2282 required to have a zero second byte, since all known ASL compilers emit 
   2283 this. This helps eliminate incorrect decisions when a buffer is 
   2284 disassembled (false positives on resource templates).
   2285 
   2286 ----------------------------------------
   2287 19 January 2017. Summary of changes for version 20170119:
   2288 
   2289 
   2290 1) General ACPICA software:
   2291 
   2292 Entire source code base: Added the 2017 copyright to all source code 
   2293 legal/licensing module headers and utility/tool signons. This includes 
   2294 the standard Linux dual-license header. This affects virtually every file 
   2295 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
   2296 the ACPICA test suite.
   2297 
   2298 
   2299 2) iASL Compiler/Disassembler and Tools:
   2300 
   2301 iASL: Removed/fixed an inadvertent remark when a method argument 
   2302 containing a reference is used as a target operand within the method (and 
   2303 never used as a simple argument), as in the example below. Jeffrey Hugo.
   2304 
   2305     dsdt.asl   1507:    Store(0x1, Arg0)
   2306     Remark   2146 -                ^ Method Argument is never used (Arg0)
   2307 
   2308 All tools: Removed the bit width of the compiler that generated the tool 
   2309 from the common signon for all user space tools. This proved to be 
   2310 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
   2311 from the generic makefiles (Thomas Petazzoni). Example below.
   2312 
   2313     Old:
   2314     ASL+ Optimizing Compiler version 20170119-32
   2315     ASL+ Optimizing Compiler version 20170119-64
   2316 
   2317     New:
   2318     ASL+ Optimizing Compiler version 20170119
   2319 
   2320 ----------------------------------------
   2321 22 December 2016. Summary of changes for version 20161222:
   2322 
   2323 
   2324 1) ACPICA kernel-resident subsystem:
   2325 
   2326 AML Debugger: Implemented a new mechanism to simplify and enhance 
   2327 debugger integration into all environments, including kernel debuggers 
   2328 and user-space utilities, as well as remote debug services. This 
   2329 mechanism essentially consists of new OSL interfaces to support debugger 
   2330 initialization/termination, as well as wait/notify interfaces to perform 
   2331 the debugger handshake with the host. Lv Zheng.
   2332 
   2333     New OSL interfaces:
   2334         AcpiOsInitializeDebugger (void)
   2335         AcpiOsTerminateDebugger (void)
   2336         AcpiOsWaitCommandReady (void)
   2337         AcpiOsNotifyCommandComplete (void)
   2338 
   2339     New OS services layer:
   2340         osgendbg.c -- Example implementation, and used for AcpiExec
   2341 
   2342 Update for Generic Address Space (GAS) support: Although the AccessWidth 
   2343 and/or BitOffset fields of the GAS are not often used, this change now 
   2344 fully supports these fields. This affects the internal support for FADT 
   2345 registers, registers in other ACPI data tables, and the AcpiRead and 
   2346 AcpiWrite public interfaces. Lv Zheng.
   2347 
   2348 Sleep support: In order to simplify integration of ACPI sleep for the 
   2349 various host operating systems, a new OSL interface has been introduced. 
   2350 AcpiOsEnterSleep allows the host to perform any required operations 
   2351 before the final write to the sleep control register(s) is performed by 
   2352 ACPICA. Lv Zheng.
   2353 
   2354     New OSL interface:
   2355         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
   2356 
   2357     Called from these internal interfaces:
   2358         AcpiHwLegacySleep
   2359         AcpiHwExtendedSleep
   2360 
   2361 EFI support: Added a very small EFI/ACPICA example application. Provides 
   2362 a simple demo for EFI integration, as well as assisting with resolution 
   2363 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
   2364 
   2365     source/tools/efihello/efihello.c
   2366 
   2367 Local C library: Implemented several new functions to enhance ACPICA 
   2368 portability, for environments where these clib functions are not 
   2369 available (such as EFI). Lv Zheng:
   2370     putchar
   2371     getchar
   2372     strpbrk
   2373     strtok
   2374     memmove
   2375 
   2376 Fixed a regression where occasionally a valid resource descriptor was 
   2377 incorrectly detected as invalid at runtime, and a 
   2378 AE_AML_NO_RESOURCE_END_TAG was returned.
   2379 
   2380 Fixed a problem with the recently implemented support that enables 
   2381 control method invocations as Target operands to many ASL operators. 
   2382 Warnings of this form: "Needed type [Reference], found [Processor]" were 
   2383 seen at runtime for some method invocations.
   2384 
   2385 Example Code and Data Size: These are the sizes for the OS-independent 
   2386 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2387 debug version of the code includes the debug output trace mechanism and 
   2388 has a much larger code and data size.
   2389 
   2390   Current Release:
   2391     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
   2392     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
   2393   Previous Release:
   2394     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
   2395     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
   2396 
   2397 
   2398 2) iASL Compiler/Disassembler and Tools:
   2399 
   2400 Disassembler: Enhanced output by adding the capability to detect and 
   2401 disassemble ASL Switch/Case statements back to the original ASL source 
   2402 code instead of if/else blocks. David Box.
   2403 
   2404 AcpiHelp: Split a large file into separate files based upon 
   2405 functionality/purpose. New files are:
   2406     ahaml.c
   2407     ahasl.c
   2408 
   2409 ----------------------------------------
   2410 17 November 2016. Summary of changes for version 20161117:
   2411 
   2412 
   2413 1) ACPICA kernel-resident subsystem:
   2414 
   2415 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
   2416 cleanup". This was an attempt to remove all references in the source to 
   2417 the FADT version 2, which never was a legal version number. It was 
   2418 skipped because it was an early version of 64-bit support that was 
   2419 eventually abandoned for the current 64-bit support.
   2420 
   2421 Interpreter: Fixed a problem where runtime implicit conversion was 
   2422 incorrectly disabled for the ASL operators below. This brings the 
   2423 behavior into compliance with the ACPI specification:
   2424     FromBCD
   2425     ToBCD
   2426     ToDecimalString
   2427     ToHexString
   2428     ToInteger
   2429     ToBuffer
   2430 
   2431 Table Manager: Added a new public interface, AcpiPutTable, used to 
   2432 release and free an ACPI table returned by AcpiGetTable and related 
   2433 interfaces. Lv Zheng.
   2434 
   2435 Example Code and Data Size: These are the sizes for the OS-independent 
   2436 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2437 debug version of the code includes the debug output trace mechanism and 
   2438 has a much larger code and data size.
   2439 
   2440   Current Release:
   2441     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
   2442     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
   2443   Previous Release:
   2444     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
   2445     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
   2446 
   2447 
   2448 2) iASL Compiler/Disassembler and Tools:
   2449 
   2450 Disassembler: Fixed a regression for disassembly of Resource Template. 
   2451 Detection of templates in the AML stream missed some types of templates.
   2452 
   2453 iASL: Fixed a problem where an Access Size error was returned for the PCC 
   2454 address space when the AccessSize of the GAS register is greater than a 
   2455 DWORD. Hoan Tran.
   2456 
   2457 iASL: Implemented several grammar changes for the operators below. These 
   2458 changes are slated for the next version of the ACPI specification:
   2459     RefOf        - Disallow method invocation as an operand
   2460     CondRefOf    - Disallow method invocation as an operand
   2461     DerefOf      - Disallow operands that use the result from operators 
   2462 that
   2463                    do not return a reference (Changed TermArg to 
   2464 SuperName).
   2465 
   2466 iASL: Control method invocations are now allowed for Target operands, as 
   2467 per the ACPI specification. Removed error for using a control method 
   2468 invocation as a Target operand.
   2469 
   2470 Disassembler: Improved detection of Resource Templates, Unicode, and 
   2471 Strings within Buffer objects. These subtypes do not contain a specific 
   2472 opcode to indicate the originating ASL code, and they must be detected by 
   2473 other means within the disassembler. 
   2474 
   2475 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
   2476 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
   2477 only after 64-bit to 32-bit truncation. A truncation warning message is 
   2478 still emitted, however.
   2479 
   2480 AcpiXtract: Implemented handling for both types of line terminators (LF 
   2481 or CR/LF) so that it can accept AcpiDump output files from any system. 
   2482 Peter Wu.
   2483 
   2484 AcpiBin: Added two new options for comparing AML files:
   2485     -a: compare and display ALL mismatches
   2486     -o: start compare at this offset into the second file
   2487 
   2488 ----------------------------------------
   2489 30 September 2016. Summary of changes for version 20160930:
   2490 
   2491 
   2492 1) ACPICA kernel-resident subsystem:
   2493 
   2494 Fixed a regression in the internal AcpiTbFindTable function where a non 
   2495 AE_OK exception could inadvertently be returned even if the function did 
   2496 not fail. This problem affects the following operators:
   2497     DataTableRegion
   2498     LoadTable
   2499 
   2500 Fixed a regression in the LoadTable operator where a load to any 
   2501 namespace location other than the root no longer worked properly.
   2502 
   2503 Increased the maximum loop count value that will result in the 
   2504 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
   2505 prevent infinite loops within the AML interpreter and thus the host OS 
   2506 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
   2507 1,048,575).
   2508 
   2509 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
   2510 acpixf.h file. This allows hosts to easily configure the maximum loop 
   2511 count at runtime.
   2512 
   2513 Removed an illegal character in the strtoul64.c file. This character 
   2514 caused errors with some C compilers.
   2515 
   2516 Example Code and Data Size: These are the sizes for the OS-independent 
   2517 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2518 debug version of the code includes the debug output trace mechanism and 
   2519 has a much larger code and data size.
   2520 
   2521   Current Release:
   2522     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
   2523     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
   2524   Previous Release:
   2525     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
   2526     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
   2527 
   2528 
   2529 2) iASL Compiler/Disassembler and Tools:
   2530 
   2531 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
   2532 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
   2533 block could be lost and missing from the disassembled output.
   2534 
   2535 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
   2536 the missing rule caused a parse error when using the Index operator as an 
   2537 operand to ObjectType. This construct now compiles properly. Example:
   2538     ObjectType(PKG1[4]).
   2539 
   2540 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
   2541 option). Previously, unresolved symbols could cause a protection fault. 
   2542 Such symbols are now marked as unresolved in the map file.
   2543 
   2544 iASL: Implemented support to allow control method invocations as an 
   2545 operand to the ASL DeRefOf operator. Example:
   2546     DeRefOf(MTH1(Local0))
   2547 
   2548 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
   2549 possible _PLD buffer now includes examination of both the normal buffer 
   2550 length (16 or 20) as well as the surrounding AML package length.
   2551 
   2552 Disassembler: Fixed a problem with the decoding of complex expressions 
   2553 within the Divide operator for ASL+. For the case where both the quotient 
   2554 and remainder targets are specified, the entire statement cannot be 
   2555 disassembled. Previously, the output incorrectly contained a mix of ASL- 
   2556 and ASL+ operators. This mixed statement causes a syntax error when 
   2557 compiled. Example:
   2558     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
   2559 disassembled to:
   2560     Divide (INT1 + 6, 128, RSLT, QUOT)
   2561 
   2562 iASL/Tools: Added support to process AML and non-AML ACPI tables 
   2563 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
   2564 tables (AML and data tables). For the iASL -e option, allow only AML 
   2565 tables (DSDT/SSDT).
   2566 
   2567 ----------------------------------------
   2568 31 August 2016. Summary of changes for version 20160831:
   2569 
   2570 
   2571 1) ACPICA kernel-resident subsystem:
   2572 
   2573 Improve support for the so-called "module-level code", which is defined 
   2574 to be math, logical and control AML opcodes that appear outside of any 
   2575 control method. This change improves the support by adding more opcodes 
   2576 that can be executed in the manner. Some other issues have been solved, 
   2577 and the ASL grammar changes to support such code under all scope 
   2578 operators (Device, etc.) are complete. Lv Zheng.
   2579 
   2580 UEFI support: these OSL functions have been implemented. This is an 
   2581 additional step toward supporting the AcpiExec utility natively (with 
   2582 full hardware access) under UEFI. Marcelo Ferreira.
   2583     AcpiOsReadPciConfiguration
   2584     AcpiOsWritePciConfiguration
   2585 
   2586 Fixed a possible mutex error during control method auto-serialization. Lv 
   2587 Zheng. 
   2588 
   2589 Updated support for the Generic Address Structure by fully implementing 
   2590 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
   2591 Zheng.
   2592 
   2593 Updated the return value for the internal _OSI method. Instead of 
   2594 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
   2595 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
   2596 implementations, and will be reflected and clarified in the next version 
   2597 of the ACPI specification.
   2598 
   2599 Implemented two new table events that can be passed to an ACPICA table 
   2600 handler. These events are used to indicate a table installation or 
   2601 uninstallation. These events are used in addition to existed table load 
   2602 and unload events. Lv Zheng.
   2603 
   2604 Implemented a cleanup for all internal string-to-integer conversions. 
   2605 Consolidate multiple versions of this functionality and limit possible 
   2606 bases to either 10 or 16 to simplify the code. Adds a new file, 
   2607 utstrtoul64.
   2608 
   2609 Cleanup the inclusion order of the various compiler-specific headers. 
   2610 This simplifies build configuration management. The compiler-specific 
   2611 headers are now split out from the host-specific headers. Lv Zheng.
   2612 
   2613 Example Code and Data Size: These are the sizes for the OS-independent 
   2614 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2615 debug version of the code includes the debug output trace mechanism and 
   2616 has a much larger code and data size.
   2617 
   2618   Current Release:
   2619     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
   2620     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
   2621 
   2622 
   2623 2) iASL Compiler/Disassembler and Tools:
   2624 
   2625 iASL/AcpiExec: Added a command line option to display the build date/time 
   2626 of the tool (-vd). This can be useful to verify that the correct version 
   2627 of the tools are being used.
   2628 
   2629 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
   2630 all predefined control methods and names within the current namespace. 
   2631 This can be useful for debugging problems with ACPI tables and the ACPI 
   2632 namespace.
   2633 
   2634 ----------------------------------------
   2635 29 July 2016. Summary of changes for version 20160729:
   2636 
   2637 
   2638 1) ACPICA kernel-resident subsystem:
   2639 
   2640 Implemented basic UEFI support for the various ACPICA tools. This 
   2641 includes:
   2642 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
   2643 2) Support to obtain the ACPI tables on UEFI.
   2644 3) Local implementation of required C library functions not available on 
   2645 UEFI.
   2646 4) A front-end (main) function for the tools for UEFI-related 
   2647 initialization.
   2648 
   2649 The initial deployment of this support is the AcpiDump utility executing 
   2650 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
   2651 Current environments supported are Linux/Unix. MSVC generation is not 
   2652 supported at this time. See the generate/efi/README file for build 
   2653 instructions. Lv Zheng.
   2654 
   2655 Future plans include porting the AcpiExec utility to execute natively on 
   2656 the platform with I/O and memory access. This will allow viewing/dump of 
   2657 the platform namespace and native execution of ACPI control methods that 
   2658 access the actual hardware. To fully implement this support, the OSL 
   2659 functions below must be implemented with UEFI interfaces. Any community 
   2660 help in the implementation of these functions would be appreciated:
   2661     AcpiOsReadPort
   2662     AcpiOsWritePort
   2663     AcpiOsReadMemory
   2664     AcpiOsWriteMemory
   2665     AcpiOsReadPciConfiguration
   2666     AcpiOsWritePciConfiguration
   2667 
   2668 Restructured and standardized the C library configuration for ACPICA, 
   2669 resulting in the various configuration options below. This includes a 
   2670 global restructuring of the compiler-dependent and platform-dependent 
   2671 include files. These changes may affect the existing platform-dependent 
   2672 configuration files on some hosts. Lv Zheng. 
   2673 
   2674 The current C library configuration options appear below. For any issues, 
   2675 it may be helpful to examine the existing compiler-dependent and 
   2676 platform-dependent files as examples. Lv Zheng. 
   2677 
   2678 1) Linux kernel:
   2679     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
   2680 library.
   2681     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
   2682 2) Unix/Windows/BSD applications:
   2683     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
   2684 library.
   2685     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
   2686 3) UEFI applications:
   2687     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
   2688 library.
   2689     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
   2690 4) UEFI applications (EDK2/StdLib):
   2691     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
   2692     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
   2693 
   2694 
   2695 AML interpreter: "module-level code" support. Allows for execution of so-
   2696 called "executable" AML code (math/logical operations, etc.) outside of 
   2697 control methods not just at the module level (top level) but also within 
   2698 any scope declared outside of a control method - Scope{}, Device{}, 
   2699 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
   2700 
   2701 Simplified the configuration of the "maximum AML loops" global option by 
   2702 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
   2703 modified at runtime.
   2704 
   2705 
   2706 Example Code and Data Size: These are the sizes for the OS-independent 
   2707 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2708 debug version of the code includes the debug output trace mechanism and 
   2709 has a much larger code and data size.
   2710 
   2711   Current Release:
   2712     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
   2713     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
   2714 
   2715 
   2716 2) iASL Compiler/Disassembler and Tools:
   2717 
   2718 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
   2719 Includes disassembler, data table compiler, and header support.
   2720 
   2721 iASL Expand "module-level code" support. Allows for 
   2722 compilation/disassembly of so-called "executable" AML code (math/logical 
   2723 operations, etc.) outside of control methods not just at the module level 
   2724 (top level) but also within any scope declared outside of a control 
   2725 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
   2726 ThermalZone{}.
   2727 
   2728 AcpiDump: Added support for dumping all SSDTs on newer versions of 
   2729 Windows. These tables are now easily available -- SSDTs are not available 
   2730 through the registry on older versions.
   2731 
   2732 ----------------------------------------
   2733 27 May 2016. Summary of changes for version 20160527:
   2734 
   2735 
   2736 1) ACPICA kernel-resident subsystem:
   2737 
   2738 Temporarily reverted the new arbitrary bit length/alignment support in 
   2739 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
   2740 a number of regressions with the new code that need to be fully resolved 
   2741 and tested before this support can be finally integrated into ACPICA. 
   2742 Apologies for any inconveniences these issues may have caused.
   2743 
   2744 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
   2745 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
   2746 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
   2747 
   2748 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
   2749 option. Adds a new return macro, return_STR. Junk-uk Kim.
   2750 
   2751 Example Code and Data Size: These are the sizes for the OS-independent 
   2752 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2753 debug version of the code includes the debug output trace mechanism and 
   2754 has a much larger code and data size.
   2755 
   2756   Current Release:
   2757     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
   2758     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
   2759   Previous Release:
   2760     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
   2761     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
   2762 
   2763 ----------------------------------------
   2764 22 April 2016. Summary of changes for version 20160422:
   2765 
   2766 1) ACPICA kernel-resident subsystem:
   2767 
   2768 Fixed a regression in the GAS (generic address structure) arbitrary bit 
   2769 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
   2770 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
   2771 
   2772 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
   2773 was added to each of these macros, and the original name has been 
   2774 deprecated. The AML disassembler will always disassemble to the new 
   2775 names. Support for the new macros was added to iASL, disassembler, 
   2776 resource manager, and the acpihelp utility. ACPICA BZ 1274.
   2777 
   2778     I2cSerialBus  -> I2cSerialBusV2
   2779     SpiSerialBus  -> SpiSerialBusV2
   2780     UartSerialBus -> UartSerialBusV2
   2781 
   2782 ACPI 6.0: Added support for a new integer field that was appended to the 
   2783 package object returned by the _BIX method. This adds iASL compile-time 
   2784 and AML runtime error checking. ACPICA BZ 1273.
   2785 
   2786 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
   2787 Subspace Type2" (Headers, Disassembler, and data table compiler).
   2788 
   2789 Example Code and Data Size: These are the sizes for the OS-independent 
   2790 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2791 debug version of the code includes the debug output trace mechanism and 
   2792 has a much larger code and data size.
   2793 
   2794   Current Release:
   2795     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
   2796     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
   2797   Previous Release:
   2798     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
   2799     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
   2800 
   2801 
   2802 2) iASL Compiler/Disassembler and Tools:
   2803 
   2804 iASL: Implemented an ASL grammar extension to allow/enable executable 
   2805 "module-level code" to be created and executed under the various 
   2806 operators that create new scopes. This type of AML code is already 
   2807 supported in all known AML interpreters, and the grammar change will 
   2808 appear in the next version of the ACPI specification. Simplifies the 
   2809 conditional runtime creation of named objects under these object types: 
   2810 
   2811     Device
   2812     PowerResource
   2813     Processor
   2814     Scope
   2815     ThermalZone
   2816 
   2817 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
   2818 ease-of-use to the ASL language. The syntax is similar to the 
   2819 corresponding C operator, and is implemented with the existing AML While 
   2820 opcode -- thus requiring no changes to existing AML interpreters.
   2821 
   2822     For (Initialize, Predicate, Update) {TermList}
   2823 
   2824 Grammar:
   2825     ForTerm :=
   2826         For (
   2827             Initializer    // Nothing | TermArg => ComputationalData
   2828             Predicate      // Nothing | TermArg => ComputationalData
   2829             Update         // Nothing | TermArg => ComputationalData
   2830         ) {TermList}
   2831 
   2832 
   2833 iASL: The _HID/_ADR detection and validation has been enhanced to search 
   2834 under conditionals in order to allow these objects to be conditionally 
   2835 created at runtime.
   2836 
   2837 iASL: Fixed several issues with the constant folding feature. The 
   2838 improvement allows better detection and resolution of statements that can 
   2839 be folded at compile time. ACPICA BZ 1266. 
   2840 
   2841 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
   2842 conversion to the ASL ElseIf operator where incorrect ASL code could be 
   2843 generated.
   2844 
   2845 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
   2846 sometimes an extra (and extraneous) set of parentheses were emitted for 
   2847 some combinations of operators. Although this did not cause any problems 
   2848 with recompilation of the disassembled code, it made the code more 
   2849 difficult to read. David Box. ACPICA BZ 1231.
   2850 
   2851 iASL: Changed to ignore the unreferenced detection for predefined names 
   2852 of resource descriptor elements, when the resource descriptor is 
   2853 created/defined within a control method.
   2854 
   2855 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
   2856 objects.
   2857 
   2858 ----------------------------------------
   2859 18 March 2016. Summary of changes for version 20160318:
   2860 
   2861 1) ACPICA kernel-resident subsystem:
   2862 
   2863 Added support for arbitrary bit lengths and bit offsets for registers 
   2864 defined by the Generic Address Structure. Previously, only aligned bit 
   2865 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
   2866 but recently some machines have been seen that require arbitrary bit-
   2867 level support. ACPICA BZ 1240. Lv Zheng.
   2868 
   2869 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
   2870 before any _REG methods are evaluated. Lv Zheng.
   2871 
   2872 Implemented several changes related to ACPI table support 
   2873 (Headers/Disassembler/TableCompiler):
   2874 NFIT: For ACPI 6.1, updated to add some additional new fields and 
   2875 constants.
   2876 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
   2877 6).
   2878 DMAR: Added new constants per the 10/2014 DMAR spec.
   2879 IORT: Added new subtable per the 10/2015 IORT spec.
   2880 HEST: For ACPI 6.1, added new constants and new subtable.
   2881 DBG2: Added new constants per the 12/2015 DBG2 spec.
   2882 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
   2883 ACPICA BZ 1249.
   2884 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
   2885 
   2886 Updated header support for the DMAR table to match the current version of 
   2887 the related spec.
   2888 
   2889 Added extensions to the ASL Concatenate operator to allow any ACPI object 
   2890 to be passed as an operand. Any object other than Integer/String/Buffer 
   2891 simply returns a string containing the object type. This extends the 
   2892 usefulness of the Printf macros. Previously, Concatenate would abort the 
   2893 control method if a non-data object was encountered.
   2894 
   2895 ACPICA source code: Deployed the C "const" keyword across the source code 
   2896 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
   2897 
   2898 Example Code and Data Size: These are the sizes for the OS-independent 
   2899 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2900 debug version of the code includes the debug output trace mechanism and 
   2901 has a much larger code and data size.
   2902 
   2903   Current Release:
   2904     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
   2905     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
   2906   Previous Release:
   2907     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
   2908     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
   2909 
   2910 
   2911 2) iASL Compiler/Disassembler and Tools:
   2912 
   2913 iASL/Disassembler: Improved the heuristic used to determine the number of 
   2914 arguments for an externally defined control method (a method in another 
   2915 table). Although this is an improvement, there is no deterministic way to 
   2916 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
   2917 will completely solve this problem as it is deployed (automatically) in 
   2918 newer BIOS code.
   2919 
   2920 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
   2921 statements that could cause errors when the disassembled file is 
   2922 compiled. ACPICA BZ 1243. David Box.
   2923 
   2924 iASL: Fixed a regression caused by the merger of the two versions of the 
   2925 local strtoul64. Because of a dependency on a global variable, strtoul64 
   2926 could return an error for integers greater than a 32-bit value. ACPICA BZ 
   2927 1260.
   2928 
   2929 iASL: Fixed a regression where a fault could occur for an ASL Return 
   2930 statement if it invokes a control method that is not resolved. ACPICA BZ 
   2931 1264.
   2932 
   2933 AcpiXtract: Improved input file validation: detection of binary files and 
   2934 non-acpidump text files.
   2935 
   2936 ----------------------------------------
   2937 12 February 2016. Summary of changes for version 20160212:
   2938 
   2939 1) ACPICA kernel-resident subsystem:
   2940 
   2941 Implemented full support for the ACPI 6.1 specification (released in 
   2942 January). This version of the specification is available at:  
   2943 http://www.uefi.org/specifications
   2944 
   2945 Only a relatively small number of changes were required in ACPICA to 
   2946 support ACPI 6.1, in these areas:
   2947 - New predefined names
   2948 - New _HID values
   2949 - A new subtable for HEST
   2950 - A few other header changes for new values
   2951 
   2952 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
   2953 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
   2954 
   2955 Reverted a change made in version 20151218 which enabled method 
   2956 invocations to be targets of various ASL operators (SuperName and Target 
   2957 grammar elements). While the new behavior is supported by the ACPI 
   2958 specification, other AML interpreters do not support this behavior and 
   2959 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
   2960 this support. Therefore, the change was reverted to the original ACPICA 
   2961 behavior.
   2962 
   2963 ACPICA now supports the GCC 6 compiler.
   2964 
   2965 Current Release: (Note: build changes increased sizes)
   2966     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
   2967     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
   2968 Previous Release:
   2969     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
   2970     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
   2971 
   2972 
   2973 2) iASL Compiler/Disassembler and Tools:
   2974 
   2975 Completed full support for the ACPI 6.0 External() AML opcode. The 
   2976 compiler emits an external AML opcode for each ASL External statement. 
   2977 This opcode is used by the disassembler to assist with the disassembly of 
   2978 external control methods by specifying the required number of arguments 
   2979 for the method. AML interpreters do not use this opcode. To ensure that 
   2980 interpreters do not even see the opcode, a block of one or more external 
   2981 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
   2982 commonly deployed in BIOS code, the ability of disassemblers to correctly 
   2983 disassemble AML code will be greatly improved. David Box.
   2984 
   2985 iASL: Implemented support for an optional cross-reference output file. 
   2986 The -lx option will create a the cross-reference file with the suffix 
   2987 "xrf". Three different types of cross-reference are created in this file:
   2988 - List of object references made from within each control method
   2989 - Invocation (caller) list for each user-defined control method
   2990 - List of references to each non-method object in the namespace
   2991 
   2992 iASL: Method invocations as ASL Target operands are now disallowed and 
   2993 flagged as errors in preparation for ACPI 6.2 (see the description of the 
   2994 problem above).
   2995 
   2996 ----------------------------------------
   2997 8 January 2016. Summary of changes for version 20160108:
   2998 
   2999 1) ACPICA kernel-resident subsystem:
   3000 
   3001 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
   3002 copyright to all source code module headers and utility/tool signons. 
   3003 This includes the standard Linux dual-license header. This affects 
   3004 virtually every file in the ACPICA core subsystem, iASL compiler, all 
   3005 ACPICA utilities, and the ACPICA test suite.
   3006 
   3007 Fixed a regression introduced in version 20151218 concerning the 
   3008 execution of so-called module-level ASL/AML code. Namespace objects 
   3009 created under a module-level If() construct were not properly/fully 
   3010 entered into the namespace and could cause an interpreter fault when 
   3011 accessed.
   3012 
   3013 Example Code and Data Size: These are the sizes for the OS-independent 
   3014 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3015 debug version of the code includes the debug output trace mechanism and 
   3016 has a much larger code and data size.
   3017 
   3018 Current Release:
   3019     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
   3020     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
   3021   Previous Release:
   3022     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
   3023     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
   3024 
   3025 
   3026 2) iASL Compiler/Disassembler and Tools:
   3027 
   3028 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
   3029 descriptors. The _PIN field name was incorrectly defined to be an array 
   3030 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
   3031 would cause incorrect bit width warnings when using Word (16-bit) fields 
   3032 to access the descriptors.
   3033 
   3034 
   3035 ----------------------------------------
   3036 18 December 2015. Summary of changes for version 20151218:
   3037 
   3038 1) ACPICA kernel-resident subsystem:
   3039 
   3040 Implemented per-AML-table execution of "module-level code" as individual 
   3041 ACPI tables are loaded into the namespace during ACPICA initialization. 
   3042 In other words, any module-level code within an AML table is executed 
   3043 immediately after the table is loaded, instead of batched and executed 
   3044 after all of the tables have been loaded. This provides compatibility 
   3045 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
   3046 David Box.
   3047 
   3048 To fully support the feature above, the default operation region handlers 
   3049 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
   3050 installed before any ACPI tables are loaded. This enables module-level 
   3051 code to access these address spaces during the table load and module-
   3052 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
   3053 Box.
   3054 
   3055 Implemented several changes to the internal _REG support in conjunction 
   3056 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
   3057 utilities for the changes above. Although these tools were changed, host 
   3058 operating systems that simply use the default handlers for SystemMemory, 
   3059 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
   3060 
   3061 For example, in the code below, DEV1 is conditionally added to the 
   3062 namespace by the DSDT via module-level code that accesses an operation 
   3063 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
   3064 created immediately after the DSDT is loaded in order for the SSDT to 
   3065 successfully reference DEV1. Previously, this code would cause an 
   3066 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
   3067 fully supported by ACPICA.
   3068 
   3069     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
   3070     {
   3071         OperationRegion (OPR1, SystemMemory, 0x400, 32)
   3072         Field (OPR1, AnyAcc, NoLock, Preserve)
   3073         {
   3074             FLD1, 1
   3075         }
   3076         If (FLD1)
   3077         {
   3078             Device (\DEV1)
   3079             {
   3080             }
   3081         }
   3082     }
   3083     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
   3084     {
   3085         External (\DEV1, DeviceObj)
   3086         Scope (\DEV1)
   3087         {
   3088         }
   3089     }
   3090 
   3091 Fixed an AML interpreter problem where control method invocations were 
   3092 not handled correctly when the invocation was itself a SuperName argument 
   3093 to another ASL operator. In these cases, the method was not invoked. 
   3094 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
   3095 argument:
   3096     Store
   3097     Acquire, Wait
   3098     CondRefOf, RefOf
   3099     Decrement, Increment
   3100     Load, Unload
   3101     Notify
   3102     Signal, Release, Reset
   3103     SizeOf
   3104 
   3105 Implemented automatic String-to-ObjectReference conversion support for 
   3106 packages returned by predefined names (such as _DEP). A common BIOS error 
   3107 is to add double quotes around an ObjectReference namepath, which turns 
   3108 the reference into an unexpected string object. This support detects the 
   3109 problem and corrects it before the package is returned to the caller that 
   3110 invoked the method. Lv Zheng.
   3111 
   3112 Implemented extensions to the Concatenate operator. Concatenate now 
   3113 accepts any type of object, it is not restricted to simply 
   3114 Integer/String/Buffer. For objects other than these 3 basic data types, 
   3115 the argument is treated as a string containing the name of the object 
   3116 type. This expands the utility of Concatenate and the Printf/Fprintf 
   3117 macros. ACPICA BZ 1222.
   3118 
   3119 Cleaned up the output of the ASL Debug object. The timer() value is now 
   3120 optional and no longer emitted by default. Also, the basic data types of 
   3121 Integer/String/Buffer are simply emitted as their values, without a data 
   3122 type string -- since the data type is obvious from the output. ACPICA BZ 
   3123 1221.
   3124 
   3125 Example Code and Data Size: These are the sizes for the OS-independent 
   3126 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3127 debug version of the code includes the debug output trace mechanism and 
   3128 has a much larger code and data size.
   3129 
   3130   Current Release:
   3131     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
   3132     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
   3133   Previous Release:
   3134     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
   3135     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
   3136 
   3137 
   3138 2) iASL Compiler/Disassembler and Tools:
   3139 
   3140 iASL: Fixed some issues with the ASL Include() operator. This operator 
   3141 was incorrectly defined in the iASL parser rules, causing a new scope to 
   3142 be opened for the code within the include file. This could lead to 
   3143 several issues, including allowing ASL code that is technically illegal 
   3144 and not supported by AML interpreters. Note, this does not affect the 
   3145 related #include preprocessor operator. ACPICA BZ 1212.
   3146 
   3147 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
   3148 operator is essentially an ASL macro since there is no AML opcode 
   3149 associated with it. The code emitted by the iASL compiler for ElseIf is 
   3150 an Else opcode followed immediately by an If opcode. The disassembler 
   3151 will now emit an ElseIf if it finds an Else immediately followed by an 
   3152 If. This simplifies the decoded ASL, especially for deeply nested 
   3153 If..Else and large Switch constructs. Thus, the disassembled code more 
   3154 closely follows the original source ASL. ACPICA BZ 1211. Example:
   3155 
   3156     Old disassembly:
   3157         Else
   3158         {
   3159             If (Arg0 == 0x02)
   3160             {
   3161                 Local0 = 0x05
   3162             }
   3163         }
   3164 
   3165     New disassembly:
   3166         ElseIf (Arg0 == 0x02)
   3167         {
   3168             Local0 = 0x05
   3169         }
   3170 
   3171 AcpiExec: Added support for the new module level code behavior and the 
   3172 early region installation. This required a small change to the 
   3173 initialization, since AcpiExec must install its own operation region 
   3174 handlers.
   3175 
   3176 AcpiExec: Added support to make the debug object timer optional. Default 
   3177 is timer disabled. This cleans up the debug object output -- the timer 
   3178 data is rarely used.
   3179 
   3180 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
   3181 appear on the command line. This can be important when there are 
   3182 interdependencies/references between the tables.
   3183 
   3184 iASL/Templates. Add support to generate template files with multiple 
   3185 SSDTs within a single output file. Also added ommand line support to 
   3186 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
   3187 1223, 1225.
   3188 
   3189 
   3190 ----------------------------------------
   3191 24 November 2015. Summary of changes for version 20151124:
   3192 
   3193 1) ACPICA kernel-resident subsystem:
   3194 
   3195 Fixed a possible regression for a previous update to FADT handling. The 
   3196 FADT no longer has a fixed table ID, causing some issues with code that 
   3197 was hardwired to a specific ID. Lv Zheng.
   3198 
   3199 Fixed a problem where the method auto-serialization could interfere with 
   3200 the current SyncLevel. This change makes the auto-serialization support 
   3201 transparent to the SyncLevel support and management.
   3202 
   3203 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
   3204 interface is intended for early access to the namespace during the 
   3205 initial namespace device discovery walk. The _SUB method has been seen to 
   3206 access operation regions in some cases, causing errors because the 
   3207 operation regions are not fully initialized.
   3208 
   3209 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
   3210 that can cause faults. Lv Zheng.
   3211 
   3212 AML Debugger: Add thread ID support so that single-step mode only applies 
   3213 to the AML Debugger thread. This prevents runtime errors within some 
   3214 kernels. Lv Zheng. 
   3215 
   3216 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
   3217 methods that are invoked by this interface are optional, removed warnings 
   3218 emitted for the case where one or more of these methods do not exist. 
   3219 ACPICA BZ 1208, original change by Prarit Bhargava.
   3220 
   3221 Made a major pass through the entire ACPICA source code base to 
   3222 standardize formatting that has diverged a bit over time. There are no 
   3223 functional changes, but this will of course cause quite a few code 
   3224 differences from the previous ACPICA release.
   3225 
   3226 Example Code and Data Size: These are the sizes for the OS-independent 
   3227 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3228 debug version of the code includes the debug output trace mechanism and 
   3229 has a much larger code and data size.
   3230 
   3231   Current Release:
   3232     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
   3233     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
   3234   Previous Release:
   3235     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   3236     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
   3237 
   3238 
   3239 2) iASL Compiler/Disassembler and Tools:
   3240 
   3241 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
   3242 definition blocks within a single ASL file and the resulting AML file. 
   3243 Support for this type of file was also added to the various tools that 
   3244 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
   3245 example code below shows two definition blocks within the same file:
   3246 
   3247     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
   3248 0x12345678)
   3249     {
   3250     }
   3251     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
   3252     {
   3253     }
   3254 
   3255 iASL: Enhanced typechecking for the Name() operator. All expressions for 
   3256 the value of the named object must be reduced/folded to a single constant 
   3257 at compile time, as per the ACPI specification (the AML definition of 
   3258 Name()).
   3259 
   3260 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
   3261 and assembly headers). Now all emitted code correctly begins in column 1.
   3262 
   3263 iASL: Added an error message for an attempt to open a Scope() on an 
   3264 object defined in an SSDT. The DSDT is always loaded into the namespace 
   3265 first, so any attempt to open a Scope on an SSDT object will fail at 
   3266 runtime.
   3267 
   3268 
   3269 ----------------------------------------
   3270 30 September 2015. Summary of changes for version 20150930:
   3271 
   3272 1) ACPICA kernel-resident subsystem:
   3273 
   3274 Debugger: Implemented several changes and bug fixes to assist support for 
   3275 the in-kernel version of the AML debugger. Lv Zheng.
   3276 - Fix the "predefined" command for in-kernel debugger.
   3277 - Do not enter debug command loop for the help and version commands.
   3278 - Disallow "execute" command during execution/single-step of a method.
   3279 
   3280 Interpreter: Updated runtime typechecking for all operators that have 
   3281 target operands. The operand is resolved and validated that it is legal. 
   3282 For example, the target cannot be a non-data object such as a Device, 
   3283 Mutex, ThermalZone, etc., as per the ACPI specification.
   3284 
   3285 Debugger: Fixed the double-mutex user I/O handshake to work when local 
   3286 deadlock detection is enabled.
   3287 
   3288 Debugger: limited display of method locals and arguments (LocalX and 
   3289 ArgX) to only those that have actually been initialized. This prevents 
   3290 lines of extraneous output.
   3291 
   3292 Updated the definition of the NFIT table to correct the bit polarity of 
   3293 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
   3294 
   3295 Example Code and Data Size: These are the sizes for the OS-independent 
   3296 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3297 debug version of the code includes the debug output trace mechanism and 
   3298 has a much larger code and data size.
   3299 
   3300   Current Release:
   3301     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   3302     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
   3303   Previous Release:
   3304     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
   3305     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
   3306 
   3307 
   3308 2) iASL Compiler/Disassembler and Tools:
   3309 
   3310 iASL: Improved the compile-time typechecking for operands of many of the 
   3311 ASL operators:
   3312 
   3313 -- Added an option to disable compiler operand/operator typechecking (-
   3314 ot).
   3315 
   3316 -- For the following operators, the TermArg operands are now validated 
   3317 when possible to be Integer data objects: BankField, OperationRegion, 
   3318 DataTableRegion, Buffer, and Package.
   3319 
   3320 -- Store (Source, Target): Both the source and target operands are 
   3321 resolved and checked that the operands are both legal. For example, 
   3322 neither operand can be a non-data object such as a Device, Mutex, 
   3323 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
   3324 operator can be used to store an object to any type of target object.
   3325 
   3326 -- Store (Source, Target): If the source is a Package object, the target 
   3327 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
   3328 is a Package, the source must also be a Package.
   3329 
   3330 -- Store (Source, Target): A warning is issued if the source and target 
   3331 resolve to the identical named object.
   3332 
   3333 -- Store (Source, <method invocation>): An error is generated for the 
   3334 target method invocation, as this construct is not supported by the AML 
   3335 interpreter.
   3336 
   3337 -- For all ASL math and logic operators, the target operand must be a 
   3338 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
   3339 includes the function return value also.
   3340 
   3341 -- External declarations are also included in the typechecking where 
   3342 possible. External objects defined using the UnknownObj keyword cannot be 
   3343 typechecked, however.
   3344 
   3345 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
   3346 operator:
   3347 - Legacy code: Index(PKG1, 3)
   3348 - New ASL+ code: PKG1[3]
   3349 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
   3350 supported.
   3351 
   3352 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
   3353 spaces were inadvertently appended to the filename, causing file access 
   3354 and deletion problems on some systems.
   3355 
   3356 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
   3357 possible compiler output files when building the test suite -- thus 
   3358 exercising these features of the compiler. These files are automatically 
   3359 deleted when the test suite exits.
   3360 
   3361 
   3362 ----------------------------------------
   3363 18 August 2015. Summary of changes for version 20150818:
   3364 
   3365 1) ACPICA kernel-resident subsystem:
   3366 
   3367 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
   3368 Zheng. ACPICA BZ 1186.
   3369 
   3370 Completed development to ensure that the ACPICA Disassembler and Debugger 
   3371 are fully standalone components of ACPICA. Removed cross-component 
   3372 dependences. Lv Zheng.
   3373 
   3374 The max-number-of-AML-loops is now runtime configurable (previously was 
   3375 compile-time only). This is essentially a loop timeout to force-abort 
   3376 infinite AML loops. ACPCIA BZ 1192.
   3377 
   3378 Debugger: Cleanup output to dump ACPI names and namepaths without any 
   3379 trailing underscores. Lv Zheng. ACPICA BZ 1135.
   3380 
   3381 Removed unnecessary conditional compilations across the Debugger and 
   3382 Disassembler components where entire modules could be left uncompiled.
   3383 
   3384 The aapits test is deprecated and has been removed from the ACPICA git 
   3385 tree. The test has never been completed and has not been maintained, thus 
   3386 becoming rather useless. ACPICA BZ 1015, 794.
   3387 
   3388 A batch of small changes to close bugzilla and other reports:
   3389 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
   3390 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
   3391 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
   3392 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
   3393 Moore.
   3394 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
   3395 ACPICA BZ 1184.
   3396 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
   3397 operators.
   3398 - Debugger: Split debugger initialization/termination interfaces. Lv 
   3399 Zheng.
   3400 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
   3401 identification.
   3402 - AcpiExec: Add debug message during _REG method phase during table 
   3403 load/init.
   3404 - AcpiNames: Fix a regression where some output was missing and no longer 
   3405 emitted.
   3406 - Debugger: General cleanup and simplification. Lv Zheng.
   3407 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
   3408 
   3409 Example Code and Data Size: These are the sizes for the OS-independent 
   3410 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3411 debug version of the code includes the debug output trace mechanism and 
   3412 has a much larger code and data size.
   3413 
   3414   Current Release:
   3415     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
   3416     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
   3417   Previous Release:
   3418     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
   3419     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
   3420 
   3421 
   3422 2) iASL Compiler/Disassembler and Tools:
   3423 
   3424 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
   3425 were not handled properly and caused load errors. Now, properly invoke 
   3426 and use the ACPICA auto-reallocate mechanism for ACPI table data 
   3427 structures. ACPICA BZ 1188
   3428 
   3429 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
   3430 BZ 1190.
   3431 
   3432 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
   3433 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
   3434 executed during initialization. ACPICA BZ 1187, 1189.
   3435 
   3436 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
   3437 that corresponds to each disassembled ASL statement, to simplify 
   3438 debugging. ACPICA BZ 1191.
   3439 
   3440 Debugger: Add option to the "objects" command to display a summary of the 
   3441 current namespace objects (Object type and count). This is displayed if 
   3442 the command is entered with no arguments.
   3443 
   3444 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
   3445 
   3446 
   3447 ----------------------------------------
   3448 17 July 2015. Summary of changes for version 20150717:
   3449 
   3450 1) ACPICA kernel-resident subsystem:
   3451 
   3452 Improved the partitioning between the Debugger and Disassembler 
   3453 components. This allows the Debugger to be used standalone within kernel 
   3454 code without the Disassembler (which is used for single stepping also). 
   3455 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
   3456 
   3457 Debugger: Implemented a new command to trace the execution of control 
   3458 methods (Trace). This is especially useful for the in-kernel version of 
   3459 the debugger when file I/O may not be available for method trace output. 
   3460 See the ACPICA reference for more information. Lv Zheng.
   3461 
   3462 Moved all C library prototypes (used for the local versions of these 
   3463 functions when requested) to a new header, acclib.h
   3464 Cleaned up the use of non-ANSI C library functions. These functions are 
   3465 implemented locally in ACPICA. Moved all such functions to a common 
   3466 source file, utnonansi.c
   3467 
   3468 Debugger: Fixed a problem with the "!!" command (get last command 
   3469 executed) where the debugger could enter an infinite loop and eventually 
   3470 crash.
   3471 
   3472 Removed the use of local macros that were used for some of the standard C 
   3473 library functions to automatically cast input parameters. This mostly 
   3474 affected the is* functions where the input parameter is defined to be an 
   3475 int. This required a few modifications to the main ACPICA source code to 
   3476 provide casting for these functions and eliminate possible compiler 
   3477 warnings for these parameters.
   3478 
   3479 Across the source code, added additional status/error checking to resolve 
   3480 issues discovered by static source code analysis tools such as Coverity.
   3481 
   3482 Example Code and Data Size: These are the sizes for the OS-independent 
   3483 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3484 debug version of the code includes the debug output trace mechanism and 
   3485 has a much larger code and data size.
   3486 
   3487   Current Release:
   3488     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
   3489     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
   3490   Previous Release:
   3491     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
   3492     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
   3493 
   3494 
   3495 2) iASL Compiler/Disassembler and Tools:
   3496 
   3497 iASL: Fixed a regression where the device map file feature no longer 
   3498 worked properly when used in conjunction with the disassembler. It only 
   3499 worked properly with the compiler itself.
   3500 
   3501 iASL: Implemented a new warning for method LocalX variables that are set 
   3502 but never used (similar to a C compiler such as gcc). This also applies 
   3503 to ArgX variables that are not defined by the parent method, and are 
   3504 instead (legally) used as local variables.
   3505 
   3506 iASL/Preprocessor: Finished the pass-through of line numbers from the 
   3507 preprocessor to the compiler. This ensures that compiler errors/warnings 
   3508 have the correct original line numbers and filenames, regardless of any 
   3509 #include files.
   3510 
   3511 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
   3512 pass-through of comments to the preprocessor output file (which becomes 
   3513 the compiler input file). Also fixed a problem with // comments that 
   3514 appear after a math expression.
   3515 
   3516 iASL: Added support for the TCPA server table to the table compiler and 
   3517 template generator. (The client table was already previously supported)
   3518 
   3519 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
   3520 identify the iASL compiler.
   3521 
   3522 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
   3523 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
   3524 ACPI_SIGN_POSITIVE.
   3525 
   3526 AcpiHelp: Update to expand help messages for the iASL preprocessor 
   3527 directives.
   3528 
   3529 
   3530 ----------------------------------------
   3531 19 June 2015. Summary of changes for version 20150619:
   3532 
   3533 Two regressions in version 20150616 have been addressed:
   3534 
   3535 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
   3536 etc.) This update changes ACPICA to only use the standard headers for 
   3537 functions, or the prototypes for the local versions of the C library 
   3538 functions. Across the source code, this required some additional casts 
   3539 for some Clib invocations for portability. Moved all local prototypes to 
   3540 a new file, acclib.h
   3541 
   3542 Fixes several problems with recent changes to the handling of the FACS 
   3543 table that could cause some systems not to boot.
   3544 
   3545 
   3546 ----------------------------------------
   3547 16 June 2015. Summary of changes for version 20150616:
   3548 
   3549 
   3550 1) ACPICA kernel-resident subsystem:
   3551 
   3552 Across the entire ACPICA source code base, the various macros for the C 
   3553 library functions (such as ACPI_STRLEN, etc.) have been removed and 
   3554 replaced by the standard C library names (strlen, etc.) The original 
   3555 purpose for these macros is no longer applicable. This simplification 
   3556 reduces the number of macros used in the ACPICA source code 
   3557 significantly, improving readability and maintainability.
   3558 
   3559 Implemented support for a new ACPI table, the OSDT. This table, the 
   3560 "override" SDT, can be loaded directly by the host OS at boot time. It 
   3561 enables the replacement of existing namespace objects that were installed 
   3562 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
   3563 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
   3564 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
   3565 Moore.
   3566 
   3567 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
   3568 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
   3569 X field). This change will support both automatically. There continues to 
   3570 be systems found with this issue. This support requires a change to the 
   3571 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
   3572 been added to allow the host to select which FACS is desired 
   3573 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
   3574 details Lv Zheng.
   3575 
   3576 Added a new feature to allow for systems that do not contain an FACS. 
   3577 Although this is already supported on hardware-reduced platforms, the 
   3578 feature has been extended for all platforms. The reasoning is that we do 
   3579 not want to abort the entire ACPICA initialization just because the 
   3580 system is seriously buggy and has no FACS.
   3581 
   3582 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
   3583 not correctly transcribed from the ACPI specification in ACPICA version 
   3584 20150515.
   3585 
   3586 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
   3587 interface.
   3588 
   3589 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
   3590 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
   3591 compiler also updated. Note: The TCPA "server" table is not supported by 
   3592 the disassembler/table-compiler at this time.
   3593 
   3594 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
   3595 
   3596 Example Code and Data Size: These are the sizes for the OS-independent 
   3597 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3598 debug version of the code includes the debug output trace mechanism and 
   3599 has a much larger code and data size.
   3600 
   3601   Current Release:
   3602     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
   3603     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
   3604   Previous Release:
   3605     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
   3606     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
   3607 
   3608 
   3609 2) iASL Compiler/Disassembler and Tools:
   3610 
   3611 Disassembler: Fixed a problem with the new symbolic operator disassembler 
   3612 where incorrect ASL code could be emitted in some cases for the "non-
   3613 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
   3614 ShiftRight. The actual problem cases seem to be rather unusual in common 
   3615 ASL code, however. David Box.
   3616 
   3617 Modified the linux version of acpidump to obtain ACPI tables from not 
   3618 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
   3619 Zheng.
   3620 
   3621 iASL: Fixed a problem where the user preprocessor output file (.i) 
   3622 contained extra data that was not expected. The compiler was using this 
   3623 file as a temporary file and passed through #line directives in order to 
   3624 keep compiler error messages in sync with the input file and line number 
   3625 across multiple include files. The (.i) is no longer a temporary file as 
   3626 the compiler uses a new, different file for the original purpose.
   3627 
   3628 iASL: Fixed a problem where comments within the original ASL source code 
   3629 file were not passed through to the preprocessor output file, nor any 
   3630 listing files.
   3631 
   3632 iASL: Fixed some issues for the handling of the "#include" preprocessor 
   3633 directive and the similar (but not the same) "Include" ASL operator.
   3634 
   3635 iASL: Add support for the new OSDT in both the disassembler and compiler.
   3636 
   3637 iASL: Fixed a problem with the constant folding support where a Buffer 
   3638 object could be incorrectly generated (incorrectly formed) during a 
   3639 conversion to a Store() operator.
   3640 
   3641 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
   3642 description text for the _REV predefined name. _REV now permanently 
   3643 returns 2, as per the ACPI 6.0 specification.
   3644 
   3645 Debugger: Enhanced the output of the Debug ASL object for references 
   3646 produced by the Index operator. For Buffers and strings, only output the 
   3647 actual byte pointed to by the index. For packages, only print the single 
   3648 package element decoded by the index. Previously, the entire 
   3649 buffer/string/package was emitted.
   3650 
   3651 iASL/Table-compiler: Fixed a regression where the "generic" data types 
   3652 were no longer recognized, causing errors.
   3653 
   3654 
   3655 ----------------------------------------
   3656 15 May 2015. Summary of changes for version 20150515:
   3657 
   3658 This release implements most of ACPI 6.0 as described below.
   3659 
   3660 1) ACPICA kernel-resident subsystem:
   3661 
   3662 Implemented runtime argument checking and return value checking for all 
   3663 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
   3664 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
   3665 
   3666 Example Code and Data Size: These are the sizes for the OS-independent 
   3667 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3668 debug version of the code includes the debug output trace mechanism and 
   3669 has a much larger code and data size.
   3670 
   3671   Current Release:
   3672     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
   3673     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
   3674   Previous Release:
   3675     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
   3676     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
   3677 
   3678 
   3679 2) iASL Compiler/Disassembler and Tools:
   3680 
   3681 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
   3682 names (argument count validation and return value typechecking.)
   3683 
   3684 iASL disassembler and table compiler: implemented support for all new 
   3685 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
   3686 
   3687 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
   3688 tables: FADT, MADT.
   3689 
   3690 iASL preprocessor: Added a new directive to enable inclusion of binary 
   3691 blobs into ASL code. The new directive is #includebuffer. It takes a 
   3692 binary file as input and emits a named ascii buffer object into the ASL 
   3693 code.
   3694 
   3695 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
   3696 
   3697 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
   3698 directives.
   3699 
   3700 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
   3701 tables.
   3702 
   3703 
   3704 ----------------------------------------
   3705 10 April 2015. Summary of changes for version 20150410:
   3706 
   3707 Reverted a change introduced in version 20150408 that caused
   3708 a regression in the disassembler where incorrect operator
   3709 symbols could be emitted.
   3710 
   3711 
   3712 ----------------------------------------
   3713 08 April 2015. Summary of changes for version 20150408:
   3714 
   3715 
   3716 1) ACPICA kernel-resident subsystem:
   3717 
   3718 Permanently set the return value for the _REV predefined name. It now 
   3719 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
   3720 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
   3721 for ACPI 2.0 and later. It should never be used to differentiate or 
   3722 identify operating systems.
   3723 
   3724 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
   3725 return TRUE to a query with this string.
   3726 
   3727 Fixed several issues with the local version of the printf function.
   3728 
   3729 Added the C99 compiler option (-std=c99) to the Unix makefiles.
   3730 
   3731   Current Release:
   3732     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
   3733     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
   3734   Previous Release:
   3735     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   3736     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   3737 
   3738 
   3739 2) iASL Compiler/Disassembler and Tools:
   3740 
   3741 iASL: Implemented an enhancement to the constant folding feature to 
   3742 transform the parse tree to a simple Store operation whenever possible:
   3743     Add (2, 3, X) ==> is converted to: Store (5, X)
   3744     X = 2 + 3     ==> is converted to: Store (5, X)
   3745 
   3746 Updated support for the SLIC table (Software Licensing Description Table) 
   3747 in both the Data Table compiler and the disassembler. The SLIC table 
   3748 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
   3749 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
   3750 following the ACPI header is now defined to be "Proprietary Data", and as 
   3751 such, can only be entered or displayed as a hex data block.
   3752 
   3753 Implemented full support for the MSDM table as described in the document 
   3754 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
   3755 following the ACPI header is defined to be "Proprietary Data", and can 
   3756 only be entered or displayed as a hex data block.
   3757 
   3758 Implemented the -Pn option for the iASL Table Compiler (was only 
   3759 implemented for the ASL compiler). This option disables the iASL 
   3760 preprocessor.
   3761 
   3762 Disassembler: For disassembly of Data Tables, added a comment field 
   3763 around the Ascii equivalent data that is emitted as part of the "Raw 
   3764 Table Data" block. This prevents the iASL Preprocessor from possible 
   3765 confusion if/when the table is compiled.
   3766 
   3767 Disassembler: Added an option (-df) to force the disassembler to assume 
   3768 that the table being disassembled contains valid AML. This feature is 
   3769 useful for disassembling AML files that contain ACPI signatures other 
   3770 than DSDT or SSDT (such as OEMx or other signatures).
   3771 
   3772 Changes for the EFI version of the tools:
   3773 1) Fixed a build error/issue
   3774 2) Fixed a cast warning
   3775 
   3776 iASL: Fixed a path issue with the __FILE__ operator by making the 
   3777 directory prefix optional within the internal SplitInputFilename 
   3778 function.
   3779 
   3780 Debugger: Removed some unused global variables.
   3781 
   3782 Tests: Updated the makefile for proper generation of the AAPITS suite.
   3783 
   3784 
   3785 ----------------------------------------
   3786 04 February 2015. Summary of changes for version 20150204:
   3787 
   3788 ACPICA kernel-resident subsystem:
   3789 
   3790 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   3791 copyright to all module headers and signons, including the standard Linux 
   3792 header. This affects virtually every file in the ACPICA core subsystem, 
   3793 iASL compiler, all ACPICA utilities, and the test suites.
   3794 
   3795 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
   3796 A raw gpe handling mechanism was created to allow better handling of GPE
   3797 storms that aren't easily managed by the normal handler. The raw handler
   3798 allows disabling/renabling of the GPE so that interrupt storms can be
   3799 avoided in cases where events cannot be timely serviced. In this 
   3800 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
   3801 GPE. This API will leave the reference counts undisturbed, thereby 
   3802 preventing unintentional clearing of the GPE when the intent in only to 
   3803 temporarily disable it. Raw handlers allow enabling and disabling of a 
   3804 GPE by removing GPE register locking. As such, raw handlers much provide 
   3805 their own locks while using GPE API's to protect access to GPE data 
   3806 structures.
   3807 Lv Zheng
   3808 
   3809 Events: Always modify GPE registers under the GPE lock.
   3810 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
   3811 values. Reported as bug by joe.liu (a] apple.com.
   3812 
   3813 Unix makefiles: Separate option to disable optimizations and 
   3814 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
   3815 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
   3816 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
   3817 errors when building ACPICA. This allows disabling the option without 
   3818 also having to disable optimazations.
   3819 David Box
   3820 
   3821   Current Release:
   3822     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   3823     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
   3824 
   3825 --
   3826 --------------------------------------
   3827 07 November 2014. Summary of changes for version 20141107:
   3828 
   3829 This release is available at https://acpica.org/downloads
   3830 
   3831 This release introduces and implements language extensions to ASL that 
   3832 provide support for symbolic ("C-style") operators and expressions. These 
   3833 language extensions are known collectively as ASL+.
   3834 
   3835 
   3836 1) iASL Compiler/Disassembler and Tools:
   3837 
   3838 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
   3839 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
   3840 Box.
   3841 
   3842 Disassembler: Fixed the Unicode macro support to add escape sequences. 
   3843 All non-printable ASCII values are emitted as escape sequences, as well 
   3844 as the standard escapes for quote and backslash. Ensures that the 
   3845 disassembled macro can be correctly recompiled.
   3846 
   3847 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
   3848 translated to existing AML Concatenate and Store operations. Printf 
   3849 writes to the ASL Debug object. Fprintf allows the specification of an 
   3850 ASL name as the target. Only a single format specifier is required, %o, 
   3851 since the AML interpreter dynamically converts objects to the required 
   3852 type. David E. Box.
   3853 
   3854     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   3855                  (Concatenate (Concatenate (Concatenate ("", Arg0),
   3856                  ": Unexpected value for "), Arg1), ", "), Arg2),
   3857                  " at line "), Arg3), Debug)
   3858 
   3859     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
   3860                  Arg0, Arg1, Arg2, Arg3)
   3861 
   3862     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   3863                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
   3864 
   3865     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
   3866 
   3867 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
   3868 ASL parse tree before the AML code is generated. This allows blocks of 
   3869 ASL code to be removed in order to help locate and identify problem 
   3870 devices and/or code. David E. Box.
   3871 
   3872 AcpiExec: Added support (-fi) for an optional namespace object 
   3873 initialization file. This file specifies initial values for namespace 
   3874 objects as necessary for debugging and testing different ASL code paths 
   3875 that may be taken as a result of BIOS options.
   3876 
   3877 
   3878 2) Overview of symbolic operator support for ASL (ASL+)
   3879 -------------------------------------------------------
   3880 
   3881 As an extension to the ASL language, iASL implements support for symbolic 
   3882 (C-style) operators for math and logical expressions. This can greatly 
   3883 simplify ASL code as well as improve both readability and 
   3884 maintainability. These language extensions can exist concurrently with 
   3885 all legacy ASL code and expressions.
   3886 
   3887 The symbolic extensions are 100% compatible with existing AML 
   3888 interpreters, since no new AML opcodes are created. To implement the 
   3889 extensions, the iASL compiler transforms the symbolic expressions into 
   3890 the legacy ASL/AML equivalents at compile time.
   3891 
   3892 Full symbolic expressions are supported, along with the standard C 
   3893 precedence and associativity rules.
   3894 
   3895 Full disassembler support for the symbolic expressions is provided, and 
   3896 creates an automatic migration path for existing ASL code to ASL+ code 
   3897 via the disassembly process. By default, the disassembler now emits ASL+ 
   3898 code with symbolic expressions. An option (-dl) is provided to force the 
   3899 disassembler to emit legacy ASL code if desired.
   3900 
   3901 Below is the complete list of the currently supported symbolic operators 
   3902 with examples. See the iASL User Guide for additional information.
   3903 
   3904 
   3905 ASL+ Syntax      Legacy ASL Equivalent
   3906 -----------      ---------------------
   3907 
   3908     // Math operators
   3909 
   3910 Z = X + Y        Add (X, Y, Z)
   3911 Z = X - Y        Subtract (X, Y, Z)
   3912 Z = X * Y        Multiply (X, Y, Z)
   3913 Z = X / Y        Divide (X, Y, , Z)
   3914 Z = X % Y        Mod (X, Y, Z)
   3915 Z = X << Y       ShiftLeft (X, Y, Z)
   3916 Z = X >> Y       ShiftRight (X, Y, Z)
   3917 Z = X & Y        And (X, Y, Z)
   3918 Z = X | Y        Or (X, Y, Z)
   3919 Z = X ^ Y        Xor (X, Y, Z)
   3920 Z = ~X           Not (X, Z)
   3921 X++              Increment (X)
   3922 X--              Decrement (X)
   3923 
   3924     // Logical operators
   3925 
   3926 (X == Y)         LEqual (X, Y)
   3927 (X != Y)         LNotEqual (X, Y)
   3928 (X < Y)          LLess (X, Y)
   3929 (X > Y)          LGreater (X, Y)
   3930 (X <= Y)         LLessEqual (X, Y)
   3931 (X >= Y)         LGreaterEqual (X, Y)
   3932 (X && Y)         LAnd (X, Y)
   3933 (X || Y)         LOr (X, Y)
   3934 (!X)             LNot (X)
   3935 
   3936     // Assignment and compound assignment operations
   3937 
   3938 X = Y           Store (Y, X)
   3939 X += Y          Add (X, Y, X)
   3940 X -= Y          Subtract (X, Y, X)
   3941 X *= Y          Multiply (X, Y, X)
   3942 X /= Y          Divide (X, Y, , X)
   3943 X %= Y          Mod (X, Y, X)
   3944 X <<= Y         ShiftLeft (X, Y, X)
   3945 X >>= Y         ShiftRight (X, Y, X)
   3946 X &= Y          And (X, Y, X)
   3947 X |= Y          Or (X, Y, X)
   3948 X ^= Y          Xor (X, Y, X)
   3949 
   3950 
   3951 3) ASL+ Examples:
   3952 -----------------
   3953 
   3954 Legacy ASL:
   3955         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
   3956             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
   3957 0x03FB), 
   3958             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
   3959         {
   3960             And (MEMB, 0xFFFFFFF0, SRMB)
   3961             Store (MEMB, Local2)
   3962             Store (PDBM, Local1)
   3963             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
   3964             Store (SRMB, MEMB)
   3965             Or (PDBM, 0x02, PDBM)
   3966         }
   3967 
   3968 ASL+ version:
   3969         If (((R510 & 0x03FB) == 0x02E0) ||
   3970             ((R520 & 0x03FB) == 0x02E0) ||
   3971             ((R530 & 0x03FB) == 0x02E0) || 
   3972             ((R540 & 0x03FB) == 0x02E0))
   3973         {
   3974             SRMB = (MEMB & 0xFFFFFFF0)
   3975             Local2 = MEMB
   3976             Local1 = PDBM
   3977             PDBM &= 0xFFFFFFFFFFFFFFF9
   3978             MEMB = SRMB
   3979             PDBM |= 0x02
   3980         }
   3981 
   3982 Legacy ASL:
   3983         Store (0x1234, Local1)
   3984         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
   3985         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
   3986         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
   3987         Store (Index (PKG1, 0x03), Local6)
   3988         Store (Add (Local3, Local2), Debug)
   3989         Add (Local1, 0x0F, Local2)
   3990         Add (Local1, Multiply (Local2, Local3), Local2)
   3991         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
   3992 
   3993 ASL+ version:
   3994         Local1 = 0x1234
   3995         Local3 = (((Local1 + TEST) + 0x20) * Local2)
   3996         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
   3997         Local3 = (Local1 + (TEST + (0x20 * Local2)))
   3998         Local6 = Index (PKG1, 0x03)
   3999         Debug = (Local3 + Local2)
   4000         Local2 = (Local1 + 0x0F)
   4001         Local2 = (Local1 + (Local2 * Local3))
   4002         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
   4003 
   4004 
   4005 ----------------------------------------
   4006 26 September 2014. Summary of changes for version 20140926:
   4007 
   4008 1) ACPICA kernel-resident subsystem:
   4009 
   4010 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
   4011 In order to support GPIO Connection objects with multiple pins, along 
   4012 with the related Field objects, the following changes to the interface 
   4013 have been made: The Address is now defined to be the offset in bits of 
   4014 the field unit from the previous invocation of a Connection. It can be 
   4015 viewed as a "Pin Number Index" into the connection resource descriptor. 
   4016 The BitWidth is the exact bit width of the field. It is usually one bit, 
   4017 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
   4018 additional information and examples.
   4019 
   4020 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
   4021 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
   4022 by the firmware), so that they cannot fire until they are enabled via 
   4023 AcpiUpdateAllGpes. Rafael J. Wysocki.
   4024 
   4025 Added a new return flag for the Event/GPE status interfaces -- 
   4026 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
   4027 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
   4028 GPE currently has a handler associated with it, and can thus actually 
   4029 affect the system. Lv Zheng.
   4030 
   4031 Example Code and Data Size: These are the sizes for the OS-independent 
   4032 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4033 debug version of the code includes the debug output trace mechanism and 
   4034 has a much larger code and data size.
   4035 
   4036   Current Release:
   4037     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
   4038     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
   4039   Previous Release:
   4040     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   4041     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   4042 
   4043 2) iASL Compiler/Disassembler and Tools:
   4044 
   4045 iASL: Fixed a memory allocation/free regression introduced in 20140828 
   4046 that could cause the compiler to crash. This was introduced inadvertently 
   4047 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
   4048 1113.
   4049 
   4050 iASL: Removed two error messages that have been found to create false 
   4051 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
   4052 1) Illegal forward reference within a method
   4053 2) Illegal reference across two methods
   4054 
   4055 iASL: Implemented a new option (-lm) to create a hardware mapping file 
   4056 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
   4057 works for both the compiler and disassembler. See the iASL compiler user 
   4058 guide for additional information and examples (section 6.4.6).
   4059 
   4060 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
   4061 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
   4062 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
   4063 
   4064 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
   4065 unless STDIN is actually a terminal. Assists with batch-mode processing. 
   4066 ACPICA BZ 1114.
   4067 
   4068 Disassembler/AcpiHelp: Added another large group of recognized _HID 
   4069 values.
   4070 
   4071 
   4072 ----------------------------------------
   4073 28 August 2014. Summary of changes for version 20140828:
   4074 
   4075 1) ACPICA kernel-resident subsystem:
   4076 
   4077 Fixed a problem related to the internal use of the Timer() operator where 
   4078 a 64-bit divide could cause an attempted link to a double-precision math 
   4079 library. This divide is not actually necessary, so the code was 
   4080 restructured to eliminate it. Lv Zheng.
   4081 
   4082 ACPI 5.1: Added support for the runtime validation of the _DSD package 
   4083 (similar to the iASL support).
   4084 
   4085 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
   4086 SRAT table. Hanjun Guo <hanjun.guo (a] linaro.org>.
   4087 
   4088 Example Code and Data Size: These are the sizes for the OS-independent 
   4089 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4090 debug version of the code includes the debug output trace mechanism and 
   4091 has a much larger code and data size.
   4092 
   4093   Current Release:
   4094     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   4095     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   4096   Previous Release:
   4097     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
   4098     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   4099 
   4100 2) iASL Compiler/Disassembler and Tools:
   4101 
   4102 AcpiExec: Fixed a problem on unix systems where the original terminal 
   4103 state was not always properly restored upon exit. Seen when using the -v 
   4104 option. ACPICA BZ 1104.
   4105 
   4106 iASL: Fixed a problem with the validation of the ranges/length within the 
   4107 Memory24 resource descriptor. There was a boundary condition when the 
   4108 range was equal to the (length -1) caused by the fact that these values 
   4109 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
   4110 
   4111 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
   4112 polarity 
   4113 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
   4114 is 
   4115 now supported properly.
   4116 
   4117 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
   4118 in the disassembler, data table compiler, and table template generator.
   4119 
   4120 iASL: Added a requirement for Device() objects that one of either a _HID 
   4121 or _ADR must exist within the scope of a Device, as per the ACPI 
   4122 specification. Remove a similar requirement that was incorrectly in place 
   4123 for the _DSD object.
   4124 
   4125 iASL: Added error detection for illegal named references within control 
   4126 methods that would cause runtime failures. Now trapped as errors are: 1) 
   4127 References to objects within a non-parent control method. 2) Forward 
   4128 references (within a method) -- for control methods, AML interpreters use 
   4129 a one-pass parse of control methods. ACPICA BZ 1008.
   4130 
   4131 iASL: Added error checking for dependencies related to the _PSx power 
   4132 methods. ACPICA BZ 1029.
   4133 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
   4134 _PS3.
   4135 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
   4136 scope.
   4137 
   4138 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
   4139 deploying the existing object and string caches and adding new caches for 
   4140 the table compiler.
   4141 
   4142 iASL: Split the huge parser source file into multiple subfiles to improve 
   4143 manageability. Generation now requires the M4 macro preprocessor, which 
   4144 is part of the Bison distribution on both unix and windows platforms.
   4145 
   4146 AcpiSrc: Fixed and removed all extraneous warnings generated during 
   4147 entire ACPICA source code scan and/or conversion.
   4148 
   4149 
   4150 ----------------------------------------
   4151 
   4152 24 July 2014. Summary of changes for version 20140724: 
   4153 
   4154 The ACPI 5.1 specification has been released and is available at: 
   4155 http://uefi.org/specs/access
   4156 
   4157 
   4158 0) ACPI 5.1 support in ACPICA:
   4159 
   4160 ACPI 5.1 is fully supported in ACPICA as of this release.
   4161 
   4162 New predefined names. Support includes iASL and runtime ACPICA 
   4163 validation.
   4164     _CCA (Cache Coherency Attribute).
   4165     _DSD (Device-Specific Data). David Box.
   4166 
   4167 Modifications to existing ACPI tables. Support includes headers, iASL 
   4168 Data Table compiler, disassembler, and the template generator.
   4169     FADT - New fields and flags. Graeme Gregory.
   4170     GTDT - One new subtable and new fields. Tomasz Nowicki.
   4171     MADT - Two new subtables. Tomasz Nowicki.
   4172     PCCT - One new subtable.
   4173 
   4174 Miscellaneous.
   4175     New notification type for System Resource Affinity change events.
   4176 
   4177 
   4178 1) ACPICA kernel-resident subsystem:
   4179 
   4180 Fixed a regression introduced in 20140627 where a fault can happen during 
   4181 the deletion of Alias AML namespace objects. The problem affected both 
   4182 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
   4183 
   4184 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
   4185 simple mechanism to enable wake GPEs that have no associated handler or 
   4186 control method. Rafael Wysocki.
   4187 
   4188 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
   4189 handler or control method associated with the particular GPE. This will 
   4190 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
   4191 
   4192 Updated GPE handling and dispatch by disabling the GPE before clearing 
   4193 the status bit for edge-triggered GPEs. Lv Zheng.
   4194 
   4195 Added Timer() support to the AML Debug object. The current timer value is 
   4196 now displayed with each invocation of (Store to) the debug object to 
   4197 enable simple generation of execution times for AML code (method 
   4198 execution for example.) ACPICA BZ 1093.
   4199 
   4200 Example Code and Data Size: These are the sizes for the OS-independent 
   4201 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4202 debug version of the code includes the debug output trace mechanism and 
   4203 has a much larger code and data size.
   4204 
   4205   Current Release:
   4206     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
   4207     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   4208   Previous Release:
   4209     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   4210     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   4211 
   4212 
   4213 2) iASL Compiler/Disassembler and Tools:
   4214 
   4215 Fixed an issue with the recently added local printf implementation, 
   4216 concerning width/precision specifiers that could cause incorrect output. 
   4217 Lv Zheng. ACPICA BZ 1094.
   4218 
   4219 Disassembler: Added support to detect buffers that contain UUIDs and 
   4220 disassemble them to an invocation of the ToUUID operator. Also emit 
   4221 commented descriptions of known ACPI-related UUIDs.
   4222 
   4223 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
   4224 -u. Adds three new files. 
   4225 
   4226 iASL: Update table compiler and disassembler for DMAR table changes that 
   4227 were introduced in September 2013. With assistance by David Woodhouse.
   4228 
   4229 ----------------------------------------
   4230 27 June 2014. Summary of changes for version 20140627:
   4231 
   4232 1) ACPICA kernel-resident subsystem:
   4233 
   4234 Formatted Output: Implemented local versions of standard formatted output 
   4235 utilities such as printf, etc. Over time, it has been discovered that 
   4236 there are in fact many portability issues with printf, and the addition 
   4237 of this feature will fix/prevent these issues once and for all. Some 
   4238 known issues are summarized below:
   4239 
   4240 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
   4241 for the Linux kernel and is %uI64 for some MSVC versions.
   4242 2) Invoking printf consistently in a manner that is portable across both 
   4243 32-bit and 64-bit platforms is difficult at best in many situations.
   4244 3) The output format for pointers varies from system to system (leading 
   4245 zeros especially), and leads to inconsistent output from ACPICA across 
   4246 platforms.
   4247 4) Certain platform-specific printf formats may conflict with ACPICA use.
   4248 5) If there is no local C library available, ACPICA now has local support 
   4249 for printf.
   4250 
   4251 -- To address these printf issues in a complete manner, ACPICA now 
   4252 directly implements a small subset of printf format specifiers, only 
   4253 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
   4254 
   4255 Implemented support for ACPICA generation within the EFI environment. 
   4256 Initially, the AcpiDump utility is supported in the UEFI shell 
   4257 environment. Lv Zheng.
   4258 
   4259 Added a new external interface, AcpiLogError, to improve ACPICA 
   4260 portability. This allows the host to redirect error messages from the 
   4261 ACPICA utilities. Lv Zheng.
   4262 
   4263 Added and deployed new OSL file I/O interfaces to improve ACPICA 
   4264 portability:
   4265   AcpiOsOpenFile
   4266   AcpiOsCloseFile
   4267   AcpiOsReadFile
   4268   AcpiOsWriteFile
   4269   AcpiOsGetFileOffset
   4270   AcpiOsSetFileOffset
   4271 There are C library implementations of these functions in the new file 
   4272 service_layers/oslibcfs.c -- however, the functions can be implemented by 
   4273 the local host in any way necessary. Lv Zheng.
   4274 
   4275 Implemented a mechanism to disable/enable ACPI table checksum validation 
   4276 at runtime. This can be useful when loading tables very early during OS 
   4277 initialization when it may not be possible to map the entire table in 
   4278 order to compute the checksum. Lv Zheng.
   4279 
   4280 Fixed a buffer allocation issue for the Generic Serial Bus support. 
   4281 Originally, a fixed buffer length was used. This change allows for 
   4282 variable-length buffers based upon the protocol indicated by the field 
   4283 access attributes. Reported by Lan Tianyu. Lv Zheng.
   4284 
   4285 Fixed a problem where an object detached from a namespace node was not 
   4286 properly terminated/cleared and could cause a circular list problem if 
   4287 reattached. ACPICA BZ 1063. David Box.
   4288 
   4289 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
   4290 
   4291 Fixed a possible memory leak in an error return path within the function 
   4292 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
   4293 
   4294 Example Code and Data Size: These are the sizes for the OS-independent 
   4295 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4296 debug version of the code includes the debug output trace mechanism and 
   4297 has a much larger code and data size.
   4298 
   4299   Current Release:
   4300     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   4301     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   4302   Previous Release:
   4303     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   4304     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   4305 
   4306 
   4307 2) iASL Compiler/Disassembler and Tools:
   4308 
   4309 Disassembler: Add dump of ASCII equivalent text within a comment at the 
   4310 end of each line of the output for the Buffer() ASL operator.
   4311 
   4312 AcpiDump: Miscellaneous changes:
   4313   Fixed repetitive table dump in -n mode.
   4314   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
   4315 the ACPI 2.0 GUID fails.
   4316 
   4317 iASL: Fixed a problem where the compiler could fault if incorrectly given 
   4318 an acpidump output file as input. ACPICA BZ 1088. David Box.
   4319 
   4320 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
   4321 they are invoked without any arguments.
   4322 
   4323 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
   4324 1086. Colin Ian King.
   4325 
   4326 Disassembler: Cleaned up a block of code that extracts a parent Op 
   4327 object. Added a comment that explains that the parent is guaranteed to be 
   4328 valid in this case. ACPICA BZ 1069.
   4329 
   4330 
   4331 ----------------------------------------
   4332 24 April 2014. Summary of changes for version 20140424:
   4333 
   4334 1) ACPICA kernel-resident subsystem:
   4335 
   4336 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
   4337 Some of these tables are known to contain a trailing NULL entry. Lv 
   4338 Zheng.
   4339 
   4340 Removed an extraneous error message for the case where there are a large 
   4341 number of system GPEs (> 124). This was the "32-bit FADT register is too 
   4342 long to convert to GAS struct" message, which is irrelevant for GPEs 
   4343 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
   4344 (limited capacity) GAS bit length. Also, several changes to ensure proper 
   4345 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
   4346 internally.
   4347 
   4348 Implemented and deployed additional configuration support for the public 
   4349 ACPICA external interfaces. Entire classes of interfaces can now be 
   4350 easily modified or configured out, replaced by stubbed inline functions 
   4351 by default. Lv Zheng.
   4352 
   4353 Moved all public ACPICA runtime configuration globals to the public 
   4354 ACPICA external interface file for convenience. Also, removed some 
   4355 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
   4356 
   4357 Documentation: Added a new section to the ACPICA reference describing the 
   4358 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
   4359 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
   4360 reference.
   4361 
   4362 Example Code and Data Size: These are the sizes for the OS-independent 
   4363 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4364 debug version of the code includes the debug output trace mechanism and 
   4365 has a much larger code and data size.
   4366 
   4367   Current Release:
   4368     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   4369     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   4370   Previous Release:
   4371     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   4372     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   4373 
   4374 
   4375 2) iASL Compiler/Disassembler and Tools:
   4376 
   4377 iASL and disassembler: Add full support for the LPIT table (Low Power 
   4378 Idle Table). Includes support in the disassembler, data table compiler, 
   4379 and template generator.
   4380 
   4381 AcpiDump utility:
   4382 1) Add option to force the use of the RSDT (over the XSDT).
   4383 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
   4384 
   4385 iASL: Add check for predefined packages that are too large.  For 
   4386 predefined names that contain subpackages, check if each subpackage is 
   4387 too large. (Check for too small already exists.)
   4388 
   4389 Debugger: Updated the GPE command (which simulates a GPE by executing the 
   4390 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
   4391 to the GPE 0/1 FADT-defined blocks.
   4392 
   4393 Unix application OSL: Update line-editing support. Add additional error 
   4394 checking and take care not to reset terminal attributes on exit if they 
   4395 were never set. This should help guarantee that the terminal is always 
   4396 left in the previous state on program exit.
   4397 
   4398 
   4399 ----------------------------------------
   4400 25 March 2014. Summary of changes for version 20140325:
   4401 
   4402 1) ACPICA kernel-resident subsystem:
   4403 
   4404 Updated the auto-serialize feature for control methods. This feature 
   4405 automatically serializes all methods that create named objects in order 
   4406 to prevent runtime errors. The update adds support to ignore the 
   4407 currently executing AML SyncLevel when invoking such a method, in order 
   4408 to prevent disruption of any existing SyncLevel priorities that may exist 
   4409 in the AML code. Although the use of SyncLevels is relatively rare, this 
   4410 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
   4411 appear on some machines starting with the 20140214 release.
   4412 
   4413 Added a new external interface to allow the host to install ACPI tables 
   4414 very early, before the namespace is even created. AcpiInstallTable gives 
   4415 the host additional flexibility for ACPI table management. Tables can be 
   4416 installed directly by the host as if they had originally appeared in the 
   4417 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
   4418 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
   4419 with additional internal restructuring and cleanup. See the ACPICA 
   4420 Reference for interface details. Lv Zheng.
   4421 
   4422 Added validation of the checksum for all incoming dynamically loaded 
   4423 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
   4424 Zheng.
   4425 
   4426 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
   4427 and GPE handler removal. Restructured calls to eliminate possible race 
   4428 conditions. Lv Zheng.
   4429 
   4430 Added a warning for the use/execution of the ASL/AML Unload (table) 
   4431 operator. This will help detect and identify machines that use this 
   4432 operator if and when it is ever used. This operator has never been seen 
   4433 in the field and the usage model and possible side-effects of the drastic 
   4434 runtime action of a full table removal are unknown.
   4435 
   4436 Reverted the use of #pragma push/pop which was introduced in the 20140214 
   4437 release. It appears that push and pop are not implemented by enough 
   4438 compilers to make the use of this feature feasible for ACPICA at this 
   4439 time. However, these operators may be deployed in a future ACPICA 
   4440 release.
   4441 
   4442 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
   4443 handler interfaces.
   4444 
   4445 Source code generation:
   4446 1) Disabled the use of the "strchr" macro for the gcc-specific 
   4447 generation. For some versions of gcc, this macro can periodically expose 
   4448 a compiler bug which in turn causes compile-time error(s).
   4449 2) Added support for PPC64 compilation. Colin Ian King.
   4450 
   4451 Example Code and Data Size: These are the sizes for the OS-independent 
   4452 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4453 debug version of the code includes the debug output trace mechanism and 
   4454 has a much larger code and data size.
   4455 
   4456   Current Release:
   4457     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   4458     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   4459   Previous Release:
   4460     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   4461     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   4462 
   4463 
   4464 2) iASL Compiler/Disassembler and Tools:
   4465 
   4466 Disassembler: Added several new features to improve the readability of 
   4467 the resulting ASL code. Extra information is emitted within comment 
   4468 fields in the ASL code:
   4469 1) Known _HID/_CID values are decoded to descriptive text.
   4470 2) Standard values for the Notify() operator are decoded to descriptive 
   4471 text.
   4472 3) Target operands are expanded to full pathnames (in a comment) when 
   4473 possible.
   4474 
   4475 Disassembler: Miscellaneous updates for extern() handling:
   4476 1) Abort compiler if file specified by -fe option does not exist.
   4477 2) Silence unnecessary warnings about argument count mismatches.
   4478 3) Update warning messages concerning unresolved method externals.
   4479 4) Emit "UnknownObj" keyword for externals whose type cannot be 
   4480 determined.
   4481 
   4482 AcpiHelp utility:
   4483 1) Added the -a option to display both the ASL syntax and the AML 
   4484 encoding for an input ASL operator. This effectively displays all known 
   4485 information about an ASL operator with one AcpiHelp invocation.
   4486 2) Added substring match support (similar to a wildcard) for the -i 
   4487 (_HID/PNP IDs) option.
   4488 
   4489 iASL/Disassembler: Since this tool does not yet support execution on big-
   4490 endian machines, added detection of endianness and an error message if 
   4491 execution is attempted on big-endian. Support for big-endian within iASL 
   4492 is a feature that is on the ACPICA to-be-done list.
   4493 
   4494 AcpiBin utility:
   4495 1) Remove option to extract binary files from an acpidump; this function 
   4496 is made obsolete by the AcpiXtract utility.
   4497 2) General cleanup of open files and allocated buffers.
   4498 
   4499 
   4500 ----------------------------------------
   4501 14 February 2014. Summary of changes for version 20140214:
   4502 
   4503 1) ACPICA kernel-resident subsystem:
   4504 
   4505 Implemented a new mechanism to proactively prevent problems with ill-
   4506 behaved reentrant control methods that create named ACPI objects. This 
   4507 behavior is illegal as per the ACPI specification, but is nonetheless 
   4508 frequently seen in the field. Previously, this could lead to an 
   4509 AE_ALREADY_EXISTS exception if the method was actually entered by more 
   4510 than one thread. This new mechanism detects such methods at table load 
   4511 time and marks them "serialized" to prevent reentrancy. A new global 
   4512 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
   4513 feature if desired. This mechanism and global option obsoletes and 
   4514 supersedes the previous AcpiGbl_SerializeAllMethods option.
   4515 
   4516 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
   4517 respond TRUE to _OSI queries with this string. It is the stated policy of 
   4518 ACPICA to add new strings to the _OSI support as soon as possible after 
   4519 they are defined. See the full ACPICA _OSI policy which has been added to 
   4520 the utilities/utosi.c file.
   4521 
   4522 Hardened/updated the _PRT return value auto-repair code:
   4523 1) Do not abort the repair on a single subpackage failure, continue to 
   4524 check all subpackages.
   4525 2) Add check for the minimum subpackage length (4).
   4526 3) Properly handle extraneous NULL package elements.
   4527 
   4528 Added support to avoid the possibility of infinite loops when traversing 
   4529 object linked lists. Never allow an infinite loop, even in the face of 
   4530 corrupted object lists.
   4531 
   4532 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
   4533 pack(pop) directives to ensure that the ACPICA headers are independent of 
   4534 compiler settings or other host headers.
   4535 
   4536 Example Code and Data Size: These are the sizes for the OS-independent 
   4537 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4538 debug version of the code includes the debug output trace mechanism and 
   4539 has a much larger code and data size.
   4540 
   4541   Current Release:
   4542     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   4543     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   4544   Previous Release:
   4545     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   4546     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   4547 
   4548 
   4549 2) iASL Compiler/Disassembler and Tools:
   4550 
   4551 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
   4552 first reserved field was incorrectly forced to have a value of zero. This 
   4553 change correctly forces the field to have a value of one. ACPICA BZ 1081.
   4554 
   4555 Debugger: Added missing support for the "Extra" and "Data" subobjects 
   4556 when displaying object data.
   4557 
   4558 Debugger: Added support to display entire object linked lists when 
   4559 displaying object data.
   4560 
   4561 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
   4562 Windows registry. This feature has been superseded by the acpidump 
   4563 utility. 
   4564 
   4565 
   4566 ----------------------------------------
   4567 14 January 2014. Summary of changes for version 20140114:
   4568 
   4569 1) ACPICA kernel-resident subsystem:
   4570 
   4571 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   4572 copyright to all module headers and signons, including the standard Linux 
   4573 header. This affects virtually every file in the ACPICA core subsystem, 
   4574 iASL compiler, all ACPICA utilities, and the test suites.
   4575 
   4576 Improved parameter validation for AcpiInstallGpeBlock. Added the 
   4577 following checks:
   4578 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
   4579 2) There is not already a GPE block attached to the device.
   4580 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
   4581 device.
   4582 
   4583 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
   4584 support to allow references (namespace nodes) to be passed as arguments 
   4585 to control methods via the evaluate object interface. This is probably 
   4586 most useful for testing purposes, however.
   4587 
   4588 Improved support for 32/64 bit physical addresses in printf()-like 
   4589 output. This change improves the support for physical addresses in printf 
   4590 debug statements and other output on both 32-bit and 64-bit hosts. It 
   4591 consistently outputs the appropriate number of bytes for each host. The 
   4592 %p specifier is unsatisfactory since it does not emit uniform output on 
   4593 all hosts/clib implementations (on some, leading zeros are not supported, 
   4594 leading to difficult-to-read output).
   4595 
   4596 Example Code and Data Size: These are the sizes for the OS-independent 
   4597 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4598 debug version of the code includes the debug output trace mechanism and 
   4599 has a much larger code and data size.
   4600 
   4601   Current Release:
   4602     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   4603     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   4604   Previous Release:
   4605     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   4606     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   4607 
   4608 
   4609 2) iASL Compiler/Disassembler and Tools:
   4610 
   4611 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
   4612 problem if the parent Field definition for the Connection operator refers 
   4613 to an operation region that does not exist. ACPICA BZ 1064.
   4614 
   4615 AcpiExec: Load of local test tables is now optional. The utility has the 
   4616 capability to load some various tables to test features of ACPICA. 
   4617 However, there are enough of them that the output of the utility became 
   4618 confusing. With this change, only the required local tables are displayed 
   4619 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
   4620 line specification. This makes the default output simler and easier to 
   4621 understand. The -el command line option restores the original behavior 
   4622 for testing purposes.
   4623 
   4624 AcpiExec: Added support for overlapping operation regions. This change 
   4625 expands the simulation of operation regions by supporting regions that 
   4626 overlap within the given address space. Supports SystemMemory and 
   4627 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
   4628 
   4629 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
   4630 allows AcpiExec to simulate these address spaces, similar to the current 
   4631 support for SystemMemory and SystemIO.
   4632 
   4633 Debugger: Added new command to read/write/compare all namespace objects. 
   4634 The command "test objects" will exercise the entire namespace by writing 
   4635 new values to each data object, and ensuring that the write was 
   4636 successful. The original value is then restored and verified.
   4637 
   4638 Debugger: Added the "test predefined" command. This change makes this 
   4639 test public and puts it under the new "test" command. The test executes 
   4640 each and every predefined name within the current namespace.
   4641 
   4642 
   4643 ----------------------------------------
   4644 18 December 2013. Summary of changes for version 20131218:
   4645 
   4646 Global note: The ACPI 5.0A specification was released this month. There 
   4647 are no changes needed for ACPICA since this release of ACPI is an 
   4648 errata/clarification release. The specification is available at 
   4649 acpi.info. 
   4650 
   4651 
   4652 1) ACPICA kernel-resident subsystem:
   4653 
   4654 Added validation of the XSDT root table if it is present. Some older 
   4655 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
   4656 as containing some or all entries that are NULL pointers). This change 
   4657 adds a new function to validate the XSDT before actually using it. If the 
   4658 XSDT is found to be invalid, ACPICA will now automatically fall back to 
   4659 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
   4660 ACPICA and enhanced by Lv Zheng and Bob Moore.
   4661 
   4662 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
   4663 This change adds a runtime option that will force ACPICA to use the RSDT 
   4664 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
   4665 requires that an XSDT be used instead of the RSDT, the XSDT has been 
   4666 found to be corrupt or ill-formed on some machines. Lv Zheng.
   4667 
   4668 Added a runtime option to favor 32-bit FADT register addresses over the 
   4669 64-bit addresses. This change adds an option to favor 32-bit FADT 
   4670 addresses when there is a conflict between the 32-bit and 64-bit versions 
   4671 of the same register. The default behavior is to use the 64-bit version 
   4672 in accordance with the ACPI specification. This can now be overridden via 
   4673 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
   4674 
   4675 During the change above, the internal "Convert FADT" and "Verify FADT" 
   4676 functions have been merged to simplify the code, making it easier to 
   4677 understand and maintain. ACPICA BZ 933.
   4678 
   4679 Improve exception reporting and handling for GPE block installation. 
   4680 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
   4681 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
   4682 
   4683 Added helper macros to extract bus/segment numbers from the HEST table. 
   4684 This change adds two macros to extract the encoded bus and segment 
   4685 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
   4686 Betty Dall <betty.dall (a] hp.com>
   4687 
   4688 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
   4689 by ACPICA. It is not a public macro, so it should have no effect on 
   4690 existing OSV code. Lv Zheng.
   4691 
   4692 Example Code and Data Size: These are the sizes for the OS-independent 
   4693 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4694 debug version of the code includes the debug output trace mechanism and 
   4695 has a much larger code and data size.
   4696 
   4697   Current Release:
   4698     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   4699     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   4700   Previous Release:
   4701     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   4702     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   4703 
   4704 
   4705 2) iASL Compiler/Disassembler and Tools:
   4706 
   4707 Disassembler: Improved pathname support for emitted External() 
   4708 statements. This change adds full pathname support for external names 
   4709 that have been resolved internally by the inclusion of additional ACPI 
   4710 tables (via the iASL -e option). Without this change, the disassembler 
   4711 can emit multiple externals for the same object, or it become confused 
   4712 when the Scope() operator is used on an external object. Overall, greatly 
   4713 improves the ability to actually recompile the emitted ASL code when 
   4714 objects a referenced across multiple ACPI tables. Reported by Michael 
   4715 Tsirkin (mst (a] redhat.com).
   4716 
   4717 Tests/ASLTS: Updated functional control suite to execute with no errors. 
   4718 David Box. Fixed several errors related to the testing of the interpreter 
   4719 slack mode. Lv Zheng.
   4720 
   4721 iASL: Added support to detect names that are declared within a control 
   4722 method, but are unused (these are temporary names that are only valid 
   4723 during the time the method is executing). A remark is issued for these 
   4724 cases. ACPICA BZ 1022.
   4725 
   4726 iASL: Added full support for the DBG2 table. Adds full disassembler, 
   4727 table compiler, and template generator support for the DBG2 table (Debug 
   4728 Port 2 table).
   4729 
   4730 iASL: Added full support for the PCCT table, update the table definition. 
   4731 Updates the PCCT table definition in the actbl3.h header and adds table 
   4732 compiler and template generator support.
   4733 
   4734 iASL: Added an option to emit only error messages (no warnings/remarks). 
   4735 The -ve option will enable only error messages, warnings and remarks are 
   4736 suppressed. This can simplify debugging when only the errors are 
   4737 important, such as when an ACPI table is disassembled and there are many 
   4738 warnings and remarks -- but only the actual errors are of real interest.
   4739 
   4740 Example ACPICA code (source/tools/examples): Updated the example code so 
   4741 that it builds to an actual working program, not just example code. Added 
   4742 ACPI tables and execution of an example control method in the DSDT. Added 
   4743 makefile support for Unix generation.
   4744 
   4745 
   4746 ----------------------------------------
   4747 15 November 2013. Summary of changes for version 20131115:
   4748 
   4749 This release is available at https://acpica.org/downloads
   4750 
   4751 
   4752 1) ACPICA kernel-resident subsystem:
   4753 
   4754 Resource Manager: Fixed loop termination for the "get AML length" 
   4755 function. The loop previously had an error termination on a NULL resource 
   4756 pointer, which can never happen since the loop simply increments a valid 
   4757 resource pointer. This fix changes the loop to terminate with an error on 
   4758 an invalid end-of-buffer condition. The problem can be seen as an 
   4759 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
   4760 corrupted resource descriptor, or a resource descriptor that is missing 
   4761 an END_TAG descriptor. Reported by Dan Carpenter 
   4762 <dan.carpenter (a] oracle.com>. Lv Zheng, Bob Moore.
   4763 
   4764 Table unload and ACPICA termination: Delete all attached data objects 
   4765 during namespace node deletion. This fix updates namespace node deletion 
   4766 to delete the entire list of attached objects (attached via 
   4767 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
   4768 1024. Tomasz Nowicki (tomasz.nowicki (a] linaro.org).
   4769 
   4770 ACPICA termination: Added support to delete all objects attached to the 
   4771 root namespace node. This fix deletes any and all objects that have been 
   4772 attached to the root node via AcpiAttachData. Previously, none of these 
   4773 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
   4774 
   4775 Debug output: Do not emit the function nesting level for the in-kernel 
   4776 build. The nesting level is really only useful during a single-thread 
   4777 execution. Therefore, only enable this output for the AcpiExec utility. 
   4778 Also, only emit the thread ID when executing under AcpiExec (Context 
   4779 switches are still always detected and a message is emitted). ACPICA BZ 
   4780 972.
   4781 
   4782 Example Code and Data Size: These are the sizes for the OS-independent 
   4783 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4784 debug version of the code includes the debug output trace mechanism and 
   4785 has a much larger code and data size.
   4786 
   4787   Current Release:
   4788     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   4789     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   4790   Previous Release:
   4791     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   4792     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   4793 
   4794 
   4795 2) iASL Compiler/Disassembler and Tools:
   4796 
   4797 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
   4798 correct portable POSIX header for terminal control functions.
   4799 
   4800 Disassembler: Fixed control method invocation issues related to the use 
   4801 of the CondRefOf() operator. The problem is seen in the disassembly where 
   4802 control method invocations may not be disassembled properly if the 
   4803 control method name has been used previously as an argument to CondRefOf. 
   4804 The solution is to not attempt to emit an external declaration for the 
   4805 CondRefOf target (it is not necessary in the first place). This prevents 
   4806 disassembler object type confusion. ACPICA BZ 988.
   4807 
   4808 Unix Makefiles: Added an option to disable compiler optimizations and the 
   4809 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
   4810 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
   4811 command line option for make (NOOPT) that disables all compiler 
   4812 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
   4813 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
   4814 1034. Lv Zheng, Bob Moore.
   4815 
   4816 Tests/ASLTS: Added options to specify individual test cases and modes. 
   4817 This allows testers running aslts.sh to optionally specify individual 
   4818 test modes and test cases. Also added an option to disable the forced 
   4819 generation of the ACPICA tools from source if desired. Lv Zheng.
   4820 
   4821 ----------------------------------------
   4822 27 September 2013. Summary of changes for version 20130927:
   4823 
   4824 This release is available at https://acpica.org/downloads
   4825 
   4826 
   4827 1) ACPICA kernel-resident subsystem:
   4828 
   4829 Fixed a problem with store operations to reference objects. This change 
   4830 fixes a problem where a Store operation to an ArgX object that contained 
   4831 a 
   4832 reference to a field object did not complete the automatic dereference 
   4833 and 
   4834 then write to the actual field object. Instead, the object type of the 
   4835 field object was inadvertently changed to match the type of the source 
   4836 operand. The new behavior will actually write to the field object (buffer 
   4837 field or field unit), thus matching the correct ACPI-defined behavior.
   4838 
   4839 Implemented support to allow the host to redefine individual OSL 
   4840 prototypes. This change enables the host to redefine OSL prototypes found 
   4841 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
   4842 with a macro or inlined function. Further, it allows the host to add any 
   4843 additional required modifiers such as __iomem, __init, __exit, etc., as 
   4844 necessary on a per-interface basis. Enables maximum flexibility for the 
   4845 OSL interfaces. Lv Zheng.
   4846 
   4847 Hardcoded the access width for the FADT-defined reset register. The ACPI 
   4848 specification requires the reset register width to be 8 bits. ACPICA now 
   4849 hardcodes the width to 8 and ignores the FADT width value. This provides 
   4850 compatibility with other ACPI implementations that have allowed BIOS code 
   4851 with bad register width values to go unnoticed. Matthew Garett, Bob 
   4852 Moore, 
   4853 Lv Zheng.
   4854 
   4855 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
   4856 used 
   4857 in the OSL header (acpiosxf). The change modifies the position of this 
   4858 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
   4859 build issues if the OSL defines the implementation of the interface to be 
   4860 an inline stub function. Lv Zheng.
   4861 
   4862 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
   4863 initialization interfaces. This change adds a new macro for the main init 
   4864 and terminate external interfaces in order to support hosts that require 
   4865 additional or different processing for these functions. Changed from 
   4866 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
   4867 Zheng, Bob Moore.
   4868 
   4869 Cleaned up the memory allocation macros for configurability. In the 
   4870 common 
   4871 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
   4872 respective AcpiOs* OSL interfaces. Two options:
   4873 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
   4874 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
   4875 2) For AcpiExec (and for debugging), the macros can optionally be 
   4876 resolved 
   4877 to the local ACPICA interfaces that track each allocation (local tracking 
   4878 is used to immediately detect memory leaks).
   4879 Lv Zheng.
   4880 
   4881 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
   4882 to predefine this macro to either TRUE or FALSE during the system build.
   4883 
   4884 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
   4885 
   4886 Example Code and Data Size: These are the sizes for the OS-independent 
   4887 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4888 debug version of the code includes the debug output trace mechanism and 
   4889 has a much larger code and data size.
   4890 
   4891   Current Release:
   4892     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   4893     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   4894   Previous Release:
   4895     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   4896     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   4897 
   4898 
   4899 2) iASL Compiler/Disassembler and Tools:
   4900 
   4901 iASL: Implemented wildcard support for the -e option. This simplifies use 
   4902 when there are many SSDTs that must be included to resolve external 
   4903 method 
   4904 declarations. ACPICA BZ 1041. Example:
   4905     iasl -e ssdt*.dat -d dsdt.dat
   4906 
   4907 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
   4908 adds a portable module that implements full history and limited line 
   4909 editing for Unix and Linux systems. It does not use readline() due to 
   4910 portability issues. Instead it uses the POSIX termio interface to put the 
   4911 terminal in raw input mode so that the various special keys can be 
   4912 trapped 
   4913 (such as up/down-arrow for history support and left/right-arrow for line 
   4914 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
   4915 
   4916 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
   4917 one or more spaces. This provides compatible with early or different 
   4918 versions of the AcpiDump utility. ACPICA BZ 1044.
   4919 
   4920 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
   4921 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
   4922 no other data. This change adds support to dump these tables. Any tables 
   4923 shorter than the length of an ACPI table header remain in error (an error 
   4924 message is emitted). Reported by Yi Li.
   4925 
   4926 Debugger: Echo actual command along with the "unknown command" message.
   4927 
   4928 ----------------------------------------
   4929 23 August 2013. Summary of changes for version 20130823:
   4930 
   4931 1) ACPICA kernel-resident subsystem:
   4932 
   4933 Implemented support for host-installed System Control Interrupt (SCI) 
   4934 handlers. Certain ACPI functionality requires the host to handle raw 
   4935 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
   4936 state support requires the host device driver to handle SCIs to examine 
   4937 if the doorbell has been activated. Multiple SCI handlers can be 
   4938 installed to allow for future expansion. New external interfaces are 
   4939 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
   4940 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
   4941 
   4942 Operation region support: Never locally free the handler "context" 
   4943 pointer. This change removes some dangerous code that attempts to free 
   4944 the handler context pointer in some (rare) circumstances. The owner of 
   4945 the handler owns this pointer and the ACPICA code should never touch it. 
   4946 Although not seen to be an issue in any kernel, it did show up as a 
   4947 problem (fault) under AcpiExec. Also, set the internal storage field for 
   4948 the context pointer to zero when the region is deactivated, simply for 
   4949 sanity. David Box. ACPICA BZ 1039.
   4950 
   4951 AcpiRead: On error, do not modify the return value target location. If an 
   4952 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
   4953 modify the target of the return value pointer. Makes the code consistent 
   4954 with the rest of ACPICA. Bjorn Helgaas.
   4955 
   4956 Example Code and Data Size: These are the sizes for the OS-independent 
   4957 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4958 debug version of the code includes the debug output trace mechanism and 
   4959 has a much larger code and data size.
   4960 
   4961   Current Release:
   4962     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   4963     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   4964   Previous Release:
   4965     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   4966     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
   4967 
   4968 
   4969 2) iASL Compiler/Disassembler and Tools:
   4970 
   4971 AcpiDump: Implemented several new features and fixed some problems:
   4972 1) Added support to dump the RSDP, RSDT, and XSDT tables.
   4973 2) Added support for multiple table instances (SSDT, UEFI).
   4974 3) Added option to dump "customized" (overridden) tables (-c).
   4975 4) Fixed a problem where some table filenames were improperly 
   4976 constructed.
   4977 5) Improved some error messages, removed some unnecessary messages.
   4978 
   4979 iASL: Implemented additional support for disassembly of ACPI tables that 
   4980 contain invocations of external control methods. The -fe<file> option 
   4981 allows the import of a file that specifies the external methods along 
   4982 with the required number of arguments for each -- allowing for the 
   4983 correct disassembly of the table. This is a workaround for a limitation 
   4984 of AML code where the disassembler often cannot determine the number of 
   4985 arguments required for an external control method and generates incorrect 
   4986 ASL code. See the iASL reference for details. ACPICA BZ 1030.
   4987 
   4988 Debugger: Implemented a new command (paths) that displays the full 
   4989 pathnames (namepaths) and object types of all objects in the namespace. 
   4990 This is an alternative to the namespace command.
   4991 
   4992 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
   4993 mechanism and any installed handlers.
   4994 
   4995 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
   4996 This can occur if there are too many parent prefixes in a namepath (for 
   4997 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
   4998 
   4999 Application OSLs: Set the return value for the PCI read functions. These 
   5000 functions simply return AE_OK, but should set the return value to zero 
   5001 also. This change implements this. ACPICA BZ 1038.
   5002 
   5003 Debugger: Prevent possible command line buffer overflow. Increase the 
   5004 size of a couple of the debugger line buffers, and ensure that overflow 
   5005 cannot happen. ACPICA BZ 1037.
   5006 
   5007 iASL: Changed to abort immediately on serious errors during the parsing 
   5008 phase. Due to the nature of ASL, there is no point in attempting to 
   5009 compile these types of errors, and they typically end up causing a 
   5010 cascade of hundreds of errors which obscure the original problem.
   5011 
   5012 ----------------------------------------
   5013 25 July 2013. Summary of changes for version 20130725:
   5014 
   5015 1) ACPICA kernel-resident subsystem:
   5016 
   5017 Fixed a problem with the DerefOf operator where references to FieldUnits 
   5018 and BufferFields incorrectly returned the parent object, not the actual 
   5019 value of the object. After this change, a dereference of a FieldUnit 
   5020 reference results in a read operation on the field to get the value, and 
   5021 likewise, the appropriate BufferField value is extracted from the target 
   5022 buffer.
   5023 
   5024 Fixed a problem where the _WAK method could cause a fault under these 
   5025 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
   5026 method returned no value. The problem is rarely seen because most kernels 
   5027 run ACPICA in slack mode.
   5028 
   5029 For the DerefOf operator, a fatal error now results if an attempt is made 
   5030 to dereference a reference (created by the Index operator) to a NULL 
   5031 package element. Provides compatibility with other ACPI implementations, 
   5032 and this behavior will be added to a future version of the ACPI 
   5033 specification.
   5034 
   5035 The ACPI Power Management Timer (defined in the FADT) is now optional. 
   5036 This provides compatibility with other ACPI implementations and will 
   5037 appear in the next version of the ACPI specification. If there is no PM 
   5038 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
   5039 zero in the FADT indicates no PM timer.
   5040 
   5041 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
   5042 allows the host to globally enable/disable all vendor strings, all 
   5043 feature strings, or both. Intended to be primarily used for debugging 
   5044 purposes only. Lv Zheng.
   5045 
   5046 Expose the collected _OSI data to the host via a global variable. This 
   5047 data tracks the highest level vendor ID that has been invoked by the BIOS 
   5048 so that the host (and potentially ACPICA itself) can change behaviors 
   5049 based upon the age of the BIOS.
   5050 
   5051 Example Code and Data Size: These are the sizes for the OS-independent 
   5052 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5053 debug version of the code includes the debug output trace mechanism and 
   5054 has a much larger code and data size.
   5055 
   5056   Current Release:
   5057     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   5058     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   5059   Previous Release:
   5060     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   5061     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   5062 
   5063 
   5064 2) iASL Compiler/Disassembler and Tools:
   5065 
   5066 iASL: Created the following enhancements for the -so option (create 
   5067 offset table):
   5068 1)Add offsets for the last nameseg in each namepath for every supported 
   5069 object type
   5070 2)Add support for Processor, Device, Thermal Zone, and Scope objects
   5071 3)Add the actual AML opcode for the parent object of every supported 
   5072 object type
   5073 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
   5074 
   5075 Disassembler: Emit all unresolved external symbols in a single block. 
   5076 These are external references to control methods that could not be 
   5077 resolved, and thus, the disassembler had to make a guess at the number of 
   5078 arguments to parse.
   5079 
   5080 iASL: The argument to the -T option (create table template) is now 
   5081 optional. If not specified, the default table is a DSDT, typically the 
   5082 most common case.
   5083 
   5084 ----------------------------------------
   5085 26 June 2013. Summary of changes for version 20130626:
   5086 
   5087 1) ACPICA kernel-resident subsystem:
   5088 
   5089 Fixed an issue with runtime repair of the _CST object. Null or invalid 
   5090 elements were not always removed properly. Lv Zheng. 
   5091 
   5092 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
   5093 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
   5094 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
   5095 makes the system-wide number of GPEs essentially unlimited.
   5096 
   5097 Example Code and Data Size: These are the sizes for the OS-independent 
   5098 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5099 debug version of the code includes the debug output trace mechanism and 
   5100 has a much larger code and data size.
   5101 
   5102   Current Release:
   5103     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   5104     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   5105   Previous Release:
   5106     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   5107     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   5108 
   5109 
   5110 2) iASL Compiler/Disassembler and Tools:
   5111 
   5112 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
   5113 hosts. Now supports Linux, FreeBSD, and Windows.
   5114 
   5115 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
   5116 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
   5117 
   5118 iASL/Preprocessor: Implemented full support for nested 
   5119 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
   5120 
   5121 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
   5122 max. The original purpose of this constraint was to limit the amount of 
   5123 debug output. However, the string function in question (UtPrintString) is 
   5124 now used for the disassembler also, where 256 bytes is insufficient. 
   5125 Reported by RehabMan@GitHub.
   5126 
   5127 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
   5128 tables. ACPICA BZ 999. Lv Zheng.
   5129 
   5130 iASL: Fixed a couple of error exit issues that could result in a "Could 
   5131 not delete <file>" message during ASL compilation.
   5132 
   5133 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
   5134 the actual signatures for these tables are "FACP" and "APIC", 
   5135 respectively.
   5136 
   5137 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
   5138 tables are allowed to have multiple instances.
   5139 
   5140 ----------------------------------------
   5141 17 May 2013. Summary of changes for version 20130517:
   5142 
   5143 1) ACPICA kernel-resident subsystem:
   5144 
   5145 Fixed a regression introduced in version 20130328 for _INI methods. This 
   5146 change fixes a problem introduced in 20130328 where _INI methods are no 
   5147 longer executed properly because of a memory block that was not 
   5148 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
   5149 <tomasz.nowicki (a] linaro.org>.
   5150 
   5151 Fixed a possible problem with the new extended sleep registers in the 
   5152 ACPI 
   5153 5.0 FADT. Do not use these registers (even if populated) unless the HW-
   5154 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
   5155 1020. Lv Zheng.
   5156 
   5157 Implemented return value repair code for _CST predefined objects: Sort 
   5158 the 
   5159 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
   5160 
   5161 Implemented a debug-only option to disable loading of SSDTs from the 
   5162 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
   5163 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
   5164 acglobal.h - ACPICA BZ 1005. Lv Zheng.
   5165 
   5166 Fixed some issues in the ACPICA initialization and termination code: 
   5167 Tomasz Nowicki <tomasz.nowicki (a] linaro.org>
   5168 1) Clear events initialized flag upon event component termination. ACPICA 
   5169 BZ 1013.
   5170 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
   5171 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
   5172 4) Clear debug buffer global on termination to prevent possible multiple 
   5173 delete. ACPICA BZ 1010.
   5174 
   5175 Standardized all switch() blocks across the entire source base. After 
   5176 many 
   5177 years, different formatting for switch() had crept in. This change makes 
   5178 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
   5179 
   5180 Split some files to enhance ACPICA modularity and configurability:
   5181 1) Split buffer dump routines into utilities/utbuffer.c
   5182 2) Split internal error message routines into utilities/uterror.c
   5183 3) Split table print utilities into tables/tbprint.c
   5184 4) Split iASL command-line option processing into asloptions.c
   5185 
   5186 Makefile enhancements:
   5187 1) Support for all new files above.
   5188 2) Abort make on errors from any subcomponent. Chao Guan.
   5189 3) Add build support for Apple Mac OS X. Liang Qi.
   5190 
   5191 Example Code and Data Size: These are the sizes for the OS-independent 
   5192 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5193 debug version of the code includes the debug output trace mechanism and 
   5194 has a much larger code and data size.
   5195 
   5196   Current Release:
   5197     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   5198     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   5199   Previous Release:
   5200     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   5201     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   5202 
   5203 
   5204 2) iASL Compiler/Disassembler and Tools:
   5205 
   5206 New utility: Implemented an easily portable version of the acpidump 
   5207 utility to extract ACPI tables from the system (or a file) in an ASCII 
   5208 hex 
   5209 dump format. The top-level code implements the various command line 
   5210 options, file I/O, and table dump routines. To port to a new host, only 
   5211 three functions need to be implemented to get tables -- since this 
   5212 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
   5213 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
   5214 1) The Windows version obtains the ACPI tables from the Registry.
   5215 2) The Linux version is under development.
   5216 3) Other hosts - If an OS-dependent module is submitted, it will be 
   5217 distributed with ACPICA.
   5218 
   5219 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
   5220 restructuring/change to the initialization sequence caused this option to 
   5221 no longer work properly.
   5222 
   5223 iASL: Implemented a mechanism to disable specific warnings and remarks. 
   5224 Adds a new command line option, "-vw <messageid> as well as "#pragma 
   5225 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
   5226 
   5227 iASL: Fix for too-strict package object validation. The package object 
   5228 validation for return values from the predefined names is a bit too 
   5229 strict, it does not allow names references within the package (which will 
   5230 be resolved at runtime.) These types of references cannot be validated at 
   5231 compile time. This change ignores named references within package objects 
   5232 for names that return or define static packages.
   5233 
   5234 Debugger: Fixed the 80-character command line limitation for the History 
   5235 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
   5236 
   5237 iASL: Added control method and package support for the -so option 
   5238 (generates AML offset table for BIOS support.)
   5239 
   5240 iASL: issue a remark if a non-serialized method creates named objects. If 
   5241 a thread blocks within the method for any reason, and another thread 
   5242 enters the method, the method will fail because an attempt will be made 
   5243 to 
   5244 create the same (named) object twice. In this case, issue a remark that 
   5245 the method should be marked serialized. NOTE: may become a warning later. 
   5246 ACPICA BZ 909.
   5247 
   5248 ----------------------------------------
   5249 18 April 2013. Summary of changes for version 20130418:
   5250 
   5251 1) ACPICA kernel-resident subsystem:
   5252 
   5253 Fixed a possible buffer overrun during some rare but specific field unit 
   5254 read operations. This overrun can only happen if the DSDT version is 1 -- 
   5255 meaning that all AML integers are 32 bits -- and the field length is 
   5256 between 33 and 55 bits long. During the read, an internal buffer object 
   5257 is 
   5258 created for the field unit because the field is larger than an integer 
   5259 (32 
   5260 bits). However, in this case, the buffer will be incorrectly written 
   5261 beyond the end because the buffer length is less than the internal 
   5262 minimum 
   5263 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
   5264 long, but a full 8 bytes will be written.
   5265 
   5266 Updated the Embedded Controller "orphan" _REG method support. This refers 
   5267 to _REG methods under the EC device that have no corresponding operation 
   5268 region. This is allowed by the ACPI specification. This update removes a 
   5269 dependency on the existence an ECDT table. It will execute an orphan _REG 
   5270 method as long as the operation region handler for the EC is installed at 
   5271 the EC device node and not the namespace root. Rui Zhang (original 
   5272 update), Bob Moore (update/integrate).
   5273 
   5274 Implemented run-time argument typechecking for all predefined ACPI names 
   5275 (_STA, _BIF, etc.) This change performs object typechecking on all 
   5276 incoming arguments for all predefined names executed via 
   5277 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
   5278 passing correct object types as well as the correct number of arguments 
   5279 (therefore identifying any issues immediately). Also, the ASL/namespace 
   5280 definition of the predefined name is checked against the ACPI 
   5281 specification for the proper argument count. Adds one new file, 
   5282 nsarguments.c
   5283 
   5284 Changed an exception code for the ASL UnLoad() operator. Changed the 
   5285 exception code for the case where the input DdbHandle is invalid, from 
   5286 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
   5287 
   5288 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
   5289 global makefile. The use of this flag causes compiler errors on earlier 
   5290 versions of GCC, so it has been removed for compatibility.
   5291 
   5292 Miscellaneous cleanup:
   5293 1) Removed some unused/obsolete macros
   5294 2) Fixed a possible memory leak in the _OSI support
   5295 3) Removed an unused variable in the predefined name support
   5296 4) Windows OSL: remove obsolete reference to a memory list field
   5297 
   5298 Example Code and Data Size: These are the sizes for the OS-independent 
   5299 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5300 debug version of the code includes the debug output trace mechanism and 
   5301 has a much larger code and data size.
   5302 
   5303   Current Release:
   5304     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   5305     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   5306   Previous Release:
   5307     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   5308     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   5309 
   5310 
   5311 2) iASL Compiler/Disassembler and Tools:
   5312 
   5313 AcpiExec: Added installation of a handler for the SystemCMOS address 
   5314 space. This prevents control method abort if a method accesses this 
   5315 space.
   5316 
   5317 AcpiExec: Added support for multiple EC devices, and now install EC 
   5318 operation region handler(s) at the actual EC device instead of the 
   5319 namespace root. This reflects the typical behavior of host operating 
   5320 systems.
   5321 
   5322 AcpiExec: Updated to ensure that all operation region handlers are 
   5323 installed before the _REG methods are executed. This prevents a _REG 
   5324 method from aborting if it accesses an address space has no handler. 
   5325 AcpiExec installs a handler for every possible address space.
   5326 
   5327 Debugger: Enhanced the "handlers" command to display non-root handlers. 
   5328 This change enhances the handlers command to display handlers associated 
   5329 with individual devices throughout the namespace, in addition to the 
   5330 currently supported display of handlers associated with the root 
   5331 namespace 
   5332 node.
   5333 
   5334 ASL Test Suite: Several test suite errors have been identified and 
   5335 resolved, reducing the total error count during execution. Chao Guan.
   5336 
   5337 ----------------------------------------
   5338 28 March 2013. Summary of changes for version 20130328:
   5339 
   5340 1) ACPICA kernel-resident subsystem:
   5341 
   5342 Fixed several possible race conditions with the internal object reference 
   5343 counting mechanism. Some of the external ACPICA interfaces update object 
   5344 reference counts without holding the interpreter or namespace lock. This 
   5345 change adds a spinlock to protect reference count updates on the internal 
   5346 ACPICA objects. Reported by and with assistance from Andriy Gapon 
   5347 (avg (a] FreeBSD.org).
   5348 
   5349 FADT support: Removed an extraneous warning for very large GPE register 
   5350 sets. This change removes a size mismatch warning if the legacy length 
   5351 field for a GPE register set is larger than the 64-bit GAS structure can 
   5352 accommodate. GPE register sets can be larger than the 255-bit width 
   5353 limitation of the GAS structure. Linn Crosetto (linn (a] hp.com).
   5354 
   5355 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
   5356 return from this interface. Handles a possible timeout case if 
   5357 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
   5358 "forever". Jung-uk Kim.
   5359 
   5360 Predefined name support: Add allowed/required argument type information 
   5361 to 
   5362 the master predefined info table. This change adds the infrastructure to 
   5363 enable typechecking on incoming arguments for all predefined 
   5364 methods/objects. It does not actually contain the code that will fully 
   5365 utilize this information, this is still under development. Also condenses 
   5366 some duplicate code for the predefined names into a new module, 
   5367 utilities/utpredef.c
   5368 
   5369 Example Code and Data Size: These are the sizes for the OS-independent 
   5370 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5371 debug version of the code includes the debug output trace mechanism and 
   5372 has a much larger code and data size.
   5373 
   5374   Previous Release:
   5375     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   5376     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   5377   Current Release:
   5378     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   5379     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   5380 
   5381 
   5382 2) iASL Compiler/Disassembler and Tools:
   5383 
   5384 iASL: Implemented a new option to simplify the development of ACPI-
   5385 related 
   5386 BIOS code. Adds support for a new "offset table" output file. The -so 
   5387 option will create a C table containing the AML table offsets of various 
   5388 named objects in the namespace so that BIOS code can modify them easily 
   5389 at 
   5390 boot time. This can simplify BIOS runtime code by eliminating expensive 
   5391 searches for "magic values", enhancing boot times and adding greater 
   5392 reliability. With assistance from Lee Hamel.
   5393 
   5394 iASL: Allow additional predefined names to return zero-length packages. 
   5395 Now, all predefined names that are defined by the ACPI specification to 
   5396 return a "variable-length package of packages" are allowed to return a 
   5397 zero length top-level package. This allows the BIOS to tell the host that 
   5398 the requested feature is not supported, and supports existing BIOS/ASL 
   5399 code and practices.
   5400 
   5401 iASL: Changed the "result not used" warning to an error. This is the case 
   5402 where an ASL operator is effectively a NOOP because the result of the 
   5403 operation is not stored anywhere. For example:
   5404     Add (4, Local0)
   5405 There is no target (missing 3rd argument), nor is the function return 
   5406 value used. This is potentially a very serious problem -- since the code 
   5407 was probably intended to do something, but for whatever reason, the value 
   5408 was not stored. Therefore, this issue has been upgraded from a warning to 
   5409 an error.
   5410 
   5411 AcpiHelp: Added allowable/required argument types to the predefined names 
   5412 info display. This feature utilizes the recent update to the predefined 
   5413 names table (above).
   5414 
   5415 ----------------------------------------
   5416 14 February 2013. Summary of changes for version 20130214:
   5417 
   5418 1) ACPICA Kernel-resident Subsystem:
   5419 
   5420 Fixed a possible regression on some hosts: Reinstated the safe return 
   5421 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
   5422 evaluated only once. Although these macros are not needed for the ACPICA 
   5423 code itself, they are often used by ACPI-related host device drivers 
   5424 where 
   5425 the safe feature may be necessary.
   5426 
   5427 Fixed several issues related to the ACPI 5.0 reduced hardware support 
   5428 (SOC): Now ensure that if the platform declares itself as hardware-
   5429 reduced 
   5430 via the FADT, the following functions become NOOPs (and always return 
   5431 AE_OK) because ACPI is always enabled by definition on these machines:
   5432   AcpiEnable
   5433   AcpiDisable
   5434   AcpiHwGetMode
   5435   AcpiHwSetMode
   5436 
   5437 Dynamic Object Repair: Implemented additional runtime repairs for 
   5438 predefined name return values. Both of these repairs can simplify code in 
   5439 the related device drivers that invoke these methods:
   5440 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
   5441 string to a Unicode buffer. 
   5442 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
   5443 a 
   5444 lone end tag descriptor in the following cases: A Return(0) was executed, 
   5445 a null buffer was returned, or no object at all was returned (non-slack 
   5446 mode only). Adds a new file, nsconvert.c
   5447 ACPICA BZ 998. Bob Moore, Lv Zheng.
   5448 
   5449 Resource Manager: Added additional code to prevent possible infinite 
   5450 loops 
   5451 while traversing corrupted or ill-formed resource template buffers. Check 
   5452 for zero-length resource descriptors in all code that loops through 
   5453 resource templates (the length field is used to index through the 
   5454 template). This change also hardens the external AcpiWalkResources and 
   5455 AcpiWalkResourceBuffer interfaces.
   5456 
   5457 Local Cache Manager: Enhanced the main data structure to eliminate an 
   5458 unnecessary mechanism to access the next object in the list. Actually 
   5459 provides a small performance enhancement for hosts that use the local 
   5460 ACPICA cache manager. Jung-uk Kim.
   5461 
   5462 Example Code and Data Size: These are the sizes for the OS-independent 
   5463 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5464 debug version of the code includes the debug output trace mechanism and 
   5465 has a much larger code and data size.
   5466 
   5467   Previous Release:
   5468     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   5469     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   5470   Current Release:
   5471     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   5472     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   5473 
   5474 
   5475 2) iASL Compiler/Disassembler and Tools:
   5476 
   5477 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
   5478 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
   5479 that were made to the ACPI 5.0 specification.
   5480 
   5481 iASL/Disassembler: Added full support for the following new ACPI tables:
   5482   1) The MTMR table (MID Timer Table)
   5483   2) The VRTC table (Virtual Real Time Clock Table).
   5484 Includes header file, disassembler, table compiler, and template support 
   5485 for both tables.
   5486 
   5487 iASL: Implemented compile-time validation of package objects returned by 
   5488 predefined names. This new feature validates static package objects 
   5489 returned by the various predefined names defined to return packages. Both 
   5490 object types and package lengths are validated, for both parent packages 
   5491 and sub-packages, if any. The code is similar in structure and behavior 
   5492 to 
   5493 the runtime repair mechanism within the AML interpreter and uses the 
   5494 existing predefined name information table. Adds a new file, aslprepkg.c. 
   5495 ACPICA BZ 938.
   5496 
   5497 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
   5498 This feature detects a binary file with a valid ACPI table header and 
   5499 invokes the disassembler automatically. Eliminates the need to 
   5500 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
   5501 
   5502 iASL/Disassembler: Added several warnings for the case where there are 
   5503 unresolved control methods during the disassembly. This can potentially 
   5504 cause errors when the output file is compiled, because the disassembler 
   5505 assumes zero method arguments in these cases (it cannot determine the 
   5506 actual number of arguments without resolution/definition of the method).
   5507 
   5508 Debugger: Added support to display all resources with a single command. 
   5509 Invocation of the resources command with no arguments will now display 
   5510 all 
   5511 resources within the current namespace.
   5512 
   5513 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
   5514 via the -e option.
   5515 
   5516 ----------------------------------------
   5517 17 January 2013. Summary of changes for version 20130117:
   5518 
   5519 1) ACPICA Kernel-resident Subsystem:
   5520 
   5521 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
   5522 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
   5523 objects to return a package containing one integer, most BIOS code 
   5524 returns 
   5525 two integers and the previous code reflects that. However, we also need 
   5526 to 
   5527 support BIOS code that actually implements to the ACPI spec, and this 
   5528 change reflects this.
   5529 
   5530 Fixed two issues with the ACPI_DEBUG_PRINT macros:
   5531 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
   5532 C compilers that require this support.
   5533 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
   5534 ACPI_DEBUG is already used by many of the various hosts.
   5535 
   5536 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
   5537 copyright to all module headers and signons, including the standard Linux 
   5538 header. This affects virtually every file in the ACPICA core subsystem, 
   5539 iASL compiler, all ACPICA utilities, and the test suites.
   5540 
   5541 Example Code and Data Size: These are the sizes for the OS-independent 
   5542 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5543 debug version of the code includes the debug output trace mechanism and 
   5544 has a much larger code and data size.
   5545 
   5546   Previous Release:
   5547     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   5548     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   5549   Current Release:
   5550     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   5551     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   5552 
   5553 
   5554 2) iASL Compiler/Disassembler and Tools:
   5555 
   5556 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
   5557 prevent a possible fault on some hosts. Some C libraries modify the arg 
   5558 pointer parameter to vfprintf making it difficult to call it twice in the 
   5559 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
   5560 does not affect the Windows OSL since the Win C library does not modify 
   5561 the arg pointer. Chao Guan, Bob Moore.
   5562 
   5563 iASL: Fixed a possible infinite loop when the maximum error count is 
   5564 reached. If an output file other than the .AML file is specified (such as 
   5565 a listing file), and the maximum number of errors is reached, do not 
   5566 attempt to flush data to the output file(s) as the compiler is aborting. 
   5567 This can cause an infinite loop as the max error count code essentially 
   5568 keeps calling itself.
   5569 
   5570 iASL/Disassembler: Added an option (-in) to ignore NOOP 
   5571 opcodes/operators. 
   5572 Implemented for both the compiler and the disassembler. Often, the NOOP 
   5573 opcode is used as padding for packages that are changed dynamically by 
   5574 the 
   5575 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
   5576 errors. This option causes the disassembler to ignore all NOOP opcodes 
   5577 (0xA3), and it also causes the compiler to ignore all ASL source code 
   5578 NOOP 
   5579 statements as well.
   5580 
   5581 Debugger: Enhanced the Sleep command to execute all sleep states. This 
   5582 change allows Sleep to be invoked with no arguments and causes the 
   5583 debugger to execute all of the sleep states, 0-5, automatically.
   5584 
   5585 ----------------------------------------
   5586 20 December 2012. Summary of changes for version 20121220:
   5587 
   5588 1) ACPICA Kernel-resident Subsystem:
   5589 
   5590 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
   5591 alternate entry point for AcpiWalkResources and improves the usability of 
   5592 the resource manager by accepting as input a buffer containing the output 
   5593 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
   5594 input buffer is not deleted by this interface so that it can be used by 
   5595 the host later. See the ACPICA reference for details.
   5596 
   5597 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
   5598 (DSDT version < 2). The constant will be truncated and this warning 
   5599 reflects that behavior.
   5600 
   5601 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
   5602 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
   5603 both get and set the new wake bit in these descriptors, separately from 
   5604 the existing share bit. Reported by Aaron Lu.
   5605 
   5606 Interpreter: Fix Store() when an implicit conversion is not possible. For 
   5607 example, in the cases such as a store of a string to an existing package 
   5608 object, implement the store as a CopyObject(). This is a small departure 
   5609 from the ACPI specification which states that the control method should 
   5610 be 
   5611 aborted in this case. However, the ASLTS suite depends on this behavior.
   5612 
   5613 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
   5614 macros: check if debug output is currently enabled as soon as possible to 
   5615 minimize performance impact if debug is in fact not enabled.
   5616 
   5617 Source code restructuring: Cleanup to improve modularity. The following 
   5618 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
   5619 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
   5620 Associated makefiles and project files have been updated.
   5621 
   5622 Changed an exception code for LoadTable operator. For the case where one 
   5623 of the input strings is too long, change the returned exception code from 
   5624 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
   5625 
   5626 Fixed a possible memory leak in dispatcher error path. On error, delete 
   5627 the mutex object created during method mutex creation. Reported by 
   5628 tim.gardner (a] canonical.com.
   5629 
   5630 Example Code and Data Size: These are the sizes for the OS-independent 
   5631 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5632 debug version of the code includes the debug output trace mechanism and 
   5633 has a much larger code and data size.
   5634 
   5635   Previous Release:
   5636     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   5637     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   5638   Current Release:
   5639     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   5640     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   5641 
   5642 
   5643 2) iASL Compiler/Disassembler and Tools:
   5644 
   5645 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
   5646 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
   5647 will not allow the interpreter to differentiate between a method and a 
   5648 method invocation when these are used as an argument to the ObjectType 
   5649 operator. The ACPI specification change is to disallow a method 
   5650 invocation 
   5651 (UserTerm) for the ObjectType operator.
   5652 
   5653 Finish support for the TPM2 and CSRT tables in the headers, table 
   5654 compiler, and disassembler.
   5655 
   5656 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
   5657 always expires immediately if the semaphore is not available. The 
   5658 original 
   5659 code was using a relative-time timeout, but sem_timedwait requires the 
   5660 use 
   5661 of an absolute time.
   5662 
   5663 iASL: Added a remark if the Timer() operator is used within a 32-bit 
   5664 table. This operator returns a 64-bit time value that will be truncated 
   5665 within a 32-bit table.
   5666 
   5667 iASL Source code restructuring: Cleanup to improve modularity. The 
   5668 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
   5669 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
   5670 been updated.
   5671 
   5672 
   5673 ----------------------------------------
   5674 14 November 2012. Summary of changes for version 20121114:
   5675 
   5676 1) ACPICA Kernel-resident Subsystem:
   5677 
   5678 Implemented a performance enhancement for ACPI/AML Package objects. This 
   5679 change greatly increases the performance of Package objects within the 
   5680 interpreter. It changes the processing of reference counts for packages 
   5681 by 
   5682 optimizing for the most common case where the package sub-objects are 
   5683 either Integers, Strings, or Buffers. Increases the overall performance 
   5684 of 
   5685 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
   5686 2X.) 
   5687 Chao Guan. ACPICA BZ 943.
   5688 
   5689 Implemented and deployed common macros to extract flag bits from resource 
   5690 descriptors. Improves readability and maintainability of the code. Fixes 
   5691 a 
   5692 problem with the UART serial bus descriptor for the number of data bits 
   5693 flags (was incorrectly 2 bits, should be 3).
   5694 
   5695 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
   5696 of the macros and changed the SETx macros to the style of (destination, 
   5697 source). Also added ACPI_CASTx companion macros. Lv Zheng.
   5698 
   5699 Example Code and Data Size: These are the sizes for the OS-independent 
   5700 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5701 debug version of the code includes the debug output trace mechanism and 
   5702 has a much larger code and data size.
   5703 
   5704   Previous Release:
   5705     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   5706     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   5707   Current Release:
   5708     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   5709     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   5710 
   5711 
   5712 2) iASL Compiler/Disassembler and Tools:
   5713 
   5714 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
   5715 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
   5716 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
   5717 
   5718 Disassembler: Fixed a problem with external declaration generation. Fixes 
   5719 a problem where an incorrect pathname could be generated for an external 
   5720 declaration if the original reference to the object includes leading 
   5721 carats (^). ACPICA BZ 984.
   5722 
   5723 Debugger: Completed a major update for the Disassemble<method> command. 
   5724 This command was out-of-date and did not properly disassemble control 
   5725 methods that had any reasonable complexity. This fix brings the command 
   5726 up 
   5727 to the same level as the rest of the disassembler. Adds one new file, 
   5728 dmdeferred.c, which is existing code that is now common with the main 
   5729 disassembler and the debugger disassemble command. ACPICA MZ 978.
   5730 
   5731 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
   5732 Newer versions of Bison emit this prototype, so moved the prototype out 
   5733 of 
   5734 the iASL header to where it is actually used in order to avoid a 
   5735 duplicate 
   5736 declaration.
   5737 
   5738 iASL/Tools: Standardized use of the stream I/O functions:
   5739   1) Ensure check for I/O error after every fopen/fread/fwrite
   5740   2) Ensure proper order of size/count arguments for fread/fwrite
   5741   3) Use test of (Actual != Requested) after all fwrite, and most fread
   5742   4) Standardize I/O error messages
   5743 Improves reliability and maintainability of the code. Bob Moore, Lv 
   5744 Zheng. 
   5745 ACPICA BZ 981.
   5746 
   5747 Disassembler: Prevent duplicate External() statements. During generation 
   5748 of external statements, detect similar pathnames that are actually 
   5749 duplicates such as these:
   5750   External (\ABCD)
   5751   External (ABCD)
   5752 Remove all leading '\' characters from pathnames during the external 
   5753 statement generation so that duplicates will be detected and tossed. 
   5754 ACPICA BZ 985.
   5755 
   5756 Tools: Replace low-level I/O with stream I/O functions. Replace 
   5757 open/read/write/close with the stream I/O equivalents 
   5758 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
   5759 Moore.
   5760 
   5761 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
   5762 name header so that AcpiXtract recognizes the output file/table.
   5763 
   5764 iASL: Remove obsolete -2 option flag. Originally intended to force the 
   5765 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
   5766 and the entire concept is now obsolete.
   5767 
   5768 ----------------------------------------
   5769 18 October 2012. Summary of changes for version 20121018:
   5770 
   5771 
   5772 1) ACPICA Kernel-resident Subsystem:
   5773 
   5774 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
   5775 introduced by late changes to the table as it was added to the ACPI 5.0 
   5776 specification. Includes header, disassembler, and data table compiler 
   5777 support as well as a new version of the MPST template.
   5778 
   5779 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
   5780 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
   5781 methods: _HID, _CID, and _UID.
   5782 
   5783 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
   5784 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
   5785 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
   5786 names for their various drivers. Affects the AcpiGetObjectInfo external 
   5787 interface, and other internal interfaces as well.
   5788 
   5789 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
   5790 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
   5791 on machines that support non-aligned transfers. Optimizes for this case 
   5792 rather than using a strncpy. With assistance from Zheng Lv.
   5793 
   5794 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
   5795 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
   5796 
   5797 Added a new debug print message for AML mutex objects that are force-
   5798 released. At control method termination, any currently acquired mutex 
   5799 objects are force-released. Adds a new debug-only message for each one 
   5800 that is released.
   5801 
   5802 Audited/updated all ACPICA return macros and the function debug depth 
   5803 counter: 1) Ensure that all functions that use the various TRACE macros 
   5804 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
   5805 return statements surround the return expression (value) with parens to 
   5806 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
   5807 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
   5808 
   5809 Global source code changes/maintenance: All extra lines at the start and 
   5810 end of each source file have been removed for consistency. Also, within 
   5811 comments, all new sentences start with a single space instead of a double 
   5812 space, again for consistency across the code base.
   5813 
   5814 Example Code and Data Size: These are the sizes for the OS-independent 
   5815 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5816 debug version of the code includes the debug output trace mechanism and 
   5817 has a much larger code and data size.
   5818 
   5819   Previous Release:
   5820     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   5821     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   5822   Current Release:
   5823     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   5824     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   5825 
   5826 
   5827 2) iASL Compiler/Disassembler and Tools:
   5828 
   5829 AcpiExec: Improved the algorithm used for memory leak/corruption 
   5830 detection. Added some intelligence to the code that maintains the global 
   5831 list of allocated memory. The list is now ordered by allocated memory 
   5832 address, significantly improving performance. When running AcpiExec on 
   5833 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
   5834 on the platform and/or the environment. Note, this performance 
   5835 enhancement affects the AcpiExec utility only, not the kernel-resident 
   5836 ACPICA code.
   5837 
   5838 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
   5839 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
   5840 incorrect table offset reported for invalid opcodes. Report the original 
   5841 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
   5842 
   5843 Disassembler: Enhanced the -vt option to emit the binary table data in 
   5844 hex format to assist with debugging.
   5845 
   5846 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
   5847 size of file structure. Colin Ian King.
   5848 
   5849 ----------------------------------------
   5850 13 September 2012. Summary of changes for version 20120913:
   5851 
   5852 
   5853 1) ACPICA Kernel-resident Subsystem:
   5854 
   5855 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
   5856 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
   5857 and 
   5858 MCE(6).
   5859  
   5860 Table Manager: Merged/removed duplicate code in the root table resize 
   5861 functions. One function is external, the other is internal. Lv Zheng, 
   5862 ACPICA 
   5863 BZ 846.
   5864 
   5865 Makefiles: Completely removed the obsolete "Linux" makefiles under 
   5866 acpica/generate/linux. These makefiles are obsolete and have been 
   5867 replaced 
   5868 by 
   5869 the generic unix makefiles under acpica/generate/unix.
   5870 
   5871 Makefiles: Ensure that binary files always copied properly. Minor rule 
   5872 change 
   5873 to ensure that the final binary output files are always copied up to the 
   5874 appropriate binary directory (bin32 or bin64.)
   5875 
   5876 Example Code and Data Size: These are the sizes for the OS-independent 
   5877 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5878 debug 
   5879 version of the code includes the debug output trace mechanism and has a 
   5880 much 
   5881 larger code and data size.
   5882 
   5883   Previous Release:
   5884     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   5885     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   5886   Current Release:
   5887     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   5888     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   5889 
   5890 
   5891 2) iASL Compiler/Disassembler and Tools:
   5892 
   5893 Disassembler: Fixed a possible fault during the disassembly of resource 
   5894 descriptors when a second parse is required because of the invocation of 
   5895 external control methods within the table. With assistance from 
   5896 adq (a] lidskialf.net. ACPICA BZ 976.
   5897 
   5898 iASL: Fixed a namepath optimization problem. An error can occur if the 
   5899 parse 
   5900 node that contains the namepath to be optimized does not have a parent 
   5901 node 
   5902 that is a named object. This change fixes the problem.
   5903 
   5904 iASL: Fixed a regression where the AML file is not deleted on errors. The 
   5905 AML 
   5906 output file should be deleted if there are any errors during the 
   5907 compiler. 
   5908 The 
   5909 only exception is if the -f (force output) option is used. ACPICA BZ 974.
   5910 
   5911 iASL: Added a feature to automatically increase internal line buffer 
   5912 sizes. 
   5913 Via realloc(), automatically increase the internal line buffer sizes as 
   5914 necessary to support very long source code lines. The current version of 
   5915 the 
   5916 preprocessor requires a buffer long enough to contain full source code 
   5917 lines. 
   5918 This change increases the line buffer(s) if the input lines go beyond the 
   5919 current buffer size. This eliminates errors that occurred when a source 
   5920 code 
   5921 line was longer than the buffer.
   5922 
   5923 iASL: Fixed a problem with constant folding in method declarations. The 
   5924 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
   5925 if a 
   5926 Type3 opcode was used.
   5927 
   5928 Debugger: Improved command help support. For incorrect argument count, 
   5929 display 
   5930 full help for the command. For help command itself, allow an argument to 
   5931 specify a command.
   5932 
   5933 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
   5934 errors during execution of the suite. Guan Chao.
   5935 
   5936 ----------------------------------------
   5937 16 August 2012. Summary of changes for version 20120816:
   5938 
   5939 
   5940 1) ACPICA Kernel-resident Subsystem:
   5941 
   5942 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
   5943 _GTS 
   5944 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
   5945 deprecated and will probably be removed from the ACPI specification. 
   5946 Windows 
   5947 does not invoke them, and reportedly never will. The final nail in the 
   5948 coffin 
   5949 is that the ACPI specification states that these methods must be run with 
   5950 interrupts off, which is not going to happen in a kernel interpreter. 
   5951 Note: 
   5952 Linux has removed all use of the methods also. It was discovered that 
   5953 invoking these functions caused failures on some machines, probably 
   5954 because 
   5955 they were never tested since Windows does not call them. Affects two 
   5956 external 
   5957 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
   5958 ACPICA BZ 969.
   5959 
   5960 Implemented support for complex bit-packed buffers returned from the _PLD 
   5961 (Physical Location of Device) predefined method. Adds a new external 
   5962 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
   5963 C 
   5964 structure. Note: C Bitfields cannot be used for this type of predefined 
   5965 structure since the memory layout of individual bitfields is not defined 
   5966 by 
   5967 the C language. In addition, there are endian concerns where a compiler 
   5968 will 
   5969 change the bitfield ordering based on the machine type. The new ACPICA 
   5970 interface eliminates these issues, and should be called after _PLD is 
   5971 executed. ACPICA BZ 954.
   5972 
   5973 Implemented a change to allow a scope change to root (via "Scope (\)") 
   5974 during 
   5975 execution of module-level ASL code (code that is executed at table load 
   5976 time.) Lin Ming.
   5977 
   5978 Added the Windows8/Server2012 string for the _OSI method. This change 
   5979 adds 
   5980 a 
   5981 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
   5982 2012.
   5983 
   5984 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
   5985 2) 
   5986 and CSRT (Core System Resource Table).
   5987 
   5988 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
   5989 names. This simplifies access to the buffers returned by these predefined 
   5990 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
   5991 
   5992 GPE support: Removed an extraneous parameter from the various low-level 
   5993 internal GPE functions. Tang Feng.
   5994 
   5995 Removed the linux makefiles from the unix packages. The generate/linux 
   5996 makefiles are obsolete and have been removed from the unix tarball 
   5997 release 
   5998 packages. The replacement makefiles are under generate/unix, and there is 
   5999 a 
   6000 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
   6001 
   6002 Updates for Unix makefiles:
   6003 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
   6004 2) Update linker flags (move to end of command line) for AcpiExec 
   6005 utility. 
   6006 Guan Chao.
   6007 
   6008 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
   6009 utxface.c to improve modularity and reduce file size.
   6010 
   6011 Example Code and Data Size: These are the sizes for the OS-independent 
   6012 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6013 debug version of the code includes the debug output trace mechanism and 
   6014 has a 
   6015 much larger code and data size.
   6016 
   6017   Previous Release:
   6018     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   6019     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   6020   Current Release:
   6021     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   6022     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   6023 
   6024 
   6025 2) iASL Compiler/Disassembler and Tools:
   6026 
   6027 iASL: Fixed a problem with constant folding for fixed-length constant 
   6028 expressions. The constant-folding code was not being invoked for constant 
   6029 expressions that allow the use of type 3/4/5 opcodes to generate 
   6030 constants 
   6031 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
   6032 result 
   6033 in the generation of invalid AML bytecode. ACPICA BZ 970.
   6034 
   6035 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
   6036 apparently automatically emit some of the necessary externals. This 
   6037 change 
   6038 handles these versions in order to eliminate generation warnings.
   6039 
   6040 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
   6041 
   6042 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
   6043 appears 
   6044 within comments in the output file.
   6045 
   6046 Debugger: Fixed a regression with the "Threads" command where 
   6047 AE_BAD_PARAMETER was always returned.
   6048 
   6049 ----------------------------------------
   6050 11 July 2012. Summary of changes for version 20120711:
   6051 
   6052 1) ACPICA Kernel-resident Subsystem:
   6053 
   6054 Fixed a possible fault in the return package object repair code. Fixes a 
   6055 problem that can occur when a lone package object is wrapped with an 
   6056 outer 
   6057 package object in order to force conformance to the ACPI specification. 
   6058 Can 
   6059 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
   6060 _DLM, 
   6061 _CSD, _PSD, _TSD.
   6062 
   6063 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
   6064 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
   6065 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
   6066 state 
   6067 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
   6068 both 
   6069 Intel and other vendors. (for Intel: ICH4-M and earlier)
   6070 
   6071 This change removes the code to disable/enable bus master arbitration 
   6072 during 
   6073 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
   6074 causes 
   6075 resume problems on some machines. The change has been in use for over 
   6076 seven 
   6077 years within Linux.
   6078 
   6079 Implemented two new external interfaces to support host-directed dynamic 
   6080 ACPI 
   6081 table load and unload. They are intended to simplify the host 
   6082 implementation 
   6083 of hot-plug support:
   6084   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
   6085   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
   6086 table.
   6087 See the ACPICA reference for additional details. Adds one new file, 
   6088 components/tables/tbxfload.c
   6089 
   6090 Implemented and deployed two new interfaces for errors and warnings that 
   6091 are 
   6092 known to be caused by BIOS/firmware issues:
   6093   AcpiBiosError: Prints "ACPI Firmware Error" message.
   6094   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
   6095 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
   6096 table 
   6097 and FADT errors. Additional deployment to be completed as appropriate in 
   6098 the 
   6099 future. The associated conditional macros are ACPI_BIOS_ERROR and 
   6100 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
   6101 ACPICA 
   6102 BZ 
   6103 843.
   6104 
   6105 Implicit notify support: ensure that no memory allocation occurs within a 
   6106 critical region. This fix moves a memory allocation outside of the time 
   6107 that a 
   6108 spinlock is held. Fixes issues on systems that do not allow this 
   6109 behavior. 
   6110 Jung-uk Kim.
   6111 
   6112 Split exception code utilities and tables into a new file, 
   6113 utilities/utexcep.c
   6114 
   6115 Example Code and Data Size: These are the sizes for the OS-independent 
   6116 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6117 debug 
   6118 version of the code includes the debug output trace mechanism and has a 
   6119 much 
   6120 larger code and data size.
   6121 
   6122   Previous Release:
   6123     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   6124     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   6125   Current Release:
   6126     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   6127     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   6128 
   6129 
   6130 2) iASL Compiler/Disassembler and Tools:
   6131 
   6132 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
   6133 of 
   6134 0. Jung-uk Kim.
   6135 
   6136 Debugger: Enhanced the "tables" command to emit additional information 
   6137 about 
   6138 the current set of ACPI tables, including the owner ID and flags decode.
   6139 
   6140 Debugger: Reimplemented the "unload" command to use the new 
   6141 AcpiUnloadParentTable external interface. This command was disable 
   6142 previously 
   6143 due to need for an unload interface.
   6144 
   6145 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
   6146 option 
   6147 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
   6148 
   6149 ----------------------------------------
   6150 20 June 2012. Summary of changes for version 20120620:
   6151 
   6152 
   6153 1) ACPICA Kernel-resident Subsystem:
   6154 
   6155 Implemented support to expand the "implicit notify" feature to allow 
   6156 multiple 
   6157 devices to be notified by a single GPE. This feature automatically 
   6158 generates a 
   6159 runtime device notification in the absence of a BIOS-provided GPE control 
   6160 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
   6161 notify is 
   6162 provided by ACPICA for Windows compatibility, and is a workaround for 
   6163 BIOS 
   6164 AML 
   6165 code errors. See the description of the AcpiSetupGpeForWake interface in 
   6166 the 
   6167 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
   6168 
   6169 Changed some comments and internal function names to simplify and ensure 
   6170 correctness of the Linux code translation. No functional changes.
   6171 
   6172 Example Code and Data Size: These are the sizes for the OS-independent 
   6173 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6174 debug 
   6175 version of the code includes the debug output trace mechanism and has a 
   6176 much 
   6177 larger code and data size.
   6178 
   6179   Previous Release:
   6180     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   6181     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   6182   Current Release:
   6183     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   6184     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   6185 
   6186 
   6187 2) iASL Compiler/Disassembler and Tools:
   6188 
   6189 Disassembler: Added support to emit short, commented descriptions for the 
   6190 ACPI 
   6191 predefined names in order to improve the readability of the disassembled 
   6192 output. ACPICA BZ 959. Changes include:
   6193   1) Emit descriptions for all standard predefined names (_INI, _STA, 
   6194 _PRW, 
   6195 etc.)
   6196   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
   6197   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
   6198 etc.)
   6199 
   6200 AcpiSrc: Fixed several long-standing Linux code translation issues. 
   6201 Argument 
   6202 descriptions in function headers are now translated properly to lower 
   6203 case 
   6204 and 
   6205 underscores. ACPICA BZ 961. Also fixes translation problems such as 
   6206 these: 
   6207 (old -> new)
   6208   i_aSL -> iASL
   6209   00-7_f -> 00-7F
   6210   16_k -> 16K
   6211   local_fADT -> local_FADT
   6212   execute_oSI -> execute_OSI
   6213 
   6214 iASL: Fixed a problem where null bytes were inadvertently emitted into 
   6215 some 
   6216 listing files.
   6217 
   6218 iASL: Added the existing debug options to the standard help screen. There 
   6219 are 
   6220 no longer two different help screens. ACPICA BZ 957.
   6221 
   6222 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
   6223 Also 
   6224 expand some of the descriptions where appropriate.
   6225 
   6226 iASL: Fixed the -ot option (display compile times/statistics). Was not 
   6227 working 
   6228 properly for standard output; only worked for the debug file case.
   6229 
   6230 ----------------------------------------
   6231 18 May 2012. Summary of changes for version 20120518:
   6232 
   6233 
   6234 1) ACPICA Core Subsystem:
   6235 
   6236 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
   6237 defined 
   6238 to block until asynchronous events such as notifies and GPEs have 
   6239 completed. 
   6240 Within ACPICA, it is only called before a notify or GPE handler is 
   6241 removed/uninstalled. It also may be useful for the host OS within related 
   6242 drivers such as the Embedded Controller driver. See the ACPICA reference 
   6243 for 
   6244 additional information. ACPICA BZ 868.
   6245 
   6246 ACPI Tables: Added a new error message for a possible overflow failure 
   6247 during 
   6248 the conversion of FADT 32-bit legacy register addresses to internal 
   6249 common 
   6250 64-
   6251 bit GAS structure representation. The GAS has a one-byte "bit length" 
   6252 field, 
   6253 thus limiting the register length to 255 bits. ACPICA BZ 953.
   6254 
   6255 Example Code and Data Size: These are the sizes for the OS-independent 
   6256 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6257 debug 
   6258 version of the code includes the debug output trace mechanism and has a 
   6259 much 
   6260 larger code and data size.
   6261 
   6262   Previous Release:
   6263     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6264     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   6265   Current Release:
   6266     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   6267     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   6268 
   6269 
   6270 2) iASL Compiler/Disassembler and Tools:
   6271 
   6272 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
   6273 macro. 
   6274 This keyword was added late in the ACPI 5.0 release cycle and was not 
   6275 implemented until now.
   6276 
   6277 Disassembler: Added support for Operation Region externals. Adds missing 
   6278 support for operation regions that are defined in another table, and 
   6279 referenced locally via a Field or BankField ASL operator. Now generates 
   6280 the 
   6281 correct External statement.
   6282 
   6283 Disassembler: Several additional fixes for the External() statement 
   6284 generation 
   6285 related to some ASL operators. Also, order the External() statements 
   6286 alphabetically in the disassembler output. Fixes the External() 
   6287 generation 
   6288 for 
   6289 the Create* field, Alias, and Scope operators:
   6290  1) Create* buffer field operators - fix type mismatch warning on 
   6291 disassembly
   6292  2) Alias - implement missing External support
   6293  3) Scope - fix to make sure all necessary externals are emitted.
   6294 
   6295 iASL: Improved pathname support. For include files, merge the prefix 
   6296 pathname 
   6297 with the file pathname and eliminate unnecessary components. Convert 
   6298 backslashes in all pathnames to forward slashes, for readability. Include 
   6299 file 
   6300 pathname changes affect both #include and Include() type operators.
   6301 
   6302 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
   6303 end 
   6304 of a valid line by inserting a newline and then returning the EOF during 
   6305 the 
   6306 next call to GetNextLine. Prevents the line from being ignored due to EOF 
   6307 condition.
   6308 
   6309 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
   6310 Error 
   6311 and Warning messages are now correctly recognized for both the source 
   6312 code 
   6313 browser and the global error and warning counts.
   6314 
   6315 ----------------------------------------
   6316 20 April 2012. Summary of changes for version 20120420:
   6317 
   6318 
   6319 1) ACPICA Core Subsystem:
   6320 
   6321 Implemented support for multiple notify handlers. This change adds 
   6322 support 
   6323 to 
   6324 allow multiple system and device notify handlers on Device, Thermal Zone, 
   6325 and 
   6326 Processor objects. This can simplify the host OS notification 
   6327 implementation. 
   6328 Also re-worked and restructured the entire notify support code to 
   6329 simplify 
   6330 handler installation, handler removal, notify event queuing, and notify 
   6331 dispatch to handler(s). Note: there can still only be two global notify 
   6332 handlers - one for system notifies and one for device notifies. There are 
   6333 no 
   6334 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
   6335 Moore, Rafael Wysocki.
   6336 
   6337 Fixed a regression in the package repair code where the object reference 
   6338 count was calculated incorrectly. Regression was introduced in the commit 
   6339 "Support to add Package wrappers".
   6340 
   6341 Fixed a couple possible memory leaks in the AML parser, in the error 
   6342 recovery 
   6343 path. Jesper Juhl, Lin Ming.
   6344 
   6345 Example Code and Data Size: These are the sizes for the OS-independent 
   6346 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6347 debug version of the code includes the debug output trace mechanism and 
   6348 has a 
   6349 much larger code and data size.
   6350 
   6351   Previous Release:
   6352     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6353     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   6354   Current Release:
   6355     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6356     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   6357 
   6358 
   6359 2) iASL Compiler/Disassembler and Tools:
   6360 
   6361 iASL: Fixed a problem with the resource descriptor support where the 
   6362 length 
   6363 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
   6364 included in cumulative descriptor offset, resulting in incorrect values 
   6365 for 
   6366 resource tags within resource descriptors appearing after a 
   6367 StartDependent* 
   6368 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
   6369 
   6370 iASL and Preprocessor: Implemented full support for the #line directive 
   6371 to 
   6372 correctly track original source file line numbers through the .i 
   6373 preprocessor 
   6374 output file - for error and warning messages.
   6375 
   6376 iASL: Expand the allowable byte constants for address space IDs. 
   6377 Previously, 
   6378 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
   6379 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
   6380 
   6381 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
   6382 
   6383 iASL: Add option to completely disable the preprocessor (-Pn).
   6384 
   6385 iASL: Now emit all error/warning messages to standard error (stderr) by 
   6386 default (instead of the previous stdout).
   6387 
   6388 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
   6389 Update 
   6390 for resource descriptor offset fix above. Update/cleanup error output 
   6391 routines. Enable and send iASL errors/warnings to an error logfile 
   6392 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
   6393 Fixed 
   6394 several extraneous "unrecognized operator" messages.
   6395 
   6396 ----------------------------------------
   6397 20 March 2012. Summary of changes for version 20120320:
   6398 
   6399 
   6400 1) ACPICA Core Subsystem:
   6401 
   6402 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
   6403 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
   6404 apparently 
   6405 does not execute these methods, and therefore these methods are often 
   6406 untested. It has been seen on some systems where the execution of these 
   6407 methods causes errors and also prevents the machine from entering S5. It 
   6408 is 
   6409 therefore suggested that host operating systems do not execute these 
   6410 methods 
   6411 by default. In the future, perhaps these methods can be optionally 
   6412 executed 
   6413 based on the age of the system and/or what is the newest version of 
   6414 Windows 
   6415 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
   6416 and 
   6417 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
   6418 Ming.
   6419 
   6420 Fixed a problem where the length of the local/common FADT was set too 
   6421 early. 
   6422 The local FADT table length cannot be set to the common length until the 
   6423 original length has been examined. There is code that checks the table 
   6424 length 
   6425 and sets various fields appropriately. This can affect older machines 
   6426 with 
   6427 early FADT versions. For example, this can cause inadvertent writes to 
   6428 the 
   6429 CST_CNT register. Julian Anastasov.
   6430 
   6431 Fixed a mapping issue related to a physical table override. Use the 
   6432 deferred 
   6433 mapping mechanism for tables loaded via the physical override OSL 
   6434 interface. 
   6435 This allows for early mapping before the virtual memory manager is 
   6436 available. 
   6437 Thomas Renninger, Bob Moore.
   6438 
   6439 Enhanced the automatic return-object repair code: Repair a common problem 
   6440 with 
   6441 predefined methods that are defined to return a variable-length Package 
   6442 of 
   6443 sub-objects. If there is only one sub-object, some BIOS ASL code 
   6444 mistakenly 
   6445 simply returns the single object instead of a Package with one sub-
   6446 object. 
   6447 This new support will repair this error by wrapping a Package object 
   6448 around 
   6449 the original object, creating the correct and expected Package with one 
   6450 sub-
   6451 object. Names that can be repaired in this manner include: _ALR, _CSD, 
   6452 _HPX, 
   6453 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
   6454 939.
   6455 
   6456 Changed the exception code returned for invalid ACPI paths passed as 
   6457 parameters to external interfaces such as AcpiEvaluateObject. Was 
   6458 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
   6459 
   6460 Example Code and Data Size: These are the sizes for the OS-independent 
   6461 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6462 debug 
   6463 version of the code includes the debug output trace mechanism and has a 
   6464 much 
   6465 larger code and data size.
   6466 
   6467   Previous Release:
   6468     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   6469     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   6470   Current Release:
   6471     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6472     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   6473 
   6474 
   6475 2) iASL Compiler/Disassembler and Tools:
   6476 
   6477 iASL: Added the infrastructure and initial implementation of a integrated 
   6478 C-
   6479 like preprocessor. This will simplify BIOS development process by 
   6480 eliminating 
   6481 the need for a separate preprocessing step during builds. On Windows, it 
   6482 also 
   6483 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
   6484 features including full #define() macro support are still under 
   6485 development. 
   6486 These preprocessor directives are supported:
   6487     #define
   6488     #elif
   6489     #else
   6490     #endif
   6491     #error
   6492     #if
   6493     #ifdef
   6494     #ifndef
   6495     #include
   6496     #pragma message
   6497     #undef
   6498     #warning
   6499 In addition, these new command line options are supported:
   6500     -D <symbol> Define symbol for preprocessor use
   6501     -li         Create preprocessed output file (*.i)
   6502     -P          Preprocess only and create preprocessor output file (*.i)
   6503 
   6504 Table Compiler: Fixed a problem where the equals operator within an 
   6505 expression 
   6506 did not work properly.
   6507 
   6508 Updated iASL to use the current versions of Bison/Flex. Updated the 
   6509 Windows 
   6510 project file to invoke these tools from the standard location. ACPICA BZ 
   6511 904. 
   6512 Versions supported:
   6513     Flex for Windows:  V2.5.4
   6514     Bison for Windows: V2.4.1
   6515 
   6516 ----------------------------------------
   6517 15 February 2012. Summary of changes for version 20120215:
   6518 
   6519 
   6520 1) ACPICA Core Subsystem:
   6521 
   6522 There have been some major changes to the sleep/wake support code, as 
   6523 described below (a - e).
   6524 
   6525 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
   6526 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
   6527 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
   6528 the 
   6529 time the _BFS method is called and the _WAK method is called. NOTE: all 
   6530 hosts 
   6531 must update their wake/resume code or else sleep/wake will not work 
   6532 properly. 
   6533 Rafael Wysocki.
   6534 
   6535 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
   6536 _WAK 
   6537 method. Some machines require that the GPEs are enabled before the _WAK 
   6538 method 
   6539 is executed. Thomas Renninger.
   6540 
   6541 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
   6542 bit. 
   6543 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
   6544 to 
   6545 determine whether the system is rebooting or resuming. Matthew Garrett.
   6546 
   6547 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
   6548 Sleep) to 
   6549 match the ACPI specification requirement. Rafael Wysocki.
   6550 
   6551 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
   6552 registers within the V5 FADT. This support adds two new files: 
   6553 hardware/hwesleep.c implements the support for the new registers. Moved 
   6554 all 
   6555 sleep/wake external interfaces to hardware/hwxfsleep.c.
   6556 
   6557 
   6558 Added a new OSL interface for ACPI table overrides, 
   6559 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
   6560 table via a physical address, instead of the logical address required by 
   6561 AcpiOsTableOverride. This simplifies the host implementation. Initial 
   6562 implementation by Thomas Renninger. The ACPICA implementation creates a 
   6563 single 
   6564 shared function for table overrides that attempts both a logical and a 
   6565 physical override.
   6566 
   6567 Expanded the OSL memory read/write interfaces to 64-bit data 
   6568 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
   6569 transfer support for GAS register structures passed to AcpiRead and 
   6570 AcpiWrite.
   6571 
   6572 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
   6573 custom 
   6574 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
   6575 model. 
   6576 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
   6577 about 
   6578 10% of the code and 5% of the static data, and the following hardware 
   6579 ACPI 
   6580 features become unavailable:
   6581     PM Event and Control registers
   6582     SCI interrupt (and handler)
   6583     Fixed Events
   6584     General Purpose Events (GPEs)
   6585     Global Lock
   6586     ACPI PM timer
   6587     FACS table (Waking vectors and Global Lock)
   6588 
   6589 Updated the unix tarball directory structure to match the ACPICA git 
   6590 source 
   6591 tree. This ensures that the generic unix makefiles work properly (in 
   6592 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
   6593 867.
   6594 
   6595 Updated the return value of the _REV predefined method to integer value 5 
   6596 to 
   6597 reflect ACPI 5.0 support.
   6598 
   6599 Moved the external ACPI PM timer interface prototypes to the public 
   6600 acpixf.h 
   6601 file where they belong.
   6602 
   6603 Example Code and Data Size: These are the sizes for the OS-independent 
   6604 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6605 debug 
   6606 version of the code includes the debug output trace mechanism and has a 
   6607 much 
   6608 larger code and data size.
   6609 
   6610   Previous Release:
   6611     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   6612     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   6613   Current Release:
   6614     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   6615     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   6616 
   6617 
   6618 2) iASL Compiler/Disassembler and Tools:
   6619 
   6620 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
   6621 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
   6622 incorrectly displayed.
   6623 
   6624 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
   6625 specification.
   6626 
   6627 ----------------------------------------
   6628 11 January 2012. Summary of changes for version 20120111:
   6629 
   6630 
   6631 1) ACPICA Core Subsystem:
   6632 
   6633 Implemented a new mechanism to allow host device drivers to check for 
   6634 address 
   6635 range conflicts with ACPI Operation Regions. Both SystemMemory and 
   6636 SystemIO 
   6637 address spaces are supported. A new external interface, 
   6638 AcpiCheckAddressRange, 
   6639 allows drivers to check an address range against the ACPI namespace. See 
   6640 the 
   6641 ACPICA reference for additional details. Adds one new file, 
   6642 utilities/utaddress.c. Lin Ming, Bob Moore.
   6643 
   6644 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
   6645 Control 
   6646 and 
   6647 Status registers, update the ACPI 5.0 flags, and update internal data 
   6648 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
   6649 5.0 
   6650 FADT is 268 bytes.
   6651 
   6652 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
   6653 copyright to 
   6654 all module headers and signons, including the standard Linux header. This 
   6655 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
   6656 and 
   6657 all ACPICA utilities.
   6658 
   6659 Example Code and Data Size: These are the sizes for the OS-independent 
   6660 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6661 debug 
   6662 version of the code includes the debug output trace mechanism and has a 
   6663 much 
   6664 larger code and data size.
   6665 
   6666   Previous Release:
   6667     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   6668     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   6669   Current Release:
   6670     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   6671     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   6672 
   6673 
   6674 2) iASL Compiler/Disassembler and Tools:
   6675 
   6676 Disassembler: fixed a problem with the automatic resource tag generation 
   6677 support. Fixes a problem where the resource tags are inadvertently not 
   6678 constructed if the table being disassembled contains external references 
   6679 to 
   6680 control methods. Moved the actual construction of the tags to after the 
   6681 final 
   6682 namespace is constructed (after 2nd parse is invoked due to external 
   6683 control 
   6684 method references.) ACPICA BZ 941.
   6685 
   6686 Table Compiler: Make all "generic" operators caseless. These are the 
   6687 operators 
   6688 like UINT8, String, etc. Making these caseless improves ease-of-use. 
   6689 ACPICA BZ 
   6690 934.
   6691 
   6692 ----------------------------------------
   6693 23 November 2011. Summary of changes for version 20111123:
   6694 
   6695 0) ACPI 5.0 Support:
   6696 
   6697 This release contains full support for the ACPI 5.0 specification, as 
   6698 summarized below.
   6699 
   6700 Reduced Hardware Support:
   6701 -------------------------
   6702 
   6703 This support allows for ACPI systems without the usual ACPI hardware. 
   6704 This 
   6705 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
   6706 will 
   6707 not attempt to initialize or use any of the usual ACPI hardware. Note, 
   6708 when 
   6709 this flag is set, all of the following ACPI hardware is assumed to be not 
   6710 present and is not initialized or accessed:
   6711 
   6712     General Purpose Events (GPEs)
   6713     Fixed Events (PM1a/PM1b and PM Control)
   6714     Power Management Timer and Console Buttons (power/sleep)
   6715     Real-time Clock Alarm
   6716     Global Lock
   6717     System Control Interrupt (SCI)
   6718     The FACS is assumed to be non-existent
   6719 
   6720 ACPI Tables:
   6721 ------------
   6722 
   6723 All new tables and updates to existing tables are fully supported in the 
   6724 ACPICA headers (for use by device drivers), the disassembler, and the 
   6725 iASL 
   6726 Data Table Compiler. ACPI 5.0 defines these new tables:
   6727 
   6728     BGRT        /* Boot Graphics Resource Table */
   6729     DRTM        /* Dynamic Root of Trust for Measurement table */
   6730     FPDT        /* Firmware Performance Data Table */
   6731     GTDT        /* Generic Timer Description Table */
   6732     MPST        /* Memory Power State Table */
   6733     PCCT        /* Platform Communications Channel Table */
   6734     PMTT        /* Platform Memory Topology Table */
   6735     RASF        /* RAS Feature table */
   6736 
   6737 Operation Regions/SpaceIDs:
   6738 ---------------------------
   6739 
   6740 All new operation regions are fully supported by the iASL compiler, the 
   6741 disassembler, and the ACPICA runtime code (for dispatch to region 
   6742 handlers.) 
   6743 The new operation region Space IDs are:
   6744 
   6745     GeneralPurposeIo
   6746     GenericSerialBus
   6747 
   6748 Resource Descriptors:
   6749 ---------------------
   6750 
   6751 All new ASL resource descriptors are fully supported by the iASL 
   6752 compiler, 
   6753 the 
   6754 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
   6755 (including 
   6756 all new predefined resource tags). New descriptors are:
   6757 
   6758     FixedDma
   6759     GpioIo
   6760     GpioInt
   6761     I2cSerialBus
   6762     SpiSerialBus
   6763     UartSerialBus
   6764 
   6765 ASL/AML Operators, New and Modified:
   6766 ------------------------------------
   6767 
   6768 One new operator is added, the Connection operator, which is used to 
   6769 associate 
   6770 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
   6771 individual 
   6772 field objects within an operation region. Several new protocols are 
   6773 associated 
   6774 with the AccessAs operator. All are fully supported by the iASL compiler, 
   6775 disassembler, and runtime ACPICA AML interpreter:
   6776 
   6777     Connection                      // Declare Field Connection 
   6778 attributes
   6779     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
   6780     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
   6781 Protocol
   6782     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
   6783     RawDataBuffer                       // Data type for Vendor Data 
   6784 fields
   6785 
   6786 Predefined ASL/AML Objects:
   6787 ---------------------------
   6788 
   6789 All new predefined objects/control-methods are supported by the iASL 
   6790 compiler 
   6791 and the ACPICA runtime validation/repair (arguments and return values.) 
   6792 New 
   6793 predefined names include the following:
   6794 
   6795 Standard Predefined Names (Objects or Control Methods):
   6796     _AEI, _CLS, _CPC, _CWS, _DEP,
   6797     _DLM, _EVT, _GCP, _CRT, _GWS,
   6798     _HRV, _PRE, _PSE, _SRT, _SUB.
   6799 
   6800 Resource Tags (Names used to access individual fields within resource 
   6801 descriptors):
   6802     _DBT, _DPL, _DRS, _END, _FLC,
   6803     _IOR, _LIN, _MOD, _PAR, _PHA,
   6804     _PIN, _PPI, _POL, _RXL, _SLV,
   6805     _SPE, _STB, _TXL, _VEN.
   6806 
   6807 ACPICA External Interfaces:
   6808 ---------------------------
   6809 
   6810 Several new interfaces have been defined for use by ACPI-related device 
   6811 drivers and other host OS services:
   6812 
   6813 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
   6814 to 
   6815 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
   6816 provided by the BIOS. They are intended to be used in conjunction with 
   6817 the 
   6818 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
   6819 mutual exclusion with the AML code/interpreter.
   6820 
   6821 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
   6822 defined 
   6823 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
   6824 provides 
   6825 resource descriptors associated with hardware-reduced platform events, 
   6826 similar 
   6827 to the AcpiGetCurrentResources interface.
   6828 
   6829 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
   6830 operation regions, information about the Connection() object and any 
   6831 optional 
   6832 length information is passed to the region handler within the Context 
   6833 parameter.
   6834 
   6835 AcpiBufferToResource: This interface converts a raw AML buffer containing 
   6836 a 
   6837 resource template or resource descriptor to the ACPI_RESOURCE internal 
   6838 format 
   6839 suitable for use by device drivers. Can be used by an operation region 
   6840 handler 
   6841 to convert the Connection() buffer object into a ACPI_RESOURCE.
   6842 
   6843 Miscellaneous/Tools/TestSuites: 
   6844 -------------------------------
   6845 
   6846 Support for extended _HID names (Four alpha characters instead of three).
   6847 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
   6848 Support for ACPI 5.0 features in the ASLTS test suite.
   6849 Fully updated documentation (ACPICA and iASL reference documents.)
   6850 
   6851 ACPI Table Definition Language:
   6852 -------------------------------
   6853 
   6854 Support for this language was implemented and released as a subsystem of 
   6855 the 
   6856 iASL compiler in 2010. (See the iASL compiler User Guide.)
   6857 
   6858 
   6859 Non-ACPI 5.0 changes for this release:
   6860 --------------------------------------
   6861 
   6862 1) ACPICA Core Subsystem:
   6863 
   6864 Fix a problem with operation region declarations where a failure can 
   6865 occur 
   6866 if 
   6867 the region name and an argument that evaluates to an object (such as the 
   6868 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
   6869 937.
   6870 
   6871 Do not abort an ACPI table load if an invalid space ID is found within. 
   6872 This 
   6873 will be caught later if the offending method is executed. ACPICA BZ 925.
   6874 
   6875 Fixed an issue with the FFixedHW space ID where the ID was not always 
   6876 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
   6877 
   6878 Fixed a problem with the 32-bit generation of the unix-specific OSL 
   6879 (osunixxf.c). Lin Ming, ACPICA BZ 936.
   6880 
   6881 Several changes made to enable generation with the GCC 4.6 compiler. 
   6882 ACPICA BZ 
   6883 935.
   6884 
   6885 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
   6886 Index/Bank 
   6887 field registers out-of-range.
   6888 
   6889 2) iASL Compiler/Disassembler and Tools:
   6890 
   6891 iASL: Implemented the __PATH__ operator, which returns the full pathname 
   6892 of 
   6893 the current source file.
   6894 
   6895 AcpiHelp: Automatically display expanded keyword information for all ASL 
   6896 operators.
   6897 
   6898 Debugger: Add "Template" command to disassemble/dump resource template 
   6899 buffers.
   6900 
   6901 Added a new master script to generate and execute the ASLTS test suite. 
   6902 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
   6903 
   6904 iASL: Fix problem with listing generation during processing of the 
   6905 Switch() 
   6906 operator where AML listing was disabled until the entire Switch block was 
   6907 completed.
   6908 
   6909 iASL: Improve support for semicolon statement terminators. Fix "invalid 
   6910 character" message for some cases when the semicolon is used. Semicolons 
   6911 are 
   6912 now allowed after every <Term> grammar element. ACPICA BZ 927.
   6913 
   6914 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
   6915 923.
   6916 
   6917 Disassembler: Fix problem with disassembly of the DataTableRegion 
   6918 operator 
   6919 where an inadvertent "Unhandled deferred opcode" message could be 
   6920 generated.
   6921 
   6922 3) Example Code and Data Size
   6923 
   6924 These are the sizes for the OS-independent acpica.lib produced by the 
   6925 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   6926 includes the debug output trace mechanism and has a much larger code and 
   6927 data 
   6928 size.
   6929 
   6930   Previous Release:
   6931     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   6932     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   6933   Current Release:
   6934     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   6935     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   6936 
   6937 ----------------------------------------
   6938 22 September 2011. Summary of changes for version 20110922:
   6939 
   6940 0) ACPI 5.0 News:
   6941 
   6942 Support for ACPI 5.0 in ACPICA has been underway for several months and 
   6943 will 
   6944 be released at the same time that ACPI 5.0 is officially released.
   6945 
   6946 The ACPI 5.0 specification is on track for release in the next few 
   6947 months.
   6948  
   6949 1) ACPICA Core Subsystem:
   6950 
   6951 Fixed a problem where the maximum sleep time for the Sleep() operator was 
   6952 intended to be limited to two seconds, but was inadvertently limited to 
   6953 20 
   6954 seconds instead.
   6955 
   6956 Linux and Unix makefiles: Added header file dependencies to ensure 
   6957 correct 
   6958 generation of ACPICA core code and utilities. Also simplified the 
   6959 makefiles 
   6960 considerably through the use of the vpath variable to specify search 
   6961 paths. 
   6962 ACPICA BZ 924.
   6963 
   6964 2) iASL Compiler/Disassembler and Tools:
   6965 
   6966 iASL: Implemented support to check the access length for all fields 
   6967 created to 
   6968 access named Resource Descriptor fields. For example, if a resource field 
   6969 is 
   6970 defined to be two bits, a warning is issued if a CreateXxxxField() is 
   6971 used 
   6972 with an incorrect bit length. This is implemented for all current 
   6973 resource 
   6974 descriptor names. ACPICA BZ 930.
   6975   
   6976 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
   6977 56-
   6978 bit integers.
   6979 
   6980 iASL: Fixed a couple of issues associated with variable-length package 
   6981 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
   6982 a 
   6983 VAR_PACKAGE when these are used as a package length. 2) Allow the 
   6984 VAR_PACKAGE 
   6985 opcode (in addition to PACKAGE) when validating object types for 
   6986 predefined 
   6987 names.
   6988 
   6989 iASL: Emit statistics for all output files (instead of just the ASL input 
   6990 and 
   6991 AML output). Includes listings, hex files, etc.
   6992 
   6993 iASL: Added -G option to the table compiler to allow the compilation of 
   6994 custom 
   6995 ACPI tables. The only part of a table that is required is the standard 
   6996 36-
   6997 byte 
   6998 ACPI header.
   6999 
   7000 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
   7001 headers), 
   7002 which also adds correct 64-bit support. Also, now all output filenames 
   7003 are 
   7004 completely lower case.
   7005 
   7006 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
   7007 loading table files. A warning is issued for any such tables. The only 
   7008 exception is an FADT. This also fixes a possible fault when attempting to 
   7009 load 
   7010 non-AML tables. ACPICA BZ 932.
   7011 
   7012 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
   7013 a 
   7014 missing table terminator could cause a fault when using the -p option.
   7015 
   7016 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
   7017 statistics.
   7018 
   7019 3) Example Code and Data Size
   7020 
   7021 These are the sizes for the OS-independent acpica.lib produced by the 
   7022 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   7023 includes the debug output trace mechanism and has a much larger code and 
   7024 data 
   7025 size.
   7026 
   7027   Previous Release (VC 9.0):
   7028     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   7029     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7030   Current Release (VC 9.0):
   7031     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   7032     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7033 
   7034 
   7035 ----------------------------------------
   7036 23 June 2011. Summary of changes for version 20110623:
   7037 
   7038 1) ACPI CA Core Subsystem:
   7039 
   7040 Updated the predefined name repair mechanism to not attempt repair of a 
   7041 _TSS 
   7042 return object if a _PSS object is present. We can only sort the _TSS 
   7043 return 
   7044 package if there is no _PSS within the same scope. This is because if 
   7045 _PSS 
   7046 is 
   7047 present, the ACPI specification dictates that the _TSS Power Dissipation 
   7048 field 
   7049 is to be ignored, and therefore some BIOSs leave garbage values in the 
   7050 _TSS 
   7051 Power field(s). In this case, it is best to just return the _TSS package 
   7052 as-
   7053 is. Reported by, and fixed with assistance from Fenghua Yu.
   7054 
   7055 Added an option to globally disable the control method return value 
   7056 validation 
   7057 and repair. This runtime option can be used to disable return value 
   7058 repair 
   7059 if 
   7060 this is causing a problem on a particular machine. Also added an option 
   7061 to 
   7062 AcpiExec (-dr) to set this disable flag.
   7063 
   7064 All makefiles and project files: Major changes to improve generation of 
   7065 ACPICA 
   7066 tools. ACPICA BZ 912:
   7067     Reduce default optimization levels to improve compatibility
   7068     For Linux, add strict-aliasing=0 for gcc 4
   7069     Cleanup and simplify use of command line defines
   7070     Cleanup multithread library support
   7071     Improve usage messages
   7072 
   7073 Linux-specific header: update handling of THREAD_ID and pthread. For the 
   7074 32-
   7075 bit case, improve casting to eliminate possible warnings, especially with 
   7076 the 
   7077 acpica tools.
   7078 
   7079 Example Code and Data Size: These are the sizes for the OS-independent 
   7080 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7081 debug 
   7082 version of the code includes the debug output trace mechanism and has a 
   7083 much 
   7084 larger code and data size.
   7085 
   7086   Previous Release (VC 9.0):
   7087     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   7088     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7089   Current Release (VC 9.0):
   7090     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   7091     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7092 
   7093 2) iASL Compiler/Disassembler and Tools:
   7094 
   7095 With this release, a new utility named "acpihelp" has been added to the 
   7096 ACPICA 
   7097 package. This utility summarizes the ACPI specification chapters for the 
   7098 ASL 
   7099 and AML languages. It generates under Linux/Unix as well as Windows, and 
   7100 provides the following functionality:
   7101     Find/display ASL operator(s) -- with description and syntax.
   7102     Find/display ASL keyword(s) -- with exact spelling and descriptions.
   7103     Find/display ACPI predefined name(s) -- with description, number
   7104         of arguments, and the return value data type.
   7105     Find/display AML opcode name(s) -- with opcode, arguments, and 
   7106 grammar.
   7107     Decode/display AML opcode -- with opcode name, arguments, and 
   7108 grammar.
   7109 
   7110 Service Layers: Make multi-thread support configurable. Conditionally 
   7111 compile 
   7112 the multi-thread support so that threading libraries will not be linked 
   7113 if 
   7114 not 
   7115 necessary. The only tool that requires multi-thread support is AcpiExec.
   7116 
   7117 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
   7118 of 
   7119 Bison appear to want the interface to yyerror to be a const char * (or at 
   7120 least this is a problem when generating iASL on some systems.) ACPICA BZ 
   7121 923 
   7122 Pierre Lejeune.
   7123 
   7124 Tools: Fix for systems where O_BINARY is not defined. Only used for 
   7125 Windows 
   7126 versions of the tools.
   7127 
   7128 ----------------------------------------
   7129 27 May 2011. Summary of changes for version 20110527:
   7130 
   7131 1) ACPI CA Core Subsystem:
   7132 
   7133 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
   7134 table 
   7135 signature. Now, only allow SSDT, OEMx, and a null signature. History:
   7136     1) Originally, we checked the table signature for "SSDT" or "PSDT".
   7137        (PSDT is now obsolete.)
   7138     2) We added support for OEMx tables, signature "OEM" plus a fourth
   7139        "don't care" character.
   7140     3) Valid tables were encountered with a null signature, so we just
   7141        gave up on validating the signature, (05/2008).
   7142     4) We encountered non-AML tables such as the MADT, which caused
   7143        interpreter errors and kernel faults. So now, we once again allow
   7144        only SSDT, OEMx, and now, also a null signature. (05/2011).
   7145 
   7146 Added the missing _TDL predefined name to the global name list in order 
   7147 to 
   7148 enable validation. Affects both the core ACPICA code and the iASL 
   7149 compiler.
   7150 
   7151 Example Code and Data Size: These are the sizes for the OS-independent 
   7152 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7153 debug 
   7154 version of the code includes the debug output trace mechanism and has a 
   7155 much 
   7156 larger code and data size.
   7157 
   7158   Previous Release (VC 9.0):
   7159     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   7160     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   7161   Current Release (VC 9.0):
   7162     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   7163     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7164 
   7165 2) iASL Compiler/Disassembler and Tools:
   7166 
   7167 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
   7168 the 
   7169 debugger command line. This adds support beyond simple integers -- 
   7170 including 
   7171 Strings, Buffers, and Packages. Includes support for nested packages. 
   7172 Increased the default command line buffer size to accommodate these 
   7173 arguments. 
   7174 See the ACPICA reference for details and syntax. ACPICA BZ 917.
   7175  
   7176 Debugger/AcpiExec: Implemented support for "default" method arguments for 
   7177 the 
   7178 Execute/Debug command. Now, the debugger will always invoke a control 
   7179 method 
   7180 with the required number of arguments -- even if the command line 
   7181 specifies 
   7182 none or insufficient arguments. It uses default integer values for any 
   7183 missing 
   7184 arguments. Also fixes a bug where only six method arguments maximum were 
   7185 supported instead of the required seven.
   7186 
   7187 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
   7188 and 
   7189 also return status in order to prevent buffer overruns. See the ACPICA 
   7190 reference for details and syntax. ACPICA BZ 921
   7191 
   7192 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
   7193 makefiles to simplify support for the two different but similar parser 
   7194 generators, bison and yacc.
   7195 
   7196 Updated the generic unix makefile for gcc 4. The default gcc version is 
   7197 now 
   7198 expected to be 4 or greater, since options specific to gcc 4 are used.
   7199 
   7200 ----------------------------------------
   7201 13 April 2011. Summary of changes for version 20110413:
   7202 
   7203 1) ACPI CA Core Subsystem:
   7204 
   7205 Implemented support to execute a so-called "orphan" _REG method under the 
   7206 EC 
   7207 device. This change will force the execution of a _REG method underneath 
   7208 the 
   7209 EC 
   7210 device even if there is no corresponding operation region of type 
   7211 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
   7212 compatible with Windows behavior. ACPICA BZ 875.
   7213 
   7214 Added more predefined methods that are eligible for automatic NULL 
   7215 package 
   7216 element removal. This change adds another group of predefined names to 
   7217 the 
   7218 list 
   7219 of names that can be repaired by having NULL package elements dynamically 
   7220 removed. This group are those methods that return a single variable-
   7221 length 
   7222 package containing simple data types such as integers, buffers, strings. 
   7223 This 
   7224 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
   7225 _PSL, 
   7226 _Sx, 
   7227 and _TZD. ACPICA BZ 914.
   7228 
   7229 Split and segregated all internal global lock functions to a new file, 
   7230 evglock.c.
   7231 
   7232 Updated internal address SpaceID for DataTable regions. Moved this 
   7233 internal 
   7234 space 
   7235 id in preparation for ACPI 5.0 changes that will include some new space 
   7236 IDs. 
   7237 This 
   7238 change should not affect user/host code.
   7239 
   7240 Example Code and Data Size: These are the sizes for the OS-independent 
   7241 acpica.lib 
   7242 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   7243 version of 
   7244 the code includes the debug output trace mechanism and has a much larger 
   7245 code 
   7246 and 
   7247 data size.
   7248 
   7249   Previous Release (VC 9.0):
   7250     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   7251     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   7252   Current Release (VC 9.0):
   7253     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   7254     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   7255 
   7256 2) iASL Compiler/Disassembler and Tools:
   7257 
   7258 iASL/DTC: Major update for new grammar features. Allow generic data types 
   7259 in 
   7260 custom ACPI tables. Field names are now optional. Any line can be split 
   7261 to 
   7262 multiple lines using the continuation char (\). Large buffers now use 
   7263 line-
   7264 continuation character(s) and no colon on the continuation lines. See the 
   7265 grammar 
   7266 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
   7267 Moore.
   7268 
   7269 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
   7270 statements. 
   7271 Since the parser stuffs a "zero" as the return value for these statements 
   7272 (due 
   7273 to 
   7274 the underlying AML grammar), they were seen as "return with value" by the 
   7275 iASL 
   7276 semantic checking. They are now seen correctly as "null" return 
   7277 statements.
   7278 
   7279 iASL: Check if a_REG declaration has a corresponding Operation Region. 
   7280 Adds a 
   7281 check for each _REG to ensure that there is in fact a corresponding 
   7282 operation 
   7283 region declaration in the same scope. If not, the _REG method is not very 
   7284 useful 
   7285 since it probably won't be executed. ACPICA BZ 915.
   7286 
   7287 iASL/DTC: Finish support for expression evaluation. Added a new 
   7288 expression 
   7289 parser 
   7290 that implements c-style operator precedence and parenthesization. ACPICA 
   7291 bugzilla 
   7292 908.
   7293 
   7294 Disassembler/DTC: Remove support for () and <> style comments in data 
   7295 tables. 
   7296 Now 
   7297 that DTC has full expression support, we don't want to have comment 
   7298 strings 
   7299 that 
   7300 start with a parentheses or a less-than symbol. Now, only the standard /* 
   7301 and 
   7302 // 
   7303 comments are supported, as well as the bracket [] comments.
   7304 
   7305 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
   7306 "unusual" 
   7307 headers in the acpidump file. Update the header validation to support 
   7308 these 
   7309 tables. Problem introduced in previous AcpiXtract version in the change 
   7310 to 
   7311 support "wrong checksum" error messages emitted by acpidump utility.
   7312 
   7313 iASL: Add a * option to generate all template files (as a synonym for 
   7314 ALL) 
   7315 as 
   7316 in 
   7317 "iasl -T *" or "iasl -T ALL".
   7318 
   7319 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
   7320 completely 
   7321 abort the compiler on "fatal" errors, simply should abort the current 
   7322 compile. 
   7323 This allows multiple compiles with a single (possibly wildcard) compiler 
   7324 invocation.
   7325 
   7326 ----------------------------------------
   7327 16 March 2011. Summary of changes for version 20110316:
   7328 
   7329 1) ACPI CA Core Subsystem:
   7330 
   7331 Fixed a problem caused by a _PRW method appearing at the namespace root 
   7332 scope 
   7333 during the setup of wake GPEs. A fault could occur if a _PRW directly 
   7334 under 
   7335 the 
   7336 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
   7337 
   7338 Implemented support for "spurious" Global Lock interrupts. On some 
   7339 systems, a 
   7340 global lock interrupt can occur without the pending flag being set. Upon 
   7341 a 
   7342 GL 
   7343 interrupt, we now ensure that a thread is actually waiting for the lock 
   7344 before 
   7345 signaling GL availability. Rafael Wysocki, Bob Moore.
   7346 
   7347 Example Code and Data Size: These are the sizes for the OS-independent 
   7348 acpica.lib 
   7349 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   7350 version of 
   7351 the code includes the debug output trace mechanism and has a much larger 
   7352 code 
   7353 and 
   7354 data size.
   7355 
   7356   Previous Release (VC 9.0):
   7357     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   7358     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   7359   Current Release (VC 9.0):
   7360     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   7361     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   7362 
   7363 2) iASL Compiler/Disassembler and Tools:
   7364 
   7365 Implemented full support for the "SLIC" ACPI table. Includes support in 
   7366 the 
   7367 header files, disassembler, table compiler, and template generator. Bob 
   7368 Moore, 
   7369 Lin Ming.
   7370 
   7371 AcpiXtract: Correctly handle embedded comments and messages from 
   7372 AcpiDump. 
   7373 Apparently some or all versions of acpidump will occasionally emit a 
   7374 comment 
   7375 like 
   7376 "Wrong checksum", etc., into the dump file. This was causing problems for 
   7377 AcpiXtract. ACPICA BZ 905.
   7378 
   7379 iASL: Fix the Linux makefile by removing an inadvertent double file 
   7380 inclusion. 
   7381 ACPICA BZ 913.
   7382 
   7383 AcpiExec: Update installation of operation region handlers. Install one 
   7384 handler 
   7385 for a user-defined address space. This is used by the ASL test suite 
   7386 (ASLTS).
   7387 
   7388 ----------------------------------------
   7389 11 February 2011. Summary of changes for version 20110211:
   7390 
   7391 1) ACPI CA Core Subsystem:
   7392 
   7393 Added a mechanism to defer _REG methods for some early-installed 
   7394 handlers. 
   7395 Most user handlers should be installed before call to 
   7396 AcpiEnableSubsystem. 
   7397 However, Event handlers and region handlers should be installed after 
   7398 AcpiInitializeObjects. Override handlers for the "default" regions should 
   7399 be 
   7400 installed early, however. This change executes all _REG methods for the 
   7401 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
   7402 chicken/egg issues between them. ACPICA BZ 848.
   7403 
   7404 Implemented an optimization for GPE detection. This optimization will 
   7405 simply 
   7406 ignore GPE registers that contain no enabled GPEs -- there is no need to 
   7407 read the register since this information is available internally. This 
   7408 becomes more important on machines with a large GPE space. ACPICA 
   7409 bugzilla 
   7410 884. Lin Ming. Suggestion from Joe Liu.
   7411 
   7412 Removed all use of the highly unreliable FADT revision field. The 
   7413 revision 
   7414 number in the FADT has been found to be completely unreliable and cannot 
   7415 be 
   7416 trusted. Only the actual table length can be used to infer the version. 
   7417 This 
   7418 change updates the ACPICA core and the disassembler so that both no 
   7419 longer 
   7420 even look at the FADT version and instead depend solely upon the FADT 
   7421 length.
   7422 
   7423 Fix an unresolved name issue for the no-debug and no-error-message source 
   7424 generation cases. The _AcpiModuleName was left undefined in these cases, 
   7425 but 
   7426 it is actually needed as a parameter to some interfaces. Define 
   7427 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
   7428 
   7429 Split several large files (makefiles and project files updated)
   7430   utglobal.c   -> utdecode.c
   7431   dbcomds.c    -> dbmethod.c dbnames.c
   7432   dsopcode.c   -> dsargs.c dscontrol.c
   7433   dsload.c     -> dsload2.c
   7434   aslanalyze.c -> aslbtypes.c aslwalks.c
   7435 
   7436 Example Code and Data Size: These are the sizes for the OS-independent 
   7437 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7438 debug version of the code includes the debug output trace mechanism and 
   7439 has 
   7440 a much larger code and data size.
   7441 
   7442   Previous Release (VC 9.0):
   7443     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   7444     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   7445   Current Release (VC 9.0):
   7446     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   7447     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   7448 
   7449 2) iASL Compiler/Disassembler and Tools:
   7450 
   7451 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
   7452 These are useful C-style macros with the standard definitions. ACPICA 
   7453 bugzilla 898.
   7454 
   7455 iASL/DTC: Added support for integer expressions and labels. Support for 
   7456 full 
   7457 expressions for all integer fields in all ACPI tables. Support for labels 
   7458 in 
   7459 "generic" portions of tables such as UEFI. See the iASL reference manual.
   7460 
   7461 Debugger: Added a command to display the status of global handlers. The 
   7462 "handlers" command will display op region, fixed event, and miscellaneous 
   7463 global handlers. installation status -- and for op regions, whether 
   7464 default 
   7465 or user-installed handler will be used.
   7466 
   7467 iASL: Warn if reserved method incorrectly returns a value. Many 
   7468 predefined 
   7469 names are defined such that they do not return a value. If implemented as 
   7470 a 
   7471 method, issue a warning if such a name explicitly returns a value. ACPICA 
   7472 Bugzilla 855.
   7473 
   7474 iASL: Added detection of GPE method name conflicts. Detects a conflict 
   7475 where 
   7476 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
   7477 (For 
   7478 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
   7479 
   7480 iASL/DTC: Fixed a couple input scanner issues with comments and line 
   7481 numbers. Comment remover could get confused and miss a comment ending. 
   7482 Fixed 
   7483 a problem with line counter maintenance.
   7484 
   7485 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
   7486 is 
   7487 no need to abort on simple errors within a field definition.
   7488 
   7489 Debugger: Simplified the output of the help command. All help output now 
   7490 in 
   7491 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
   7492 
   7493 ----------------------------------------
   7494 12 January 2011. Summary of changes for version 20110112:
   7495 
   7496 1) ACPI CA Core Subsystem:
   7497 
   7498 Fixed a race condition between method execution and namespace walks that 
   7499 can 
   7500 possibly cause a fault. The problem was apparently introduced in version 
   7501 20100528 as a result of a performance optimization that reduces the 
   7502 number 
   7503 of 
   7504 namespace walks upon method exit by using the delete_namespace_subtree 
   7505 function instead of the delete_namespace_by_owner function used 
   7506 previously. 
   7507 Bug is a missing namespace lock in the delete_namespace_subtree function. 
   7508 dana.myers (a] oracle.com
   7509 
   7510 Fixed several issues and a possible fault with the automatic "serialized" 
   7511 method support. History: This support changes a method to "serialized" on 
   7512 the 
   7513 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
   7514 possibility that it cannot handle reentrancy. This fix repairs a couple 
   7515 of 
   7516 issues seen in the field, especially on machines with many cores:
   7517 
   7518     1) Delete method children only upon the exit of the last thread,
   7519        so as to not delete objects out from under other running threads
   7520       (and possibly causing a fault.)
   7521     2) Set the "serialized" bit for the method only upon the exit of the
   7522        Last thread, so as to not cause deadlock when running threads
   7523        attempt to exit.
   7524     3) Cleanup the use of the AML "MethodFlags" and internal method flags
   7525        so that there is no longer any confusion between the two.
   7526 
   7527     Lin Ming, Bob Moore. Reported by dana.myers (a] oracle.com.
   7528 
   7529 Debugger: Now lock the namespace for duration of a namespace dump. 
   7530 Prevents 
   7531 issues if the namespace is changing dynamically underneath the debugger. 
   7532 Especially affects temporary namespace nodes, since the debugger displays 
   7533 these also.
   7534 
   7535 Updated the ordering of include files. The ACPICA headers should appear 
   7536 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
   7537 set 
   7538 any necessary compiler-specific defines, etc. Affects the ACPI-related 
   7539 tools 
   7540 and utilities.
   7541 
   7542 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
   7543 copyright 
   7544 to all module headers and signons, including the Linux header. This 
   7545 affects 
   7546 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
   7547 utilities.
   7548 
   7549 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
   7550 project files for VC++ 6.0 are now obsolete. New project files can be 
   7551 found 
   7552 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
   7553 details.
   7554 
   7555 Example Code and Data Size: These are the sizes for the OS-independent 
   7556 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7557 debug version of the code includes the debug output trace mechanism and 
   7558 has a 
   7559 much larger code and data size.
   7560 
   7561   Previous Release (VC 6.0):
   7562     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   7563     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   7564   Current Release (VC 9.0):
   7565     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   7566     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   7567 
   7568 2) iASL Compiler/Disassembler and Tools:
   7569 
   7570 iASL: Added generic data types to the Data Table compiler. Add "generic" 
   7571 data 
   7572 types such as UINT32, String, Unicode, etc., to simplify the generation 
   7573 of 
   7574 platform-defined tables such as UEFI. Lin Ming.
   7575 
   7576 iASL: Added listing support for the Data Table Compiler. Adds listing 
   7577 support 
   7578 (-l) to display actual binary output for each line of input code.
   7579 
   7580 ----------------------------------------
   7581 09 December 2010. Summary of changes for version 20101209:
   7582 
   7583 1) ACPI CA Core Subsystem:
   7584 
   7585 Completed the major overhaul of the GPE support code that was begun in 
   7586 July 
   7587 2010. Major features include: removal of _PRW execution in ACPICA (host 
   7588 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
   7589 changes to existing interfaces, simplification of GPE handler operation, 
   7590 and 
   7591 a handful of new interfaces:
   7592 
   7593     AcpiUpdateAllGpes
   7594     AcpiFinishGpe
   7595     AcpiSetupGpeForWake
   7596     AcpiSetGpeWakeMask
   7597     One new file, evxfgpe.c to consolidate all external GPE interfaces.
   7598 
   7599 See the ACPICA Programmer Reference for full details and programming 
   7600 information. See the new section 4.4 "General Purpose Event (GPE) 
   7601 Support" 
   7602 for a full overview, and section 8.7 "ACPI General Purpose Event 
   7603 Management" 
   7604 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
   7605 Ming, 
   7606 Bob Moore, Rafael Wysocki.
   7607 
   7608 Implemented a new GPE feature for Windows compatibility, the "Implicit 
   7609 Wake 
   7610 GPE Notify". This feature will automatically issue a Notify(2) on a 
   7611 device 
   7612 when a Wake GPE is received if there is no corresponding GPE method or 
   7613 handler. ACPICA BZ 870.
   7614 
   7615 Fixed a problem with the Scope() operator during table parse and load 
   7616 phase. 
   7617 During load phase (table load or method execution), the scope operator 
   7618 should 
   7619 not enter the target into the namespace. Instead, it should open a new 
   7620 scope 
   7621 at the target location. Linux BZ 19462, ACPICA BZ 882.
   7622 
   7623 Example Code and Data Size: These are the sizes for the OS-independent 
   7624 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7625 debug version of the code includes the debug output trace mechanism and 
   7626 has a 
   7627 much larger code and data size.
   7628 
   7629   Previous Release:
   7630     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   7631     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   7632   Current Release:
   7633     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   7634     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   7635 
   7636 2) iASL Compiler/Disassembler and Tools:
   7637 
   7638 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
   7639 are 
   7640 "bus-specific" per the ACPI specification, and therefore any characters 
   7641 are 
   7642 acceptable. The only checks that can be performed are for a null string 
   7643 and 
   7644 perhaps for a leading asterisk. ACPICA BZ 886.
   7645 
   7646 iASL: Fixed a problem where a syntax error that caused a premature EOF 
   7647 condition on the source file emitted a very confusing error message. The 
   7648 premature EOF is now detected correctly. ACPICA BZ 891.
   7649 
   7650 Disassembler: Decode the AccessSize within a Generic Address Structure 
   7651 (byte 
   7652 access, word access, etc.) Note, this field does not allow arbitrary bit 
   7653 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
   7654 
   7655 New: AcpiNames utility - Example namespace dump utility. Shows an example 
   7656 of 
   7657 ACPICA configuration for a minimal namespace dump utility. Uses table and 
   7658 namespace managers, but no AML interpreter. Does not add any 
   7659 functionality 
   7660 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
   7661 partition and configure ACPICA. ACPICA BZ 883.
   7662 
   7663 AML Debugger: Increased the debugger buffer size for method return 
   7664 objects. 
   7665 Was 4K, increased to 16K. Also enhanced error messages for debugger 
   7666 method 
   7667 execution, including the buffer overflow case.
   7668 
   7669 ----------------------------------------
   7670 13 October 2010. Summary of changes for version 20101013:
   7671 
   7672 1) ACPI CA Core Subsystem:
   7673 
   7674 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
   7675 now 
   7676 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
   7677 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
   7678 
   7679 Changed the type of the predefined namespace object _TZ from ThermalZone 
   7680 to 
   7681 Device. This was found to be confusing to the host software that 
   7682 processes 
   7683 the various thermal zones, since _TZ is not really a ThermalZone. 
   7684 However, 
   7685 a 
   7686 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
   7687 Zhang.
   7688 
   7689 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
   7690 string is "Windows 2006 SP2".
   7691 
   7692 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
   7693 nsrepair 
   7694 code automatically repairs _HID-related strings, this type of code is no 
   7695 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
   7696 878.
   7697 
   7698 Example Code and Data Size: These are the sizes for the OS-independent 
   7699 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7700 debug version of the code includes the debug output trace mechanism and 
   7701 has a 
   7702 much larger code and data size.
   7703 
   7704   Previous Release:
   7705     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   7706     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   7707   Current Release:
   7708     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   7709     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   7710 
   7711 2) iASL Compiler/Disassembler and Tools:
   7712 
   7713 iASL: Implemented additional compile-time validation for _HID strings. 
   7714 The 
   7715 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
   7716 length 
   7717 of 
   7718 the string must be exactly seven or eight characters. For both _HID and 
   7719 _CID 
   7720 strings, all characters must be alphanumeric. ACPICA BZ 874.
   7721 
   7722 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
   7723 descriptors that are mostly or all zeros, with the expectation that they 
   7724 will 
   7725 be filled in at runtime. iASL now allows this as long as there is a 
   7726 "resource 
   7727 tag" (name) associated with the descriptor, which gives the ASL a handle 
   7728 needed to modify the descriptor. ACPICA BZ 873.
   7729 
   7730 Added single-thread support to the generic Unix application OSL. 
   7731 Primarily 
   7732 for iASL support, this change removes the use of semaphores in the 
   7733 single-
   7734 threaded ACPICA tools/applications - increasing performance. The 
   7735 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
   7736 option. ACPICA BZ 879.
   7737 
   7738 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
   7739 support 
   7740 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
   7741 
   7742 iASL: Moved all compiler messages to a new file, aslmessages.h.
   7743 
   7744 ----------------------------------------
   7745 15 September 2010. Summary of changes for version 20100915:
   7746 
   7747 1) ACPI CA Core Subsystem:
   7748 
   7749 Removed the AcpiOsDerivePciId OSL interface. The various host 
   7750 implementations 
   7751 of this function were not OS-dependent and are now obsolete and can be 
   7752 removed from all host OSLs. This function has been replaced by 
   7753 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
   7754 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
   7755 module, hwpci.c. ACPICA BZ 857.
   7756 
   7757 Implemented a dynamic repair for _HID and _CID strings. The following 
   7758 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
   7759 string, and 2) the entire string is uppercased. Both repairs are in 
   7760 accordance with the ACPI specification and will simplify host driver 
   7761 code. 
   7762 ACPICA BZ 871.
   7763 
   7764 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
   7765 always UINT64. This simplifies the ACPICA code, especially any printf 
   7766 output. 
   7767 UINT64 is the only common data type for all thread_id types across all 
   7768 operating systems. It is now up to the host OSL to cast the native 
   7769 thread_id 
   7770 type to UINT64 before returning the value to ACPICA (via 
   7771 AcpiOsGetThreadId). 
   7772 Lin Ming, Bob Moore.
   7773 
   7774 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
   7775 "inline" 
   7776 keyword is not standard across compilers, and this type allows inline to 
   7777 be 
   7778 configured on a per-compiler basis. Lin Ming.
   7779 
   7780 Made the system global AcpiGbl_SystemAwakeAndRunning publicly
   7781 available. 
   7782 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
   7783 value 
   7784 during suspend/restore operations. ACPICA BZ 869.
   7785 
   7786 All code that implements error/warning messages with the "ACPI:" prefix 
   7787 has 
   7788 been moved to a new module, utxferror.c.
   7789 
   7790 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
   7791 it 
   7792 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
   7793 
   7794 Example Code and Data Size: These are the sizes for the OS-independent 
   7795 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7796 debug version of the code includes the debug output trace mechanism and 
   7797 has a 
   7798 much larger code and data size.
   7799 
   7800   Previous Release:
   7801     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   7802     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   7803   Current Release:
   7804     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   7805     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   7806 
   7807 2) iASL Compiler/Disassembler and Tools:
   7808 
   7809 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
   7810 file. 
   7811 This keeps the output files free of random error messages that may 
   7812 originate 
   7813 from within the namespace/interpreter code. Used this opportunity to 
   7814 merge 
   7815 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
   7816 866. Lin Ming, Bob Moore.
   7817 
   7818 Tools: update some printfs for ansi warnings on size_t. Handle width 
   7819 change 
   7820 of size_t on 32-bit versus 64-bit generations. Lin Ming.
   7821 
   7822 ----------------------------------------
   7823 06 August 2010. Summary of changes for version 20100806:
   7824 
   7825 1) ACPI CA Core Subsystem:
   7826 
   7827 Designed and implemented a new host interface to the _OSI support code. 
   7828 This 
   7829 will allow the host to dynamically add or remove multiple _OSI strings, 
   7830 as 
   7831 well as install an optional handler that is called for each _OSI 
   7832 invocation. 
   7833 Also added a new AML debugger command, 'osi' to display and modify the 
   7834 global 
   7835 _OSI string table, and test support in the AcpiExec utility. See the 
   7836 ACPICA 
   7837 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
   7838 New Functions:
   7839     AcpiInstallInterface - Add an _OSI string.
   7840     AcpiRemoveInterface - Delete an _OSI string.
   7841     AcpiInstallInterfaceHandler - Install optional _OSI handler.
   7842 Obsolete Functions:
   7843     AcpiOsValidateInterface - no longer used.
   7844 New Files:
   7845     source/components/utilities/utosi.c
   7846 
   7847 Re-introduced the support to enable multi-byte transfers for Embedded 
   7848 Controller (EC) operation regions. A reported problem was found to be a 
   7849 bug 
   7850 in the host OS, not in the multi-byte support. Previously, the maximum 
   7851 data 
   7852 size passed to the EC operation region handler was a single byte. There 
   7853 are 
   7854 often EC Fields larger than one byte that need to be transferred, and it 
   7855 is 
   7856 useful for the EC driver to lock these as a single transaction. This 
   7857 change 
   7858 enables single transfers larger than 8 bits. This effectively changes the 
   7859 access to the EC space from ByteAcc to AnyAcc, and will probably require 
   7860 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
   7861 bit 
   7862 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
   7863 
   7864 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
   7865 prototype in acpiosxf.h had the output value pointer as a (void *).
   7866 It should be a (UINT64 *). This may affect some host OSL code.
   7867 
   7868 Fixed a couple problems with the recently modified Linux makefiles for 
   7869 iASL 
   7870 and AcpiExec. These new makefiles place the generated object files in the 
   7871 local directory so that there can be no collisions between the files that 
   7872 are 
   7873 shared between them that are compiled with different options.
   7874 
   7875 Example Code and Data Size: These are the sizes for the OS-independent 
   7876 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7877 debug version of the code includes the debug output trace mechanism and 
   7878 has a 
   7879 much larger code and data size.
   7880 
   7881   Previous Release:
   7882     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   7883     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   7884   Current Release:
   7885     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   7886     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   7887 
   7888 2) iASL Compiler/Disassembler and Tools:
   7889 
   7890 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
   7891 the 
   7892 namespace from and disassemble an entire group of AML files. Useful for 
   7893 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
   7894 and 
   7895 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
   7896 
   7897 iASL: Allow multiple invocations of -e option. This change allows 
   7898 multiple 
   7899 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
   7900 834. 
   7901 Lin Ming.
   7902 
   7903 ----------------------------------------
   7904 02 July 2010. Summary of changes for version 20100702:
   7905 
   7906 1) ACPI CA Core Subsystem:
   7907 
   7908 Implemented several updates to the recently added GPE reference count 
   7909 support. The model for "wake" GPEs is changing to give the host OS 
   7910 complete 
   7911 control of these GPEs. Eventually, the ACPICA core will not execute any 
   7912 _PRW 
   7913 methods, since the host already must execute them. Also, additional 
   7914 changes 
   7915 were made to help ensure that the reference counts are kept in proper 
   7916 synchronization with reality. Rafael J. Wysocki.
   7917 
   7918 1) Ensure that GPEs are not enabled twice during initialization.
   7919 2) Ensure that GPE enable masks stay in sync with the reference count.
   7920 3) Do not inadvertently enable GPEs when writing GPE registers.
   7921 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
   7922 interface. This interface will set or clear individual GPEs for wakeup.
   7923 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
   7924 interfaces 
   7925 are now used for "runtime" GPEs only.
   7926 
   7927 Changed the behavior of the GPE install/remove handler interfaces. The 
   7928 GPE 
   7929 is 
   7930 no longer disabled during this process, as it was found to cause problems 
   7931 on 
   7932 some machines. Rafael J. Wysocki.
   7933 
   7934 Reverted a change introduced in version 20100528 to enable Embedded 
   7935 Controller multi-byte transfers. This change was found to cause problems 
   7936 with 
   7937 Index Fields and possibly Bank Fields. It will be reintroduced when these 
   7938 problems have been resolved.
   7939 
   7940 Fixed a problem with references to Alias objects within Package Objects. 
   7941 A 
   7942 reference to an Alias within the definition of a Package was not always 
   7943 resolved properly. Aliases to objects like Processors, Thermal zones, 
   7944 etc. 
   7945 were resolved to the actual object instead of a reference to the object 
   7946 as 
   7947 it 
   7948 should be. Package objects are only allowed to contain integer, string, 
   7949 buffer, package, and reference objects. Redhat bugzilla 608648.
   7950 
   7951 Example Code and Data Size: These are the sizes for the OS-independent 
   7952 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   7953 debug version of the code includes the debug output trace mechanism and 
   7954 has a 
   7955 much larger code and data size.
   7956 
   7957   Previous Release:
   7958     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   7959     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   7960   Current Release:
   7961     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   7962     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   7963 
   7964 2) iASL Compiler/Disassembler and Tools:
   7965 
   7966 iASL: Implemented a new compiler subsystem to allow definition and 
   7967 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
   7968 These 
   7969 are called "ACPI Data Tables", and the new compiler is the "Data Table 
   7970 Compiler". This compiler is intended to simplify the existing error-prone 
   7971 process of creating these tables for the BIOS, as well as allowing the 
   7972 disassembly, modification, recompilation, and override of existing ACPI 
   7973 data 
   7974 tables. See the iASL User Guide for detailed information.
   7975 
   7976 iASL: Implemented a new Template Generator option in support of the new 
   7977 Data 
   7978 Table Compiler. This option will create examples of all known ACPI tables 
   7979 that can be used as the basis for table development. See the iASL 
   7980 documentation and the -T option.
   7981 
   7982 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
   7983 Descriptor Table).
   7984 
   7985 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
   7986 object files in the local directory so that there can be no collisions 
   7987 between the shared files between them that are generated with different 
   7988 options.
   7989 
   7990 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
   7991 Use 
   7992 the #define __APPLE__ to enable this support.
   7993 
   7994 ----------------------------------------
   7995 28 May 2010. Summary of changes for version 20100528:
   7996 
   7997 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
   7998 available at www.acpi.info. This is primarily an errata release.
   7999 
   8000 1) ACPI CA Core Subsystem:
   8001 
   8002 Undefined ACPI tables: We are looking for the definitions for the 
   8003 following 
   8004 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
   8005 
   8006 Implemented support to enable multi-byte transfers for Embedded 
   8007 Controller 
   8008 (EC) operation regions. Previously, the maximum data size passed to the 
   8009 EC 
   8010 operation region handler was a single byte. There are often EC Fields 
   8011 larger 
   8012 than one byte that need to be transferred, and it is useful for the EC 
   8013 driver 
   8014 to lock these as a single transaction. This change enables single 
   8015 transfers 
   8016 larger than 8 bits. This effectively changes the access to the EC space 
   8017 from 
   8018 ByteAcc to AnyAcc, and will probably require changes to the host OS 
   8019 Embedded 
   8020 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
   8021 bit 
   8022 transfers. Alexey Starikovskiy, Lin Ming
   8023 
   8024 Implemented a performance enhancement for namespace search and access. 
   8025 This 
   8026 change enhances the performance of namespace searches and walks by adding 
   8027 a 
   8028 backpointer to the parent in each namespace node. On large namespaces, 
   8029 this 
   8030 change can improve overall ACPI performance by up to 9X. Adding a pointer 
   8031 to 
   8032 each namespace node increases the overall size of the internal namespace 
   8033 by 
   8034 about 5%, since each namespace entry usually consists of both a namespace 
   8035 node and an ACPI operand object. However, this is the first growth of the 
   8036 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
   8037 
   8038 Implemented a performance optimization that reduces the number of 
   8039 namespace 
   8040 walks. On control method exit, only walk the namespace if the method is 
   8041 known 
   8042 to have created namespace objects outside of its local scope. Previously, 
   8043 the 
   8044 entire namespace was traversed on each control method exit. This change 
   8045 can 
   8046 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
   8047 Moore.
   8048 
   8049 Added support to truncate I/O addresses to 16 bits for Windows 
   8050 compatibility. 
   8051 Some ASL code has been seen in the field that inadvertently has bits set 
   8052 above bit 15. This feature is optional and is enabled if the BIOS 
   8053 requests 
   8054 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
   8055 Garrett, Bob Moore.
   8056 
   8057 Added support to limit the maximum time for the ASL Sleep() operator. To 
   8058 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
   8059 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
   8060 bugzilla 854.
   8061 
   8062 Added run-time validation support for the _WDG and_WED Microsoft 
   8063 predefined 
   8064 methods. These objects are defined by "Windows Instrumentation", and are 
   8065 not 
   8066 part of the ACPI spec. ACPICA BZ 860.
   8067 
   8068 Expanded all statistic counters used during namespace and device 
   8069 initialization from 16 to 32 bits in order to support very large 
   8070 namespaces.
   8071 
   8072 Replaced all instances of %d in printf format specifiers with %u since 
   8073 nearly 
   8074 all integers in ACPICA are unsigned.
   8075 
   8076 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
   8077 returned 
   8078 as AE_NO_HANDLER.
   8079 
   8080 Example Code and Data Size: These are the sizes for the OS-independent 
   8081 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8082 debug version of the code includes the debug output trace mechanism and 
   8083 has a 
   8084 much larger code and data size.
   8085 
   8086   Previous Release:
   8087     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   8088     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   8089   Current Release:
   8090     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   8091     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   8092 
   8093 2) iASL Compiler/Disassembler and Tools:
   8094 
   8095 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
   8096 methods. These objects are defined by "Windows Instrumentation", and are 
   8097 not 
   8098 part of the ACPI spec. ACPICA BZ 860.
   8099 
   8100 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
   8101 option will disable the tracking mechanism, which improves performance 
   8102 considerably.
   8103 
   8104 AcpiExec: Restructured the command line options into -d (disable) and -e 
   8105 (enable) options.
   8106 
   8107 ----------------------------------------
   8108 28 April 2010. Summary of changes for version 20100428:
   8109 
   8110 1) ACPI CA Core Subsystem:
   8111 
   8112 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
   8113 including FADT-based and GPE Block Devices, execute any _PRW methods in 
   8114 the 
   8115 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
   8116 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
   8117 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
   8118 Devices. Provides compatibility with other ACPI implementations. Two new 
   8119 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
   8120 Moore.
   8121 
   8122 Fixed a regression introduced in version 20100331 within the table 
   8123 manager 
   8124 where initial table loading could fail. This was introduced in the fix 
   8125 for 
   8126 AcpiReallocateRootTable. Also, renamed some of fields in the table 
   8127 manager 
   8128 data structures to clarify their meaning and use.
   8129 
   8130 Fixed a possible allocation overrun during internal object copy in 
   8131 AcpiUtCopySimpleObject. The original code did not correctly handle the 
   8132 case 
   8133 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
   8134 847.
   8135 
   8136 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
   8137 possible access beyond end-of-allocation. Also, now fully validate 
   8138 descriptor 
   8139 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
   8140 
   8141 Example Code and Data Size: These are the sizes for the OS-independent 
   8142 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8143 debug version of the code includes the debug output trace mechanism and 
   8144 has a 
   8145 much larger code and data size.
   8146 
   8147   Previous Release:
   8148     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   8149     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   8150   Current Release:
   8151     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   8152     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   8153 
   8154 2) iASL Compiler/Disassembler and Tools:
   8155 
   8156 iASL: Implemented Min/Max/Len/Gran validation for address resource 
   8157 descriptors. This change implements validation for the address fields 
   8158 that 
   8159 are common to all address-type resource descriptors. These checks are 
   8160 implemented: Checks for valid Min/Max, length within the Min/Max window, 
   8161 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
   8162 per 
   8163 table 6-40 in the ACPI 4.0a specification. Also split the large 
   8164 aslrestype1.c 
   8165 and aslrestype2.c files into five new files. ACPICA BZ 840.
   8166 
   8167 iASL: Added support for the _Wxx predefined names. This support was 
   8168 missing 
   8169 and these names were not recognized by the compiler as valid predefined 
   8170 names. ACPICA BZ 851.
   8171 
   8172 iASL: Added an error for all predefined names that are defined to return 
   8173 no 
   8174 value and thus must be implemented as Control Methods. These include all 
   8175 of 
   8176 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
   8177 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
   8178 
   8179 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
   8180 an 
   8181 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
   8182 be 
   8183 dynamically loaded via the Load() operator. Also cleaned up output for 
   8184 the 
   8185 -
   8186 ta and -tc options. ACPICA BZ 853.
   8187 
   8188 Tests: Added a new file with examples of extended iASL error checking. 
   8189 Demonstrates the advanced error checking ability of the iASL compiler. 
   8190 Available at tests/misc/badcode.asl.
   8191 
   8192 ----------------------------------------
   8193 31 March 2010. Summary of changes for version 20100331:
   8194 
   8195 1) ACPI CA Core Subsystem:
   8196 
   8197 Completed a major update for the GPE support in order to improve support 
   8198 for 
   8199 shared GPEs and to simplify both host OS and ACPICA code. Added a 
   8200 reference 
   8201 count mechanism to support shared GPEs that require multiple device 
   8202 drivers. 
   8203 Several external interfaces have changed. One external interface has been 
   8204 removed. One new external interface was added. Most of the GPE external 
   8205 interfaces now use the GPE spinlock instead of the events mutex (and the 
   8206 Flags parameter for many GPE interfaces has been removed.) See the 
   8207 updated 
   8208 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
   8209 Rafael 
   8210 Wysocki. ACPICA BZ 831.
   8211 
   8212 Changed:
   8213     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
   8214 Removed:
   8215     AcpiSetGpeType
   8216 New:
   8217     AcpiSetGpe
   8218 
   8219 Implemented write support for DataTable operation regions. These regions 
   8220 are 
   8221 defined via the DataTableRegion() operator. Previously, only read support 
   8222 was 
   8223 implemented. The ACPI specification allows DataTableRegions to be 
   8224 read/write, 
   8225 however.
   8226 
   8227 Implemented a new subsystem option to force a copy of the DSDT to local 
   8228 memory. Optionally copy the entire DSDT to local memory (instead of 
   8229 simply 
   8230 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
   8231 replace 
   8232 the original DSDT, creating the need for this option. Default is FALSE, 
   8233 do 
   8234 not copy the DSDT.
   8235 
   8236 Implemented detection of a corrupted or replaced DSDT. This change adds 
   8237 support to detect a DSDT that has been corrupted and/or replaced from 
   8238 outside 
   8239 the OS (by firmware). This is typically catastrophic for the system, but 
   8240 has 
   8241 been seen on some machines. Once this problem has been detected, the DSDT 
   8242 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
   8243 
   8244 Fixed two problems with AcpiReallocateRootTable during the root table 
   8245 copy. 
   8246 When copying the root table to the new allocation, the length used was 
   8247 incorrect. The new size was used instead of the current table size, 
   8248 meaning 
   8249 too much data was copied. Also, the count of available slots for ACPI 
   8250 tables 
   8251 was not set correctly. Alexey Starikovskiy, Bob Moore.
   8252 
   8253 Example Code and Data Size: These are the sizes for the OS-independent 
   8254 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8255 debug version of the code includes the debug output trace mechanism and 
   8256 has a 
   8257 much larger code and data size.
   8258 
   8259   Previous Release:
   8260     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   8261     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   8262   Current Release:
   8263     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   8264     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   8265 
   8266 2) iASL Compiler/Disassembler and Tools:
   8267 
   8268 iASL: Implement limited typechecking for values returned from predefined 
   8269 control methods. The type of any returned static (unnamed) object is now 
   8270 validated. For example, Return(1). ACPICA BZ 786.
   8271 
   8272 iASL: Fixed a predefined name object verification regression. Fixes a 
   8273 problem 
   8274 introduced in version 20100304. An error is incorrectly generated if a 
   8275 predefined name is declared as a static named object with a value defined 
   8276 using the keywords "Zero", "One", or "Ones". Lin Ming.
   8277 
   8278 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
   8279 by 
   8280 reducing the requested registry access rights. ACPICA BZ 842.
   8281 
   8282 Disassembler: fixed a possible fault when generating External() 
   8283 statements. 
   8284 Introduced in commit ae7d6fd: Properly handle externals with parent-
   8285 prefix 
   8286 (carat). Fixes a string length allocation calculation. Lin Ming.
   8287 
   8288 ----------------------------------------
   8289 04 March 2010. Summary of changes for version 20100304:
   8290 
   8291 1) ACPI CA Core Subsystem:
   8292 
   8293 Fixed a possible problem with the AML Mutex handling function 
   8294 AcpiExReleaseMutex where the function could fault under the very rare 
   8295 condition when the interpreter has blocked, the interpreter lock is 
   8296 released, 
   8297 the interpreter is then reentered via the same thread, and attempts to 
   8298 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
   8299 Lin 
   8300 Ming.
   8301 
   8302 Implemented additional configuration support for the AML "Debug Object". 
   8303 Output from the debug object can now be enabled via a global variable, 
   8304 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
   8305 debugging. 
   8306 This debug output is now available in the release version of ACPICA 
   8307 instead 
   8308 of just the debug version. Also, the entire debug output module can now 
   8309 be 
   8310 configured out of the ACPICA build if desired. One new file added, 
   8311 executer/exdebug.c. Lin Ming, Bob Moore.
   8312 
   8313 Added header support for the ACPI MCHI table (Management Controller Host 
   8314 Interface Table). This table was added in ACPI 4.0, but the defining 
   8315 document 
   8316 has only recently become available.
   8317 
   8318 Standardized output of integer values for ACPICA warnings/errors. Always 
   8319 use 
   8320 0x prefix for hex output, always use %u for unsigned integer decimal 
   8321 output. 
   8322 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
   8323 400 
   8324 invocations.) These invocations were converted from the original 
   8325 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
   8326 
   8327 Example Code and Data Size: These are the sizes for the OS-independent 
   8328 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8329 debug version of the code includes the debug output trace mechanism and 
   8330 has a 
   8331 much larger code and data size.
   8332 
   8333   Previous Release:
   8334     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   8335     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   8336   Current Release:
   8337     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   8338     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   8339 
   8340 2) iASL Compiler/Disassembler and Tools:
   8341 
   8342 iASL: Implemented typechecking support for static (non-control method) 
   8343 predefined named objects that are declared with the Name() operator. For 
   8344 example, the type of this object is now validated to be of type Integer: 
   8345 Name(_BBN, 1). This change migrates the compiler to using the core 
   8346 predefined 
   8347 name table instead of maintaining a local version. Added a new file, 
   8348 aslpredef.c. ACPICA BZ 832.
   8349 
   8350 Disassembler: Added support for the ACPI 4.0 MCHI table.
   8351 
   8352 ----------------------------------------
   8353 21 January 2010. Summary of changes for version 20100121:
   8354 
   8355 1) ACPI CA Core Subsystem:
   8356 
   8357 Added the 2010 copyright to all module headers and signons. This affects 
   8358 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
   8359 tools/utilities, and the test suites.
   8360 
   8361 Implemented a change to the AcpiGetDevices interface to eliminate 
   8362 unnecessary 
   8363 invocations of the _STA method. In the case where a specific _HID is 
   8364 requested, do not run _STA until a _HID match is found. This eliminates 
   8365 potentially dozens of _STA calls during a search for a particular 
   8366 device/HID, 
   8367 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
   8368 
   8369 Implemented an additional repair for predefined method return values. 
   8370 Attempt 
   8371 to repair unexpected NULL elements within returned Package objects. 
   8372 Create 
   8373 an 
   8374 Integer of value zero, a NULL String, or a zero-length Buffer as 
   8375 appropriate. 
   8376 ACPICA BZ 818. Lin Ming, Bob Moore.
   8377 
   8378 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
   8379 the 
   8380 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
   8381 (with 
   8382 64-bit AML integers). It is now obsolete and this change removes it from 
   8383 the 
   8384 ACPICA code base, replaced by UINT64. The original typedef has been 
   8385 retained 
   8386 for now for compatibility with existing device driver code. ACPICA BZ 
   8387 824.
   8388 
   8389 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
   8390 in 
   8391 the parse tree object.
   8392 
   8393 Added additional warning options for the gcc-4 generation. Updated the 
   8394 source 
   8395 accordingly. This includes some code restructuring to eliminate 
   8396 unreachable 
   8397 code, elimination of some gotos, elimination of unused return values, 
   8398 some 
   8399 additional casting, and removal of redundant declarations.
   8400 
   8401 Example Code and Data Size: These are the sizes for the OS-independent 
   8402 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8403 debug version of the code includes the debug output trace mechanism and 
   8404 has a 
   8405 much larger code and data size.
   8406 
   8407   Previous Release:
   8408     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   8409     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   8410   Current Release:
   8411     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   8412     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   8413 
   8414 2) iASL Compiler/Disassembler and Tools:
   8415 
   8416 No functional changes for this release.
   8417 
   8418 ----------------------------------------
   8419 14 December 2009. Summary of changes for version 20091214:
   8420 
   8421 1) ACPI CA Core Subsystem:
   8422 
   8423 Enhanced automatic data type conversions for predefined name repairs. 
   8424 This 
   8425 change expands the automatic repairs/conversions for predefined name 
   8426 return 
   8427 values to make Integers, Strings, and Buffers fully interchangeable. 
   8428 Also, 
   8429 a 
   8430 Buffer can be converted to a Package of Integers if necessary. The 
   8431 nsrepair.c 
   8432 module was completely restructured. Lin Ming, Bob Moore.
   8433 
   8434 Implemented automatic removal of null package elements during predefined 
   8435 name 
   8436 repairs. This change will automatically remove embedded and trailing NULL 
   8437 package elements from returned package objects that are defined to 
   8438 contain 
   8439 a 
   8440 variable number of sub-packages. The driver is then presented with a 
   8441 package 
   8442 with no null elements to deal with. ACPICA BZ 819.
   8443 
   8444 Implemented a repair for the predefined _FDE and _GTM names. The expected 
   8445 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
   8446 two 
   8447 possible problems (both seen in the field), where a package of integers 
   8448 is 
   8449 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
   8450 Kim.
   8451 
   8452 Implemented additional module-level code support. This change will 
   8453 properly 
   8454 execute module-level code that is not at the root of the namespace (under 
   8455 a 
   8456 Device object, etc.). Now executes the code within the current scope 
   8457 instead 
   8458 of the root. ACPICA BZ 762. Lin Ming.
   8459 
   8460 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
   8461 a 
   8462 problem where mutex errors can occur when running a _REG method that is 
   8463 in 
   8464 the same scope as a method-defined operation region or an operation 
   8465 region 
   8466 under a module-level IF block. This type of code is rare, so the problem 
   8467 has 
   8468 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
   8469 
   8470 Fixed a possible memory leak during module-level code execution. An 
   8471 object 
   8472 could be leaked for each block of executed module-level code if the 
   8473 interpreter slack mode is enabled This change deletes any implicitly 
   8474 returned 
   8475 object from the module-level code block. Lin Ming.
   8476 
   8477 Removed messages for successful predefined repair(s). The repair 
   8478 mechanism 
   8479 was considered too wordy. Now, messages are only unconditionally emitted 
   8480 if 
   8481 the return object cannot be repaired. Existing messages for successful 
   8482 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
   8483 827.
   8484 
   8485 Example Code and Data Size: These are the sizes for the OS-independent 
   8486 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8487 debug version of the code includes the debug output trace mechanism and 
   8488 has a 
   8489 much larger code and data size.
   8490 
   8491   Previous Release:
   8492     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   8493     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   8494   Current Release:
   8495     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   8496     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   8497 
   8498 2) iASL Compiler/Disassembler and Tools:
   8499 
   8500 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
   8501 files 
   8502 were no longer automatically removed at the termination of the compile.
   8503 
   8504 acpiexec: Implemented the -f option to specify default region fill value. 
   8505 This option specifies the value used to initialize buffers that simulate 
   8506 operation regions. Default value is zero. Useful for debugging problems 
   8507 that 
   8508 depend on a specific initial value for a region or field.
   8509 
   8510 ----------------------------------------
   8511 12 November 2009. Summary of changes for version 20091112:
   8512 
   8513 1) ACPI CA Core Subsystem:
   8514 
   8515 Implemented a post-order callback to AcpiWalkNamespace. The existing 
   8516 interface only has a pre-order callback. This change adds an additional 
   8517 parameter for a post-order callback which will be more useful for bus 
   8518 scans. 
   8519 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
   8520 
   8521 Modified the behavior of the operation region memory mapping cache for 
   8522 SystemMemory. Ensure that the memory mappings created for operation 
   8523 regions 
   8524 do not cross 4K page boundaries. Crossing a page boundary while mapping 
   8525 regions can cause kernel warnings on some hosts if the pages have 
   8526 different 
   8527 attributes. Such regions are probably BIOS bugs, and this is the 
   8528 workaround. 
   8529 Linux BZ 14445. Lin Ming.
   8530 
   8531 Implemented an automatic repair for predefined methods that must return 
   8532 sorted lists. This change will repair (by sorting) packages returned by 
   8533 _ALR, 
   8534 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
   8535 sorted 
   8536 and do not contain NULL package elements. Adds one new file, 
   8537 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
   8538 
   8539 Fixed a possible fault during predefined name validation if a return 
   8540 Package 
   8541 object contains NULL elements. Also adds a warning if a NULL element is 
   8542 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
   8543 may 
   8544 include repair or removal of all such NULL elements where possible.
   8545 
   8546 Implemented additional module-level executable AML code support. This 
   8547 change 
   8548 will execute module-level code that is not at the root of the namespace 
   8549 (under a Device object, etc.) at table load time. Module-level executable 
   8550 AML 
   8551 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
   8552 
   8553 Implemented a new internal function to create Integer objects. This 
   8554 function 
   8555 simplifies miscellaneous object creation code. ACPICA BZ 823.
   8556 
   8557 Reduced the severity of predefined repair messages, Warning to Info. 
   8558 Since 
   8559 the object was successfully repaired, a warning is too severe. Reduced to 
   8560 an 
   8561 info message for now. These messages may eventually be changed to debug-
   8562 only. 
   8563 ACPICA BZ 812.
   8564 
   8565 Example Code and Data Size: These are the sizes for the OS-independent 
   8566 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8567 debug version of the code includes the debug output trace mechanism and 
   8568 has a 
   8569 much larger code and data size.
   8570 
   8571   Previous Release:
   8572     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   8573     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   8574   Current Release:
   8575     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   8576     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   8577 
   8578 2) iASL Compiler/Disassembler and Tools:
   8579 
   8580 iASL: Implemented Switch() with While(1) so that Break works correctly. 
   8581 This 
   8582 change correctly implements the Switch operator with a surrounding 
   8583 While(1) 
   8584 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
   8585 
   8586 iASL: Added a message if a package initializer list is shorter than 
   8587 package 
   8588 length. Adds a new remark for a Package() declaration if an initializer 
   8589 list 
   8590 exists, but is shorter than the declared length of the package. Although 
   8591 technically legal, this is probably a coding error and it is seen in the 
   8592 field. ACPICA BZ 815. Lin Ming, Bob Moore.
   8593 
   8594 iASL: Fixed a problem where the compiler could fault after the maximum 
   8595 number 
   8596 of errors was reached (200).
   8597 
   8598 acpixtract: Fixed a possible warning for pointer cast if the compiler 
   8599 warning 
   8600 level set very high.
   8601 
   8602 ----------------------------------------
   8603 13 October 2009. Summary of changes for version 20091013:
   8604 
   8605 1) ACPI CA Core Subsystem:
   8606 
   8607 Fixed a problem where an Operation Region _REG method could be executed 
   8608 more 
   8609 than once. If a custom address space handler is installed by the host 
   8610 before 
   8611 the "initialize operation regions" phase of the ACPICA initialization, 
   8612 any 
   8613 _REG methods for that address space could be executed twice. This change 
   8614 fixes the problem. ACPICA BZ 427. Lin Ming.
   8615 
   8616 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
   8617 invocation of "Scope(\)" is executed (change scope to root), one internal 
   8618 operand object was leaked. Lin Ming.
   8619 
   8620 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
   8621 return value is defined as a Field object in the AML, and the field
   8622 size is less than or equal to the default width of an integer (32 or 
   8623 64),_MAT 
   8624 can incorrectly return an Integer instead of a Buffer. ACPICA now 
   8625 automatically repairs this problem. ACPICA BZ 810.
   8626 
   8627 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
   8628 The 
   8629 "OEM Information" field is often incorrectly returned as an Integer with 
   8630 value zero if the field is not supported by the platform. This is due to 
   8631 an 
   8632 ambiguity in the ACPI specification. The field should always be a string. 
   8633 ACPICA now automatically repairs this problem by returning a NULL string 
   8634 within the returned Package. ACPICA BZ 807.
   8635 
   8636 Example Code and Data Size: These are the sizes for the OS-independent 
   8637 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8638 debug version of the code includes the debug output trace mechanism and 
   8639 has a 
   8640 much larger code and data size.
   8641 
   8642   Previous Release:
   8643     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   8644     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   8645   Current Release:
   8646     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   8647     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   8648 
   8649 2) iASL Compiler/Disassembler and Tools:
   8650 
   8651 Disassembler: Fixed a problem where references to external symbols that 
   8652 contained one or more parent-prefixes (carats) were not handled 
   8653 correctly, 
   8654 possibly causing a fault. ACPICA BZ 806. Lin Ming.
   8655 
   8656 Disassembler: Restructured the code so that all functions that handle 
   8657 external symbols are in a single module. One new file is added, 
   8658 common/dmextern.c.
   8659 
   8660 AML Debugger: Added a max count argument for the Batch command (which 
   8661 executes multiple predefined methods within the namespace.)
   8662 
   8663 iASL: Updated the compiler documentation (User Reference.) Available at 
   8664 http://www.acpica.org/documentation/. ACPICA BZ 750.
   8665 
   8666 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
   8667 files.
   8668 
   8669 ----------------------------------------
   8670 03 September 2009. Summary of changes for version 20090903:
   8671 
   8672 1) ACPI CA Core Subsystem:
   8673 
   8674 For Windows Vista compatibility, added the automatic execution of an _INI 
   8675 method located at the namespace root (\_INI). This method is executed at 
   8676 table load time. This support is in addition to the automatic execution 
   8677 of 
   8678 \_SB._INI. Lin Ming.
   8679 
   8680 Fixed a possible memory leak in the interpreter for AML package objects 
   8681 if 
   8682 the package initializer list is longer than the defined size of the 
   8683 package. 
   8684 This apparently can only happen if the BIOS changes the package size on 
   8685 the 
   8686 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
   8687 interpreter will truncate the package to the defined size (and issue an 
   8688 error 
   8689 message), but previously could leave the extra objects undeleted if they 
   8690 were 
   8691 pre-created during the argument processing (such is the case if the 
   8692 package 
   8693 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
   8694 
   8695 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
   8696 This has been reported in the field. Previously, ACPICA would zero out 
   8697 the 
   8698 buffer/string. Now, the operation is treated as a noop. Provides Windows 
   8699 compatibility. ACPICA BZ 803. Lin Ming.
   8700 
   8701 Removed an extraneous error message for ASL constructs of the form 
   8702 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
   8703 statements 
   8704 are seen in many BIOSs and are once again treated as NOOPs and no error 
   8705 is 
   8706 emitted when they are encountered. ACPICA BZ 785.
   8707 
   8708 Fixed an extraneous warning message if a _DSM reserved method returns a 
   8709 Package object. _DSM can return any type of object, so validation on the 
   8710 return type cannot be performed. ACPICA BZ 802.
   8711 
   8712 Example Code and Data Size: These are the sizes for the OS-independent 
   8713 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8714 debug version of the code includes the debug output trace mechanism and 
   8715 has a 
   8716 much larger code and data size.
   8717 
   8718   Previous Release:
   8719     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   8720     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   8721   Current Release:
   8722     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   8723     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   8724 
   8725 2) iASL Compiler/Disassembler and Tools:
   8726 
   8727 iASL: Fixed a problem with the use of the Alias operator and Resource 
   8728 Templates. The correct alias is now constructed and no error is emitted. 
   8729 ACPICA BZ 738.
   8730 
   8731 iASL: Implemented the -I option to specify additional search directories 
   8732 for 
   8733 include files. Allows multiple additional search paths for include files. 
   8734 Directories are searched in the order specified on the command line 
   8735 (after 
   8736 the local directory is searched.) ACPICA BZ 800.
   8737 
   8738 iASL: Fixed a problem where the full pathname for include files was not 
   8739 emitted for warnings/errors. This caused the IDE support to not work 
   8740 properly. ACPICA BZ 765.
   8741 
   8742 iASL: Implemented the -@ option to specify a Windows-style response file 
   8743 containing additional command line options. ACPICA BZ 801.
   8744 
   8745 AcpiExec: Added support to load multiple AML files simultaneously (such 
   8746 as 
   8747 a 
   8748 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
   8749 pathname. These features allow all machine tables to be easily loaded and 
   8750 debugged together. ACPICA BZ 804.
   8751 
   8752 Disassembler: Added missing support for disassembly of HEST table Error 
   8753 Bank 
   8754 subtables. 
   8755 
   8756 ----------------------------------------
   8757 30 July 2009. Summary of changes for version 20090730:
   8758 
   8759 The ACPI 4.0 implementation for ACPICA is complete with this release.
   8760 
   8761 1) ACPI CA Core Subsystem:
   8762 
   8763 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
   8764 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
   8765 new 
   8766 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
   8767 BERT, 
   8768 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
   8769 There 
   8770 have been some ACPI 4.0 changes to other existing tables. Split the large 
   8771 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
   8772 
   8773 ACPI 4.0: Implemented predefined name validation for all new names. There 
   8774 are 
   8775 31 new names in ACPI 4.0. The predefined validation module was split into 
   8776 two 
   8777 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
   8778 
   8779 Implemented support for so-called "module-level executable code". This is 
   8780 executable AML code that exists outside of any control method and is 
   8781 intended 
   8782 to be executed at table load time. Although illegal since ACPI 2.0, this 
   8783 type 
   8784 of code still exists and is apparently still being created. Blocks of 
   8785 this 
   8786 code are now detected and executed as intended. Currently, the code 
   8787 blocks 
   8788 must exist under either an If, Else, or While construct; these are the 
   8789 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
   8790 
   8791 Implemented an automatic dynamic repair for predefined names that return 
   8792 nested Package objects. This applies to predefined names that are defined 
   8793 to 
   8794 return a variable-length Package of sub-packages. If the number of sub-
   8795 packages is one, BIOS code is occasionally seen that creates a simple 
   8796 single 
   8797 package with no sub-packages. This code attempts to fix the problem by 
   8798 wrapping a new package object around the existing package. These methods 
   8799 can 
   8800 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
   8801 BZ 
   8802 790.
   8803 
   8804 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
   8805 interface. 
   8806 The _HID/_CID matching was broken and no longer matched IDs correctly. 
   8807 ACPICA 
   8808 BZ 793.
   8809 
   8810 Fixed a problem with AcpiReset where the reset would silently fail if the 
   8811 register was one of the protected I/O ports. AcpiReset now bypasses the 
   8812 port 
   8813 validation mechanism. This may eventually be driven into the 
   8814 AcpiRead/Write 
   8815 interfaces.
   8816 
   8817 Fixed a regression related to the recent update of the AcpiRead/Write 
   8818 interfaces. A sleep/suspend could fail if the optional PM2 Control 
   8819 register 
   8820 does not exist during an attempt to write the Bus Master Arbitration bit. 
   8821 (However, some hosts already delete the code that writes this bit, and 
   8822 the 
   8823 code may in fact be obsolete at this date.) ACPICA BZ 799.
   8824 
   8825 Fixed a problem where AcpiTerminate could fault if inadvertently called 
   8826 twice 
   8827 in succession. ACPICA BZ 795.
   8828 
   8829 Example Code and Data Size: These are the sizes for the OS-independent 
   8830 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8831 debug version of the code includes the debug output trace mechanism and 
   8832 has a 
   8833 much larger code and data size.
   8834 
   8835   Previous Release:
   8836     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   8837     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   8838   Current Release:
   8839     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   8840     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   8841 
   8842 2) iASL Compiler/Disassembler and Tools:
   8843 
   8844 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
   8845 changes to existing tables. ACPICA BZ 775.
   8846 
   8847 ----------------------------------------
   8848 25 June 2009. Summary of changes for version 20090625:
   8849 
   8850 The ACPI 4.0 Specification was released on June 16 and is available at 
   8851 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
   8852 continue for the next few releases.
   8853 
   8854 1) ACPI CA Core Subsystem:
   8855 
   8856 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
   8857 address space. Includes support for bi-directional data buffers and an 
   8858 IPMI 
   8859 address space handler (to be installed by an IPMI device driver.) ACPICA 
   8860 BZ 
   8861 773. Lin Ming.
   8862 
   8863 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
   8864 Includes 
   8865 support in both the header files and the disassembler.
   8866 
   8867 Completed a major update for the AcpiGetObjectInfo external interface. 
   8868 Changes include:
   8869  - Support for variable, unlimited length HID, UID, and CID strings.
   8870  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
   8871 etc.)
   8872  - Call the _SxW power methods on behalf of a device object.
   8873  - Determine if a device is a PCI root bridge.
   8874  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
   8875 These changes will require an update to all callers of this interface. 
   8876 See 
   8877 the updated ACPICA Programmer Reference for details. One new source file 
   8878 has 
   8879 been added - utilities/utids.c. ACPICA BZ 368, 780.
   8880 
   8881 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
   8882 transfers. The Value parameter has been extended from 32 bits to 64 bits 
   8883 in 
   8884 order to support new ACPI 4.0 tables. These changes will require an 
   8885 update 
   8886 to 
   8887 all callers of these interfaces. See the ACPICA Programmer Reference for 
   8888 details. ACPICA BZ 768.
   8889 
   8890 Fixed several problems with AcpiAttachData. The handler was not invoked 
   8891 when 
   8892 the host node was deleted. The data sub-object was not automatically 
   8893 deleted 
   8894 when the host node was deleted. The interface to the handler had an 
   8895 unused 
   8896 parameter, this was removed. ACPICA BZ 778.
   8897 
   8898 Enhanced the function that dumps ACPI table headers. All non-printable 
   8899 characters in the string fields are now replaced with '?' (Signature, 
   8900 OemId, 
   8901 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
   8902 these fields are occasionally seen in the field. ACPICA BZ 788.
   8903 
   8904 Fixed a problem with predefined method repair code where the code that 
   8905 attempts to repair/convert an object of incorrect type is only executed 
   8906 on 
   8907 the first time the predefined method is called. The mechanism that 
   8908 disables 
   8909 warnings on subsequent calls was interfering with the repair mechanism. 
   8910 ACPICA BZ 781.
   8911 
   8912 Fixed a possible memory leak in the predefined validation/repair code 
   8913 when 
   8914 a 
   8915 buffer is automatically converted to an expected string object.
   8916 
   8917 Removed obsolete 16-bit files from the distribution and from the current 
   8918 git 
   8919 tree head. ACPICA BZ 776.
   8920 
   8921 Example Code and Data Size: These are the sizes for the OS-independent 
   8922 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8923 debug version of the code includes the debug output trace mechanism and 
   8924 has a 
   8925 much larger code and data size.
   8926 
   8927   Previous Release:
   8928     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   8929     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   8930   Current Release:
   8931     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   8932     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   8933 
   8934 2) iASL Compiler/Disassembler and Tools:
   8935 
   8936 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
   8937 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
   8938 
   8939 ACPI 4.0: iASL - implemented compile-time validation support for all new 
   8940 predefined names and control methods (31 total). ACPICA BZ 769.
   8941 
   8942 ----------------------------------------
   8943 21 May 2009. Summary of changes for version 20090521:
   8944 
   8945 1) ACPI CA Core Subsystem:
   8946 
   8947 Disabled the preservation of the SCI enable bit in the PM1 control 
   8948 register. 
   8949 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
   8950 to 
   8951 be 
   8952 a "preserved" bit - "OSPM always preserves this bit position", section 
   8953 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
   8954 because the bit needs to be explicitly set by the OS as a workaround. No 
   8955 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
   8956 attempts to preserve this bit.
   8957 
   8958 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
   8959 incorrectly formed _PRT package could cause a fault. Added validation to 
   8960 ensure that each package element is actually a sub-package.
   8961 
   8962 Implemented a new interface to install or override a single control 
   8963 method, 
   8964 AcpiInstallMethod. This interface is useful when debugging in order to 
   8965 repair 
   8966 an existing method or to install a missing method without having to 
   8967 override 
   8968 the entire ACPI table. See the ACPICA Programmer Reference for use and 
   8969 examples. Lin Ming, Bob Moore.
   8970 
   8971 Fixed several reference count issues with the DdbHandle object that is 
   8972 created from a Load or LoadTable operator. Prevent premature deletion of 
   8973 the 
   8974 object. Also, mark the object as invalid once the table has been 
   8975 unloaded. 
   8976 This is needed because the handle itself may not be deleted after the 
   8977 table 
   8978 unload, depending on whether it has been stored in a named object by the 
   8979 caller. Lin Ming.
   8980 
   8981 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
   8982 mutexes of the same sync level are acquired but then not released in 
   8983 strict 
   8984 opposite order, the internally maintained Current Sync Level becomes 
   8985 confused 
   8986 and can cause subsequent execution errors. ACPICA BZ 471.
   8987 
   8988 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
   8989 specification has been changed to make the SyncLevel for mutex objects 
   8990 more 
   8991 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
   8992 the 
   8993 same as the current sync level. This makes more sense than the previous 
   8994 rule 
   8995 (SyncLevel less than or equal). This change updates the code to match the 
   8996 specification.
   8997 
   8998 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
   8999 The 
   9000 (local) cache must be locked during all cache object deletions. Andrew 
   9001 Baumann.
   9002 
   9003 Updated the Load operator to use operation region interfaces. This 
   9004 replaces 
   9005 direct memory mapping with region access calls. Now, all region accesses 
   9006 go 
   9007 through the installed region handler as they should.
   9008 
   9009 Simplified and optimized the NsGetNextNode function. Reduced parameter 
   9010 count 
   9011 and reduced code for this frequently used function.
   9012 
   9013 Example Code and Data Size: These are the sizes for the OS-independent 
   9014 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9015 debug version of the code includes the debug output trace mechanism and 
   9016 has a 
   9017 much larger code and data size.
   9018 
   9019   Previous Release:
   9020     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   9021     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   9022   Current Release:
   9023     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   9024     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   9025 
   9026 2) iASL Compiler/Disassembler and Tools:
   9027 
   9028 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
   9029 problems 
   9030 with sub-table disassembly and handling invalid sub-tables. Attempt 
   9031 recovery 
   9032 after an invalid sub-table ID.
   9033 
   9034 ----------------------------------------
   9035 22 April 2009. Summary of changes for version 20090422:
   9036 
   9037 1) ACPI CA Core Subsystem:
   9038 
   9039 Fixed a compatibility issue with the recently released I/O port 
   9040 protection 
   9041 mechanism. For windows compatibility, 1) On a port protection violation, 
   9042 simply ignore the request and do not return an exception (allow the 
   9043 control 
   9044 method to continue execution.) 2) If only part of the request overlaps a 
   9045 protected port, read/write the individual ports that are not protected. 
   9046 Linux 
   9047 BZ 13036. Lin Ming
   9048 
   9049 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
   9050 actually 
   9051 breaks into the AML debugger if the debugger is present. This matches the 
   9052 ACPI-defined behavior.
   9053 
   9054 Fixed several possible warnings related to the use of the configurable 
   9055 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
   9056 pointer with no warnings. Also fixes several warnings in printf-like 
   9057 statements for the 64-bit build when the type is configured as a pointer. 
   9058 ACPICA BZ 766, 767.
   9059 
   9060 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
   9061 on 
   9062 warning options.) Examples include printf formats, aliasing, unused 
   9063 globals, 
   9064 missing prototypes, missing switch default statements, use of non-ANSI 
   9065 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
   9066 for 
   9067 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
   9068 
   9069 Example Code and Data Size: These are the sizes for the OS-independent 
   9070 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9071 debug version of the code includes the debug output trace mechanism and 
   9072 has a 
   9073 much larger code and data size.
   9074 
   9075   Previous Release:
   9076     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   9077     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   9078   Current Release:
   9079     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   9080     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   9081 
   9082 2) iASL Compiler/Disassembler and Tools:
   9083 
   9084 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
   9085 warnings 
   9086 on 
   9087 the 64-bit build.
   9088 
   9089 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
   9090 not 
   9091 correctly digest Windows/DOS formatted files (with CR/LF).
   9092 
   9093 iASL: Added a new option for "quiet mode" (-va) that produces only the 
   9094 compilation summary, not individual errors and warnings. Useful for large 
   9095 batch compilations.
   9096 
   9097 AcpiExec: Implemented a new option (-z) to enable a forced 
   9098 semaphore/mutex 
   9099 timeout that can be used to detect hang conditions during execution of 
   9100 AML 
   9101 code (includes both internal semaphores and AML-defined mutexes and 
   9102 events.)
   9103 
   9104 Added new makefiles for the generation of acpica in a generic unix-like 
   9105 environment. These makefiles are intended to generate the acpica tools 
   9106 and 
   9107 utilities from the original acpica git source tree structure.
   9108 
   9109 Test Suites: Updated and cleaned up the documentation files. Updated the 
   9110 copyrights to 2009, affecting all source files. Use the new version of 
   9111 iASL 
   9112 with quiet mode. Increased the number of available semaphores in the 
   9113 Windows 
   9114 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
   9115 added 
   9116 an alternate implementation of the semaphore timeout to allow aslts to 
   9117 execute fully on Cygwin.
   9118 
   9119 ----------------------------------------
   9120 20 March 2009. Summary of changes for version 20090320:
   9121 
   9122 1) ACPI CA Core Subsystem:
   9123 
   9124 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
   9125 table 
   9126 unloads. Added a reader/writer locking mechanism to allow multiple 
   9127 concurrent 
   9128 namespace walks (readers), but block a dynamic table unload until it can 
   9129 gain 
   9130 exclusive write access to the namespace. This fixes a problem where a 
   9131 table 
   9132 unload could (possibly catastrophically) delete the portion of the 
   9133 namespace 
   9134 that is currently being examined by a walk. Adds a new file, utlock.c, 
   9135 that 
   9136 implements the reader/writer lock mechanism. ACPICA BZ 749.
   9137 
   9138 Fixed a regression introduced in version 20090220 where a change to the 
   9139 FADT 
   9140 handling could cause the ACPICA subsystem to access non-existent I/O 
   9141 ports.
   9142 
   9143 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
   9144 The 
   9145 FADT can contain both 32-bit and 64-bit versions of these addresses. 
   9146 Previously, the 64-bit versions were favored, meaning that if both 32 and 
   9147 64 
   9148 versions were valid, but not equal, the 64-bit version was used. This was 
   9149 found to cause some machines to fail. Now, in this case, the 32-bit 
   9150 version 
   9151 is used instead. This now matches the Windows behavior.
   9152 
   9153 Implemented a new mechanism to protect certain I/O ports. Provides 
   9154 Microsoft 
   9155 compatibility and protects the standard PC I/O ports from access via AML 
   9156 code. Adds a new file, hwvalid.c
   9157 
   9158 Fixed a possible extraneous warning message from the FADT support. The 
   9159 message warns of a 32/64 length mismatch between the legacy and GAS 
   9160 definitions for a register.
   9161 
   9162 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
   9163 is 
   9164 made obsolete by the port protection mechanism above. It was previously 
   9165 used 
   9166 to validate the entire address range of an operation region, which could 
   9167 be 
   9168 incorrect if the range included illegal ports, but fields within the 
   9169 operation region did not actually access those ports. Validation is now 
   9170 performed on a per-field basis instead of the entire region.
   9171 
   9172 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
   9173 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
   9174 this 
   9175 means a read/modify/write when writing to the register. However, for 
   9176 status 
   9177 registers, writing a one means clear the event. Writing a zero means 
   9178 preserve 
   9179 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
   9180 spec, 
   9181 and the ACPICA code now simply always writes a zero to the ignored bit.
   9182 
   9183 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
   9184 As 
   9185 per the ACPI specification, for the control registers, preserve 
   9186 (read/modify/write) all bits that are defined as either reserved or 
   9187 ignored.
   9188 
   9189 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
   9190 When reading the register, zero the write-only bits as per the ACPI spec. 
   9191 ACPICA BZ 443. Lin Ming.
   9192 
   9193 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
   9194 wants to reply true to this request. The Windows strings are the only 
   9195 paths 
   9196 through the AML that are tested and known to work properly.
   9197 
   9198   Previous Release:
   9199     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   9200     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   9201   Current Release:
   9202     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   9203     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   9204 
   9205 2) iASL Compiler/Disassembler and Tools:
   9206 
   9207 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
   9208 and 
   9209 aetables.c
   9210 
   9211 ----------------------------------------
   9212 20 February 2009. Summary of changes for version 20090220:
   9213 
   9214 1) ACPI CA Core Subsystem:
   9215 
   9216 Optimized the ACPI register locking. Removed locking for reads from the 
   9217 ACPI 
   9218 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
   9219 is 
   9220 not required when reading the single-bit registers. The 
   9221 AcpiGetRegisterUnlocked function is no longer needed and has been 
   9222 removed. 
   9223 This will improve performance for reads on these registers. ACPICA BZ 
   9224 760.
   9225 
   9226 Fixed the parameter validation for AcpiRead/Write. Now return 
   9227 AE_BAD_PARAMETER if the input register pointer is null, and 
   9228 AE_BAD_ADDRESS 
   9229 if 
   9230 the register has an address of zero. Previously, these cases simply 
   9231 returned 
   9232 AE_OK. For optional registers such as PM1B status/enable/control, the 
   9233 caller 
   9234 should check for a valid register address before calling. ACPICA BZ 748.
   9235 
   9236 Renamed the external ACPI bit register access functions. Renamed 
   9237 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
   9238 functions. The new names are AcpiReadBitRegister and 
   9239 AcpiWriteBitRegister. 
   9240 Also, restructured the code for these functions by simplifying the code 
   9241 path 
   9242 and condensing duplicate code to reduce code size.
   9243 
   9244 Added new functions to transparently handle the possibly split PM1 A/B 
   9245 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
   9246 functions 
   9247 now handle the split registers for PM1 Status, Enable, and Control. 
   9248 ACPICA 
   9249 BZ 
   9250 746.
   9251 
   9252 Added a function to handle the PM1 control registers, 
   9253 AcpiHwWritePm1Control. 
   9254 This function writes both of the PM1 control registers (A/B). These 
   9255 registers 
   9256 are different than the PM1 A/B status and enable registers in that 
   9257 different 
   9258 values can be written to the A/B registers. Most notably, the SLP_TYP 
   9259 bits 
   9260 can be different, as per the values returned from the _Sx predefined 
   9261 methods.
   9262 
   9263 Removed an extra register write within AcpiHwClearAcpiStatus. This 
   9264 function 
   9265 was writing an optional PM1B status register twice. The existing call to 
   9266 the 
   9267 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
   9268 A/B 
   9269 register. ACPICA BZ 751.
   9270 
   9271 Split out the PM1 Status registers from the FADT. Added new globals for 
   9272 these 
   9273 registers (A/B), similar to the way the PM1 Enable registers are handled. 
   9274 Instead of overloading the FADT Event Register blocks. This makes the 
   9275 code 
   9276 clearer and less prone to error.
   9277 
   9278 Fixed the warning message for when the platform contains too many ACPI 
   9279 tables 
   9280 for the default size of the global root table data structure. The 
   9281 calculation 
   9282 for the truncation value was incorrect.
   9283 
   9284 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
   9285 obsolete macro, since it is now a simple reference to ->common.type. 
   9286 There 
   9287 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
   9288 
   9289 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
   9290 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
   9291 simply SLEEP_TYPE. ACPICA BZ 754.
   9292 
   9293 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
   9294 function is only needed on 64-bit host operating systems and is thus not 
   9295 included for 32-bit hosts.
   9296 
   9297 Debug output: print the input and result for invocations of the _OSI 
   9298 reserved 
   9299 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
   9300 the 
   9301 verbosity of this debug level. Len Brown.
   9302 
   9303 Example Code and Data Size: These are the sizes for the OS-independent 
   9304 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9305 debug version of the code includes the debug output trace mechanism and 
   9306 has a 
   9307 much larger code and data size.
   9308 
   9309   Previous Release:
   9310     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   9311     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   9312   Current Release:
   9313     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   9314     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   9315 
   9316 2) iASL Compiler/Disassembler and Tools:
   9317 
   9318 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
   9319 various legal performance profiles.
   9320 
   9321 ----------------------------------------
   9322 23 January 2009. Summary of changes for version 20090123:
   9323 
   9324 1) ACPI CA Core Subsystem:
   9325 
   9326 Added the 2009 copyright to all module headers and signons. This affects 
   9327 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   9328 the tools/utilities.
   9329 
   9330 Implemented a change to allow the host to override any ACPI table, 
   9331 including 
   9332 dynamically loaded tables. Previously, only the DSDT could be replaced by 
   9333 the 
   9334 host. With this change, the AcpiOsTableOverride interface is called for 
   9335 each 
   9336 table found in the RSDT/XSDT during ACPICA initialization, and also 
   9337 whenever 
   9338 a table is dynamically loaded via the AML Load operator.
   9339 
   9340 Updated FADT flag definitions, especially the Boot Architecture flags.
   9341 
   9342 Debugger: For the Find command, automatically pad the input ACPI name 
   9343 with 
   9344 underscores if the name is shorter than 4 characters. This enables a 
   9345 match 
   9346 with the actual namespace entry which is itself padded with underscores.
   9347 
   9348 Example Code and Data Size: These are the sizes for the OS-independent 
   9349 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9350 debug version of the code includes the debug output trace mechanism and 
   9351 has a 
   9352 much larger code and data size.
   9353 
   9354   Previous Release:
   9355     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   9356     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   9357   Current Release:
   9358     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   9359     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   9360 
   9361 2) iASL Compiler/Disassembler and Tools:
   9362 
   9363 Fix build error under Bison-2.4.
   9364 
   9365 Disassembler: Enhanced FADT support. Added decoding of the Boot
   9366 Architecture
   9367 flags. Now decode all flags, regardless of the FADT version. Flag output 
   9368 includes the FADT version which first defined each flag.
   9369 
   9370 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
   9371 and 
   9372 DSDT). Windows only.
   9373 
   9374 ----------------------------------------
   9375 04 December 2008. Summary of changes for version 20081204:
   9376 
   9377 1) ACPI CA Core Subsystem:
   9378 
   9379 The ACPICA Programmer Reference has been completely updated and revamped 
   9380 for 
   9381 this release. This includes updates to the external interfaces, OSL 
   9382 interfaces, the overview sections, and the debugger reference.
   9383 
   9384 Several new ACPICA interfaces have been implemented and documented in the 
   9385 programmer reference:
   9386 AcpiReset - Writes the reset value to the FADT-defined reset register.
   9387 AcpiDisableAllGpes - Disable all available GPEs.
   9388 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
   9389 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
   9390 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
   9391 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
   9392 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
   9393 
   9394 Most of the public ACPI hardware-related interfaces have been moved to a 
   9395 new 
   9396 file, components/hardware/hwxface.c
   9397 
   9398 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
   9399 register lengths within the FADT are now used, and the low level ACPI 
   9400 register access no longer hardcodes the ACPI register lengths. Given that 
   9401 there may be some risk in actually trusting the FADT register lengths, a 
   9402 run-
   9403 time option was added to fall back to the default hardcoded lengths if 
   9404 the 
   9405 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
   9406 option is set to true for now, and a warning is issued if a suspicious 
   9407 FADT 
   9408 register length is overridden with the default value.
   9409 
   9410 Fixed a reference count issue in NsRepairObject. This problem was 
   9411 introduced 
   9412 in version 20081031 as part of a fix to repair Buffer objects within 
   9413 Packages. Lin Ming.
   9414 
   9415 Added semaphore support to the Linux/Unix application OS-services layer 
   9416 (OSL). ACPICA BZ 448. Lin Ming.
   9417 
   9418 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
   9419 will 
   9420 be implemented in the OSL, or will binary semaphores be used instead.
   9421 
   9422 Example Code and Data Size: These are the sizes for the OS-independent 
   9423 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9424 debug version of the code includes the debug output trace mechanism and 
   9425 has a 
   9426 much larger code and data size.
   9427 
   9428   Previous Release:
   9429     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   9430     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   9431   Current Release:
   9432     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   9433     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   9434 
   9435 2) iASL Compiler/Disassembler and Tools:
   9436 
   9437 iASL: Completed the '-e' option to include additional ACPI tables in 
   9438 order 
   9439 to 
   9440 aid with disassembly and External statement generation. ACPICA BZ 742. 
   9441 Lin 
   9442 Ming.
   9443 
   9444 iASL: Removed the "named object in while loop" error. The compiler cannot 
   9445 determine how many times a loop will execute. ACPICA BZ 730.
   9446 
   9447 Disassembler: Implemented support for FADT revision 2 (MS extension). 
   9448 ACPICA 
   9449 BZ 743.
   9450 
   9451 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
   9452 MCFG).
   9453 
   9454 ----------------------------------------
   9455 31 October 2008. Summary of changes for version 20081031:
   9456 
   9457 1) ACPI CA Core Subsystem:
   9458 
   9459 Restructured the ACPICA header files into public/private. acpi.h now 
   9460 includes 
   9461 only the "public" acpica headers. All other acpica headers are "private" 
   9462 and 
   9463 should not be included by acpica users. One new file, accommon.h is used 
   9464 to 
   9465 include the commonly used private headers for acpica code generation. 
   9466 Future 
   9467 plans include moving all private headers to a new subdirectory.
   9468 
   9469 Implemented an automatic Buffer->String return value conversion for 
   9470 predefined ACPI methods. For these methods (such as _BIF), added 
   9471 automatic 
   9472 conversion for return objects that are required to be a String, but a 
   9473 Buffer 
   9474 was found instead. This can happen when reading string battery data from 
   9475 an 
   9476 operation region, because it used to be difficult to convert the data 
   9477 from 
   9478 buffer to string from within the ASL. Ensures that the host OS is 
   9479 provided 
   9480 with a valid null-terminated string. Linux BZ 11822.
   9481 
   9482 Updated the FACS waking vector interfaces. Split 
   9483 AcpiSetFirmwareWakingVector 
   9484 into two: one for the 32-bit vector, another for the 64-bit vector. This 
   9485 is 
   9486 required because the host OS must setup the wake much differently for 
   9487 each 
   9488 vector (real vs. protected mode, etc.) and the interface itself should 
   9489 not 
   9490 be 
   9491 deciding which vector to use. Also, eliminated the 
   9492 GetFirmwareWakingVector 
   9493 interface, as it served no purpose (only the firmware reads the vector, 
   9494 OS 
   9495 only writes the vector.) ACPICA BZ 731.
   9496 
   9497 Implemented a mechanism to escape infinite AML While() loops. Added a 
   9498 loop 
   9499 counter to force exit from AML While loops if the count becomes too 
   9500 large. 
   9501 This can occur in poorly written AML when the hardware does not respond 
   9502 within a while loop and the loop does not implement a timeout. The 
   9503 maximum 
   9504 loop count is configurable. A new exception code is returned when a loop 
   9505 is 
   9506 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
   9507 
   9508 Optimized the execution of AML While loops. Previously, a control state 
   9509 object was allocated and freed for each execution of the loop. The 
   9510 optimization is to simply reuse the control state for each iteration. 
   9511 This 
   9512 speeds up the raw loop execution time by about 5%.
   9513 
   9514 Enhanced the implicit return mechanism. For Windows compatibility, return 
   9515 an 
   9516 implicit integer of value zero for methods that contain no executable 
   9517 code. 
   9518 Such methods are seen in the field as stubs (presumably), and can cause 
   9519 drivers to fail if they expect a return value. Lin Ming.
   9520 
   9521 Allow multiple backslashes as root prefixes in namepaths. In a fully 
   9522 qualified namepath, allow multiple backslash prefixes. This can happen 
   9523 (and 
   9524 is seen in the field) because of the use of a double-backslash in strings 
   9525 (since backslash is the escape character) causing confusion. ACPICA BZ 
   9526 739 
   9527 Lin Ming.
   9528 
   9529 Emit a warning if two different FACS or DSDT tables are discovered in the 
   9530 FADT. Checks if there are two valid but different addresses for the FACS 
   9531 and 
   9532 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
   9533 
   9534 Consolidated the method argument count validation code. Merged the code 
   9535 that 
   9536 validates control method argument counts into the predefined validation 
   9537 module. Eliminates possible multiple warnings for incorrect argument 
   9538 counts.
   9539 
   9540 Implemented ACPICA example code. Includes code for ACPICA initialization, 
   9541 handler installation, and calling a control method. Available at 
   9542 source/tools/examples.
   9543 
   9544 Added a global pointer for FACS table to simplify internal FACS access. 
   9545 Use 
   9546 the global pointer instead of using AcpiGetTableByIndex for each FACS 
   9547 access. 
   9548 This simplifies the code for the Global Lock and the Firmware Waking 
   9549 Vector(s).
   9550 
   9551 Example Code and Data Size: These are the sizes for the OS-independent 
   9552 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9553 debug version of the code includes the debug output trace mechanism and 
   9554 has a 
   9555 much larger code and data size.
   9556 
   9557   Previous Release:
   9558     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   9559     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   9560   Current Release:
   9561     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   9562     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   9563 
   9564 2) iASL Compiler/Disassembler and Tools:
   9565 
   9566 iASL: Improved disassembly of external method calls. Added the -e option 
   9567 to 
   9568 allow the inclusion of additional ACPI tables to help with the 
   9569 disassembly 
   9570 of 
   9571 method invocations and the generation of external declarations during the 
   9572 disassembly. Certain external method invocations cannot be disassembled 
   9573 properly without the actual declaration of the method. Use the -e option 
   9574 to 
   9575 include the table where the external method(s) are actually declared. 
   9576 Most 
   9577 useful for disassembling SSDTs that make method calls back to the master 
   9578 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
   9579 -d 
   9580 -e dsdt.aml ssdt1.aml
   9581 
   9582 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
   9583 problem where the use of an alias within a namepath would result in a not 
   9584 found error or cause the compiler to fault. Also now allows forward 
   9585 references from the Alias operator itself. ACPICA BZ 738.
   9586 
   9587 ----------------------------------------
   9588 26 September 2008. Summary of changes for version 20080926:
   9589 
   9590 1) ACPI CA Core Subsystem:
   9591 
   9592 Designed and implemented a mechanism to validate predefined ACPI methods 
   9593 and 
   9594 objects. This code validates the predefined ACPI objects (objects whose 
   9595 names 
   9596 start with underscore) that appear in the namespace, at the time they are 
   9597 evaluated. The argument count and the type of the returned object are 
   9598 validated against the ACPI specification. The purpose of this validation 
   9599 is 
   9600 to detect problems with the BIOS-implemented predefined ACPI objects 
   9601 before 
   9602 the results are returned to the ACPI-related drivers. Future enhancements 
   9603 may 
   9604 include actual repair of incorrect return objects where possible. Two new 
   9605 files are nspredef.c and acpredef.h.
   9606 
   9607 Fixed a fault in the AML parser if a memory allocation fails during the 
   9608 Op 
   9609 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
   9610 
   9611 Fixed an issue with implicit return compatibility. This change improves 
   9612 the 
   9613 implicit return mechanism to be more compatible with the MS interpreter. 
   9614 Lin 
   9615 Ming, ACPICA BZ 349.
   9616 
   9617 Implemented support for zero-length buffer-to-string conversions. Allow 
   9618 zero 
   9619 length strings during interpreter buffer-to-string conversions. For 
   9620 example, 
   9621 during the ToDecimalString and ToHexString operators, as well as implicit 
   9622 conversions. Fiodor Suietov, ACPICA BZ 585.
   9623 
   9624 Fixed two possible memory leaks in the error exit paths of 
   9625 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
   9626 are 
   9627 similar in that they use a stack of state objects in order to eliminate 
   9628 recursion. The stack must be fully unwound and deallocated if an error 
   9629 occurs. Lin Ming. ACPICA BZ 383.
   9630 
   9631 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
   9632 global 
   9633 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
   9634 Moore ACPICA BZ 442.
   9635 
   9636 Removed the obsolete version number in module headers. Removed the 
   9637 "$Revision" number that appeared in each module header. This version 
   9638 number 
   9639 was useful under SourceSafe and CVS, but has no meaning under git. It is 
   9640 not 
   9641 only incorrect, it could also be misleading.
   9642 
   9643 Example Code and Data Size: These are the sizes for the OS-independent 
   9644 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9645 debug version of the code includes the debug output trace mechanism and 
   9646 has a 
   9647 much larger code and data size.
   9648 
   9649   Previous Release:
   9650     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   9651     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   9652   Current Release:
   9653     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   9654     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   9655 
   9656 ----------------------------------------
   9657 29 August 2008. Summary of changes for version 20080829:
   9658 
   9659 1) ACPI CA Core Subsystem:
   9660 
   9661 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
   9662 Reference. Changes include the elimination of cheating on the Object 
   9663 field 
   9664 for the DdbHandle subtype, addition of a reference class field to 
   9665 differentiate the various reference types (instead of an AML opcode), and 
   9666 the 
   9667 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
   9668 
   9669 Reduce an error to a warning for an incorrect method argument count. 
   9670 Previously aborted with an error if too few arguments were passed to a 
   9671 control method via the external ACPICA interface. Now issue a warning 
   9672 instead 
   9673 and continue. Handles the case where the method inadvertently declares 
   9674 too 
   9675 many arguments, but does not actually use the extra ones. Applies mainly 
   9676 to 
   9677 the predefined methods. Lin Ming. Linux BZ 11032.
   9678 
   9679 Disallow the evaluation of named object types with no intrinsic value. 
   9680 Return 
   9681 AE_TYPE for objects that have no value and therefore evaluation is 
   9682 undefined: 
   9683 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
   9684 of 
   9685 these types were allowed, but an exception would be generated at some 
   9686 point 
   9687 during the evaluation. Now, the error is generated up front.
   9688 
   9689 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
   9690 (nsnames.c). Fixes a leak in the error exit path.
   9691 
   9692 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
   9693 debug 
   9694 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
   9695 ACPI_EXCEPTION 
   9696 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
   9697 ACPI_LV_EVENTS.
   9698 
   9699 Removed obsolete and/or unused exception codes from the acexcep.h header. 
   9700 There is the possibility that certain device drivers may be affected if 
   9701 they 
   9702 use any of these exceptions.
   9703 
   9704 The ACPICA documentation has been added to the public git source tree, 
   9705 under 
   9706 acpica/documents. Included are the ACPICA programmer reference, the iASL 
   9707 compiler reference, and the changes.txt release logfile.
   9708 
   9709 Example Code and Data Size: These are the sizes for the OS-independent 
   9710 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9711 debug version of the code includes the debug output trace mechanism and 
   9712 has a 
   9713 much larger code and data size.
   9714 
   9715   Previous Release:
   9716     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   9717     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   9718   Current Release:
   9719     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   9720     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   9721 
   9722 2) iASL Compiler/Disassembler and Tools:
   9723 
   9724 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
   9725 defines _SCP with 3 arguments. Previous versions defined it with only 1 
   9726 argument. iASL now allows both definitions.
   9727 
   9728 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
   9729 zero-
   9730 length subtables when disassembling ACPI tables. Also fixed a couple of 
   9731 errors where a full 16-bit table type field was not extracted from the 
   9732 input 
   9733 properly.
   9734 
   9735 acpisrc: Improve comment counting mechanism for generating source code 
   9736 statistics. Count first and last lines of multi-line comments as 
   9737 whitespace, 
   9738 not comment lines. Handle Linux legal header in addition to standard 
   9739 acpica 
   9740 header.
   9741 
   9742 ----------------------------------------
   9743 
   9744 29 July 2008. Summary of changes for version 20080729:
   9745 
   9746 1) ACPI CA Core Subsystem:
   9747 
   9748 Fix a possible deadlock in the GPE dispatch. Remove call to 
   9749 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
   9750 attempt 
   9751 to acquire the GPE lock but can deadlock since the GPE lock is already 
   9752 held 
   9753 at dispatch time. This code was introduced in version 20060831 as a 
   9754 response 
   9755 to Linux BZ 6881 and has since been removed from Linux.
   9756 
   9757 Add a function to dereference returned reference objects. Examines the 
   9758 return 
   9759 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
   9760 are 
   9761 automatically dereferenced in an attempt to return something useful 
   9762 (these 
   9763 reference types cannot be converted into an external ACPI_OBJECT.) 
   9764 Provides 
   9765 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
   9766 
   9767 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
   9768 subtables for the MADT and one new subtable for the SRAT. Includes 
   9769 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
   9770 x2APIC 
   9771 Specification, June 2008.
   9772 
   9773 Additional error checking for pathname utilities. Add error check after 
   9774 all 
   9775 calls to AcpiNsGetPathnameLength. Add status return from 
   9776 AcpiNsBuildExternalPath and check after all calls. Add parameter 
   9777 validation 
   9778 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
   9779 
   9780 Return status from the global init function AcpiUtGlobalInitialize. This 
   9781 is 
   9782 used by both the kernel subsystem and the utilities such as iASL 
   9783 compiler. 
   9784 The function could possibly fail when the caches are initialized. Yang 
   9785 Yi.
   9786 
   9787 Add a function to decode reference object types to strings. Created for 
   9788 improved error messages. 
   9789 
   9790 Improve object conversion error messages. Better error messages during 
   9791 object 
   9792 conversion from internal to the external ACPI_OBJECT. Used for external 
   9793 calls 
   9794 to AcpiEvaluateObject.
   9795 
   9796 Example Code and Data Size: These are the sizes for the OS-independent 
   9797 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9798 debug version of the code includes the debug output trace mechanism and 
   9799 has a 
   9800 much larger code and data size.
   9801 
   9802   Previous Release:
   9803     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   9804     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   9805   Current Release:
   9806     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   9807     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   9808 
   9809 2) iASL Compiler/Disassembler and Tools:
   9810 
   9811 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
   9812 problem 
   9813 introduced in version 20080701. If the object being evaluated (via 
   9814 execute 
   9815 command) is not a method, the debugger can hang while trying to obtain 
   9816 non-
   9817 existent parameters.
   9818 
   9819 iASL: relax error for using reserved "_T_x" identifiers. These names can 
   9820 appear in a disassembled ASL file if they were emitted by the original 
   9821 compiler. Instead of issuing an error or warning and forcing the user to 
   9822 manually change these names, issue a remark instead.
   9823 
   9824 iASL: error if named object created in while loop. Emit an error if any 
   9825 named 
   9826 object is created within a While loop. If allowed, this code will 
   9827 generate 
   9828 a 
   9829 run-time error on the second iteration of the loop when an attempt is 
   9830 made 
   9831 to 
   9832 create the same named object twice. ACPICA bugzilla 730.
   9833 
   9834 iASL: Support absolute pathnames for include files. Add support for 
   9835 absolute 
   9836 pathnames within the Include operator. previously, only relative 
   9837 pathnames 
   9838 were supported.
   9839 
   9840 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
   9841 Descriptor. 
   9842 The ACPI spec requires one interrupt minimum. BZ 423
   9843 
   9844 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
   9845 Handles the case for the Interrupt Resource Descriptor where
   9846 the ResourceSource argument is omitted but ResourceSourceIndex
   9847 is present. Now leave room for the Index. BZ 426
   9848 
   9849 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
   9850 cases 
   9851 where an error message is emitted if the target does not exist. BZ 516
   9852 
   9853 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
   9854 (get ACPI tables on Windows). This was apparently broken in version 
   9855 20070919.
   9856 
   9857 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
   9858 where 
   9859 the EOF happens immediately after the last table in the input file. Print 
   9860 completion message. Previously, no message was displayed in this case.
   9861 
   9862 ----------------------------------------
   9863 01 July 2008. Summary of changes for version 20080701:
   9864 
   9865 0) Git source tree / acpica.org
   9866 
   9867 Fixed a problem where a git-clone from http would not transfer the entire 
   9868 source tree.
   9869 
   9870 1) ACPI CA Core Subsystem:
   9871 
   9872 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
   9873 enable bit. Now performs a read-change-write of the enable register 
   9874 instead 
   9875 of simply writing out the cached enable mask. This will prevent 
   9876 inadvertent 
   9877 enabling of GPEs if a rogue GPE is received during initialization (before 
   9878 GPE 
   9879 handlers are installed.)
   9880 
   9881 Implemented a copy for dynamically loaded tables. Previously, dynamically 
   9882 loaded tables were simply mapped - but on some machines this memory is 
   9883 corrupted after suspend. Now copy the table to a local buffer. For the 
   9884 OpRegion case, added checksum verify. Use the table length from the table 
   9885 header, not the region length. For the Buffer case, use the table length 
   9886 also. Dennis Noordsij, Bob Moore. BZ 10734
   9887 
   9888 Fixed a problem where the same ACPI table could not be dynamically loaded 
   9889 and 
   9890 unloaded more than once. Without this change, a table cannot be loaded 
   9891 again 
   9892 once it has been loaded/unloaded one time. The current mechanism does not 
   9893 unregister a table upon an unload. During a load, if the same table is 
   9894 found, 
   9895 this no longer returns an exception. BZ 722
   9896 
   9897 Fixed a problem where the wrong descriptor length was calculated for the 
   9898 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
   9899 EndTag 
   9900 are calculated as 12 bytes long, but the actual length in the internal 
   9901 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
   9902 Reported 
   9903 by Linn Crosetto. BZ 728
   9904 
   9905 Fixed a possible memory leak in the Unload operator. The DdbHandle 
   9906 returned 
   9907 by Load() did not have its reference count decremented during unload, 
   9908 leading 
   9909 to a memory leak. Lin Ming. BZ 727
   9910 
   9911 Fixed a possible memory leak when deleting thermal/processor objects. Any 
   9912 associated notify handlers (and objects) were not being deleted. Fiodor 
   9913 Suietov. BZ 506
   9914 
   9915 Fixed the ordering of the ASCII names in the global mutex table to match 
   9916 the 
   9917 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
   9918 only. 
   9919 Vegard Nossum. BZ 726
   9920 
   9921 Enhanced the AcpiGetObjectInfo interface to return the number of required 
   9922 arguments if the object is a control method. Added this call to the 
   9923 debugger 
   9924 so the proper number of default arguments are passed to a method. This 
   9925 prevents a warning when executing methods from AcpiExec.
   9926 
   9927 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
   9928 AE_BAD_PARAMETER if input handle is invalid. BZ 474
   9929 
   9930 Fixed an extraneous warning from exconfig.c on the 64-bit build.
   9931 
   9932 Example Code and Data Size: These are the sizes for the OS-independent 
   9933 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9934 debug version of the code includes the debug output trace mechanism and 
   9935 has a 
   9936 much larger code and data size.
   9937 
   9938   Previous Release:
   9939     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   9940     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   9941   Current Release:
   9942     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   9943     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   9944 
   9945 2) iASL Compiler/Disassembler and Tools:
   9946 
   9947 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
   9948 resource descriptor names.
   9949 
   9950 iASL: Detect invalid ASCII characters in input (windows version). Removed 
   9951 the 
   9952 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
   9953 characters in the input. BZ 441
   9954 
   9955 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
   9956 the 
   9957 "result of operation not used" warning when the DDB handle returned from 
   9958 LoadTable is not used. The warning is not needed. BZ 590
   9959 
   9960 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
   9961 method 
   9962 to 
   9963 pass address of table to the AML. Added option to disable OpRegion 
   9964 simulation 
   9965 to allow creation of an OpRegion with a real address that was passed to 
   9966 _CFG. 
   9967 All of this allows testing of the Load and Unload operators from 
   9968 AcpiExec.
   9969 
   9970 Debugger: update tables command for unloaded tables. Handle unloaded 
   9971 tables 
   9972 and use the standard table header output routine.
   9973 
   9974 ----------------------------------------
   9975 09 June 2008. Summary of changes for version 20080609:
   9976 
   9977 1) ACPI CA Core Subsystem:
   9978 
   9979 Implemented a workaround for reversed _PRT entries. A significant number 
   9980 of 
   9981 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
   9982 change dynamically detects and repairs this problem. Provides 
   9983 compatibility 
   9984 with MS ACPI. BZ 6859
   9985 
   9986 Simplified the internal ACPI hardware interfaces to eliminate the locking 
   9987 flag parameter from Register Read/Write. Added a new external interface, 
   9988 AcpiGetRegisterUnlocked.
   9989 
   9990 Fixed a problem where the invocation of a GPE control method could hang. 
   9991 This 
   9992 was a regression introduced in 20080514. The new method argument count 
   9993 validation mechanism can enter an infinite loop when a GPE method is 
   9994 dispatched. Problem fixed by removing the obsolete code that passed GPE 
   9995 block 
   9996 information to the notify handler via the control method parameter 
   9997 pointer.
   9998 
   9999 Fixed a problem where the _SST execution status was incorrectly returned 
   10000 to 
   10001 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
   10002 in 
   10003 20080514. _SST is optional and a NOT_FOUND exception should never be 
   10004 returned. BZ 716
   10005 
   10006 Fixed a problem where a deleted object could be accessed from within the 
   10007 AML 
   10008 parser. This was a regression introduced in version 20080123 as a fix for 
   10009 the 
   10010 Unload operator. Lin Ming. BZ 10669
   10011 
   10012 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
   10013 operands 
   10014 and eliminated the use of a negative index in a loop. Operands are now 
   10015 displayed in the correct order, not backwards. This also fixes a 
   10016 regression 
   10017 introduced in 20080514 on 64-bit systems where the elimination of 
   10018 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
   10019 715
   10020 
   10021 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
   10022 exit 
   10023 path did not delete a locally allocated structure.
   10024 
   10025 Updated definitions for the DMAR and SRAT tables to synchronize with the 
   10026 current specifications. Includes disassembler support.
   10027 
   10028 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
   10029 loop termination value was used. Loop terminated on iteration early, 
   10030 missing 
   10031 one mutex. Linn Crosetto
   10032 
   10033 Example Code and Data Size: These are the sizes for the OS-independent 
   10034 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10035 debug version of the code includes the debug output trace mechanism and 
   10036 has a 
   10037 much larger code and data size.
   10038 
   10039   Previous Release:
   10040     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   10041     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   10042   Current Release:
   10043     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   10044     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   10045 
   10046 2) iASL Compiler/Disassembler and Tools:
   10047 
   10048 Disassembler: Implemented support for EisaId() within _CID objects. Now 
   10049 disassemble integer _CID objects back to EisaId invocations, including 
   10050 multiple integers within _CID packages. Includes single-step support for 
   10051 debugger also.
   10052 
   10053 Disassembler: Added support for DMAR and SRAT table definition changes.
   10054 
   10055 ----------------------------------------
   10056 14 May 2008. Summary of changes for version 20080514:
   10057 
   10058 1) ACPI CA Core Subsystem:
   10059 
   10060 Fixed a problem where GPEs were enabled too early during the ACPICA 
   10061 initialization. This could lead to "handler not installed" errors on some 
   10062 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
   10063 This 
   10064 ensures that all operation regions and devices throughout the namespace 
   10065 have 
   10066 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
   10067 
   10068 Implemented a change to the enter sleep code. Moved execution of the _GTS 
   10069 method to just before setting sleep enable bit. The execution was moved 
   10070 from 
   10071 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
   10072 immediately before the SLP_EN bit is set, as per the ACPI specification. 
   10073 Luming Yu, BZ 1653.
   10074 
   10075 Implemented a fix to disable unknown GPEs (2nd version). Now always 
   10076 disable 
   10077 the GPE, even if ACPICA thinks that that it is already disabled. It is 
   10078 possible that the AML or some other code has enabled the GPE unbeknownst 
   10079 to 
   10080 the ACPICA code.
   10081 
   10082 Fixed a problem with the Field operator where zero-length fields would 
   10083 return 
   10084 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
   10085 ASL 
   10086 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
   10087 
   10088 Implemented a fix for the Load operator, now load the table at the 
   10089 namespace 
   10090 root. This reverts a change introduced in version 20071019. The table is 
   10091 now 
   10092 loaded at the namespace root even though this goes against the ACPI 
   10093 specification. This provides compatibility with other ACPI 
   10094 implementations. 
   10095 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
   10096 Ming.
   10097 
   10098 Fixed a problem where ACPICA would not Load() tables with unusual 
   10099 signatures. 
   10100 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
   10101 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
   10102 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
   10103 such 
   10104 signatures, ACPICA must be compatible. BZ 10454.
   10105 
   10106 Fixed a possible negative array index in AcpiUtValidateException. Added 
   10107 NULL 
   10108 fields to the exception string arrays to eliminate a -1 subtraction on 
   10109 the 
   10110 SubStatus field.
   10111 
   10112 Updated the debug tracking macros to reduce overall code and data size. 
   10113 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
   10114 instead of pointers to static strings. Jan Beulich and Bob Moore.
   10115 
   10116 Implemented argument count checking in control method invocation via 
   10117 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
   10118 too 
   10119 many. This applies only to extern programmatic control method execution, 
   10120 not 
   10121 method-to-method calls within the AML. Lin Ming.
   10122 
   10123 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
   10124 no 
   10125 longer needed, especially with the removal of 16-bit support. It was 
   10126 replaced 
   10127 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
   10128 bit 
   10129 on 
   10130 32/64-bit platforms is required.
   10131 
   10132 Added the C const qualifier for appropriate string constants -- mostly 
   10133 MODULE_NAME and printf format strings. Jan Beulich.
   10134 
   10135 Example Code and Data Size: These are the sizes for the OS-independent 
   10136 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10137 debug version of the code includes the debug output trace mechanism and 
   10138 has a 
   10139 much larger code and data size.
   10140 
   10141   Previous Release:
   10142     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   10143     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   10144   Current Release:
   10145     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   10146     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   10147 
   10148 2) iASL Compiler/Disassembler and Tools:
   10149 
   10150 Implemented ACPI table revision ID validation in the disassembler. Zero 
   10151 is 
   10152 always invalid. For DSDTs, the ID controls the interpreter integer width. 
   10153 1 
   10154 means 32-bit and this is unusual. 2 or greater is 64-bit.
   10155 
   10156 ----------------------------------------
   10157 21 March 2008. Summary of changes for version 20080321:
   10158 
   10159 1) ACPI CA Core Subsystem:
   10160 
   10161 Implemented an additional change to the GPE support in order to suppress 
   10162 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
   10163 permanently 
   10164 disable incoming GPEs that are neither enabled nor disabled -- meaning 
   10165 that 
   10166 the GPE is unknown to the system. This should prevent future interrupt 
   10167 floods 
   10168 from that GPE. BZ 6217 (Zhang Rui)
   10169 
   10170 Fixed a problem where NULL package elements were not returned to the 
   10171 AcpiEvaluateObject interface correctly. The element was simply ignored 
   10172 instead of returning a NULL ACPI_OBJECT package element, potentially 
   10173 causing 
   10174 a buffer overflow and/or confusing the caller who expected a fixed number 
   10175 of 
   10176 elements. BZ 10132 (Lin Ming, Bob Moore)
   10177 
   10178 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
   10179 Dword, 
   10180 Qword), Field, BankField, and IndexField operators when invoked from 
   10181 inside 
   10182 an executing control method. In this case, these operators created 
   10183 namespace 
   10184 nodes that were incorrectly left marked as permanent nodes instead of 
   10185 temporary nodes. This could cause a problem if there is race condition 
   10186 between an exiting control method and a running namespace walk. (Reported 
   10187 by 
   10188 Linn Crosetto)
   10189 
   10190 Fixed a problem where the CreateField and CreateXXXField operators would 
   10191 incorrectly allow duplicate names (the name of the field) with no 
   10192 exception 
   10193 generated.
   10194 
   10195 Implemented several changes for Notify handling. Added support for new 
   10196 Notify 
   10197 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
   10198 PowerResource objects is no longer allowed, as per the ACPI 
   10199 specification. 
   10200 (Bob Moore, Zhang Rui)
   10201 
   10202 All Reference Objects returned via the AcpiEvaluateObject interface are 
   10203 now 
   10204 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
   10205 for 
   10206 NULL objects - either NULL package elements or unresolved named 
   10207 references.
   10208 
   10209 Fixed a problem where an extraneous debug message was produced for 
   10210 package 
   10211 objects (when debugging enabled). The message "Package List length larger 
   10212 than NumElements count" is now produced in the correct case, and is now 
   10213 an 
   10214 error message rather than a debug message. Added a debug message for the 
   10215 opposite case, where NumElements is larger than the Package List (the 
   10216 package 
   10217 will be padded out with NULL elements as per the ACPI spec.)
   10218 
   10219 Implemented several improvements for the output of the ASL "Debug" object 
   10220 to 
   10221 clarify and keep all data for a given object on one output line.
   10222 
   10223 Fixed two size calculation issues with the variable-length Start 
   10224 Dependent 
   10225 resource descriptor.
   10226 
   10227 Example Code and Data Size: These are the sizes for the OS-independent 
   10228 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10229 debug version of the code includes the debug output trace mechanism and 
   10230 has 
   10231 a much larger code and data size.
   10232 
   10233   Previous Release:
   10234     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   10235     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   10236   Current Release:
   10237     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   10238     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   10239 
   10240 2) iASL Compiler/Disassembler and Tools:
   10241 
   10242 Fixed a problem with the use of the Switch operator where execution of 
   10243 the 
   10244 containing method by multiple concurrent threads could cause an 
   10245 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
   10246 actual Switch opcode, it must be simulated with local named temporary 
   10247 variables and if/else pairs. The solution chosen was to mark any method 
   10248 that 
   10249 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
   10250 469.
   10251 
   10252 ----------------------------------------
   10253 13 February 2008. Summary of changes for version 20080213:
   10254 
   10255 1) ACPI CA Core Subsystem:
   10256 
   10257 Implemented another MS compatibility design change for GPE/Notify 
   10258 handling. 
   10259 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
   10260 to 
   10261 complete first. It is expected that the OSL will queue the enable request 
   10262 behind all pending notify requests (may require changes to the local host 
   10263 OSL 
   10264 in AcpiOsExecute). Alexey Starikovskiy.
   10265 
   10266 Fixed a problem where buffer and package objects passed as arguments to a 
   10267 control method via the external AcpiEvaluateObject interface could cause 
   10268 an 
   10269 AE_AML_INTERNAL exception depending on the order and type of operators 
   10270 executed by the target control method.
   10271 
   10272 Fixed a problem where resource descriptor size optimization could cause a 
   10273 problem when a _CRS resource template is passed to a _SRS method. The 
   10274 _SRS 
   10275 resource template must use the same descriptors (with the same size) as 
   10276 returned from _CRS. This change affects the following resource 
   10277 descriptors: 
   10278 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
   10279 9487)
   10280 
   10281 Fixed a problem where a CopyObject to RegionField, BankField, and 
   10282 IndexField 
   10283 objects did not perform an implicit conversion as it should. These types 
   10284 must 
   10285 retain their initial type permanently as per the ACPI specification. 
   10286 However, 
   10287 a CopyObject to all other object types should not perform an implicit 
   10288 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
   10289 
   10290 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
   10291 match device CIDs did not examine the entire list of available CIDs, but 
   10292 instead aborted on the first non-matching CID. Andrew Patterson.
   10293 
   10294 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
   10295 was 
   10296 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
   10297 truncating the upper dword of a 64-bit value. This macro is only used to 
   10298 display debug output, so no incorrect calculations were made. Also, 
   10299 reimplemented the macro so that a 64-bit shift is not performed by 
   10300 inefficient compilers.
   10301 
   10302 Added missing va_end statements that should correspond with each va_start 
   10303 statement.
   10304 
   10305 Example Code and Data Size: These are the sizes for the OS-independent 
   10306 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10307 debug version of the code includes the debug output trace mechanism and 
   10308 has 
   10309 a much larger code and data size.
   10310 
   10311   Previous Release:
   10312     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   10313     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   10314   Current Release:
   10315     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   10316     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   10317 
   10318 2) iASL Compiler/Disassembler and Tools:
   10319 
   10320 Implemented full disassembler support for the following new ACPI tables: 
   10321 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
   10322 complicated HEST table. These tables support the Windows Hardware Error 
   10323 Architecture (WHEA).
   10324 
   10325 ----------------------------------------
   10326 23 January 2008. Summary of changes for version 20080123:
   10327 
   10328 1) ACPI CA Core Subsystem:
   10329 
   10330 Added the 2008 copyright to all module headers and signons. This affects 
   10331 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   10332 the tools/utilities.
   10333 
   10334 Fixed a problem with the SizeOf operator when used with Package and 
   10335 Buffer 
   10336 objects. These objects have deferred execution for some arguments, and 
   10337 the 
   10338 execution is now completed before the SizeOf is executed. This problem 
   10339 caused 
   10340 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
   10341 BZ 
   10342 9558
   10343 
   10344 Implemented an enhancement to the interpreter "slack mode". In the 
   10345 absence 
   10346 of 
   10347 an explicit return or an implicitly returned object from the last 
   10348 executed 
   10349 opcode, a control method will now implicitly return an integer of value 0 
   10350 for 
   10351 Microsoft compatibility. (Lin Ming) BZ 392
   10352 
   10353 Fixed a problem with the Load operator where an exception was not 
   10354 returned 
   10355 in 
   10356 the case where the table is already loaded. (Lin Ming) BZ 463
   10357 
   10358 Implemented support for the use of DDBHandles as an Indexed Reference, as 
   10359 per 
   10360 the ACPI spec. (Lin Ming) BZ 486
   10361 
   10362 Implemented support for UserTerm (Method invocation) for the Unload 
   10363 operator 
   10364 as per the ACPI spec. (Lin Ming) BZ 580
   10365 
   10366 Fixed a problem with the LoadTable operator where the OemId and 
   10367 OemTableId 
   10368 input strings could cause unexpected failures if they were shorter than 
   10369 the 
   10370 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
   10371 
   10372 Implemented support for UserTerm (Method invocation) for the Unload 
   10373 operator 
   10374 as per the ACPI spec. (Lin Ming) BZ 580
   10375 
   10376 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
   10377 HEST, 
   10378 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
   10379 
   10380 Example Code and Data Size: These are the sizes for the OS-independent 
   10381 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10382 debug version of the code includes the debug output trace mechanism and 
   10383 has 
   10384 a much larger code and data size.
   10385 
   10386   Previous Release:
   10387     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   10388     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   10389   Current Release:
   10390     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   10391     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   10392 
   10393 2) iASL Compiler/Disassembler and Tools:
   10394 
   10395 Implemented support in the disassembler for checksum validation on 
   10396 incoming 
   10397 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
   10398 table 
   10399 header dump at the start of the disassembly.
   10400 
   10401 Implemented additional debugging information in the namespace listing 
   10402 file 
   10403 created during compilation. In addition to the namespace hierarchy, the 
   10404 full 
   10405 pathname to each namespace object is displayed.
   10406 
   10407 Fixed a problem with the disassembler where invalid ACPI tables could 
   10408 cause 
   10409 faults or infinite loops.
   10410 
   10411 Fixed an unexpected parse error when using the optional "parameter types" 
   10412 list in a control method declaration. (Lin Ming) BZ 397
   10413 
   10414 Fixed a problem where two External declarations with the same name did 
   10415 not 
   10416 cause an error (Lin Ming) BZ 509
   10417 
   10418 Implemented support for full TermArgs (adding Argx, Localx and method 
   10419 invocation) for the ParameterData parameter to the LoadTable operator. 
   10420 (Lin 
   10421 Ming) BZ 583,587
   10422 
   10423 ----------------------------------------
   10424 19 December 2007. Summary of changes for version 20071219:
   10425 
   10426 1) ACPI CA Core Subsystem:
   10427 
   10428 Implemented full support for deferred execution for the TermArg string 
   10429 arguments for DataTableRegion. This enables forward references and full 
   10430 operand resolution for the three string arguments. Similar to 
   10431 OperationRegion 
   10432 deferred argument execution.) Lin Ming. BZ 430
   10433 
   10434 Implemented full argument resolution support for the BankValue argument 
   10435 to 
   10436 BankField. Previously, only constants were supported, now any TermArg may 
   10437 be 
   10438 used. Lin Ming BZ 387, 393
   10439 
   10440 Fixed a problem with AcpiGetDevices where the search of a branch of the 
   10441 device tree could be terminated prematurely. In accordance with the ACPI 
   10442 specification, the search down the current branch is terminated if a 
   10443 device 
   10444 is both not present and not functional (instead of just not present.) 
   10445 Yakui 
   10446 Zhao.
   10447 
   10448 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
   10449 if 
   10450 the underlying AML code changed the GPE enable registers. Now, any 
   10451 unknown 
   10452 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
   10453 disabled 
   10454 instead of simply ignored. Rui Zhang.
   10455 
   10456 Fixed a problem with Index Fields where the Index register was 
   10457 incorrectly 
   10458 limited to a maximum of 32 bits. Now any size may be used.
   10459 
   10460 Fixed a couple memory leaks associated with "implicit return" objects 
   10461 when 
   10462 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
   10463 
   10464 Example Code and Data Size: These are the sizes for the OS-independent 
   10465 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10466 debug version of the code includes the debug output trace mechanism and 
   10467 has 
   10468 a much larger code and data size.
   10469 
   10470   Previous Release:
   10471     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   10472     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   10473   Current Release:
   10474     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   10475     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   10476 
   10477 ----------------------------------------
   10478 14 November 2007. Summary of changes for version 20071114:
   10479 
   10480 1) ACPI CA Core Subsystem:
   10481 
   10482 Implemented event counters for each of the Fixed Events, the ACPI SCI 
   10483 (interrupt) itself, and control methods executed. Named 
   10484 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
   10485 These 
   10486 should be useful for debugging and statistics.
   10487 
   10488 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
   10489 contents of the various event counters. Returns the current values for 
   10490 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
   10491 AcpiMethodCount. The interface can be expanded in the future if new 
   10492 counters 
   10493 are added. Device drivers should use this interface rather than access 
   10494 the 
   10495 counters directly.
   10496 
   10497 Fixed a problem with the FromBCD and ToBCD operators. With some 
   10498 compilers, 
   10499 the ShortDivide function worked incorrectly, causing problems with the 
   10500 BCD 
   10501 functions with large input values. A truncation from 64-bit to 32-bit 
   10502 inadvertently occurred. Internal BZ 435. Lin Ming
   10503 
   10504 Fixed a problem with Index references passed as method arguments. 
   10505 References 
   10506 passed as arguments to control methods were dereferenced immediately 
   10507 (before 
   10508 control was passed to the called method). The references are now 
   10509 correctly 
   10510 passed directly to the called method. BZ 5389. Lin Ming
   10511 
   10512 Fixed a problem with CopyObject used in conjunction with the Index 
   10513 operator. 
   10514 The reference was incorrectly dereferenced before the copy. The reference 
   10515 is 
   10516 now correctly copied. BZ 5391. Lin Ming
   10517 
   10518 Fixed a problem with Control Method references within Package objects. 
   10519 These 
   10520 references are now correctly generated. This completes the package 
   10521 construction overhaul that began in version 20071019.
   10522 
   10523 Example Code and Data Size: These are the sizes for the OS-independent 
   10524 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10525 debug version of the code includes the debug output trace mechanism and 
   10526 has 
   10527 a much larger code and data size.
   10528 
   10529   Previous Release:
   10530     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   10531     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   10532   Current Release:
   10533     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   10534     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   10535 
   10536 
   10537 2) iASL Compiler/Disassembler and Tools:
   10538 
   10539 The AcpiExec utility now installs handlers for all of the predefined 
   10540 Operation Region types. New types supported are: PCI_Config, CMOS, and 
   10541 PCIBARTarget.
   10542 
   10543 Fixed a problem with the 64-bit version of AcpiExec where the extended 
   10544 (64-
   10545 bit) address fields for the DSDT and FACS within the FADT were not being 
   10546 used, causing truncation of the upper 32-bits of these addresses. Lin 
   10547 Ming 
   10548 and Bob Moore
   10549 
   10550 ----------------------------------------
   10551 19 October 2007. Summary of changes for version 20071019:
   10552 
   10553 1) ACPI CA Core Subsystem:
   10554 
   10555 Fixed a problem with the Alias operator when the target of the alias is a 
   10556 named ASL operator that opens a new scope -- Scope, Device, 
   10557 PowerResource, 
   10558 Processor, and ThermalZone. In these cases, any children of the original 
   10559 operator could not be accessed via the alias, potentially causing 
   10560 unexpected 
   10561 AE_NOT_FOUND exceptions. (BZ 9067)
   10562 
   10563 Fixed a problem with the Package operator where all named references were 
   10564 created as object references and left otherwise unresolved. According to 
   10565 the 
   10566 ACPI specification, a Package can only contain Data Objects or references 
   10567 to 
   10568 control methods. The implication is that named references to Data Objects 
   10569 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
   10570 immediately upon package creation. This is the approach taken with this 
   10571 change. References to all other named objects (Methods, Devices, Scopes, 
   10572 etc.) are all now properly created as reference objects. (BZ 5328)
   10573 
   10574 Reverted a change to Notify handling that was introduced in version 
   10575 20070508. This version changed the Notify handling from asynchronous to 
   10576 fully synchronous (Device driver Notify handling with respect to the 
   10577 Notify 
   10578 ASL operator). It was found that this change caused more problems than it 
   10579 solved and was removed by most users.
   10580 
   10581 Fixed a problem with the Increment and Decrement operators where the type 
   10582 of 
   10583 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
   10584 Lin Ming.
   10585 
   10586 Fixed a problem with the Load and LoadTable operators where the table 
   10587 location within the namespace was ignored. Instead, the table was always 
   10588 loaded into the root or current scope. Lin Ming.
   10589 
   10590 Fixed a problem with the Load operator when loading a table from a buffer 
   10591 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
   10592 
   10593 Fixed a problem with the Debug object where a store of a DdbHandle 
   10594 reference 
   10595 object to the Debug object could cause a fault.
   10596 
   10597 Added a table checksum verification for the Load operator, in the case 
   10598 where 
   10599 the load is from a buffer. (BZ 578).
   10600 
   10601 Implemented additional parameter validation for the LoadTable operator. 
   10602 The 
   10603 length of the input strings SignatureString, OemIdString, and OemTableId 
   10604 are 
   10605 now checked for maximum lengths. (BZ 582) Lin Ming.
   10606 
   10607 Example Code and Data Size: These are the sizes for the OS-independent 
   10608 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10609 debug version of the code includes the debug output trace mechanism and 
   10610 has 
   10611 a much larger code and data size.
   10612 
   10613   Previous Release:
   10614     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   10615     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   10616   Current Release:
   10617     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   10618     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   10619 
   10620 
   10621 2) iASL Compiler/Disassembler:
   10622 
   10623 Fixed a problem where if a single file was specified and the file did not 
   10624 exist, no error message was emitted. (Introduced with wildcard support in 
   10625 version 20070917.)
   10626 
   10627 ----------------------------------------
   10628 19 September 2007. Summary of changes for version 20070919:
   10629 
   10630 1) ACPI CA Core Subsystem:
   10631 
   10632 Designed and implemented new external interfaces to install and remove 
   10633 handlers for ACPI table-related events. Current events that are defined 
   10634 are 
   10635 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
   10636 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
   10637 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
   10638 
   10639 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
   10640 (acpi_serialized option on Linux) could cause some systems to hang during 
   10641 initialization. (Bob Moore) BZ 8171
   10642 
   10643 Fixed a problem where objects of certain types (Device, ThermalZone, 
   10644 Processor, PowerResource) can be not found if they are declared and 
   10645 referenced from within the same control method (Lin Ming) BZ 341
   10646 
   10647 Example Code and Data Size: These are the sizes for the OS-independent 
   10648 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10649 debug version of the code includes the debug output trace mechanism and 
   10650 has 
   10651 a much larger code and data size.
   10652 
   10653   Previous Release:
   10654     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   10655     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   10656   Current Release:
   10657     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   10658     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   10659 
   10660 
   10661 2) iASL Compiler/Disassembler:
   10662 
   10663 Implemented support to allow multiple files to be compiled/disassembled 
   10664 in 
   10665 a 
   10666 single invocation. This includes command line wildcard support for both 
   10667 the 
   10668 Windows and Unix versions of the compiler. This feature simplifies the 
   10669 disassembly and compilation of multiple ACPI tables in a single 
   10670 directory.
   10671 
   10672 ----------------------------------------
   10673 08 May 2007. Summary of changes for version 20070508:
   10674 
   10675 1) ACPI CA Core Subsystem:
   10676 
   10677 Implemented a Microsoft compatibility design change for the handling of 
   10678 the 
   10679 Notify AML operator. Previously, notify handlers were dispatched and 
   10680 executed completely asynchronously in a deferred thread. The new design 
   10681 still executes the notify handlers in a different thread, but the 
   10682 original 
   10683 thread that executed the Notify() now waits at a synchronization point 
   10684 for 
   10685 the notify handler to complete. Some machines depend on a synchronous 
   10686 Notify 
   10687 operator in order to operate correctly.
   10688 
   10689 Implemented support to allow Package objects to be passed as method 
   10690 arguments to the external AcpiEvaluateObject interface. Previously, this 
   10691 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
   10692 implemented since there were no reserved control methods that required it 
   10693 until recently.
   10694 
   10695 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
   10696 that 
   10697 contained invalid non-zero values in reserved fields could cause later 
   10698 failures because these fields have meaning in later revisions of the 
   10699 FADT. 
   10700 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
   10701 fields 
   10702 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
   10703 
   10704 Fixed a problem where the Global Lock handle was not properly updated if 
   10705 a 
   10706 thread that acquired the Global Lock via executing AML code then 
   10707 attempted 
   10708 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
   10709 Joe 
   10710 Liu.
   10711 
   10712 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
   10713 could be corrupted if the interrupt being removed was at the head of the 
   10714 list. Reported by Linn Crosetto.
   10715 
   10716 Example Code and Data Size: These are the sizes for the OS-independent 
   10717 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10718 debug version of the code includes the debug output trace mechanism and 
   10719 has 
   10720 a much larger code and data size.
   10721 
   10722   Previous Release:
   10723     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   10724     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   10725   Current Release:
   10726     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   10727     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   10728 
   10729 ----------------------------------------
   10730 20 March 2007. Summary of changes for version 20070320:
   10731 
   10732 1) ACPI CA Core Subsystem:
   10733 
   10734 Implemented a change to the order of interpretation and evaluation of AML 
   10735 operand objects within the AML interpreter. The interpreter now evaluates 
   10736 operands in the order that they appear in the AML stream (and the 
   10737 corresponding ASL code), instead of in the reverse order (after the 
   10738 entire 
   10739 operand list has been parsed). The previous behavior caused several 
   10740 subtle 
   10741 incompatibilities with the Microsoft AML interpreter as well as being 
   10742 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
   10743 
   10744 Implemented a change to the ACPI Global Lock support. All interfaces to 
   10745 the 
   10746 global lock now allow the same thread to acquire the lock multiple times. 
   10747 This affects the AcpiAcquireGlobalLock external interface to the global 
   10748 lock 
   10749 as well as the internal use of the global lock to support AML fields -- a 
   10750 control method that is holding the global lock can now simultaneously 
   10751 access 
   10752 AML fields that require global lock protection. Previously, in both 
   10753 cases, 
   10754 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
   10755 to 
   10756 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
   10757 Controller. There is no change to the behavior of the AML Acquire 
   10758 operator, 
   10759 as this can already be used to acquire a mutex multiple times by the same 
   10760 thread. BZ 8066. With assistance from Alexey Starikovskiy.
   10761 
   10762 Fixed a problem where invalid objects could be referenced in the AML 
   10763 Interpreter after error conditions. During operand evaluation, ensure 
   10764 that 
   10765 the internal "Return Object" field is cleared on error and only valid 
   10766 pointers are stored there. Caused occasional access to deleted objects 
   10767 that 
   10768 resulted in "large reference count" warning messages. Valery Podrezov.
   10769 
   10770 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
   10771 on 
   10772 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
   10773 Podrezov.
   10774 
   10775 Fixed an internal problem with the handling of result objects on the 
   10776 interpreter result stack. BZ 7872. Valery Podrezov.
   10777 
   10778 Removed obsolete code that handled the case where AML_NAME_OP is the 
   10779 target 
   10780 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
   10781 7874. Valery Podrezov.
   10782 
   10783 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
   10784 was 
   10785 a 
   10786 remnant from the previously discontinued 16-bit support.
   10787 
   10788 Example Code and Data Size: These are the sizes for the OS-independent 
   10789 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10790 debug version of the code includes the debug output trace mechanism and 
   10791 has 
   10792 a much larger code and data size.
   10793 
   10794   Previous Release:
   10795     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   10796     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   10797   Current Release:
   10798     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   10799     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   10800 
   10801 ----------------------------------------
   10802 26 January 2007. Summary of changes for version 20070126:
   10803 
   10804 1) ACPI CA Core Subsystem:
   10805 
   10806 Added the 2007 copyright to all module headers and signons. This affects 
   10807 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   10808 the utilities.
   10809 
   10810 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
   10811 during a table load. A bad pointer was passed in the case where the DSDT 
   10812 is 
   10813 overridden, causing a fault in this case.
   10814 
   10815 Example Code and Data Size: These are the sizes for the OS-independent 
   10816 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10817 debug version of the code includes the debug output trace mechanism and 
   10818 has 
   10819 a much larger code and data size.
   10820 
   10821   Previous Release:
   10822     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   10823     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   10824   Current Release:
   10825     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   10826     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   10827 
   10828 ----------------------------------------
   10829 15 December 2006. Summary of changes for version 20061215:
   10830 
   10831 1) ACPI CA Core Subsystem:
   10832 
   10833 Support for 16-bit ACPICA has been completely removed since it is no 
   10834 longer 
   10835 necessary and it clutters the code. All 16-bit macros, types, and 
   10836 conditional compiles have been removed, cleaning up and simplifying the 
   10837 code 
   10838 across the entire subsystem. DOS support is no longer needed since the 
   10839 bootable Linux firmware kit is now available.
   10840 
   10841 The handler for the Global Lock is now removed during AcpiTerminate to 
   10842 enable a clean subsystem restart, via the implementation of the 
   10843 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
   10844 HP)
   10845 
   10846 Implemented enhancements to the multithreading support within the 
   10847 debugger 
   10848 to enable improved multithreading debugging and evaluation of the 
   10849 subsystem. 
   10850 (Valery Podrezov)
   10851 
   10852 Debugger: Enhanced the Statistics/Memory command to emit the total 
   10853 (maximum) 
   10854 memory used during the execution, as well as the maximum memory consumed 
   10855 by 
   10856 each of the various object types. (Valery Podrezov)
   10857 
   10858 Example Code and Data Size: These are the sizes for the OS-independent 
   10859 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10860 debug version of the code includes the debug output trace mechanism and 
   10861 has 
   10862 a much larger code and data size.
   10863 
   10864   Previous Release:
   10865     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   10866     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   10867   Current Release:
   10868     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   10869     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   10870 
   10871 
   10872 2) iASL Compiler/Disassembler and Tools:
   10873 
   10874 AcpiExec: Implemented a new option (-m) to display full memory use 
   10875 statistics upon subsystem/program termination. (Valery Podrezov)
   10876 
   10877 ----------------------------------------
   10878 09 November 2006. Summary of changes for version 20061109:
   10879 
   10880 1) ACPI CA Core Subsystem:
   10881 
   10882 Optimized the Load ASL operator in the case where the source operand is 
   10883 an 
   10884 operation region. Simply map the operation region memory, instead of 
   10885 performing a bytewise read. (Region must be of type SystemMemory, see 
   10886 below.)
   10887 
   10888 Fixed the Load ASL operator for the case where the source operand is a 
   10889 region field. A buffer object is also allowed as the source operand. BZ 
   10890 480
   10891 
   10892 Fixed a problem where the Load ASL operator allowed the source operand to 
   10893 be 
   10894 an operation region of any type. It is now restricted to regions of type 
   10895 SystemMemory, as per the ACPI specification. BZ 481
   10896 
   10897 Additional cleanup and optimizations for the new Table Manager code.
   10898 
   10899 AcpiEnable will now fail if all of the required ACPI tables are not 
   10900 loaded 
   10901 (FADT, FACS, DSDT). BZ 477
   10902 
   10903 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
   10904 this 
   10905 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
   10906 manually optimized to be aligned and will not work if it is byte-packed. 
   10907 
   10908 Example Code and Data Size: These are the sizes for the OS-independent 
   10909 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10910 debug version of the code includes the debug output trace mechanism and 
   10911 has 
   10912 a much larger code and data size.
   10913 
   10914   Previous Release:
   10915     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   10916     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   10917   Current Release:
   10918     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   10919     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   10920 
   10921 
   10922 2) iASL Compiler/Disassembler and Tools:
   10923 
   10924 Fixed a problem where the presence of the _OSI predefined control method 
   10925 within complex expressions could cause an internal compiler error.
   10926 
   10927 AcpiExec: Implemented full region support for multiple address spaces. 
   10928 SpaceId is now part of the REGION object. BZ 429
   10929 
   10930 ----------------------------------------
   10931 11 October 2006. Summary of changes for version 20061011:
   10932 
   10933 1) ACPI CA Core Subsystem:
   10934 
   10935 Completed an AML interpreter performance enhancement for control method 
   10936 execution. Previously a 2-pass parse/execution, control methods are now 
   10937 completely parsed and executed in a single pass. This improves overall 
   10938 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
   10939 use. (Valery Podrezov + interpreter changes in version 20051202 that 
   10940 eliminated namespace loading during the pass one parse.)
   10941 
   10942 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
   10943 not 
   10944 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
   10945 now 
   10946 obtained and also checked for an ID match.
   10947 
   10948 Implemented additional support for the PCI _ADR execution: upsearch until 
   10949 a 
   10950 device scope is found before executing _ADR. This allows PCI_Config 
   10951 operation regions to be declared locally within control methods 
   10952 underneath 
   10953 PCI device objects.
   10954 
   10955 Fixed a problem with a possible race condition between threads executing 
   10956 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
   10957 modifying AcpiWalkNamespace to (by default) ignore all temporary 
   10958 namespace 
   10959 entries created during any concurrent control method execution. An 
   10960 additional namespace race condition is known to exist between 
   10961 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
   10962 investigation.
   10963 
   10964 Restructured the AML ParseLoop function, breaking it into several 
   10965 subfunctions in order to reduce CPU stack use and improve 
   10966 maintainability. 
   10967 (Mikhail Kouzmich)
   10968 
   10969 AcpiGetHandle: Fix for parameter validation to detect invalid 
   10970 combinations 
   10971 of prefix handle and pathname. BZ 478
   10972 
   10973 Example Code and Data Size: These are the sizes for the OS-independent 
   10974 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10975 debug version of the code includes the debug output trace mechanism and 
   10976 has 
   10977 a much larger code and data size.
   10978 
   10979   Previous Release:
   10980     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   10981     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   10982   Current Release:
   10983     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   10984     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   10985 
   10986 2) iASL Compiler/Disassembler and Tools:
   10987 
   10988 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
   10989 Manager 
   10990 to restore original behavior.
   10991 
   10992 ----------------------------------------
   10993 27 September 2006. Summary of changes for version 20060927:
   10994 
   10995 1) ACPI CA Core Subsystem:
   10996 
   10997 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
   10998 These functions now use a spinlock for mutual exclusion and the interrupt 
   10999 level indication flag is not needed.
   11000 
   11001 Fixed a problem with the Global Lock where the lock could appear to be 
   11002 obtained before it is actually obtained. The global lock semaphore was 
   11003 inadvertently created with one unit instead of zero units. (BZ 464) 
   11004 Fiodor 
   11005 Suietov.
   11006 
   11007 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
   11008 during 
   11009 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
   11010 
   11011 Example Code and Data Size: These are the sizes for the OS-independent 
   11012 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11013 debug version of the code includes the debug output trace mechanism and 
   11014 has 
   11015 a much larger code and data size.
   11016 
   11017   Previous Release:
   11018     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   11019     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   11020   Current Release:
   11021     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   11022     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   11023 
   11024 
   11025 2) iASL Compiler/Disassembler and Tools:
   11026 
   11027 Fixed a compilation problem with the pre-defined Resource Descriptor 
   11028 field 
   11029 names where an "object does not exist" error could be incorrectly 
   11030 generated 
   11031 if the parent ResourceTemplate pathname places the template within a 
   11032 different namespace scope than the current scope. (BZ 7212)
   11033 
   11034 Fixed a problem where the compiler could hang after syntax errors 
   11035 detected 
   11036 in an ElseIf construct. (BZ 453)
   11037 
   11038 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
   11039 operator. An incorrect output filename was produced when this parameter 
   11040 was 
   11041 a null string (""). Now, the original input filename is used as the AML 
   11042 output filename, with an ".aml" extension.
   11043 
   11044 Implemented a generic batch command mode for the AcpiExec utility 
   11045 (execute 
   11046 any AML debugger command) (Valery Podrezov).
   11047 
   11048 ----------------------------------------
   11049 12 September 2006. Summary of changes for version 20060912:
   11050 
   11051 1) ACPI CA Core Subsystem:
   11052 
   11053 Enhanced the implementation of the "serialized mode" of the interpreter 
   11054 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
   11055 specified, instead of creating a serialization semaphore per control 
   11056 method, 
   11057 the interpreter lock is simply no longer released before a blocking 
   11058 operation during control method execution. This effectively makes the AML 
   11059 Interpreter single-threaded. The overhead of a semaphore per-method is 
   11060 eliminated.
   11061 
   11062 Fixed a regression where an error was no longer emitted if a control 
   11063 method 
   11064 attempts to create 2 objects of the same name. This once again returns 
   11065 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
   11066 that 
   11067 will dynamically serialize the control method to possible prevent future 
   11068 errors. (BZ 440)
   11069 
   11070 Integrated a fix for a problem with PCI Express HID detection in the PCI 
   11071 Config Space setup procedure. (BZ 7145)
   11072 
   11073 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
   11074 AcpiHwInitialize function - the FADT registers are now validated when the 
   11075 table is loaded.
   11076 
   11077 Added two new warnings during FADT verification - 1) if the FADT is 
   11078 larger 
   11079 than the largest known FADT version, and 2) if there is a mismatch 
   11080 between 
   11081 a 
   11082 32-bit block address and the 64-bit X counterpart (when both are non-
   11083 zero.)
   11084 
   11085 Example Code and Data Size: These are the sizes for the OS-independent 
   11086 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11087 debug version of the code includes the debug output trace mechanism and 
   11088 has 
   11089 a much larger code and data size.
   11090 
   11091   Previous Release:
   11092     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   11093     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   11094   Current Release:
   11095     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   11096     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   11097 
   11098 
   11099 2) iASL Compiler/Disassembler and Tools:
   11100 
   11101 Fixed a problem with the implementation of the Switch() operator where 
   11102 the 
   11103 temporary variable was declared too close to the actual Switch, instead 
   11104 of 
   11105 at method level. This could cause a problem if the Switch() operator is 
   11106 within a while loop, causing an error on the second iteration. (BZ 460)
   11107 
   11108 Disassembler - fix for error emitted for unknown type for target of scope 
   11109 operator. Now, ignore it and continue.
   11110 
   11111 Disassembly of an FADT now verifies the input FADT and reports any errors 
   11112 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
   11113 
   11114 Disassembly of raw data buffers with byte initialization data now 
   11115 prefixes 
   11116 each output line with the current buffer offset.
   11117 
   11118 Disassembly of ASF! table now includes all variable-length data fields at 
   11119 the end of some of the subtables.
   11120 
   11121 The disassembler now emits a comment if a buffer appears to be a 
   11122 ResourceTemplate, but cannot be disassembled as such because the EndTag 
   11123 does 
   11124 not appear at the very end of the buffer.
   11125 
   11126 AcpiExec - Added the "-t" command line option to enable the serialized 
   11127 mode 
   11128 of the AML interpreter.
   11129 
   11130 ----------------------------------------
   11131 31 August 2006. Summary of changes for version 20060831:
   11132 
   11133 1) ACPI CA Core Subsystem:
   11134 
   11135 Miscellaneous fixes for the Table Manager:
   11136 - Correctly initialize internal common FADT for all 64-bit "X" fields
   11137 - Fixed a couple table mapping issues during table load
   11138 - Fixed a couple alignment issues for IA64
   11139 - Initialize input array to zero in AcpiInitializeTables
   11140 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
   11141 AcpiGetTableByIndex
   11142 
   11143 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
   11144 now 
   11145 immediately disabled to prevent the waking GPE from firing again and to 
   11146 prevent other wake GPEs from interrupting the wake process.
   11147 
   11148 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
   11149 to 
   11150 be used for debugging systems with a large number of ACPI interrupts.
   11151 
   11152 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
   11153 both the ACPICA headers and the disassembler.
   11154 
   11155 Example Code and Data Size: These are the sizes for the OS-independent 
   11156 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11157 debug version of the code includes the debug output trace mechanism and 
   11158 has 
   11159 a much larger code and data size.
   11160 
   11161   Previous Release:
   11162     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   11163     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   11164   Current Release:
   11165     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   11166     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   11167 
   11168 
   11169 2) iASL Compiler/Disassembler and Tools:
   11170 
   11171 Disassembler support for the DMAR ACPI table.
   11172 
   11173 ----------------------------------------
   11174 23 August 2006. Summary of changes for version 20060823:
   11175 
   11176 1) ACPI CA Core Subsystem:
   11177 
   11178 The Table Manager component has been completely redesigned and 
   11179 reimplemented. The new design is much simpler, and reduces the overall 
   11180 code 
   11181 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
   11182 is 
   11183 now possible to obtain the ACPI tables very early during kernel 
   11184 initialization, even before dynamic memory management is initialized. 
   11185 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
   11186 
   11187 Obsolete ACPICA interfaces:
   11188 
   11189 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
   11190 init 
   11191 time).
   11192 - AcpiLoadTable: Not needed.
   11193 - AcpiUnloadTable: Not needed.
   11194 
   11195 New ACPICA interfaces:
   11196 
   11197 - AcpiInitializeTables: Must be called before the table manager can be 
   11198 used.
   11199 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
   11200 allocated memory after it becomes available.
   11201 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
   11202 tables 
   11203 in the RSDT/XSDT.
   11204 
   11205 Other ACPICA changes:
   11206 
   11207 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
   11208 Use 
   11209 AcpiOsUnmapMemory to free this mapping.
   11210 - AcpiGetTable returns the actual mapped table. The mapping is managed 
   11211 internally and must not be deleted by the caller. Use of this interface 
   11212 causes no additional dynamic memory allocation.
   11213 - AcpiFindRootPointer: Support for physical addressing has been 
   11214 eliminated, 
   11215 it appeared to be unused.
   11216 - The interface to AcpiOsMapMemory has changed to be consistent with the 
   11217 other allocation interfaces.
   11218 - The interface to AcpiOsGetRootPointer has changed to eliminate 
   11219 unnecessary 
   11220 parameters.
   11221 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
   11222 64-
   11223 bit platforms. Was previously 64 bits on all platforms.
   11224 - The interface to the ACPI Global Lock acquire/release macros have 
   11225 changed 
   11226 slightly since ACPICA no longer keeps a local copy of the FACS with a 
   11227 constructed pointer to the actual global lock.
   11228 
   11229 Porting to the new table manager:
   11230 
   11231 - AcpiInitializeTables: Must be called once, and can be called anytime 
   11232 during the OS initialization process. It allows the host to specify an 
   11233 area 
   11234 of memory to be used to store the internal version of the RSDT/XSDT (root 
   11235 table). This allows the host to access ACPI tables before memory 
   11236 management 
   11237 is initialized and running.
   11238 - AcpiReallocateRootTable: Can be called after memory management is 
   11239 running 
   11240 to copy the root table to a dynamically allocated array, freeing up the 
   11241 scratch memory specified in the call to AcpiInitializeTables.
   11242 - AcpiSubsystemInitialize: This existing interface is independent of the 
   11243 Table Manager, and does not have to be called before the Table Manager 
   11244 can 
   11245 be used, it only must be called before the rest of ACPICA can be used.
   11246 - ACPI Tables: Some changes have been made to the names and structure of 
   11247 the 
   11248 actbl.h and actbl1.h header files and may require changes to existing 
   11249 code. 
   11250 For example, bitfields have been completely removed because of their lack 
   11251 of 
   11252 portability across C compilers.
   11253 - Update interfaces to the Global Lock acquire/release macros if local 
   11254 versions are used. (see acwin.h)
   11255 
   11256 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
   11257 
   11258 New files: tbfind.c
   11259 
   11260 Example Code and Data Size: These are the sizes for the OS-independent 
   11261 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11262 debug version of the code includes the debug output trace mechanism and 
   11263 has 
   11264 a much larger code and data size.
   11265 
   11266   Previous Release:
   11267     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   11268     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   11269   Current Release:
   11270     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   11271     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   11272 
   11273 
   11274 2) iASL Compiler/Disassembler and Tools:
   11275 
   11276 No changes for this release.
   11277 
   11278 ----------------------------------------
   11279 21 July 2006. Summary of changes for version 20060721:
   11280 
   11281 1) ACPI CA Core Subsystem:
   11282 
   11283 The full source code for the ASL test suite used to validate the iASL 
   11284 compiler and the ACPICA core subsystem is being released with the ACPICA 
   11285 source for the first time. The source is contained in a separate package 
   11286 and 
   11287 consists of over 1100 files that exercise all ASL/AML operators. The 
   11288 package 
   11289 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
   11290 Fiodor 
   11291 Suietov)
   11292 
   11293 Completed a new design and implementation for support of the ACPI Global 
   11294 Lock. On the OS side, the global lock is now treated as a standard AML 
   11295 mutex. Previously, multiple OS threads could "acquire" the global lock 
   11296 simultaneously. However, this could cause the BIOS to be starved out of 
   11297 the 
   11298 lock - especially in cases such as the Embedded Controller driver where 
   11299 there is a tight coupling between the OS and the BIOS.
   11300 
   11301 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
   11302 The Global Lock interrupt handler no longer queues the execution of a 
   11303 separate thread to signal the global lock semaphore. Instead, the 
   11304 semaphore 
   11305 is signaled directly from the interrupt handler.
   11306 
   11307 Implemented support within the AML interpreter for package objects that 
   11308 contain a larger AML length (package list length) than the package 
   11309 element 
   11310 count. In this case, the length of the package is truncated to match the 
   11311 package element count. Some BIOS code apparently modifies the package 
   11312 length 
   11313 on the fly, and this change supports this behavior. Provides 
   11314 compatibility 
   11315 with the MS AML interpreter. (With assistance from Fiodor Suietov)
   11316 
   11317 Implemented a temporary fix for the BankValue parameter of a Bank Field 
   11318 to 
   11319 support all constant values, now including the Zero and One opcodes. 
   11320 Evaluation of this parameter must eventually be converted to a full 
   11321 TermArg 
   11322 evaluation. A not-implemented error is now returned (temporarily) for 
   11323 non-
   11324 constant values for this parameter.
   11325 
   11326 Fixed problem reports (Fiodor Suietov) integrated:
   11327 - Fix for premature object deletion after CopyObject on Operation Region 
   11328 (BZ 
   11329 350)
   11330 
   11331 Example Code and Data Size: These are the sizes for the OS-independent 
   11332 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11333 debug version of the code includes the debug output trace mechanism and 
   11334 has 
   11335 a much larger code and data size.
   11336 
   11337   Previous Release:
   11338     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
   11339     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
   11340   Current Release:
   11341     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   11342     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   11343 
   11344 
   11345 2) iASL Compiler/Disassembler and Tools:
   11346 
   11347 No changes for this release.
   11348 
   11349 ----------------------------------------
   11350 07 July 2006. Summary of changes for version 20060707:
   11351 
   11352 1) ACPI CA Core Subsystem:
   11353 
   11354 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
   11355 that do not allow the initialization of address pointers within packed 
   11356 structures - even though the hardware itself may support misaligned 
   11357 transfers. Some of the debug data structures are packed by default to 
   11358 minimize size.
   11359 
   11360 Added an error message for the case where AcpiOsGetThreadId() returns 
   11361 zero. 
   11362 A non-zero value is required by the core ACPICA code to ensure the proper 
   11363 operation of AML mutexes and recursive control methods.
   11364 
   11365 The DSDT is now the only ACPI table that determines whether the AML 
   11366 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
   11367 but 
   11368 the hooks for per-table 32/64 switching have been removed from the code. 
   11369 A 
   11370 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
   11371 
   11372 Fixed a possible leak of an OwnerID in the error path of 
   11373 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
   11374 deletion to a single place in AcpiTbUninstallTable to correct possible 
   11375 leaks 
   11376 when using the AcpiTbDeleteTablesByType interface (with assistance from 
   11377 Lance Ortiz.)
   11378 
   11379 Fixed a problem with Serialized control methods where the semaphore 
   11380 associated with the method could be over-signaled after multiple method 
   11381 invocations.
   11382 
   11383 Fixed two issues with the locking of the internal namespace data 
   11384 structure. 
   11385 Both the Unload() operator and AcpiUnloadTable interface now lock the 
   11386 namespace during the namespace deletion associated with the table unload 
   11387 (with assistance from Linn Crosetto.)
   11388 
   11389 Fixed problem reports (Valery Podrezov) integrated:
   11390 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
   11391 
   11392 Fixed problem reports (Fiodor Suietov) integrated:
   11393 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
   11394 - On Address Space handler deletion, needless deactivation call (BZ 374)
   11395 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
   11396 375)
   11397 - Possible memory leak, Notify sub-objects of Processor, Power, 
   11398 ThermalZone 
   11399 (BZ 376)
   11400 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
   11401 - Minimum Length of RSDT should be validated (BZ 379)
   11402 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
   11403 Handler (BZ (380)
   11404 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
   11405 loaded 
   11406 (BZ 381)
   11407 
   11408 Example Code and Data Size: These are the sizes for the OS-independent 
   11409 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11410 debug version of the code includes the debug output trace mechanism and 
   11411 has 
   11412 a much larger code and data size.
   11413 
   11414   Previous Release:
   11415     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   11416     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   11417   Current Release:
   11418     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   11419     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   11420 
   11421 
   11422 2) iASL Compiler/Disassembler and Tools:
   11423 
   11424 Fixed problem reports:
   11425 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
   11426 436)
   11427 
   11428 ----------------------------------------
   11429 23 June 2006. Summary of changes for version 20060623:
   11430 
   11431 1) ACPI CA Core Subsystem:
   11432 
   11433 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
   11434 allows the type to be customized to the host OS for improved efficiency 
   11435 (since a spinlock is usually a very small object.)
   11436 
   11437 Implemented support for "ignored" bits in the ACPI registers. According 
   11438 to 
   11439 the ACPI specification, these bits should be preserved when writing the 
   11440 registers via a read/modify/write cycle. There are 3 bits preserved in 
   11441 this 
   11442 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
   11443 
   11444 Implemented the initial deployment of new OSL mutex interfaces. Since 
   11445 some 
   11446 host operating systems have separate mutex and semaphore objects, this 
   11447 feature was requested. The base code now uses mutexes (and the new mutex 
   11448 interfaces) wherever a binary semaphore was used previously. However, for 
   11449 the current release, the mutex interfaces are defined as macros to map 
   11450 them 
   11451 to the existing semaphore interfaces. Therefore, no OSL changes are 
   11452 required 
   11453 at this time. (See acpiosxf.h)
   11454 
   11455 Fixed several problems with the support for the control method SyncLevel 
   11456 parameter. The SyncLevel now works according to the ACPI specification 
   11457 and 
   11458 in concert with the Mutex SyncLevel parameter, since the current 
   11459 SyncLevel 
   11460 is a property of the executing thread. Mutual exclusion for control 
   11461 methods 
   11462 is now implemented with a mutex instead of a semaphore.
   11463 
   11464 Fixed three instances of the use of the C shift operator in the bitfield 
   11465 support code (exfldio.c) to avoid the use of a shift value larger than 
   11466 the 
   11467 target data width. The behavior of C compilers is undefined in this case 
   11468 and 
   11469 can cause unpredictable results, and therefore the case must be detected 
   11470 and 
   11471 avoided. (Fiodor Suietov)
   11472 
   11473 Added an info message whenever an SSDT or OEM table is loaded dynamically 
   11474 via the Load() or LoadTable() ASL operators. This should improve 
   11475 debugging 
   11476 capability since it will show exactly what tables have been loaded 
   11477 (beyond 
   11478 the tables present in the RSDT/XSDT.)
   11479 
   11480 Example Code and Data Size: These are the sizes for the OS-independent 
   11481 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11482 debug version of the code includes the debug output trace mechanism and 
   11483 has 
   11484 a much larger code and data size.
   11485 
   11486   Previous Release:
   11487     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   11488     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   11489   Current Release:
   11490     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   11491     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   11492 
   11493 
   11494 2) iASL Compiler/Disassembler and Tools:
   11495 
   11496 No changes for this release.
   11497 
   11498 ----------------------------------------
   11499 08 June 2006. Summary of changes for version 20060608:
   11500 
   11501 1) ACPI CA Core Subsystem:
   11502 
   11503 Converted the locking mutex used for the ACPI hardware to a spinlock. 
   11504 This 
   11505 change should eliminate all problems caused by attempting to acquire a 
   11506 semaphore at interrupt level, and it means that all ACPICA external 
   11507 interfaces that directly access the ACPI hardware can be safely called 
   11508 from 
   11509 interrupt level. OSL code that implements the semaphore interfaces should 
   11510 be 
   11511 able to eliminate any workarounds for being called at interrupt level.
   11512 
   11513 Fixed a regression introduced in 20060526 where the ACPI device 
   11514 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
   11515 device 
   11516 did not have an optional _INI method.
   11517 
   11518 Fixed an IndexField issue where a write to the Data Register should be 
   11519 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
   11520 433, 
   11521 Fiodor Suietov)
   11522 
   11523 Fixed problem reports (Valery Podrezov) integrated:
   11524 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
   11525 
   11526 Fixed problem reports (Fiodor Suietov) integrated:
   11527 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
   11528 
   11529 Removed four global mutexes that were obsolete and were no longer being 
   11530 used.
   11531 
   11532 Example Code and Data Size: These are the sizes for the OS-independent 
   11533 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11534 debug version of the code includes the debug output trace mechanism and 
   11535 has 
   11536 a much larger code and data size.
   11537 
   11538   Previous Release:
   11539     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   11540     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   11541   Current Release:
   11542     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   11543     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   11544 
   11545 
   11546 2) iASL Compiler/Disassembler and Tools:
   11547 
   11548 Fixed a fault when using -g option (get tables from registry) on Windows 
   11549 machines.
   11550 
   11551 Fixed problem reports integrated:
   11552 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
   11553 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
   11554 Suietov)
   11555 - Global table revision override (-r) is ignored (BZ 413)
   11556 
   11557 ----------------------------------------
   11558 26 May 2006. Summary of changes for version 20060526:
   11559 
   11560 1) ACPI CA Core Subsystem:
   11561 
   11562 Restructured, flattened, and simplified the internal interfaces for 
   11563 namespace object evaluation - resulting in smaller code, less CPU stack 
   11564 use, 
   11565 and fewer interfaces. (With assistance from Mikhail Kouzmich)
   11566 
   11567 Fixed a problem with the CopyObject operator where the first parameter 
   11568 was 
   11569 not typed correctly for the parser, interpreter, compiler, and 
   11570 disassembler. 
   11571 Caused various errors and unexpected behavior.
   11572 
   11573 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
   11574 produced incorrect results with some C compilers. Since the behavior of C 
   11575 compilers when the shift value is larger than the datatype width is 
   11576 apparently not well defined, the interpreter now detects this condition 
   11577 and 
   11578 simply returns zero as expected in all such cases. (BZ 395)
   11579 
   11580 Fixed problem reports (Valery Podrezov) integrated:
   11581 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
   11582 - Allow interpreter to handle nested method declarations (BZ 5361)
   11583 
   11584 Fixed problem reports (Fiodor Suietov) integrated:
   11585 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
   11586 355)
   11587 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
   11588 356)
   11589 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
   11590 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
   11591 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
   11592 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
   11593 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
   11594 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
   11595 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
   11596 365)
   11597 - Status of the Global Initialization Handler call not used (BZ 366)
   11598 - Incorrect object parameter to Global Initialization Handler (BZ 367)
   11599 
   11600 Example Code and Data Size: These are the sizes for the OS-independent 
   11601 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11602 debug version of the code includes the debug output trace mechanism and 
   11603 has 
   11604 a much larger code and data size.
   11605 
   11606   Previous Release:
   11607     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   11608     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   11609   Current Release:
   11610     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   11611     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   11612 
   11613 
   11614 2) iASL Compiler/Disassembler and Tools:
   11615 
   11616 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
   11617 namespace identifiers with no collision with existing resource descriptor 
   11618 macro names. This provides compatibility with other ASL compilers and is 
   11619 most useful for disassembly/recompilation of existing tables without 
   11620 parse 
   11621 errors. (With assistance from Thomas Renninger)
   11622 
   11623 Disassembler: fixed an incorrect disassembly problem with the 
   11624 DataTableRegion and CopyObject operators. Fixed a possible fault during 
   11625 disassembly of some Alias operators.
   11626 
   11627 ----------------------------------------
   11628 12 May 2006. Summary of changes for version 20060512:
   11629 
   11630 1) ACPI CA Core Subsystem:
   11631 
   11632 Replaced the AcpiOsQueueForExecution interface with a new interface named 
   11633 AcpiOsExecute. The major difference is that the new interface does not 
   11634 have 
   11635 a Priority parameter, this appeared to be useless and has been replaced 
   11636 by 
   11637 a 
   11638 Type parameter. The Type tells the host what type of execution is being 
   11639 requested, such as global lock handler, notify handler, GPE handler, etc. 
   11640 This allows the host to queue and execute the request as appropriate for 
   11641 the 
   11642 request type, possibly using different work queues and different 
   11643 priorities 
   11644 for the various request types. This enables fixes for multithreading 
   11645 deadlock problems such as BZ #5534, and will require changes to all 
   11646 existing 
   11647 OS interface layers. (Alexey Starikovskiy and Bob Moore)
   11648 
   11649 Fixed a possible memory leak associated with the support for the so-
   11650 called 
   11651 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
   11652 Suietov)
   11653 
   11654 Fixed a problem with the Load() operator where a table load from an 
   11655 operation region could overwrite an internal table buffer by up to 7 
   11656 bytes 
   11657 and cause alignment faults on IPF systems. (With assistance from Luming 
   11658 Yu)
   11659 
   11660 Example Code and Data Size: These are the sizes for the OS-independent 
   11661 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11662 debug version of the code includes the debug output trace mechanism and 
   11663 has 
   11664 a much larger code and data size.
   11665 
   11666   Previous Release:
   11667     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   11668     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   11669   Current Release:
   11670     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   11671     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   11672 
   11673 
   11674 
   11675 2) iASL Compiler/Disassembler and Tools:
   11676 
   11677 Disassembler: Implemented support to cross reference the internal 
   11678 namespace 
   11679 and automatically generate ASL External() statements for symbols not 
   11680 defined 
   11681 within the current table being disassembled. This will simplify the 
   11682 disassembly and recompilation of interdependent tables such as SSDTs 
   11683 since 
   11684 these statements will no longer have to be added manually.
   11685 
   11686 Disassembler: Implemented experimental support to automatically detect 
   11687 invocations of external control methods and generate appropriate 
   11688 External() 
   11689 statements. This is problematic because the AML cannot be correctly 
   11690 parsed 
   11691 until the number of arguments for each control method is known. 
   11692 Currently, 
   11693 standalone method invocations and invocations as the source operand of a 
   11694 Store() statement are supported.
   11695 
   11696 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
   11697 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
   11698 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
   11699 more readable and likely closer to the original ASL source.
   11700 
   11701 ----------------------------------------
   11702 21 April 2006. Summary of changes for version 20060421:
   11703 
   11704 1) ACPI CA Core Subsystem:
   11705 
   11706 Removed a device initialization optimization introduced in 20051216 where 
   11707 the _STA method was not run unless an _INI was also present for the same 
   11708 device. This optimization could cause problems because it could allow 
   11709 _INI 
   11710 methods to be run within a not-present device subtree. (If a not-present 
   11711 device had no _INI, _STA would not be run, the not-present status would 
   11712 not 
   11713 be discovered, and the children of the device would be incorrectly 
   11714 traversed.)
   11715 
   11716 Implemented a new _STA optimization where namespace subtrees that do not 
   11717 contain _INI are identified and ignored during device initialization. 
   11718 Selectively running _STA can significantly improve boot time on large 
   11719 machines (with assistance from Len Brown.)
   11720 
   11721 Implemented support for the device initialization case where the returned 
   11722 _STA flags indicate a device not-present but functioning. In this case, 
   11723 _INI 
   11724 is not run, but the device children are examined for presence, as per the 
   11725 ACPI specification.
   11726 
   11727 Implemented an additional change to the IndexField support in order to 
   11728 conform to MS behavior. The value written to the Index Register is not 
   11729 simply a byte offset, it is a byte offset in units of the access width of 
   11730 the parent Index Field. (Fiodor Suietov)
   11731 
   11732 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
   11733 interface is called during the creation of all AML operation regions, and 
   11734 allows the host OS to exert control over what addresses it will allow the 
   11735 AML code to access. Operation Regions whose addresses are disallowed will 
   11736 cause a runtime exception when they are actually accessed (will not 
   11737 affect 
   11738 or abort table loading.) See oswinxf or osunixxf for an example 
   11739 implementation.
   11740 
   11741 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
   11742 interface allows the host OS to match the various "optional" 
   11743 interface/behavior strings for the _OSI predefined control method as 
   11744 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
   11745 for an example implementation.
   11746 
   11747 Restructured and corrected various problems in the exception handling 
   11748 code 
   11749 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
   11750 (with assistance from Takayoshi Kochi.)
   11751 
   11752 Modified the Linux source converter to ignore quoted string literals 
   11753 while 
   11754 converting identifiers from mixed to lower case. This will correct 
   11755 problems 
   11756 with the disassembler and other areas where such strings must not be 
   11757 modified.
   11758 
   11759 The ACPI_FUNCTION_* macros no longer require quotes around the function 
   11760 name. This allows the Linux source converter to convert the names, now 
   11761 that 
   11762 the converter ignores quoted strings.
   11763 
   11764 Example Code and Data Size: These are the sizes for the OS-independent 
   11765 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11766 debug version of the code includes the debug output trace mechanism and 
   11767 has 
   11768 a much larger code and data size.
   11769 
   11770   Previous Release:
   11771 
   11772     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   11773     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   11774   Current Release:
   11775     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   11776     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   11777 
   11778 
   11779 2) iASL Compiler/Disassembler and Tools:
   11780 
   11781 Implemented 3 new warnings for iASL, and implemented multiple warning 
   11782 levels 
   11783 (w2 flag).
   11784 
   11785 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
   11786 not 
   11787 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
   11788 check for the possible timeout, a warning is issued.
   11789 
   11790 2) Useless operators: If an ASL operator does not specify an optional 
   11791 target 
   11792 operand and it also does not use the function return value from the 
   11793 operator, a warning is issued since the operator effectively does 
   11794 nothing.
   11795 
   11796 3) Unreferenced objects: If a namespace object is created, but never 
   11797 referenced, a warning is issued. This is a warning level 2 since there 
   11798 are 
   11799 cases where this is ok, such as when a secondary table is loaded that 
   11800 uses 
   11801 the unreferenced objects. Even so, care is taken to only flag objects 
   11802 that 
   11803 don't look like they will ever be used. For example, the reserved methods 
   11804 (starting with an underscore) are usually not referenced because it is 
   11805 expected that the OS will invoke them.
   11806 
   11807 ----------------------------------------
   11808 31 March 2006. Summary of changes for version 20060331:
   11809 
   11810 1) ACPI CA Core Subsystem:
   11811 
   11812 Implemented header file support for the following additional ACPI tables: 
   11813 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
   11814 support, 
   11815 all current and known ACPI tables are now defined in the ACPICA headers 
   11816 and 
   11817 are available for use by device drivers and other software.
   11818 
   11819 Implemented support to allow tables that contain ACPI names with invalid 
   11820 characters to be loaded. Previously, this would cause the table load to 
   11821 fail, but since there are several known cases of such tables on existing 
   11822 machines, this change was made to enable ACPI support for them. Also, 
   11823 this 
   11824 matches the behavior of the Microsoft ACPI implementation.
   11825 
   11826 Fixed a couple regressions introduced during the memory optimization in 
   11827 the 
   11828 20060317 release. The namespace node definition required additional 
   11829 reorganization and an internal datatype that had been changed to 8-bit 
   11830 was 
   11831 restored to 32-bit. (Valery Podrezov)
   11832 
   11833 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
   11834 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
   11835 null pointers are now trapped and ignored, matching the behavior of the 
   11836 previous implementation before the deployment of AcpiOsReleaseObject.
   11837 (Valery Podrezov, Fiodor Suietov)
   11838 
   11839 Fixed a memory mapping leak during the deletion of a SystemMemory 
   11840 operation 
   11841 region where a cached memory mapping was not deleted. This became a 
   11842 noticeable problem for operation regions that are defined within 
   11843 frequently 
   11844 used control methods. (Dana Meyers)
   11845 
   11846 Reorganized the ACPI table header files into two main files: one for the 
   11847 ACPI tables consumed by the ACPICA core, and another for the 
   11848 miscellaneous 
   11849 ACPI tables that are consumed by the drivers and other software. The 
   11850 various 
   11851 FADT definitions were merged into one common section and three different 
   11852 tables (ACPI 1.0, 1.0+, and 2.0)
   11853 
   11854 Example Code and Data Size: These are the sizes for the OS-independent 
   11855 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11856 debug version of the code includes the debug output trace mechanism and 
   11857 has 
   11858 a much larger code and data size.
   11859 
   11860   Previous Release:
   11861     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   11862     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   11863   Current Release:
   11864     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   11865     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   11866 
   11867 
   11868 2) iASL Compiler/Disassembler and Tools:
   11869 
   11870 Disassembler: Implemented support to decode and format all non-AML ACPI 
   11871 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
   11872 added to the ACPICA headers, therefore all current and known ACPI tables 
   11873 are 
   11874 supported.
   11875 
   11876 Disassembler: The change to allow ACPI names with invalid characters also 
   11877 enables the disassembly of such tables. Invalid characters within names 
   11878 are 
   11879 changed to '*' to make the name printable; the iASL compiler will still 
   11880 generate an error for such names, however, since this is an invalid ACPI 
   11881 character.
   11882 
   11883 Implemented an option for AcpiXtract (-a) to extract all tables found in 
   11884 the 
   11885 input file. The default invocation extracts only the DSDTs and SSDTs.
   11886 
   11887 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
   11888 makefile for the AcpiXtract utility.
   11889 
   11890 ----------------------------------------
   11891 17 March 2006. Summary of changes for version 20060317:
   11892 
   11893 1) ACPI CA Core Subsystem:
   11894 
   11895 Implemented the use of a cache object for all internal namespace nodes. 
   11896 Since there are about 1000 static nodes in a typical system, this will 
   11897 decrease memory use for cache implementations that minimize per-
   11898 allocation 
   11899 overhead (such as a slab allocator.)
   11900 
   11901 Removed the reference count mechanism for internal namespace nodes, since 
   11902 it 
   11903 was deemed unnecessary. This reduces the size of each namespace node by 
   11904 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
   11905 case, 
   11906 and 32 bytes for the 64-bit case.
   11907 
   11908 Optimized several internal data structures to reduce object size on 64-
   11909 bit 
   11910 platforms by packing data within the 64-bit alignment. This includes the 
   11911 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
   11912 instances corresponding to the namespace objects.
   11913 
   11914 Added two new strings for the predefined _OSI method: "Windows 2001.1 
   11915 SP1" 
   11916 and "Windows 2006".
   11917 
   11918 Split the allocation tracking mechanism out to a separate file, from 
   11919 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
   11920 application-level code. Kernels may wish to not include uttrack.c in 
   11921 distributions.
   11922 
   11923 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
   11924 associated 
   11925 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
   11926 macros.)
   11927 
   11928 Code and Data Size: These are the sizes for the acpica.lib produced by 
   11929 the 
   11930 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   11931 ACPI 
   11932 driver or OSPM code. The debug version of the code includes the debug 
   11933 output 
   11934 trace mechanism and has a much larger code and data size. Note that these 
   11935 values will vary depending on the efficiency of the compiler and the 
   11936 compiler options used during generation.
   11937 
   11938   Previous Release:
   11939     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   11940     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   11941   Current Release:
   11942     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   11943     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   11944 
   11945 
   11946 2) iASL Compiler/Disassembler and Tools:
   11947 
   11948 Implemented an ANSI C version of the acpixtract utility. This version 
   11949 will 
   11950 automatically extract the DSDT and all SSDTs from the input acpidump text 
   11951 file and dump the binary output to separate files. It can also display a 
   11952 summary of the input file including the headers for each table found and 
   11953 will extract any single ACPI table, with any signature. (See 
   11954 source/tools/acpixtract)
   11955 
   11956 ----------------------------------------
   11957 10 March 2006. Summary of changes for version 20060310:
   11958 
   11959 1) ACPI CA Core Subsystem:
   11960 
   11961 Tagged all external interfaces to the subsystem with the new 
   11962 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
   11963 assist 
   11964 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
   11965 macro. The default definition is NULL.
   11966 
   11967 Added the ACPI_THREAD_ID type for the return value from 
   11968 AcpiOsGetThreadId. 
   11969 This allows the host to define this as necessary to simplify kernel 
   11970 integration. The default definition is ACPI_NATIVE_UINT.
   11971 
   11972 Fixed two interpreter problems related to error processing, the deletion 
   11973 of 
   11974 objects, and placing invalid pointers onto the internal operator result 
   11975 stack. BZ 6028, 6151 (Valery Podrezov)
   11976 
   11977 Increased the reference count threshold where a warning is emitted for 
   11978 large 
   11979 reference counts in order to eliminate unnecessary warnings on systems 
   11980 with 
   11981 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
   11982 0x800.
   11983 
   11984 Due to universal disagreement as to the meaning of the 'c' in the 
   11985 calloc() 
   11986 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
   11987 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
   11988 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
   11989 ACPI_FREE.
   11990 
   11991 Code and Data Size: These are the sizes for the acpica.lib produced by 
   11992 the 
   11993 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   11994 ACPI 
   11995 driver or OSPM code. The debug version of the code includes the debug 
   11996 output 
   11997 trace mechanism and has a much larger code and data size. Note that these 
   11998 values will vary depending on the efficiency of the compiler and the 
   11999 compiler options used during generation.
   12000 
   12001   Previous Release:
   12002     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   12003     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   12004   Current Release:
   12005     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   12006     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   12007 
   12008 
   12009 2) iASL Compiler/Disassembler:
   12010 
   12011 Disassembler: implemented support for symbolic resource descriptor 
   12012 references. If a CreateXxxxField operator references a fixed offset 
   12013 within 
   12014 a 
   12015 resource descriptor, a name is assigned to the descriptor and the offset 
   12016 is 
   12017 translated to the appropriate resource tag and pathname. The addition of 
   12018 this support brings the disassembled code very close to the original ASL 
   12019 source code and helps eliminate run-time errors when the disassembled 
   12020 code 
   12021 is modified (and recompiled) in such a way as to invalidate the original 
   12022 fixed offsets.
   12023 
   12024 Implemented support for a Descriptor Name as the last parameter to the 
   12025 ASL 
   12026 Register() macro. This parameter was inadvertently left out of the ACPI 
   12027 specification, and will be added for ACPI 3.0b.
   12028 
   12029 Fixed a problem where the use of the "_OSI" string (versus the full path 
   12030 "\_OSI") caused an internal compiler error. ("No back ptr to op")
   12031 
   12032 Fixed a problem with the error message that occurs when an invalid string 
   12033 is 
   12034 used for a _HID object (such as one with an embedded asterisk: 
   12035 "*PNP010A".) 
   12036 The correct message is now displayed.
   12037 
   12038 ----------------------------------------
   12039 17 February 2006. Summary of changes for version 20060217:
   12040 
   12041 1) ACPI CA Core Subsystem:
   12042 
   12043 Implemented a change to the IndexField support to match the behavior of 
   12044 the 
   12045 Microsoft AML interpreter. The value written to the Index register is now 
   12046 a 
   12047 byte offset, no longer an index based upon the width of the Data 
   12048 register. 
   12049 This should fix IndexField problems seen on some machines where the Data 
   12050 register is not exactly one byte wide. The ACPI specification will be 
   12051 clarified on this point.
   12052 
   12053 Fixed a problem where several resource descriptor types could overrun the 
   12054 internal descriptor buffer due to size miscalculation: VendorShort, 
   12055 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
   12056 affect all platforms.
   12057 
   12058 Fixed a problem where individual resource descriptors were misaligned 
   12059 within 
   12060 the internal buffer, causing alignment faults on IA64 platforms.
   12061 
   12062 Code and Data Size: These are the sizes for the acpica.lib produced by 
   12063 the 
   12064 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   12065 ACPI 
   12066 driver or OSPM code. The debug version of the code includes the debug 
   12067 output 
   12068 trace mechanism and has a much larger code and data size. Note that these 
   12069 values will vary depending on the efficiency of the compiler and the 
   12070 compiler options used during generation.
   12071 
   12072   Previous Release:
   12073     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   12074     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   12075   Current Release:
   12076     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   12077     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   12078 
   12079 
   12080 2) iASL Compiler/Disassembler:
   12081 
   12082 Implemented support for new reserved names: _WDG and _WED are Microsoft 
   12083 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
   12084 defined method (Throttling Depth Limit.)
   12085 
   12086 Fixed a problem where a zero-length VendorShort or VendorLong resource 
   12087 descriptor was incorrectly emitted as a descriptor of length one.
   12088 
   12089 ----------------------------------------
   12090 10 February 2006. Summary of changes for version 20060210:
   12091 
   12092 1) ACPI CA Core Subsystem:
   12093 
   12094 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
   12095 normal execution. These became apparent after the conversion from 
   12096 ACPI_DEBUG_PRINT.
   12097 
   12098 Fixed a problem where the CreateField operator could hang if the BitIndex 
   12099 or 
   12100 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
   12101 
   12102 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
   12103 failed with an exception. This also fixes a couple of related RefOf and 
   12104 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
   12105 
   12106 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
   12107 of 
   12108 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
   12109 BZ 
   12110 5480)
   12111 
   12112 Implemented a memory cleanup at the end of the execution of each 
   12113 iteration 
   12114 of an AML While() loop, preventing the accumulation of outstanding 
   12115 objects. 
   12116 (Valery Podrezov, BZ 5427)
   12117 
   12118 Eliminated a chunk of duplicate code in the object resolution code. 
   12119 (Valery 
   12120 Podrezov, BZ 5336)
   12121 
   12122 Fixed several warnings during the 64-bit code generation.
   12123 
   12124 The AcpiSrc source code conversion tool now inserts one line of 
   12125 whitespace 
   12126 after an if() statement that is followed immediately by a comment, 
   12127 improving 
   12128 readability of the Linux code.
   12129 
   12130 Code and Data Size: The current and previous library sizes for the core 
   12131 subsystem are shown below. These are the code and data sizes for the 
   12132 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12133 These 
   12134 values do not include any ACPI driver or OSPM code. The debug version of 
   12135 the 
   12136 code includes the debug output trace mechanism and has a much larger code 
   12137 and data size. Note that these values will vary depending on the 
   12138 efficiency 
   12139 of the compiler and the compiler options used during generation.
   12140 
   12141   Previous Release:
   12142     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   12143     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   12144   Current Release:
   12145     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   12146     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   12147 
   12148 
   12149 2) iASL Compiler/Disassembler:
   12150 
   12151 Fixed a problem with the disassembly of a BankField operator with a 
   12152 complex 
   12153 expression for the BankValue parameter.
   12154 
   12155 ----------------------------------------
   12156 27 January 2006. Summary of changes for version 20060127:
   12157 
   12158 1) ACPI CA Core Subsystem:
   12159 
   12160 Implemented support in the Resource Manager to allow unresolved 
   12161 namestring 
   12162 references within resource package objects for the _PRT method. This 
   12163 support 
   12164 is in addition to the previously implemented unresolved reference support 
   12165 within the AML parser. If the interpreter slack mode is enabled, these 
   12166 unresolved references will be passed through to the caller as a NULL 
   12167 package 
   12168 entry.
   12169 
   12170 Implemented and deployed new macros and functions for error and warning 
   12171 messages across the subsystem. These macros are simpler and generate less 
   12172 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
   12173 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
   12174 macros remain defined to allow ACPI drivers time to migrate to the new 
   12175 macros.
   12176 
   12177 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
   12178 the 
   12179 Acquire/Release Lock OSL interfaces.
   12180 
   12181 Fixed a problem where Alias ASL operators are sometimes not correctly 
   12182 resolved, in both the interpreter and the iASL compiler.
   12183 
   12184 Fixed several problems with the implementation of the 
   12185 ConcatenateResTemplate 
   12186 ASL operator. As per the ACPI specification, zero length buffers are now 
   12187 treated as a single EndTag. One-length buffers always cause a fatal 
   12188 exception. Non-zero length buffers that do not end with a full 2-byte 
   12189 EndTag 
   12190 cause a fatal exception.
   12191 
   12192 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
   12193 interface. (With assistance from Thomas Renninger)
   12194 
   12195 Code and Data Size: The current and previous library sizes for the core 
   12196 subsystem are shown below. These are the code and data sizes for the 
   12197 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12198 These 
   12199 values do not include any ACPI driver or OSPM code. The debug version of 
   12200 the 
   12201 code includes the debug output trace mechanism and has a much larger code 
   12202 and data size. Note that these values will vary depending on the 
   12203 efficiency 
   12204 of the compiler and the compiler options used during generation.
   12205 
   12206   Previous Release:
   12207     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   12208     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   12209   Current Release:
   12210     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   12211     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   12212 
   12213 
   12214 2) iASL Compiler/Disassembler:
   12215 
   12216 Fixed an internal error that was generated for any forward references to 
   12217 ASL 
   12218 Alias objects.
   12219 
   12220 ----------------------------------------
   12221 13 January 2006. Summary of changes for version 20060113:
   12222 
   12223 1) ACPI CA Core Subsystem:
   12224 
   12225 Added 2006 copyright to all module headers and signons. This affects 
   12226 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
   12227 utilities.
   12228  
   12229 Enhanced the ACPICA error reporting in order to simplify user migration 
   12230 to 
   12231 the non-debug version of ACPICA. Replaced all instances of the 
   12232 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
   12233 debug 
   12234 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
   12235 respectively. This preserves all error and warning messages in the non-
   12236 debug 
   12237 version of the ACPICA code (this has been referred to as the "debug lite" 
   12238 option.) Over 200 cases were converted to create a total of over 380 
   12239 error/warning messages across the ACPICA code. This increases the code 
   12240 and 
   12241 data size of the default non-debug version of the code somewhat (about 
   12242 13K), 
   12243 but all error/warning reporting may be disabled if desired (and code 
   12244 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
   12245 configuration option. The size of the debug version of ACPICA remains 
   12246 about 
   12247 the same.
   12248 
   12249 Fixed a memory leak within the AML Debugger "Set" command. One object was 
   12250 not properly deleted for every successful invocation of the command.
   12251 
   12252 Code and Data Size: The current and previous library sizes for the core 
   12253 subsystem are shown below. These are the code and data sizes for the 
   12254 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12255 These 
   12256 values do not include any ACPI driver or OSPM code. The debug version of 
   12257 the 
   12258 code includes the debug output trace mechanism and has a much larger code 
   12259 and data size. Note that these values will vary depending on the 
   12260 efficiency 
   12261 of the compiler and the compiler options used during generation.
   12262 
   12263   Previous Release:
   12264     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   12265     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   12266   Current Release:
   12267     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   12268     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   12269 
   12270 
   12271 2) iASL Compiler/Disassembler:
   12272 
   12273 The compiler now officially supports the ACPI 3.0a specification that was 
   12274 released on December 30, 2005. (Specification is available at 
   12275 www.acpi.info)
   12276 
   12277 ----------------------------------------
   12278 16 December 2005. Summary of changes for version 20051216:
   12279 
   12280 1) ACPI CA Core Subsystem:
   12281 
   12282 Implemented optional support to allow unresolved names within ASL Package 
   12283 objects. A null object is inserted in the package when a named reference 
   12284 cannot be located in the current namespace. Enabled via the interpreter 
   12285 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
   12286 machines 
   12287 that contain such code.
   12288 
   12289 Implemented an optimization to the initialization sequence that can 
   12290 improve 
   12291 boot time. During ACPI device initialization, the _STA method is now run 
   12292 if 
   12293 and only if the _INI method exists. The _STA method is used to determine 
   12294 if 
   12295 the device is present; An _INI can only be run if _STA returns present, 
   12296 but 
   12297 it is a waste of time to run the _STA method if the _INI does not exist. 
   12298 (Prototype and assistance from Dong Wei)
   12299 
   12300 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
   12301 is 
   12302 available in the current compiler. Otherwise, the default (void *) cast 
   12303 is 
   12304 used as before.
   12305 
   12306 Fixed some possible memory leaks found within the execution path of the 
   12307 Break, Continue, If, and CreateField operators. (Valery Podrezov)
   12308 
   12309 Fixed a problem introduced in the 20051202 release where an exception is 
   12310 generated during method execution if a control method attempts to declare 
   12311 another method.
   12312 
   12313 Moved resource descriptor string constants that are used by both the AML 
   12314 disassembler and AML debugger to the common utilities directory so that 
   12315 these components are independent.
   12316 
   12317 Implemented support in the AcpiExec utility (-e switch) to globally 
   12318 ignore 
   12319 exceptions during control method execution (method is not aborted.)
   12320 
   12321 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
   12322 generation.
   12323 
   12324 Code and Data Size: The current and previous library sizes for the core 
   12325 subsystem are shown below. These are the code and data sizes for the 
   12326 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12327 These 
   12328 values do not include any ACPI driver or OSPM code. The debug version of 
   12329 the 
   12330 code includes the debug output trace mechanism and has a much larger code 
   12331 and data size. Note that these values will vary depending on the 
   12332 efficiency 
   12333 of the compiler and the compiler options used during generation.
   12334 
   12335   Previous Release:
   12336     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12337     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   12338   Current Release:
   12339     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   12340     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   12341 
   12342 
   12343 2) iASL Compiler/Disassembler:
   12344 
   12345 Fixed a problem where a CPU stack overflow fault could occur if a 
   12346 recursive 
   12347 method call was made from within a Return statement.
   12348 
   12349 ----------------------------------------
   12350 02 December 2005. Summary of changes for version 20051202:
   12351 
   12352 1) ACPI CA Core Subsystem:
   12353 
   12354 Modified the parsing of control methods to no longer create namespace 
   12355 objects during the first pass of the parse. Objects are now created only 
   12356 during the execute phase, at the moment the namespace creation operator 
   12357 is 
   12358 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
   12359 This 
   12360 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
   12361 reentrant control methods are protected by an AML mutex. The mutex will 
   12362 now 
   12363 correctly block multiple threads from attempting to create the same 
   12364 object 
   12365 more than once.
   12366 
   12367 Increased the number of available Owner Ids for namespace object tracking 
   12368 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
   12369 on 
   12370 some machines with a large number of ACPI tables (either static or 
   12371 dynamic).
   12372 
   12373 Fixed a problem with the AcpiExec utility where a fault could occur when 
   12374 the 
   12375 -b switch (batch mode) is used.
   12376 
   12377 Enhanced the namespace dump routine to output the owner ID for each 
   12378 namespace object.
   12379 
   12380 Code and Data Size: The current and previous library sizes for the core 
   12381 subsystem are shown below. These are the code and data sizes for the 
   12382 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12383 These 
   12384 values do not include any ACPI driver or OSPM code. The debug version of 
   12385 the 
   12386 code includes the debug output trace mechanism and has a much larger code 
   12387 and data size. Note that these values will vary depending on the 
   12388 efficiency 
   12389 of the compiler and the compiler options used during generation.
   12390 
   12391   Previous Release:
   12392     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12393     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   12394   Current Release:
   12395     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12396     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   12397 
   12398 
   12399 2) iASL Compiler/Disassembler:
   12400 
   12401 Fixed a parse error during compilation of certain Switch/Case constructs. 
   12402 To 
   12403 simplify the parse, the grammar now allows for multiple Default 
   12404 statements 
   12405 and this error is now detected and flagged during the analysis phase.
   12406 
   12407 Disassembler: The disassembly now includes the contents of the original 
   12408 table header within a comment at the start of the file. This includes the 
   12409 name and version of the original ASL compiler.
   12410 
   12411 ----------------------------------------
   12412 17 November 2005. Summary of changes for version 20051117:
   12413 
   12414 1) ACPI CA Core Subsystem:
   12415 
   12416 Fixed a problem in the AML parser where the method thread count could be 
   12417 decremented below zero if any errors occurred during the method parse 
   12418 phase. 
   12419 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
   12420 machines. 
   12421 This also fixed a related regression with the mechanism that detects and 
   12422 corrects methods that cannot properly handle reentrancy (related to the 
   12423 deployment of the new OwnerId mechanism.)
   12424 
   12425 Eliminated the pre-parsing of control methods (to detect errors) during 
   12426 table load. Related to the problem above, this was causing unwind issues 
   12427 if 
   12428 any errors occurred during the parse, and it seemed to be overkill. A 
   12429 table 
   12430 load should not be aborted if there are problems with any single control 
   12431 method, thus rendering this feature rather pointless.
   12432 
   12433 Fixed a problem with the new table-driven resource manager where an 
   12434 internal 
   12435 buffer overflow could occur for small resource templates.
   12436 
   12437 Implemented a new external interface, AcpiGetVendorResource. This 
   12438 interface 
   12439 will find and return a vendor-defined resource descriptor within a _CRS 
   12440 or 
   12441 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
   12442 Helgaas.
   12443 
   12444 Removed the length limit (200) on string objects as per the upcoming ACPI 
   12445 3.0A specification. This affects the following areas of the interpreter: 
   12446 1) 
   12447 any implicit conversion of a Buffer to a String, 2) a String object
   12448 result 
   12449 of the ASL Concatenate operator, 3) the String object result of the ASL
   12450 ToString operator.
   12451 
   12452 Fixed a problem in the Windows OS interface layer (OSL) where a 
   12453 WAIT_FOREVER 
   12454 on a semaphore object would incorrectly timeout. This allows the 
   12455 multithreading features of the AcpiExec utility to work properly under 
   12456 Windows.
   12457 
   12458 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
   12459 the recently added file named "utresrc.c".
   12460 
   12461 Code and Data Size: The current and previous library sizes for the core 
   12462 subsystem are shown below. These are the code and data sizes for the 
   12463 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12464 These 
   12465 values do not include any ACPI driver or OSPM code. The debug version of 
   12466 the 
   12467 code includes the debug output trace mechanism and has a much larger code 
   12468 and data size. Note that these values will vary depending on the 
   12469 efficiency 
   12470 of the compiler and the compiler options used during generation.
   12471 
   12472   Previous Release:
   12473     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   12474     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   12475   Current Release:
   12476     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12477     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   12478 
   12479 
   12480 2) iASL Compiler/Disassembler:
   12481 
   12482 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
   12483 specification. For the iASL compiler, this means that string literals 
   12484 within 
   12485 the source ASL can be of any length. 
   12486 
   12487 Enhanced the listing output to dump the AML code for resource descriptors 
   12488 immediately after the ASL code for each descriptor, instead of in a block 
   12489 at 
   12490 the end of the entire resource template.
   12491 
   12492 Enhanced the compiler debug output to dump the entire original parse tree 
   12493 constructed during the parse phase, before any transforms are applied to 
   12494 the 
   12495 tree. The transformed tree is dumped also.
   12496 
   12497 ----------------------------------------
   12498 02 November 2005. Summary of changes for version 20051102:
   12499 
   12500 1) ACPI CA Core Subsystem:
   12501 
   12502 Modified the subsystem initialization sequence to improve GPE support. 
   12503 The 
   12504 GPE initialization has been split into two parts in order to defer 
   12505 execution 
   12506 of the _PRW methods (Power Resources for Wake) until after the hardware 
   12507 is 
   12508 fully initialized and the SCI handler is installed. This allows the _PRW 
   12509 methods to access fields protected by the Global Lock. This will fix 
   12510 systems 
   12511 where a NO_GLOBAL_LOCK exception has been seen during initialization.
   12512 
   12513 Converted the ACPI internal object disassemble and display code within 
   12514 the 
   12515 AML debugger to fully table-driven operation, reducing code size and 
   12516 increasing maintainability.
   12517 
   12518 Fixed a regression with the ConcatenateResTemplate() ASL operator 
   12519 introduced 
   12520 in the 20051021 release.
   12521 
   12522 Implemented support for "local" internal ACPI object types within the 
   12523 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
   12524 These local types include RegionFields, BankFields, IndexFields, Alias, 
   12525 and 
   12526 reference objects.
   12527 
   12528 Moved common AML resource handling code into a new file, "utresrc.c". 
   12529 This 
   12530 code is shared by both the Resource Manager and the AML Debugger.
   12531 
   12532 Code and Data Size: The current and previous library sizes for the core 
   12533 subsystem are shown below. These are the code and data sizes for the 
   12534 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12535 These 
   12536 values do not include any ACPI driver or OSPM code. The debug version of 
   12537 the 
   12538 code includes the debug output trace mechanism and has a much larger code 
   12539 and data size. Note that these values will vary depending on the 
   12540 efficiency 
   12541 of the compiler and the compiler options used during generation.
   12542 
   12543   Previous Release:
   12544     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   12545     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   12546   Current Release:
   12547     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   12548     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   12549 
   12550 
   12551 2) iASL Compiler/Disassembler:
   12552 
   12553 Fixed a problem with very large initializer lists (more than 4000 
   12554 elements) 
   12555 for both Buffer and Package objects where the parse stack could overflow.
   12556 
   12557 Enhanced the pre-compile source code scan for non-ASCII characters to 
   12558 ignore 
   12559 characters within comment fields. The scan is now always performed and is 
   12560 no 
   12561 longer optional, detecting invalid characters within a source file 
   12562 immediately rather than during the parse phase or later.
   12563 
   12564 Enhanced the ASL grammar definition to force early reductions on all 
   12565 list-
   12566 style grammar elements so that the overall parse stack usage is greatly 
   12567 reduced. This should improve performance and reduce the possibility of 
   12568 parse 
   12569 stack overflow.
   12570 
   12571 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
   12572 Also, 
   12573 with the addition of a %expected statement, the compiler generates from 
   12574 source with no warnings.
   12575 
   12576 Fixed a possible segment fault in the disassembler if the input filename 
   12577 does not contain a "dot" extension (Thomas Renninger).
   12578 
   12579 ----------------------------------------
   12580 21 October 2005. Summary of changes for version 20051021:
   12581 
   12582 1) ACPI CA Core Subsystem:
   12583 
   12584 Implemented support for the EM64T and other x86-64 processors. This 
   12585 essentially entails recognizing that these processors support non-aligned 
   12586 memory transfers. Previously, all 64-bit processors were assumed to lack 
   12587 hardware support for non-aligned transfers.
   12588 
   12589 Completed conversion of the Resource Manager to nearly full table-driven 
   12590 operation. Specifically, the resource conversion code (convert AML to 
   12591 internal format and the reverse) and the debug code to dump internal 
   12592 resource descriptors are fully table-driven, reducing code and data size 
   12593 and 
   12594 improving maintainability.
   12595 
   12596 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
   12597 word 
   12598 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
   12599 from 
   12600 Alexey Starikovskiy)
   12601 
   12602 Implemented support within the resource conversion code for the Type-
   12603 Specific byte within the various ACPI 3.0 *WordSpace macros.
   12604 
   12605 Fixed some issues within the resource conversion code for the type-
   12606 specific 
   12607 flags for both Memory and I/O address resource descriptors. For Memory, 
   12608 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
   12609 TTP flags into two separate fields.
   12610 
   12611 Code and Data Size: The current and previous library sizes for the core 
   12612 subsystem are shown below. These are the code and data sizes for the 
   12613 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12614 These 
   12615 values do not include any ACPI driver or OSPM code. The debug version of 
   12616 the 
   12617 code includes the debug output trace mechanism and has a much larger code 
   12618 and data size. Note that these values will vary depending on the 
   12619 efficiency 
   12620 of the compiler and the compiler options used during generation.
   12621 
   12622   Previous Release:
   12623     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   12624     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   12625   Current Release:
   12626     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   12627     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   12628 
   12629 
   12630 
   12631 2) iASL Compiler/Disassembler:
   12632 
   12633 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
   12634 the 
   12635 corresponding ResourceSource string was not also present in a resource 
   12636 descriptor declaration. This restriction caused problems with existing 
   12637 AML/ASL code that includes the Index byte without the string. When such 
   12638 AML 
   12639 was disassembled, it could not be compiled without modification. Further, 
   12640 the modified code created a resource template with a different size than 
   12641 the 
   12642 original, breaking code that used fixed offsets into the resource 
   12643 template 
   12644 buffer.
   12645 
   12646 Removed a recent feature of the disassembler to ignore a lone 
   12647 ResourceIndex 
   12648 byte. This byte is now emitted if present so that the exact AML can be 
   12649 reproduced when the disassembled code is recompiled.
   12650 
   12651 Improved comments and text alignment for the resource descriptor code 
   12652 emitted by the disassembler.
   12653 
   12654 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
   12655 a 
   12656 Register() resource descriptor.
   12657 
   12658 ----------------------------------------
   12659 30 September 2005. Summary of changes for version 20050930:
   12660 
   12661 1) ACPI CA Core Subsystem:
   12662 
   12663 Completed a major overhaul of the Resource Manager code - specifically, 
   12664 optimizations in the area of the AML/internal resource conversion code. 
   12665 The 
   12666 code has been optimized to simplify and eliminate duplicated code, CPU 
   12667 stack 
   12668 use has been decreased by optimizing function parameters and local 
   12669 variables, and naming conventions across the manager have been 
   12670 standardized 
   12671 for clarity and ease of maintenance (this includes function, parameter, 
   12672 variable, and struct/typedef names.) The update may force changes in some 
   12673 driver code, depending on how resources are handled by the host OS.
   12674 
   12675 All Resource Manager dispatch and information tables have been moved to a 
   12676 single location for clarity and ease of maintenance. One new file was 
   12677 created, named "rsinfo.c".
   12678 
   12679 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
   12680 guarantee that the argument is not evaluated twice, making them less 
   12681 prone 
   12682 to macro side-effects. However, since there exists the possibility of 
   12683 additional stack use if a particular compiler cannot optimize them (such 
   12684 as 
   12685 in the debug generation case), the original macros are optionally 
   12686 available.  
   12687 Note that some invocations of the return_VALUE macro may now cause size 
   12688 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
   12689 to 
   12690 eliminate these. (From Randy Dunlap)
   12691 
   12692 Implemented a new mechanism to enable debug tracing for individual 
   12693 control 
   12694 methods. A new external interface, AcpiDebugTrace, is provided to enable 
   12695 this mechanism. The intent is to allow the host OS to easily enable and 
   12696 disable tracing for problematic control methods. This interface can be 
   12697 easily exposed to a user or debugger interface if desired. See the file 
   12698 psxface.c for details.
   12699 
   12700 AcpiUtCallocate will now return a valid pointer if a length of zero is 
   12701 specified - a length of one is used and a warning is issued. This matches 
   12702 the behavior of AcpiUtAllocate.
   12703 
   12704 Code and Data Size: The current and previous library sizes for the core 
   12705 subsystem are shown below. These are the code and data sizes for the 
   12706 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12707 These 
   12708 values do not include any ACPI driver or OSPM code. The debug version of 
   12709 the 
   12710 code includes the debug output trace mechanism and has a much larger code 
   12711 and data size. Note that these values will vary depending on the 
   12712 efficiency 
   12713 of the compiler and the compiler options used during generation.
   12714 
   12715   Previous Release:
   12716     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   12717     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   12718   Current Release:
   12719     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   12720     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   12721 
   12722 
   12723 2) iASL Compiler/Disassembler:
   12724 
   12725 A remark is issued if the effective compile-time length of a package or 
   12726 buffer is zero. Previously, this was a warning.
   12727 
   12728 ----------------------------------------
   12729 16 September 2005. Summary of changes for version 20050916:
   12730 
   12731 1) ACPI CA Core Subsystem:
   12732 
   12733 Fixed a problem within the Resource Manager where support for the Generic 
   12734 Register descriptor was not fully implemented. This descriptor is now 
   12735 fully 
   12736 recognized, parsed, disassembled, and displayed.
   12737 
   12738 Completely restructured the Resource Manager code to utilize table-driven 
   12739 dispatch and lookup, eliminating many of the large switch() statements. 
   12740 This 
   12741 reduces overall subsystem code size and code complexity. Affects the 
   12742 resource parsing and construction, disassembly, and debug dump output.
   12743 
   12744 Cleaned up and restructured the debug dump output for all resource 
   12745 descriptors. Improved readability of the output and reduced code size.
   12746 
   12747 Fixed a problem where changes to internal data structures caused the 
   12748 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
   12749 
   12750 Code and Data Size: The current and previous library sizes for the core 
   12751 subsystem are shown below. These are the code and data sizes for the 
   12752 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12753 These 
   12754 values do not include any ACPI driver or OSPM code. The debug version of 
   12755 the 
   12756 code includes the debug output trace mechanism and has a much larger code 
   12757 and data size. Note that these values will vary depending on the 
   12758 efficiency 
   12759 of the compiler and the compiler options used during generation.
   12760 
   12761   Previous Release:
   12762     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   12763     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   12764   Current Release:
   12765     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   12766     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   12767 
   12768 
   12769 2) iASL Compiler/Disassembler:
   12770 
   12771 Updated the disassembler to automatically insert an EndDependentFn() 
   12772 macro 
   12773 into the ASL stream if this macro is missing in the original AML code, 
   12774 simplifying compilation of the resulting ASL module.
   12775 
   12776 Fixed a problem in the disassembler where a disassembled ResourceSource 
   12777 string (within a large resource descriptor) was not surrounded by quotes 
   12778 and 
   12779 not followed by a comma, causing errors when the resulting ASL module was 
   12780 compiled. Also, escape sequences within a ResourceSource string are now 
   12781 handled correctly (especially "\\")
   12782 
   12783 ----------------------------------------
   12784 02 September 2005. Summary of changes for version 20050902:
   12785 
   12786 1) ACPI CA Core Subsystem:
   12787 
   12788 Fixed a problem with the internal Owner ID allocation and deallocation 
   12789 mechanisms for control method execution and recursive method invocation. 
   12790 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
   12791 messages seen on some systems. Recursive method invocation depth is 
   12792 currently limited to 255. (Alexey Starikovskiy)
   12793 
   12794 Completely eliminated all vestiges of support for the "module-level 
   12795 executable code" until this support is fully implemented and debugged. 
   12796 This 
   12797 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
   12798 some systems that invoke this support.
   12799 
   12800 Fixed a problem within the resource manager code where the transaction 
   12801 flags 
   12802 for a 64-bit address descriptor were handled incorrectly in the type-
   12803 specific flag byte.
   12804 
   12805 Consolidated duplicate code within the address descriptor resource 
   12806 manager 
   12807 code, reducing overall subsystem code size.
   12808 
   12809 Fixed a fault when using the AML debugger "disassemble" command to 
   12810 disassemble individual control methods.
   12811 
   12812 Removed references to the "release_current" directory within the Unix 
   12813 release package.
   12814 
   12815 Code and Data Size: The current and previous core subsystem library sizes 
   12816 are shown below. These are the code and data sizes for the acpica.lib 
   12817 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
   12818 include any ACPI driver or OSPM code. The debug version of the code 
   12819 includes 
   12820 the debug output trace mechanism and has a much larger code and data 
   12821 size. 
   12822 Note that these values will vary depending on the efficiency of the 
   12823 compiler 
   12824 and the compiler options used during generation.
   12825 
   12826   Previous Release:
   12827     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   12828     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   12829   Current Release:
   12830     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   12831     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   12832 
   12833 
   12834 2) iASL Compiler/Disassembler:
   12835 
   12836 Implemented an error check for illegal duplicate values in the interrupt 
   12837 and 
   12838 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
   12839 Interrupt().
   12840 
   12841 Implemented error checking for the Irq() and IrqNoFlags() macros to 
   12842 detect 
   12843 too many values in the interrupt list (16 max) and invalid values in the 
   12844 list (range 0 - 15)
   12845 
   12846 The maximum length string literal within an ASL file is now restricted to 
   12847 200 characters as per the ACPI specification.
   12848 
   12849 Fixed a fault when using the -ln option (generate namespace listing).
   12850 
   12851 Implemented an error check to determine if a DescriptorName within a 
   12852 resource descriptor has already been used within the current scope.
   12853 
   12854 ----------------------------------------
   12855 15 August 2005.  Summary of changes for version 20050815:
   12856  
   12857 1) ACPI CA Core Subsystem:
   12858  
   12859 Implemented a full bytewise compare to determine if a table load request 
   12860 is 
   12861 attempting to load a duplicate table. The compare is performed if the 
   12862 table 
   12863 signatures and table lengths match. This will allow different tables with 
   12864 the same OEM Table ID and revision to be loaded - probably against the 
   12865 ACPI 
   12866 specification, but discovered in the field nonetheless.
   12867  
   12868 Added the changes.txt logfile to each of the zipped release packages.
   12869  
   12870 Code and Data Size: Current and previous core subsystem library sizes are 
   12871 shown below. These are the code and data sizes for the acpica.lib 
   12872 produced 
   12873 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12874 any ACPI driver or OSPM code. The debug version of the code includes the 
   12875 debug output trace mechanism and has a much larger code and data size. 
   12876 Note 
   12877 that these values will vary depending on the efficiency of the compiler 
   12878 and 
   12879 the compiler options used during generation.
   12880  
   12881   Previous Release:
   12882     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   12883     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   12884   Current Release:
   12885     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   12886     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   12887  
   12888  
   12889 2) iASL Compiler/Disassembler:
   12890  
   12891 Fixed a problem where incorrect AML code could be generated for Package 
   12892 objects if optimization is disabled (via the -oa switch).
   12893  
   12894 Fixed a problem with where incorrect AML code is generated for variable-
   12895 length packages when the package length is not specified and the number 
   12896 of 
   12897 initializer values is greater than 255.
   12898  
   12899 
   12900 ----------------------------------------
   12901 29 July 2005.  Summary of changes for version 20050729:
   12902 
   12903 1) ACPI CA Core Subsystem:
   12904 
   12905 Implemented support to ignore an attempt to install/load a particular 
   12906 ACPI 
   12907 table more than once. Apparently there exists BIOS code that repeatedly 
   12908 attempts to load the same SSDT upon certain events. With assistance from 
   12909 Venkatesh Pallipadi.
   12910 
   12911 Restructured the main interface to the AML parser in order to correctly 
   12912 handle all exceptional conditions. This will prevent leakage of the 
   12913 OwnerId 
   12914 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
   12915 some 
   12916 machines. With assistance from Alexey Starikovskiy.
   12917 
   12918 Support for "module level code" has been disabled in this version due to 
   12919 a 
   12920 number of issues that have appeared on various machines. The support can 
   12921 be 
   12922 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
   12923 compilation. When the issues are fully resolved, the code will be enabled 
   12924 by 
   12925 default again.
   12926 
   12927 Modified the internal functions for debug print support to define the 
   12928 FunctionName parameter as a (const char *) for compatibility with 
   12929 compiler 
   12930 built-in macros such as __FUNCTION__, etc.
   12931 
   12932 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
   12933 
   12934 Implemented support to display an object count summary for the AML 
   12935 Debugger 
   12936 commands Object and Methods.
   12937 
   12938 Code and Data Size: Current and previous core subsystem library sizes are 
   12939 shown below. These are the code and data sizes for the acpica.lib 
   12940 produced 
   12941 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   12942 any ACPI driver or OSPM code. The debug version of the code includes the 
   12943 debug output trace mechanism and has a much larger code and data size. 
   12944 Note 
   12945 that these values will vary depending on the efficiency of the compiler 
   12946 and 
   12947 the compiler options used during generation.
   12948 
   12949   Previous Release:
   12950     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   12951     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   12952   Current Release:
   12953     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   12954     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   12955 
   12956 
   12957 2) iASL Compiler/Disassembler:
   12958 
   12959 Fixed a regression that appeared in the 20050708 version of the compiler 
   12960 where an error message was inadvertently emitted for invocations of the 
   12961 _OSI 
   12962 reserved control method.
   12963 
   12964 ----------------------------------------
   12965 08 July 2005.  Summary of changes for version 20050708:
   12966 
   12967 1) ACPI CA Core Subsystem:
   12968 
   12969 The use of the CPU stack in the debug version of the subsystem has been 
   12970 considerably reduced. Previously, a debug structure was declared in every 
   12971 function that used the debug macros. This structure has been removed in 
   12972 favor of declaring the individual elements as parameters to the debug 
   12973 functions. This reduces the cumulative stack use during nested execution 
   12974 of 
   12975 ACPI function calls at the cost of a small increase in the code size of 
   12976 the 
   12977 debug version of the subsystem. With assistance from Alexey Starikovskiy 
   12978 and 
   12979 Len Brown.
   12980 
   12981 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
   12982 headers to define a macro that will return the current function name at 
   12983 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
   12984 by 
   12985 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
   12986 compiler-dependent header, the function name is saved on the CPU stack 
   12987 (one 
   12988 pointer per function.) This mechanism is used because apparently there 
   12989 exists no standard ANSI-C defined macro that that returns the function 
   12990 name.
   12991 
   12992 Redesigned and reimplemented the "Owner ID" mechanism used to track 
   12993 namespace objects created/deleted by ACPI tables and control method 
   12994 execution. A bitmap is now used to allocate and free the IDs, thus 
   12995 solving 
   12996 the wraparound problem present in the previous implementation. The size 
   12997 of 
   12998 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
   12999 Starikovskiy).
   13000 
   13001 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
   13002 bitfield 
   13003 flag definitions within the headers for the predefined ACPI tables. These 
   13004 have been replaced by UINT8_BIT in order to increase the code portability 
   13005 of 
   13006 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
   13007 eliminate bitfields entirely because of a lack of portability.
   13008 
   13009 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
   13010 This 
   13011 is a frequently used function and this improvement increases the 
   13012 performance 
   13013 of the entire subsystem (Alexey Starikovskiy).
   13014 
   13015 Fixed several possible memory leaks and the inverse - premature object 
   13016 deletion (Alexey Starikovskiy).
   13017 
   13018 Code and Data Size: Current and previous core subsystem library sizes are 
   13019 shown below. These are the code and data sizes for the acpica.lib 
   13020 produced 
   13021 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13022 any ACPI driver or OSPM code. The debug version of the code includes the 
   13023 debug output trace mechanism and has a much larger code and data size. 
   13024 Note 
   13025 that these values will vary depending on the efficiency of the compiler 
   13026 and 
   13027 the compiler options used during generation.
   13028 
   13029   Previous Release:
   13030     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   13031     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   13032   Current Release:
   13033     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   13034     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   13035 
   13036 ----------------------------------------
   13037 24 June 2005.  Summary of changes for version 20050624:
   13038 
   13039 1) ACPI CA Core Subsystem:
   13040 
   13041 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
   13042 the host-defined cache object. This allows the OSL implementation to 
   13043 define 
   13044 and type this object in any manner desired, simplifying the OSL 
   13045 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
   13046 Linux, and should be defined in the OS-specific header file for other 
   13047 operating systems as required.
   13048 
   13049 Changed the interface to AcpiOsAcquireObject to directly return the 
   13050 requested object as the function return (instead of ACPI_STATUS.) This 
   13051 change was made for performance reasons, since this is the purpose of the 
   13052 interface in the first place. AcpiOsAcquireObject is now similar to the 
   13053 AcpiOsAllocate interface.
   13054 
   13055 Implemented a new AML debugger command named Businfo. This command 
   13056 displays 
   13057 information about all devices that have an associate _PRT object. The 
   13058 _ADR, 
   13059 _HID, _UID, and _CID are displayed for these devices.
   13060 
   13061 Modified the initialization sequence in AcpiInitializeSubsystem to call 
   13062 the 
   13063 OSL interface AcpiOslInitialize first, before any local initialization. 
   13064 This 
   13065 change was required because the global initialization now calls OSL 
   13066 interfaces.
   13067 
   13068 Enhanced the Dump command to display the entire contents of Package 
   13069 objects 
   13070 (including all sub-objects and their values.) 
   13071 
   13072 Restructured the code base to split some files because of size and/or 
   13073 because the code logically belonged in a separate file. New files are 
   13074 listed 
   13075 below. All makefiles and project files included in the ACPI CA release 
   13076 have 
   13077 been updated.
   13078     utilities/utcache.c           /* Local cache interfaces */
   13079     utilities/utmutex.c           /* Local mutex support */
   13080     utilities/utstate.c           /* State object support */
   13081     interpreter/parser/psloop.c   /* Main AML parse loop */
   13082 
   13083 Code and Data Size: Current and previous core subsystem library sizes are 
   13084 shown below. These are the code and data sizes for the acpica.lib 
   13085 produced 
   13086 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13087 any ACPI driver or OSPM code. The debug version of the code includes the 
   13088 debug output trace mechanism and has a much larger code and data size. 
   13089 Note 
   13090 that these values will vary depending on the efficiency of the compiler 
   13091 and 
   13092 the compiler options used during generation.
   13093 
   13094   Previous Release:
   13095     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   13096     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   13097   Current Release:
   13098     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   13099     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   13100 
   13101 
   13102 2) iASL Compiler/Disassembler:
   13103 
   13104 Fixed a regression introduced in version 20050513 where the use of a 
   13105 Package 
   13106 object within a Case() statement caused a compile time exception. The 
   13107 original behavior has been restored (a Match() operator is emitted.)
   13108 
   13109 ----------------------------------------
   13110 17 June 2005.  Summary of changes for version 20050617:
   13111 
   13112 1) ACPI CA Core Subsystem:
   13113 
   13114 Moved the object cache operations into the OS interface layer (OSL) to 
   13115 allow 
   13116 the host OS to handle these operations if desired (for example, the Linux 
   13117 OSL will invoke the slab allocator). This support is optional; the 
   13118 compile 
   13119 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
   13120 cache 
   13121 code in the ACPI CA core. The new OSL interfaces are shown below. See 
   13122 utalloc.c for an example implementation, and acpiosxf.h for the exact 
   13123 interface definitions. With assistance from Alexey Starikovskiy.
   13124     AcpiOsCreateCache
   13125     AcpiOsDeleteCache
   13126     AcpiOsPurgeCache
   13127     AcpiOsAcquireObject
   13128     AcpiOsReleaseObject
   13129 
   13130 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
   13131 return 
   13132 and restore a flags parameter. This fits better with many OS lock models. 
   13133 Note: the current execution state (interrupt handler or not) is no longer 
   13134 passed to these interfaces. If necessary, the OSL must determine this 
   13135 state 
   13136 by itself, a simple and fast operation. With assistance from Alexey 
   13137 Starikovskiy.
   13138 
   13139 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
   13140 present if the revision of the RSDP was 2 or greater. According to the 
   13141 ACPI 
   13142 specification, the XSDT is optional in all cases, and the table manager 
   13143 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
   13144 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
   13145 contain 
   13146 only the RSDT.
   13147 
   13148 Fixed an interpreter problem with the Mid() operator in the case of an 
   13149 input 
   13150 string where the resulting output string is of zero length. It now 
   13151 correctly 
   13152 returns a valid, null terminated string object instead of a string object 
   13153 with a null pointer.
   13154 
   13155 Fixed a problem with the control method argument handling to allow a 
   13156 store 
   13157 to an Arg object that already contains an object of type Device. The 
   13158 Device 
   13159 object is now correctly overwritten. Previously, an error was returned.
   13160 
   13161 
   13162 Enhanced the debugger Find command to emit object values in addition to 
   13163 the 
   13164 found object pathnames. The output format is the same as the dump 
   13165 namespace 
   13166 command.
   13167 
   13168 Enhanced the debugger Set command. It now has the ability to set the 
   13169 value 
   13170 of any Named integer object in the namespace (Previously, only method 
   13171 locals 
   13172 and args could be set.)
   13173 
   13174 Code and Data Size: Current and previous core subsystem library sizes are 
   13175 shown below. These are the code and data sizes for the acpica.lib 
   13176 produced 
   13177 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13178 any ACPI driver or OSPM code. The debug version of the code includes the 
   13179 debug output trace mechanism and has a much larger code and data size. 
   13180 Note 
   13181 that these values will vary depending on the efficiency of the compiler 
   13182 and 
   13183 the compiler options used during generation.
   13184 
   13185   Previous Release:
   13186     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   13187     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   13188   Current Release:
   13189     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   13190     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   13191 
   13192 
   13193 2) iASL Compiler/Disassembler:
   13194 
   13195 Fixed a regression in the disassembler where if/else/while constructs 
   13196 were 
   13197 output incorrectly. This problem was introduced in the previous release 
   13198 (20050526). This problem also affected the single-step disassembly in the 
   13199 debugger.
   13200 
   13201 Fixed a problem where compiling the reserved _OSI method would randomly 
   13202 (but 
   13203 rarely) produce compile errors.
   13204 
   13205 Enhanced the disassembler to emit compilable code in the face of 
   13206 incorrect 
   13207 AML resource descriptors. If the optional ResourceSourceIndex is present, 
   13208 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
   13209 disassembly. Otherwise, the resulting code cannot be compiled without 
   13210 errors.
   13211 
   13212 ----------------------------------------
   13213 26 May 2005.  Summary of changes for version 20050526:
   13214 
   13215 1) ACPI CA Core Subsystem:
   13216 
   13217 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
   13218 the module level (not within a control method.) These opcodes are 
   13219 executed 
   13220 exactly once at the time the table is loaded. This type of code was legal 
   13221 up 
   13222 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
   13223 in 
   13224 order to provide backwards compatibility with earlier BIOS 
   13225 implementations. 
   13226 This eliminates the "Encountered executable code at module level" warning 
   13227 that was previously generated upon detection of such code.
   13228 
   13229 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
   13230 inadvertently be generated during the lookup of namespace objects in the 
   13231 second pass parse of ACPI tables and control methods. It appears that 
   13232 this 
   13233 problem could occur during the resolution of forward references to 
   13234 namespace 
   13235 objects.
   13236 
   13237 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
   13238 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
   13239 allows the deadlock detection debug code to be compiled out in the normal 
   13240 case, improving mutex performance (and overall subsystem performance) 
   13241 considerably.
   13242 
   13243 Implemented a handful of miscellaneous fixes for possible memory leaks on 
   13244 error conditions and error handling control paths. These fixes were 
   13245 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
   13246 
   13247 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
   13248 (tbxfroot.c) 
   13249 to prevent a fault in this error case.
   13250 
   13251 Code and Data Size: Current and previous core subsystem library sizes are 
   13252 shown below. These are the code and data sizes for the acpica.lib 
   13253 produced 
   13254 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13255 any ACPI driver or OSPM code. The debug version of the code includes the 
   13256 debug output trace mechanism and has a much larger code and data size. 
   13257 Note 
   13258 that these values will vary depending on the efficiency of the compiler 
   13259 and 
   13260 the compiler options used during generation.
   13261 
   13262   Previous Release:
   13263     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13264     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13265   Current Release:
   13266     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   13267     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   13268 
   13269 
   13270 2) iASL Compiler/Disassembler:
   13271 
   13272 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
   13273 the module level (not within a control method.) These operators will be 
   13274 executed once at the time the table is loaded. This type of code was 
   13275 legal 
   13276 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
   13277 compiler in order to provide backwards compatibility with earlier BIOS 
   13278 ASL 
   13279 code.
   13280 
   13281 The ACPI integer width (specified via the table revision ID or the -r 
   13282 override, 32 or 64 bits) is now used internally during compile-time 
   13283 constant 
   13284 folding to ensure that constants are truncated to 32 bits if necessary. 
   13285 Previously, the revision ID value was only emitted in the AML table 
   13286 header.
   13287 
   13288 An error message is now generated for the Mutex and Method operators if 
   13289 the 
   13290 SyncLevel parameter is outside the legal range of 0 through 15.
   13291 
   13292 Fixed a problem with the Method operator ParameterTypes list handling 
   13293 (ACPI 
   13294 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
   13295 error.  
   13296 The actual underlying implementation of method argument typechecking is 
   13297 still under development, however.
   13298 
   13299 ----------------------------------------
   13300 13 May 2005.  Summary of changes for version 20050513:
   13301 
   13302 1) ACPI CA Core Subsystem:
   13303 
   13304 Implemented support for PCI Express root bridges -- added support for 
   13305 device 
   13306 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
   13307 
   13308 The interpreter now automatically truncates incoming 64-bit constants to 
   13309 32 
   13310 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
   13311 This 
   13312 also affects the iASL compiler constant folding. (Note: as per below, the 
   13313 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
   13314 
   13315 Fixed a problem where string and buffer objects with "static" pointers 
   13316 (pointers to initialization data within an ACPI table) were not handled 
   13317 consistently. The internal object copy operation now always copies the 
   13318 data 
   13319 to a newly allocated buffer, regardless of whether the source object is 
   13320 static or not.
   13321 
   13322 Fixed a problem with the FromBCD operator where an implicit result 
   13323 conversion was improperly performed while storing the result to the 
   13324 target 
   13325 operand. Since this is an "explicit conversion" operator, the implicit 
   13326 conversion should never be performed on the output.
   13327 
   13328 Fixed a problem with the CopyObject operator where a copy to an existing 
   13329 named object did not always completely overwrite the existing object 
   13330 stored 
   13331 at name. Specifically, a buffer-to-buffer copy did not delete the 
   13332 existing 
   13333 buffer.
   13334 
   13335 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
   13336 and 
   13337 structs for consistency.
   13338 
   13339 Code and Data Size: Current and previous core subsystem library sizes are 
   13340 shown below. These are the code and data sizes for the acpica.lib 
   13341 produced 
   13342 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13343 any ACPI driver or OSPM code. The debug version of the code includes the 
   13344 debug output trace mechanism and has a much larger code and data size. 
   13345 Note 
   13346 that these values will vary depending on the efficiency of the compiler 
   13347 and 
   13348 the compiler options used during generation.
   13349 
   13350   Previous Release:
   13351     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13352     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13353   Current Release: (Same sizes)
   13354     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13355     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13356 
   13357 
   13358 2) iASL Compiler/Disassembler:
   13359 
   13360 The compiler now emits a warning if an attempt is made to generate a 64-
   13361 bit 
   13362 integer constant from within a 32-bit ACPI table (Revision < 2). The 
   13363 integer 
   13364 is truncated to 32 bits.
   13365 
   13366 Fixed a problem with large package objects: if the static length of the 
   13367 package is greater than 255, the "variable length package" opcode is 
   13368 emitted. Previously, this caused an error. This requires an update to the 
   13369 ACPI spec, since it currently (incorrectly) states that packages larger 
   13370 than 
   13371 255 elements are not allowed.
   13372 
   13373 The disassembler now correctly handles variable length packages and 
   13374 packages 
   13375 larger than 255 elements.
   13376 
   13377 ----------------------------------------
   13378 08 April 2005.  Summary of changes for version 20050408:
   13379 
   13380 1) ACPI CA Core Subsystem:
   13381 
   13382 Fixed three cases in the interpreter where an "index" argument to an ASL 
   13383 function was still (internally) 32 bits instead of the required 64 bits. 
   13384 This was the Index argument to the Index, Mid, and Match operators.
   13385 
   13386 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
   13387 is 
   13388 not a POSIX-defined function and not present in most kernel-level C 
   13389 libraries. All references to the C library strupr function have been 
   13390 removed 
   13391 from the headers.
   13392 
   13393 Completed the deployment of static functions/prototypes. All prototypes 
   13394 with 
   13395 the static attribute have been moved from the headers to the owning C 
   13396 file.
   13397 
   13398 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
   13399 utility). This option allows the utility to extract individual ACPI 
   13400 tables 
   13401 from the output of AcpiDmp. It provides the same functionality of the 
   13402 acpixtract.pl perl script without the worry of setting the correct perl 
   13403 options. AcpiBin runs on Windows and has not yet been generated/validated 
   13404 in 
   13405 the Linux/Unix environment (but should be soon).
   13406  
   13407 Updated and fixed the table dump option for AcpiBin (-d). This option 
   13408 converts a single ACPI table to a hex/ascii file, similar to the output 
   13409 of 
   13410 AcpiDmp.
   13411 
   13412 Code and Data Size: Current and previous core subsystem library sizes are 
   13413 shown below. These are the code and data sizes for the acpica.lib 
   13414 produced 
   13415 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13416 any ACPI driver or OSPM code. The debug version of the code includes the 
   13417 debug output trace mechanism and has a much larger code and data size. 
   13418 Note 
   13419 that these values will vary depending on the efficiency of the compiler 
   13420 and 
   13421 the compiler options used during generation.
   13422 
   13423   Previous Release:
   13424     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   13425     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   13426   Current Release:
   13427     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13428     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13429 
   13430 
   13431 2) iASL Compiler/Disassembler:
   13432 
   13433 Disassembler fix: Added a check to ensure that the table length found in 
   13434 the 
   13435 ACPI table header within the input file is not longer than the actual 
   13436 input 
   13437 file size. This indicates some kind of file or table corruption.
   13438 
   13439 ----------------------------------------
   13440 29 March 2005.  Summary of changes for version 20050329:
   13441 
   13442 1) ACPI CA Core Subsystem:
   13443 
   13444 An error is now generated if an attempt is made to create a Buffer Field 
   13445 of 
   13446 length zero (A CreateField with a length operand of zero.)
   13447 
   13448 The interpreter now issues a warning whenever executable code at the 
   13449 module 
   13450 level is detected during ACPI table load. This will give some idea of the 
   13451 prevalence of this type of code.
   13452 
   13453 Implemented support for references to named objects (other than control 
   13454 methods) within package objects.
   13455 
   13456 Enhanced package object output for the debug object. Package objects are 
   13457 now 
   13458 completely dumped, showing all elements.
   13459 
   13460 Enhanced miscellaneous object output for the debug object. Any object can 
   13461 now be written to the debug object (for example, a device object can be 
   13462 written, and the type of the object will be displayed.)
   13463 
   13464 The "static" qualifier has been added to all local functions across both 
   13465 the 
   13466 core subsystem and the iASL compiler.
   13467 
   13468 The number of "long" lines (> 80 chars) within the source has been 
   13469 significantly reduced, by about 1/3.
   13470 
   13471 Cleaned up all header files to ensure that all CA/iASL functions are 
   13472 prototyped (even static functions) and the formatting is consistent.
   13473 
   13474 Two new header files have been added, acopcode.h and acnames.h.
   13475 
   13476 Removed several obsolete functions that were no longer used.
   13477 
   13478 Code and Data Size: Current and previous core subsystem library sizes are 
   13479 shown below. These are the code and data sizes for the acpica.lib 
   13480 produced 
   13481 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13482 any ACPI driver or OSPM code. The debug version of the code includes the 
   13483 debug output trace mechanism and has a much larger code and data size. 
   13484 Note 
   13485 that these values will vary depending on the efficiency of the compiler 
   13486 and 
   13487 the compiler options used during generation.
   13488 
   13489   Previous Release:
   13490     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   13491     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   13492   Current Release:
   13493     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   13494     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   13495 
   13496 
   13497 
   13498 2) iASL Compiler/Disassembler:
   13499 
   13500 Fixed a problem with the resource descriptor generation/support. For the 
   13501 ResourceSourceIndex and the ResourceSource fields, both must be present, 
   13502 or 
   13503 both must be not present - can't have one without the other.
   13504 
   13505 The compiler now returns non-zero from the main procedure if any errors 
   13506 have 
   13507 occurred during the compilation.
   13508 
   13509 
   13510 ----------------------------------------
   13511 09 March 2005.  Summary of changes for version 20050309:
   13512 
   13513 1) ACPI CA Core Subsystem:
   13514 
   13515 The string-to-buffer implicit conversion code has been modified again 
   13516 after 
   13517 a change to the ACPI specification.  In order to match the behavior of 
   13518 the 
   13519 other major ACPI implementation, the target buffer is no longer truncated 
   13520 if 
   13521 the source string is smaller than an existing target buffer. This change 
   13522 requires an update to the ACPI spec, and should eliminate the recent 
   13523 AE_AML_BUFFER_LIMIT issues.
   13524 
   13525 The "implicit return" support was rewritten to a new algorithm that 
   13526 solves 
   13527 the general case. Rather than attempt to determine when a method is about 
   13528 to 
   13529 exit, the result of every ASL operator is saved momentarily until the 
   13530 very 
   13531 next ASL operator is executed. Therefore, no matter how the method exits, 
   13532 there will always be a saved implicit return value. This feature is only 
   13533 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
   13534 eliminate 
   13535 AE_AML_NO_RETURN_VALUE errors when enabled.
   13536 
   13537 Implemented implicit conversion support for the predicate (operand) of 
   13538 the 
   13539 If, Else, and While operators. String and Buffer arguments are 
   13540 automatically 
   13541 converted to Integers.
   13542 
   13543 Changed the string-to-integer conversion behavior to match the new ACPI 
   13544 errata: "If no integer object exists, a new integer is created. The ASCII 
   13545 string is interpreted as a hexadecimal constant. Each string character is 
   13546 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
   13547 with the first character as the most significant digit, and ending with 
   13548 the 
   13549 first non-hexadecimal character or end-of-string." This means that the 
   13550 first 
   13551 non-hex character terminates the conversion and this is the code that was 
   13552 changed.
   13553 
   13554 Fixed a problem where the ObjectType operator would fail (fault) when 
   13555 used 
   13556 on an Index of a Package which pointed to a null package element. The 
   13557 operator now properly returns zero (Uninitialized) in this case.
   13558 
   13559 Fixed a problem where the While operator used excessive memory by not 
   13560 properly popping the result stack during execution. There was no memory 
   13561 leak 
   13562 after execution, however. (Code provided by Valery Podrezov.)
   13563 
   13564 Fixed a problem where references to control methods within Package 
   13565 objects 
   13566 caused the method to be invoked, instead of producing a reference object 
   13567 pointing to the method.
   13568 
   13569 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
   13570 to 
   13571 improve performance and reduce code size. (Code provided by Alexey 
   13572 Starikovskiy.)
   13573 
   13574 Code and Data Size: Current and previous core subsystem library sizes are 
   13575 shown below. These are the code and data sizes for the acpica.lib 
   13576 produced 
   13577 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13578 any ACPI driver or OSPM code. The debug version of the code includes the 
   13579 debug output trace mechanism and has a much larger code and data size. 
   13580 Note 
   13581 that these values will vary depending on the efficiency of the compiler 
   13582 and 
   13583 the compiler options used during generation.
   13584 
   13585   Previous Release:
   13586     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   13587     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   13588   Current Release:
   13589     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   13590     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   13591 
   13592 
   13593 2) iASL Compiler/Disassembler:
   13594 
   13595 Fixed a problem with the Return operator with no arguments. Since the AML 
   13596 grammar for the byte encoding requires an operand for the Return opcode, 
   13597 the 
   13598 compiler now emits a Return(Zero) for this case.  An ACPI specification 
   13599 update has been written for this case.
   13600 
   13601 For tables other than the DSDT, namepath optimization is automatically 
   13602 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
   13603 the 
   13604 compiler has no knowledge of where, and thus cannot optimize namepaths.
   13605 
   13606 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
   13607 inadvertently omitted from the ACPI specification, and will require an 
   13608 update to the spec.
   13609 
   13610 The source file scan for ASCII characters is now optional (-a). This 
   13611 change 
   13612 was made because some vendors place non-ascii characters within comments. 
   13613 However, the scan is simply a brute-force byte compare to ensure all 
   13614 characters in the file are in the range 0x00 to 0x7F.
   13615 
   13616 Fixed a problem with the CondRefOf operator where the compiler was 
   13617 inappropriately checking for the existence of the target. Since the point 
   13618 of 
   13619 the operator is to check for the existence of the target at run-time, the 
   13620 compiler no longer checks for the target existence.
   13621 
   13622 Fixed a problem where errors generated from the internal AML interpreter 
   13623 during constant folding were not handled properly, causing a fault.
   13624 
   13625 Fixed a problem with overly aggressive range checking for the Stall 
   13626 operator. The valid range (max 255) is now only checked if the operand is 
   13627 of 
   13628 type Integer. All other operand types cannot be statically checked.
   13629 
   13630 Fixed a problem where control method references within the RefOf, 
   13631 DeRefOf, 
   13632 and ObjectType operators were not treated properly. They are now treated 
   13633 as 
   13634 actual references, not method invocations.
   13635 
   13636 Fixed and enhanced the "list namespace" option (-ln). This option was 
   13637 broken 
   13638 a number of releases ago.
   13639 
   13640 Improved error handling for the Field, IndexField, and BankField 
   13641 operators. 
   13642 The compiler now cleanly reports and recovers from errors in the field 
   13643 component (FieldUnit) list.
   13644 
   13645 Fixed a disassembler problem where the optional ResourceDescriptor fields 
   13646 TRS and TTP were not always handled correctly.
   13647 
   13648 Disassembler - Comments in output now use "//" instead of "/*"
   13649 
   13650 ----------------------------------------
   13651 28 February 2005.  Summary of changes for version 20050228:
   13652 
   13653 1) ACPI CA Core Subsystem:
   13654 
   13655 Fixed a problem where the result of an Index() operator (an object 
   13656 reference) must increment the reference count on the target object for 
   13657 the 
   13658 life of the object reference.
   13659 
   13660 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
   13661 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
   13662 WordSpace 
   13663 resource descriptors.
   13664 
   13665 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
   13666 Space Descriptor" string, indicating interpreter support for the 
   13667 descriptors 
   13668 above.
   13669 
   13670 Implemented header support for the new ACPI 3.0 FADT flag bits.
   13671 
   13672 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
   13673 PM1 
   13674 status/enable registers.
   13675 
   13676 Updated header support for the MADT processor local Apic struct and MADT 
   13677 platform interrupt source struct for new ACPI 3.0 fields.
   13678 
   13679 Implemented header support for the SRAT and SLIT ACPI tables.
   13680 
   13681 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
   13682 flag 
   13683 at runtime.
   13684 
   13685 Code and Data Size: Current and previous core subsystem library sizes are 
   13686 shown below. These are the code and data sizes for the acpica.lib 
   13687 produced 
   13688 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13689 any ACPI driver or OSPM code. The debug version of the code includes the 
   13690 debug output trace mechanism and has a much larger code and data size. 
   13691 Note 
   13692 that these values will vary depending on the efficiency of the compiler 
   13693 and 
   13694 the compiler options used during generation.
   13695 
   13696   Previous Release:
   13697     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   13698     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   13699   Current Release:
   13700     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   13701     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   13702 
   13703 
   13704 2) iASL Compiler/Disassembler:
   13705 
   13706 Fixed a problem with the internal 64-bit String-to-integer conversion 
   13707 with 
   13708 strings less than two characters long.
   13709 
   13710 Fixed a problem with constant folding where the result of the Index() 
   13711 operator can not be considered a constant. This means that Index() cannot 
   13712 be 
   13713 a type3 opcode and this will require an update to the ACPI specification.
   13714 
   13715 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
   13716 descriptor fields. These fields were inadvertently ignored and not output 
   13717 in 
   13718 the disassembly of the resource descriptor.
   13719 
   13720 
   13721  ----------------------------------------
   13722 11 February 2005.  Summary of changes for version 20050211:
   13723 
   13724 1) ACPI CA Core Subsystem:
   13725 
   13726 Implemented ACPI 3.0 support for implicit conversion within the Match() 
   13727 operator. MatchObjects can now be of type integer, buffer, or string 
   13728 instead 
   13729 of just type integer.  Package elements are implicitly converted to the 
   13730 type 
   13731 of the MatchObject. This change aligns the behavior of Match() with the 
   13732 behavior of the other logical operators (LLess(), etc.) It also requires 
   13733 an 
   13734 errata change to the ACPI specification as this support was intended for 
   13735 ACPI 3.0, but was inadvertently omitted.
   13736 
   13737 Fixed a problem with the internal implicit "to buffer" conversion. 
   13738 Strings 
   13739 that are converted to buffers will cause buffer truncation if the string 
   13740 is 
   13741 smaller than the target buffer. Integers that are converted to buffers 
   13742 will 
   13743 not cause buffer truncation, only zero extension (both as per the ACPI 
   13744 spec.) The problem was introduced when code was added to truncate the 
   13745 buffer, but this should not be performed in all cases, only the string 
   13746 case.
   13747 
   13748 Fixed a problem with the Buffer and Package operators where the 
   13749 interpreter 
   13750 would get confused if two such operators were used as operands to an ASL 
   13751 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
   13752 stack was not being popped after the execution of these operators, 
   13753 resulting 
   13754 in an AE_NO_RETURN_VALUE exception.
   13755 
   13756 Fixed a problem with constructs of the form Store(Index(...),...). The 
   13757 reference object returned from Index was inadvertently resolved to an 
   13758 actual 
   13759 value. This problem was introduced in version 20050114 when the behavior 
   13760 of 
   13761 Store() was modified to restrict the object types that can be used as the 
   13762 source operand (to match the ACPI specification.)
   13763 
   13764 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
   13765 
   13766 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
   13767 
   13768 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
   13769 
   13770 Code and Data Size: Current and previous core subsystem library sizes are 
   13771 shown below. These are the code and data sizes for the acpica.lib 
   13772 produced 
   13773 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13774 any ACPI driver or OSPM code. The debug version of the code includes the 
   13775 debug output trace mechanism and has a much larger code and data size. 
   13776 Note 
   13777 that these values will vary depending on the efficiency of the compiler 
   13778 and 
   13779 the compiler options used during generation.
   13780 
   13781   Previous Release:
   13782     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
   13783     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
   13784   Current Release:
   13785     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   13786     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   13787 
   13788 
   13789 2) iASL Compiler/Disassembler:
   13790 
   13791 Fixed a code generation problem in the constant folding optimization code 
   13792 where incorrect code was generated if a constant was reduced to a buffer 
   13793 object (i.e., a reduced type 5 opcode.)
   13794 
   13795 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
   13796 incorrect return type in the internal opcode information table.
   13797 
   13798 ----------------------------------------
   13799 25 January 2005.  Summary of changes for version 20050125:
   13800 
   13801 1) ACPI CA Core Subsystem:
   13802 
   13803 Fixed a recently introduced problem with the Global Lock where the 
   13804 underlying semaphore was not created.  This problem was introduced in 
   13805 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
   13806 Acquire() operation on _GL.
   13807 
   13808 The local object cache is now optional, and is disabled by default. Both 
   13809 AcpiExec and the iASL compiler enable the cache because they run in user 
   13810 mode and this enhances their performance. #define 
   13811 ACPI_ENABLE_OBJECT_CACHE 
   13812 to enable the local cache.
   13813 
   13814 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
   13815 the 
   13816 optional "implicit return" support where an error was returned if no 
   13817 return 
   13818 object was expected, but one was implicitly returned. AE_OK is now 
   13819 returned 
   13820 in this case and the implicitly returned object is deleted. 
   13821 AcpiUtEvaluateObject is only occasionally used, and only to execute 
   13822 reserved 
   13823 methods such as _STA and _INI where the return type is known up front.
   13824 
   13825 Fixed a few issues with the internal convert-to-integer code. It now 
   13826 returns 
   13827 an error if an attempt is made to convert a null string, a string of only 
   13828 blanks/tabs, or a zero-length buffer. This affects both implicit 
   13829 conversion 
   13830 and explicit conversion via the ToInteger() operator.
   13831 
   13832 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
   13833 is 
   13834 not needed for normal operation and should increase the performance of 
   13835 the 
   13836 entire subsystem. The code remains in case it is needed for debug 
   13837 purposes 
   13838 again.
   13839 
   13840 The AcpiExec source and makefile are included in the Unix/Linux package 
   13841 for 
   13842 the first time.
   13843 
   13844 Code and Data Size: Current and previous core subsystem library sizes are 
   13845 shown below. These are the code and data sizes for the acpica.lib 
   13846 produced 
   13847 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13848 any ACPI driver or OSPM code. The debug version of the code includes the 
   13849 debug output trace mechanism and has a much larger code and data size. 
   13850 Note 
   13851 that these values will vary depending on the efficiency of the compiler 
   13852 and 
   13853 the compiler options used during generation.
   13854 
   13855   Previous Release:
   13856     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   13857     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   13858   Current Release:
   13859     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
   13860     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
   13861 
   13862 2) iASL Compiler/Disassembler:
   13863 
   13864 Switch/Case support: A warning is now issued if the type of the Switch 
   13865 value 
   13866 cannot be determined at compile time. For example, Switch(Arg0) will 
   13867 generate the warning, and the type is assumed to be an integer. As per 
   13868 the 
   13869 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
   13870 the 
   13871 warning.
   13872 
   13873 Switch/Case support: Implemented support for buffer and string objects as 
   13874 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
   13875 buffers and strings.
   13876 
   13877 Switch/Case support: The emitted code for the LEqual() comparisons now 
   13878 uses 
   13879 the switch value as the first operand, not the second. The case value is 
   13880 now 
   13881 the second operand, and this allows the case value to be implicitly 
   13882 converted to the type of the switch value, not the other way around.
   13883 
   13884 Switch/Case support: Temporary variables are now emitted immediately 
   13885 within 
   13886 the control method, not at the global level. This means that there are 
   13887 now 
   13888 36 temps available per-method, not 36 temps per-module as was the case 
   13889 with 
   13890 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
   13891 
   13892 ----------------------------------------
   13893 14 January 2005.  Summary of changes for version 20050114:
   13894 
   13895 Added 2005 copyright to all module headers.  This affects every module in 
   13896 the core subsystem, iASL compiler, and the utilities.
   13897 
   13898 1) ACPI CA Core Subsystem:
   13899 
   13900 Fixed an issue with the String-to-Buffer conversion code where the string 
   13901 null terminator was not included in the buffer after conversion, but 
   13902 there 
   13903 is existing ASL that assumes the string null terminator is included. This 
   13904 is 
   13905 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
   13906 introduced in the previous version when the code was updated to correctly 
   13907 set the converted buffer size as per the ACPI specification. The ACPI 
   13908 spec 
   13909 is ambiguous and will be updated to specify that the null terminator must 
   13910 be 
   13911 included in the converted buffer. This also affects the ToBuffer() ASL 
   13912 operator.
   13913 
   13914 Fixed a problem with the Mid() ASL/AML operator where it did not work 
   13915 correctly on Buffer objects. Newly created sub-buffers were not being 
   13916 marked 
   13917 as initialized.
   13918 
   13919 
   13920 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
   13921 performed on the OemId and OemTableId table header fields.  These fields 
   13922 are 
   13923 not null terminated, so strncmp is now used instead of strcmp.
   13924 
   13925 Implemented a restriction on the Store() ASL/AML operator to align the 
   13926 behavior with the ACPI specification.  Previously, any object could be 
   13927 used 
   13928 as the source operand.  Now, the only objects that may be used are 
   13929 Integers, 
   13930 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
   13931 necessary, the original behavior can be restored by enabling the 
   13932 EnableInterpreterSlack flag.
   13933 
   13934 Enhanced the optional "implicit return" support to allow an implicit 
   13935 return 
   13936 value from methods that are invoked externally via the AcpiEvaluateObject 
   13937 interface.  This enables implicit returns from the _STA and _INI methods, 
   13938 for example.
   13939 
   13940 Changed the Revision() ASL/AML operator to return the current version of 
   13941 the 
   13942 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
   13943 returned 
   13944 the supported ACPI version (This is the function of the _REV method).
   13945 
   13946 Updated the _REV predefined method to return the currently supported 
   13947 version 
   13948 of ACPI, now 3.
   13949 
   13950 Implemented batch mode option for the AcpiExec utility (-b).
   13951 
   13952 Code and Data Size: Current and previous core subsystem library sizes are 
   13953 shown below. These are the code and data sizes for the acpica.lib 
   13954 produced 
   13955 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13956 any ACPI driver or OSPM code. The debug version of the code includes the 
   13957 debug output trace mechanism and has a much larger code and data size. 
   13958 Note 
   13959 that these values will vary depending on the efficiency of the compiler 
   13960 and 
   13961 the compiler options used during generation.
   13962 
   13963   Previous Release:
   13964     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   13965     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   13966   Current Release:
   13967     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   13968     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   13969 
   13970 ----------------------------------------
   13971 10 December 2004.  Summary of changes for version 20041210:
   13972 
   13973 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
   13974 ACPI CA core subsystem.
   13975 
   13976 1) ACPI CA Core Subsystem:
   13977 
   13978 Fixed a problem in the ToDecimalString operator where the resulting 
   13979 string 
   13980 length was incorrectly calculated. The length is now calculated exactly, 
   13981 eliminating incorrect AE_STRING_LIMIT exceptions.
   13982 
   13983 Fixed a problem in the ToHexString operator to allow a maximum 200 
   13984 character 
   13985 string to be produced.
   13986 
   13987 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
   13988 copy 
   13989 routine where the length of the resulting buffer was not truncated to the 
   13990 new size (if the target buffer already existed).
   13991 
   13992 Code and Data Size: Current and previous core subsystem library sizes are 
   13993 shown below. These are the code and data sizes for the acpica.lib 
   13994 produced 
   13995 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13996 any ACPI driver or OSPM code. The debug version of the code includes the 
   13997 debug output trace mechanism and has a much larger code and data size. 
   13998 Note 
   13999 that these values will vary depending on the efficiency of the compiler 
   14000 and 
   14001 the compiler options used during generation.
   14002 
   14003   Previous Release:
   14004     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   14005     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   14006   Current Release:
   14007     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   14008     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   14009 
   14010 
   14011 2) iASL Compiler/Disassembler:
   14012 
   14013 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
   14014 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
   14015 Includes support in the disassembler.
   14016 
   14017 Implemented support for the new (ACPI 3.0) parameter to the Register 
   14018 macro, 
   14019 AccessSize.
   14020 
   14021 Fixed a problem where the _HE resource name for the Interrupt macro was 
   14022 referencing bit 0 instead of bit 1.
   14023 
   14024 Implemented check for maximum 255 interrupts in the Interrupt macro.
   14025 
   14026 Fixed a problem with the predefined resource descriptor names where 
   14027 incorrect AML code was generated if the offset within the resource buffer 
   14028 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
   14029 but did not update the surrounding package lengths.
   14030 
   14031 Changes to the Dma macro:  All channels within the channel list must be 
   14032 in 
   14033 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
   14034 optional (default is BusMaster).
   14035 
   14036 Implemented check for maximum 7 data bytes for the VendorShort macro.
   14037 
   14038 The ReadWrite parameter is now optional for the Memory32 and similar 
   14039 macros.
   14040 
   14041 ----------------------------------------
   14042 03 December 2004.  Summary of changes for version 20041203:
   14043 
   14044 1) ACPI CA Core Subsystem:
   14045 
   14046 The low-level field insertion/extraction code (exfldio) has been 
   14047 completely 
   14048 rewritten to eliminate unnecessary complexity, bugs, and boundary 
   14049 conditions.
   14050 
   14051 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
   14052 ToDecimalString 
   14053 operators where the input operand could be inadvertently deleted if no 
   14054 conversion was necessary (e.g., if the input to ToInteger was an Integer 
   14055 object.)
   14056 
   14057 Fixed a problem with the ToDecimalString and ToHexString where an 
   14058 incorrect 
   14059 exception code was returned if the resulting string would be > 200 chars.  
   14060 AE_STRING_LIMIT is now returned.
   14061 
   14062 Fixed a problem with the Concatenate operator where AE_OK was always 
   14063 returned, even if the operation failed.
   14064 
   14065 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
   14066 semaphores to be allocated.
   14067 
   14068 Code and Data Size: Current and previous core subsystem library sizes are 
   14069 shown below. These are the code and data sizes for the acpica.lib 
   14070 produced 
   14071 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14072 any ACPI driver or OSPM code. The debug version of the code includes the 
   14073 debug output trace mechanism and has a much larger code and data size. 
   14074 Note 
   14075 that these values will vary depending on the efficiency of the compiler 
   14076 and 
   14077 the compiler options used during generation.
   14078 
   14079   Previous Release:
   14080     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14081     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14082   Current Release:
   14083     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   14084     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   14085 
   14086 
   14087 2) iASL Compiler/Disassembler:
   14088 
   14089 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
   14090 recently introduced in 20041119.
   14091 
   14092 Fixed a problem with the ToUUID macro where the upper nybble of each 
   14093 buffer 
   14094 byte was inadvertently set to zero.
   14095 
   14096 ----------------------------------------
   14097 19 November 2004.  Summary of changes for version 20041119:
   14098 
   14099 1) ACPI CA Core Subsystem:
   14100 
   14101 Fixed a problem in the internal ConvertToInteger routine where new 
   14102 integers 
   14103 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
   14104 converts 
   14105 buffers and strings to integers.
   14106 
   14107 Implemented support to store a value to an Index() on a String object. 
   14108 This 
   14109 is an ACPI 2.0 feature that had not yet been implemented.
   14110 
   14111 Implemented new behavior for storing objects to individual package 
   14112 elements 
   14113 (via the Index() operator). The previous behavior was to invoke the 
   14114 implicit 
   14115 conversion rules if an object was already present at the index.  The new 
   14116 behavior is to simply delete any existing object and directly store the 
   14117 new 
   14118 object. Although the ACPI specification seems unclear on this subject, 
   14119 other 
   14120 ACPI implementations behave in this manner.  (This is the root of the 
   14121 AE_BAD_HEX_CONSTANT issue.)
   14122 
   14123 Modified the RSDP memory scan mechanism to support the extended checksum 
   14124 for 
   14125 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
   14126 RSDP signature is found with a valid checksum.
   14127 
   14128 Code and Data Size: Current and previous core subsystem library sizes are 
   14129 shown below. These are the code and data sizes for the acpica.lib 
   14130 produced 
   14131 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14132 any ACPI driver or OSPM code. The debug version of the code includes the 
   14133 debug output trace mechanism and has a much larger code and data size. 
   14134 Note 
   14135 that these values will vary depending on the efficiency of the compiler 
   14136 and 
   14137 the compiler options used during generation.
   14138 
   14139   Previous Release:
   14140     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14141     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14142   Current Release:
   14143     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14144     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14145 
   14146 
   14147 2) iASL Compiler/Disassembler:
   14148 
   14149 Fixed a missing semicolon in the aslcompiler.y file.
   14150 
   14151 ----------------------------------------
   14152 05 November 2004.  Summary of changes for version 20041105:
   14153 
   14154 1) ACPI CA Core Subsystem:
   14155 
   14156 Implemented support for FADT revision 2.  This was an interim table 
   14157 (between 
   14158 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
   14159 
   14160 Implemented optional support to allow uninitialized LocalX and ArgX 
   14161 variables in a control method.  The variables are initialized to an 
   14162 Integer 
   14163 object with a value of zero.  This support is enabled by setting the 
   14164 AcpiGbl_EnableInterpreterSlack flag to TRUE.
   14165 
   14166 Implemented support for Integer objects for the SizeOf operator.  Either 
   14167 4 
   14168 or 8 is returned, depending on the current integer size (32-bit or 64-
   14169 bit, 
   14170 depending on the parent table revision).
   14171 
   14172 Fixed a problem in the implementation of the SizeOf and ObjectType 
   14173 operators 
   14174 where the operand was resolved to a value too early, causing incorrect 
   14175 return values for some objects.
   14176 
   14177 Fixed some possible memory leaks during exceptional conditions.
   14178 
   14179 Code and Data Size: Current and previous core subsystem library sizes are 
   14180 shown below. These are the code and data sizes for the acpica.lib 
   14181 produced 
   14182 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14183 any ACPI driver or OSPM code. The debug version of the code includes the 
   14184 debug output trace mechanism and has a much larger code and data size. 
   14185 Note 
   14186 that these values will vary depending on the efficiency of the compiler 
   14187 and 
   14188 the compiler options used during generation.
   14189 
   14190   Previous Release:
   14191     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   14192     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   14193   Current Release:
   14194     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14195     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14196 
   14197 
   14198 2) iASL Compiler/Disassembler:
   14199 
   14200 Implemented support for all ACPI 3.0 reserved names and methods.
   14201 
   14202 Implemented all ACPI 3.0 grammar elements in the front-end, including 
   14203 support for semicolons.
   14204 
   14205 Implemented the ACPI 3.0 Function() and ToUUID() macros
   14206 
   14207 Fixed a problem in the disassembler where a Scope() operator would not be 
   14208 emitted properly if the target of the scope was in another table.
   14209 
   14210 ----------------------------------------
   14211 15 October 2004.  Summary of changes for version 20041015:
   14212 
   14213 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
   14214 evaluation to test/verify the following areas. Other suggestions are 
   14215 welcome. This will result in an increase in the frequency of releases and 
   14216 the number of bug fixes in the next few months.
   14217   - Functional tests for all ASL/AML operators
   14218   - All implicit/explicit type conversions
   14219   - Bit fields and operation regions
   14220   - 64-bit math support and 32-bit-only "truncated" math support
   14221   - Exceptional conditions, both compiler and interpreter
   14222   - Dynamic object deletion and memory leaks
   14223   - ACPI 3.0 support when implemented
   14224   - External interfaces to the ACPI subsystem
   14225 
   14226 
   14227 1) ACPI CA Core Subsystem:
   14228 
   14229 Fixed two alignment issues on 64-bit platforms - within debug statements 
   14230 in 
   14231 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
   14232 Address 
   14233 field within the non-aligned ACPI generic address structure.
   14234 
   14235 Fixed a problem in the Increment and Decrement operators where incorrect 
   14236 operand resolution could result in the inadvertent modification of the 
   14237 original integer when the integer is passed into another method as an 
   14238 argument and the arg is then incremented/decremented.
   14239 
   14240 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
   14241 bit 
   14242 BCD number were truncated during conversion.
   14243 
   14244 Fixed a problem in the ToDecimal operator where the length of the 
   14245 resulting 
   14246 string could be set incorrectly too long if the input operand was a 
   14247 Buffer 
   14248 object.
   14249 
   14250 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
   14251 (0) 
   14252 within a buffer would prematurely terminate a compare between buffer 
   14253 objects.
   14254 
   14255 Added a check for string overflow (>200 characters as per the ACPI 
   14256 specification) during the Concatenate operator with two string operands.
   14257 
   14258 Code and Data Size: Current and previous core subsystem library sizes are 
   14259 shown below. These are the code and data sizes for the acpica.lib 
   14260 produced 
   14261 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14262 any ACPI driver or OSPM code. The debug version of the code includes the 
   14263 debug output trace mechanism and has a much larger code and data size. 
   14264 Note 
   14265 that these values will vary depending on the efficiency of the compiler 
   14266 and 
   14267 the compiler options used during generation.
   14268 
   14269   Previous Release:
   14270     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   14271     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   14272   Current Release:
   14273     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   14274     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   14275 
   14276 
   14277 
   14278 2) iASL Compiler/Disassembler:
   14279 
   14280 Allow the use of the ObjectType operator on uninitialized Locals and Args 
   14281 (returns 0 as per the ACPI specification).
   14282 
   14283 Fixed a problem where the compiler would fault if there was a syntax 
   14284 error 
   14285 in the FieldName of all of the various CreateXXXField operators.
   14286 
   14287 Disallow the use of lower case letters within the EISAID macro, as per 
   14288 the 
   14289 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
   14290 Where 
   14291 U is an uppercase letter and N is a hex digit.
   14292 
   14293 
   14294 ----------------------------------------
   14295 06 October 2004.  Summary of changes for version 20041006:
   14296 
   14297 1) ACPI CA Core Subsystem:
   14298 
   14299 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
   14300 implements a 64-bit timer with 100 nanosecond granularity.
   14301 
   14302 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
   14303 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
   14304 implement 
   14305 the timer with the best clock available. Also, it keeps the core 
   14306 subsystem 
   14307 out of the clock handling business, since the host OS (usually) performs 
   14308 this function.
   14309 
   14310 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
   14311 functions use a 64-bit address which is part of the packed ACPI Generic 
   14312 Address Structure. Since the structure is non-aligned, the alignment 
   14313 macros 
   14314 are now used to extract the address to a local variable before use.
   14315 
   14316 Fixed a problem where the ToInteger operator assumed all input strings 
   14317 were 
   14318 hexadecimal. The operator now handles both decimal strings and hex 
   14319 strings 
   14320 (prefixed with "0x").
   14321 
   14322 Fixed a problem where the string length in the string object created as a 
   14323 result of the internal ConvertToString procedure could be incorrect. This 
   14324 potentially affected all implicit conversions and also the 
   14325 ToDecimalString 
   14326 and ToHexString operators.
   14327 
   14328 Fixed two problems in the ToString operator. If the length parameter was 
   14329 zero, an incorrect string object was created and the value of the input 
   14330 length parameter was inadvertently changed from zero to Ones.
   14331 
   14332 Fixed a problem where the optional ResourceSource string in the 
   14333 ExtendedIRQ 
   14334 resource macro was ignored.
   14335 
   14336 Simplified the interfaces to the internal division functions, reducing 
   14337 code 
   14338 size and complexity.
   14339 
   14340 Code and Data Size: Current and previous core subsystem library sizes are 
   14341 shown below. These are the code and data sizes for the acpica.lib 
   14342 produced 
   14343 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14344 any ACPI driver or OSPM code. The debug version of the code includes the 
   14345 debug output trace mechanism and has a much larger code and data size. 
   14346 Note 
   14347 that these values will vary depending on the efficiency of the compiler 
   14348 and 
   14349 the compiler options used during generation.
   14350 
   14351   Previous Release:
   14352     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   14353     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   14354   Current Release:
   14355     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   14356     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   14357 
   14358 
   14359 2) iASL Compiler/Disassembler:
   14360 
   14361 Implemented support for the ACPI 3.0 Timer operator.
   14362 
   14363 Fixed a problem where the Default() operator was inadvertently ignored in 
   14364 a 
   14365 Switch/Case block.  This was a problem in the translation of the Switch 
   14366 statement to If...Else pairs.
   14367 
   14368 Added support to allow a standalone Return operator, with no parentheses 
   14369 (or 
   14370 operands).
   14371 
   14372 Fixed a problem with code generation for the ElseIf operator where the 
   14373 translated Else...If parse tree was improperly constructed leading to the 
   14374 loss of some code.
   14375 
   14376 ----------------------------------------
   14377 22 September 2004.  Summary of changes for version 20040922:
   14378 
   14379 1) ACPI CA Core Subsystem:
   14380 
   14381 Fixed a problem with the implementation of the LNot() operator where 
   14382 "Ones" 
   14383 was not returned for the TRUE case. Changed the code to return Ones 
   14384 instead 
   14385 of (!Arg) which was usually 1. This change affects iASL constant folding 
   14386 for 
   14387 this operator also.
   14388 
   14389 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
   14390 not 
   14391 initialized properly -- Now zero the entire buffer in this case where the 
   14392 buffer already exists.
   14393 
   14394 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
   14395 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
   14396 related code considerably. This will require changes/updates to all OS 
   14397 interface layers (OSLs.)
   14398 
   14399 Implemented a new external interface, AcpiInstallExceptionHandler, to 
   14400 allow 
   14401 a system exception handler to be installed. This handler is invoked upon 
   14402 any 
   14403 run-time exception that occurs during control method execution.
   14404 
   14405 Added support for the DSDT in AcpiTbFindTable. This allows the 
   14406 DataTableRegion() operator to access the local copy of the DSDT.
   14407 
   14408 Code and Data Size: Current and previous core subsystem library sizes are 
   14409 shown below. These are the code and data sizes for the acpica.lib 
   14410 produced 
   14411 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14412 any ACPI driver or OSPM code. The debug version of the code includes the 
   14413 debug output trace mechanism and has a much larger code and data size. 
   14414 Note 
   14415 that these values will vary depending on the efficiency of the compiler 
   14416 and 
   14417 the compiler options used during generation.
   14418 
   14419   Previous Release:
   14420     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   14421     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   14422   Current Release:
   14423     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   14424     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   14425 
   14426 
   14427 2) iASL Compiler/Disassembler:
   14428 
   14429 Fixed a problem with constant folding and the LNot operator. LNot was 
   14430 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
   14431 This 
   14432 could result in the generation of an incorrect folded/reduced constant.
   14433 
   14434 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
   14435 longer occurs if such a comment is at the very end of the input ASL 
   14436 source 
   14437 file.
   14438 
   14439 Implemented the "-r" option to override the Revision in the table header. 
   14440 The initial use of this option will be to simplify the evaluation of the 
   14441 AML 
   14442 interpreter by allowing a single ASL source module to be compiled for 
   14443 either 
   14444 32-bit or 64-bit integers.
   14445 
   14446 
   14447 ----------------------------------------
   14448 27 August 2004.  Summary of changes for version 20040827:
   14449 
   14450 1) ACPI CA Core Subsystem:
   14451 
   14452 - Implemented support for implicit object conversion in the non-numeric 
   14453 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
   14454 and 
   14455 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
   14456 the second operand is implicitly converted on the fly to match the type 
   14457 of 
   14458 the first operand.  For example:
   14459 
   14460     LEqual (Source1, Source2)
   14461 
   14462 Source1 and Source2 must each evaluate to an integer, a string, or a 
   14463 buffer. 
   14464 The data type of Source1 dictates the required type of Source2. Source2 
   14465 is 
   14466 implicitly converted if necessary to match the type of Source1.
   14467 
   14468 - Updated and corrected the behavior of the string conversion support.  
   14469 The 
   14470 rules concerning conversion of buffers to strings (according to the ACPI 
   14471 specification) are as follows:
   14472 
   14473 ToDecimalString - explicit byte-wise conversion of buffer to string of 
   14474 decimal values (0-255) separated by commas. ToHexString - explicit byte-
   14475 wise 
   14476 conversion of buffer to string of hex values (0-FF) separated by commas. 
   14477 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
   14478 byte 
   14479 copy with no transform except NULL terminated. Any other implicit buffer-
   14480 to-
   14481 string conversion - byte-wise conversion of buffer to string of hex 
   14482 values 
   14483 (0-FF) separated by spaces.
   14484 
   14485 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
   14486 
   14487 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
   14488 was 
   14489 one byte too short in the case of a node in the root scope.  This could 
   14490 cause a fault during debug output.
   14491 
   14492 - Code and Data Size: Current and previous core subsystem library sizes 
   14493 are 
   14494 shown below.  These are the code and data sizes for the acpica.lib 
   14495 produced 
   14496 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14497 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14498 debug output trace mechanism and has a much larger code and data size.  
   14499 Note 
   14500 that these values will vary depending on the efficiency of the compiler 
   14501 and 
   14502 the compiler options used during generation.
   14503 
   14504   Previous Release:
   14505     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   14506     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   14507   Current Release:
   14508     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   14509     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   14510 
   14511 
   14512 2) iASL Compiler/Disassembler:
   14513 
   14514 - Fixed a Linux generation error.
   14515 
   14516 
   14517 ----------------------------------------
   14518 16 August 2004.  Summary of changes for version 20040816:
   14519 
   14520 1) ACPI CA Core Subsystem:
   14521 
   14522 Designed and implemented support within the AML interpreter for the so-
   14523 called "implicit return".  This support returns the result of the last 
   14524 ASL 
   14525 operation within a control method, in the absence of an explicit Return() 
   14526 operator.  A few machines depend on this behavior, even though it is not 
   14527 explicitly supported by the ASL language.  It is optional support that 
   14528 can 
   14529 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
   14530 
   14531 Removed support for the PCI_Config address space from the internal low 
   14532 level 
   14533 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
   14534 support was not used internally, and would not work correctly anyway 
   14535 because 
   14536 the PCI bus number and segment number were not supported.  There are 
   14537 separate interfaces for PCI configuration space access because of the 
   14538 unique 
   14539 interface.
   14540 
   14541 Code and Data Size: Current and previous core subsystem library sizes are 
   14542 shown below.  These are the code and data sizes for the acpica.lib 
   14543 produced 
   14544 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14545 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14546 debug output trace mechanism and has a much larger code and data size.  
   14547 Note 
   14548 that these values will vary depending on the efficiency of the compiler 
   14549 and 
   14550 the compiler options used during generation.
   14551 
   14552   Previous Release:
   14553     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   14554     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   14555   Current Release:
   14556     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   14557     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   14558 
   14559 
   14560 2) iASL Compiler/Disassembler:
   14561 
   14562 Fixed a problem where constants in ASL expressions at the root level (not 
   14563 within a control method) could be inadvertently truncated during code 
   14564 generation.  This problem was introduced in the 20040715 release.
   14565 
   14566 
   14567 ----------------------------------------
   14568 15 July 2004.  Summary of changes for version 20040715:
   14569 
   14570 1) ACPI CA Core Subsystem:
   14571 
   14572 Restructured the internal HW GPE interfaces to pass/track the current 
   14573 state 
   14574 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
   14575 increase flexibility of the interfaces.
   14576 
   14577 Implemented a "lexicographical compare" for String and Buffer objects 
   14578 within 
   14579 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
   14580 - 
   14581 as per further clarification to the ACPI specification.  Behavior is 
   14582 similar 
   14583 to C library "strcmp".
   14584 
   14585 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
   14586 external function.  In the 32-bit non-debug case, the stack use has been 
   14587 reduced from 168 bytes to 32 bytes.
   14588 
   14589 Deployed a new run-time configuration flag, 
   14590 AcpiGbl_EnableInterpreterSlack, 
   14591 whose purpose is to allow the AML interpreter to forgive certain bad AML 
   14592 constructs.  Default setting is FALSE.
   14593 
   14594 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
   14595 IO 
   14596 support code.  If enabled, it allows field access to go beyond the end of 
   14597 a 
   14598 region definition if the field is within the region length rounded up to 
   14599 the 
   14600 next access width boundary (a common coding error.)
   14601 
   14602 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
   14603 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
   14604 these 
   14605 symbols are lowercase by the latest version of the AcpiSrc tool.
   14606 
   14607 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
   14608 rename "Register" to simply "Reg" to prevent certain compilers from 
   14609 complaining.
   14610 
   14611 Code and Data Size: Current and previous core subsystem library sizes are 
   14612 shown below.  These are the code and data sizes for the acpica.lib 
   14613 produced 
   14614 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14615 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14616 debug output trace mechanism and has a much larger code and data size.  
   14617 Note 
   14618 that these values will vary depending on the efficiency of the compiler 
   14619 and 
   14620 the compiler options used during generation.
   14621 
   14622   Previous Release:
   14623     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   14624     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   14625   Current Release:
   14626     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   14627     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   14628 
   14629 
   14630 2) iASL Compiler/Disassembler:
   14631 
   14632 Implemented full support for Package objects within the Case() operator.  
   14633 Note: The Break() operator is currently not supported within Case blocks 
   14634 (TermLists) as there is some question about backward compatibility with 
   14635 ACPI 
   14636 1.0 interpreters.
   14637 
   14638 
   14639 Fixed a problem where complex terms were not supported properly within 
   14640 the 
   14641 Switch() operator.
   14642 
   14643 Eliminated extraneous warning for compiler-emitted reserved names of the 
   14644 form "_T_x".  (Used in Switch/Case operators.)
   14645 
   14646 Eliminated optimization messages for "_T_x" objects and small constants 
   14647 within the DefinitionBlock operator.
   14648 
   14649 
   14650 ----------------------------------------
   14651 15 June 2004.  Summary of changes for version 20040615:
   14652 
   14653 1) ACPI CA Core Subsystem:
   14654 
   14655 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   14656 the 
   14657 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   14658 LLessEqual.
   14659 
   14660 All directory names in the entire source package are lower case, as they 
   14661 were in earlier releases.
   14662 
   14663 Implemented "Disassemble" command in the AML debugger that will 
   14664 disassemble 
   14665 a single control method.
   14666 
   14667 Code and Data Size: Current and previous core subsystem library sizes are 
   14668 shown below.  These are the code and data sizes for the acpica.lib 
   14669 produced 
   14670 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14671 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14672 debug output trace mechanism and has a much larger code and data size.  
   14673 Note 
   14674 that these values will vary depending on the efficiency of the compiler 
   14675 and 
   14676 the compiler options used during generation.
   14677 
   14678   Previous Release:
   14679     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   14680     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   14681 
   14682   Current Release:
   14683     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   14684     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   14685 
   14686 
   14687 2) iASL Compiler/Disassembler:
   14688 
   14689 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   14690 the 
   14691 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   14692 LLessEqual.
   14693 
   14694 All directory names in the entire source package are lower case, as they 
   14695 were in earlier releases.
   14696 
   14697 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
   14698 not found.
   14699 
   14700 Fixed an issue with the Windows version of the compiler where later 
   14701 versions 
   14702 of Windows place the FADT in the registry under the name "FADT" and not 
   14703 "FACP" as earlier versions did.  This applies when using the -g or -
   14704 d<nofilename> options.  The compiler now looks for both strings as 
   14705 necessary.
   14706 
   14707 Fixed a problem with compiler namepath optimization where a namepath 
   14708 within 
   14709 the Scope() operator could not be optimized if the namepath was a subpath 
   14710 of 
   14711 the current scope path.
   14712 
   14713 ----------------------------------------
   14714 27 May 2004.  Summary of changes for version 20040527:
   14715 
   14716 1) ACPI CA Core Subsystem:
   14717 
   14718 Completed a new design and implementation for EBDA (Extended BIOS Data 
   14719 Area) 
   14720 support in the RSDP scan code.  The original code improperly scanned for 
   14721 the 
   14722 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
   14723 method 
   14724 is to first obtain the EBDA pointer from within the BIOS data area, then 
   14725 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
   14726 if 
   14727 any machines that place the RSDP in the EBDA, however.
   14728 
   14729 Integrated a fix for a possible fault during evaluation of BufferField 
   14730 arguments.  Obsolete code that was causing the problem was removed.
   14731 
   14732 Found and fixed a problem in the Field Support Code where data could be 
   14733 corrupted on a bit field read that starts on an aligned boundary but does 
   14734 not end on an aligned boundary.  Merged the read/write "datum length" 
   14735 calculation code into a common procedure.
   14736 
   14737 Rolled in a couple of changes to the FreeBSD-specific header.
   14738 
   14739 
   14740 Code and Data Size: Current and previous core subsystem library sizes are 
   14741 shown below.  These are the code and data sizes for the acpica.lib 
   14742 produced 
   14743 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14744 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14745 debug output trace mechanism and has a much larger code and data size.  
   14746 Note 
   14747 that these values will vary depending on the efficiency of the compiler 
   14748 and 
   14749 the compiler options used during generation.
   14750 
   14751   Previous Release:
   14752     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   14753     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   14754   Current Release:
   14755     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   14756     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   14757 
   14758 
   14759 2) iASL Compiler/Disassembler:
   14760 
   14761 Fixed a generation warning produced by some overly-verbose compilers for 
   14762 a 
   14763 64-bit constant.
   14764 
   14765 ----------------------------------------
   14766 14 May 2004.  Summary of changes for version 20040514:
   14767 
   14768 1) ACPI CA Core Subsystem:
   14769 
   14770 Fixed a problem where hardware GPE enable bits sometimes not set properly 
   14771 during and after GPE method execution.  Result of 04/27 changes.
   14772 
   14773 Removed extra "clear all GPEs" when sleeping/waking.
   14774 
   14775 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
   14776 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
   14777 to 
   14778 the new AcpiEv* calls as appropriate.
   14779 
   14780 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
   14781 is 
   14782 now "Microsoft Windows NT" for maximum compatibility.  However this can 
   14783 be 
   14784 changed by modifying the acconfig.h file.
   14785 
   14786 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
   14787 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
   14788 
   14789 Run _INI methods on ThermalZone objects.  This is against the ACPI 
   14790 specification, but there is apparently ASL code in the field that has 
   14791 these 
   14792 _INI methods, and apparently "other" AML interpreters execute them.
   14793 
   14794 Performed a full 16/32/64 bit lint that resulted in some small changes.
   14795 
   14796 Added a sleep simulation command to the AML debugger to test sleep code. 
   14797 
   14798 Code and Data Size: Current and previous core subsystem library sizes are 
   14799 shown below.  These are the code and data sizes for the acpica.lib 
   14800 produced 
   14801 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14802 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14803 debug output trace mechanism and has a much larger code and data size.  
   14804 Note 
   14805 that these values will vary depending on the efficiency of the compiler 
   14806 and 
   14807 the compiler options used during generation.
   14808 
   14809   Previous Release:
   14810     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   14811     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   14812   Current Release:
   14813     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   14814     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   14815 
   14816 ----------------------------------------
   14817 27 April 2004.  Summary of changes for version 20040427:
   14818 
   14819 1) ACPI CA Core Subsystem:
   14820 
   14821 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
   14822 now three types of GPEs:  wake-only, runtime-only, and combination 
   14823 wake/run.  
   14824 The only GPEs allowed to be combination wake/run are for button-style 
   14825 devices such as a control-method power button, control-method sleep 
   14826 button, 
   14827 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
   14828 not 
   14829 referenced by any _PRW methods are marked for "runtime" and hardware 
   14830 enabled.  Any GPE that is referenced by a _PRW method is marked for 
   14831 "wake" 
   14832 (and disabled at runtime).  However, at sleep time, only those GPEs that 
   14833 have been specifically enabled for wake via the AcpiEnableGpe interface 
   14834 will 
   14835 actually be hardware enabled.
   14836 
   14837 A new external interface has been added, AcpiSetGpeType(), that is meant 
   14838 to 
   14839 be used by device drivers to force a GPE to a particular type.  It will 
   14840 be 
   14841 especially useful for the drivers for the button devices mentioned above.
   14842 
   14843 Completed restructuring of the ACPI CA initialization sequence so that 
   14844 default operation region handlers are installed before GPEs are 
   14845 initialized 
   14846 and the _PRW methods are executed.  This will prevent errors when the 
   14847 _PRW 
   14848 methods attempt to access system memory or I/O space.
   14849 
   14850 GPE enable/disable no longer reads the GPE enable register.  We now keep 
   14851 the 
   14852 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
   14853 thus no longer depend on the hardware to maintain these bits.
   14854 
   14855 Always clear the wake status and fixed/GPE status bits before sleep, even 
   14856 for state S5.
   14857 
   14858 Improved the AML debugger output for displaying the GPE blocks and their 
   14859 current status.
   14860 
   14861 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
   14862 where 
   14863 x = 0,1,2,3,4.
   14864 
   14865 Fixed a problem where the physical address was incorrectly calculated 
   14866 when 
   14867 the Load() operator was used to directly load from an Operation Region 
   14868 (vs. 
   14869 loading from a Field object.)  Also added check for minimum table length 
   14870 for 
   14871 this case.
   14872 
   14873 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
   14874 mutex release.
   14875 
   14876 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
   14877 consistency with the other fields returned.
   14878 
   14879 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
   14880 structure for each GPE in the system, so the size of this structure is 
   14881 important.
   14882 
   14883 CPU stack requirement reduction:  Cleaned up the method execution and 
   14884 object 
   14885 evaluation paths so that now a parameter structure is passed, instead of 
   14886 copying the various method parameters over and over again.
   14887 
   14888 In evregion.c:  Correctly exit and reenter the interpreter region if and 
   14889 only if dispatching an operation region request to a user-installed 
   14890 handler.  
   14891 Do not exit/reenter when dispatching to a default handler (e.g., default 
   14892 system memory or I/O handlers)
   14893 
   14894 
   14895 Notes for updating drivers for the new GPE support.  The following 
   14896 changes 
   14897 must be made to ACPI-related device drivers that are attached to one or 
   14898 more 
   14899 GPEs: (This information will be added to the ACPI CA Programmer 
   14900 Reference.)
   14901 
   14902 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
   14903 must 
   14904 explicitly call AcpiEnableGpe.
   14905 2) There is a new interface called AcpiSetGpeType. This should be called 
   14906 before enabling the GPE.  Also, this interface will automatically disable 
   14907 the GPE if it is currently enabled.
   14908 3) AcpiEnableGpe no longer supports a GPE type flag.
   14909 
   14910 Specific drivers that must be changed:
   14911 1) EC driver:
   14912     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
   14913 AeGpeHandler, NULL);
   14914     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
   14915     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
   14916 
   14917 2) Button Drivers (Power, Lid, Sleep):
   14918 Run _PRW method under parent device
   14919 If _PRW exists: /* This is a control-method button */
   14920     Extract GPE number and possibly GpeDevice
   14921     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
   14922     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
   14923 
   14924 For all other devices that have _PRWs, we automatically set the GPE type 
   14925 to 
   14926 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
   14927 This 
   14928 must be done on a selective basis, usually requiring some kind of user 
   14929 app 
   14930 to allow the user to pick the wake devices.
   14931 
   14932 
   14933 Code and Data Size: Current and previous core subsystem library sizes are 
   14934 shown below.  These are the code and data sizes for the acpica.lib 
   14935 produced 
   14936 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14937 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14938 debug output trace mechanism and has a much larger code and data size.  
   14939 Note 
   14940 that these values will vary depending on the efficiency of the compiler 
   14941 and 
   14942 the compiler options used during generation.
   14943 
   14944   Previous Release:
   14945     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   14946     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   14947   Current Release:
   14948 
   14949     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   14950     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   14951 
   14952 
   14953 
   14954 ----------------------------------------
   14955 02 April 2004.  Summary of changes for version 20040402:
   14956 
   14957 1) ACPI CA Core Subsystem:
   14958 
   14959 Fixed an interpreter problem where an indirect store through an ArgX 
   14960 parameter was incorrectly applying the "implicit conversion rules" during 
   14961 the store.  From the ACPI specification: "If the target is a method local 
   14962 or 
   14963 argument (LocalX or ArgX), no conversion is performed and the result is 
   14964 stored directly to the target".  The new behavior is to disable implicit 
   14965 conversion during ALL stores to an ArgX.
   14966 
   14967 Changed the behavior of the _PRW method scan to ignore any and all errors 
   14968 returned by a given _PRW.  This prevents the scan from aborting from the 
   14969 failure of any single _PRW.
   14970 
   14971 Moved the runtime configuration parameters from the global init procedure 
   14972 to 
   14973 static variables in acglobal.h.  This will allow the host to override the 
   14974 default values easily.
   14975 
   14976 Code and Data Size: Current and previous core subsystem library sizes are 
   14977 shown below.  These are the code and data sizes for the acpica.lib 
   14978 produced 
   14979 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14980 any ACPI driver or OSPM code.  The debug version of the code includes the 
   14981 debug output trace mechanism and has a much larger code and data size.  
   14982 Note 
   14983 that these values will vary depending on the efficiency of the compiler 
   14984 and 
   14985 the compiler options used during generation.
   14986 
   14987   Previous Release:
   14988     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   14989     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   14990   Current Release:
   14991     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   14992     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   14993 
   14994 
   14995 2) iASL Compiler/Disassembler:
   14996 
   14997 iASL now fully disassembles SSDTs.  However, External() statements are 
   14998 not 
   14999 generated automatically for unresolved symbols at this time.  This is a 
   15000 planned feature for future implementation.
   15001 
   15002 Fixed a scoping problem in the disassembler that occurs when the type of 
   15003 the 
   15004 target of a Scope() operator is overridden.  This problem caused an 
   15005 incorrectly nested internal namespace to be constructed.
   15006 
   15007 Any warnings or errors that are emitted during disassembly are now 
   15008 commented 
   15009 out automatically so that the resulting file can be recompiled without 
   15010 any 
   15011 hand editing.
   15012 
   15013 ----------------------------------------
   15014 26 March 2004.  Summary of changes for version 20040326:
   15015 
   15016 1) ACPI CA Core Subsystem:
   15017 
   15018 Implemented support for "wake" GPEs via interaction between GPEs and the 
   15019 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
   15020 identified as a WAKE GPE and by default will no longer be enabled at 
   15021 runtime.  Previously, we were blindly enabling all GPEs with a 
   15022 corresponding 
   15023 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
   15024 We 
   15025 believe this has been the cause of thousands of "spurious" GPEs on some 
   15026 systems.
   15027 
   15028 This new GPE behavior is can be reverted to the original behavior (enable 
   15029 ALL GPEs at runtime) via a runtime flag.
   15030 
   15031 Fixed a problem where aliased control methods could not access objects 
   15032 properly.  The proper scope within the namespace was not initialized 
   15033 (transferred to the target of the aliased method) before executing the 
   15034 target method.
   15035 
   15036 Fixed a potential race condition on internal object deletion on the 
   15037 return 
   15038 object in AcpiEvaluateObject. 
   15039 
   15040 Integrated a fix for resource descriptors where both _MEM and _MTP were 
   15041 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
   15042 wide, 0x0F instead of 0x03.)
   15043 
   15044 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
   15045 preventing 
   15046 a 
   15047 fault in some cases.
   15048 
   15049 Updated Notify() values for debug statements in evmisc.c
   15050 
   15051 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
   15052 
   15053 Code and Data Size: Current and previous core subsystem library sizes are 
   15054 shown below.  These are the code and data sizes for the acpica.lib 
   15055 produced 
   15056 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15057 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15058 debug output trace mechanism and has a much larger code and data size.  
   15059 Note 
   15060 that these values will vary depending on the efficiency of the compiler 
   15061 and 
   15062 the compiler options used during generation.
   15063 
   15064   Previous Release:
   15065 
   15066     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   15067     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   15068   Current Release:
   15069     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   15070     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   15071 
   15072 ----------------------------------------
   15073 11 March 2004.  Summary of changes for version 20040311:
   15074 
   15075 1) ACPI CA Core Subsystem:
   15076 
   15077 Fixed a problem where errors occurring during the parse phase of control 
   15078 method execution did not abort cleanly.  For example, objects created and 
   15079 installed in the namespace were not deleted.  This caused all subsequent 
   15080 invocations of the method to return the AE_ALREADY_EXISTS exception.
   15081 
   15082 Implemented a mechanism to force a control method to "Serialized" 
   15083 execution 
   15084 if the method attempts to create namespace objects. (The root of the 
   15085 AE_ALREADY_EXISTS problem.)
   15086 
   15087 Implemented support for the predefined _OSI "internal" control method.  
   15088 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
   15089 and 
   15090 "Windows 2001.1", and can be easily upgraded for new strings as 
   15091 necessary.  
   15092 This feature will allow "other" operating systems to execute the fully 
   15093 tested, "Windows" code path through the ASL code
   15094 
   15095 Global Lock Support:  Now allows multiple acquires and releases with any 
   15096 internal thread.  Removed concept of "owning thread" for this special 
   15097 mutex.
   15098 
   15099 Fixed two functions that were inappropriately declaring large objects on 
   15100 the 
   15101 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
   15102 during 
   15103 method execution considerably.
   15104 
   15105 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
   15106 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
   15107 
   15108 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
   15109 defined on the machine.
   15110 
   15111 Implemented two runtime options:  One to force all control method 
   15112 execution 
   15113 to "Serialized" to mimic Windows behavior, another to disable _OSI 
   15114 support 
   15115 if it causes problems on a given machine.
   15116 
   15117 Code and Data Size: Current and previous core subsystem library sizes are 
   15118 shown below.  These are the code and data sizes for the acpica.lib 
   15119 produced 
   15120 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15121 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15122 debug output trace mechanism and has a much larger code and data size.  
   15123 Note 
   15124 that these values will vary depending on the efficiency of the compiler 
   15125 and 
   15126 the compiler options used during generation.
   15127 
   15128   Previous Release:
   15129     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   15130     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   15131   Current Release:
   15132     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   15133     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   15134 
   15135 2) iASL Compiler/Disassembler:
   15136 
   15137 Fixed an array size problem for FreeBSD that would cause the compiler to 
   15138 fault.
   15139 
   15140 ----------------------------------------
   15141 20 February 2004.  Summary of changes for version 20040220:
   15142 
   15143 
   15144 1) ACPI CA Core Subsystem:
   15145 
   15146 Implemented execution of _SxD methods for Device objects in the 
   15147 GetObjectInfo interface.
   15148 
   15149 Fixed calls to _SST method to pass the correct arguments.
   15150 
   15151 Added a call to _SST on wake to restore to "working" state.
   15152 
   15153 Check for End-Of-Buffer failure case in the WalkResources interface.
   15154 
   15155 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
   15156 structures to the beginning of the file.
   15157 
   15158 After wake, clear GPE status register(s) before enabling GPEs.
   15159 
   15160 After wake, clear/enable power button.  (Perhaps we should clear/enable 
   15161 all 
   15162 fixed events upon wake.)
   15163 
   15164 Fixed a couple of possible memory leaks in the Namespace manager.
   15165 
   15166 Integrated latest acnetbsd.h file.
   15167 
   15168 ----------------------------------------
   15169 11 February 2004.  Summary of changes for version 20040211:
   15170 
   15171 
   15172 1) ACPI CA Core Subsystem:
   15173 
   15174 Completed investigation and implementation of the call-by-reference 
   15175 mechanism for control method arguments.
   15176 
   15177 Fixed a problem where a store of an object into an indexed package could 
   15178 fail if the store occurs within a different method than the method that 
   15179 created the package.
   15180 
   15181 Fixed a problem where the ToDecimal operator could return incorrect 
   15182 results.
   15183 
   15184 Fixed a problem where the CopyObject operator could fail on some of the 
   15185 more 
   15186 obscure objects (e.g., Reference objects.)
   15187 
   15188 Improved the output of the Debug object to display buffer, package, and 
   15189 index objects.
   15190 
   15191 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
   15192 return 
   15193 the expected result.
   15194 
   15195 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
   15196 ACPI_AML_INTERNAL exception.
   15197 
   15198 Integrated latest version of acfreebsd.h
   15199 
   15200 ----------------------------------------
   15201 16 January 2004.  Summary of changes for version 20040116:
   15202 
   15203 The purpose of this release is primarily to update the copyright years in 
   15204 each module, thus causing a huge number of diffs.  There are a few small 
   15205 functional changes, however.
   15206 
   15207 1) ACPI CA Core Subsystem:
   15208 
   15209 Improved error messages when there is a problem finding one or more of 
   15210 the 
   15211 required base ACPI tables
   15212 
   15213 Reintroduced the definition of APIC_HEADER in actbl.h
   15214 
   15215 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
   15216 
   15217 Removed extraneous reference to NewObj in dsmthdat.c
   15218 
   15219 2) iASL compiler
   15220 
   15221 Fixed a problem introduced in December that disabled the correct 
   15222 disassembly 
   15223 of Resource Templates
   15224 
   15225 
   15226 ----------------------------------------
   15227 03 December 2003.  Summary of changes for version 20031203:
   15228 
   15229 1) ACPI CA Core Subsystem:
   15230 
   15231 Changed the initialization of Operation Regions during subsystem
   15232 init to perform two entire walks of the ACPI namespace; The first
   15233 to initialize the regions themselves, the second to execute the
   15234 _REG methods.  This fixed some interdependencies across _REG
   15235 methods found on some machines.
   15236 
   15237 Fixed a problem where a Store(Local0, Local1) could simply update
   15238 the object reference count, and not create a new copy of the
   15239 object if the Local1 is uninitialized.
   15240 
   15241 Implemented support for the _SST reserved method during sleep
   15242 transitions.
   15243 
   15244 Implemented support to clear the SLP_TYP and SLP_EN bits when
   15245 waking up, this is apparently required by some machines.
   15246 
   15247 When sleeping, clear the wake status only if SleepState is not S5.
   15248 
   15249 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
   15250 pointer arithmetic advanced a string pointer too far.
   15251 
   15252 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
   15253 could be returned if the requested table has not been loaded.
   15254 
   15255 Within the support for IRQ resources, restructured the handling of
   15256 the active and edge/level bits.
   15257 
   15258 Fixed a few problems in AcpiPsxExecute() where memory could be
   15259 leaked under certain error conditions.
   15260 
   15261 Improved error messages for the cases where the ACPI mode could
   15262 not be entered.
   15263 
   15264 Code and Data Size: Current and previous core subsystem library
   15265 sizes are shown below.  These are the code and data sizes for the
   15266 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15267 these values do not include any ACPI driver or OSPM code.  The
   15268 debug version of the code includes the debug output trace
   15269 mechanism and has a much larger code and data size.  Note that
   15270 these values will vary depending on the efficiency of the compiler
   15271 and the compiler options used during generation.
   15272 
   15273   Previous Release (20031029):
   15274     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   15275     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   15276   Current Release:
   15277     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   15278     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   15279 
   15280 2) iASL Compiler/Disassembler:
   15281 
   15282 Implemented a fix for the iASL disassembler where a bad index was
   15283 generated.  This was most noticeable on 64-bit platforms
   15284 
   15285 
   15286 ----------------------------------------
   15287 29 October 2003.  Summary of changes for version 20031029:
   15288 
   15289 1) ACPI CA Core Subsystem:
   15290 
   15291 
   15292 Fixed a problem where a level-triggered GPE with an associated
   15293 _Lxx control method was incorrectly cleared twice.
   15294 
   15295 Fixed a problem with the Field support code where an access can
   15296 occur beyond the end-of-region if the field is non-aligned but
   15297 extends to the very end of the parent region (resulted in an
   15298 AE_AML_REGION_LIMIT exception.)
   15299 
   15300 Fixed a problem with ACPI Fixed Events where an RT Clock handler
   15301 would not get invoked on an RTC event.  The RTC event bitmasks for
   15302 the PM1 registers were not being initialized properly.
   15303 
   15304 Implemented support for executing _STA and _INI methods for
   15305 Processor objects.  Although this is currently not part of the
   15306 ACPI specification, there is existing ASL code that depends on the
   15307 init-time execution of these methods.
   15308 
   15309 Implemented and deployed a GetDescriptorName function to decode
   15310 the various types of internal descriptors.  Guards against null
   15311 descriptors during debug output also.
   15312 
   15313 Implemented and deployed a GetNodeName function to extract the 4-
   15314 character namespace node name.  This function simplifies the debug
   15315 and error output, as well as guarding against null pointers during
   15316 output.
   15317 
   15318 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
   15319 simplify the debug and error output of 64-bit integers.  This
   15320 macro replaces the HIDWORD and LODWORD macros for dumping these
   15321 integers.
   15322 
   15323 Updated the implementation of the Stall() operator to only call
   15324 AcpiOsStall(), and also return an error if the operand is larger
   15325 than 255.  This preserves the required behavior of not
   15326 relinquishing the processor, as would happen if AcpiOsSleep() was
   15327 called for "long stalls".
   15328 
   15329 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
   15330 initialized are now treated as NOOPs.
   15331 
   15332 Cleaned up a handful of warnings during 64-bit generation.
   15333 
   15334 Fixed a reported error where and incorrect GPE number was passed
   15335 to the GPE dispatch handler.  This value is only used for error
   15336 output, however.  Used this opportunity to clean up and streamline
   15337 the GPE dispatch code.
   15338 
   15339 Code and Data Size: Current and previous core subsystem library
   15340 sizes are shown below.  These are the code and data sizes for the
   15341 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15342 these values do not include any ACPI driver or OSPM code.  The
   15343 
   15344 debug version of the code includes the debug output trace
   15345 mechanism and has a much larger code and data size.  Note that
   15346 these values will vary depending on the efficiency of the compiler
   15347 and the compiler options used during generation.
   15348 
   15349   Previous Release (20031002):
   15350     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   15351     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   15352   Current Release:
   15353     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   15354     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   15355 
   15356 
   15357 2) iASL Compiler/Disassembler:
   15358 
   15359 Updated the iASL compiler to return an error if the operand to the
   15360 Stall() operator is larger than 255.
   15361 
   15362 
   15363 ----------------------------------------
   15364 02 October 2003.  Summary of changes for version 20031002:
   15365 
   15366 
   15367 1) ACPI CA Core Subsystem:
   15368 
   15369 Fixed a problem with Index Fields where the index was not
   15370 incremented for fields that require multiple writes to the
   15371 index/data registers (Fields that are wider than the data
   15372 register.)
   15373 
   15374 Fixed a problem with all Field objects where a write could go
   15375 beyond the end-of-field if the field was larger than the access
   15376 granularity and therefore required multiple writes to complete the
   15377 request.  An extra write beyond the end of the field could happen
   15378 inadvertently.
   15379 
   15380 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
   15381 would incorrectly be returned if the width of the Data Register
   15382 was larger than the specified field access width.
   15383 
   15384 Completed fixes for LoadTable() and Unload() and verified their
   15385 operation.  Implemented full support for the "DdbHandle" object
   15386 throughout the ACPI CA subsystem.
   15387 
   15388 Implemented full support for the MADT and ECDT tables in the ACPI
   15389 CA header files.  Even though these tables are not directly
   15390 consumed by ACPI CA, the header definitions are useful for ACPI
   15391 device drivers.
   15392 
   15393 Integrated resource descriptor fixes posted to the Linux ACPI
   15394 list.  This included checks for minimum descriptor length, and
   15395 support for trailing NULL strings within descriptors that have
   15396 optional string elements.
   15397 
   15398 Code and Data Size: Current and previous core subsystem library
   15399 sizes are shown below.  These are the code and data sizes for the
   15400 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15401 these values do not include any ACPI driver or OSPM code.  The
   15402 debug version of the code includes the debug output trace
   15403 mechanism and has a much larger code and data size.  Note that
   15404 these values will vary depending on the efficiency of the compiler
   15405 and the compiler options used during generation.
   15406 
   15407   Previous Release (20030918):
   15408     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   15409     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   15410   Current Release:
   15411     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   15412     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   15413 
   15414 
   15415 2) iASL Compiler:
   15416 
   15417 Implemented detection of non-ASCII characters within the input
   15418 source ASL file.  This catches attempts to compile binary (AML)
   15419 files early in the compile, with an informative error message.
   15420 
   15421 Fixed a problem where the disassembler would fault if the output
   15422 filename could not be generated or if the output file could not be
   15423 opened.
   15424 
   15425 ----------------------------------------
   15426 18 September 2003.  Summary of changes for version 20030918:
   15427 
   15428 
   15429 1) ACPI CA Core Subsystem:
   15430 
   15431 Found and fixed a longstanding problem with the late execution of
   15432 the various deferred AML opcodes (such as Operation Regions,
   15433 Buffer Fields, Buffers, and Packages).  If the name string
   15434 specified for the name of the new object placed the object in a
   15435 scope other than the current scope, the initialization/execution
   15436 of the opcode failed.  The solution to this problem was to
   15437 implement a mechanism where the late execution of such opcodes
   15438 does not attempt to lookup/create the name a second time in an
   15439 incorrect scope.  This fixes the "region size computed
   15440 incorrectly" problem.
   15441 
   15442 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
   15443 Global Lock AE_BAD_PARAMETER error.
   15444 
   15445 Fixed several 64-bit issues with prototypes, casting and data
   15446 types.
   15447 
   15448 Removed duplicate prototype from acdisasm.h
   15449 
   15450 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
   15451 
   15452 Code and Data Size: Current and previous core subsystem library
   15453 sizes are shown below.  These are the code and data sizes for the
   15454 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15455 these values do not include any ACPI driver or OSPM code.  The
   15456 debug version of the code includes the debug output trace
   15457 mechanism and has a much larger code and data size.  Note that
   15458 these values will vary depending on the efficiency of the compiler
   15459 and the compiler options used during generation.
   15460 
   15461   Previous Release:
   15462 
   15463     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   15464     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   15465   Current Release:
   15466     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   15467     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   15468 
   15469 
   15470 2) Linux:
   15471 
   15472 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
   15473 correct sleep time in seconds.
   15474 
   15475 ----------------------------------------
   15476 14 July 2003.  Summary of changes for version 20030619:
   15477 
   15478 1) ACPI CA Core Subsystem:
   15479 
   15480 Parse SSDTs in order discovered, as opposed to reverse order
   15481 (Hrvoje Habjanic)
   15482 
   15483 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
   15484 Klausner,
   15485    Nate Lawson)
   15486 
   15487 
   15488 2) Linux:
   15489 
   15490 Dynamically allocate SDT list (suggested by Andi Kleen)
   15491 
   15492 proc function return value cleanups (Andi Kleen)
   15493 
   15494 Correctly handle NMI watchdog during long stalls (Andrew Morton)
   15495 
   15496 Make it so acpismp=force works (reported by Andrew Morton)
   15497 
   15498 
   15499 ----------------------------------------
   15500 19 June 2003.  Summary of changes for version 20030619:
   15501 
   15502 1) ACPI CA Core Subsystem:
   15503 
   15504 Fix To/FromBCD, eliminating the need for an arch-specific #define.
   15505 
   15506 Do not acquire a semaphore in the S5 shutdown path.
   15507 
   15508 Fix ex_digits_needed for 0. (Takayoshi Kochi)
   15509 
   15510 Fix sleep/stall code reversal. (Andi Kleen)
   15511 
   15512 Revert a change having to do with control method calling
   15513 semantics.
   15514 
   15515 2) Linux:
   15516 
   15517 acpiphp update (Takayoshi Kochi)
   15518 
   15519 Export acpi_disabled for sonypi (Stelian Pop)
   15520 
   15521 Mention acpismp=force in config help
   15522 
   15523 Re-add acpitable.c and acpismp=force. This improves backwards
   15524 
   15525 compatibility and also cleans up the code to a significant degree.
   15526 
   15527 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
   15528 
   15529 ----------------------------------------
   15530 22 May 2003.  Summary of changes for version 20030522:
   15531 
   15532 1) ACPI CA Core Subsystem:
   15533 
   15534 Found and fixed a reported problem where an AE_NOT_FOUND error
   15535 occurred occasionally during _BST evaluation.  This turned out to
   15536 be an Owner ID allocation issue where a called method did not get
   15537 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
   15538 ID UINT16 would wraparound so that the ID would be the same as the
   15539 caller's and the called method would delete the caller's
   15540 namespace.
   15541 
   15542 Implemented extended error reporting for control methods that are
   15543 aborted due to a run-time exception.  Output includes the exact
   15544 AML instruction that caused the method abort, a dump of the method
   15545 locals and arguments at the time of the abort, and a trace of all
   15546 nested control method calls.
   15547 
   15548 Modified the interpreter to allow the creation of buffers of zero
   15549 length from the AML code. Implemented new code to ensure that no
   15550 attempt is made to actually allocate a memory buffer (of length
   15551 zero) - instead, a simple buffer object with a NULL buffer pointer
   15552 and length zero is created.  A warning is no longer issued when
   15553 the AML attempts to create a zero-length buffer.
   15554 
   15555 Implemented a workaround for the "leading asterisk issue" in
   15556 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
   15557 asterisk is automatically removed if present in any HID, UID, or
   15558 CID strings.  The iASL compiler will still flag this asterisk as
   15559 an error, however.
   15560 
   15561 Implemented full support for _CID methods that return a package of
   15562 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
   15563 now additionally returns a device _CID list if present.  This
   15564 required a change to the external interface in order to pass an
   15565 ACPI_BUFFER object as a parameter since the _CID list is of
   15566 variable length.
   15567 
   15568 Fixed a problem with the new AE_SAME_HANDLER exception where
   15569 handler initialization code did not know about this exception.
   15570 
   15571 Code and Data Size: Current and previous core subsystem library
   15572 sizes are shown below.  These are the code and data sizes for the
   15573 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15574 these values do not include any ACPI driver or OSPM code.  The
   15575 debug version of the code includes the debug output trace
   15576 mechanism and has a much larger code and data size.  Note that
   15577 these values will vary depending on the efficiency of the compiler
   15578 and the compiler options used during generation.
   15579 
   15580   Previous Release (20030509):
   15581     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   15582     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   15583   Current Release:
   15584     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   15585     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   15586 
   15587 
   15588 2) Linux:
   15589 
   15590 Fixed a bug in which we would reinitialize the ACPI interrupt
   15591 after it was already working, thus disabling all ACPI and the IRQs
   15592 for any other device sharing the interrupt. (Thanks to Stian
   15593 Jordet)
   15594 
   15595 Toshiba driver update (John Belmonte)
   15596 
   15597 Return only 0 or 1 for our interrupt handler status (Andrew
   15598 Morton)
   15599 
   15600 
   15601 3) iASL Compiler:
   15602 
   15603 Fixed a reported problem where multiple (nested) ElseIf()
   15604 statements were not handled correctly by the compiler, resulting
   15605 in incorrect warnings and incorrect AML code.  This was a problem
   15606 in both the ASL parser and the code generator.
   15607 
   15608 
   15609 4) Documentation:
   15610 
   15611 Added changes to existing interfaces, new exception codes, and new
   15612 text concerning reference count object management versus garbage
   15613 collection.
   15614 
   15615 ----------------------------------------
   15616 09 May 2003.  Summary of changes for version 20030509.
   15617 
   15618 
   15619 1) ACPI CA Core Subsystem:
   15620 
   15621 Changed the subsystem initialization sequence to hold off
   15622 installation of address space handlers until the hardware has been
   15623 initialized and the system has entered ACPI mode.  This is because
   15624 the installation of space handlers can cause _REG methods to be
   15625 run.  Previously, the _REG methods could potentially be run before
   15626 ACPI mode was enabled.
   15627 
   15628 Fixed some memory leak issues related to address space handler and
   15629 notify handler installation.  There were some problems with the
   15630 reference count mechanism caused by the fact that the handler
   15631 objects are shared across several namespace objects.
   15632 
   15633 Fixed a reported problem where reference counts within the
   15634 namespace were not properly updated when named objects created by
   15635 method execution were deleted.
   15636 
   15637 Fixed a reported problem where multiple SSDTs caused a deletion
   15638 issue during subsystem termination.  Restructured the table data
   15639 structures to simplify the linked lists and the related code.
   15640 
   15641 Fixed a problem where the table ID associated with secondary
   15642 tables (SSDTs) was not being propagated into the namespace objects
   15643 created by those tables.  This would only present a problem for
   15644 tables that are unloaded at run-time, however.
   15645 
   15646 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
   15647 type as the length parameter (instead of UINT32).
   15648 
   15649 Solved a long-standing problem where an ALREADY_EXISTS error
   15650 appears on various systems.  This problem could happen when there
   15651 are multiple PCI_Config operation regions under a single PCI root
   15652 bus.  This doesn't happen very frequently, but there are some
   15653 systems that do this in the ASL.
   15654 
   15655 Fixed a reported problem where the internal DeleteNode function
   15656 was incorrectly handling the case where a namespace node was the
   15657 first in the parent's child list, and had additional peers (not
   15658 the only child, but first in the list of children.)
   15659 
   15660 Code and Data Size: Current core subsystem library sizes are shown
   15661 below.  These are the code and data sizes for the acpica.lib
   15662 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15663 values do not include any ACPI driver or OSPM code.  The debug
   15664 version of the code includes the debug output trace mechanism and
   15665 has a much larger code and data size.  Note that these values will
   15666 vary depending on the efficiency of the compiler and the compiler
   15667 options used during generation.
   15668 
   15669   Previous Release
   15670     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   15671     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   15672   Current Release:
   15673     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   15674     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   15675 
   15676 
   15677 2) Linux:
   15678 
   15679 Allow ":" in OS override string (Ducrot Bruno)
   15680 
   15681 Kobject fix (Greg KH)
   15682 
   15683 
   15684 3 iASL Compiler/Disassembler:
   15685 
   15686 Fixed a problem in the generation of the C source code files (AML
   15687 is emitted in C source statements for BIOS inclusion) where the
   15688 Ascii dump that appears within a C comment at the end of each line
   15689 could cause a compile time error if the AML sequence happens to
   15690 have an open comment or close comment sequence embedded.
   15691 
   15692 
   15693 ----------------------------------------
   15694 24 April 2003.  Summary of changes for version 20030424.
   15695 
   15696 
   15697 1) ACPI CA Core Subsystem:
   15698 
   15699 Support for big-endian systems has been implemented.  Most of the
   15700 support has been invisibly added behind big-endian versions of the
   15701 ACPI_MOVE_* macros.
   15702 
   15703 Fixed a problem in AcpiHwDisableGpeBlock() and
   15704 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
   15705 low level hardware write routine.  The offset parameter was
   15706 actually eliminated from the low level read/write routines because
   15707 they had become obsolete.
   15708 
   15709 Fixed a problem where a handler object was deleted twice during
   15710 the removal of a fixed event handler.
   15711 
   15712 
   15713 2) Linux:
   15714 
   15715 A fix for SMP systems with link devices was contributed by
   15716 
   15717 Compaq's Dan Zink.
   15718 
   15719 (2.5) Return whether we handled the interrupt in our IRQ handler.
   15720 (Linux ISRs no longer return void, so we can propagate the handler
   15721 return value from the ACPI CA core back to the OS.)
   15722 
   15723 
   15724 
   15725 3) Documentation:
   15726 
   15727 The ACPI CA Programmer Reference has been updated to reflect new
   15728 interfaces and changes to existing interfaces.
   15729 
   15730 ----------------------------------------
   15731 28 March 2003.  Summary of changes for version 20030328.
   15732 
   15733 1) ACPI CA Core Subsystem:
   15734 
   15735 The GPE Block Device support has been completed.  New interfaces
   15736 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
   15737 interfaces (enable, disable, clear, getstatus) have been split
   15738 into separate interfaces for Fixed Events and General Purpose
   15739 Events (GPEs) in order to support GPE Block Devices properly.
   15740 
   15741 Fixed a problem where the error message "Failed to acquire
   15742 semaphore" would appear during operations on the embedded
   15743 controller (EC).
   15744 
   15745 Code and Data Size: Current core subsystem library sizes are shown
   15746 below.  These are the code and data sizes for the acpica.lib
   15747 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15748 values do not include any ACPI driver or OSPM code.  The debug
   15749 version of the code includes the debug output trace mechanism and
   15750 has a much larger code and data size.  Note that these values will
   15751 vary depending on the efficiency of the compiler and the compiler
   15752 options used during generation.
   15753 
   15754   Previous Release
   15755     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   15756     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   15757   Current Release:
   15758     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   15759     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   15760 
   15761 
   15762 ----------------------------------------
   15763 28 February 2003.  Summary of changes for version 20030228.
   15764 
   15765 
   15766 1) ACPI CA Core Subsystem:
   15767 
   15768 The GPE handling and dispatch code has been completely overhauled
   15769 in preparation for support of GPE Block Devices (ID ACPI0006).
   15770 This affects internal data structures and code only; there should
   15771 be no differences visible externally.  One new file has been
   15772 added, evgpeblk.c
   15773 
   15774 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
   15775 fields that are used to determine the GPE block lengths.  The
   15776 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
   15777 structures are ignored.  This is per the ACPI specification but it
   15778 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
   15779 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
   15780 
   15781 In the SCI interrupt handler, removed the read of the PM1_CONTROL
   15782 register to look at the SCI_EN bit.  On some machines, this read
   15783 causes an SMI event and greatly slows down SCI events.  (This may
   15784 in fact be the cause of slow battery status response on some
   15785 systems.)
   15786 
   15787 Fixed a problem where a store of a NULL string to a package object
   15788 could cause the premature deletion of the object.  This was seen
   15789 during execution of the battery _BIF method on some systems,
   15790 resulting in no battery data being returned.
   15791 
   15792 Added AcpiWalkResources interface to simplify parsing of resource
   15793 lists.
   15794 
   15795 Code and Data Size: Current core subsystem library sizes are shown
   15796 below.  These are the code and data sizes for the acpica.lib
   15797 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15798 values do not include any ACPI driver or OSPM code.  The debug
   15799 version of the code includes the debug output trace mechanism and
   15800 has a much larger code and data size.  Note that these values will
   15801 vary depending on the efficiency of the compiler and the compiler
   15802 options used during generation.
   15803 
   15804   Previous Release
   15805     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   15806     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   15807   Current Release:
   15808     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   15809     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   15810 
   15811 
   15812 2) Linux
   15813 
   15814 S3 fixes (Ole Rohne)
   15815 
   15816 Update ACPI PHP driver with to use new acpi_walk_resource API
   15817 (Bjorn Helgaas)
   15818 
   15819 Add S4BIOS support (Pavel Machek)
   15820 
   15821 Map in entire table before performing checksum (John Stultz)
   15822 
   15823 Expand the mem= cmdline to allow the specification of reserved and
   15824 ACPI DATA blocks (Pavel Machek)
   15825 
   15826 Never use ACPI on VISWS
   15827 
   15828 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
   15829 
   15830 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
   15831 causing us to think that some systems support C2 when they really
   15832 don't.
   15833 
   15834 Do not count processor objects for non-present CPUs (Thanks to
   15835 Dominik Brodowski)
   15836 
   15837 
   15838 3) iASL Compiler:
   15839 
   15840 Fixed a problem where ASL include files could not be found and
   15841 opened.
   15842 
   15843 Added support for the _PDC reserved name.
   15844 
   15845 
   15846 ----------------------------------------
   15847 22 January 2003.  Summary of changes for version 20030122.
   15848 
   15849 
   15850 1) ACPI CA Core Subsystem:
   15851 
   15852 Added a check for constructs of the form:  Store (Local0, Local0)
   15853 where Local0 is not initialized.  Apparently, some BIOS
   15854 programmers believe that this is a NOOP.  Since this store doesn't
   15855 do anything anyway, the new prototype behavior will ignore this
   15856 error.  This is a case where we can relax the strict checking in
   15857 the interpreter in the name of compatibility.
   15858 
   15859 
   15860 2) Linux
   15861 
   15862 The AcpiSrc Source Conversion Utility has been released with the
   15863 Linux package for the first time.  This is the utility that is
   15864 used to convert the ACPI CA base source code to the Linux version.
   15865 
   15866 (Both) Handle P_BLK lengths shorter than 6 more gracefully
   15867 
   15868 (Both) Move more headers to include/acpi, and delete an unused
   15869 header.
   15870 
   15871 (Both) Move drivers/acpi/include directory to include/acpi
   15872 
   15873 (Both) Boot functions don't use cmdline, so don't pass it around
   15874 
   15875 (Both) Remove include of unused header (Adrian Bunk)
   15876 
   15877 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
   15878 the
   15879 former now also includes the latter, acpiphp.h only needs the one,
   15880 now.
   15881 
   15882 (2.5) Make it possible to select method of bios restoring after S3
   15883 resume. [=> no more ugly ifdefs] (Pavel Machek)
   15884 
   15885 (2.5) Make proc write interfaces work (Pavel Machek)
   15886 
   15887 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
   15888 
   15889 (2.5) Break out ACPI Perf code into its own module, under cpufreq
   15890 (Dominik Brodowski)
   15891 
   15892 (2.4) S4BIOS support (Ducrot Bruno)
   15893 
   15894 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
   15895 Visinoni)
   15896 
   15897 
   15898 3) iASL Compiler:
   15899 
   15900 Added support to disassemble SSDT and PSDTs.
   15901 
   15902 Implemented support to obtain SSDTs from the Windows registry if
   15903 available.
   15904 
   15905 
   15906 ----------------------------------------
   15907 09 January 2003.  Summary of changes for version 20030109.
   15908 
   15909 1) ACPI CA Core Subsystem:
   15910 
   15911 Changed the behavior of the internal Buffer-to-String conversion
   15912 function.  The current ACPI specification states that the contents
   15913 of the buffer are "converted to a string of two-character
   15914 hexadecimal numbers, each separated by a space".  Unfortunately,
   15915 this definition is not backwards compatible with existing ACPI 1.0
   15916 implementations (although the behavior was not defined in the ACPI
   15917 1.0 specification).  The new behavior simply copies data from the
   15918 buffer to the string until a null character is found or the end of
   15919 the buffer is reached.  The new String object is always null
   15920 terminated.  This problem was seen during the generation of _BIF
   15921 battery data where incorrect strings were returned for battery
   15922 type, etc.  This will also require an errata to the ACPI
   15923 specification.
   15924 
   15925 Renamed all instances of NATIVE_UINT and NATIVE_INT to
   15926 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
   15927 
   15928 Copyright in all module headers (both Linux and non-Linux) has be
   15929 updated to 2003.
   15930 
   15931 Code and Data Size: Current core subsystem library sizes are shown
   15932 below.  These are the code and data sizes for the acpica.lib
   15933 produced by the Microsoft Visual C++ 6.0 compiler, and these
   15934 values do not include any ACPI driver or OSPM code.  The debug
   15935 version of the code includes the debug output trace mechanism and
   15936 has a much larger code and data size.  Note that these values will
   15937 vary depending on the efficiency of the compiler and the compiler
   15938 options used during generation.
   15939 
   15940   Previous Release
   15941     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   15942     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   15943   Current Release:
   15944     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   15945     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   15946 
   15947 
   15948 2) Linux
   15949 
   15950 Fixed an oops on module insertion/removal (Matthew Tippett)
   15951 
   15952 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
   15953 
   15954 (2.5) Replace pr_debug (Randy Dunlap)
   15955 
   15956 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
   15957 
   15958 (Both) Eliminate spawning of thread from timer callback, in favor
   15959 of schedule_work()
   15960 
   15961 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
   15962 
   15963 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
   15964 
   15965 (Both) Add missing statics to button.c (Pavel Machek)
   15966 
   15967 Several changes have been made to the source code translation
   15968 utility that generates the Linux Code in order to make the code
   15969 more "Linux-like":
   15970 
   15971 All typedefs on structs and unions have been removed in keeping
   15972 with the Linux coding style.
   15973 
   15974 Removed the non-Linux SourceSafe module revision number from each
   15975 module header.
   15976 
   15977 Completed major overhaul of symbols to be lowercase for linux.
   15978 Doubled the number of symbols that are lowercase.
   15979 
   15980 Fixed a problem where identifiers within procedure headers and
   15981 within quotes were not fully lower cased (they were left with a
   15982 starting capital.)
   15983 
   15984 Some C macros whose only purpose is to allow the generation of 16-
   15985 bit code are now completely removed in the Linux code, increasing
   15986 readability and maintainability.
   15987 
   15988 ----------------------------------------
   15989 
   15990 12 December 2002.  Summary of changes for version 20021212.
   15991 
   15992 
   15993 1) ACPI CA Core Subsystem:
   15994 
   15995 Fixed a problem where the creation of a zero-length AML Buffer
   15996 would cause a fault.
   15997 
   15998 Fixed a problem where a Buffer object that pointed to a static AML
   15999 buffer (in an ACPI table) could inadvertently be deleted, causing
   16000 memory corruption.
   16001 
   16002 Fixed a problem where a user buffer (passed in to the external
   16003 ACPI CA interfaces) could be overwritten if the buffer was too
   16004 small to complete the operation, causing memory corruption.
   16005 
   16006 Fixed a problem in the Buffer-to-String conversion code where a
   16007 string of length one was always returned, regardless of the size
   16008 of the input Buffer object.
   16009 
   16010 Removed the NATIVE_CHAR data type across the entire source due to
   16011 lack of need and lack of consistent use.
   16012 
   16013 Code and Data Size: Current core subsystem library sizes are shown
   16014 below.  These are the code and data sizes for the acpica.lib
   16015 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16016 values do not include any ACPI driver or OSPM code.  The debug
   16017 version of the code includes the debug output trace mechanism and
   16018 has a much larger code and data size.  Note that these values will
   16019 vary depending on the efficiency of the compiler and the compiler
   16020 options used during generation.
   16021 
   16022   Previous Release
   16023     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   16024     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   16025   Current Release:
   16026     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   16027     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   16028 
   16029 
   16030 ----------------------------------------
   16031 05 December 2002.  Summary of changes for version 20021205.
   16032 
   16033 1) ACPI CA Core Subsystem:
   16034 
   16035 Fixed a problem where a store to a String or Buffer object could
   16036 cause corruption of the DSDT if the object type being stored was
   16037 the same as the target object type and the length of the object
   16038 being stored was equal to or smaller than the original (existing)
   16039 target object.  This was seen to cause corruption of battery _BIF
   16040 buffers if the _BIF method modified the buffer on the fly.
   16041 
   16042 Fixed a problem where an internal error was generated if a control
   16043 method invocation was used in an OperationRegion, Buffer, or
   16044 Package declaration.  This was caused by the deferred parsing of
   16045 the control method and thus the deferred creation of the internal
   16046 method object.  The solution to this problem was to create the
   16047 internal method object at the moment the method is encountered in
   16048 the first pass - so that subsequent references to the method will
   16049 able to obtain the required parameter count and thus properly
   16050 parse the method invocation.  This problem presented itself as an
   16051 AE_AML_INTERNAL during the pass 1 parse phase during table load.
   16052 
   16053 Fixed a problem where the internal String object copy routine did
   16054 not always allocate sufficient memory for the target String object
   16055 and caused memory corruption.  This problem was seen to cause
   16056 "Allocation already present in list!" errors as memory allocation
   16057 became corrupted.
   16058 
   16059 Implemented a new function for the evaluation of namespace objects
   16060 that allows the specification of the allowable return object
   16061 types.  This simplifies a lot of code that checks for a return
   16062 object of one or more specific objects returned from the
   16063 evaluation (such as _STA, etc.)  This may become and external
   16064 function if it would be useful to ACPI-related drivers.
   16065 
   16066 Completed another round of prefixing #defines with "ACPI_" for
   16067 clarity.
   16068 
   16069 Completed additional code restructuring to allow more modular
   16070 linking for iASL compiler and AcpiExec.  Several files were split
   16071 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
   16072 
   16073 Implemented an abort mechanism to terminate an executing control
   16074 method via the AML debugger.  This feature is useful for debugging
   16075 control methods that depend (wait) for specific hardware
   16076 responses.
   16077 
   16078 Code and Data Size: Current core subsystem library sizes are shown
   16079 below.  These are the code and data sizes for the acpica.lib
   16080 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16081 values do not include any ACPI driver or OSPM code.  The debug
   16082 version of the code includes the debug output trace mechanism and
   16083 has a much larger code and data size.  Note that these values will
   16084 vary depending on the efficiency of the compiler and the compiler
   16085 options used during generation.
   16086 
   16087   Previous Release
   16088     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16089     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   16090   Current Release:
   16091     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   16092     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   16093 
   16094 
   16095 2) iASL Compiler/Disassembler
   16096 
   16097 Fixed a compiler code generation problem for "Interrupt" Resource
   16098 Descriptors.  If specified in the ASL, the optional "Resource
   16099 Source Index" and "Resource Source" fields were not inserted into
   16100 the correct location within the AML resource descriptor, creating
   16101 an invalid descriptor.
   16102 
   16103 Fixed a disassembler problem for "Interrupt" resource descriptors.
   16104 The optional "Resource Source Index" and "Resource Source" fields
   16105 were ignored.
   16106 
   16107 
   16108 ----------------------------------------
   16109 22 November 2002.  Summary of changes for version 20021122.
   16110 
   16111 
   16112 1) ACPI CA Core Subsystem:
   16113 
   16114 Fixed a reported problem where an object stored to a Method Local
   16115 or Arg was not copied to a new object during the store - the
   16116 object pointer was simply copied to the Local/Arg.  This caused
   16117 all subsequent operations on the Local/Arg to also affect the
   16118 original source of the store operation.
   16119 
   16120 Fixed a problem where a store operation to a Method Local or Arg
   16121 was not completed properly if the Local/Arg contained a reference
   16122 (from RefOf) to a named field.  The general-purpose store-to-
   16123 namespace-node code is now used so that this case is handled
   16124 automatically.
   16125 
   16126 Fixed a problem where the internal object copy routine would cause
   16127 a protection fault if the object being copied was a Package and
   16128 contained either 1) a NULL package element or 2) a nested sub-
   16129 package.
   16130 
   16131 Fixed a problem with the GPE initialization that resulted from an
   16132 ambiguity in the ACPI specification.  One section of the
   16133 specification states that both the address and length of the GPE
   16134 block must be zero if the block is not supported.  Another section
   16135 implies that only the address need be zero if the block is not
   16136 supported.  The code has been changed so that both the address and
   16137 the length must be non-zero to indicate a valid GPE block (i.e.,
   16138 if either the address or the length is zero, the GPE block is
   16139 invalid.)
   16140 
   16141 Code and Data Size: Current core subsystem library sizes are shown
   16142 below.  These are the code and data sizes for the acpica.lib
   16143 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16144 values do not include any ACPI driver or OSPM code.  The debug
   16145 version of the code includes the debug output trace mechanism and
   16146 has a much larger code and data size.  Note that these values will
   16147 vary depending on the efficiency of the compiler and the compiler
   16148 options used during generation.
   16149 
   16150   Previous Release
   16151     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   16152     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   16153   Current Release:
   16154     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16155     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   16156 
   16157 
   16158 2) Linux
   16159 
   16160 Cleaned up EC driver. Exported an external EC read/write
   16161 interface. By going through this, other drivers (most notably
   16162 sonypi) will be able to serialize access to the EC.
   16163 
   16164 
   16165 3) iASL Compiler/Disassembler
   16166 
   16167 Implemented support to optionally generate include files for both
   16168 ASM and C (the -i switch).  This simplifies BIOS development by
   16169 automatically creating include files that contain external
   16170 declarations for the symbols that are created within the
   16171 
   16172 (optionally generated) ASM and C AML source files.
   16173 
   16174 
   16175 ----------------------------------------
   16176 15 November 2002.  Summary of changes for version 20021115.
   16177 
   16178 1) ACPI CA Core Subsystem:
   16179 
   16180 Fixed a memory leak problem where an error during resolution of
   16181 
   16182 method arguments during a method invocation from another method
   16183 failed to cleanup properly by deleting all successfully resolved
   16184 argument objects.
   16185 
   16186 Fixed a problem where the target of the Index() operator was not
   16187 correctly constructed if the source object was a package.  This
   16188 problem has not been detected because the use of a target operand
   16189 with Index() is very rare.
   16190 
   16191 Fixed a problem with the Index() operator where an attempt was
   16192 made to delete the operand objects twice.
   16193 
   16194 Fixed a problem where an attempt was made to delete an operand
   16195 twice during execution of the CondRefOf() operator if the target
   16196 did not exist.
   16197 
   16198 Implemented the first of perhaps several internal create object
   16199 functions that create and initialize a specific object type.  This
   16200 consolidates duplicated code wherever the object is created, thus
   16201 shrinking the size of the subsystem.
   16202 
   16203 Implemented improved debug/error messages for errors that occur
   16204 during nested method invocations.  All executing method pathnames
   16205 are displayed (with the error) as the call stack is unwound - thus
   16206 simplifying debug.
   16207 
   16208 Fixed a problem introduced in the 10/02 release that caused
   16209 premature deletion of a buffer object if a buffer was used as an
   16210 ASL operand where an integer operand is required (Thus causing an
   16211 implicit object conversion from Buffer to Integer.)  The change in
   16212 the 10/02 release was attempting to fix a memory leak (albeit
   16213 incorrectly.)
   16214 
   16215 Code and Data Size: Current core subsystem library sizes are shown
   16216 below.  These are the code and data sizes for the acpica.lib
   16217 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16218 values do not include any ACPI driver or OSPM code.  The debug
   16219 version of the code includes the debug output trace mechanism and
   16220 has a much larger code and data size.  Note that these values will
   16221 vary depending on the efficiency of the compiler and the compiler
   16222 options used during generation.
   16223 
   16224   Previous Release
   16225     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   16226     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   16227   Current Release:
   16228     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   16229     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   16230 
   16231 
   16232 2) Linux
   16233 
   16234 Changed the implementation of the ACPI semaphores to use down()
   16235 instead of down_interruptable().  It is important that the
   16236 execution of ACPI control methods not be interrupted by signals.
   16237 Methods must run to completion, or the system may be left in an
   16238 unknown/unstable state.
   16239 
   16240 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
   16241 (Shawn Starr)
   16242 
   16243 
   16244 3) iASL Compiler/Disassembler
   16245 
   16246 
   16247 Changed the default location of output files.  All output files
   16248 are now placed in the current directory by default instead of in
   16249 the directory of the source file.  This change may affect some
   16250 existing makefiles, but it brings the behavior of the compiler in
   16251 line with other similar tools.  The location of the output files
   16252 can be overridden with the -p command line switch.
   16253 
   16254 
   16255 ----------------------------------------
   16256 11 November 2002.  Summary of changes for version 20021111.
   16257 
   16258 
   16259 0) ACPI Specification 2.0B is released and is now available at:
   16260 http://www.acpi.info/index.html
   16261 
   16262 
   16263 1) ACPI CA Core Subsystem:
   16264 
   16265 Implemented support for the ACPI 2.0 SMBus Operation Regions.
   16266 This includes the early detection and handoff of the request to
   16267 the SMBus region handler (avoiding all of the complex field
   16268 support code), and support for the bidirectional return packet
   16269 from an SMBus write operation.  This paves the way for the
   16270 development of SMBus drivers in each host operating system.
   16271 
   16272 Fixed a problem where the semaphore WAIT_FOREVER constant was
   16273 defined as 32 bits, but must be 16 bits according to the ACPI
   16274 specification.  This had the side effect of causing ASL
   16275 Mutex/Event timeouts even though the ASL code requested a wait
   16276 forever.  Changed all internal references to the ACPI timeout
   16277 parameter to 16 bits to prevent future problems.  Changed the name
   16278 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
   16279 
   16280 Code and Data Size: Current core subsystem library sizes are shown
   16281 below.  These are the code and data sizes for the acpica.lib
   16282 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16283 values do not include any ACPI driver or OSPM code.  The debug
   16284 version of the code includes the debug output trace mechanism and
   16285 has a much larger code and data size.  Note that these values will
   16286 vary depending on the efficiency of the compiler and the compiler
   16287 options used during generation.
   16288 
   16289   Previous Release
   16290     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16291     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   16292   Current Release:
   16293     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   16294     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   16295 
   16296 
   16297 2) Linux
   16298 
   16299 Module loading/unloading fixes (John Cagle)
   16300 
   16301 
   16302 3) iASL Compiler/Disassembler
   16303 
   16304 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
   16305 
   16306 Implemented support for the disassembly of all SMBus protocol
   16307 keywords (SMBQuick, SMBWord, etc.)
   16308 
   16309 ----------------------------------------
   16310 01 November 2002.  Summary of changes for version 20021101.
   16311 
   16312 
   16313 1) ACPI CA Core Subsystem:
   16314 
   16315 Fixed a problem where platforms that have a GPE1 block but no GPE0
   16316 block were not handled correctly.  This resulted in a "GPE
   16317 overlap" error message.  GPE0 is no longer required.
   16318 
   16319 Removed code added in the previous release that inserted nodes
   16320 into the namespace in alphabetical order.  This caused some side-
   16321 effects on various machines.  The root cause of the problem is
   16322 still under investigation since in theory, the internal ordering
   16323 of the namespace nodes should not matter.
   16324 
   16325 
   16326 Enhanced error reporting for the case where a named object is not
   16327 found during control method execution.  The full ACPI namepath
   16328 (name reference) of the object that was not found is displayed in
   16329 this case.
   16330 
   16331 Note: as a result of the overhaul of the namespace object types in
   16332 the previous release, the namespace nodes for the predefined
   16333 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
   16334 instead of ACPI_TYPE_ANY.  This simplifies the namespace
   16335 management code but may affect code that walks the namespace tree
   16336 looking for specific object types.
   16337 
   16338 Code and Data Size: Current core subsystem library sizes are shown
   16339 below.  These are the code and data sizes for the acpica.lib
   16340 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16341 values do not include any ACPI driver or OSPM code.  The debug
   16342 version of the code includes the debug output trace mechanism and
   16343 has a much larger code and data size.  Note that these values will
   16344 vary depending on the efficiency of the compiler and the compiler
   16345 options used during generation.
   16346 
   16347   Previous Release
   16348     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   16349     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   16350   Current Release:
   16351     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16352     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   16353 
   16354 
   16355 2) Linux
   16356 
   16357 Fixed a problem introduced in the previous release where the
   16358 Processor and Thermal objects were not recognized and installed in
   16359 /proc.  This was related to the scope type change described above.
   16360 
   16361 
   16362 3) iASL Compiler/Disassembler
   16363 
   16364 Implemented the -g option to get all of the required ACPI tables
   16365 from the registry and save them to files (Windows version of the
   16366 compiler only.)  The required tables are the FADT, FACS, and DSDT.
   16367 
   16368 Added ACPI table checksum validation during table disassembly in
   16369 order to catch corrupted tables.
   16370 
   16371 
   16372 ----------------------------------------
   16373 22 October 2002.  Summary of changes for version 20021022.
   16374 
   16375 1) ACPI CA Core Subsystem:
   16376 
   16377 Implemented a restriction on the Scope operator that the target
   16378 must already exist in the namespace at the time the operator is
   16379 encountered (during table load or method execution).  In other
   16380 words, forward references are not allowed and Scope() cannot
   16381 create a new object. This changes the previous behavior where the
   16382 interpreter would create the name if not found.  This new behavior
   16383 correctly enables the search-to-root algorithm during namespace
   16384 lookup of the target name.  Because of this upsearch, this fixes
   16385 the known Compaq _SB_.OKEC problem and makes both the AML
   16386 interpreter and iASL compiler compatible with other ACPI
   16387 implementations.
   16388 
   16389 Completed a major overhaul of the internal ACPI object types for
   16390 the ACPI Namespace and the associated operand objects.  Many of
   16391 these types had become obsolete with the introduction of the two-
   16392 pass namespace load.  This cleanup simplifies the code and makes
   16393 the entire namespace load mechanism much clearer and easier to
   16394 understand.
   16395 
   16396 Improved debug output for tracking scope opening/closing to help
   16397 diagnose scoping issues.  The old scope name as well as the new
   16398 scope name are displayed.  Also improved error messages for
   16399 problems with ASL Mutex objects and error messages for GPE
   16400 problems.
   16401 
   16402 Cleaned up the namespace dump code, removed obsolete code.
   16403 
   16404 All string output (for all namespace/object dumps) now uses the
   16405 common ACPI string output procedure which handles escapes properly
   16406 and does not emit non-printable characters.
   16407 
   16408 Fixed some issues with constants in the 64-bit version of the
   16409 local C library (utclib.c)
   16410 
   16411 
   16412 2) Linux
   16413 
   16414 EC Driver:  No longer attempts to acquire the Global Lock at
   16415 interrupt level.
   16416 
   16417 
   16418 3) iASL Compiler/Disassembler
   16419 
   16420 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
   16421 2 opcodes outside of a control method.  This means that the
   16422 "executable" operators (versus the "namespace" operators) cannot
   16423 be used at the table level; they can only be used within a control
   16424 method.
   16425 
   16426 Implemented the restriction on the Scope() operator where the
   16427 target must already exist in the namespace at the time the
   16428 operator is encountered (during ASL compilation). In other words,
   16429 forward references are not allowed and Scope() cannot create a new
   16430 object.  This makes the iASL compiler compatible with other ACPI
   16431 implementations and makes the Scope() implementation adhere to the
   16432 ACPI specification.
   16433 
   16434 Fixed a problem where namepath optimization for the Alias operator
   16435 was optimizing the wrong path (of the two namepaths.)  This caused
   16436 a "Missing alias link" error message.
   16437 
   16438 Fixed a problem where an "unknown reserved name" warning could be
   16439 incorrectly generated for names like "_SB" when the trailing
   16440 underscore is not used in the original ASL.
   16441 
   16442 Fixed a problem where the reserved name check did not handle
   16443 NamePaths with multiple NameSegs correctly.  The first nameseg of
   16444 the NamePath was examined instead of the last NameSeg.
   16445 
   16446 
   16447 ----------------------------------------
   16448 
   16449 02 October 2002.  Summary of changes for this release.
   16450 
   16451 
   16452 1) ACPI CA Core Subsystem version 20021002:
   16453 
   16454 Fixed a problem where a store/copy of a string to an existing
   16455 string did not always set the string length properly in the String
   16456 object.
   16457 
   16458 Fixed a reported problem with the ToString operator where the
   16459 behavior was identical to the ToHexString operator instead of just
   16460 simply converting a raw buffer to a string data type.
   16461 
   16462 Fixed a problem where CopyObject and the other "explicit"
   16463 conversion operators were not updating the internal namespace node
   16464 type as part of the store operation.
   16465 
   16466 Fixed a memory leak during implicit source operand conversion
   16467 where the original object was not deleted if it was converted to a
   16468 new object of a different type.
   16469 
   16470 Enhanced error messages for all problems associated with namespace
   16471 lookups.  Common procedure generates and prints the lookup name as
   16472 well as the formatted status.
   16473 
   16474 Completed implementation of a new design for the Alias support
   16475 within the namespace.  The existing design did not handle the case
   16476 where a new object was assigned to one of the two names due to the
   16477 use of an explicit conversion operator, resulting in the two names
   16478 pointing to two different objects.  The new design simply points
   16479 the Alias name to the original name node - not to the object.
   16480 This results in a level of indirection that must be handled in the
   16481 name resolution mechanism.
   16482 
   16483 Code and Data Size: Current core subsystem library sizes are shown
   16484 below.  These are the code and data sizes for the acpica.lib
   16485 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16486 values do not include any ACPI driver or OSPM code.  The debug
   16487 version of the code includes the debug output trace mechanism and
   16488 has a larger code and data size.  Note that these values will vary
   16489 depending on the efficiency of the compiler and the compiler
   16490 options used during generation.
   16491 
   16492   Previous Release
   16493     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   16494     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   16495   Current Release:
   16496     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   16497     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   16498 
   16499 
   16500 2) Linux
   16501 
   16502 Initialize thermal driver's timer before it is used. (Knut
   16503 Neumann)
   16504 
   16505 Allow handling negative celsius values. (Kochi Takayoshi)
   16506 
   16507 Fix thermal management and make trip points. R/W (Pavel Machek)
   16508 
   16509 Fix /proc/acpi/sleep. (P. Christeas)
   16510 
   16511 IA64 fixes. (David Mosberger)
   16512 
   16513 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
   16514 
   16515 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
   16516 Brodowski)
   16517 
   16518 
   16519 3) iASL Compiler/Disassembler
   16520 
   16521 Clarified some warning/error messages.
   16522 
   16523 
   16524 ----------------------------------------
   16525 18 September 2002.  Summary of changes for this release.
   16526 
   16527 
   16528 1) ACPI CA Core Subsystem version 20020918:
   16529 
   16530 Fixed a reported problem with reference chaining (via the Index()
   16531 and RefOf() operators) in the ObjectType() and SizeOf() operators.
   16532 The definition of these operators includes the dereferencing of
   16533 all chained references to return information on the base object.
   16534 
   16535 Fixed a problem with stores to indexed package elements - the
   16536 existing code would not complete the store if an "implicit
   16537 conversion" was not performed.  In other words, if the existing
   16538 object (package element) was to be replaced completely, the code
   16539 didn't handle this case.
   16540 
   16541 Relaxed typechecking on the ASL "Scope" operator to allow the
   16542 target name to refer to an object of type Integer, String, or
   16543 Buffer, in addition to the scoping object types (Device,
   16544 predefined Scopes, Processor, PowerResource, and ThermalZone.)
   16545 This allows existing AML code that has workarounds for a bug in
   16546 Windows to function properly.  A warning is issued, however.  This
   16547 affects both the AML interpreter and the iASL compiler. Below is
   16548 an example of this type of ASL code:
   16549 
   16550       Name(DEB,0x00)
   16551       Scope(DEB)
   16552       {
   16553 
   16554 Fixed some reported problems with 64-bit integer support in the
   16555 local implementation of C library functions (clib.c)
   16556 
   16557 
   16558 2) Linux
   16559 
   16560 Use ACPI fix map region instead of IOAPIC region, since it is
   16561 undefined in non-SMP.
   16562 
   16563 Ensure that the SCI has the proper polarity and trigger, even on
   16564 systems that do not have an interrupt override entry in the MADT.
   16565 
   16566 2.5 big driver reorganization (Pat Mochel)
   16567 
   16568 Use early table mapping code from acpitable.c (Andi Kleen)
   16569 
   16570 New blacklist entries (Andi Kleen)
   16571 
   16572 Blacklist improvements. Split blacklist code out into a separate
   16573 file. Move checking the blacklist to very early. Previously, we
   16574 would use ACPI tables, and then halfway through init, check the
   16575 blacklist -- too late. Now, it's early enough to completely fall-
   16576 back to non-ACPI.
   16577 
   16578 
   16579 3) iASL Compiler/Disassembler version 20020918:
   16580 
   16581 Fixed a problem where the typechecking code didn't know that an
   16582 alias could point to a method.  In other words, aliases were not
   16583 being dereferenced during typechecking.
   16584 
   16585 
   16586 ----------------------------------------
   16587 29 August 2002.  Summary of changes for this release.
   16588 
   16589 1) ACPI CA Core Subsystem Version 20020829:
   16590 
   16591 If the target of a Scope() operator already exists, it must be an
   16592 object type that actually opens a scope -- such as a Device,
   16593 Method, Scope, etc.  This is a fatal runtime error.  Similar error
   16594 check has been added to the iASL compiler also.
   16595 
   16596 Tightened up the namespace load to disallow multiple names in the
   16597 same scope.  This previously was allowed if both objects were of
   16598 the same type.  (i.e., a lookup was the same as entering a new
   16599 name).
   16600 
   16601 
   16602 2) Linux
   16603 
   16604 Ensure that the ACPI interrupt has the proper trigger and
   16605 polarity.
   16606 
   16607 local_irq_disable is extraneous. (Matthew Wilcox)
   16608 
   16609 Make "acpi=off" actually do what it says, and not use the ACPI
   16610 interpreter *or* the tables.
   16611 
   16612 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
   16613 Takayoshi)
   16614 
   16615 
   16616 3) iASL Compiler/Disassembler  Version 20020829:
   16617 
   16618 Implemented namepath optimization for name declarations.  For
   16619 example, a declaration like "Method (\_SB_.ABCD)" would get
   16620 optimized to "Method (ABCD)" if the declaration is within the
   16621 \_SB_ scope.  This optimization is in addition to the named
   16622 reference path optimization first released in the previous
   16623 version. This would seem to complete all possible optimizations
   16624 for namepaths within the ASL/AML.
   16625 
   16626 If the target of a Scope() operator already exists, it must be an
   16627 object type that actually opens a scope -- such as a Device,
   16628 Method, Scope, etc.
   16629 
   16630 Implemented a check and warning for unreachable code in the same
   16631 block below a Return() statement.
   16632 
   16633 Fixed a problem where the listing file was not generated if the
   16634 compiler aborted if the maximum error count was exceeded (200).
   16635 
   16636 Fixed a problem where the typechecking of method return values was
   16637 broken.  This includes the check for a return value when the
   16638 method is invoked as a TermArg (a return value is expected.)
   16639 
   16640 Fixed a reported problem where EOF conditions during a quoted
   16641 string or comment caused a fault.
   16642 
   16643 
   16644 ----------------------------------------
   16645 15 August 2002.  Summary of changes for this release.
   16646 
   16647 1) ACPI CA Core Subsystem Version 20020815:
   16648 
   16649 Fixed a reported problem where a Store to a method argument that
   16650 contains a reference did not perform the indirect store correctly.
   16651 This problem was created during the conversion to the new
   16652 reference object model - the indirect store to a method argument
   16653 code was not updated to reflect the new model.
   16654 
   16655 Reworked the ACPI mode change code to better conform to ACPI 2.0,
   16656 handle corner cases, and improve code legibility (Kochi Takayoshi)
   16657 
   16658 Fixed a problem with the pathname parsing for the carat (^)
   16659 prefix.  The heavy use of the carat operator by the new namepath
   16660 optimization in the iASL compiler uncovered a problem with the AML
   16661 interpreter handling of this prefix.  In the case where one or
   16662 more carats precede a single nameseg, the nameseg was treated as
   16663 standalone and the search rule (to root) was inadvertently
   16664 applied.  This could cause both the iASL compiler and the
   16665 interpreter to find the wrong object or to miss the error that
   16666 should occur if the object does not exist at that exact pathname.
   16667 
   16668 Found and fixed the problem where the HP Pavilion DSDT would not
   16669 load.  This was a relatively minor tweak to the table loading code
   16670 (a problem caused by the unexpected encounter with a method
   16671 invocation not within a control method), but it does not solve the
   16672 overall issue of the execution of AML code at the table level.
   16673 This investigation is still ongoing.
   16674 
   16675 Code and Data Size: Current core subsystem library sizes are shown
   16676 below.  These are the code and data sizes for the acpica.lib
   16677 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16678 values do not include any ACPI driver or OSPM code.  The debug
   16679 version of the code includes the debug output trace mechanism and
   16680 has a larger code and data size.  Note that these values will vary
   16681 depending on the efficiency of the compiler and the compiler
   16682 options used during generation.
   16683 
   16684   Previous Release
   16685     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   16686     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   16687   Current Release:
   16688     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   16689     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   16690 
   16691 
   16692 2) Linux
   16693 
   16694 Remove redundant slab.h include (Brad Hards)
   16695 
   16696 Fix several bugs in thermal.c (Herbert Nachtnebel)
   16697 
   16698 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
   16699 
   16700 Change acpi_system_suspend to use updated irq functions (Pavel
   16701 Machek)
   16702 
   16703 Export acpi_get_firmware_table (Matthew Wilcox)
   16704 
   16705 Use proper root proc entry for ACPI (Kochi Takayoshi)
   16706 
   16707 Fix early-boot table parsing (Bjorn Helgaas)
   16708 
   16709 
   16710 3) iASL Compiler/Disassembler
   16711 
   16712 Reworked the compiler options to make them more consistent and to
   16713 use two-letter options where appropriate.  We were running out of
   16714 sensible letters.   This may break some makefiles, so check the
   16715 current options list by invoking the compiler with no parameters.
   16716 
   16717 Completed the design and implementation of the ASL namepath
   16718 optimization option for the compiler.  This option optimizes all
   16719 references to named objects to the shortest possible path.  The
   16720 first attempt tries to utilize a single nameseg (4 characters) and
   16721 the "search-to-root" algorithm used by the interpreter.  If that
   16722 cannot be used (because either the name is not in the search path
   16723 or there is a conflict with another object with the same name),
   16724 the pathname is optimized using the carat prefix (usually a
   16725 shorter string than specifying the entire path from the root.)
   16726 
   16727 Implemented support to obtain the DSDT from the Windows registry
   16728 (when the disassembly option is specified with no input file).
   16729 Added this code as the implementation for AcpiOsTableOverride in
   16730 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
   16731 utility) to scan memory for the DSDT to the AcpiOsTableOverride
   16732 function in the DOS OSL to make the disassembler truly OS
   16733 independent.
   16734 
   16735 Implemented a new option to disassemble and compile in one step.
   16736 When used without an input filename, this option will grab the
   16737 DSDT from the local machine, disassemble it, and compile it in one
   16738 step.
   16739 
   16740 Added a warning message for invalid escapes (a backslash followed
   16741 by any character other than the allowable escapes).  This catches
   16742 the quoted string error "\_SB_" (which should be "\\_SB_" ).
   16743 
   16744 Also, there are numerous instances in the ACPI specification where
   16745 this error occurs.
   16746 
   16747 Added a compiler option to disable all optimizations.  This is
   16748 basically the "compatibility mode" because by using this option,
   16749 the AML code will come out exactly the same as other ASL
   16750 compilers.
   16751 
   16752 Added error messages for incorrectly ordered dependent resource
   16753 functions.  This includes: missing EndDependentFn macro at end of
   16754 dependent resource list, nested dependent function macros (both
   16755 start and end), and missing StartDependentFn macro.  These are
   16756 common errors that should be caught at compile time.
   16757 
   16758 Implemented _OSI support for the disassembler and compiler.  _OSI
   16759 must be included in the namespace for proper disassembly (because
   16760 the disassembler must know the number of arguments.)
   16761 
   16762 Added an "optimization" message type that is optional (off by
   16763 default).  This message is used for all optimizations - including
   16764 constant folding, integer optimization, and namepath optimization.
   16765 
   16766 ----------------------------------------
   16767 25 July 2002.  Summary of changes for this release.
   16768 
   16769 
   16770 1) ACPI CA Core Subsystem Version 20020725:
   16771 
   16772 The AML Disassembler has been enhanced to produce compilable ASL
   16773 code and has been integrated into the iASL compiler (see below) as
   16774 well as the single-step disassembly for the AML debugger and the
   16775 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
   16776 resource templates and macros are fully supported.  The
   16777 disassembler has been tested on over 30 different AML files,
   16778 producing identical AML when the resulting disassembled ASL file
   16779 is recompiled with the same ASL compiler.
   16780 
   16781 Modified the Resource Manager to allow zero interrupts and zero
   16782 dma channels during the GetCurrentResources call.  This was
   16783 causing problems on some platforms.
   16784 
   16785 Added the AcpiOsRedirectOutput interface to the OSL to simplify
   16786 output redirection for the AcpiOsPrintf and AcpiOsVprintf
   16787 interfaces.
   16788 
   16789 Code and Data Size: Current core subsystem library sizes are shown
   16790 below.  These are the code and data sizes for the acpica.lib
   16791 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16792 values do not include any ACPI driver or OSPM code.  The debug
   16793 version of the code includes the debug output trace mechanism and
   16794 has a larger code and data size.  Note that these values will vary
   16795 depending on the efficiency of the compiler and the compiler
   16796 options used during generation.
   16797 
   16798   Previous Release
   16799     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   16800     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   16801   Current Release:
   16802     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   16803     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   16804 
   16805 
   16806 2) Linux
   16807 
   16808 Fixed a panic in the EC driver (Dominik Brodowski)
   16809 
   16810 Implemented checksum of the R/XSDT itself during Linux table scan
   16811 (Richard Schaal)
   16812 
   16813 
   16814 3) iASL compiler
   16815 
   16816 The AML disassembler is integrated into the compiler.  The "-d"
   16817 option invokes the disassembler  to completely disassemble an
   16818 input AML file, producing as output a text ASL file with the
   16819 extension ".dsl" (to avoid name collisions with existing .asl
   16820 source files.)  A future enhancement will allow the disassembler
   16821 to obtain the BIOS DSDT from the registry under Windows.
   16822 
   16823 Fixed a problem with the VendorShort and VendorLong resource
   16824 descriptors where an invalid AML sequence was created.
   16825 
   16826 Implemented a fix for BufferData term in the ASL parser.  It was
   16827 inadvertently defined twice, allowing invalid syntax to pass and
   16828 causing reduction conflicts.
   16829 
   16830 Fixed a problem where the Ones opcode could get converted to a
   16831 value of zero if "Ones" was used where a byte, word or dword value
   16832 was expected.  The 64-bit value is now truncated to the correct
   16833 size with the correct value.
   16834 
   16835 
   16836 
   16837 ----------------------------------------
   16838 02 July 2002.  Summary of changes for this release.
   16839 
   16840 
   16841 1) ACPI CA Core Subsystem Version 20020702:
   16842 
   16843 The Table Manager code has been restructured to add several new
   16844 features.  Tables that are not required by the core subsystem
   16845 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
   16846 validated in any way and are returned from AcpiGetFirmwareTable if
   16847 requested.  The AcpiOsTableOverride interface is now called for
   16848 each table that is loaded by the subsystem in order to allow the
   16849 host to override any table it chooses.  Previously, only the DSDT
   16850 could be overridden.  Added one new files, tbrsdt.c and
   16851 tbgetall.c.
   16852 
   16853 Fixed a problem with the conversion of internal package objects to
   16854 external objects (when a package is returned from a control
   16855 method.)  The return buffer length was set to zero instead of the
   16856 proper length of the package object.
   16857 
   16858 Fixed a reported problem with the use of the RefOf and DeRefOf
   16859 operators when passing reference arguments to control methods.  A
   16860 new type of Reference object is used internally for references
   16861 produced by the RefOf operator.
   16862 
   16863 Added additional error messages in the Resource Manager to explain
   16864 AE_BAD_DATA errors when they occur during resource parsing.
   16865 
   16866 Split the AcpiEnableSubsystem into two primitives to enable a
   16867 finer granularity initialization sequence.  These two calls should
   16868 be called in this order: AcpiEnableSubsystem (flags),
   16869 AcpiInitializeObjects (flags).  The flags parameter remains the
   16870 same.
   16871 
   16872 
   16873 2) Linux
   16874 
   16875 Updated the ACPI utilities module to understand the new style of
   16876 fully resolved package objects that are now returned from the core
   16877 subsystem.  This eliminates errors of the form:
   16878 
   16879     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
   16880     acpi_utils-0430 [145] acpi_evaluate_reference:
   16881         Invalid element in package (not a device reference)
   16882 
   16883 The method evaluation utility uses the new buffer allocation
   16884 scheme instead of calling AcpiEvaluate Object twice.
   16885 
   16886 Added support for ECDT. This allows the use of the Embedded
   16887 
   16888 Controller before the namespace has been fully initialized, which
   16889 is necessary for ACPI 2.0 support, and for some laptops to
   16890 initialize properly. (Laptops using ECDT are still rare, so only
   16891 limited testing was performed of the added functionality.)
   16892 
   16893 Fixed memory leaks in the EC driver.
   16894 
   16895 Eliminated a brittle code structure in acpi_bus_init().
   16896 
   16897 Eliminated the acpi_evaluate() helper function in utils.c. It is
   16898 no longer needed since acpi_evaluate_object can optionally
   16899 allocate memory for the return object.
   16900 
   16901 Implemented fix for keyboard hang when getting battery readings on
   16902 some systems (Stephen White)
   16903 
   16904 PCI IRQ routing update (Dominik Brodowski)
   16905 
   16906 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
   16907 support
   16908 
   16909 ----------------------------------------
   16910 11 June 2002.  Summary of changes for this release.
   16911 
   16912 
   16913 1) ACPI CA Core Subsystem Version 20020611:
   16914 
   16915 Fixed a reported problem where constants such as Zero and One
   16916 appearing within _PRT packages were not handled correctly within
   16917 the resource manager code.  Originally reported against the ASL
   16918 compiler because the code generator now optimizes integers to
   16919 their minimal AML representation (i.e. AML constants if possible.)
   16920 The _PRT code now handles all AML constant opcodes correctly
   16921 (Zero, One, Ones, Revision).
   16922 
   16923 Fixed a problem with the Concatenate operator in the AML
   16924 interpreter where a buffer result object was incorrectly marked as
   16925 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
   16926 
   16927 All package sub-objects are now fully resolved before they are
   16928 returned from the external ACPI interfaces.  This means that name
   16929 strings are resolved to object handles, and constant operators
   16930 (Zero, One, Ones, Revision) are resolved to Integers.
   16931 
   16932 Implemented immediate resolution of the AML Constant opcodes
   16933 (Zero, One, Ones, Revision) to Integer objects upon detection
   16934 within the AML stream. This has simplified and reduced the
   16935 generated code size of the subsystem by eliminating about 10
   16936 switch statements for these constants (which previously were
   16937 contained in Reference objects.)  The complicating issues are that
   16938 the Zero opcode is used as a "placeholder" for unspecified
   16939 optional target operands and stores to constants are defined to be
   16940 no-ops.
   16941 
   16942 Code and Data Size: Current core subsystem library sizes are shown
   16943 below. These are the code and data sizes for the acpica.lib
   16944 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16945 values do not include any ACPI driver or OSPM code.  The debug
   16946 version of the code includes the debug output trace mechanism and
   16947 has a larger code and data size.  Note that these values will vary
   16948 depending on the efficiency of the compiler and the compiler
   16949 options used during generation.
   16950 
   16951   Previous Release
   16952     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   16953     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   16954   Current Release:
   16955     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   16956     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   16957 
   16958 
   16959 2) Linux
   16960 
   16961 
   16962 Added preliminary support for obtaining _TRA data for PCI root
   16963 bridges (Bjorn Helgaas).
   16964 
   16965 
   16966 3) iASL Compiler Version X2046:
   16967 
   16968 Fixed a problem where the "_DDN" reserved name was defined to be a
   16969 control method with one argument.  There are no arguments, and
   16970 _DDN does not have to be a control method.
   16971 
   16972 Fixed a problem with the Linux version of the compiler where the
   16973 source lines printed with error messages were the wrong lines.
   16974 This turned out to be the "LF versus CR/LF" difference between
   16975 Windows and Unix.  This appears to be the longstanding issue
   16976 concerning listing output and error messages.
   16977 
   16978 Fixed a problem with the Linux version of compiler where opcode
   16979 names within error messages were wrong.  This was caused by a
   16980 slight difference in the output of the Flex tool on Linux versus
   16981 Windows.
   16982 
   16983 Fixed a problem with the Linux compiler where the hex output files
   16984 contained some garbage data caused by an internal buffer overrun.
   16985 
   16986 
   16987 ----------------------------------------
   16988 17 May 2002.  Summary of changes for this release.
   16989 
   16990 
   16991 1) ACPI CA Core Subsystem Version 20020517:
   16992 
   16993 Implemented a workaround to an BIOS bug discovered on the HP
   16994 OmniBook where the FADT revision number and the table size are
   16995 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
   16996 behavior is to fallback to using only the ACPI 1.0 fields of the
   16997 FADT if the table is too small to be a ACPI 2.0 table as claimed
   16998 by the revision number.  Although this is a BIOS bug, this is a
   16999 case where the workaround is simple enough and with no side
   17000 effects, so it seemed prudent to add it.  A warning message is
   17001 issued, however.
   17002 
   17003 Implemented minimum size checks for the fixed-length ACPI tables -
   17004 - the FADT and FACS, as well as consistency checks between the
   17005 revision number and the table size.
   17006 
   17007 Fixed a reported problem in the table override support where the
   17008 new table pointer was incorrectly treated as a physical address
   17009 instead of a logical address.
   17010 
   17011 Eliminated the use of the AE_AML_ERROR exception and replaced it
   17012 with more descriptive codes.
   17013 
   17014 Fixed a problem where an exception would occur if an ASL Field was
   17015 defined with no named Field Units underneath it (used by some
   17016 index fields).
   17017 
   17018 Code and Data Size: Current core subsystem library sizes are shown
   17019 below.  These are the code and data sizes for the acpica.lib
   17020 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17021 values do not include any ACPI driver or OSPM code.  The debug
   17022 version of the code includes the debug output trace mechanism and
   17023 has a larger code and data size.  Note that these values will vary
   17024 depending on the efficiency of the compiler and the compiler
   17025 options used during generation.
   17026 
   17027   Previous Release
   17028     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   17029     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   17030   Current Release:
   17031     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   17032     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   17033 
   17034 
   17035 
   17036 2) Linux
   17037 
   17038 Much work done on ACPI init (MADT and PCI IRQ routing support).
   17039 (Paul D. and Dominik Brodowski)
   17040 
   17041 Fix PCI IRQ-related panic on boot (Sam Revitch)
   17042 
   17043 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
   17044 
   17045 Fix "MHz" typo (Dominik Brodowski)
   17046 
   17047 Fix RTC year 2000 issue (Dominik Brodowski)
   17048 
   17049 Preclude multiple button proc entries (Eric Brunet)
   17050 
   17051 Moved arch-specific code out of include/platform/aclinux.h
   17052 
   17053 3) iASL Compiler Version X2044:
   17054 
   17055 Implemented error checking for the string used in the EISAID macro
   17056 (Usually used in the definition of the _HID object.)  The code now
   17057 strictly enforces the PnP format - exactly 7 characters, 3
   17058 uppercase letters and 4 hex digits.
   17059 
   17060 If a raw string is used in the definition of the _HID object
   17061 (instead of the EISAID macro), the string must contain all
   17062 alphanumeric characters (e.g., "*PNP0011" is not allowed because
   17063 of the asterisk.)
   17064 
   17065 Implemented checking for invalid use of ACPI reserved names for
   17066 most of the name creation operators (Name, Device, Event, Mutex,
   17067 OperationRegion, PowerResource, Processor, and ThermalZone.)
   17068 Previously, this check was only performed for control methods.
   17069 
   17070 Implemented an additional check on the Name operator to emit an
   17071 error if a reserved name that must be implemented in ASL as a
   17072 control method is used.  We know that a reserved name must be a
   17073 method if it is defined with input arguments.
   17074 
   17075 The warning emitted when a namespace object reference is not found
   17076 during the cross reference phase has been changed into an error.
   17077 The "External" directive should be used for names defined in other
   17078 modules.
   17079 
   17080 
   17081 4) Tools and Utilities
   17082 
   17083 The 16-bit tools (adump16 and aexec16) have been regenerated and
   17084 tested.
   17085 
   17086 Fixed a problem with the output of both acpidump and adump16 where
   17087 the indentation of closing parentheses and brackets was not
   17088 
   17089 aligned properly with the parent block.
   17090 
   17091 
   17092 ----------------------------------------
   17093 03 May 2002.  Summary of changes for this release.
   17094 
   17095 
   17096 1) ACPI CA Core Subsystem Version 20020503:
   17097 
   17098 Added support a new OSL interface that allows the host operating
   17099 
   17100 system software to override the DSDT found in the firmware -
   17101 AcpiOsTableOverride.  With this interface, the OSL can examine the
   17102 version of the firmware DSDT and replace it with a different one
   17103 if desired.
   17104 
   17105 Added new external interfaces for accessing ACPI registers from
   17106 device drivers and other system software - AcpiGetRegister and
   17107 AcpiSetRegister.  This was simply an externalization of the
   17108 existing AcpiHwBitRegister interfaces.
   17109 
   17110 Fixed a regression introduced in the previous build where the
   17111 ASL/AML CreateField operator always returned an error,
   17112 "destination must be a NS Node".
   17113 
   17114 Extended the maximum time (before failure) to successfully enable
   17115 ACPI mode to 3 seconds.
   17116 
   17117 Code and Data Size: Current core subsystem library sizes are shown
   17118 below.  These are the code and data sizes for the acpica.lib
   17119 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17120 values do not include any ACPI driver or OSPM code.  The debug
   17121 version of the code includes the debug output trace mechanism and
   17122 has a larger code and data size.  Note that these values will vary
   17123 depending on the efficiency of the compiler and the compiler
   17124 options used during generation.
   17125 
   17126   Previous Release
   17127     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   17128     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   17129   Current Release:
   17130     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   17131     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   17132 
   17133 
   17134 2) Linux
   17135 
   17136 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
   17137 free. While 3 out of 4 of our in-house systems work fine, the last
   17138 one still hangs when testing the LAPIC timer.
   17139 
   17140 Renamed many files in 2.5 kernel release to omit "acpi_" from the
   17141 name.
   17142 
   17143 Added warning on boot for Presario 711FR.
   17144 
   17145 Sleep improvements (Pavel Machek)
   17146 
   17147 ACPI can now be built without CONFIG_PCI enabled.
   17148 
   17149 IA64: Fixed memory map functions (JI Lee)
   17150 
   17151 
   17152 3) iASL Compiler Version X2043:
   17153 
   17154 Added support to allow the compiler to be integrated into the MS
   17155 VC++ development environment for one-button compilation of single
   17156 files or entire projects -- with error-to-source-line mapping.
   17157 
   17158 Implemented support for compile-time constant folding for the
   17159 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
   17160 specification.  This allows the ASL writer to use expressions
   17161 instead of Integer/Buffer/String constants in terms that must
   17162 evaluate to constants at compile time and will also simplify the
   17163 emitted AML in any such sub-expressions that can be folded
   17164 (evaluated at compile-time.)  This increases the size of the
   17165 compiler significantly because a portion of the ACPI CA AML
   17166 interpreter is included within the compiler in order to pre-
   17167 evaluate constant expressions.
   17168 
   17169 
   17170 Fixed a problem with the "Unicode" ASL macro that caused the
   17171 compiler to fault.  (This macro is used in conjunction with the
   17172 _STR reserved name.)
   17173 
   17174 Implemented an AML opcode optimization to use the Zero, One, and
   17175 Ones opcodes where possible to further reduce the size of integer
   17176 constants and thus reduce the overall size of the generated AML
   17177 code.
   17178 
   17179 Implemented error checking for new reserved terms for ACPI version
   17180 2.0A.
   17181 
   17182 Implemented the -qr option to display the current list of ACPI
   17183 reserved names known to the compiler.
   17184 
   17185 Implemented the -qc option to display the current list of ASL
   17186 operators that are allowed within constant expressions and can
   17187 therefore be folded at compile time if the operands are constants.
   17188 
   17189 
   17190 4) Documentation
   17191 
   17192 Updated the Programmer's Reference for new interfaces, data types,
   17193 and memory allocation model options.
   17194 
   17195 Updated the iASL Compiler User Reference to apply new format and
   17196 add information about new features and options.
   17197 
   17198 ----------------------------------------
   17199 19 April 2002.  Summary of changes for this release.
   17200 
   17201 1) ACPI CA Core Subsystem Version 20020419:
   17202 
   17203 The source code base for the Core Subsystem has been completely
   17204 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
   17205 versions.  The Lint option files used are included in the
   17206 /acpi/generate/lint directory.
   17207 
   17208 Implemented enhanced status/error checking across the entire
   17209 Hardware manager subsystem.  Any hardware errors (reported from
   17210 the OSL) are now bubbled up and will abort a running control
   17211 method.
   17212 
   17213 
   17214 Fixed a problem where the per-ACPI-table integer width (32 or 64)
   17215 was stored only with control method nodes, causing a fault when
   17216 non-control method code was executed during table loading.  The
   17217 solution implemented uses a global variable to indicate table
   17218 width across the entire ACPI subsystem.  Therefore, ACPI CA does
   17219 not support mixed integer widths across different ACPI tables
   17220 (DSDT, SSDT).
   17221 
   17222 Fixed a problem where NULL extended fields (X fields) in an ACPI
   17223 2.0 ACPI FADT caused the table load to fail.  Although the
   17224 existing ACPI specification is a bit fuzzy on this topic, the new
   17225 behavior is to fall back on a ACPI 1.0 field if the corresponding
   17226 ACPI 2.0 X field is zero (even though the table revision indicates
   17227 a full ACPI 2.0 table.)  The ACPI specification will be updated to
   17228 clarify this issue.
   17229 
   17230 Fixed a problem with the SystemMemory operation region handler
   17231 where memory was always accessed byte-wise even if the AML-
   17232 specified access width was larger than a byte.  This caused
   17233 problems on systems with memory-mapped I/O.  Memory is now
   17234 accessed with the width specified.  On systems that do not support
   17235 non-aligned transfers, a check is made to guarantee proper address
   17236 alignment before proceeding in order to avoid an AML-caused
   17237 alignment fault within the kernel.
   17238 
   17239 
   17240 Fixed a problem with the ExtendedIrq resource where only one byte
   17241 of the 4-byte Irq field was extracted.
   17242 
   17243 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
   17244 function was out of date and required a rewrite.
   17245 
   17246 Code and Data Size: Current core subsystem library sizes are shown
   17247 below.  These are the code and data sizes for the acpica.lib
   17248 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17249 values do not include any ACPI driver or OSPM code.  The debug
   17250 version of the code includes the debug output trace mechanism and
   17251 has a larger code and data size.  Note that these values will vary
   17252 depending on the efficiency of the compiler and the compiler
   17253 options used during generation.
   17254 
   17255   Previous Release
   17256     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   17257     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   17258   Current Release:
   17259     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   17260     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   17261 
   17262 
   17263 2) Linux
   17264 
   17265 PCI IRQ routing fixes (Dominik Brodowski)
   17266 
   17267 
   17268 3) iASL Compiler Version X2042:
   17269 
   17270 Implemented an additional compile-time error check for a field
   17271 unit whose size + minimum access width would cause a run-time
   17272 access beyond the end-of-region.  Previously, only the field size
   17273 itself was checked.
   17274 
   17275 The Core subsystem and iASL compiler now share a common parse
   17276 object in preparation for compile-time evaluation of the type
   17277 3/4/5 ASL operators.
   17278 
   17279 
   17280 ----------------------------------------
   17281 Summary of changes for this release: 03_29_02
   17282 
   17283 1) ACPI CA Core Subsystem Version 20020329:
   17284 
   17285 Implemented support for late evaluation of TermArg operands to
   17286 Buffer and Package objects.  This allows complex expressions to be
   17287 used in the declarations of these object types.
   17288 
   17289 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
   17290 1.0, if the field was larger than 32 bits, it was returned as a
   17291 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
   17292 the field is returned as a buffer only if the field is larger than
   17293 64 bits.  The TableRevision is now considered when making this
   17294 conversion to avoid incompatibility with existing ASL code.
   17295 
   17296 Implemented logical addressing for AcpiOsGetRootPointer.  This
   17297 allows an RSDP with either a logical or physical address.  With
   17298 this support, the host OS can now override all ACPI tables with
   17299 one logical RSDP.  Includes implementation of  "typed" pointer
   17300 support to allow a common data type for both physical and logical
   17301 pointers internally.  This required a change to the
   17302 AcpiOsGetRootPointer interface.
   17303 
   17304 Implemented the use of ACPI 2.0 Generic Address Structures for all
   17305 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
   17306 mapped I/O for these ACPI features.
   17307 
   17308 Initialization now ignores not only non-required tables (All
   17309 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
   17310 not validate the table headers of unrecognized tables.
   17311 
   17312 Fixed a problem where a notify handler could only be
   17313 installed/removed on an object of type Device.  All "notify"
   17314 
   17315 objects are now supported -- Devices, Processor, Power, and
   17316 Thermal.
   17317 
   17318 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
   17319 critical information is returned when this debug level is enabled.
   17320 
   17321 Code and Data Size: Current core subsystem library sizes are shown
   17322 below.  These are the code and data sizes for the acpica.lib
   17323 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17324 values do not include any ACPI driver or OSPM code.  The debug
   17325 version of the code includes the debug output trace mechanism and
   17326 has a larger code and data size.  Note that these values will vary
   17327 depending on the efficiency of the compiler and the compiler
   17328 options used during generation.
   17329 
   17330   Previous Release
   17331     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   17332     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   17333   Current Release:
   17334     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   17335     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   17336 
   17337 
   17338 2) Linux:
   17339 
   17340 The processor driver (acpi_processor.c) now fully supports ACPI
   17341 2.0-based processor performance control (e.g. Intel(R)
   17342 SpeedStep(TM) technology) Note that older laptops that only have
   17343 the Intel "applet" interface are not supported through this.  The
   17344 'limit' and 'performance' interface (/proc) are fully functional.
   17345 [Note that basic policy for controlling performance state
   17346 transitions will be included in the next version of ospmd.]  The
   17347 idle handler was modified to more aggressively use C2, and PIIX4
   17348 errata handling underwent a complete overhaul (big thanks to
   17349 Dominik Brodowski).
   17350 
   17351 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
   17352 based devices in the ACPI namespace are now dynamically bound
   17353 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
   17354 This allows, among other things, ACPI to resolve bus numbers for
   17355 subordinate PCI bridges.
   17356 
   17357 Enhanced PCI IRQ routing to get the proper bus number for _PRT
   17358 entries defined underneath PCI bridges.
   17359 
   17360 Added IBM 600E to bad bios list due to invalid _ADR value for
   17361 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
   17362 
   17363 In the process of adding full MADT support (e.g. IOAPIC) for IA32
   17364 (acpi.c, mpparse.c) -- stay tuned.
   17365 
   17366 Added back visual differentiation between fixed-feature and
   17367 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
   17368 button/power/PWRF) to simplify button identification.
   17369 
   17370 We no longer use -Wno-unused when compiling debug. Please ignore
   17371 any "_THIS_MODULE defined but not used" messages.
   17372 
   17373 Can now shut down the system using "magic sysrq" key.
   17374 
   17375 
   17376 3) iASL Compiler version 2041:
   17377 
   17378 Fixed a problem where conversion errors for hex/octal/decimal
   17379 constants were not reported.
   17380 
   17381 Implemented a fix for the General Register template Address field.
   17382 This field was 8 bits when it should be 64.
   17383 
   17384 Fixed a problem where errors/warnings were no longer being emitted
   17385 within the listing output file.
   17386 
   17387 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
   17388 exactly 4 characters, alphanumeric only.
   17389 
   17390 
   17391 
   17392 
   17393 ----------------------------------------
   17394 Summary of changes for this release: 03_08_02
   17395 
   17396 
   17397 1) ACPI CA Core Subsystem Version 20020308:
   17398 
   17399 Fixed a problem with AML Fields where the use of the "AccessAny"
   17400 keyword could cause an interpreter error due to attempting to read
   17401 or write beyond the end of the parent Operation Region.
   17402 
   17403 Fixed a problem in the SystemMemory Operation Region handler where
   17404 an attempt was made to map memory beyond the end of the region.
   17405 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
   17406 errors on some Linux systems.
   17407 
   17408 Fixed a problem where the interpreter/namespace "search to root"
   17409 algorithm was not functioning for some object types.  Relaxed the
   17410 internal restriction on the search to allow upsearches for all
   17411 external object types as well as most internal types.
   17412 
   17413 
   17414 2) Linux:
   17415 
   17416 We now use safe_halt() macro versus individual calls to sti | hlt.
   17417 
   17418 Writing to the processor limit interface should now work. "echo 1"
   17419 will increase the limit, 2 will decrease, and 0 will reset to the
   17420 
   17421 default.
   17422 
   17423 
   17424 3) ASL compiler:
   17425 
   17426 Fixed segfault on Linux version.
   17427 
   17428 
   17429 ----------------------------------------
   17430 Summary of changes for this release: 02_25_02
   17431 
   17432 1) ACPI CA Core Subsystem:
   17433 
   17434 
   17435 Fixed a problem where the GPE bit masks were not initialized
   17436 properly, causing erratic GPE behavior.
   17437 
   17438 Implemented limited support for multiple calling conventions.  The
   17439 code can be generated with either the VPL (variable parameter
   17440 list, or "C") convention, or the FPL (fixed parameter list, or
   17441 "Pascal") convention.  The core subsystem is about 3.4% smaller
   17442 when generated with FPL.
   17443 
   17444 
   17445 2) Linux
   17446 
   17447 Re-add some /proc/acpi/event functionality that was lost during
   17448 the rewrite
   17449 
   17450 Resolved issue with /proc events for fixed-feature buttons showing
   17451 up as the system device.
   17452 
   17453 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
   17454 
   17455 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
   17456 
   17457 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
   17458 
   17459 Fixed limit interface & usage to fix bugs with passive cooling
   17460 hysterisis.
   17461 
   17462 Restructured PRT support.
   17463 
   17464 
   17465 ----------------------------------------
   17466 Summary of changes for this label: 02_14_02
   17467 
   17468 
   17469 1) ACPI CA Core Subsystem:
   17470 
   17471 Implemented support in AcpiLoadTable to allow loading of FACS and
   17472 FADT tables.
   17473 
   17474 Support for the now-obsolete interim 0.71 64-bit ACPI tables has
   17475 been removed.  All 64-bit platforms should be migrated to the ACPI
   17476 2.0 tables.  The actbl71.h header has been removed from the source
   17477 tree.
   17478 
   17479 All C macros defined within the subsystem have been prefixed with
   17480 "ACPI_" to avoid collision with other system include files.
   17481 
   17482 Removed the return value for the two AcpiOsPrint interfaces, since
   17483 it is never used and causes lint warnings for ignoring the return
   17484 value.
   17485 
   17486 Added error checking to all internal mutex acquire and release
   17487 calls.  Although a failure from one of these interfaces is
   17488 probably a fatal system error, these checks will cause the
   17489 immediate abort of the currently executing method or interface.
   17490 
   17491 Fixed a problem where the AcpiSetCurrentResources interface could
   17492 fault.  This was a side effect of the deployment of the new memory
   17493 allocation model.
   17494 
   17495 Fixed a couple of problems with the Global Lock support introduced
   17496 in the last major build.  The "common" (1.0/2.0) internal FACS was
   17497 being overwritten with the FACS signature and clobbering the
   17498 Global Lock pointer.  Also, the actual firmware FACS was being
   17499 unmapped after construction of the "common" FACS, preventing
   17500 access to the actual Global Lock field within it.  The "common"
   17501 internal FACS is no longer installed as an actual ACPI table; it
   17502 is used simply as a global.
   17503 
   17504 Code and Data Size: Current core subsystem library sizes are shown
   17505 below.  These are the code and data sizes for the acpica.lib
   17506 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17507 values do not include any ACPI driver or OSPM code.  The debug
   17508 version of the code includes the debug output trace mechanism and
   17509 has a larger code and data size.  Note that these values will vary
   17510 depending on the efficiency of the compiler and the compiler
   17511 options used during generation.
   17512 
   17513   Previous Release (02_07_01)
   17514     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   17515     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   17516   Current Release:
   17517     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   17518     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   17519 
   17520 
   17521 2) Linux
   17522 
   17523 Updated Linux-specific code for core macro and OSL interface
   17524 changes described above.
   17525 
   17526 Improved /proc/acpi/event. It now can be opened only once and has
   17527 proper poll functionality.
   17528 
   17529 Fixed and restructured power management (acpi_bus).
   17530 
   17531 Only create /proc "view by type" when devices of that class exist.
   17532 
   17533 Fixed "charging/discharging" bug (and others) in acpi_battery.
   17534 
   17535 Improved thermal zone code.
   17536 
   17537 
   17538 3) ASL Compiler, version X2039:
   17539 
   17540 
   17541 Implemented the new compiler restriction on ASL String hex/octal
   17542 escapes to non-null, ASCII values.  An error results if an invalid
   17543 value is used.  (This will require an ACPI 2.0 specification
   17544 change.)
   17545 
   17546 AML object labels that are output to the optional C and ASM source
   17547 are now prefixed with both the ACPI table signature and table ID
   17548 to help guarantee uniqueness within a large BIOS project.
   17549 
   17550 
   17551 ----------------------------------------
   17552 Summary of changes for this label: 02_01_02
   17553 
   17554 1) ACPI CA Core Subsystem:
   17555 
   17556 ACPI 2.0 support is complete in the entire Core Subsystem and the
   17557 ASL compiler. All new ACPI 2.0 operators are implemented and all
   17558 other changes for ACPI 2.0 support are complete.  With
   17559 simultaneous code and data optimizations throughout the subsystem,
   17560 ACPI 2.0 support has been implemented with almost no additional
   17561 cost in terms of code and data size.
   17562 
   17563 Implemented a new mechanism for allocation of return buffers.  If
   17564 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
   17565 be allocated on behalf of the caller.  Consolidated all return
   17566 buffer validation and allocation to a common procedure.  Return
   17567 buffers will be allocated via the primary OSL allocation interface
   17568 since it appears that a separate pool is not needed by most users.
   17569 If a separate pool is required for these buffers, the caller can
   17570 still use the original mechanism and pre-allocate the buffer(s).
   17571 
   17572 Implemented support for string operands within the DerefOf
   17573 operator.
   17574 
   17575 Restructured the Hardware and Event managers to be table driven,
   17576 simplifying the source code and reducing the amount of generated
   17577 code.
   17578 
   17579 Split the common read/write low-level ACPI register bitfield
   17580 procedure into a separate read and write, simplifying the code
   17581 considerably.
   17582 
   17583 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
   17584 used only a handful of times and didn't have enough critical mass
   17585 for a separate interface.  Replaced with a common calloc procedure
   17586 in the core.
   17587 
   17588 Fixed a reported problem with the GPE number mapping mechanism
   17589 that allows GPE1 numbers to be non-contiguous with GPE0.
   17590 Reorganized the GPE information and shrunk a large array that was
   17591 originally large enough to hold info for all possible GPEs (256)
   17592 to simply large enough to hold all GPEs up to the largest GPE
   17593 number on the machine.
   17594 
   17595 Fixed a reported problem with resource structure alignment on 64-
   17596 bit platforms.
   17597 
   17598 Changed the AcpiEnableEvent and AcpiDisableEvent external
   17599 interfaces to not require any flags for the common case of
   17600 enabling/disabling a GPE.
   17601 
   17602 Implemented support to allow a "Notify" on a Processor object.
   17603 
   17604 Most TBDs in comments within the source code have been resolved
   17605 and eliminated.
   17606 
   17607 
   17608 Fixed a problem in the interpreter where a standalone parent
   17609 prefix (^) was not handled correctly in the interpreter and
   17610 debugger.
   17611 
   17612 Removed obsolete and unnecessary GPE save/restore code.
   17613 
   17614 Implemented Field support in the ASL Load operator.  This allows a
   17615 table to be loaded from a named field, in addition to loading a
   17616 table directly from an Operation Region.
   17617 
   17618 Implemented timeout and handle support in the external Global Lock
   17619 interfaces.
   17620 
   17621 Fixed a problem in the AcpiDump utility where pathnames were no
   17622 longer being generated correctly during the dump of named objects.
   17623 
   17624 Modified the AML debugger to give a full display of if/while
   17625 predicates instead of just one AML opcode at a time.  (The
   17626 predicate can have several nested ASL statements.)  The old method
   17627 was confusing during single stepping.
   17628 
   17629 Code and Data Size: Current core subsystem library sizes are shown
   17630 below. These are the code and data sizes for the acpica.lib
   17631 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17632 values do not include any ACPI driver or OSPM code.  The debug
   17633 version of the code includes the debug output trace mechanism and
   17634 has a larger code and data size.  Note that these values will vary
   17635 depending on the efficiency of the compiler and the compiler
   17636 options used during generation.
   17637 
   17638   Previous Release (12_18_01)
   17639      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   17640      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   17641    Current Release:
   17642      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   17643      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   17644 
   17645 2) Linux
   17646 
   17647  Implemented fix for PIIX reverse throttling errata (Processor
   17648 driver)
   17649 
   17650 Added new Limit interface (Processor and Thermal drivers)
   17651 
   17652 New thermal policy (Thermal driver)
   17653 
   17654 Many updates to /proc
   17655 
   17656 Battery "low" event support (Battery driver)
   17657 
   17658 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
   17659 
   17660 IA32 - IA64 initialization unification, no longer experimental
   17661 
   17662 Menuconfig options redesigned
   17663 
   17664 3) ASL Compiler, version X2037:
   17665 
   17666 Implemented several new output features to simplify integration of
   17667 AML code into  firmware: 1) Output the AML in C source code with
   17668 labels for each named ASL object.  The    original ASL source code
   17669 is interleaved as C comments. 2) Output the AML in ASM source code
   17670 with labels and interleaved ASL    source. 3) Output the AML in
   17671 raw hex table form, in either C or ASM.
   17672 
   17673 Implemented support for optional string parameters to the
   17674 LoadTable operator.
   17675 
   17676 Completed support for embedded escape sequences within string
   17677 literals.  The compiler now supports all single character escapes
   17678 as well as the Octal and Hex escapes.  Note: the insertion of a
   17679 null byte into a string literal (via the hex/octal escape) causes
   17680 the string to be immediately terminated.  A warning is issued.
   17681 
   17682 Fixed a problem where incorrect AML was generated for the case
   17683 where an ASL namepath consists of a single parent prefix (
   17684 
   17685 ) with no trailing name segments.
   17686 
   17687 The compiler has been successfully generated with a 64-bit C
   17688 compiler.
   17689 
   17690 
   17691 
   17692 
   17693 ----------------------------------------
   17694 Summary of changes for this label: 12_18_01
   17695 
   17696 1) Linux
   17697 
   17698 Enhanced blacklist with reason and severity fields. Any table's
   17699 signature may now be used to identify a blacklisted system.
   17700 
   17701 Call _PIC control method to inform the firmware which interrupt
   17702 model the OS is using. Turn on any disabled link devices.
   17703 
   17704 Cleaned up busmgr /proc error handling (Andreas Dilger)
   17705 
   17706  2) ACPI CA Core Subsystem:
   17707 
   17708 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
   17709 while loop)
   17710 
   17711 Completed implementation of the ACPI 2.0 "Continue",
   17712 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
   17713 operators.  All new ACPI 2.0 operators are now implemented in both
   17714 the ASL compiler and the AML interpreter.  The only remaining ACPI
   17715 2.0 task is support for the String data type in the DerefOf
   17716 operator.  Fixed a problem with AcquireMutex where the status code
   17717 was lost if the caller had to actually wait for the mutex.
   17718 
   17719 Increased the maximum ASL Field size from 64K bits to 4G bits.
   17720 
   17721 Completed implementation of the external Global Lock interfaces --
   17722 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
   17723 Handler parameters were added.
   17724 
   17725 Completed another pass at removing warnings and issues when
   17726 compiling with 64-bit compilers.  The code now compiles cleanly
   17727 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
   17728 add and subtract (diff) macros have changed considerably.
   17729 
   17730 
   17731 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
   17732 64-bit platforms, 32-bits on all others.  This type is used
   17733 wherever memory allocation and/or the C sizeof() operator is used,
   17734 and affects the OSL memory allocation interfaces AcpiOsAllocate
   17735 and AcpiOsCallocate.
   17736 
   17737 Implemented sticky user breakpoints in the AML debugger.
   17738 
   17739 Code and Data Size: Current core subsystem library sizes are shown
   17740 below. These are the code and data sizes for the acpica.lib
   17741 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17742 values do not include any ACPI driver or OSPM code.  The debug
   17743 version of the code includes the debug output trace mechanism and
   17744 has a larger code and data size. Note that these values will vary
   17745 depending on the efficiency of the compiler and the compiler
   17746 options used during generation.
   17747 
   17748   Previous Release (12_05_01)
   17749      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   17750      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   17751    Current Release:
   17752      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   17753      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   17754 
   17755  3) ASL Compiler, version X2034:
   17756 
   17757 Now checks for (and generates an error if detected) the use of a
   17758 Break or Continue statement without an enclosing While statement.
   17759 
   17760 
   17761 Successfully generated the compiler with the Intel 64-bit C
   17762 compiler.
   17763 
   17764  ----------------------------------------
   17765 Summary of changes for this label: 12_05_01
   17766 
   17767  1) ACPI CA Core Subsystem:
   17768 
   17769 The ACPI 2.0 CopyObject operator is fully implemented.  This
   17770 operator creates a new copy of an object (and is also used to
   17771 bypass the "implicit conversion" mechanism of the Store operator.)
   17772 
   17773 The ACPI 2.0 semantics for the SizeOf operator are fully
   17774 implemented.  The change is that performing a SizeOf on a
   17775 reference object causes an automatic dereference of the object to
   17776 the actual value before the size is evaluated. This behavior was
   17777 undefined in ACPI 1.0.
   17778 
   17779 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
   17780 have been implemented.  The interrupt polarity and mode are now
   17781 independently set.
   17782 
   17783 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
   17784 appearing in Package objects were not properly converted to
   17785 integers when the internal Package was converted to an external
   17786 object (via the AcpiEvaluateObject interface.)
   17787 
   17788 Fixed a problem with the namespace object deletion mechanism for
   17789 objects created by control methods.  There were two parts to this
   17790 problem: 1) Objects created during the initialization phase method
   17791 parse were not being deleted, and 2) The object owner ID mechanism
   17792 to track objects was broken.
   17793 
   17794 Fixed a problem where the use of the ASL Scope operator within a
   17795 control method would result in an invalid opcode exception.
   17796 
   17797 Fixed a problem introduced in the previous label where the buffer
   17798 length required for the _PRT structure was not being returned
   17799 correctly.
   17800 
   17801 Code and Data Size: Current core subsystem library sizes are shown
   17802 below. These are the code and data sizes for the acpica.lib
   17803 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17804 values do not include any ACPI driver or OSPM code.  The debug
   17805 version of the code includes the debug output trace mechanism and
   17806 has a larger code and data size.  Note that these values will vary
   17807 depending on the efficiency of the compiler and the compiler
   17808 options used during generation.
   17809 
   17810   Previous Release (11_20_01)
   17811      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   17812      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   17813 
   17814   Current Release:
   17815      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   17816      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   17817 
   17818  2) Linux:
   17819 
   17820 Updated all files to apply cleanly against 2.4.16.
   17821 
   17822 Added basic PCI Interrupt Routing Table (PRT) support for IA32
   17823 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
   17824 version supports both static and dynamic PRT entries, but dynamic
   17825 entries are treated as if they were static (not yet
   17826 reconfigurable).  Architecture- specific code to use this data is
   17827 absent on IA32 but should be available shortly.
   17828 
   17829 Changed the initialization sequence to start the ACPI interpreter
   17830 (acpi_init) prior to initialization of the PCI driver (pci_init)
   17831 in init/main.c.  This ordering is required to support PRT and
   17832 facilitate other (future) enhancement.  A side effect is that the
   17833 ACPI bus driver and certain device drivers can no longer be loaded
   17834 as modules.
   17835 
   17836 Modified the 'make menuconfig' options to allow PCI Interrupt
   17837 Routing support to be included without the ACPI Bus and other
   17838 device drivers.
   17839 
   17840  3) ASL Compiler, version X2033:
   17841 
   17842 Fixed some issues with the use of the new CopyObject and
   17843 DataTableRegion operators.  Both are fully functional.
   17844 
   17845  ----------------------------------------
   17846 Summary of changes for this label: 11_20_01
   17847 
   17848  20 November 2001.  Summary of changes for this release.
   17849 
   17850  1) ACPI CA Core Subsystem:
   17851 
   17852 Updated Index support to match ACPI 2.0 semantics.  Storing a
   17853 Integer, String, or Buffer to an Index of a Buffer will store only
   17854 the least-significant byte of the source to the Indexed buffer
   17855 byte.  Multiple writes are not performed.
   17856 
   17857 Fixed a problem where the access type used in an AccessAs ASL
   17858 operator was not recorded correctly into the field object.
   17859 
   17860 Fixed a problem where ASL Event objects were created in a
   17861 signalled state. Events are now created in an unsignalled state.
   17862 
   17863 The internal object cache is now purged after table loading and
   17864 initialization to reduce the use of dynamic kernel memory -- on
   17865 the assumption that object use is greatest during the parse phase
   17866 of the entire table (versus the run-time use of individual control
   17867 methods.)
   17868 
   17869 ACPI 2.0 variable-length packages are now fully operational.
   17870 
   17871 Code and Data Size: Code and Data optimizations have permitted new
   17872 feature development with an actual reduction in the library size.
   17873 Current core subsystem library sizes are shown below.  These are
   17874 the code and data sizes for the acpica.lib produced by the
   17875 Microsoft Visual C++ 6.0 compiler, and these values do not include
   17876 any ACPI driver or OSPM code.  The debug version of the code
   17877 includes the debug output trace mechanism and has a larger code
   17878 and data size.  Note that these values will vary depending on the
   17879 efficiency of the compiler and the compiler options used during
   17880 generation.
   17881 
   17882   Previous Release (11_09_01):
   17883      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   17884      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   17885 
   17886   Current Release:
   17887      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   17888      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   17889 
   17890  2) Linux:
   17891 
   17892 Enhanced the ACPI boot-time initialization code to allow the use
   17893 of Local APIC tables for processor enumeration on IA-32, and to
   17894 pave the way for a fully MPS-free boot (on SMP systems) in the
   17895 near future.  This functionality replaces
   17896 arch/i386/kernel/acpitables.c, which was introduced in an earlier
   17897 2.4.15-preX release.  To enable this feature you must add
   17898 "acpi_boot=on" to the kernel command line -- see the help entry
   17899 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
   17900 the works...
   17901 
   17902 Restructured the configuration options to allow boot-time table
   17903 parsing support without inclusion of the ACPI Interpreter (and
   17904 other) code.
   17905 
   17906 NOTE: This release does not include fixes for the reported events,
   17907 power-down, and thermal passive cooling issues (coming soon).
   17908 
   17909  3) ASL Compiler:
   17910 
   17911 Added additional typechecking for Fields within restricted access
   17912 Operation Regions.  All fields within EC and CMOS regions must be
   17913 declared with ByteAcc. All fields within SMBus regions must be
   17914 declared with the BufferAcc access type.
   17915 
   17916 Fixed a problem where the listing file output of control methods
   17917 no longer interleaved the actual AML code with the ASL source
   17918 code.
   17919 
   17920 
   17921 
   17922 
   17923 ----------------------------------------
   17924 Summary of changes for this label: 11_09_01
   17925 
   17926 1) ACPI CA Core Subsystem:
   17927 
   17928 Implemented ACPI 2.0-defined support for writes to fields with a
   17929 Buffer, String, or Integer source operand that is smaller than the
   17930 target field. In these cases, the source operand is zero-extended
   17931 to fill the target field.
   17932 
   17933 Fixed a problem where a Field starting bit offset (within the
   17934 parent operation region) was calculated incorrectly if the
   17935 
   17936 alignment of the field differed from the access width.  This
   17937 affected CreateWordField, CreateDwordField, CreateQwordField, and
   17938 possibly other fields that use the "AccessAny" keyword.
   17939 
   17940 Fixed a problem introduced in the 11_02_01 release where indirect
   17941 stores through method arguments did not operate correctly.
   17942 
   17943 2) Linux:
   17944 
   17945 Implemented boot-time ACPI table parsing support
   17946 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
   17947 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
   17948 legacy BIOS interfaces (e.g. MPS) for the configuration of system
   17949 processors, memory, and interrupts during setup_arch().  Note that
   17950 this patch does not include the required architecture-specific
   17951 changes required to apply this information -- subsequent patches
   17952 will be posted for both IA32 and IA64 to achieve this.
   17953 
   17954 Added low-level sleep support for IA32 platforms, courtesy of Pat
   17955 Mochel. This allows IA32 systems to transition to/from various
   17956 sleeping states (e.g. S1, S3), although the lack of a centralized
   17957 driver model and power-manageable drivers will prevent its
   17958 (successful) use on most systems.
   17959 
   17960 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
   17961 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
   17962 tables" option, etc.
   17963 
   17964 Increased the default timeout for the EC driver from 1ms to 10ms
   17965 (1000 cycles of 10us) to try to address AE_TIME errors during EC
   17966 transactions.
   17967 
   17968  ----------------------------------------
   17969 Summary of changes for this label: 11_02_01
   17970 
   17971 1) ACPI CA Core Subsystem:
   17972 
   17973 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
   17974 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
   17975 implemented.
   17976 
   17977 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
   17978 changes to support ACPI 2.0 Qword field access.  Read/Write
   17979 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
   17980 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
   17981 the value parameter for the address space handler interface is now
   17982 an ACPI_INTEGER.  OSL implementations of these interfaces must now
   17983 handle the case where the Width parameter is 64.
   17984 
   17985 Index Fields: Fixed a problem where unaligned bit assembly and
   17986 disassembly for IndexFields was not supported correctly.
   17987 
   17988 Index and Bank Fields:  Nested Index and Bank Fields are now
   17989 supported. During field access, a check is performed to ensure
   17990 that the value written to an Index or Bank register is not out of
   17991 the range of the register.  The Index (or Bank) register is
   17992 written before each access to the field data. Future support will
   17993 include allowing individual IndexFields to be wider than the
   17994 DataRegister width.
   17995 
   17996 Fields: Fixed a problem where the AML interpreter was incorrectly
   17997 attempting to write beyond the end of a Field/OpRegion.  This was
   17998 a boundary case that occurred when a DWORD field was written to a
   17999 BYTE access OpRegion, forcing multiple writes and causing the
   18000 interpreter to write one datum too many.
   18001 
   18002 Fields: Fixed a problem with Field/OpRegion access where the
   18003 starting bit address of a field was incorrectly calculated if the
   18004 current access type was wider than a byte (WordAcc, DwordAcc, or
   18005 QwordAcc).
   18006 
   18007 Fields: Fixed a problem where forward references to individual
   18008 FieldUnits (individual Field names within a Field definition) were
   18009 not resolved during the AML table load.
   18010 
   18011 Fields: Fixed a problem where forward references from a Field
   18012 definition to the parent Operation Region definition were not
   18013 resolved during the AML table load.
   18014 
   18015 Fields: Duplicate FieldUnit names within a scope are now detected
   18016 during AML table load.
   18017 
   18018 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
   18019 returned an incorrect name for the root node.
   18020 
   18021 Code and Data Size: Code and Data optimizations have permitted new
   18022 feature development with an actual reduction in the library size.
   18023 Current core subsystem library sizes are shown below.  These are
   18024 the code and data sizes for the acpica.lib produced by the
   18025 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18026 any ACPI driver or OSPM code.  The debug version of the code
   18027 includes the debug output trace mechanism and has a larger code
   18028 and data size.  Note that these values will vary depending on the
   18029 efficiency of the compiler and the compiler options used during
   18030 generation.
   18031 
   18032   Previous Release (10_18_01):
   18033      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   18034      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   18035 
   18036   Current Release:
   18037      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   18038      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   18039 
   18040  2) Linux:
   18041 
   18042 Improved /proc processor output (Pavel Machek) Re-added
   18043 MODULE_LICENSE("GPL") to all modules.
   18044 
   18045  3) ASL Compiler version X2030:
   18046 
   18047 Duplicate FieldUnit names within a scope are now detected and
   18048 flagged as errors.
   18049 
   18050  4) Documentation:
   18051 
   18052 Programmer Reference updated to reflect OSL and address space
   18053 handler interface changes described above.
   18054 
   18055 ----------------------------------------
   18056 Summary of changes for this label: 10_18_01
   18057 
   18058 ACPI CA Core Subsystem:
   18059 
   18060 Fixed a problem with the internal object reference count mechanism
   18061 that occasionally caused premature object deletion. This resolves
   18062 all of the outstanding problem reports where an object is deleted
   18063 in the middle of an interpreter evaluation.  Although this problem
   18064 only showed up in rather obscure cases, the solution to the
   18065 problem involved an adjustment of all reference counts involving
   18066 objects attached to namespace nodes.
   18067 
   18068 Fixed a problem with Field support in the interpreter where
   18069 writing to an aligned field whose length is an exact multiple (2
   18070 or greater) of the field access granularity would cause an attempt
   18071 to write beyond the end of the field.
   18072 
   18073 The top level AML opcode execution functions within the
   18074 interpreter have been renamed with a more meaningful and
   18075 consistent naming convention.  The modules exmonad.c and
   18076 exdyadic.c were eliminated.  New modules are exoparg1.c,
   18077 exoparg2.c, exoparg3.c, and exoparg6.c.
   18078 
   18079 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
   18080 
   18081 Fixed a problem where the AML debugger was causing some internal
   18082 objects to not be deleted during subsystem termination.
   18083 
   18084 Fixed a problem with the external AcpiEvaluateObject interface
   18085 where the subsystem would fault if the named object to be
   18086 evaluated referred to a constant such as Zero, Ones, etc.
   18087 
   18088 Fixed a problem with IndexFields and BankFields where the
   18089 subsystem would fault if the index, data, or bank registers were
   18090 not defined in the same scope as the field itself.
   18091 
   18092 Added printf format string checking for compilers that support
   18093 this feature.  Corrected more than 50 instances of issues with
   18094 format specifiers within invocations of ACPI_DEBUG_PRINT
   18095 throughout the core subsystem code.
   18096 
   18097 The ASL "Revision" operator now returns the ACPI support level
   18098 implemented in the core - the value "2" since the ACPI 2.0 support
   18099 is more than 50% implemented.
   18100 
   18101 Enhanced the output of the AML debugger "dump namespace" command
   18102 to output in a more human-readable form.
   18103 
   18104 Current core subsystem library code sizes are shown below.  These
   18105 
   18106 are the code and data sizes for the acpica.lib produced by the
   18107 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18108 any ACPI driver or OSPM code.  The debug version of the code
   18109 includes the full debug trace mechanism -- leading to a much
   18110 
   18111 larger code and data size.  Note that these values will vary
   18112 depending on the efficiency of the compiler and the compiler
   18113 options used during generation.
   18114 
   18115      Previous Label (09_20_01):
   18116      Non-Debug Version:    65K Code,     5K Data,     70K Total
   18117      Debug Version:       138K Code,    58K Data,    196K Total
   18118 
   18119      This Label:
   18120 
   18121      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   18122      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   18123 
   18124 Linux:
   18125 
   18126 Implemented a "Bad BIOS Blacklist" to track machines that have
   18127 known ASL/AML problems.
   18128 
   18129 Enhanced the /proc interface for the thermal zone driver and added
   18130 support for _HOT (the critical suspend trip point).  The 'info'
   18131 file now includes threshold/policy information, and allows setting
   18132 of _SCP (cooling preference) and _TZP (polling frequency) values
   18133 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
   18134 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
   18135 preference to the passive/quiet mode (if supported by the ASL).
   18136 
   18137 Implemented a workaround for a gcc bug that resuted in an OOPs
   18138 when loading the control method battery driver.
   18139 
   18140  ----------------------------------------
   18141 Summary of changes for this label: 09_20_01
   18142 
   18143  ACPI CA Core Subsystem:
   18144 
   18145 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
   18146 modified to allow individual GPE levels to be flagged as wake-
   18147 enabled (i.e., these GPEs are to remain enabled when the platform
   18148 sleeps.)
   18149 
   18150 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
   18151 support wake-enabled GPEs.  This means that upon entering the
   18152 sleep state, all GPEs that are not wake-enabled are disabled.
   18153 When leaving the sleep state, these GPEs are re-enabled.
   18154 
   18155 A local double-precision divide/modulo module has been added to
   18156 enhance portability to OS kernels where a 64-bit math library is
   18157 not available.  The new module is "utmath.c".
   18158 
   18159 Several optimizations have been made to reduce the use of CPU
   18160 stack.  Originally over 2K, the maximum stack usage is now below
   18161 2K at 1860  bytes (1.82k)
   18162 
   18163 Fixed a problem with the AcpiGetFirmwareTable interface where the
   18164 root table pointer was not mapped into a logical address properly.
   18165 
   18166 Fixed a problem where a NULL pointer was being dereferenced in the
   18167 interpreter code for the ASL Notify operator.
   18168 
   18169 Fixed a problem where the use of the ASL Revision operator
   18170 returned an error. This operator now returns the current version
   18171 of the ACPI CA core subsystem.
   18172 
   18173 Fixed a problem where objects passed as control method parameters
   18174 to AcpiEvaluateObject were always deleted at method termination.
   18175 However, these objects may end up being stored into the namespace
   18176 by the called method.  The object reference count mechanism was
   18177 applied to these objects instead of a force delete.
   18178 
   18179 Fixed a problem where static strings or buffers (contained in the
   18180 AML code) that are declared as package elements within the ASL
   18181 code could cause a fault because the interpreter would attempt to
   18182 delete them.  These objects are now marked with the "static
   18183 object" flag to prevent any attempt to delete them.
   18184 
   18185 Implemented an interpreter optimization to use operands directly
   18186 from the state object instead of extracting the operands to local
   18187 variables.  This reduces stack use and code size, and improves
   18188 performance.
   18189 
   18190 The module exxface.c was eliminated as it was an unnecessary extra
   18191 layer of code.
   18192 
   18193 Current core subsystem library code sizes are shown below.  These
   18194 are the code and data sizes for the acpica.lib produced by the
   18195 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18196 any ACPI driver or OSPM code.  The debug version of the code
   18197 includes the full debug trace mechanism -- leading to a much
   18198 larger code and data size.  Note that these values will vary
   18199 depending on the efficiency of the compiler and the compiler
   18200 options used during generation.
   18201 
   18202   Non-Debug Version:  65K Code,   5K Data,   70K Total
   18203 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
   18204 Total  (Previously 195K)
   18205 
   18206 Linux:
   18207 
   18208 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
   18209 Integer objects are now 64 bits wide
   18210 
   18211 All Acpi data types and structures are now in lower case.  Only
   18212 Acpi macros are upper case for differentiation.
   18213 
   18214  Documentation:
   18215 
   18216 Changes to the external interfaces as described above.
   18217 
   18218  ----------------------------------------
   18219 Summary of changes for this label: 08_31_01
   18220 
   18221  ACPI CA Core Subsystem:
   18222 
   18223 A bug with interpreter implementation of the ASL Divide operator
   18224 was found and fixed.  The implicit function return value (not the
   18225 explicit store operands) was returning the remainder instead of
   18226 the quotient.  This was a longstanding bug and it fixes several
   18227 known outstanding issues on various platforms.
   18228 
   18229 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
   18230 been further optimized for size.  There are 700 invocations of the
   18231 DEBUG_PRINT macro alone, so each optimization reduces the size of
   18232 the debug version of the subsystem significantly.
   18233 
   18234 A stack trace mechanism has been implemented.  The maximum stack
   18235 usage is about 2K on 32-bit platforms.  The debugger command "stat
   18236 stack" will display the current maximum stack usage.
   18237 
   18238 All public symbols and global variables within the subsystem are
   18239 now prefixed with the string "Acpi".  This keeps all of the
   18240 symbols grouped together in a kernel map, and avoids conflicts
   18241 with other kernel subsystems.
   18242 
   18243 Most of the internal fixed lookup tables have been moved into the
   18244 code segment via the const operator.
   18245 
   18246 Several enhancements have been made to the interpreter to both
   18247 reduce the code size and improve performance.
   18248 
   18249 Current core subsystem library code sizes are shown below.  These
   18250 are the code and data sizes for the acpica.lib produced by the
   18251 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18252 any ACPI driver or OSPM code.  The debug version of the code
   18253 includes the full debug trace mechanism which contains over 700
   18254 invocations of the DEBUG_PRINT macro, 500 function entry macro
   18255 invocations, and over 900 function exit macro invocations --
   18256 leading to a much larger code and data size.  Note that these
   18257 values will vary depending on the efficiency of the compiler and
   18258 the compiler options used during generation.
   18259 
   18260         Non-Debug Version:  64K Code,   5K Data,   69K Total
   18261 Debug Version:     137K Code,  58K Data,  195K Total
   18262 
   18263  Linux:
   18264 
   18265 Implemented wbinvd() macro, pending a kernel-wide definition.
   18266 
   18267 Fixed /proc/acpi/event to handle poll() and short reads.
   18268 
   18269  ASL Compiler, version X2026:
   18270 
   18271 Fixed a problem introduced in the previous label where the AML
   18272 
   18273 code emitted for package objects produced packages with zero
   18274 length.
   18275 
   18276  ----------------------------------------
   18277 Summary of changes for this label: 08_16_01
   18278 
   18279 ACPI CA Core Subsystem:
   18280 
   18281 The following ACPI 2.0 ASL operators have been implemented in the
   18282 AML interpreter (These are already supported by the Intel ASL
   18283 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
   18284 ToBuffer.  Support for 64-bit AML constants is implemented in the
   18285 AML parser, debugger, and disassembler.
   18286 
   18287 The internal memory tracking mechanism (leak detection code) has
   18288 been upgraded to reduce the memory overhead (a separate tracking
   18289 block is no longer allocated for each memory allocation), and now
   18290 supports all of the internal object caches.
   18291 
   18292 The data structures and code for the internal object caches have
   18293 been coelesced and optimized so that there is a single cache and
   18294 memory list data structure and a single group of functions that
   18295 implement generic cache management.  This has reduced the code
   18296 size in both the debug and release versions of the subsystem.
   18297 
   18298 The DEBUG_PRINT macro(s) have been optimized for size and replaced
   18299 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
   18300 different, because it generates a single call to an internal
   18301 function.  This results in a savings of about 90 bytes per
   18302 invocation, resulting in an overall code and data savings of about
   18303 16% in the debug version of the subsystem.
   18304 
   18305  Linux:
   18306 
   18307 Fixed C3 disk corruption problems and re-enabled C3 on supporting
   18308 machines.
   18309 
   18310 Integrated low-level sleep code by Patrick Mochel.
   18311 
   18312 Further tweaked source code Linuxization.
   18313 
   18314 Other minor fixes.
   18315 
   18316  ASL Compiler:
   18317 
   18318 Support for ACPI 2.0 variable length packages is fixed/completed.
   18319 
   18320 Fixed a problem where the optional length parameter for the ACPI
   18321 2.0 ToString operator.
   18322 
   18323 Fixed multiple extraneous error messages when a syntax error is
   18324 detected within the declaration line of a control method.
   18325 
   18326  ----------------------------------------
   18327 Summary of changes for this label: 07_17_01
   18328 
   18329 ACPI CA Core Subsystem:
   18330 
   18331 Added a new interface named AcpiGetFirmwareTable to obtain any
   18332 ACPI table via the ACPI signature.  The interface can be called at
   18333 any time during kernel initialization, even before the kernel
   18334 virtual memory manager is initialized and paging is enabled.  This
   18335 allows kernel subsystems to obtain ACPI tables very early, even
   18336 before the ACPI CA subsystem is initialized.
   18337 
   18338 Fixed a problem where Fields defined with the AnyAcc attribute
   18339 could be resolved to the incorrect address under the following
   18340 conditions: 1) the field width is larger than 8 bits and 2) the
   18341 parent operation region is not defined on a DWORD boundary.
   18342 
   18343 Fixed a problem where the interpreter is not being locked during
   18344 namespace initialization (during execution of the _INI control
   18345 methods), causing an error when an attempt is made to release it
   18346 later.
   18347 
   18348 ACPI 2.0 support in the AML Interpreter has begun and will be
   18349 ongoing throughout the rest of this year.  In this label, The Mod
   18350 operator is implemented.
   18351 
   18352 Added a new data type to contain full PCI addresses named
   18353 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
   18354 and Function values.
   18355 
   18356  Linux:
   18357 
   18358 Enhanced the Linux version of the source code to change most
   18359 capitalized ACPI type names to lowercase. For example, all
   18360 instances of ACPI_STATUS are changed to acpi_status.  This will
   18361 result in a large diff, but the change is strictly cosmetic and
   18362 aligns the CA code closer to the Linux coding standard.
   18363 
   18364 OSL Interfaces:
   18365 
   18366 The interfaces to the PCI configuration space have been changed to
   18367 add the PCI Segment number and to split the single 32-bit combined
   18368 DeviceFunction field into two 16-bit fields.  This was
   18369 accomplished by moving the four values that define an address in
   18370 PCI configuration space (segment, bus, device, and function) to
   18371 the new ACPI_PCI_ID structure.
   18372 
   18373 The changes to the PCI configuration space interfaces led to a
   18374 reexamination of the complete set of address space access
   18375 interfaces for PCI, I/O, and Memory.  The previously existing 18
   18376 interfaces have proven difficult to maintain (any small change
   18377 must be propagated across at least 6 interfaces) and do not easily
   18378 allow for future expansion to 64 bits if necessary.  Also, on some
   18379 systems, it would not be appropriate to demultiplex the access
   18380 width (8, 16, 32,or 64) before calling the OSL if the
   18381 corresponding native OS interfaces contain a similar access width
   18382 parameter.  For these reasons, the 18 address space interfaces
   18383 have been replaced by these 6 new ones:
   18384 
   18385 AcpiOsReadPciConfiguration
   18386 AcpiOsWritePciConfiguration
   18387 AcpiOsReadMemory
   18388 AcpiOsWriteMemory
   18389 AcpiOsReadPort
   18390 AcpiOsWritePort
   18391 
   18392 Added a new interface named AcpiOsGetRootPointer to allow the OSL
   18393 to perform the platform and/or OS-specific actions necessary to
   18394 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
   18395 interface will simply call down to the CA core to perform the low-
   18396 memory search for the table.  On IA-64, the RSDP is obtained from
   18397 EFI.  Migrating this interface to the OSL allows the CA core to
   18398 
   18399 remain OS and platform independent.
   18400 
   18401 Added a new interface named AcpiOsSignal to provide a generic
   18402 "function code and pointer" interface for various miscellaneous
   18403 signals and notifications that must be made to the host OS.   The
   18404 first such signals are intended to support the ASL Fatal and
   18405 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
   18406 interface has been obsoleted.
   18407 
   18408 The definition of the AcpiFormatException interface has been
   18409 changed to simplify its use.  The caller no longer must supply a
   18410 buffer to the call; A pointer to a const string is now returned
   18411 directly.  This allows the call to be easily used in printf
   18412 statements, etc. since the caller does not have to manage a local
   18413 buffer.
   18414 
   18415 
   18416  ASL Compiler, Version X2025:
   18417 
   18418 The ACPI 2.0 Switch/Case/Default operators have been implemented
   18419 and are fully functional.  They will work with all ACPI 1.0
   18420 interpreters, since the operators are simply translated to If/Else
   18421 pairs.
   18422 
   18423 The ACPI 2.0 ElseIf operator is implemented and will also work
   18424 with 1.0 interpreters, for the same reason.
   18425 
   18426 Implemented support for ACPI 2.0 variable-length packages.  These
   18427 packages have a separate opcode, and their size is determined by
   18428 the interpreter at run-time.
   18429 
   18430 Documentation The ACPI CA Programmer Reference has been updated to
   18431 reflect the new interfaces and changes to existing interfaces.
   18432 
   18433  ------------------------------------------
   18434 Summary of changes for this label: 06_15_01
   18435 
   18436  ACPI CA Core Subsystem:
   18437 
   18438 Fixed a problem where a DWORD-accessed field within a Buffer
   18439 object would get its byte address inadvertently rounded down to
   18440 the nearest DWORD.  Buffers are always Byte-accessible.
   18441 
   18442  ASL Compiler, version X2024:
   18443 
   18444 Fixed a problem where the Switch() operator would either fault or
   18445 hang the compiler.  Note however, that the AML code for this ACPI
   18446 2.0 operator is not yet implemented.
   18447 
   18448 Compiler uses the new AcpiOsGetTimer interface to obtain compile
   18449 timings.
   18450 
   18451 Implementation of the CreateField operator automatically converts
   18452 a reference to a named field within a resource descriptor from a
   18453 byte offset to a bit offset if required.
   18454 
   18455 Added some missing named fields from the resource descriptor
   18456 support. These are the names that are automatically created by the
   18457 compiler to reference fields within a descriptor.  They are only
   18458 valid at compile time and are not passed through to the AML
   18459 interpreter.
   18460 
   18461 Resource descriptor named fields are now typed as Integers and
   18462 subject to compile-time typechecking when used in expressions.
   18463 
   18464  ------------------------------------------
   18465 Summary of changes for this label: 05_18_01
   18466 
   18467  ACPI CA Core Subsystem:
   18468 
   18469 Fixed a couple of problems in the Field support code where bits
   18470 from adjacent fields could be returned along with the proper field
   18471 bits. Restructured the field support code to improve performance,
   18472 readability and maintainability.
   18473 
   18474 New DEBUG_PRINTP macro automatically inserts the procedure name
   18475 into the output, saving hundreds of copies of procedure name
   18476 strings within the source, shrinking the memory footprint of the
   18477 debug version of the core subsystem.
   18478 
   18479  Source Code Structure:
   18480 
   18481 The source code directory tree was restructured to reflect the
   18482 current organization of the component architecture.  Some files
   18483 and directories have been moved and/or renamed.
   18484 
   18485  Linux:
   18486 
   18487 Fixed leaking kacpidpc processes.
   18488 
   18489 Fixed queueing event data even when /proc/acpi/event is not
   18490 opened.
   18491 
   18492  ASL Compiler, version X2020:
   18493 
   18494 Memory allocation performance enhancement - over 24X compile time
   18495 improvement on large ASL files.  Parse nodes and namestring
   18496 buffers are now allocated from a large internal compiler buffer.
   18497 
   18498 The temporary .SRC file is deleted unless the "-s" option is
   18499 specified
   18500 
   18501 The "-d" debug output option now sends all output to the .DBG file
   18502 instead of the console.
   18503 
   18504 "External" second parameter is now optional
   18505 
   18506 "ElseIf" syntax now properly allows the predicate
   18507 
   18508 Last operand to "Load" now recognized as a Target operand
   18509 
   18510 Debug object can now be used anywhere as a normal object.
   18511 
   18512 ResourceTemplate now returns an object of type BUFFER
   18513 
   18514 EISAID now returns an object of type INTEGER
   18515 
   18516 "Index" now works with a STRING operand
   18517 
   18518 "LoadTable" now accepts optional parameters
   18519 
   18520 "ToString" length parameter is now optional
   18521 
   18522 "Interrupt (ResourceType," parse error fixed.
   18523 
   18524 "Register" with a user-defined region space parse error fixed
   18525 
   18526 Escaped backslash at the end of a string ("\\") scan/parse error
   18527 fixed
   18528 
   18529 "Revision" is now an object of type INTEGER.
   18530 
   18531 
   18532 
   18533 ------------------------------------------
   18534 Summary of changes for this label: 05_02_01
   18535 
   18536 Linux:
   18537 
   18538 /proc/acpi/event now blocks properly.
   18539 
   18540 Removed /proc/sys/acpi. You can still dump your DSDT from
   18541 /proc/acpi/dsdt.
   18542 
   18543  ACPI CA Core Subsystem:
   18544 
   18545 Fixed a problem introduced in the previous label where some of the
   18546 "small" resource descriptor types were not recognized.
   18547 
   18548 Improved error messages for the case where an ASL Field is outside
   18549 the range of the parent operation region.
   18550 
   18551  ASL Compiler, version X2018:
   18552 
   18553 
   18554 Added error detection for ASL Fields that extend beyond the length
   18555 of the parent operation region (only if the length of the region
   18556 is known at compile time.)  This includes fields that have a
   18557 minimum access width that is smaller than the parent region, and
   18558 individual field units that are partially or entirely beyond the
   18559 extent of the parent.
   18560 
   18561 
   18562 
   18563 ------------------------------------------
   18564 Summary of changes for this label: 04_27_01
   18565 
   18566  ACPI CA Core Subsystem:
   18567 
   18568 Fixed a problem where the namespace mutex could be released at the
   18569 wrong time during execution of AcpiRemoveAddressSpaceHandler.
   18570 
   18571 Added optional thread ID output for debug traces, to simplify
   18572 debugging of multiple threads.  Added context switch notification
   18573 when the debug code realizes that a different thread is now
   18574 executing ACPI code.
   18575 
   18576 Some additional external data types have been prefixed with the
   18577 string "ACPI_" for consistency.  This may effect existing code.
   18578 The data types affected are the external callback typedefs - e.g.,
   18579 
   18580 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
   18581 
   18582  Linux:
   18583 
   18584 Fixed an issue with the OSL semaphore implementation where a
   18585 thread was waking up with an error from receiving a SIGCHLD
   18586 signal.
   18587 
   18588 Linux version of ACPI CA now uses the system C library for string
   18589 manipulation routines instead of a local implementation.
   18590 
   18591 Cleaned up comments and removed TBDs.
   18592 
   18593  ASL Compiler, version X2017:
   18594 
   18595 Enhanced error detection and reporting for all file I/O
   18596 operations.
   18597 
   18598  Documentation:
   18599 
   18600 Programmer Reference updated to version 1.06.
   18601 
   18602 
   18603 
   18604 ------------------------------------------
   18605 Summary of changes for this label: 04_13_01
   18606 
   18607  ACPI CA Core Subsystem:
   18608 
   18609 Restructured support for BufferFields and RegionFields.
   18610 BankFields support is now fully operational.  All known 32-bit
   18611 limitations on field sizes have been removed.  Both BufferFields
   18612 and (Operation) RegionFields are now supported by the same field
   18613 management code.
   18614 
   18615 Resource support now supports QWORD address and IO resources. The
   18616 16/32/64 bit address structures and the Extended IRQ structure
   18617 have been changed to properly handle Source Resource strings.
   18618 
   18619 A ThreadId of -1 is now used to indicate a "mutex not acquired"
   18620 condition internally and must never be returned by AcpiOsThreadId.
   18621 This reserved value was changed from 0 since Unix systems allow a
   18622 thread ID of 0.
   18623 
   18624 Linux:
   18625 
   18626 Driver code reorganized to enhance portability
   18627 
   18628 Added a kernel configuration option to control ACPI_DEBUG
   18629 
   18630 Fixed the EC driver to honor _GLK.
   18631 
   18632 ASL Compiler, version X2016:
   18633 
   18634 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
   18635 address space was set to 0, not 0x7f as it should be.
   18636 
   18637  ------------------------------------------
   18638 Summary of changes for this label: 03_13_01
   18639 
   18640  ACPI CA Core Subsystem:
   18641 
   18642 During ACPI initialization, the _SB_._INI method is now run if
   18643 present.
   18644 
   18645 Notify handler fix - notifies are deferred until the parent method
   18646 completes execution.  This fixes the "mutex already acquired"
   18647 issue seen occasionally.
   18648 
   18649 Part of the "implicit conversion" rules in ACPI 2.0 have been
   18650 found to cause compatibility problems with existing ASL/AML.  The
   18651 convert "result-to-target-type" implementation has been removed
   18652 for stores to method Args and Locals.  Source operand conversion
   18653 is still fully implemented.  Possible changes to ACPI 2.0
   18654 specification pending.
   18655 
   18656 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
   18657 length.
   18658 
   18659 Fix for compiler warnings for 64-bit compiles.
   18660 
   18661  Linux:
   18662 
   18663 /proc output aligned for easier parsing.
   18664 
   18665 Release-version compile problem fixed.
   18666 
   18667 New kernel configuration options documented in Configure.help.
   18668 
   18669 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
   18670 context" message.
   18671 
   18672  OSPM:
   18673 
   18674 Power resource driver integrated with bus manager.
   18675 
   18676 Fixed kernel fault during active cooling for thermal zones.
   18677 
   18678 Source Code:
   18679 
   18680 The source code tree has been restructured.
   18681 
   18682 
   18683 
   18684 ------------------------------------------
   18685 Summary of changes for this label: 03_02_01
   18686 
   18687  Linux OS Services Layer (OSL):
   18688 
   18689 Major revision of all Linux-specific code.
   18690 
   18691 Modularized all ACPI-specific drivers.
   18692 
   18693 Added new thermal zone and power resource drivers.
   18694 
   18695 Revamped /proc interface (new functionality is under /proc/acpi).
   18696 
   18697 New kernel configuration options.
   18698 
   18699  Linux known issues:
   18700 
   18701 New kernel configuration options not documented in Configure.help
   18702 yet.
   18703 
   18704 
   18705 Module dependencies not currently implemented. If used, they
   18706 should be loaded in this order: busmgr, power, ec, system,
   18707 processor, battery, ac_adapter, button, thermal.
   18708 
   18709 Modules will not load if CONFIG_MODVERSION is set.
   18710 
   18711 IBM 600E - entering S5 may reboot instead of shutting down.
   18712 
   18713 IBM 600E - Sleep button may generate "Invalid <NULL> context"
   18714 message.
   18715 
   18716 Some systems may fail with "execution mutex already acquired"
   18717 message.
   18718 
   18719  ACPI CA Core Subsystem:
   18720 
   18721 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
   18722 for the  deadlock detection code. Defined to return a non-zero, 32-
   18723 bit thread ID for the currently executing thread.  May be a non-
   18724 zero constant integer on single-thread systems.
   18725 
   18726 Implemented deadlock detection for internal subsystem mutexes.  We
   18727 may add conditional compilation for this code (debug only) later.
   18728 
   18729 ASL/AML Mutex object semantics are now fully supported.  This
   18730 includes multiple acquires/releases by owner and support for the
   18731 
   18732 Mutex SyncLevel parameter.
   18733 
   18734 A new "Force Release" mechanism automatically frees all ASL
   18735 Mutexes that have been acquired but not released when a thread
   18736 exits the interpreter.  This forces conformance to the ACPI spec
   18737 ("All mutexes must be released when an invocation exits") and
   18738 prevents deadlocked ASL threads.  This mechanism can be expanded
   18739 (later) to monitor other resource acquisitions if OEM ASL code
   18740 continues to misbehave (which it will).
   18741 
   18742 Several new ACPI exception codes have been added for the Mutex
   18743 support.
   18744 
   18745 Recursive method calls are now allowed and supported (the ACPI
   18746 spec does in fact allow recursive method calls.)  The number of
   18747 recursive calls is subject to the restrictions imposed by the
   18748 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
   18749 parameter.
   18750 
   18751 Implemented support for the SyncLevel parameter for control
   18752 methods (ACPI 2.0 feature)
   18753 
   18754 Fixed a deadlock problem when multiple threads attempted to use
   18755 the interpreter.
   18756 
   18757 Fixed a problem where the string length of a String package
   18758 element was not always set in a package returned from
   18759 AcpiEvaluateObject.
   18760 
   18761 Fixed a problem where the length of a String package element was
   18762 not always included in the length of the overall package returned
   18763 from AcpiEvaluateObject.
   18764 
   18765 Added external interfaces (Acpi*) to the ACPI debug memory
   18766 manager.  This manager keeps a list of all outstanding
   18767 allocations, and can therefore detect memory leaks and attempts to
   18768 free memory blocks more than once. Useful for code such as the
   18769 power manager, etc.  May not be appropriate for device drivers.
   18770 Performance with the debug code enabled is slow.
   18771 
   18772 The ACPI Global Lock is now an optional hardware element.
   18773 
   18774  ASL Compiler Version X2015:
   18775 
   18776 Integrated changes to allow the compiler to be generated on
   18777 multiple platforms.
   18778 
   18779 Linux makefile added to generate the compiler on Linux
   18780 
   18781  Source Code:
   18782 
   18783 All platform-specific headers have been moved to their own
   18784 subdirectory, Include/Platform.
   18785 
   18786 New source file added, Interpreter/ammutex.c
   18787 
   18788 New header file, Include/acstruct.h
   18789 
   18790  Documentation:
   18791 
   18792 The programmer reference has been updated for the following new
   18793 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
   18794 
   18795  ------------------------------------------
   18796 Summary of changes for this label: 02_08_01
   18797 
   18798 Core ACPI CA Subsystem: Fixed a problem where an error was
   18799 incorrectly returned if the return resource buffer was larger than
   18800 the actual data (in the resource interfaces).
   18801 
   18802 References to named objects within packages are resolved to the
   18803 
   18804 full pathname string before packages are returned directly (via
   18805 the AcpiEvaluateObject interface) or indirectly via the resource
   18806 interfaces.
   18807 
   18808 Linux OS Services Layer (OSL):
   18809 
   18810 Improved /proc battery interface.
   18811 
   18812 
   18813 Added C-state debugging output and other miscellaneous fixes.
   18814 
   18815 ASL Compiler Version X2014:
   18816 
   18817 All defined method arguments can now be used as local variables,
   18818 including the ones that are not actually passed in as parameters.
   18819 The compiler tracks initialization of the arguments and issues an
   18820 exception if they are used without prior assignment (just like
   18821 locals).
   18822 
   18823 The -o option now specifies a filename prefix that is used for all
   18824 output files, including the AML output file.  Otherwise, the
   18825 default behavior is as follows:  1) the AML goes to the file
   18826 specified in the DSDT.  2) all other output files use the input
   18827 source filename as the base.
   18828 
   18829  ------------------------------------------
   18830 Summary of changes for this label: 01_25_01
   18831 
   18832 Core ACPI CA Subsystem: Restructured the implementation of object
   18833 store support within the  interpreter.  This includes support for
   18834 the Store operator as well  as any ASL operators that include a
   18835 target operand.
   18836 
   18837 Partially implemented support for Implicit Result-to-Target
   18838 conversion. This is when a result object is converted on the fly
   18839 to the type of  an existing target object.  Completion of this
   18840 support is pending  further analysis of the ACPI specification
   18841 concerning this matter.
   18842 
   18843 CPU-specific code has been removed from the subsystem (hardware
   18844 directory).
   18845 
   18846 New Power Management Timer functions added
   18847 
   18848 Linux OS Services Layer (OSL): Moved system state transition code
   18849 to the core, fixed it, and modified  Linux OSL accordingly.
   18850 
   18851 Fixed C2 and C3 latency calculations.
   18852 
   18853 
   18854 We no longer use the compilation date for the version message on
   18855 initialization, but retrieve the version from AcpiGetSystemInfo().
   18856 
   18857 Incorporated for fix Sony VAIO machines.
   18858 
   18859 Documentation:  The Programmer Reference has been updated and
   18860 reformatted.
   18861 
   18862 
   18863 ASL Compiler:  Version X2013: Fixed a problem where the line
   18864 numbering and error reporting could get out  of sync in the
   18865 presence of multiple include files.
   18866 
   18867  ------------------------------------------
   18868 Summary of changes for this label: 01_15_01
   18869 
   18870 Core ACPI CA Subsystem:
   18871 
   18872 Implemented support for type conversions in the execution of the
   18873 ASL  Concatenate operator (The second operand is converted to
   18874 match the type  of the first operand before concatenation.)
   18875 
   18876 Support for implicit source operand conversion is partially
   18877 implemented.   The ASL source operand types Integer, Buffer, and
   18878 String are freely  interchangeable for most ASL operators and are
   18879 converted by the interpreter  on the fly as required.  Implicit
   18880 Target operand conversion (where the  result is converted to the
   18881 target type before storing) is not yet implemented.
   18882 
   18883 Support for 32-bit and 64-bit BCD integers is implemented.
   18884 
   18885 Problem fixed where a field read on an aligned field could cause a
   18886 read  past the end of the field.
   18887 
   18888 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
   18889 does not return a value, but the caller expects one.  (The ASL
   18890 compiler flags this as a warning.)
   18891 
   18892 ASL Compiler:
   18893 
   18894 Version X2011:
   18895 1. Static typechecking of all operands is implemented. This
   18896 prevents the use of invalid objects (such as using a Package where
   18897 an Integer is required) at compile time instead of at interpreter
   18898 run-time.
   18899 2. The ASL source line is printed with ALL errors and warnings.
   18900 3. Bug fix for source EOF without final linefeed.
   18901 4. Debug option is split into a parse trace and a namespace trace.
   18902 5. Namespace output option (-n) includes initial values for
   18903 integers and strings.
   18904 6. Parse-only option added for quick syntax checking.
   18905 7. Compiler checks for duplicate ACPI name declarations
   18906 
   18907 Version X2012:
   18908 1. Relaxed typechecking to allow interchangeability between
   18909 strings, integers, and buffers.  These types are now converted by
   18910 the interpreter at runtime.
   18911 2. Compiler reports time taken by each internal subsystem in the
   18912 debug         output file.
   18913 
   18914 
   18915  ------------------------------------------
   18916 Summary of changes for this label: 12_14_00
   18917 
   18918 ASL Compiler:
   18919 
   18920 This is the first official release of the compiler. Since the
   18921 compiler requires elements of the Core Subsystem, this label
   18922 synchronizes everything.
   18923 
   18924 ------------------------------------------
   18925 Summary of changes for this label: 12_08_00
   18926 
   18927 
   18928 Fixed a problem where named references within the ASL definition
   18929 of both OperationRegions and CreateXXXFields did not work
   18930 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   18931 initialization of the region/field. This is similar (but not
   18932 related internally) to the problem that was fixed in the last
   18933 label.
   18934 
   18935 Implemented both 32-bit and 64-bit support for the BCD ASL
   18936 functions ToBCD and FromBCD.
   18937 
   18938 Updated all legal headers to include "2000" in the copyright
   18939 years.
   18940 
   18941  ------------------------------------------
   18942 Summary of changes for this label: 12_01_00
   18943 
   18944 Fixed a problem where method invocations within the ASL definition
   18945 of both OperationRegions and CreateXXXFields did not work
   18946 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   18947 initialization of the region/field:
   18948 
   18949   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
   18950 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
   18951 (0x3005)
   18952 
   18953 Fixed a problem where operators with more than one nested
   18954 subexpression would fail.  The symptoms were varied, by mostly
   18955 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
   18956 problem that has gone unnoticed until now.
   18957 
   18958   Subtract (Add (1,2), Multiply (3,4))
   18959 
   18960 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
   18961 previous build (The prefix part of a relative path was handled
   18962 incorrectly).
   18963 
   18964 Fixed a problem where Operation Region initialization failed if
   18965 the operation region name was a "namepath" instead of a simple
   18966 "nameseg". Symptom was an AE_NO_OPERAND error.
   18967 
   18968 Fixed a problem where an assignment to a local variable via the
   18969 indirect RefOf mechanism only worked for the first such
   18970 assignment.  Subsequent assignments were ignored.
   18971 
   18972  ------------------------------------------
   18973 Summary of changes for this label: 11_15_00
   18974 
   18975 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
   18976 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
   18977 the AML  interpreter does NOT have support for the new 2.0 ASL
   18978 grammar terms at this time.
   18979 
   18980 All ACPI hardware access is via the GAS structures in the ACPI 2.0
   18981 FADT.
   18982 
   18983 All physical memory addresses across all platforms are now 64 bits
   18984 wide. Logical address width remains dependent on the platform
   18985 (i.e., "void *").
   18986 
   18987 AcpiOsMapMemory interface changed to a 64-bit physical address.
   18988 
   18989 The AML interpreter integer size is now 64 bits, as per the ACPI
   18990 2.0 specification.
   18991 
   18992 For backwards compatibility with ACPI 1.0, ACPI tables with a
   18993 revision number less than 2 use 32-bit integers only.
   18994 
   18995 Fixed a problem where the evaluation of OpRegion operands did not
   18996 always resolve them to numbers properly.
   18997 
   18998 ------------------------------------------
   18999 Summary of changes for this label: 10_20_00
   19000 
   19001 Fix for CBN_._STA issue.  This fix will allow correct access to
   19002 CBN_ OpRegions when the _STA returns 0x8.
   19003 
   19004 Support to convert ACPI constants (Ones, Zeros, One) to actual
   19005 values before a package object is returned
   19006 
   19007 Fix for method call as predicate to if/while construct causing
   19008 incorrect if/while behavior
   19009 
   19010 Fix for Else block package lengths sometimes calculated wrong (if
   19011 block > 63 bytes)
   19012 
   19013 Fix for Processor object length field, was always zero
   19014 
   19015 Table load abort if FACP sanity check fails
   19016 
   19017 Fix for problem with Scope(name) if name already exists
   19018 
   19019 Warning emitted if a named object referenced cannot be found
   19020 (resolved) during method execution.
   19021 
   19022 
   19023 
   19024 
   19025 
   19026 ------------------------------------------
   19027 Summary of changes for this label: 9_29_00
   19028 
   19029 New table initialization interfaces: AcpiInitializeSubsystem no
   19030 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
   19031 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
   19032 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
   19033 AcpiLoadTables
   19034 
   19035 Note: These interface changes require changes to all existing OSDs
   19036 
   19037 The PCI_Config default address space handler is always installed
   19038 at the root namespace object.
   19039 
   19040 -------------------------------------------
   19041 Summary of changes for this label: 09_15_00
   19042 
   19043 The new initialization architecture is implemented.  New
   19044 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
   19045 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
   19046 
   19047 (Namespace is automatically loaded when a table is loaded)
   19048 
   19049 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
   19050 52 bytes to 32 bytes.  There is usually one of these for every
   19051 namespace object, so the memory savings is significant.
   19052 
   19053 Implemented just-in-time evaluation of the CreateField operators.
   19054 
   19055 Bug fixes for IA-64 support have been integrated.
   19056 
   19057 Additional code review comments have been implemented
   19058 
   19059 The so-called "third pass parse" has been replaced by a final walk
   19060 through the namespace to initialize all operation regions (address
   19061 spaces) and fields that have not yet been initialized during the
   19062 execution of the various _INI and REG methods.
   19063 
   19064 New file - namespace/nsinit.c
   19065 
   19066 -------------------------------------------
   19067 Summary of changes for this label: 09_01_00
   19068 
   19069 Namespace manager data structures have been reworked to change the
   19070 primary  object from a table to a single object.  This has
   19071 resulted in dynamic memory  savings of 3X within the namespace and
   19072 2X overall in the ACPI CA subsystem.
   19073 
   19074 Fixed problem where the call to AcpiEvFindPciRootBuses was
   19075 inadvertently left  commented out.
   19076 
   19077 Reduced the warning count when generating the source with the GCC
   19078 compiler.
   19079 
   19080 Revision numbers added to each module header showing the
   19081 SourceSafe version of the file.  Please refer to this version
   19082 number when giving us feedback or comments on individual modules.
   19083 
   19084 The main object types within the subsystem have been renamed to
   19085 clarify their  purpose:
   19086 
   19087 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
   19088 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
   19089 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
   19090 
   19091 NOTE: no changes to the initialization sequence are included in
   19092 this label.
   19093 
   19094 -------------------------------------------
   19095 Summary of changes for this label: 08_23_00
   19096 
   19097 Fixed problem where TerminateControlMethod was being called
   19098 multiple times per  method
   19099 
   19100 Fixed debugger problem where single stepping caused a semaphore to
   19101 be  oversignalled
   19102 
   19103 Improved performance through additional parse object caching -
   19104 added  ACPI_EXTENDED_OP type
   19105 
   19106 -------------------------------------------
   19107 Summary of changes for this label: 08_10_00
   19108 
   19109 Parser/Interpreter integration:  Eliminated the creation of
   19110 complete parse trees  for ACPI tables and control methods.
   19111 Instead, parse subtrees are created and  then deleted as soon as
   19112 they are processed (Either entered into the namespace or  executed
   19113 by the interpreter).  This reduces the use of dynamic kernel
   19114 memory  significantly. (about 10X)
   19115 
   19116 Exception codes broken into classes and renumbered.  Be sure to
   19117 recompile all  code that includes acexcep.h.  Hopefully we won't
   19118 have to renumber the codes  again now that they are split into
   19119 classes (environment, programmer, AML code,  ACPI table, and
   19120 internal).
   19121 
   19122 Fixed some additional alignment issues in the Resource Manager
   19123 subcomponent
   19124 
   19125 Implemented semaphore tracking in the AcpiExec utility, and fixed
   19126 several places  where mutexes/semaphores were being unlocked
   19127 without a corresponding lock  operation.  There are no known
   19128 semaphore or mutex "leaks" at this time.
   19129 
   19130 Fixed the case where an ASL Return operator is used to return an
   19131 unnamed  package.
   19132 
   19133 -------------------------------------------
   19134 Summary of changes for this label: 07_28_00
   19135 
   19136 Fixed a problem with the way addresses were calculated in
   19137 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
   19138 manifested itself when a Field was  created with WordAccess or
   19139 DwordAccess, but the field unit defined within the  Field was less
   19140 
   19141 than a Word or Dword.
   19142 
   19143 Fixed a problem in AmlDumpOperands() module's loop to pull
   19144 operands off of the  operand stack to display information. The
   19145 problem manifested itself as a TLB  error on 64-bit systems when
   19146 accessing an operand stack with two or more  operands.
   19147 
   19148 Fixed a problem with the PCI configuration space handlers where
   19149 context was  getting confused between accesses. This required a
   19150 change to the generic address  space handler and address space
   19151 setup definitions. Handlers now get both a  global handler context
   19152 (this is the one passed in by the user when executing
   19153 AcpiInstallAddressSpaceHandler() and a specific region context
   19154 that is unique to  each region (For example, the _ADR, _SEG and
   19155 _BBN values associated with a  specific region). The generic
   19156 function definitions have changed to the  following:
   19157 
   19158 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
   19159 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
   19160 *HandlerContext, // This used to be void *Context void
   19161 *RegionContext); // This is an additional parameter
   19162 
   19163 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
   19164 RegionHandle, UINT32 Function, void *HandlerContext,  void
   19165 **RegionContext); // This used to be **ReturnContext
   19166 
   19167 -------------------------------------------
   19168 Summary of changes for this label: 07_21_00
   19169 
   19170 Major file consolidation and rename.  All files within the
   19171 interpreter have been  renamed as well as most header files.  This
   19172 was done to prevent collisions with  existing files in the host
   19173 OSs -- filenames such as "config.h" and "global.h"  seem to be
   19174 quite common.  The VC project files have been updated.  All
   19175 makefiles  will require modification.
   19176 
   19177 The parser/interpreter integration continues in Phase 5 with the
   19178 implementation  of a complete 2-pass parse (the AML is parsed
   19179 twice) for each table;  This  avoids the construction of a huge
   19180 parse tree and therefore reduces the amount of  dynamic memory
   19181 required by the subsystem.  Greater use of the parse object cache
   19182 means that performance is unaffected.
   19183 
   19184 Many comments from the two code reviews have been rolled in.
   19185 
   19186 The 64-bit alignment support is complete.
   19187 
   19188 -------------------------------------------
   19189 Summary of changes for this label: 06_30_00
   19190 
   19191 With a nod and a tip of the hat to the technology of yesteryear,
   19192 we've added  support in the source code for 80 column output
   19193 devices.  The code is now mostly  constrained to 80 columns or
   19194 less to support environments and editors that 1)  cannot display
   19195 or print more than 80 characters on a single line, and 2) cannot
   19196 disable line wrapping.
   19197 
   19198 A major restructuring of the namespace data structure has been
   19199 completed.  The  result is 1) cleaner and more
   19200 understandable/maintainable code, and 2) a  significant reduction
   19201 in the dynamic memory requirement for each named ACPI  object
   19202 (almost half).
   19203 
   19204 -------------------------------------------
   19205 Summary of changes for this label: 06_23_00
   19206 
   19207 Linux support has been added.  In order to obtain approval to get
   19208 the ACPI CA  subsystem into the Linux kernel, we've had to make
   19209 quite a few changes to the  base subsystem that will affect all
   19210 users (all the changes are generic and OS- independent).  The
   19211 effects of these global changes have been somewhat far  reaching.
   19212 Files have been merged and/or renamed and interfaces have been
   19213 renamed.   The major changes are described below.
   19214 
   19215 Osd* interfaces renamed to AcpiOs* to eliminate namespace
   19216 pollution/confusion  within our target kernels.  All OSD
   19217 interfaces must be modified to match the new  naming convention.
   19218 
   19219 Files merged across the subsystem.  A number of the smaller source
   19220 and header  files have been merged to reduce the file count and
   19221 increase the density of the  existing files.  There are too many
   19222 to list here.  In general, makefiles that  call out individual
   19223 files will require rebuilding.
   19224 
   19225 Interpreter files renamed.  All interpreter files now have the
   19226 prefix am*  instead of ie* and is*.
   19227 
   19228 Header files renamed:  The acapi.h file is now acpixf.h.  The
   19229 acpiosd.h file is  now acpiosxf.h.  We are removing references to
   19230 the acronym "API" since it is  somewhat windowsy. The new name is
   19231 "external interface" or xface or xf in the  filenames.j
   19232 
   19233 
   19234 All manifest constants have been forced to upper case (some were
   19235 mixed case.)   Also, the string "ACPI_" has been prepended to many
   19236 (not all) of the constants,  typedefs, and structs.
   19237 
   19238 The globals "DebugLevel" and "DebugLayer" have been renamed
   19239 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
   19240 
   19241 All other globals within the subsystem are now prefixed with
   19242 "AcpiGbl_" Internal procedures within the subsystem are now
   19243 prefixed with "Acpi" (with only  a few exceptions).  The original
   19244 two-letter abbreviation for the subcomponent  remains after "Acpi"
   19245 - for example, CmCallocate became AcpiCmCallocate.
   19246 
   19247 Added a source code translation/conversion utility.  Used to
   19248 generate the Linux  source code, it can be modified to generate
   19249 other types of source as well. Can  also be used to cleanup
   19250 existing source by removing extraneous spaces and blank  lines.
   19251 Found in tools/acpisrc/*
   19252 
   19253 OsdUnMapMemory was renamed to OsdUnmapMemory and then
   19254 AcpiOsUnmapMemory.  (UnMap  became Unmap).
   19255 
   19256 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
   19257 When set to  one, this indicates that the caller wants to use the
   19258 
   19259 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
   19260 both types.  However, implementers of this  call may want to use
   19261 different OS primitives depending on the type of semaphore
   19262 requested.  For example, some operating systems provide separate
   19263 
   19264 "mutex" and  "semaphore" interfaces - where the mutex interface is
   19265 much faster because it  doesn't have all the overhead of a full
   19266 semaphore implementation.
   19267 
   19268 Fixed a deadlock problem where a method that accesses the PCI
   19269 address space can  block forever if it is the first access to the
   19270 space.
   19271 
   19272 -------------------------------------------
   19273 Summary of changes for this label: 06_02_00
   19274 
   19275 Support for environments that cannot handle unaligned data
   19276 accesses (e.g.  firmware and OS environments devoid of alignment
   19277 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
   19278 been added (via configurable macros) in  these three areas: -
   19279 Transfer of data from the raw AML byte stream is done via byte
   19280 moves instead of    word/dword/qword moves. - External objects are
   19281 aligned within the user buffer, including package   elements (sub-
   19282 objects). - Conversion of name strings to UINT32 Acpi Names is now
   19283 done byte-wise.
   19284 
   19285 The Store operator was modified to mimic Microsoft's
   19286 implementation when storing  to a Buffer Field.
   19287 
   19288 Added a check of the BM_STS bit before entering C3.
   19289 
   19290 The methods subdirectory has been obsoleted and removed.  A new
   19291 file, cmeval.c  subsumes the functionality.
   19292 
   19293 A 16-bit (DOS) version of AcpiExec has been developed.  The
   19294 makefile is under  the acpiexec directory.
   19295