Home | History | Annotate | Line # | Download | only in dist
changes.txt revision 1.1.1.34
      1 ----------------------------------------
      2 12 December 2024. Summary of changes for version 20241212:
      3 
      4 Major changes:
      5 
      6 Fix 2 critical CVE addressing memory leaks - Seunghun Han
      7 
      8 EINJ V2 updates ? Zaid Alali (Ampere Computing)
      9 
     10 CDAT updates ? Ira Weiny (Intel Corporation)
     11 
     12 Fix mutex handling, don?t release ones that were never acquired ? Daniil Tatianin
     13 
     14 Experiment with new tag name format Ryyyy_mm_dd to solve chronological sorting problems
     15 
     16 
     17 ----------------------------------------
     18 27 September 2024. Summary of changes for version 20240927:
     19 
     20 Major changes:
     21 
     22 Fix the acpixf.h file which caused issues for the last release (before this) 20240827
     23 
     24 Fix the pointer offset for the SLIC table
     25 
     26 Verify the local environment and GitHub commits are all in sync which was a problem with the second from last release (before this)20240322 (aka 20240323  date issue) 
     27 
     28 
     29 
     30 ----------------------------------------
     31 27 August 2024. Summary of changes for version 20240827:
     32 
     33 Major changes:
     34 
     35 Fix the PHAT table working: ensure that the PHAT firmware health record offset works correctly, fix various sub-table offsets, prevent segmentation faults when encountering invalid device paths. Contributed by: Armin Wolf <W_Armin (a] gmx.de>
     36 
     37 Fix the optional table 4-byte signature. Contributed by: Daniil Tatianin <99danilt (a] gmail.com>
     38 
     39 Correct the dumping of SLIC and DBG2 tables. Contributed by: Al Stone (Fedora) <ahs3 (a] ahs3.net> 
     40 
     41 Add support for QWordPCC and DWordPCC by Jose Marinho (ARM)
     42 
     43 Fix the integer to hex string conversions by Armin Wolf
     44 
     45 Detecting FACS in reduced HW mode and allowing setting waking vector thereby waking up from S3 state
     46 
     47 Fixing issues with crossing page boundaries when mapping operation regions by Raju Rangoju, Sanath S and Mario Limonciello (AMD)
     48 
     49 Update the support for IORT, HMAT, MPAM, AEST, CEDT, SPCR etc. tables
     50 
     51 Fix multiple issues with table parsing, compilation and disassembly by Myra DeMere (Google)
     52 
     53 Allow for more flexibility in _DSM usage.
     54 
     55 
     56 ----------------------------------------
     57 22 March 2024. Summary of changes for version 20240322:
     58 
     59 Major changes:
     60 
     61 Update all the license header year from 2023 to 2024.
     62 
     63 Fix table argument ordering to work properly with iasl.
     64 
     65 Get rid of the annoying repeated warning types in MSVC and Windows.
     66 
     67 Fix a test in ASLTS with edge case failure.
     68 
     69 Fix a couple of issues with how GPEs are counted and enabled.
     70 
     71 Add new tables for various architectures/OS, mainly RISC-V and also update many more.
     72 
     73 Add an option to either make the output deterministic or non-deterministic.
     74 
     75 Remove redundant checks, duplicated code and fix spellings in various files.
     76 
     77 Fix flex arrays for C++ compilers and also make ACPICA overall more compatible with different compilers which throw warnings related to memory sanitization etc.
     78 
     79 
     80 ----------------------------------------
     81 28 June 2023. Summary of changes for version 20230628:
     82 
     83 0) Global changes:
     84 
     85 Fixed a problem with the ASL/AML Timer() operator. Discovered by UBSAN: ?array-index-out-of-bounds in acpica/dswexec.c:401:12 index -1 is out of range for type 'acpi_operand_object?. Added AML_NO_OPERAND_RESOLVE flag to Timer (since there are no runtime arguments). Reported by: Abhishek Mainkar abmainkar (a] nvidia.com.
     86 
     87 Added a define for size of acpi_srat_generic_affinity DeviceHandle. Replaced a magic number with a define. The Linux kernel code will utilize this. Reported by Dave Jiang dave.jiang (a] intel.com. 
     88 
     89 Added support for _DSC (Deepest State for Configuration) as per ACPI 6.5.
     90 
     91 1) ACPICA kernel-resident subsystem:
     92 
     93 Added port definitions for CDAT SSLBIS. Add upstream port and any port definitions for SSLBIS. Reported by: Dave Jiang dave.jiang (a] intel.com.
     94 
     95 Fixed misspelled CDAT DSMAS define: ACPI_CEDT_DSMAS_NON_VOLATILE -> ACPI_CDAT_DSMAS_NON_VOLATILE. Reported by: Dave Jiang dave.jiang (a] intel.com.
     96 
     97 1) ACPICA kernel-resident subsystem:
     98 
     99 Fix GCC 12 dangling-pointer warning.  We're storing a persistent pointer to an ephemeral local variable which technically is a dangling pointer and the compiler is correct. However, since we never indirect the pointer, this is a safe operation and we can suppress the warning.
    100 
    101 Also, some C run-times (like MUSL) aren't including <stdint.h> indirectly so we must include it explicitly or we won't have the type definition for uintptr_t.
    102 
    103 2) iASL Compiler/Disassembler and ACPICA tools:. 
    104 
    105 IASL/RHCT: Enable dumping and compiling newly added nodes. The RHCT table is updated with new nodes. Add compile and dump functionality for these new structures.
    106 
    107 AcpiExec: Added a new command, ?interrupt?. The Interrupt command simulates an interrupt with a IntID (GSIV) equal to the first argument of the call/invocation. The acpiexec code simulates the behavior by OSPM: execute the _EVT method of the GED device associated with that IntID. Submitted by: Jose Marinho jose.marinho (a] arm.com.
    108 
    109 AcpiExec: Detect GED device and keep track of _EVT. The GED device is described by a _HID of ACPI0013. This code traverses the namespace identifying all GED devices. For each GED device in the namespace we record the Interrupt object and the _EVT method. This information is used when an interrupt is simulated via the ?interrupt? command. Submitted by: Jose Marinho jose.marinho (a] arm.com.
    110 ----------------------------------------
    111 31 March 2023. Summary of changes for version 20230331:
    112 
    113 This release is available at https://acpica.org/downloads
    114 
    115 0) Global changes:
    116 
    117 
    118 Update all copyright notices to the year 2023. This effects all source 
    119 modules, as well as utility signons.
    120 Add OS-specific support for Zephyr RTOS.
    121 Fix miscellaneous code that accesses various objects.
    122 Remove some dead code.
    123 Add C ?Flexible Array? support.
    124 Add support for 64 bit LoongArch compilation.
    125 Add first batch of RISC-V related definitions.
    126 Performed a global automated update to remove tabs, fix indentation 
    127 issues, etc.
    128 
    129 1) ACPICA kernel-resident subsystem:
    130 
    131 hwvalid: Drop port I/O validation.
    132 
    133 2) ACPICA tools and utilities:
    134 
    135 iASL: Added full macro support in the preprocessor. Example:
    136 #define ABCD(a,b,c,d) a+b+c-d
    137 
    138 Known macro support limitations (at this time):
    139 	No support for multi-line #define macros (backslash continuation 
    140 lines)
    141 	No support for the C-style ternary operator
    142 	No support for the stringizing operator (#)
    143 	No support for the concatenation (token pasting) operator (##)
    144 	No support for variable number of macro arguments
    145 
    146 Add support for AMD Secure Processor Table (ASPT) version 1.
    147 Add support for Arm's MPAM ACPI table version 2.
    148 ACPI 6.5: MADT: add support for trace buffer extension in GICC.
    149 Headers: Delete bogus NodeArray array of pointers from AEST table.
    150 PHAT table support is still ongoing.
    151 
    152 
    153 ----------------------------------------
    154 20 October 2022. Summary of changes for version 20221020:
    155 
    156 This release is available at https://acpica.org/downloads
    157 
    158 0) Global changes:
    159 
    160 Allow disabling of -Werror. For distro maintainers having `-Werror` can 
    161 delay update of GCC. Since every GCC release might add new warnings that 
    162 were not yet captured, it might break the build of packages. With this 
    163 change, distros can now build with `NOWERROR=TRUE` instead of patching 
    164 either the errors or the makefiles. The default behavior keeps on using 
    165 `-Werror`.
    166 
    167 1) ACPICA kernel-resident subsystem:
    168 
    169 Added support for FFH Operation Region special context data. FFH(Fixed 
    170 Function Hardware) Opregion is approved to be added in ACPI 6.5 via code 
    171 first approach[1]. It requires special context data similar to GPIO and 
    172 Generic Serial Bus as it needs to know platform specific offset and 
    173 length.
    174 
    175 Reverted this commit "executer/exsystem: Warn about sleeps greater than 
    176 10 ms." Due to user complaints about valid sleeps greater than 10ms seen 
    177 in some existing machines -- generating lots of warnings.
    178 
    179 Do not touch VGA memory when EBDA < 1KiB. The ACPICA code assumes that 
    180 EBDA region must be at least 1KiB in size. Because this is not 
    181 guaranteed, it might happen that while scanning the memory for RSDP 
    182 pointer, the kernel touches memory above 640KiB. This is unwanted as the 
    183 VGA memory range may not be decoded or even present when running under 
    184 virtualization.
    185 
    186 Check that EBDA pointer is in valid memory. If the memory at 0x40e is 
    187 uninitialized, the retrieved physical memory address of EBDA may be 
    188 beyond the low memory (i.e. above 640K). If so, the kernel may 
    189 unintentionally access the VGA memory, that might not be decoded or even 
    190 present in case of virtualization.
    191 
    192 2) iASL Compiler/Disassembler and ACPICA tools:
    193 
    194 Completed the existing partial support for the CDAT "table". Although 
    195 this isn't technically an ACPI table (It doesn't go into the XSDT), it is 
    196 possible to support this table in the Data Table compiler. Created one 
    197 new file, "utilities/utcksum.c", used to centralize checksum 
    198 generation/validation into one location. Includes changes to makefiles 
    199 and MSVC project files.
    200 
    201 Updated support for the IORT table - update to version E.e
    202 
    203 Added CXL 3.0 structures (CXIMS & RDPAS) to the CEDT table 
    204 
    205 iASL: Added CCEL table to both compiler/disassembler.
    206 
    207 iASL: NHLT table: Fixed compilation of optional undocumented fields
    208 
    209 iASL: Fix iASL compile error due to ACPI_TDEL_OFFSET. Commit # 10e4763 
    210 ("iASL: Add CCEL table to both compiler/disassembler") introduced the 
    211 iASL build issue. The issue is due to using ACPI_TDEL_OFFSET for CCEL 
    212 table member reference. To fix it,  change ACPI_TDEL_OFFSET with 
    213 ACPI_CCEL_OFFSET.
    214 
    215 ----------------------------------------
    216 31 March 2022. Summary of changes for version 20220331:
    217 
    218 0) Global changes:
    219 
    220 Update all copyright notices to the year 2022. This effects all source 
    221 modules, as well as utility signons.
    222 
    223 
    224 1) ACPICA kernel-resident subsystem:
    225 
    226 For the ASL Sleep() operator, issue a warning if the sleep value is 
    227 greater than 10 Milliseconds. Quick boottime is important, so warn about 
    228 sleeps greater than 10 ms. Distribution Linux kernels reach initrd in 350 
    229 ms, so excessive delays should be called out. 10 ms is chosen randomly, 
    230 but three of such delays would already make up ten percent of the 
    231 boottime.
    232 
    233 Namespace: Avoid attempting to walk the Namespace if the Namespace does 
    234 not exist.
    235 
    236 AML interpreter/iASL compiler: Add new Acpi 6.4 semantics for the 
    237 LoadTable and Load operators. DDB_HANDLE is gone, now loadtable returns a 
    238 pass/fail integer. Now load returns a pass/fail integer, as well as 
    239 storing the return value in an optional 2nd argument.
    240 
    241 Headers: Use uintptr_t and offsetof() in Linux kernel builds. To avoid 
    242 "performing pointer subtraction with a null pointer has undefined 
    243 behavior" compiler warnings, use uintptr_t and offsetof() that are always 
    244 available during Linux kernel builds to define ACPI_UINTPTR_T and the 
    245 ACPI_TO_INTEGER() and ACPI_OFFSET() macros when building the ACPICA code 
    246 in the Linux kernel.
    247 
    248 Added support for the Windows 11 _OSI string ("Windows 2021"). Submitted 
    249 by superm1.
    250 
    251 executer/exsystem: Inform users about ACPI spec violation for the Stall() 
    252 operator. Values greater than 100 microseconds violate the ACPI 
    253 specification, so warn users about it. From the ACPI Specification 
    254 version 6.2 Errata A, 19.6.128 *Stall (Stall for a Short Time)*:
    255 > The implementation of Stall is OS-specific, but must not relinquish
    256 > control of the processor. Because of this, delays longer than 100
    257 > microseconds must use Sleep instead of Stall.
    258 
    259 
    260 2) iASL Compiler/Disassembler and ACPICA tools:
    261 
    262 Data Table Compiler/Disassembler: Add support for the APMT table - ARM 
    263 Performance Monitoring Unit table. Submitted by @bwicaksononv.
    264 
    265 Data Table Compiler/Disassembler: For MADT, add support for the OEM-
    266 defined subtables (Types 0x80-0x7F).
    267 
    268 Data Table Compiler: Fixed a problem with support for the SDEV table, 
    269 where a subtable Length was not computed correctly.
    270 
    271 Data Table Compiler/Disassembler: Add/fix the CFMWS subtable to the CEDT 
    272 Acpi table support.
    273 
    274 Data Table Compiler/Disassembler: Fix a compile issue with the CEDT and 
    275 add template. Submitted by MasterDrogo.
    276 
    277 Data Table Compiler/Disassembler: NHLT Changes provided by Piotr Maziarz:
    278 iASL/NHLT: Rename linux specific structures to DeviceInfo to improve 
    279 readability of the code.
    280 iASL/NHLT: Fix parsing undocumented bytes at the end of Endpoint. 
    281 Undocumented bytes at the end of Endpoint Descriptor can be present 
    282 independently of Linux-specific structures. Their size can also vary.
    283 iASL/NHLT: Treat TableTerminator as SpecificConfig. SpecificConfig has 4 
    284 bytes of size and then an amount of bytes specified by size. All of the 
    285 terminators that I've seen had a size equal to 4, but theoretically it 
    286 can vary.
    287 
    288 iASL/AcpiExec: Use _exit instead of exit in signal handers (ctrl-C).
    289 
    290 iASL: Remove a remark due to excessive output. Removed a remark for 
    291 duplicate Offset() operators, due to a user complaint.
    292 
    293 ----------------------------------------
    294 17 December 2021. Summary of changes for version 20211217:
    295 
    296 1) ACPICA kernel-resident subsystem:
    297 
    298 Hardware: Do not flush CPU cache when entering S4 and S5. According to 
    299 ACPI 6.4, Section 16.2, the CPU cache flushing is required on entering to 
    300 S1, S2, and S3, but the ACPICA code flushes the CPU cache regardless of 
    301 the sleep state. Blind cache flush on entering S5 causes problems for 
    302 TDX.
    303 
    304 Avoid subobject buffer overflow when validating RSDP signature. Since the 
    305 Signature member is accessed through an ACPI_TABLE_HEADER, the pointer to 
    306 it is only to a 4-char array, and so trying to read past the 4th 
    307 character, as will be done when it is an RSDP, reads beyond the bounds of 
    308 the accessed member. Contributed by jrtc27.
    309 
    310 Add support for PCC Opregion special context data. PCC Opregion added in 
    311 ACPIC 6.3 requires special context data similar to GPIO and Generic 
    312 Serial Bus as it needs to know the internal PCC buffer and its length as 
    313 well as the PCC channel index when the opregion handler is being executed 
    314 by the OSPM. Adds support for the special context data needed by PCC 
    315 Opregion. Submitted by Sudeep Holla <sudeep.holla (a] arm.com>
    316 
    317 2) iASL Compiler/Disassembler and ACPICA tools:
    318 
    319 iASL: Completed compiler support for the NHLT ACPI table.
    320 
    321 iASL/NHLT table: Fixed a reported problem where a fault would occur 
    322 during disassembly of a "Linux-Specific" section if the "Specific Data" 
    323 part was not present.
    324 
    325 iASL: Added full support (compiler and disassembler) for the AGDI ACPI 
    326 table. Contributed by: Ilkka Koskinen <ilkka (a] os.amperecomputing.com>.
    327 
    328 iASL: Added full support for the TDEL ACPI table.
    329 
    330 iASL table compiler: FADT support updates:
    331 1) Allow the 32-bit DSDT address to be zero.
    332 2) Issue error if both the 32-bit and 64-bit DSDT addresses are zero.
    333 
    334 iASL: Fix unaligned accesses to local cache allocations. Contributed by 
    335 jrtc27.
    336 
    337 iASL: Open binary input files in binary mode, not text mode Affects 
    338 binary input AML files, as well as binary data table files, for 
    339 disassembly.
    340 
    341 ----------------------------------------
    342 30 September 2021. Summary of changes for version 20210930:
    343 
    344 This release is available at https://acpica.org/downloads
    345 
    346 1) ACPICA kernel-resident subsystem:
    347 
    348 Hardware: Avoid evaluating methods too early during system resume. During 
    349 wakeup from system-wide sleep states, AcpiGetSleepTypeData() is called 
    350 and it tries to get memory from the OS in order to evaluate a control 
    351 method, but if KFENCE is enabled in the Linux kernel, the memory 
    352 allocation attempt causes an IRQ work to be queued and a self-IPI to be 
    353 sent to the CPU running the code which requires the memory controller to 
    354 be ready, so if that happens too early in the wakeup path, it doesn't 
    355 work.
    356 
    357 Prevent that from taking place by calling AcpiGetSleepTypeData() for S0 
    358 upfront, when preparing to enter a given sleep state, and saving the data 
    359 obtained by it for later use during system wakeup.
    360 
    361 Added a new _OSI string, "Windows 2020". Posted by superm1.
    362 
    363 2) iASL Compiler/Disassembler and ACPICA tools:
    364 
    365 iASL compiler: Updated the check for usage of _CRS, _DIS, _PRS, and _SRS 
    366 objects:
    367 New/latest rules: Under a Device Object:
    368          1) If _PRS is present, must have _CRS and _SRS
    369          2) If _SRS is present, must have _PRS (_PRS requires _CRS and 
    370 _SRS)
    371          3) If _DIS is present, must have _SRS (_SRS requires _PRS, _PRS 
    372 requires _CRS and _SRS)
    373          4) If _SRS is present, probably should have a _DIS (Remark only)
    374 
    375 iASL table disassembler: Added disassembly support for the NHLT ACPI 
    376 table. Note: support for Vendor-defined microphone arrays and SNR 
    377 extensions are not supported at this time -- mostly due to a lack of 
    378 example tables. Actual compiler support for NHLT is forthcoming.
    379 
    380 Added a new subtable type for ACPI 6.4 SRAT Generic Port Affinity. It 
    381 uses the same subtable structure as the existing Generic Initiator 
    382 Affinity type.
    383 
    384 Added the flag for online capable in the MADT, introduced in ACPI 6.3. 
    385 Posted by superm1.
    386 
    387 3) ACPICA documentation: Updated the legal info (that appears at the 
    388 start of the Documents) to clarify distribution rights that are granted.
    389 
    390 
    391 ----------------------------------------
    392 30 July 2021. Summary of changes for version 20210730:
    393 
    394 This release is available at https://acpica.org/downloads
    395 
    396 1) ACPICA kernel-resident subsystem:
    397 
    398 2) iASL Compiler/Disassembler and ACPICA tools:
    399 
    400 iasl: Check usage of _CRS, _DIS, _PRS, and _SRS objects (July 2021).
    401   Under the Device Object:
    402   1) If _DIS is present, must have a _CRS and _SRS
    403   2) If _PRS is present, must have a _CRS, _DIS, and _SRS
    404   3) If _SRS is present, must have a _CRS and _DIS
    405 A warning will be issued for each of these cases.
    406 Note: For existing ASL/projects, these warnings may be disabled by 
    407 specifying this on the command line:
    408 "-vw 3141"
    409 
    410 iASL Table Disassembler/Table compiler: Fix for WPBT table with no
    411 command-line arguments. Handle the case where the Command-line
    412 Arguments table field does not exist (zero).
    413 
    414 Headers: Add new DBG2 Serial Port Subtypes
    415 The Microsoft Debug Port Table 2 (DBG2) specification revision
    416 September 21, 2020 comprises additional Serial Port Subtypes [1].
    417 Reflect that in the actbl1.h header file. Submitted by:
    418 semihalf-wojtas-marcin
    419 
    420 iASL: Add full support for the AEST table (data compiler)
    421 Includes support in the table compiler and the disassembler.
    422 
    423 Add PRMT module header to facilitate parsing.
    424 This structure is used in to parse PRMT in other Operating Systems
    425 that relies on using subtable headers in order to parse ACPI tables.
    426 Although the PRMT doesn't have "subtables" it has a list of module
    427 information structures that act as subtables.
    428 
    429 iASL: Table disassembler: Add missing strings to decode subtable types.
    430 Includes the MADT and CEDT tables.
    431 
    432 
    433 ----------------------------------------
    434 04 June 2021. Summary of changes for version 20210604:
    435 
    436 1) ACPICA kernel-resident subsystem:
    437 
    438 Cleaned up (delete) the context mutex during local address handler object 
    439 deletion.
    440 
    441 Fixed a memory leak caused by the _CID repair function.
    442 
    443 Added support for PlatformRtMechanism OperationRegion handler. Adds a new 
    444 utility function, AcpiUtConvertUuidToString. Writing a buffer to a 
    445 PlatformRtMechanism fieldunit invokes a bidirectional transaction. The 
    446 input buffer contains 26 bytes containing 9 bytes of status, a command 
    447 byte and a 16-byte UUID. This change will simply pass this incoming 
    448 buffer to a handler registered by the OS.
    449 
    450 2) iASL Compiler/Disassembler and ACPICA tools:
    451 
    452 Added full support for the PRMT ACPI table (Platform Runtime Mechanism 
    453 Table). Includes support in the iASL compiler, the disassembler, and the 
    454 template generator.
    455 
    456 Added full support for the BDAT (BIOS Data ACPI Table) ACPI table.
    457 
    458 Added full support for the RGRT (Regulatory Graphics Resource Table) ACPI 
    459 table.
    460 
    461 Added full support for the SVKL (Storage Volume Key Location Table) ACPI 
    462 table. Header file support from Kuppuswamy Sathyanarayanan 
    463 <sathyanarayanan.kuppuswamy (a] linux.intel.com>.
    464 
    465 Completed full support for the IVRS (I/O Virtualization Reporting 
    466 Structure) ACPI table. Added compiler support for IVRS, updated 
    467 disassembler support. Adds a new utility, UtIsIdInteger, to determine if 
    468 a HID/CID is an integer or a string.
    469 
    470 Headers: Added more structs to the CEDT table: CXL fixed memory window 
    471 structure.
    472 
    473 ACPI 6.4: MADT: added Multiprocessor Wakeup Mailbox Structure.
    474 
    475 ----------------------------------------
    476 31 March 2021. Summary of changes for version 20210331:
    477 
    478 This release is available at https://acpica.org/downloads, and includes 
    479 all ACPI 6.4 support
    480 
    481 1) ACPICA kernel-resident subsystem:
    482 ACPI 6.4: iASL: deprecate DDBHandleObj keyword
    483 Always create namespace nodes using AcpiNsCreateNode(). ACPICA is 
    484 allocating an object using kmalloc(), but then frees it
    485 using kmem_cache_free(<"Acpi-Namespace" kmem_cache>). This is wrong.
    486 Fixed a race condition in generic serial bus operation region handler. 
    487 Fixed by Hans de Goede.
    488 
    489 2) iASL Compiler/Disassembler and ACPICA tools:
    490 
    491 ACPI 6.4: NFIT: add Location Cookie field
    492 ACPI 6.4: HMAT: add new fields/flags
    493 ACPI 6.4: Add new flags in SRAT
    494 ACPI 6.4: add SDEV secure access components
    495 ACPI 6.4: add Csi2Bus resource template
    496 ACPI 6.4: add support for PHAT table
    497 ACPI 6.4: add support for PMTT table
    498 Add disassembly support for the IVRS table. Compilation of the table is 
    499 not yet complete.
    500 Fixed a potential infinite loop due to type mismatch. The for-loop is 
    501 using a UINT8 counter and comparing the upper
    502 limit against a UINT32 AslGbl_ExpectedMessagesIndex maximum. In
    503 the case where AslGbl_ExpectedMessagesIndex is > 255 the counter i
    504 will wrap around to zero and the loop will never exit. I suspect
    505 the AslGbl_ExpectedMessagesIndex is never that high, but fixing
    506 this does future proof the code and cleans up static analysis
    507 warnings.Colin King.
    508 iASL/TableCompiler: update it with IORT table E.b revision changes. From 
    509 shamiali2008.
    510 iASL/TableCompiler: Add compilation support for the VIOT table. Signed-
    511 off-by: Jean-Philippe Brucker.
    512 iASL/TableCompiler: Add compilation support for CEDT table. Also, update 
    513 the CEDT template.
    514 
    515 ----------------------------------------
    516 05 January 2021. Summary of changes for version 20210105:
    517 
    518 This release is available at https://acpica.org/downloads
    519 
    520 
    521 1) ACPICA kernel-resident subsystem:
    522 
    523 Updated all copyrights to 2021. This affects all ACPICA source code 
    524 modules.
    525 
    526 2) iASL Compiler/Disassembler and ACPICA tools:
    527 
    528 ASL test suite (ASLTS): Updated all copyrights to 2021.
    529 
    530 Tools and utilities: Updated all signon copyrights to 2021.
    531 
    532 iASL Table Compiler: Removed support for obsolete ACPI tables: VRTC, 
    533 MTMR. Al Stone.
    534 
    535 
    536 ----------------------------------------
    537 17 December 2020. Summary of changes for version 20201217:
    538 
    539 This release is available at https://acpica.org/downloads
    540 
    541 
    542 1) ACPICA kernel-resident subsystem:
    543 
    544 Note: The implementation of ACPI 6.4 is underway, and is expected to be 
    545 mostly finished next month, when ACPI 6.4 is released.
    546 
    547 From qzed:- fixed-ae-class-macros. Fix exception code class checks. Added 
    548 several new macros, such as ACPI_CNTL_EXCEPTION(Status) in order to 
    549 enable this.
    550 
    551 AcpiExec/iASL/AcpiHelp: Added a few changes for support of GCC 10.2.0. 
    552 These included a few casts, as well as a null pointer check.
    553 
    554 Fix -Wfallthrough: GCC 7.1 gained -Wimplicit-fallthrough to warn on 
    555 implicit fallthrough, as well as __attribute__((__fallthrough__)) and 
    556 comments to explicitly denote that cases of fallthrough were intentional. 
    557 Clang also supports this warning and statement attribute, but not the 
    558 comment form. Added a new macro, ACPI_FALLTHROUGH to support this feature 
    559 of GCC. With assistance from @nickdesaulniers. 
    560 
    561 2) iASL Compiler/Disassembler and ACPICA tools: 
    562 
    563 Added improvement to method call analysis by saving the return type and 
    564 relaxing certain cases of type checking.
    565 
    566 iASL Table Compiler: Improved info messages. Added a message to the -T 
    567 option for when the default template (DSDT) is used.
    568 Also added a note for when multiple SSDTs are created with a DSDT that 
    569 the SSDTs are created in the same file as the DSDT.
    570 
    571 
    572 ----------------------------------------
    573 
    574 13 November 2020. Summary of changes for version 20201113:
    575 
    576 This release is available at https://acpica.org/downloads
    577 
    578 
    579 1) ACPICA kernel-resident subsystem:
    580 
    581 Interpreter: fixed a memory leak by using use existing buffer in _HID 
    582 repair. There was a memory leak that occurred when a _CID object is 
    583 defined as a package containing string objects. When _CID is checked for 
    584 any possible repairs, it calls a helper function to repair _HID (because 
    585 _CID basically contains multiple _HID entries). The _HID repair function 
    586 assumes that string objects are standalone objects that are not contained 
    587 inside of any packages. The _HID repair function replaced the string 
    588 object with a brand new object and attempted to delete the old object by 
    589 decrementing the reference count of the old object. Strings inside of 
    590 packages have a reference count of 2 so the _HID repair function leaves 
    591 this object in a dangling state and causes a memory leak. Instead of 
    592 allocating a brand new object and removing the old object, use the 
    593 existing object when repairing the _HID object.
    594 
    595 Added function trace macros to improve namespace debugging. The namespace 
    596 repair mechanism does not have function tracing macros. Add several trace 
    597 macros to improve debuggability.
    598 
    599 Handle "orphan" _REG methods for GPIO OpRegions. Before this change 
    600 AcpiEvExecuteRegMethods() had special handling to handle "orphan" (no 
    601 matching OpRegion declared) _REG methods for EC nodes. On Intel Cherry 
    602 Trail devices there are 2 possible ACPI OpRegions for accessing GPIOs. 
    603 The standard GeneralPurposeIo OpRegion and the Cherry Trail - specific 
    604 UserDefined 0x9X OpRegions. Having 2 different types of OpRegions leads 
    605 to potential issues with checks for OpRegion availability, or in other 
    606 words checks if _REG has been called for the OpRegion which the ACPI code 
    607 wants to use. Except for the "orphan" EC handling, ACPICA core does not 
    608 call _REG on an ACPI node which does not define an OpRegion matching the 
    609 type being registered; and the reference design DSDT, from which most 
    610 Cherry Trail DSDTs are derived, does not define GeneralPurposeIo, nor 
    611 UserDefined(0x93) OpRegions for the GPO2 (UID 3) device, because no pins 
    612 were assigned ACPI controlled functions in the reference design. Together 
    613 this leads to the perfect storm, at least on the Cherry Trail based 
    614 Medion Akayo E1239T. This design does use a GPO2 pin from its ACPI code 
    615 and has added the Cherry Trail specific UserDefined(0x93) opregion to its 
    616 GPO2 ACPI node to access this pin. But it uses a "has _REG been called" 
    617 availability check for the standard GeneralPurposeIo OpRegion. This 
    618 clearly is a bug in the DSDT, but this does work under Windows. This 
    619 issue leads to the intel vbtn driver reporting the device always being in 
    620 tablet-mode at boot, even if it is in laptop mode. Which in turn causes 
    621 userspace to ignore touchpad events. So in other words, this issue causes 
    622 the touchpad to not work at boot. This change fixes this by extending the 
    623 "orphan" _REG method handling to also apply to GPIO address-space 
    624 handlers.
    625 
    626 
    627 2) iASL Compiler/Disassembler and ACPICA tools: 
    628 
    629 iASL: Added more info to namespace dump file (-ln option). In a separate 
    630 section of the dump file (after the main namespace dump), emit the full 
    631 pathname for each namespace node, its type, and the ASL filename and line 
    632 number where it is declared.
    633 
    634 AcpiHelp: Added an option to display/decode iASL exceptions. Option is: -
    635 x [Hex Value] where "Hex Value" is the iASL exception code. If Hex Value 
    636 is omitted, all iASL exceptions are displayed.
    637 
    638 iASL: Use StringLiteral instead of StringData for some ASL macros. The 
    639 use of the stringData rule allows for some "string" oriented opcodes 
    640 (Such as ToString, ToHexString, etc.) None of which make sense with the 
    641 macros in question. This change modifies the StringData part of the rule 
    642 for these macros to a simple string  literal - thus disallowing the use 
    643 of ToString, ToHexString, etc.
    644 The following ASL operators (macros) are affected:
    645 EisaId
    646 Fprintf
    647 Printf
    648 ToUuid
    649 Unicode
    650 Note: The MS compiler requires the use of string literals for these 
    651 operators also.
    652 
    653 iASL: Added a remark for an unknown UUID: ASL_MSG_UUID_NOT_FOUND. Search 
    654 the list of "known" UUIDs for the input to the ToUUID macro.
    655 
    656 Added 5 new UUIDs to the known UUID table. All related to NVDIMM and the 
    657 NFIT table.
    658 
    659 
    660 ----------------------------------------
    661 
    662 25 September 2020. Summary of changes for version 20200925:
    663 
    664 This release is available at https://acpica.org/downloads
    665 
    666 
    667 1) ACPICA kernel-resident subsystem:
    668 
    669 Preserve memory opregion mappings. The ACPICA's strategy with respect to 
    670 the handling of memory mappings associated with memory operation regions 
    671 is to avoid mapping the entire region at once which may be problematic at 
    672 least in principle (for example, it may lead to conflicts with 
    673 overlapping mappings having different attributes created by drivers).  It 
    674 may also be wasteful, because memory opregions on some systems take up 
    675 vastchunks of address space while the fields in those regions actually 
    676 accessed by AML are sparsely distributed.
    677 
    678 For this reason, a one-page "window" is mapped for a given opregion on 
    679 the first memory access through it and if that "window" does not cover an 
    680 address range accessed through that opregion subsequently, it is unmapped 
    681 and a new "window" is mapped to replace it.  Next, if the new "window" is 
    682 not sufficient to access memory through the opregion in question in the 
    683 future, it will be replaced with yet another "window" and so on.  That 
    684 may lead to a suboptimal sequence of memory mapping and unmapping 
    685 operations, for example if two fields in one opregion separated from each 
    686 other by a sufficiently wide chunk of unused address space are accessed 
    687 in an alternating pattern.
    688 
    689 Added support for 64 bit risc-v compilation.  Useful for acpica tools and 
    690 incorporating ACPICA into the Firmware Test Suite. Colin Ian King 
    691 <colin.king (a] canonical.com>.
    692 
    693 Added support for SMBus predefined names (from SMBus Control Method 
    694 Interface Specification, Version 1.0, December 10, 1999. New predefined 
    695 names:
    696     _SBA
    697     _SBI
    698     _SBR
    699     _SBT
    700     _SBW
    701 
    702 AML Disassembler: Added a new command, "All <NameSeg>". This command will 
    703 evaluate all objects in the current namespace whose NameString contains 
    704 the input NameSeg as the last element of the NameString. Useful for 
    705 debugging.
    706 
    707 
    708 2) iASL Compiler/Disassembler and ACPICA tools: 
    709 
    710 iASL: fixed a crash that occurred when predefined objects return packages 
    711 with lengths that exceed the initializer list.
    712 
    713 iASL: added more detail to external resolution error message when 
    714 compiling multiple definition blocks.
    715 
    716 iASL: added a remark for an attempt to create a nameseg or namestring 
    717 containing lower-case letters. This should prevent declaring multiple 
    718 namesegs or namestrings in an attempt to refer to different objects (with 
    719 different cases), but actually refer to the same object(s).
    720 
    721 iASL: improve alias analysis by saving object type. If the alias is a 
    722 method type, the parameter count is also recorded.
    723 
    724 AcpiExec: Increase the default loop timeout value. Was 1 second, is now 
    725 10 seconds. Prevents unnecessary timeouts when executing control methods 
    726 from the command line.
    727 
    728 AcpiHelp/disassembler: Added a bunch of "known" UUIDs to the internal 
    729 list. Includes:
    730     Memory Device
    731     Generic Buttons Device
    732     NVDIMM Root Device
    733     Control Method Battery
    734     Device Graphs for _DSD method
    735     Hierarchical Data Extension
    736 ....ARM CoreSight Graph
    737 
    738 ----------------------------------------
    739 
    740 
    741 17 July 2020. Summary of changes for version 20200717:
    742 
    743 This release is available at https://acpica.org/downloads
    744 
    745 
    746 1) ACPICA kernel-resident subsystem:
    747 
    748 Do not increment OperationRegion reference counts for field units. Recent 
    749 server firmware has revealed that this reference count can overflow on 
    750 large servers that declare many field units (thousands) under the same 
    751 OperationRegion. This occurs because each field unit declaration will add 
    752 a reference count to the source OperationRegion. This release solves the 
    753 reference count overflow for OperationRegion objects by preventing 
    754 fieldUnits from incrementing their parent OperationRegion's reference 
    755 count.
    756 
    757 Replaced one-element arrays with flexible-arrays, which were introduced 
    758 in C99.
    759 
    760 Restored the readme file containing the directions for generation of 
    761 ACPICA from source on MSVC 2017. Updated the file for MSVC 2017. File is 
    762 located at: generate/msvc2017/readme.txt
    763 
    764 2) iASL Compiler/Disassembler and ACPICA tools: 
    765 
    766 iASL: Fixed a regression found in version 20200214. Prevent iASL from 
    767 emitting an extra byte of garbage data when control methods declared a 
    768 single parameter type without using braces. This extra byte is known to 
    769 cause a blue screen on the Windows AML interpreter.
    770 
    771 iASL: Made a change to allow external declarations to specify the type of 
    772 a named object even when some name segments are not defined.
    773 This change allows the following ASL code to compile (When DEV0 is not 
    774 defined or not defined yet):
    775 
    776     External (\_SB.DEV0.OBJ1, IntObj)
    777     External (\_SB.DEV0, DeviceObj)
    778 
    779 iASL: Fixed a problem where method names in "Alias ()" statement could be 
    780 misinterpreted. They are now interpreted correctly as method invocations.
    781 
    782 iASL: capture a method parameter count (Within the Method info segment, 
    783 as well as the argument node) when using parameter type lists.
    784 
    785 ----------------------------------------
    786 
    787 
    788 28 May 2020. Summary of changes for version 20200528:
    789 
    790 
    791 1) ACPICA kernel-resident subsystem:
    792 
    793 Removed old/obsolete Visual Studio files which were used to build the 
    794 Windows versions of the ACPICA tools. Since we have moved to Visual 
    795 Studio 2017, we are no longer supporting Visual Studio 2006 and 2009 
    796 project files. The new subdirectory and solution file are located at:
    797 
    798     acpica/generate/msvc2017/AcpiComponents.sln
    799 
    800 
    801 2) iASL Compiler/Disassembler and ACPICA tools: 
    802 
    803 iASL: added support for a new OperationRegion Address Space (subtype): 
    804 PlatformRtMechanism. Support for this new keyword is being released for 
    805 early prototyping. It will appear in the next release of the ACPI 
    806 specification.
    807 
    808 iASL: do not optimize the NameString parameter of the CondRefOf operator. 
    809 In the previous iASL compiler release, the NameString parameter of the 
    810 CondRefOf was optimized. There is evidence that some implementations of 
    811 the AML interpreter do not perform the recursive search-to-parent search 
    812 during the execution of the CondRefOf operator. Therefore, the CondRefOf 
    813 operator behaves differently when the NameString parameter is a single 
    814 name segment (a NameSeg) as opposed to a full NamePath (starting at the 
    815 root scope) or a NameString containing parent prefixes.
    816 
    817 iASL: Prevent an inadvertent remark message. This change prevents a 
    818 remark if within a control method the following exist:
    819 1) An Operation Region is defined, and
    820 2) A Field operator is defined that refers to the region.
    821 This happens because at the top level, the Field operator does not 
    822 actually create a new named object, it simply references the operation 
    823 region.
    824 
    825 Removed support for the acpinames utility. The acpinames was a simple 
    826 utility used to populate and display the ACPI namespace without executing 
    827 any AML code. However, ACPICA now supports executable opcodes outside of 
    828 control methods. This means that executable AML opcodes such as If and 
    829 Store opcodes need to be executed during table load. Therefore, acpinames 
    830 would need to be updated to match the same behavior as the acpiexec 
    831 utility and since acpiexec can already dump the entire namespace (via the 
    832 'namespace' command), we no longer have the need to maintain acpinames.
    833 
    834     In order to dump the contents of the ACPI namespace using acpiexec,
    835 execute the following command from the command line:
    836 
    837         acpiexec -b "n" [aml files]
    838 
    839 ----------------------------------------
    840 
    841 
    842 30 April 2020. Summary of changes for version 20200430:
    843 
    844 1) ACPICA kernel-resident subsystem:
    845 
    846 Cleaned up the coding style of a couple of global variables 
    847 (AcpiGbl_NextCmdNum and AcpiProtocolLengths) caught by static analyzers. 
    848 AcpiProtocolLengths was made static, and the definition of 
    849 AcpiGbl_NextCmdNum was moved to acglobal.h.
    850 
    851 
    852 2) iASL Compiler/Disassembler and ACPICA tools: 
    853 
    854 iASL DataTable Compiler:  Fixed a segfault on errors that aren't directly 
    855 associated with a field.
    856 
    857 Disassembler: has been made more resilient so that it will continue to 
    858 parse AML even if the AML generates ACPI namespace errors. This enables 
    859 iASL to disassemble some AML that may have been compiled using older 
    860 versions of iASL that no longer compile with newer versions of iASL.
    861 
    862 iASL: Fixed the required parameters for _NIH and _NIG. Previously, there 
    863 was a mixup where _NIG required one parameter and _NIH required zero 
    864 parameters. This change swaps these parameter requirements. Now it is 
    865 required that _NIH must be called with one parameter and _NIG requires 
    866 zero parameters.
    867 
    868 iASL: Allow use of undefined externals as long as they are protected by 
    869 an if (CondRefOf (...)) block when compiling multiple definition blocks.
    870 
    871 iASL: Fixed the type override behavior of named objects that are declared 
    872 as External. External declarations will no longer override the type of 
    873 the actual definition if it already exists.
    874 
    875 AcpiNames: Added setargv.obj to the MSVC 2017 link sequence to enable 
    876 command line wildcard support on Windows. Note: the AcpiNames utility is 
    877 essentially redundant with the AcpiExec utility (using the "namespace" 
    878 command) and is therefore deprecated. It will be removed in future 
    879 releases of ACPICA.
    880 
    881 Disassembler: ignore AE_ALREADY_EXISTS status when parsing create* 
    882 operators. The disassembler is intended to emit existing ASL code as-is. 
    883 Therefore, error messages emitted during disassembly should be ignored or 
    884 handled in a way such that the disassembler can continue to parse the 
    885 AML. This change ignores AE_ALREADY_EXISTS errors during the deferred Op 
    886 parsing for create operators in order to complete parsing ASL termlists.
    887 
    888 iASL DataTable Compiler: IVRS table: fix potentially uninitialized 
    889 variable warning. Some compilers catch potential uninitialized variables. 
    890 This is done by examining branches of if/else statements. This change 
    891 replaces an "else if" with an "else" to fix the uninitialized variable 
    892 warning.
    893 
    894 
    895 ----------------------------------------
    896 26 March 2020. Summary of changes for version 20200326:
    897 
    898 
    899 1) ACPICA kernel-resident subsystem:
    900 
    901 Performed a code clean-up to prevent build errors on early versions of 
    902 GCC-10.
    903 
    904 Added the NHLT table signature. iASL data table compiler/disassembler 
    905 support for this table is coming soon.
    906 
    907 
    908 2) iASL Compiler/Disassembler and ACPICA tools: 
    909 
    910 AcpiExec: Fixed several problems with the namespace initialization file 
    911 (-fi<filename> option). Includes fixes to prevent AE_ALREADY_EXISTS 
    912 errors, several seg faults, and enhancements to line parsing within the 
    913 init file. In addition, each object found in the init file and it's new 
    914 value is displayed, as well as any such entries that do not have a 
    915 corresponding name in the namespace. For reference, the syntax for the 
    916 various supported data types are presented below:
    917 	PCHG 0x777788889999BBBB	// Integer
    918 	\DEV1.STR1 "XYZ"			// String
    919 	BUF1 (88 99 AA)			// Buffer
    920 	PKG1 [0x1111 0x2222]		// Package
    921 	\BF1 0x7980				// BufferField
    922 	RCRV 0x0123456789ABCDEF	// Field Unit
    923 
    924 iASL: Added a custom iASL macro __EXPECT__(iASL-Error-Code). This macro 
    925 can be used anywhere in a given ASL file to configure iASL to expect an 
    926 iASL compiler error code on the line where this macro was placed. If the 
    927 error code does not exist, an error is generated. This is intended to be 
    928 used for ACPICA's ASL test suite, but can be used by ASL developers as 
    929 well.
    930 
    931 iASL: table compiler: Implemented IVRS IVHD type 11h parsing. The AMD 
    932 IVRS table parsing supported only IVHD type 10h structures. Parsing an 
    933 IVHD type 11h caused the iasl to report unknown subtable type. Add 
    934 necessary structure definition for IVHD type 11h and apply correct 
    935 parsing method based on subtable type. Micha? ?ygowski.
    936 
    937 iASL: table compiler: Fixed IVRS table IVHD type 10h reserved field name 
    938 According to AMD IOMMU Specification Revision 3.05 the reserved field 
    939 should be IOMMU Feature Reporting. Change the name of the field to the 
    940 correct one. Micha? ?ygowski.
    941 
    942 acpiexec: removed redeclaration of AcpiGbl_DbOpt_NoRegionSupport. Patch 
    943 based on suggestions by David Seifert and Benjamin Berg.
    944 
    945 iASL: table compiler: removed an unused variable (DtCompilerParserResult) 
    946 causing linking errors. Patch based on suggestions by David Seifert and 
    947 Benjamin Berg.
    948 
    949 iASL: table compiler: make LexBuffer static to avoid linking errors in 
    950 newer compilers. Patch based on suggestions by David Seifert and Benjamin 
    951 Berg.
    952 
    953 iASL: fixed type matching between External and Named objects. External 
    954 object types can only be expressed with ACPI object type values that are 
    955 defined in the ACPI spec. However, iASL uses ACPI object type values that 
    956 are local to ACPICA in addition to the values defined in the ACPI spec. 
    957 This change implements type matching to map some object type values 
    958 specific to ACPICA to ones that are defined in the ACPI spec.
    959 
    960 iASL: Dropped the type mismatch compiler error that can arise from 
    961 External declarations to a warning. This warning can occur when there is 
    962 a type difference between the external declaration and the actual object 
    963 declaration (when compiling multiple files/modules simultaneously).
    964 
    965 iASL: removed an incorrect error message regarding externals. This change 
    966 removes an incorrect error that is emitted when a duplicate external 
    967 declaration does not contain a type that opens a scope. This is incorrect 
    968 because the duplicate external with conflicting types are already caught 
    969 by iASL and it doesn't make any sense to enforce what this conflicting 
    970 type should be.
    971 
    972 AcpiXtract: fix AX_IS_TABLE_BLOCK_HEADER macro. This macro needs to be 
    973 surrounded by parens. Otherwise, a logical statement that applies a 
    974 logical not operator to this macro could result in a computation that 
    975 applies the operator to the left side of the logical and but not the 
    976 right. Reported-by: John Levon <john.levon (a] joyent.com>
    977 
    978 Fixed a problem with the local version of sprint(): On 32-bit, the 
    979 provided sprintf() is non-functional: with a size of ACPI_UINT32_MAX, 
    980 String + Size will wrap, meaning End < Start, and 
    981 AcpiUtBoundStringOutput() will never output anything as a result. The 
    982 symptom seen of this was acpixtract failing to output anything -- with a 
    983 custom build that included utprint.c. Signed-off-by: John Levon 
    984 <john.levon (a] joyent.com>
    985 
    986 iASL: Changed the "PlatformCommChannel" ASL keyword to "PCC", as per the 
    987 ACPI specification.
    988 
    989 
    990 ----------------------------------------
    991 14 February 2020. Summary of changes for version 20200214:
    992 
    993 
    994 1) ACPICA kernel-resident subsystem:
    995 
    996 Enable sleep button on ACPI legacy wake:  Hibernation (S4) is triggered 
    997 in a guest when it receives a sleep trigger from the hypervisor. When the 
    998 guest resumes from this power state, it does not see the SleepEnabled 
    999 bit. In other words, the sleepHibernation (S4) is triggered in a guest 
   1000 when it receives a sleep trigger from the hypervisor. When the guest 
   1001 resumes from this power state, it does not see the SleepEnabled bit. In 
   1002 other words, the sleep button is not enabled on waking from an S4 state. 
   1003 This causes subsequent invocation of sleep state to fail since the 
   1004 guest.button is not enabled on waking from an S4 state. This causes 
   1005 subsequent invocation of sleep state to fail in the guest. Fix this 
   1006 problem by enabling the sleep button in ACPI legacy wake. From Anchal 
   1007 Agarwal <anchalag (a] amazon.com>.
   1008 
   1009 Implemented a new external interface, AcpiAnyGpeStatusSet (). To be used 
   1010 for checking the status bits of all enabled GPEs in one go. It is needed 
   1011 to distinguish spurious SCIs from genuine ones when deciding whether or 
   1012 not to wake up the system from suspend-to-idle.
   1013 
   1014 Generic Makefiles: replace HOST name with ACPI_HOST: Some machines may be 
   1015 using HOST in their environment to represent the host name for their 
   1016 machines. Avoid this problem by renaming this variable from HOST to 
   1017 ACPI_HOST.
   1018 
   1019 MSVC 2017 project files: Enable multiprocessor generation to improve 
   1020 build performance.
   1021 
   1022 Added a macro to get the byte width of a Generic Address structure. New 
   1023 ACPI_ACCESS_BYTE_WIDTH is in addition to the existing 
   1024 ACPI_ACCESS_BIT_WIDTH. From Mika Westerberg.
   1025 
   1026 
   1027 2) iASL Compiler/Disassembler and ACPICA tools: 
   1028 
   1029 iASL: Implemented full support for the (optional, rarely used) ReturnType 
   1030 and ParameterTypesList for the Method, Function, and External operators. 
   1031 For Method declarations, the number of individual ParameterTypes must 
   1032 match the declaration of the number of arguments (NumArgs). This also 
   1033 Fixes a problem with the External operator where extra/extraneous bytes 
   1034 were emitted in the AML code if the optional ReturnType/ParameterTypes 
   1035 were specified for a MethodObj declaration.
   1036 New error message:
   1037 1) Method NumArgs count does not match length of ParameterTypes list
   1038 
   1039 iASL: Implemented detection of type mismatches between External 
   1040 declarations and named object declarations. Also, detect type mismatches 
   1041 between multiple External declarations of the same Name.
   1042 New error messages:
   1043 1) Type mismatch between external declaration and actual object 
   1044 declaration detected
   1045 2) Type mismatch between multiple external declarations detected
   1046 
   1047 iASL: Implemented new error messages for External operators that specify 
   1048 a ReturnType and/or ParameterTypesList for any object type other than 
   1049 control methods (MethodObj).
   1050 New error messages:
   1051 1) Return type is only allowed for Externals declared as MethodObj
   1052 2) Parameter type is only allowed for Externals declared as MethodObj
   1053 
   1054 iASL: Implemented two new remark/warning messages for ASL code that 
   1055 creates named objects from within a control method. This is very 
   1056 inefficient since the named object must be created and deleted each time 
   1057 the method is executed.
   1058 New messages:
   1059 1) Creation of named objects within a method is highly inefficient, use 
   1060 globals or method local variables instead (remark)
   1061 2) Static OperationRegion should be declared outside control method 
   1062 (warning)
   1063 
   1064 iASL: Improved illegal forward reference detection by adding support to 
   1065 detect forward-reference method invocations.
   1066 
   1067 iASL: Detect and issue an error message for NameStrings that contain too 
   1068 many individual NameSegs (>255). This is an AML limitation that is 
   1069 defined in the ACPI specification.
   1070 New message:
   1071 1) NameString contains too many NameSegs (>255)
   1072 
   1073 acpidump: windows: use GetSystemFirmwareTable API for all tables except 
   1074 SSDT. By using this API, acpidump is able to get all tables in the XSDT
   1075 
   1076 iASL: Removed unused parser file and updated msvc2017 project files. 
   1077 Removed the obsolete AslCompiler.y from the repository.
   1078 
   1079 iASL: msvc2017: Fixed macros in the file dependency list to prevent 
   1080 unnecessary rebuilds. Replace %(Directory) with %(RelativeDir).
   1081 
   1082 Disassembler: Prevent spilling error messages to the output file. All 
   1083 errors are directed to the console instead. These error messages 
   1084 prevented re-compilation of the resulting disassembled ASL output file 
   1085 (.DSL).
   1086 
   1087 
   1088 ----------------------------------------
   1089 10 January 2020. Summary of changes for version 20200110:
   1090 
   1091 
   1092 1) ACPICA kernel-resident subsystem:
   1093 
   1094 Updated all copyrights to 2020. This affects all ACPICA source code 
   1095 modules.
   1096 
   1097 
   1098 2) iASL Compiler/Disassembler and ACPICA tools:
   1099 
   1100 ASL test suite (ASLTS): Updated all copyrights to 2020.
   1101 
   1102 Tools and utilities: Updated all signon copyrights to 2020.
   1103 
   1104 iASL: fix forward reference analysis for field declarations. Fixes 
   1105 forward reference analysis for field declarations by searching the 
   1106 parent scope for the named object when the object is not present in 
   1107 the current scope.
   1108 
   1109 iASL: Improved the error output for ALREADY_EXISTS errors. Now, the 
   1110 full pathname of the name that already exists is printed.
   1111 
   1112 iASL: Enhance duplicate Case() detection for buffers. Add check for 
   1113 buffers with no initializer list (these buffers will be filled with 
   1114 zeros at runtime.)
   1115 
   1116 
   1117 ----------------------------------------
   1118 13 December 2019. Summary of changes for version 20191213:
   1119 
   1120 
   1121 1) ACPICA kernel-resident subsystem:
   1122 
   1123 Return a Buffer object for all fields created via the CreateField
   1124 operator. Previously, an Integer would be returned if the size of
   1125 the field was less than or equal to the current size of an Integer.
   1126 Although this goes against the ACPI specification, it provides
   1127 compatibility with other ACPI implementations. Also updated the
   1128 ASLTS test suite to reflect this new behavior.
   1129 
   1130 2) iASL Compiler/Disassembler and ACPICA tools:
   1131 
   1132 iASL: Implemented detection of (and throw an error for) duplicate
   1133 values for Case statements within a single Switch statement. Duplicate
   1134 Integers, Strings, and Buffers are supported.
   1135 
   1136 iASL: Fix error logging issue during multiple file compilation --
   1137 Switch to the correct input file during error node creation.
   1138 
   1139 iASL: For duplicate named object creation, now emit an error instead
   1140 of a warning - since this will cause a runtime error.
   1141 
   1142 AcpiSrc: Add unix line-ending support for non-Windows builds.
   1143 
   1144 iASL: Add an error condition for an attempt to create a NameString
   1145 with > 255 NameSegs (the max allowable via the AML definition).
   1146 
   1147 
   1148 ----------------------------------------
   1149 18 October 2019. Summary of changes for version 20191018:
   1150 
   1151 
   1152 1) ACPICA kernel-resident subsystem:
   1153 
   1154 Debugger: added a new command: ?Fields [address space ID]?. This command 
   1155 dumps the contents of all field units that are defined within the 
   1156 namespace with a particular address space ID.
   1157 
   1158 Modified the external interface AcpiLoadTable() to return a table index. 
   1159 This table index can be used for unloading a table for debugging.
   1160     ACPI_STATUS
   1161     AcpiLoadTable (
   1162         ACPI_TABLE_HEADER       *Table,
   1163         UINT32                  *TableIndex))
   1164 
   1165 Implemented a new external interface: AcpiUnloadTable() This new function 
   1166 takes a table index as an argument and unloads the table. Useful for 
   1167 debugging only.
   1168     ACPI_STATUS
   1169     AcpiUnloadTable (
   1170         UINT32                  TableIndex))
   1171 
   1172 Ported the AcpiNames utility to use the new table initialization 
   1173 sequence. The utility was broken before this change. Also, it was 
   1174 required to include most of the AML interpreter into the utility in order 
   1175 to process table initialization (module-level code execution.)
   1176 
   1177 Update for results from running Clang V8.0.1. This fixes all "dead 
   1178 assignment" warnings. There are still several "Dereference of NULL 
   1179 pointer" warnings, but these have been found to be false positive 
   1180 warnings.
   1181 
   1182 
   1183 2) iASL Compiler/Disassembler and ACPICA tools:
   1184 
   1185 iASL: numerous table compiler changes to ensure that the usage of 
   1186 yacc/bison syntax is POSIX-compliant.
   1187 
   1188 iASL/disassembler: several simple bug fixes in the data table 
   1189 disassembler.
   1190 
   1191 Acpiexec: expanded the initialization file (the -fi option) to initialize 
   1192 strings, buffers, packages, and field units.
   1193 
   1194 
   1195 ----------------------------------------
   1196 16 August 2019. Summary of changes for version 20190816:
   1197 
   1198 This release is available at https://acpica.org/downloads
   1199 
   1200 
   1201 1) ACPICA kernel-resident subsystem:
   1202 
   1203 Modified the OwnerId mechanism to allow for more Owner Ids. The previous 
   1204 limit was 256 Ids, now it is 4096 Ids. This prevents OWNER_ID_LIMIT 
   1205 exceptions on machines with a large number of initialization threads, 
   1206 many CPU cores and nested initialization control methods.
   1207 
   1208 Introduced acpi_dispatch_gpe() as a wrapper around AcpiEvDetectGpe() for 
   1209 checking if the given GPE (as represented by a GPE device handle and a 
   1210 GPE number) is currently active and dispatching it (if that's the case) 
   1211 outside of interrupt context.
   1212 
   1213 Table load: exit the interpreter before initializing objects within the 
   1214 new table This prevents re-acquiring the interpreter lock when loading 
   1215 tables
   1216 
   1217 Added the "Windows 2019" string to the _OSI support (version 1903). Jung-
   1218 uk Kim
   1219 
   1220 Macros: removed pointer math on a null pointer. Causes warnings on some 
   1221 compilers and/or tools. Changed ACPI_TO_POINTER to use ACPI_CAST_PTR 
   1222 instead of using arithmetic.
   1223 
   1224 Fully deployed the ACPI_PRINTF_LIKE macro. This macro was not being used 
   1225 across all "printf-like" internal functions. Also, cleanup all calls to 
   1226 such functions (both in 32-bit mode and 64-bit mode) now that they are 
   1227 analyzed by the gcc compiler via ACPI_PRINTF_LIKE.
   1228 
   1229 
   1230 2) iASL Compiler/Disassembler and ACPICA tools:
   1231 
   1232 iASL: implemented a new data table compiler flex/bison front-end. This 
   1233 change is internal and is not intended to result in changes to the 
   1234 compiled code. This new compiler front-end can be invoked using the -tp 
   1235 option for now, until the old mechanism is removed.
   1236 
   1237 ASLTS: Implemented a new data table compiler test suite. This test suite 
   1238 generates all table templates and compile/disassemble/re-compile/binary-
   1239 compare each file. 
   1240 
   1241 iASL: return -1 if AML files were not generated due to compiler errors
   1242 
   1243 iASL: added a warning on use of the now-legacy ASL Processor () keyword.
   1244 
   1245 iASL: added an error on _UID object declaration that returns a String 
   1246 within a Processor () declaration. A _UID for a processor must be an 
   1247 Integer.
   1248 
   1249 iASL: added a null terminator to name strings that consist only of 
   1250 multiple parent prefixes (^)
   1251 
   1252 iASL: added support to compile both ASL and data table files in a single 
   1253 command.
   1254 
   1255 Updated the tool generation project files that were recently migrated to 
   1256 MSVC 2017 to eliminate all new warnings. The new project files appear in 
   1257 the directory \acpica\generate\msvc2017. This change effectively 
   1258 deprecates the older project files in \acpica\generate\msvc9.
   1259 
   1260 
   1261 ----------------------------------------
   1262 03 July 2019. Summary of changes for version 20190703:
   1263 
   1264 
   1265 1) ACPICA kernel-resident subsystem:
   1266 
   1267 Remove legacy module-level support code. There were still some remnants 
   1268 of the legacy module-level code executions. Since we no longer support 
   1269 this option, this is essentially dead code and has been removed from the 
   1270 ACPICA source.
   1271 
   1272 iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root 
   1273 scope. If these named objects are declared outside the root scope, they 
   1274 will not be invoked by any host Operating System.
   1275 
   1276 Clear status of GPEs on first direct enable. ACPI GPEs (other than the EC 
   1277 one) can be enabled in two situations. First, the GPEs with existing _Lxx 
   1278 and _Exx methods are enabled implicitly by ACPICA during system 
   1279 initialization.  Second, the GPEs without these methods (like GPEs listed 
   1280 by _PRW objects for wakeup devices) need to be enabled directly by the 
   1281 code that is going to use them (e.g. ACPI power management or device 
   1282 drivers).
   1283 
   1284 In the former case, if the status of a given GPE is set to start with, 
   1285 its handler method (either _Lxx or _Exx) needs to be invoked to take care 
   1286 of the events (possibly) signaled before the GPE was enabled. In the 
   1287 latter case, however, the first caller of AcpiEnableGpe() for a given GPE 
   1288 should not be expected to care about any events that might be signaled 
   1289 through it earlier.  In that case, it is better to clear the status of 
   1290 the GPE before enabling it, to prevent stale events from triggering 
   1291 unwanted actions (like spurious system resume, for example).
   1292 
   1293 For this reason, modify AcpiEvAddGpeReference() to take an additional 
   1294 boolean argument indicating whether or not the GPE status needs to be 
   1295 cleared when its reference counter changes from zero to one and make 
   1296 AcpiEnableGpe() pass TRUE to it through that new argument.
   1297 
   1298 
   1299 2) iASL Compiler/Disassembler and ACPICA tools:
   1300 
   1301 The tool generation process has been migrated to MSVC 2017, and all 
   1302 project files have been upgraded. The new project files appear in the 
   1303 directory \acpica\generate\msvc2017. This change effectively deprecates 
   1304 the older project files in \acpica\generate\msvc9.
   1305 
   1306 iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root 
   1307 scope. If these named objects are declared outside the root scope, they 
   1308 will not be invoked by any host Operating System
   1309 
   1310 ----------------------------------------
   1311 09 May 2019. Summary of changes for version 20190509:
   1312 
   1313 
   1314 1) ACPICA kernel-resident subsystem:
   1315 
   1316 Revert commit  6c43e1a ("ACPICA: Clear status of GPEs before enabling 
   1317 them") that causes problems with Thunderbolt controllers to occur if a 
   1318 dock device is connected at init time (the xhci_hcd and thunderbolt 
   1319 modules crash which prevents peripherals connected through them from 
   1320 working). Commit 6c43e1a effectively causes commit ecc1165b8b74 ("ACPICA: 
   1321 Dispatch active GPEs at init time") to get undone, so the problem 
   1322 addressed by commit ecc1165b8b74 appears again as a result of it.
   1323 
   1324 
   1325 2) iASL Compiler/Disassembler and ACPICA tools:
   1326 
   1327 Reverted iASL: Additional forward reference detection. This change 
   1328 reverts forward reference detection for field declarations. The feature 
   1329 unintentionally emitted AML bytecode with incorrect package lengths for 
   1330 some ASL code related to Fields and OperationRegions. This malformed AML 
   1331 can cause systems to crash
   1332 during boot. The malformed AML bytecode is emitted in iASL version 
   1333 20190329 and 20190405.
   1334 
   1335 iASL: improve forward reference detection. This change improves forward 
   1336 reference detection for named objects inside of scopes. If a parse object 
   1337 has the OP_NOT_FOUND_DURING_LOAD set, it means that Op is a reference to 
   1338 a named object that is declared later in the AML bytecode. This is 
   1339 allowed if the reference is inside of a method and the declaration is 
   1340 outside of a method like so:
   1341 
   1342 DefinitionBlock(...)
   1343 {
   1344     Method (TEST)
   1345     {
   1346         Return (NUM0)
   1347     }
   1348     Name (NUM0,0)
   1349 }
   1350 
   1351 However, if the declaration and reference are both in the same method or 
   1352 outside any methods, this is a forward reference and should be marked as 
   1353 an error because it would result in runtime errors.
   1354 
   1355 DefinitionBlock(...)
   1356 {
   1357     Name (BUFF, Buffer (NUM0) {}) // Forward reference
   1358     Name (NUM0, 0x0)
   1359 
   1360     Method (TEST)
   1361     {
   1362         Local0 = NUM1
   1363         Name (NUM1, 0x1) // Forward reference
   1364         return (Local0)
   1365     }
   1366 }
   1367 
   1368 iASL: Implemented additional buffer overflow analysis for BufferField 
   1369 declarations. Check if a buffer index argument to a create buffer field 
   1370 operation is beyond the end of the target buffer.
   1371 
   1372 This affects these AML operators:
   1373  
   1374    AML_CREATE_FIELD_OP
   1375    AML_CREATE_BIT_FIELD_OP
   1376    AML_CREATE_BYTE_FIELD_OP
   1377    AML_CREATE_WORD_FIELD_OP
   1378    AML_CREATE_DWORD_FIELD_OP
   1379    AML_CREATE_QWORD_FIELD_OP
   1380 
   1381  There are three conditions that must be satisfied in order to allow this 
   1382 validation at compile time:
   1383  
   1384    1) The length of the target buffer must be an integer constant
   1385    2) The index specified in the create* must be an integer constant
   1386    3) For CreateField, the bit length argument must be non-zero.
   1387 
   1388 Example:
   1389     Name (BUF1, Buffer() {1,2})
   1390     CreateField (BUF1, 7, 9, CF03)  // 3: ERR
   1391 
   1392 dsdt.asl     14:     CreateField (BUF1, 7, 9, CF03)  // 3: ERR
   1393 Error    6165 -                           ^ Buffer index beyond end of 
   1394 target buffer
   1395 
   1396 
   1397 ----------------------------------------
   1398 05 April 2019. Summary of changes for version 20190405:
   1399 
   1400 
   1401 1) ACPICA kernel-resident subsystem:
   1402 
   1403 Event Manager: History: Commit 18996f2db918 ("ACPICA: Events: Stop 
   1404 unconditionally clearing ACPI IRQs during suspend/resume") was added 
   1405 earlier to stop clearing of event status bits unconditionally on suspend 
   1406 and resume paths. Though this change fixed an issue on suspend path, it 
   1407 introduced regressions on several resume paths. In the case of S0ix, 
   1408 events are enabled as part of device suspend path. If status bits for the 
   1409 events are set when they are enabled, it could result in premature wake 
   1410 from S0ix. If status is cleared for any event that is being enabled so 
   1411 that any stale events are cleared out. In case of S0ix, events are 
   1412 enabled as part of device suspend path. If status bits for the events are 
   1413 set when they are enabled, it could result in premature wake from S0ix.
   1414 
   1415 This change ensures that status is cleared for any event that is being 
   1416 enabled so that any stale events are cleared out.
   1417 
   1418 
   1419 2) iASL Compiler/Disassembler and ACPICA tools:
   1420 
   1421 iASL: Implemented an enhanced multiple file compilation that combines 
   1422 named objects from all input files to a single namespace. With this 
   1423 feature, any unresolved external declarations as well as duplicate named 
   1424 object declarations can be detected during compilation rather than 
   1425 generating errors much later at runtime. The following commands are 
   1426 examples that utilize this feature:
   1427     iasl dsdt.asl ssdt.asl
   1428     iasl dsdt.asl ssdt1.asl ssdt2.asl
   1429     iasl dsdt.asl ssdt*.asl
   1430 
   1431 ----------------------------------------
   1432 29 March 2019. Summary of changes for version 20190329:
   1433 
   1434 
   1435 1) ACPICA kernel-resident subsystem:
   1436 
   1437 Namespace support: Remove the address nodes from global list after method 
   1438 termination. The global address list contains pointers to namespace nodes 
   1439 that represent Operation Regions. This change properly removes Operation 
   1440 Region namespace nodes that are declared dynamically during method 
   1441 execution.
   1442 
   1443 Linux: Use a different debug default than ACPICA. There was a divergence 
   1444 between Linux and the ACPICA codebases. In order to resolve this 
   1445 divergence, Linux now declares its own debug default in aclinux.h
   1446 
   1447 Renamed some internal macros to improve code understanding and 
   1448 maintenance. The macros below all operate on single 4-character ACPI 
   1449 NameSegs, not generic strings (old -> new):
   1450     ACPI_NAME_SIZE    -> ACPI_NAMESEG_SIZE
   1451     ACPI_COMPARE_NAME -> ACPI_COMPARE_NAMESEG
   1452     ACPI_MOVE_NAME    -> ACPI_COPY_NAMESEG
   1453 
   1454 Fix for missing comma in array declaration for the AcpiGbl_GenericNotify 
   1455 table.
   1456 
   1457 Test suite: Update makefiles, add PCC operation region support
   1458 
   1459 
   1460 2) iASL Compiler/Disassembler and Tools:
   1461 
   1462 iASL: Implemented additional illegal forward reference detection. Now 
   1463 detect and emit an error upon detection of a forward reference from a 
   1464 Field to an Operation Region. This will fail at runtime if allowed to 
   1465 pass the compiler.
   1466 
   1467 AcpiExec: Add an address list check for dynamic Operation Regions. This 
   1468 feature performs a sanity test for each node the global address list. 
   1469 This is done in order to ensure that all dynamic operation regions are 
   1470 properly removed from the global address list and no dangling pointers 
   1471 are left behind.
   1472 
   1473 Disassembler: Improved generation of resource pathnames. This change 
   1474 improves the code that generates resource descriptor and resource tag 
   1475 pathnames. The original code used a bunch of str* C library functions 
   1476 that caused warnings on some compilers.
   1477 
   1478 iASL: Removed some uses of strncpy and replaced with memmove. The strncpy 
   1479 function can overwrite buffers if the calling code is not very careful. 
   1480 In the case of generating a module/table header, use of memmove is a 
   1481 better implementation.
   1482 
   1483 
   1484 3) Status of new features that have not been completed at this time:
   1485 
   1486 iASL: Implementing an enhanced multiple file compilation into a single 
   1487 namespace feature (Status): This feature will be released soon, and 
   1488 allows multiple ASL files to be compiled into the same single namespace. 
   1489 By doing so, any unresolved external declarations as well as duplicate 
   1490 named object declarations can be detected during compilation (rather than 
   1491 later during runtime). The following commands are examples that utilize 
   1492 this feature:
   1493     iasl dsdt.asl ssdt.asl
   1494     iasl dsdt.asl ssdt1.asl ssdt2.asl
   1495     iasl dsdt.asl ssdt*.asl
   1496 
   1497 ASL tutorial status: Feedback is being gathered internally and the 
   1498 current plan is to publish this tutorial on the ACPICA website after a 
   1499 final review by a tech writer.
   1500 
   1501 ----------------------------------------
   1502 15 February 2019. Summary of changes for version 20190215:
   1503 
   1504 
   1505 0) Support for ACPI specification version 6.3:
   1506 
   1507 Add PCC operation region support for the AML interpreter. This adds PCC 
   1508 operation region support in the AML interpreter and a default handler for 
   1509 acpiexec. The change also renames the PCC region address space keyword to 
   1510 PlatformCommChannel.
   1511 
   1512 Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG. 
   1513 These methods provide OSPM with health information and device boot 
   1514 status.
   1515 
   1516 PDTT: Add TriggerOrder to the PCC Identifier structure. The field value 
   1517 defines if the trigger needs to be invoked by OSPM before or at the end 
   1518 of kernel crash dump processing/handling operation.
   1519 
   1520 SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT 
   1521 is used for describing devices such as heterogeneous processors, 
   1522 accelerators, GPUs, and IO devices with integrated compute or DMA 
   1523 engines.
   1524 
   1525 MADT: Add support for statistical profiling in GICC. Statistical 
   1526 profiling extension (SPE) is an architecture-specific feature for ARM.
   1527 
   1528 MADT: Add online capable flag. If this bit is set, system hardware 
   1529 supports enabling this processor during OS runtime.
   1530 
   1531 New Error Disconnect Recover Notification value. There are a number of 
   1532 scenarios where system Firmware in collaboration with hardware may 
   1533 disconnect one or more devices from the rest of the system for purposes 
   1534 of error containment. Firmware can use this new notification value to 
   1535 alert OSPM of such a removal.
   1536 
   1537 PPTT: New additional fields in Processor Structure Flags. These flags 
   1538 provide more information about processor topology.
   1539 
   1540 NFIT/Disassembler: Change a field name from "Address Range" to "Region 
   1541 Type".
   1542 
   1543 HMAT updates: make several existing fields to be reserved as well as 
   1544 rename subtable 0 to "memory proximity domain attributes".
   1545 
   1546 GTDT: Add support for new GTDT Revision 3. This revision adds information 
   1547 for the EL2 timer.
   1548 
   1549 iASL: Update the HMAT example template for new fields.
   1550 
   1551 iASL: Add support for the new revision of the GTDT (Rev 3).
   1552 
   1553 
   1554 1) ACPICA kernel-resident subsystem:
   1555 
   1556 AML Parser: fix the main AML parse loop to correctly skip erroneous 
   1557 extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2-
   1558 byte extended opcodes. If an error occurs during an AML table load, the 
   1559 AML parser will continue loading the table by skipping the offending 
   1560 opcode. This implements a "load table at any cost" philosophy.
   1561 
   1562 
   1563 2) iASL Compiler/Disassembler and Tools:
   1564 
   1565 iASL: Add checks for illegal object references, such as a reference 
   1566 outside of method to an object within a method. Such an object is only 
   1567 temporary.
   1568 
   1569 iASL: Emit error for creation of a zero-length operation region. Such a 
   1570 region is rather pointless. If encountered, a runtime error is also 
   1571 implemented in the interpreter.
   1572 
   1573 Debugger: Fix a possible fault with the "test objects" command.
   1574 
   1575 iASL: Makefile: support parent directory filenames containing embedded 
   1576 spaces.
   1577 
   1578 iASL: Update the TPM2 template to revision 4.
   1579 
   1580 iASL: Add the ability to report specific warnings or remarks as errors.
   1581 
   1582 Disassembler: Disassemble OEMx tables as actual AML byte code. 
   1583 Previously, these tables were treated as "unknown table".
   1584 
   1585 iASL: Add definition and disassembly for TPM2 revision 3.
   1586 
   1587 iASL: Add support for TPM2 rev 3 compilation.
   1588 
   1589 
   1590 ----------------------------------------
   1591 08 January 2019. Summary of changes for version 20190108:
   1592 
   1593 
   1594 1) ACPICA kernel-resident subsystem:
   1595 
   1596 Updated all copyrights to 2019. This affects all source code modules.
   1597 
   1598 
   1599 2) iASL Compiler/Disassembler and Tools:
   1600 
   1601 ASL test suite (ASLTS): Updated all copyrights to 2019.
   1602 
   1603 Tools: Updated all signon copyrights to 2019.
   1604 
   1605 AcpiExec: Added a new option to dump extra information concerning any 
   1606 memory leaks detected by the internal object/cache tracking mechanism. -
   1607 va
   1608 
   1609 iASL: Updated the table template for the TPM2 table to the newest version 
   1610 of the table (Revision 4)
   1611 
   1612 
   1613 ----------------------------------------
   1614 13 December 2018. Summary of changes for version 20181213:
   1615 
   1616 
   1617 1) ACPICA Kernel-resident Subsystem:
   1618 
   1619 Fixed some buffer length issues with the GenericSerialBus, related to two 
   1620 of the bidirectional protocols: AttribRawProcessBytes and AttribRawBytes, 
   1621 which are rarely seen in the field. For these, the LEN field of the ASL 
   1622 buffer is now ignored. Hans de Goede
   1623 
   1624 Implemented a new object evaluation trace mechanism for control methods 
   1625 and data objects. This includes nested control methods. It is 
   1626 particularly useful for examining the ACPI execution during system 
   1627 initialization since the output is relatively terse. The flag below 
   1628 enables the output of the trace via the ACPI_DEBUG_PRINT_RAW interface:
   1629    #define ACPI_LV_EVALUATION          0x00080000
   1630 
   1631 Examples:
   1632    Enter evaluation       :  _SB.PCI0._INI (Method)
   1633    Exit evaluation        :  _SB.PCI0._INI
   1634    Enter evaluation       :  _OSI (Method)
   1635    Exit evaluation        :  _OSI
   1636    Enter evaluation       :  _SB.PCI0.TEST (Method)
   1637    Nested method call     :     _SB.PCI0.NST1
   1638    Exit nested method     :     _SB.PCI0.NST1
   1639    Exit evaluation        :  _SB.PCI0.TEST
   1640 
   1641 Added two recently-defined _OSI strings. See 
   1642 https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-
   1643 osi.
   1644    "Windows 2018"
   1645    "Windows 2018.2"
   1646 
   1647 Update for buffer-to-string conversions via the ToHexString ASL operator. 
   1648 A "0x" is now prepended to each of the hex values in the output string. 
   1649 This provides compatibility with other ACPI implementations. The ACPI 
   1650 specification is somewhat vague on this issue.
   1651    Example output string after conversion: 
   1652 "0x01,0x02,0x03,0x04,0x05,0x06"
   1653 
   1654 Return a run-time error for TermArg expressions within individual package 
   1655 elements. Although this is technically supported by the ASL grammar, 
   1656 other ACPI implementations do not support this either. Also, this fixes a 
   1657 fault if this type of construct is ever encountered (it never has been).
   1658 
   1659 
   1660 2) iASL Compiler/Disassembler and Tools:
   1661 
   1662 iASL: Implemented a new compile option (-ww) that will promote individual 
   1663 warnings and remarks to errors. This is intended to enhance the firmware 
   1664 build process.
   1665 
   1666 AcpiExec: Implemented a new command-line option (-eo) to support the new 
   1667 object evaluation trace mechanism described above.
   1668 
   1669 Disassembler: Added support to disassemble OEMx tables as AML/ASL tables 
   1670 instead of a "unknown table" message.
   1671 
   1672 AcpiHelp: Improved support for the "special" predefined names such as 
   1673 _Lxx, _Exx, _EJx, _T_x, etc. For these, any legal hex value can now be 
   1674 used for "xx" and "x".
   1675 
   1676 ----------------------------------------
   1677 31 October 2018. Summary of changes for version 20181031:
   1678 
   1679 
   1680 An Operation Region regression was fixed by properly adding address 
   1681 ranges to a global list during initialization. This allows OS to 
   1682 accurately check for overlapping regions between native devices (such as 
   1683 PCI) and Operation regions as well as checking for region conflicts 
   1684 between two Operation Regions.
   1685 
   1686 Added support for the 2-byte extended opcodes in the code/feature that 
   1687 attempts to continue parsing during the table load phase. Skip parsing 
   1688 Device declarations (and other extended opcodes) when an error occurs 
   1689 during parsing. Previously, only single-byte opcodes were supported.
   1690 
   1691 Cleanup: Simplified the module-level code support by eliminating a 
   1692 useless global variable (AcpiGbl_GroupModuleLeveCode).
   1693 
   1694 
   1695 2) iASL Compiler/Disassembler and Tools:
   1696 
   1697 iASL/Preprocessor: Fixed a regression where an incorrect use of ACPI_FREE 
   1698 could cause a fault in the preprocessor. This was an inadvertent side-
   1699 effect from moving more allocations/frees to the local cache/memory 
   1700 mechanism.
   1701 
   1702 iASL: Enhanced error detection by validating that all NameSeg elements 
   1703 within a NamePatch actually exist. The previous behavior was spotty at 
   1704 best, and such errors could be improperly ignored at compiler time (never 
   1705 at runtime, however. There are two new error messages, as shown in the 
   1706 examples below:
   1707 
   1708 dsdt.asl     33:     CreateByteField (TTTT.BXXX, 1, CBF1)
   1709 Error    6161 -                              ^ One or more objects within 
   1710 the Pathname do not exist (TTTT.BXXX)
   1711 
   1712 dsdt.asl     34:     CreateByteField (BUF1, UUUU.INT1, BBBB.CBF1)
   1713 Error    6160 -        One or more prefix Scopes do not exist ^  
   1714 (BBBB.CBF1)
   1715 
   1716 iASL: Disassembler/table-compiler: Added support for the static data 
   1717 table TPM2 revision 3 (an older version of TPM2). The support has been 
   1718 added for the compiler and the disassembler.
   1719 
   1720 Fixed compilation of DOS format data table file on Unix/Linux systems. 
   1721 iASL now properly detects line continuations (\) for DOS format data 
   1722 table definition language files on when executing on Unix/Linux.
   1723 
   1724 ----------------------------------------
   1725 03 October 2018. Summary of changes for version 20181003:
   1726 
   1727 
   1728 2) iASL Compiler/Disassembler and Tools:
   1729 
   1730 Fixed a regression introduced in version 20180927 that could cause the 
   1731 compiler to fault, especially with NamePaths containing one or more 
   1732 carats (^). Such as: ^^_SB_PCI0
   1733 
   1734 Added a new remark for the Sleep() operator when the sleep time operand 
   1735 is larger than one second. This is a very long time for the ASL/BIOS code 
   1736 and may not be what was intended by the ASL writer.
   1737 
   1738 ----------------------------------------
   1739 27 September 2018. Summary of changes for version 20180927:
   1740 
   1741 
   1742 1) ACPICA kernel-resident subsystem:
   1743 
   1744 Updated the GPE support to clear the status of all ACPI events when 
   1745 entering any/all sleep states in order to avoid premature wakeups. In 
   1746 theory, this may cause some wakeup events to be missed, but the 
   1747 likelihood of this is small. This change restores the original behavior 
   1748 of the ACPICA code in order to fix a regression seen from the previous 
   1749 "Stop unconditionally clearing ACPI IRQs during suspend/resume" change. 
   1750 This regression could cause some systems to incorrectly wake immediately.
   1751 
   1752 Updated the execution of the _REG methods during initialization and 
   1753 namespace loading to bring the behavior into closer conformance to the 
   1754 ACPI specification and other ACPI implementations:
   1755 
   1756 From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
   1757     "Control methods must assume all operation regions are inaccessible 
   1758 until the _REG(RegionSpace, 1) method is executed"
   1759 
   1760     "The exceptions to this rule are:
   1761 1.  OSPM must guarantee that the following operation regions are always 
   1762 accessible:
   1763     SystemIO operation regions.
   1764     SystemMemory operation regions when accessing memory returned by the 
   1765 System Address Map reporting interfaces."
   1766 
   1767 Since the state of both the SystemIO and SystemMemory address spaces are 
   1768 defined by the specification to never change, this ACPICA change ensures 
   1769 that now _REG is never called on them. This solves some problems seen in 
   1770 the field and provides compatibility with other ACPI implementations. An 
   1771 update to the upcoming new version of the ACPI specification will help 
   1772 clarify this behavior.
   1773 
   1774 Updated the implementation of support for the Generic Serial Bus. For the 
   1775 "bidirectional" protocols, the internal implementation now automatically 
   1776 creates a return data buffer of the maximum size (255). This handles the 
   1777 worst-case for data that is returned from the serial bus handler, and 
   1778 fixes some problems seen in the field. This new buffer is directly 
   1779 returned to the ASL. As such, there is no true "bidirectional" buffer, 
   1780 which matches the ACPI specification. This is the reason for the "double 
   1781 store" seen in the example ASL code in the specification, shown below:
   1782 
   1783 Word Process Call (AttribProcessCall):
   1784     OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
   1785     Field(TOP1, BufferAcc, NoLock, Preserve)
   1786     {
   1787         FLD1, 8, // Virtual register at command value 1.
   1788     }
   1789 
   1790     Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
   1791                              // as BUFF
   1792     CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
   1793 
   1794     Store(0x5416, DATA)               // Save 0x5416 into the data buffer
   1795     Store(Store(BUFF, FLD1), BUFF)    // Invoke a write/read Process Call 
   1796 transaction
   1797                            // This is the "double store". The write to
   1798                            // FLD1 returns a new buffer, which is stored
   1799                            // back into BUFF with the second Store.
   1800 
   1801 
   1802 2) iASL Compiler/Disassembler and Tools:
   1803 
   1804 iASL: Implemented detection of extraneous/redundant uses of the Offset() 
   1805 operator within a Field Unit list. A remark is now issued for these. For 
   1806 example, the first two of the Offset() operators below are extraneous. 
   1807 Because both the compiler and the interpreter track the offsets 
   1808 automatically, these Offsets simply refer to the current offset and are 
   1809 unnecessary. Note, when optimization is enabled, the iASL compiler will 
   1810 in fact remove the redundant Offset operators and will not emit any AML 
   1811 code for them.
   1812 
   1813     OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
   1814     Field (OPR1)
   1815     {
   1816         Offset (0),     // Never needed
   1817         FLD1, 32,
   1818         Offset (4),     // Redundant, offset is already 4 (bytes)
   1819         FLD2, 8,
   1820         Offset (64),    // OK use of Offset.
   1821         FLD3, 16,
   1822     }
   1823 dsdt.asl     14:         Offset (0),
   1824 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
   1825 operator
   1826 
   1827 dsdt.asl     16:         Offset (4),
   1828 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
   1829 operator
   1830 
   1831 ----------------------------------------
   1832 10 August 2018. Summary of changes for version 20180810:
   1833 
   1834 
   1835 1) ACPICA kernel-resident subsystem:
   1836 
   1837 Initial ACPI table loading: Attempt to continue loading ACPI tables 
   1838 regardless of malformed AML. Since migrating table initialization to the 
   1839 new module-level code support, the AML interpreter rejected tables upon 
   1840 any ACPI error encountered during table load. This is a problem because 
   1841 non-serious ACPI errors during table load do not necessarily mean that 
   1842 the entire definition block (DSDT or SSDT) is invalid. This change 
   1843 improves the table loading by ignoring some types of errors that can be 
   1844 generated by incorrect AML. This can range from object type errors, scope 
   1845 errors, and index errors.
   1846 
   1847 Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs 
   1848 during suspend/resume. The status of ACPI events is no longer cleared 
   1849 when entering the ACPI S5 system state (power off) which caused some 
   1850 systems to power up immediately after turning off power in certain 
   1851 situations. This was a functional regression. It was fixed by clearing 
   1852 the status of all ACPI events again when entering S5 (for system-wide 
   1853 suspend or hibernation the clearing of the status of all events is not 
   1854 desirable, as it might cause the kernel to miss wakeup events sometimes). 
   1855 Rafael Wysocki.
   1856 
   1857 
   1858 2) iASL Compiler/Disassembler and Tools:
   1859 
   1860 AcpiExec: Enhanced the -fi option (Namespace initialization file). Field 
   1861 elements listed in the initialization file were previously initialized 
   1862 after the table load and before executing module-level code blocks. 
   1863 Recent changes in the module-level code support means that the table load 
   1864 becomes a large control method execution. If fields are used within 
   1865 module-level code and we are executing with the -fi option, the 
   1866 initialization values were used to initialize the namespace object(s) 
   1867 only after the table was finished loading. This change Provides an early 
   1868 initialization of objects specified in the initialization file so that 
   1869 field unit values are populated during the table load (not after the 
   1870 load).
   1871 
   1872 AcpiExec: Fixed a small memory leak regression that could result in 
   1873 warnings during exit of the utility. These warnings were similar to 
   1874 these:
   1875     0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
   1876     0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
   1877 
   1878 ----------------------------------------
   1879 29 June 2018. Summary of changes for version 20180629:
   1880 
   1881 
   1882 1) iASL Compiler/Disassembler and Tools:
   1883 
   1884 iASL: Fixed a regression related to the use of the ASL External 
   1885 statement. Error checking for the use of the External() statement has 
   1886 been relaxed. Previously, a restriction on the use of External meant that 
   1887 the referenced named object was required to be defined in a different 
   1888 table (an SSDT). Thus it would be an error to declare an object as an 
   1889 external and then define the same named object in the same table. For 
   1890 example:
   1891     DefinitionBlock (...)
   1892     {
   1893         External (DEV1)
   1894         Device (DEV1){...} // This was an error
   1895     }
   1896 However, this behavior has caused regressions in some existing ASL code, 
   1897 because there is code that depends on named objects and externals (with 
   1898 the same name) being declared in the same table. This change will allow 
   1899 the ASL code above to compile without errors or warnings.
   1900 
   1901 iASL: Implemented ASL language extensions for four operators to make some 
   1902 of their arguments optional instead of required:
   1903     1) Field (RegionName, AccessType, LockRule, UpdateRule)
   1904     2) BankField (RegionName, BankName, BankValue,
   1905                 AccessType, LockRule, UpdateRule)
   1906     3) IndexField (IndexName, DataName,
   1907                 AccessType, LockRule, UpdateRule)
   1908 For the Field operators above, the AccessType, LockRule, and UpdateRule 
   1909 are now optional arguments. The default values are:
   1910         AccessType: AnyAcc
   1911         LockRule:   NoLock
   1912         UpdateRule: Preserve
   1913     4) Mutex (MutexName, SyncLevel)
   1914 For this operator, the SyncLevel argument is now optional. This argument 
   1915 is rarely used in any meaningful way by ASL code, and thus it makes sense 
   1916 to make it optional. The default value is:
   1917         SyncLevel:  0
   1918 
   1919 iASL: Attempted use of the ASL Unload() operator now results in the 
   1920 following warning:
   1921     "Unload is not supported by all operating systems"
   1922 This is in fact very true, and the Unload operator may be completely 
   1923 deprecated in the near future.
   1924 
   1925 AcpiExec: Fixed a regression for the -fi option (Namespace initialization 
   1926 file. Recent changes in the ACPICA module-level code support altered the 
   1927 table load/initialization sequence . This means that the table load has 
   1928 become a large method execution of the table itself. If Operation Region 
   1929 Fields are used within any module-level code and the -fi option was 
   1930 specified, the initialization values were populated only after the table 
   1931 had completely finished loading (and thus the module-level code had 
   1932 already been executed). This change moves the initialization of objects 
   1933 listed in the initialization file to before the table is executed as a 
   1934 method. Field unit values are now initialized before the table execution 
   1935 is performed.
   1936 
   1937 ----------------------------------------
   1938 31 May 2018. Summary of changes for version 20180531:
   1939 
   1940 
   1941 1) ACPICA kernel-resident Subsystem:
   1942 
   1943 Implemented additional support to help ensure that a DSDT or SSDT is 
   1944 fully loaded even if errors are incurred during the load. The majority of 
   1945 the problems that are seen is the failure of individual AML operators 
   1946 that occur during execution of any module-level code (MLC) existing in 
   1947 the table. This support adds a mechanism to abort the current ASL 
   1948 statement (AML opcode), emit an error message, and to simply move on to 
   1949 the next opcode -- instead of aborting the entire table load. This is 
   1950 different than the execution of a control method where the entire method 
   1951 is aborted upon any error. The goal is to perform a very "best effort" to 
   1952 load the ACPI tables. The most common MLC errors that have been seen in 
   1953 the field are direct references to unresolved ASL/AML symbols (referenced 
   1954 directly without the use of the CondRefOf operator to validate the 
   1955 symbol). This new ACPICA behavior is now compatible with other ACPI 
   1956 implementations.
   1957 
   1958 Interpreter: The Unload AML operator is no longer supported for the 
   1959 reasons below. An AE_NOT_IMPLEMENTED exception is returned.
   1960 1) A correct implementation on at least some hosts may not be possible.
   1961 2) Other ACPI implementations do not correctly/fully support it.
   1962 3) It requires host device driver support which is not known to exist.
   1963     (To properly support namespace unload out from underneath.)
   1964 4) This AML operator has never been seen in the field.
   1965 
   1966 Parser: Added a debug option to dump AML parse sub-trees as they are 
   1967 being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is 
   1968 ACPI_DB_PARSE_TREES.
   1969 
   1970 Debugger: Reduced the verbosity for errors incurred during table load and 
   1971 module-level code execution.
   1972 
   1973 Completed an investigation into adding a namespace node "owner list" 
   1974 instead of the current "owner ID" associated with namespace nodes. This 
   1975 list would link together all nodes that are owned by an individual 
   1976 control method. The purpose would be to enhance control method execution 
   1977 by speeding up cleanup during method exit (all namespace nodes created by 
   1978 a method are deleted upon method termination.) Currently, the entire 
   1979 namespace must be searched for matching owner IDs if (and only if) the 
   1980 method creates named objects outside of the local scope. However, by far 
   1981 the most common case is that methods create objects locally, not outside 
   1982 the method scope. There is already an ACPICA optimization in place that 
   1983 only searches the entire namespace in the rare case of a method creating 
   1984 objects elsewhere in the namespace. Therefore, it is felt that the 
   1985 overhead of adding an additional pointer to each namespace node to 
   1986 implement the owner list makes this feature unnecessary.
   1987 
   1988 
   1989 2) iASL Compiler/Disassembler and Tools:
   1990 
   1991 iASL, Disassembler, and Template generator: Implemented support for 
   1992 Revision D of the IORT table. Adds a new subtable that is used to specify 
   1993 SMMUv3 PMCGs. rmurphy-arm.
   1994 
   1995 Disassembler: Restored correct table header validation for the "special" 
   1996 ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI 
   1997 table header and must be special-cased. This was a regression that has 
   1998 been present for apparently a long time.
   1999 
   2000 AcpiExec: Reduced verbosity of the local exception handler implemented 
   2001 within acpiexec. This handler is invoked by ACPICA upon any exceptions 
   2002 generated during control method execution. A new option was added: -vh 
   2003 restores the original verbosity level if desired.
   2004 
   2005 AcpiExec: Changed the default base from decimal to hex for the -x option 
   2006 (set debug level). This simplifies the use of this option and matches the 
   2007 behavior of the corresponding iASL -x option.
   2008 
   2009 AcpiExec: Restored a force-exit on multiple control-c (sigint) 
   2010 interrupts. This allows program termination even if other issues cause 
   2011 the control-c to fail.
   2012 
   2013 ASL test suite (ASLTS): Added tests for the recently implemented package 
   2014 element resolution mechanism that allows forward references to named 
   2015 objects from individual package elements (this mechanism provides 
   2016 compatibility with other ACPI implementations.)
   2017 
   2018 
   2019 ----------------------------------------
   2020 8 May 2018. Summary of changes for version 20180508:
   2021 
   2022 
   2023 1) ACPICA kernel-resident subsystem:
   2024 
   2025 Completed the new (recently deployed) package resolution mechanism for 
   2026 the Load and LoadTable ASL/AML operators. This fixes a regression that 
   2027 was introduced in version 20180209 that could result in an 
   2028 AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table 
   2029 (SSDT) that contains package objects.
   2030 
   2031 
   2032 2) iASL Compiler/Disassembler and Tools:
   2033 
   2034 AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than 
   2035 1 MB. This change allows for table offsets within the acpidump file to be 
   2036 up to 8 characters. These changes are backwards compatible with existing 
   2037 acpidump files.
   2038 
   2039 
   2040 ----------------------------------------
   2041 27 April 2018. Summary of changes for version 20180427: 
   2042 
   2043 
   2044 1) ACPICA kernel-resident subsystem:
   2045 
   2046 Debugger: Added support for Package objects in the "Test Objects" 
   2047 command. This command walks the entire namespace and evaluates all named 
   2048 data objects (Integers, Strings, Buffers, and now Packages).
   2049 
   2050 Improved error messages for the namespace root node. Originally, the root 
   2051 was referred to by the confusing string "\___". This has been replaced by 
   2052 "Namespace Root" for clarification.
   2053 
   2054 Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin 
   2055 Ian King <colin.king (a] canonical.com>.
   2056 
   2057 
   2058 2) iASL Compiler/Disassembler and Tools: 
   2059 
   2060 iASL: Implemented support to detect and flag illegal forward references. 
   2061 For compatibility with other ACPI implementations, these references are 
   2062 now illegal at the root level of the DSDT or SSDTs. Forward references 
   2063 have always been illegal within control methods. This change should not 
   2064 affect existing ASL/AML code because of the fact that these references 
   2065 have always been illegal in the other ACPI implementation.
   2066 
   2067 iASL: Added error messages for the case where a table OEM ID and OEM 
   2068 TABLE ID strings are longer than the ACPI-defined length. Previously, 
   2069 these strings were simply silently truncated.
   2070 
   2071 iASL: Enhanced the -tc option (which creates an AML hex file in C, 
   2072 suitable for import into a firmware project):
   2073   1) Create a unique name for the table, to simplify use of multiple 
   2074 SSDTs.
   2075   2) Add a protection #ifdef in the file, similar to a .h header file.
   2076 With assistance from Sami Mujawar, sami.mujawar (a] arm.com and Evan Lloyd, 
   2077 evan.lloyd (a] arm.com
   2078 
   2079 AcpiExec: Added a new option, -df, to disable the local fault handler. 
   2080 This is useful during debugging, where it may be desired to drop into a 
   2081 debugger on a fault.
   2082 
   2083 ----------------------------------------
   2084 13 March 2018. Summary of changes for version 20180313:
   2085 
   2086 
   2087 1) ACPICA kernel-resident subsystem:
   2088 
   2089 Implemented various improvements to the GPE support:
   2090 
   2091 1) Dispatch all active GPEs at initialization time so that no GPEs are 
   2092 lost.
   2093 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled 
   2094 before devices are enumerated.
   2095 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that 
   2096 IRQs are not lost.
   2097 4) Add parallel GPE handling to eliminate the possibility of dispatching 
   2098 the same GPE twice.
   2099 5) Dispatch any pending GPEs after enabling for the first time.
   2100 
   2101 AcpiGetObjectInfo - removed support for the _STA method. This was causing 
   2102 problems on some platforms.
   2103 
   2104 Added a new _OSI string, "Windows 2017.2".
   2105 
   2106 Cleaned up and simplified the module-level code support. These changes 
   2107 are in preparation for the eventual removal of the legacy MLC support 
   2108 (deferred execution), replaced by the new MLC architecture which executes 
   2109 the MLC as a table is loaded (DSDT/SSDTs).
   2110 
   2111 Changed a compile-time option to a runtime option. Changes the option to 
   2112 ignore ACPI table load-time package resolution errors into a runtime 
   2113 option. Used only for platforms that generate many AE_NOT_FOUND errors 
   2114 during boot. AcpiGbl_IgnorePackageResolutionErrors.
   2115 
   2116 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some 
   2117 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid 
   2118 compilation errors from unused variables (seen with some compilers).
   2119 
   2120 
   2121 2) iASL Compiler/Disassembler and Tools:
   2122 
   2123 ASLTS: parallelized execution in order to achieve an (approximately) 2X 
   2124 performance increase.
   2125 
   2126 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves 
   2127 error reporting.
   2128 
   2129 ----------------------------------------
   2130 09 February 2018. Summary of changes for version 20180209:
   2131 
   2132 
   2133 1) ACPICA kernel-resident subsystem:
   2134 
   2135 Completed the final integration of the recent changes to Package Object 
   2136 handling and the module-level AML code support. This allows forward 
   2137 references from individual package elements when the package object is 
   2138 declared from within module-level code blocks. Provides compatibility 
   2139 with other ACPI implementations.
   2140 
   2141 The new architecture for the AML module-level code has been completed and 
   2142 is now the default for the ACPICA code. This new architecture executes 
   2143 the module-level code in-line as the ACPI table is loaded/parsed instead 
   2144 of the previous architecture which deferred this code until after the 
   2145 table was fully loaded. This solves some ASL code ordering issues and 
   2146 provides compatibility with other ACPI implementations. At this time, 
   2147 there is an option to fallback to the earlier architecture, but this 
   2148 support is deprecated and is planned to be completely removed later this 
   2149 year.
   2150 
   2151 Added a compile-time option to ignore AE_NOT_FOUND exceptions during 
   2152 resolution of named reference elements within Package objects. Although 
   2153 this is potentially a serious problem, it can generate a lot of 
   2154 noise/errors on platforms whose firmware carries around a bunch of unused 
   2155 Package objects. To disable these errors, define 
   2156 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All 
   2157 errors are always reported for ACPICA applications such as AcpiExec.
   2158 
   2159 Fixed a regression related to the explicit type-conversion AML operators 
   2160 (ToXXXX). The regression was introduced early in 2017 but was not seen 
   2161 until recently because these operators are not fully supported by other 
   2162 ACPI implementations and are thus rarely used by firmware developers. The 
   2163 operators are defined by the ACPI specification to not implement the 
   2164 "implicit result object conversion". The regression incorrectly 
   2165 introduced this object conversion for the following explicit conversion 
   2166 operators:
   2167     ToInteger
   2168     ToString
   2169     ToBuffer
   2170     ToDecimalString
   2171     ToHexString
   2172     ToBCD
   2173     FromBCD
   2174 
   2175 
   2176 2) iASL Compiler/Disassembler and Tools:
   2177 
   2178 iASL: Fixed a problem with the compiler constant folding feature as 
   2179 related to the ToXXXX explicit conversion operators. These operators do 
   2180 not support the "implicit result object conversion" by definition. Thus, 
   2181 ASL expressions that use these operators cannot be folded to a simple 
   2182 Store operator because Store implements the implicit conversion. This 
   2183 change uses the CopyObject operator for the ToXXXX operator folding 
   2184 instead. CopyObject is defined to not implement implicit result 
   2185 conversions and is thus appropriate for folding the ToXXXX operators.
   2186 
   2187 iASL: Changed the severity of an error condition to a simple warning for 
   2188 the case where a symbol is declared both locally and as an external 
   2189 symbol. This accommodates existing ASL code.
   2190 
   2191 AcpiExec: The -ep option to enable the new architecture for module-level 
   2192 code has been removed. It is replaced by the -dp option which instead has 
   2193 the opposite effect: it disables the new architecture (the default) and 
   2194 enables the legacy architecture. When the legacy code is removed in the 
   2195 future, the -dp option will be removed also.
   2196 
   2197 ----------------------------------------
   2198 05 January 2018. Summary of changes for version 20180105:
   2199 
   2200 
   2201 1) ACPICA kernel-resident subsystem:
   2202 
   2203 Updated all copyrights to 2018. This affects all source code modules.
   2204 
   2205 Fixed a possible build error caused by an unresolved reference to the 
   2206 AcpiUtSafeStrncpy function.
   2207 
   2208 Removed NULL pointer arithmetic in the various pointer manipulation 
   2209 macros. All "(void *) NULL" constructs are converted to "(void *) 0". 
   2210 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
   2211 
   2212 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj 
   2213 Mittal.
   2214 
   2215 
   2216 2) iASL Compiler/Disassembler and Tools:
   2217 
   2218 ASLTS: Updated all copyrights to 2018.
   2219 
   2220 Tools: Updated all signon copyrights to 2018.
   2221 
   2222 AcpiXtract: Fixed a regression related to ACPI table signatures where the 
   2223 signature was truncated to 3 characters (instead of 4).
   2224 
   2225 AcpiExec: Restore the original terminal mode after the use of the -v and 
   2226 -vd options.
   2227 
   2228 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
   2229 
   2230 ----------------------------------------
   2231 14 December 2017. Summary of changes for version 20171214:
   2232 
   2233 
   2234 1) ACPICA kernel-resident subsystem:
   2235 
   2236 Fixed a regression in the external (public) AcpiEvaluateObjectTyped 
   2237 interface where the optional "pathname" argument had inadvertently become 
   2238 a required argument returning an error if omitted (NULL pointer 
   2239 argument).
   2240 
   2241 Fixed two possible memory leaks related to the recently developed "late 
   2242 resolution" of reference objects within ASL Package Object definitions.
   2243 
   2244 Added two recently defined _OSI strings: "Windows 2016" and "Windows 
   2245 2017". Mario Limonciello.
   2246 
   2247 Implemented and deployed a safer version of the C library function 
   2248 strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the 
   2249 creation of unterminated strings as a possible result of a standard 
   2250 strncpy.
   2251 
   2252 Cleaned up and restructured the global variable file (acglobal.h). There 
   2253 are many changes, but no functional changes.
   2254 
   2255 
   2256 2) iASL Compiler/Disassembler and Tools:
   2257 
   2258 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the 
   2259 optional OemData field at the end of the table was incorrectly required 
   2260 for proper compilation. It is now correctly an optional field.
   2261 
   2262 ASLTS: The entire suite was converted from standard ASL to the ASL+ 
   2263 language, using the ASL-to-ASL+ converter which is integrated into the 
   2264 iASL compiler. A binary compare of all output files has verified the 
   2265 correctness of the conversion.
   2266 
   2267 iASL: Fixed the source code build for platforms where "char" is unsigned. 
   2268 This affected the iASL lexer only. Jung-uk Kim.
   2269 
   2270 ----------------------------------------
   2271 10 November 2017. Summary of changes for version 20171110:
   2272 
   2273 
   2274 1) ACPICA kernel-resident subsystem:
   2275 
   2276 This release implements full support for ACPI 6.2A:
   2277     NFIT - Added a new subtable, "Platform Capabilities Structure"
   2278 No other changes to ACPICA were required, since ACPI 6.2A is primarily an 
   2279 errata release of the specification.
   2280 
   2281 Other ACPI table changes:
   2282     IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
   2283     PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy 
   2284 Linton
   2285 
   2286 Utilities: Modified the string/integer conversion functions to use 
   2287 internal 64-bit divide support instead of a native divide. On 32-bit 
   2288 platforms, a 64-bit divide typically requires a library function which 
   2289 may not be present in the build (kernel or otherwise).
   2290 
   2291 Implemented a targeted error message for timeouts returned from the 
   2292 Embedded Controller device driver. This is seen frequently enough to 
   2293 special-case an AE_TIME returned from an EC operation region access:
   2294     "Timeout from EC hardware or EC device driver"
   2295 
   2296 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all 
   2297 runtime error messages have the identical prefix.
   2298 
   2299 
   2300 2) iASL Compiler/Disassembler and Tools:
   2301 
   2302 AcpiXtract: Fixed a problem with table header detection within the 
   2303 acpidump file. Processing a table could be ended early if a 0x40 (@) 
   2304 appears in the original binary table, resulting in the @ symbol appearing 
   2305 in the decoded ASCII field at the end of the acpidump text line. The 
   2306 symbol caused acpixtract to incorrectly think it had reached the end of 
   2307 the current table and the beginning of a new table.
   2308 
   2309 AcpiXtract: Added an option (-f) to ignore some errors during table 
   2310 extraction. This initial implementation ignores non-ASCII and non-
   2311 printable characters found in the acpidump text file.
   2312 
   2313 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics 
   2314 for ASLTS. This feature is used to track memory allocations from 
   2315 different memory caches within the ACPICA code. At the end of an ASLTS 
   2316 run, these memory statistics are recorded and stored in a log file.
   2317 
   2318 Debugger (user-space version): Implemented a simple "Background" command. 
   2319 Creates a new thread to execute a control method in the background, while 
   2320 control returns to the debugger prompt to allow additional commands.
   2321     Syntax: Background <Namepath> [Arguments]
   2322 
   2323 ----------------------------------------
   2324 29 September 2017. Summary of changes for version 20170929:
   2325 
   2326 
   2327 1) ACPICA kernel-resident subsystem:
   2328 
   2329 Redesigned and implemented an improved ASL While() loop timeout 
   2330 mechanism. This mechanism is used to prevent infinite loops in the kernel 
   2331 AML interpreter caused by either non-responsive hardware or incorrect AML 
   2332 code. The new implementation uses AcpiOsGetTimer instead of a simple 
   2333 maximum loop count, and is thus more accurate and constant across 
   2334 different machines. The default timeout is currently 30 seconds, but this 
   2335 may be adjusted later.
   2336 
   2337 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to 
   2338 better reflect the new implementation of the loop timeout mechanism.
   2339 
   2340 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support 
   2341 and to fix an off-by-one error. Jung-uk Kim.
   2342 
   2343 Fixed an EFI build problem by updating the makefiles to for a new file 
   2344 that was added, utstrsuppt.c
   2345 
   2346 
   2347 2) iASL Compiler/Disassembler and Tools:
   2348 
   2349 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This 
   2350 includes support in the table disassembler, compiler, and template 
   2351 generator.
   2352 
   2353 iASL: Added an exception for an illegal type of recursive method 
   2354 invocation. If a method creates named objects, the first recursive call 
   2355 will fail at runtime. This change adds an error detection at compile time 
   2356 to catch the problem up front. Note: Marking such a method as 
   2357 "serialized" will not help with this problem, because the same thread can 
   2358 acquire the method mutex more than once. Example compiler and runtime 
   2359 output:
   2360 
   2361     Method (MTH1)
   2362     {
   2363         Name (INT1, 1)
   2364         MTH1 ()
   2365     }
   2366 
   2367     dsdt.asl     22: MTH1 ()
   2368     Error    6152 -  ^ Illegal recursive call to method
   2369                        that creates named objects (MTH1)
   2370 
   2371 Previous runtime exception:
   2372     ACPI Error: [INT1] Namespace lookup failure,
   2373     AE_ALREADY_EXISTS (20170831/dswload2-465)
   2374 
   2375 iASL: Updated support for External() opcodes to improve namespace 
   2376 management and error detection. These changes are related to issues seen 
   2377 with multiple-segment namespace pathnames within External declarations, 
   2378 such as below:
   2379 
   2380     External(\_SB.PCI0.GFX0, DeviceObj)
   2381     External(\_SB.PCI0.GFX0.ALSI)
   2382 
   2383 iASL: Implemented support for multi-line error/warning messages. This 
   2384 enables more detailed and helpful error messages as below, from the 
   2385 initial deployment for the duplicate names error:
   2386 
   2387     DSDT.iiii   1692:       Device(PEG2) {
   2388     Error    6074 -                  ^ Name already exists in scope 
   2389 (PEG2)
   2390 
   2391         Original name creation/declaration below:
   2392         DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
   2393 
   2394 AcpiXtract: Added additional flexibility to support differing input hex 
   2395 dump formats. Specifically, hex dumps that contain partial disassembly 
   2396 and/or comments within the ACPI table data definition. There exist some 
   2397 dump utilities seen in the field that create this type of hex dump (such 
   2398 as Simics). For example:
   2399 
   2400     DSDT @ 0xdfffd0c0 (10999 bytes)
   2401         Signature DSDT
   2402         Length 10999
   2403         Revision 1
   2404         Checksum 0xf3 (Ok)
   2405         OEM_ID BXPC
   2406         OEM_table_id BXDSDT
   2407         OEM_revision 1
   2408         Creator_id 1280593481
   2409         Creator_revision 537399345
   2410       0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
   2411       ...
   2412       2af0: 5f 4c 30 46 00 a4 01
   2413 
   2414 Test suite: Miscellaneous changes/fixes:
   2415     More cleanup and simplification of makefiles
   2416     Continue compilation of test cases after a compile failure
   2417     Do not perform binary compare unless both files actually exist
   2418 
   2419 iASL: Performed some code/module restructuring. Moved all memory 
   2420 allocation functions to new modules. Two new files, aslallocate.c and 
   2421 aslcache.c
   2422 
   2423 ----------------------------------------
   2424 31 August 2017. Summary of changes for version 20170831:
   2425 
   2426 
   2427 1) ACPICA kernel-resident subsystem:
   2428 
   2429 Implemented internal support for full 64-bit addresses that appear in all 
   2430 Generic Address Structure (GAS) structures. Previously, only the lower 32 
   2431 bits were used. Affects the use of GAS structures in the FADT and other 
   2432 tables, as well as the GAS structures passed to the AcpiRead and 
   2433 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
   2434 
   2435 Added header support for the PDTT ACPI table (Processor Debug Trigger 
   2436 Table). Full support in the iASL Data Table Compiler and disassembler is 
   2437 forthcoming.
   2438 
   2439 
   2440 2) iASL Compiler/Disassembler and Tools:
   2441 
   2442 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
   2443 Properties Topology Table) where a flag bit was specified in the wrong 
   2444 bit position ("Line Size Valid", bit 6).
   2445 
   2446 iASL: Implemented support for Octal integer constants as defined by the 
   2447 ASL language grammar, per the ACPI specification. Any integer constant 
   2448 that starts with a zero is an octal constant. For example,
   2449     Store (037777, Local0) /* Octal constant */
   2450     Store (0x3FFF, Local0) /* Hex equivalent */
   2451     Store (16383,  Local0) /* Decimal equivalent */
   2452 
   2453 iASL: Improved overflow detection for 64-bit string conversions during 
   2454 compilation of integer constants. "Overflow" in this case means a string 
   2455 that represents an integer that is too large to fit into a 64-bit value. 
   2456 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
   2457 the low-order 32 bits with a warning, as previously implemented. Several 
   2458 new exceptions are defined that indicate a 64-bit overflow, as well as 
   2459 the base (radix) that was used during the attempted conversion. Examples:
   2460     Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
   2461     Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
   2462     Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
   2463 
   2464 iASL: Added a warning for the case where a ResourceTemplate is declared 
   2465 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
   2466 this case, the resulting template is created with a single END_TAG 
   2467 descriptor, which is essentially useless.
   2468 
   2469 iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
   2470 include compilation error codes as well.
   2471 
   2472 ----------------------------------------
   2473 28 July 2017. Summary of changes for version 20170728:
   2474 
   2475 
   2476 1) ACPICA kernel-resident subsystem:
   2477 
   2478 Fixed a regression seen with small resource descriptors that could cause 
   2479 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
   2480 
   2481 AML interpreter: Implemented a new feature that allows forward references 
   2482 from individual named references within package objects that are 
   2483 contained within blocks of "module-level code". This provides 
   2484 compatibility with other ACPI implementations and supports existing 
   2485 firmware that depends on this feature. Example:
   2486 
   2487     Name (ABCD, 1)
   2488     If (ABCD)                       /* An If() at module-level */
   2489     {
   2490         Name (PKG1, Package()
   2491         {
   2492             INT1                    /* Forward reference to object INT1 
   2493 */
   2494         })
   2495         Name (INT1, 0x1234)
   2496     }
   2497 
   2498 AML Interpreter: Fixed a problem with the Alias() operator where aliases 
   2499 to some ASL objects were not handled properly. Objects affected are: 
   2500 Mutex, Event, and OperationRegion.
   2501 
   2502 AML Debugger: Enhanced to properly handle AML Alias objects. These 
   2503 objects have one level of indirection which was not fully supported by 
   2504 the debugger.
   2505 
   2506 Table Manager: Added support to detect and ignore duplicate SSDTs within 
   2507 the XSDT/RSDT. This error in the XSDT has been seen in the field.
   2508 
   2509 EFI and EDK2 support:
   2510     Enabled /WX flag for MSVC builds
   2511     Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
   2512     Added local support for 64-bit multiply and shift operations
   2513     Added support to compile acpidump.efi on Windows
   2514     Added OSL function stubs for interfaces not used under EFI
   2515 
   2516 Added additional support for the _DMA predefined name. _DMA returns a 
   2517 buffer containing a resource template. This change add support within the 
   2518 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of 
   2519 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi (a] arm.com>
   2520 
   2521 
   2522 2) iASL Compiler/Disassembler and Tools:
   2523 
   2524 iASL: Fixed a problem where the internal input line buffer(s) could 
   2525 overflow if there are very long lines in the input ASL source code file. 
   2526 Implemented buffer management that automatically increases the size of 
   2527 the buffers as necessary.
   2528 
   2529 iASL: Added an option (-vx) to "expect" particular remarks, warnings and 
   2530 errors. If the specified exception is not raised during compilation, the 
   2531 compiler emits an error. This is intended to support the ASL test suite, 
   2532 but may be useful in other contexts.
   2533 
   2534 iASL: Implemented a new predefined macro, __METHOD__, which returns a 
   2535 string containing the name of the current control method that is being 
   2536 compiled.
   2537 
   2538 iASL: Implemented debugger and table compiler support for the SDEI ACPI 
   2539 table (Software Delegated Exception Interface). James Morse 
   2540 <james.morse (a] arm.com>
   2541 
   2542 Unix/Linux makefiles: Added an option to disable compile optimizations. 
   2543 The disable occurs when the NOOPT flag is set to TRUE. 
   2544 theracermaster (a] gmail.com
   2545 
   2546 Acpidump: Added support for multiple DSDT and FACS tables. This can occur 
   2547 when there are different tables for 32-bit versus 64-bit.
   2548 
   2549 Enhanced error reporting for the ASL test suite (ASLTS) by removing 
   2550 unnecessary/verbose text, and emit the actual line number where an error 
   2551 has occurred. These changes are intended to improve the usefulness of the 
   2552 test suite.
   2553 
   2554 ----------------------------------------
   2555 29 June 2017. Summary of changes for version 20170629:
   2556 
   2557 
   2558 1) ACPICA kernel-resident subsystem:
   2559 
   2560 Tables: Implemented a deferred ACPI table verification. This is useful 
   2561 for operating systems where the tables cannot be verified in the early 
   2562 initialization stage due to early memory mapping limitations on some 
   2563 architectures. Lv Zheng.
   2564 
   2565 Tables: Removed the signature validation for dynamically loaded tables. 
   2566 Provides compatibility with other ACPI implementations. Previously, only 
   2567 SSDT tables were allowed, as per the ACPI specification. Now, any table 
   2568 signature can be used via the Load() operator. Lv Zheng.
   2569 
   2570 Tables: Fixed several mutex issues that could cause errors during table 
   2571 acquisition. Lv Zheng.
   2572 
   2573 Tables: Fixed a problem where an ACPI warning could be generated if a 
   2574 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
   2575 
   2576 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
   2577 AcpiPutTable interfaces. This applies to the "late stage" table loading 
   2578 when the use of AcpiPutTable is no longer required (since the system 
   2579 memory manager is fully running and available). Lv Zheng.
   2580 
   2581 Fixed/Reverted a regression during processing of resource descriptors 
   2582 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
   2583 exception in this case.
   2584 
   2585 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
   2586 I/O Remapping specification. Robin Murphy <robin.murphy (a] arm.com>
   2587 
   2588 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
   2589 or duplicate target is encountered during Alias creation in 
   2590 AcpiExCreateAlias. Alex James <theracermaster (a] gmail.com>
   2591 
   2592 Added an option to use designated initializers for function pointers. 
   2593 Kees Cook <keescook (a] google.com>
   2594 
   2595 
   2596 2) iASL Compiler/Disassembler and Tools:
   2597 
   2598 iASL: Allow compilation of External declarations with target pathnames 
   2599 that refer to existing named objects within the table. Erik Schmauss.
   2600 
   2601 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
   2602 FieldUnit name also is declared via External in the same table. Erik 
   2603 Schmauss.
   2604 
   2605 iASL: Allow existing scope names within pathnames used in External 
   2606 statements. For example:
   2607     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
   2608     Device (ABCD)
   2609 
   2610 iASL: IORT ACPI table: Implemented changes required to decode the new 
   2611 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
   2612 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni (a] cavium.com>
   2613 
   2614 Disassembler: Don't abort disassembly on errors from External() 
   2615 statements. Erik Schmauss.
   2616 
   2617 Disassembler: fixed a possible fault when one of the Create*Field 
   2618 operators references a Resource Template. ACPICA Bugzilla 1396.
   2619 
   2620 iASL: In the source code, resolved some naming inconsistences across the 
   2621 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
   2622 Adds a new file, aslparseop.c
   2623 
   2624 ----------------------------------------
   2625 31 May 2017. Summary of changes for version 20170531:
   2626 
   2627 
   2628 0) ACPI 6.2 support:
   2629 
   2630 The ACPI specification version 6.2 has been released and is available at
   2631 http://uefi.org/specifications
   2632 
   2633 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
   2634 are summarized below.
   2635 
   2636 New ACPI tables (Table Compiler/Disassembler/Templates):
   2637     HMAT (Heterogeneous Memory Attributes Table)
   2638     WSMT (Windows SMM Security Mitigation Table)
   2639     PPTT (Processor Properties Topology Table)
   2640 
   2641 New subtables for existing ACPI tables:
   2642     HEST (New subtable, Arch-deferred machine check)
   2643     SRAT (New subtable, Arch-specific affinity structure)
   2644     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
   2645 
   2646 Simple updates for existing ACPI tables:
   2647     BGRT (two new flag bits)
   2648     HEST (New bit defined for several subtables, GHES_ASSIST)
   2649 
   2650 New Resource Descriptors and Resource macros (Compiler/Disassembler):
   2651     PinConfig()
   2652     PinFunction()
   2653     PinGroup()
   2654     PinGroupConfig()
   2655     PinGroupFunction()
   2656     New type for hardware error notification (section 18.3.2.9)
   2657 
   2658 New predefined names/methods (Compiler/Interpreter):
   2659     _HMA (Heterogeneous Memory Attributes)
   2660     _LSI (Label Storage Information)
   2661     _LSR (Label Storage Read)
   2662     _LSW (Label Storage Write)
   2663 
   2664 ASL grammar/macro changes (Compiler):
   2665     For() ASL macro, implemented with the AML while operator
   2666     Extensions to Concatenate operator
   2667     Support for multiple definition blocks in same ASL file
   2668     Clarification for Buffer operator
   2669     Allow executable AML code underneath all scopes (Devices, etc.)
   2670     Clarification/change for the _OSI return value
   2671     ASL grammar update for reference operators
   2672     Allow a zero-length string for AML filename in DefinitionBlock
   2673 
   2674 Miscellaneous:
   2675     New device object notification value
   2676     Remove a notify value (0x0C) for graceful shutdown
   2677     New UUIDs for processor/cache properties and
   2678         physical package property
   2679     New _HID, ACPI0014 (Wireless Power Calibration Device)
   2680 
   2681 
   2682 1) ACPICA kernel-resident subsystem:
   2683 
   2684 Added support to disable ACPI events on hardware-reduced platforms. 
   2685 Eliminates error messages of the form "Could not enable fixed event". Lv 
   2686 Zheng
   2687 
   2688 Fixed a problem using Device/Thermal objects with the ObjectType and 
   2689 DerefOf ASL operators. This support had not been fully/properly 
   2690 implemented.
   2691 
   2692 Fixed a problem where if a Buffer object containing a resource template 
   2693 was longer than the actual resource template, an error was generated -- 
   2694 even though the AML is legal. This case has been seen in the field.
   2695 
   2696 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
   2697 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
   2698 
   2699 Added header file changes for the TPM2 ACPI table. Update to new version 
   2700 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
   2701 
   2702 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
   2703 These interfaces are intended to be used only in conjunction with the 
   2704 predefined _DLM method (Device Lock Method). "This object appears in a 
   2705 device scope when AML access to the device must be synchronized with the 
   2706 OS environment".
   2707 
   2708 Example Code and Data Size: These are the sizes for the OS-independent 
   2709 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2710 debug version of the code includes the debug output trace mechanism and 
   2711 has a much larger code and data size.
   2712 
   2713   Current Release:
   2714     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
   2715     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
   2716   Previous Release:
   2717     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
   2718     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
   2719 
   2720 
   2721 2) iASL Compiler/Disassembler and Tools:
   2722 
   2723 iASL: Fixed a problem where an External() declaration could not refer to 
   2724 a Field Unit. Erik Schmauss.
   2725 
   2726 Disassembler: Improved support for the Switch/Case operators. This 
   2727 feature will disassemble AML code back to the original Switch operators 
   2728 when possible, instead of an If..Else sequence. David Box
   2729 
   2730 iASL and disassembler: Improved the handling of multiple extraneous 
   2731 parentheses for both ASL input and disassembled ASL output.
   2732 
   2733 Improved the behavior of the iASL compiler and disassembler to detect 
   2734 improper use of external declarations
   2735 
   2736 Disassembler: Now aborts immediately upon detection of an unknown AML 
   2737 opcode. The AML parser has no real way to recover from this, and can 
   2738 result in the creation of an ill-formed parse tree that causes errors 
   2739 later during the disassembly.
   2740 
   2741 All tools: Fixed a problem where the Unix application OSL did not handle 
   2742 control-c correctly. For example, a control-c could incorrectly wake the 
   2743 debugger.
   2744 
   2745 AcpiExec: Improved the Control-C handling and added a handler for 
   2746 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
   2747 environments.
   2748 
   2749 Reduced the verbosity of the generic unix makefiles. Previously, each 
   2750 compilation displayed the full set of compiler options. This has been 
   2751 eliminated as the options are easily inspected within the makefiles. Each 
   2752 compilation now results in a single line of output.
   2753 
   2754 ----------------------------------------
   2755 03 March 2017. Summary of changes for version 20170303:
   2756 
   2757 
   2758 0) ACPICA licensing:
   2759 
   2760 The licensing information at the start of each source code module has 
   2761 been updated. In addition to the Intel license, the dual GPLv2/BSD 
   2762 license has been added for completeness. Now, a single version of the 
   2763 source code should be suitable for all ACPICA customers. This is the 
   2764 major change for this release since it affects all source code modules.
   2765 
   2766 
   2767 1) ACPICA kernel-resident subsystem: 
   2768 
   2769 Fixed two issues with the common asltypes.h header that could cause 
   2770 problems in some environments: (Kim Jung-uk)
   2771     Removed typedef for YY_BUFFER_STATE ?
   2772        Fixes an error with earlier versions of Flex.
   2773     Removed use of FILE typedef (which is only defined in stdio.h)
   2774 
   2775 
   2776 2) iASL Compiler/Disassembler and Tools: 
   2777 
   2778 Disassembler: fixed a regression introduced in 20170224. A fix for a 
   2779 memory leak related to resource descriptor tags (names) could fault when 
   2780 the disassembler was generated with 64-bit compilers.
   2781 
   2782 The ASLTS test suite has been updated to implement a new testing 
   2783 architecture. During generation of the suite from ASL source, both the 
   2784 ASL and ASL+ compilers are now validated, as well as the disassembler 
   2785 itself (Erik Schmauss). The architecture executes as follows:
   2786 
   2787     For every ASL source module:
   2788         Compile (legacy ASL compilation)
   2789         Disassemble the resulting AML to ASL+ source code
   2790         Compile the new ASL+ module
   2791         Perform a binary compare on the legacy AML and the new ASL+ AML
   2792     The ASLTS suite then executes normally using the AML binaries.
   2793 
   2794 ----------------------------------------
   2795 24 February 2017. Summary of changes for version 20170224:
   2796 
   2797 
   2798 1) ACPICA kernel-resident subsystem:
   2799 
   2800 Interpreter: Fixed two issues with the control method return value auto-
   2801 repair feature, where an attempt to double-delete an internal object 
   2802 could result in an ACPICA warning (for _CID repair and others). No fault 
   2803 occurs, however, because the attempted deletion (actually a release to an 
   2804 internal cache) is detected and ignored via object poisoning.
   2805 
   2806 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
   2807 of control methods. If certain debugger commands are executed during 
   2808 stepping, a mutex acquire/release error could occur. Lv Zheng.
   2809 
   2810 Fixed some issues generating ACPICA with the Intel C compiler by 
   2811 restoring the original behavior and compiler-specific include file in 
   2812 acenv.h. Lv Zheng.
   2813 
   2814 Example Code and Data Size: These are the sizes for the OS-independent 
   2815 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2816 debug version of the code includes the debug output trace mechanism and 
   2817 has a much larger code and data size.
   2818 
   2819   Current Release:
   2820     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
   2821     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
   2822   Previous Release:
   2823     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
   2824     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
   2825 
   2826 
   2827 2) iASL Compiler/Disassembler and Tools:
   2828 
   2829 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
   2830 tool has been designed, implemented, and included in this release. The 
   2831 key feature of this utility is that the original comments within the 
   2832 input ASL file are preserved during the conversion process, and included 
   2833 within the converted ASL+ file -- thus creating a transparent conversion 
   2834 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
   2835 
   2836     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
   2837 converted code
   2838 
   2839 iASL/Disassembler: Improved the detection and correct disassembly of 
   2840 Switch/Case operators. This feature detects sequences of if/elseif/else 
   2841 operators that originated from ASL Switch/Case/Default operators and 
   2842 emits the original operators. David Box.
   2843 
   2844 iASL: Improved the IORT ACPI table support in the following areas. Lv 
   2845 Zheng:
   2846     Clear MappingOffset if the MappingCount is zero.
   2847     Fix the disassembly of the SMMU GSU interrupt offset.
   2848     Update the template file for the IORT table.
   2849 
   2850 Disassembler: Enhanced the detection and disassembly of resource 
   2851 template/descriptor within a Buffer object. An EndTag descriptor is now 
   2852 required to have a zero second byte, since all known ASL compilers emit 
   2853 this. This helps eliminate incorrect decisions when a buffer is 
   2854 disassembled (false positives on resource templates).
   2855 
   2856 ----------------------------------------
   2857 19 January 2017. Summary of changes for version 20170119:
   2858 
   2859 
   2860 1) General ACPICA software:
   2861 
   2862 Entire source code base: Added the 2017 copyright to all source code 
   2863 legal/licensing module headers and utility/tool signons. This includes 
   2864 the standard Linux dual-license header. This affects virtually every file 
   2865 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
   2866 the ACPICA test suite.
   2867 
   2868 
   2869 2) iASL Compiler/Disassembler and Tools:
   2870 
   2871 iASL: Removed/fixed an inadvertent remark when a method argument 
   2872 containing a reference is used as a target operand within the method (and 
   2873 never used as a simple argument), as in the example below. Jeffrey Hugo.
   2874 
   2875     dsdt.asl   1507:    Store(0x1, Arg0)
   2876     Remark   2146 -                ^ Method Argument is never used (Arg0)
   2877 
   2878 All tools: Removed the bit width of the compiler that generated the tool 
   2879 from the common signon for all user space tools. This proved to be 
   2880 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
   2881 from the generic makefiles (Thomas Petazzoni). Example below.
   2882 
   2883     Old:
   2884     ASL+ Optimizing Compiler version 20170119-32
   2885     ASL+ Optimizing Compiler version 20170119-64
   2886 
   2887     New:
   2888     ASL+ Optimizing Compiler version 20170119
   2889 
   2890 ----------------------------------------
   2891 22 December 2016. Summary of changes for version 20161222:
   2892 
   2893 
   2894 1) ACPICA kernel-resident subsystem:
   2895 
   2896 AML Debugger: Implemented a new mechanism to simplify and enhance 
   2897 debugger integration into all environments, including kernel debuggers 
   2898 and user-space utilities, as well as remote debug services. This 
   2899 mechanism essentially consists of new OSL interfaces to support debugger 
   2900 initialization/termination, as well as wait/notify interfaces to perform 
   2901 the debugger handshake with the host. Lv Zheng.
   2902 
   2903     New OSL interfaces:
   2904         AcpiOsInitializeDebugger (void)
   2905         AcpiOsTerminateDebugger (void)
   2906         AcpiOsWaitCommandReady (void)
   2907         AcpiOsNotifyCommandComplete (void)
   2908 
   2909     New OS services layer:
   2910         osgendbg.c -- Example implementation, and used for AcpiExec
   2911 
   2912 Update for Generic Address Space (GAS) support: Although the AccessWidth 
   2913 and/or BitOffset fields of the GAS are not often used, this change now 
   2914 fully supports these fields. This affects the internal support for FADT 
   2915 registers, registers in other ACPI data tables, and the AcpiRead and 
   2916 AcpiWrite public interfaces. Lv Zheng.
   2917 
   2918 Sleep support: In order to simplify integration of ACPI sleep for the 
   2919 various host operating systems, a new OSL interface has been introduced. 
   2920 AcpiOsEnterSleep allows the host to perform any required operations 
   2921 before the final write to the sleep control register(s) is performed by 
   2922 ACPICA. Lv Zheng.
   2923 
   2924     New OSL interface:
   2925         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
   2926 
   2927     Called from these internal interfaces:
   2928         AcpiHwLegacySleep
   2929         AcpiHwExtendedSleep
   2930 
   2931 EFI support: Added a very small EFI/ACPICA example application. Provides 
   2932 a simple demo for EFI integration, as well as assisting with resolution 
   2933 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
   2934 
   2935     source/tools/efihello/efihello.c
   2936 
   2937 Local C library: Implemented several new functions to enhance ACPICA 
   2938 portability, for environments where these clib functions are not 
   2939 available (such as EFI). Lv Zheng:
   2940     putchar
   2941     getchar
   2942     strpbrk
   2943     strtok
   2944     memmove
   2945 
   2946 Fixed a regression where occasionally a valid resource descriptor was 
   2947 incorrectly detected as invalid at runtime, and a 
   2948 AE_AML_NO_RESOURCE_END_TAG was returned.
   2949 
   2950 Fixed a problem with the recently implemented support that enables 
   2951 control method invocations as Target operands to many ASL operators. 
   2952 Warnings of this form: "Needed type [Reference], found [Processor]" were 
   2953 seen at runtime for some method invocations.
   2954 
   2955 Example Code and Data Size: These are the sizes for the OS-independent 
   2956 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2957 debug version of the code includes the debug output trace mechanism and 
   2958 has a much larger code and data size.
   2959 
   2960   Current Release:
   2961     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
   2962     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
   2963   Previous Release:
   2964     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
   2965     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
   2966 
   2967 
   2968 2) iASL Compiler/Disassembler and Tools:
   2969 
   2970 Disassembler: Enhanced output by adding the capability to detect and 
   2971 disassemble ASL Switch/Case statements back to the original ASL source 
   2972 code instead of if/else blocks. David Box.
   2973 
   2974 AcpiHelp: Split a large file into separate files based upon 
   2975 functionality/purpose. New files are:
   2976     ahaml.c
   2977     ahasl.c
   2978 
   2979 ----------------------------------------
   2980 17 November 2016. Summary of changes for version 20161117:
   2981 
   2982 
   2983 1) ACPICA kernel-resident subsystem:
   2984 
   2985 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
   2986 cleanup". This was an attempt to remove all references in the source to 
   2987 the FADT version 2, which never was a legal version number. It was 
   2988 skipped because it was an early version of 64-bit support that was 
   2989 eventually abandoned for the current 64-bit support.
   2990 
   2991 Interpreter: Fixed a problem where runtime implicit conversion was 
   2992 incorrectly disabled for the ASL operators below. This brings the 
   2993 behavior into compliance with the ACPI specification:
   2994     FromBCD
   2995     ToBCD
   2996     ToDecimalString
   2997     ToHexString
   2998     ToInteger
   2999     ToBuffer
   3000 
   3001 Table Manager: Added a new public interface, AcpiPutTable, used to 
   3002 release and free an ACPI table returned by AcpiGetTable and related 
   3003 interfaces. Lv Zheng.
   3004 
   3005 Example Code and Data Size: These are the sizes for the OS-independent 
   3006 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3007 debug version of the code includes the debug output trace mechanism and 
   3008 has a much larger code and data size.
   3009 
   3010   Current Release:
   3011     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
   3012     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
   3013   Previous Release:
   3014     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
   3015     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
   3016 
   3017 
   3018 2) iASL Compiler/Disassembler and Tools:
   3019 
   3020 Disassembler: Fixed a regression for disassembly of Resource Template. 
   3021 Detection of templates in the AML stream missed some types of templates.
   3022 
   3023 iASL: Fixed a problem where an Access Size error was returned for the PCC 
   3024 address space when the AccessSize of the GAS register is greater than a 
   3025 DWORD. Hoan Tran.
   3026 
   3027 iASL: Implemented several grammar changes for the operators below. These 
   3028 changes are slated for the next version of the ACPI specification:
   3029     RefOf        - Disallow method invocation as an operand
   3030     CondRefOf    - Disallow method invocation as an operand
   3031     DerefOf      - Disallow operands that use the result from operators 
   3032 that
   3033                    do not return a reference (Changed TermArg to 
   3034 SuperName).
   3035 
   3036 iASL: Control method invocations are now allowed for Target operands, as 
   3037 per the ACPI specification. Removed error for using a control method 
   3038 invocation as a Target operand.
   3039 
   3040 Disassembler: Improved detection of Resource Templates, Unicode, and 
   3041 Strings within Buffer objects. These subtypes do not contain a specific 
   3042 opcode to indicate the originating ASL code, and they must be detected by 
   3043 other means within the disassembler. 
   3044 
   3045 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
   3046 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
   3047 only after 64-bit to 32-bit truncation. A truncation warning message is 
   3048 still emitted, however.
   3049 
   3050 AcpiXtract: Implemented handling for both types of line terminators (LF 
   3051 or CR/LF) so that it can accept AcpiDump output files from any system. 
   3052 Peter Wu.
   3053 
   3054 AcpiBin: Added two new options for comparing AML files:
   3055     -a: compare and display ALL mismatches
   3056     -o: start compare at this offset into the second file
   3057 
   3058 ----------------------------------------
   3059 30 September 2016. Summary of changes for version 20160930:
   3060 
   3061 
   3062 1) ACPICA kernel-resident subsystem:
   3063 
   3064 Fixed a regression in the internal AcpiTbFindTable function where a non 
   3065 AE_OK exception could inadvertently be returned even if the function did 
   3066 not fail. This problem affects the following operators:
   3067     DataTableRegion
   3068     LoadTable
   3069 
   3070 Fixed a regression in the LoadTable operator where a load to any 
   3071 namespace location other than the root no longer worked properly.
   3072 
   3073 Increased the maximum loop count value that will result in the 
   3074 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
   3075 prevent infinite loops within the AML interpreter and thus the host OS 
   3076 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
   3077 1,048,575).
   3078 
   3079 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
   3080 acpixf.h file. This allows hosts to easily configure the maximum loop 
   3081 count at runtime.
   3082 
   3083 Removed an illegal character in the strtoul64.c file. This character 
   3084 caused errors with some C compilers.
   3085 
   3086 Example Code and Data Size: These are the sizes for the OS-independent 
   3087 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3088 debug version of the code includes the debug output trace mechanism and 
   3089 has a much larger code and data size.
   3090 
   3091   Current Release:
   3092     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
   3093     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
   3094   Previous Release:
   3095     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
   3096     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
   3097 
   3098 
   3099 2) iASL Compiler/Disassembler and Tools:
   3100 
   3101 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
   3102 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
   3103 block could be lost and missing from the disassembled output.
   3104 
   3105 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
   3106 the missing rule caused a parse error when using the Index operator as an 
   3107 operand to ObjectType. This construct now compiles properly. Example:
   3108     ObjectType(PKG1[4]).
   3109 
   3110 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
   3111 option). Previously, unresolved symbols could cause a protection fault. 
   3112 Such symbols are now marked as unresolved in the map file.
   3113 
   3114 iASL: Implemented support to allow control method invocations as an 
   3115 operand to the ASL DeRefOf operator. Example:
   3116     DeRefOf(MTH1(Local0))
   3117 
   3118 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
   3119 possible _PLD buffer now includes examination of both the normal buffer 
   3120 length (16 or 20) as well as the surrounding AML package length.
   3121 
   3122 Disassembler: Fixed a problem with the decoding of complex expressions 
   3123 within the Divide operator for ASL+. For the case where both the quotient 
   3124 and remainder targets are specified, the entire statement cannot be 
   3125 disassembled. Previously, the output incorrectly contained a mix of ASL- 
   3126 and ASL+ operators. This mixed statement causes a syntax error when 
   3127 compiled. Example:
   3128     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
   3129 disassembled to:
   3130     Divide (INT1 + 6, 128, RSLT, QUOT)
   3131 
   3132 iASL/Tools: Added support to process AML and non-AML ACPI tables 
   3133 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
   3134 tables (AML and data tables). For the iASL -e option, allow only AML 
   3135 tables (DSDT/SSDT).
   3136 
   3137 ----------------------------------------
   3138 31 August 2016. Summary of changes for version 20160831:
   3139 
   3140 
   3141 1) ACPICA kernel-resident subsystem:
   3142 
   3143 Improve support for the so-called "module-level code", which is defined 
   3144 to be math, logical and control AML opcodes that appear outside of any 
   3145 control method. This change improves the support by adding more opcodes 
   3146 that can be executed in the manner. Some other issues have been solved, 
   3147 and the ASL grammar changes to support such code under all scope 
   3148 operators (Device, etc.) are complete. Lv Zheng.
   3149 
   3150 UEFI support: these OSL functions have been implemented. This is an 
   3151 additional step toward supporting the AcpiExec utility natively (with 
   3152 full hardware access) under UEFI. Marcelo Ferreira.
   3153     AcpiOsReadPciConfiguration
   3154     AcpiOsWritePciConfiguration
   3155 
   3156 Fixed a possible mutex error during control method auto-serialization. Lv 
   3157 Zheng. 
   3158 
   3159 Updated support for the Generic Address Structure by fully implementing 
   3160 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
   3161 Zheng.
   3162 
   3163 Updated the return value for the internal _OSI method. Instead of 
   3164 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
   3165 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
   3166 implementations, and will be reflected and clarified in the next version 
   3167 of the ACPI specification.
   3168 
   3169 Implemented two new table events that can be passed to an ACPICA table 
   3170 handler. These events are used to indicate a table installation or 
   3171 uninstallation. These events are used in addition to existed table load 
   3172 and unload events. Lv Zheng.
   3173 
   3174 Implemented a cleanup for all internal string-to-integer conversions. 
   3175 Consolidate multiple versions of this functionality and limit possible 
   3176 bases to either 10 or 16 to simplify the code. Adds a new file, 
   3177 utstrtoul64.
   3178 
   3179 Cleanup the inclusion order of the various compiler-specific headers. 
   3180 This simplifies build configuration management. The compiler-specific 
   3181 headers are now split out from the host-specific headers. Lv Zheng.
   3182 
   3183 Example Code and Data Size: These are the sizes for the OS-independent 
   3184 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3185 debug version of the code includes the debug output trace mechanism and 
   3186 has a much larger code and data size.
   3187 
   3188   Current Release:
   3189     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
   3190     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
   3191 
   3192 
   3193 2) iASL Compiler/Disassembler and Tools:
   3194 
   3195 iASL/AcpiExec: Added a command line option to display the build date/time 
   3196 of the tool (-vd). This can be useful to verify that the correct version 
   3197 of the tools are being used.
   3198 
   3199 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
   3200 all predefined control methods and names within the current namespace. 
   3201 This can be useful for debugging problems with ACPI tables and the ACPI 
   3202 namespace.
   3203 
   3204 ----------------------------------------
   3205 29 July 2016. Summary of changes for version 20160729:
   3206 
   3207 
   3208 1) ACPICA kernel-resident subsystem:
   3209 
   3210 Implemented basic UEFI support for the various ACPICA tools. This 
   3211 includes:
   3212 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
   3213 2) Support to obtain the ACPI tables on UEFI.
   3214 3) Local implementation of required C library functions not available on 
   3215 UEFI.
   3216 4) A front-end (main) function for the tools for UEFI-related 
   3217 initialization.
   3218 
   3219 The initial deployment of this support is the AcpiDump utility executing 
   3220 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
   3221 Current environments supported are Linux/Unix. MSVC generation is not 
   3222 supported at this time. See the generate/efi/README file for build 
   3223 instructions. Lv Zheng.
   3224 
   3225 Future plans include porting the AcpiExec utility to execute natively on 
   3226 the platform with I/O and memory access. This will allow viewing/dump of 
   3227 the platform namespace and native execution of ACPI control methods that 
   3228 access the actual hardware. To fully implement this support, the OSL 
   3229 functions below must be implemented with UEFI interfaces. Any community 
   3230 help in the implementation of these functions would be appreciated:
   3231     AcpiOsReadPort
   3232     AcpiOsWritePort
   3233     AcpiOsReadMemory
   3234     AcpiOsWriteMemory
   3235     AcpiOsReadPciConfiguration
   3236     AcpiOsWritePciConfiguration
   3237 
   3238 Restructured and standardized the C library configuration for ACPICA, 
   3239 resulting in the various configuration options below. This includes a 
   3240 global restructuring of the compiler-dependent and platform-dependent 
   3241 include files. These changes may affect the existing platform-dependent 
   3242 configuration files on some hosts. Lv Zheng. 
   3243 
   3244 The current C library configuration options appear below. For any issues, 
   3245 it may be helpful to examine the existing compiler-dependent and 
   3246 platform-dependent files as examples. Lv Zheng. 
   3247 
   3248 1) Linux kernel:
   3249     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
   3250 library.
   3251     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
   3252 2) Unix/Windows/BSD applications:
   3253     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
   3254 library.
   3255     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
   3256 3) UEFI applications:
   3257     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
   3258 library.
   3259     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
   3260 4) UEFI applications (EDK2/StdLib):
   3261     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
   3262     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
   3263 
   3264 
   3265 AML interpreter: "module-level code" support. Allows for execution of so-
   3266 called "executable" AML code (math/logical operations, etc.) outside of 
   3267 control methods not just at the module level (top level) but also within 
   3268 any scope declared outside of a control method - Scope{}, Device{}, 
   3269 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
   3270 
   3271 Simplified the configuration of the "maximum AML loops" global option by 
   3272 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
   3273 modified at runtime.
   3274 
   3275 
   3276 Example Code and Data Size: These are the sizes for the OS-independent 
   3277 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3278 debug version of the code includes the debug output trace mechanism and 
   3279 has a much larger code and data size.
   3280 
   3281   Current Release:
   3282     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
   3283     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
   3284 
   3285 
   3286 2) iASL Compiler/Disassembler and Tools:
   3287 
   3288 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
   3289 Includes disassembler, data table compiler, and header support.
   3290 
   3291 iASL Expand "module-level code" support. Allows for 
   3292 compilation/disassembly of so-called "executable" AML code (math/logical 
   3293 operations, etc.) outside of control methods not just at the module level 
   3294 (top level) but also within any scope declared outside of a control 
   3295 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
   3296 ThermalZone{}.
   3297 
   3298 AcpiDump: Added support for dumping all SSDTs on newer versions of 
   3299 Windows. These tables are now easily available -- SSDTs are not available 
   3300 through the registry on older versions.
   3301 
   3302 ----------------------------------------
   3303 27 May 2016. Summary of changes for version 20160527:
   3304 
   3305 
   3306 1) ACPICA kernel-resident subsystem:
   3307 
   3308 Temporarily reverted the new arbitrary bit length/alignment support in 
   3309 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
   3310 a number of regressions with the new code that need to be fully resolved 
   3311 and tested before this support can be finally integrated into ACPICA. 
   3312 Apologies for any inconveniences these issues may have caused.
   3313 
   3314 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
   3315 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
   3316 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
   3317 
   3318 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
   3319 option. Adds a new return macro, return_STR. Junk-uk Kim.
   3320 
   3321 Example Code and Data Size: These are the sizes for the OS-independent 
   3322 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3323 debug version of the code includes the debug output trace mechanism and 
   3324 has a much larger code and data size.
   3325 
   3326   Current Release:
   3327     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
   3328     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
   3329   Previous Release:
   3330     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
   3331     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
   3332 
   3333 ----------------------------------------
   3334 22 April 2016. Summary of changes for version 20160422:
   3335 
   3336 1) ACPICA kernel-resident subsystem:
   3337 
   3338 Fixed a regression in the GAS (generic address structure) arbitrary bit 
   3339 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
   3340 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
   3341 
   3342 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
   3343 was added to each of these macros, and the original name has been 
   3344 deprecated. The AML disassembler will always disassemble to the new 
   3345 names. Support for the new macros was added to iASL, disassembler, 
   3346 resource manager, and the acpihelp utility. ACPICA BZ 1274.
   3347 
   3348     I2cSerialBus  -> I2cSerialBusV2
   3349     SpiSerialBus  -> SpiSerialBusV2
   3350     UartSerialBus -> UartSerialBusV2
   3351 
   3352 ACPI 6.0: Added support for a new integer field that was appended to the 
   3353 package object returned by the _BIX method. This adds iASL compile-time 
   3354 and AML runtime error checking. ACPICA BZ 1273.
   3355 
   3356 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
   3357 Subspace Type2" (Headers, Disassembler, and data table compiler).
   3358 
   3359 Example Code and Data Size: These are the sizes for the OS-independent 
   3360 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3361 debug version of the code includes the debug output trace mechanism and 
   3362 has a much larger code and data size.
   3363 
   3364   Current Release:
   3365     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
   3366     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
   3367   Previous Release:
   3368     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
   3369     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
   3370 
   3371 
   3372 2) iASL Compiler/Disassembler and Tools:
   3373 
   3374 iASL: Implemented an ASL grammar extension to allow/enable executable 
   3375 "module-level code" to be created and executed under the various 
   3376 operators that create new scopes. This type of AML code is already 
   3377 supported in all known AML interpreters, and the grammar change will 
   3378 appear in the next version of the ACPI specification. Simplifies the 
   3379 conditional runtime creation of named objects under these object types: 
   3380 
   3381     Device
   3382     PowerResource
   3383     Processor
   3384     Scope
   3385     ThermalZone
   3386 
   3387 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
   3388 ease-of-use to the ASL language. The syntax is similar to the 
   3389 corresponding C operator, and is implemented with the existing AML While 
   3390 opcode -- thus requiring no changes to existing AML interpreters.
   3391 
   3392     For (Initialize, Predicate, Update) {TermList}
   3393 
   3394 Grammar:
   3395     ForTerm :=
   3396         For (
   3397             Initializer    // Nothing | TermArg => ComputationalData
   3398             Predicate      // Nothing | TermArg => ComputationalData
   3399             Update         // Nothing | TermArg => ComputationalData
   3400         ) {TermList}
   3401 
   3402 
   3403 iASL: The _HID/_ADR detection and validation has been enhanced to search 
   3404 under conditionals in order to allow these objects to be conditionally 
   3405 created at runtime.
   3406 
   3407 iASL: Fixed several issues with the constant folding feature. The 
   3408 improvement allows better detection and resolution of statements that can 
   3409 be folded at compile time. ACPICA BZ 1266. 
   3410 
   3411 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
   3412 conversion to the ASL ElseIf operator where incorrect ASL code could be 
   3413 generated.
   3414 
   3415 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
   3416 sometimes an extra (and extraneous) set of parentheses were emitted for 
   3417 some combinations of operators. Although this did not cause any problems 
   3418 with recompilation of the disassembled code, it made the code more 
   3419 difficult to read. David Box. ACPICA BZ 1231.
   3420 
   3421 iASL: Changed to ignore the unreferenced detection for predefined names 
   3422 of resource descriptor elements, when the resource descriptor is 
   3423 created/defined within a control method.
   3424 
   3425 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
   3426 objects.
   3427 
   3428 ----------------------------------------
   3429 18 March 2016. Summary of changes for version 20160318:
   3430 
   3431 1) ACPICA kernel-resident subsystem:
   3432 
   3433 Added support for arbitrary bit lengths and bit offsets for registers 
   3434 defined by the Generic Address Structure. Previously, only aligned bit 
   3435 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
   3436 but recently some machines have been seen that require arbitrary bit-
   3437 level support. ACPICA BZ 1240. Lv Zheng.
   3438 
   3439 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
   3440 before any _REG methods are evaluated. Lv Zheng.
   3441 
   3442 Implemented several changes related to ACPI table support 
   3443 (Headers/Disassembler/TableCompiler):
   3444 NFIT: For ACPI 6.1, updated to add some additional new fields and 
   3445 constants.
   3446 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
   3447 6).
   3448 DMAR: Added new constants per the 10/2014 DMAR spec.
   3449 IORT: Added new subtable per the 10/2015 IORT spec.
   3450 HEST: For ACPI 6.1, added new constants and new subtable.
   3451 DBG2: Added new constants per the 12/2015 DBG2 spec.
   3452 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
   3453 ACPICA BZ 1249.
   3454 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
   3455 
   3456 Updated header support for the DMAR table to match the current version of 
   3457 the related spec.
   3458 
   3459 Added extensions to the ASL Concatenate operator to allow any ACPI object 
   3460 to be passed as an operand. Any object other than Integer/String/Buffer 
   3461 simply returns a string containing the object type. This extends the 
   3462 usefulness of the Printf macros. Previously, Concatenate would abort the 
   3463 control method if a non-data object was encountered.
   3464 
   3465 ACPICA source code: Deployed the C "const" keyword across the source code 
   3466 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
   3467 
   3468 Example Code and Data Size: These are the sizes for the OS-independent 
   3469 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3470 debug version of the code includes the debug output trace mechanism and 
   3471 has a much larger code and data size.
   3472 
   3473   Current Release:
   3474     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
   3475     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
   3476   Previous Release:
   3477     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
   3478     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
   3479 
   3480 
   3481 2) iASL Compiler/Disassembler and Tools:
   3482 
   3483 iASL/Disassembler: Improved the heuristic used to determine the number of 
   3484 arguments for an externally defined control method (a method in another 
   3485 table). Although this is an improvement, there is no deterministic way to 
   3486 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
   3487 will completely solve this problem as it is deployed (automatically) in 
   3488 newer BIOS code.
   3489 
   3490 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
   3491 statements that could cause errors when the disassembled file is 
   3492 compiled. ACPICA BZ 1243. David Box.
   3493 
   3494 iASL: Fixed a regression caused by the merger of the two versions of the 
   3495 local strtoul64. Because of a dependency on a global variable, strtoul64 
   3496 could return an error for integers greater than a 32-bit value. ACPICA BZ 
   3497 1260.
   3498 
   3499 iASL: Fixed a regression where a fault could occur for an ASL Return 
   3500 statement if it invokes a control method that is not resolved. ACPICA BZ 
   3501 1264.
   3502 
   3503 AcpiXtract: Improved input file validation: detection of binary files and 
   3504 non-acpidump text files.
   3505 
   3506 ----------------------------------------
   3507 12 February 2016. Summary of changes for version 20160212:
   3508 
   3509 1) ACPICA kernel-resident subsystem:
   3510 
   3511 Implemented full support for the ACPI 6.1 specification (released in 
   3512 January). This version of the specification is available at:  
   3513 http://www.uefi.org/specifications
   3514 
   3515 Only a relatively small number of changes were required in ACPICA to 
   3516 support ACPI 6.1, in these areas:
   3517 - New predefined names
   3518 - New _HID values
   3519 - A new subtable for HEST
   3520 - A few other header changes for new values
   3521 
   3522 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
   3523 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
   3524 
   3525 Reverted a change made in version 20151218 which enabled method 
   3526 invocations to be targets of various ASL operators (SuperName and Target 
   3527 grammar elements). While the new behavior is supported by the ACPI 
   3528 specification, other AML interpreters do not support this behavior and 
   3529 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
   3530 this support. Therefore, the change was reverted to the original ACPICA 
   3531 behavior.
   3532 
   3533 ACPICA now supports the GCC 6 compiler.
   3534 
   3535 Current Release: (Note: build changes increased sizes)
   3536     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
   3537     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
   3538 Previous Release:
   3539     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
   3540     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
   3541 
   3542 
   3543 2) iASL Compiler/Disassembler and Tools:
   3544 
   3545 Completed full support for the ACPI 6.0 External() AML opcode. The 
   3546 compiler emits an external AML opcode for each ASL External statement. 
   3547 This opcode is used by the disassembler to assist with the disassembly of 
   3548 external control methods by specifying the required number of arguments 
   3549 for the method. AML interpreters do not use this opcode. To ensure that 
   3550 interpreters do not even see the opcode, a block of one or more external 
   3551 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
   3552 commonly deployed in BIOS code, the ability of disassemblers to correctly 
   3553 disassemble AML code will be greatly improved. David Box.
   3554 
   3555 iASL: Implemented support for an optional cross-reference output file. 
   3556 The -lx option will create a the cross-reference file with the suffix 
   3557 "xrf". Three different types of cross-reference are created in this file:
   3558 - List of object references made from within each control method
   3559 - Invocation (caller) list for each user-defined control method
   3560 - List of references to each non-method object in the namespace
   3561 
   3562 iASL: Method invocations as ASL Target operands are now disallowed and 
   3563 flagged as errors in preparation for ACPI 6.2 (see the description of the 
   3564 problem above).
   3565 
   3566 ----------------------------------------
   3567 8 January 2016. Summary of changes for version 20160108:
   3568 
   3569 1) ACPICA kernel-resident subsystem:
   3570 
   3571 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
   3572 copyright to all source code module headers and utility/tool signons. 
   3573 This includes the standard Linux dual-license header. This affects 
   3574 virtually every file in the ACPICA core subsystem, iASL compiler, all 
   3575 ACPICA utilities, and the ACPICA test suite.
   3576 
   3577 Fixed a regression introduced in version 20151218 concerning the 
   3578 execution of so-called module-level ASL/AML code. Namespace objects 
   3579 created under a module-level If() construct were not properly/fully 
   3580 entered into the namespace and could cause an interpreter fault when 
   3581 accessed.
   3582 
   3583 Example Code and Data Size: These are the sizes for the OS-independent 
   3584 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3585 debug version of the code includes the debug output trace mechanism and 
   3586 has a much larger code and data size.
   3587 
   3588 Current Release:
   3589     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
   3590     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
   3591   Previous Release:
   3592     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
   3593     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
   3594 
   3595 
   3596 2) iASL Compiler/Disassembler and Tools:
   3597 
   3598 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
   3599 descriptors. The _PIN field name was incorrectly defined to be an array 
   3600 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
   3601 would cause incorrect bit width warnings when using Word (16-bit) fields 
   3602 to access the descriptors.
   3603 
   3604 
   3605 ----------------------------------------
   3606 18 December 2015. Summary of changes for version 20151218:
   3607 
   3608 1) ACPICA kernel-resident subsystem:
   3609 
   3610 Implemented per-AML-table execution of "module-level code" as individual 
   3611 ACPI tables are loaded into the namespace during ACPICA initialization. 
   3612 In other words, any module-level code within an AML table is executed 
   3613 immediately after the table is loaded, instead of batched and executed 
   3614 after all of the tables have been loaded. This provides compatibility 
   3615 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
   3616 David Box.
   3617 
   3618 To fully support the feature above, the default operation region handlers 
   3619 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
   3620 installed before any ACPI tables are loaded. This enables module-level 
   3621 code to access these address spaces during the table load and module-
   3622 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
   3623 Box.
   3624 
   3625 Implemented several changes to the internal _REG support in conjunction 
   3626 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
   3627 utilities for the changes above. Although these tools were changed, host 
   3628 operating systems that simply use the default handlers for SystemMemory, 
   3629 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
   3630 
   3631 For example, in the code below, DEV1 is conditionally added to the 
   3632 namespace by the DSDT via module-level code that accesses an operation 
   3633 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
   3634 created immediately after the DSDT is loaded in order for the SSDT to 
   3635 successfully reference DEV1. Previously, this code would cause an 
   3636 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
   3637 fully supported by ACPICA.
   3638 
   3639     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
   3640     {
   3641         OperationRegion (OPR1, SystemMemory, 0x400, 32)
   3642         Field (OPR1, AnyAcc, NoLock, Preserve)
   3643         {
   3644             FLD1, 1
   3645         }
   3646         If (FLD1)
   3647         {
   3648             Device (\DEV1)
   3649             {
   3650             }
   3651         }
   3652     }
   3653     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
   3654     {
   3655         External (\DEV1, DeviceObj)
   3656         Scope (\DEV1)
   3657         {
   3658         }
   3659     }
   3660 
   3661 Fixed an AML interpreter problem where control method invocations were 
   3662 not handled correctly when the invocation was itself a SuperName argument 
   3663 to another ASL operator. In these cases, the method was not invoked. 
   3664 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
   3665 argument:
   3666     Store
   3667     Acquire, Wait
   3668     CondRefOf, RefOf
   3669     Decrement, Increment
   3670     Load, Unload
   3671     Notify
   3672     Signal, Release, Reset
   3673     SizeOf
   3674 
   3675 Implemented automatic String-to-ObjectReference conversion support for 
   3676 packages returned by predefined names (such as _DEP). A common BIOS error 
   3677 is to add double quotes around an ObjectReference namepath, which turns 
   3678 the reference into an unexpected string object. This support detects the 
   3679 problem and corrects it before the package is returned to the caller that 
   3680 invoked the method. Lv Zheng.
   3681 
   3682 Implemented extensions to the Concatenate operator. Concatenate now 
   3683 accepts any type of object, it is not restricted to simply 
   3684 Integer/String/Buffer. For objects other than these 3 basic data types, 
   3685 the argument is treated as a string containing the name of the object 
   3686 type. This expands the utility of Concatenate and the Printf/Fprintf 
   3687 macros. ACPICA BZ 1222.
   3688 
   3689 Cleaned up the output of the ASL Debug object. The timer() value is now 
   3690 optional and no longer emitted by default. Also, the basic data types of 
   3691 Integer/String/Buffer are simply emitted as their values, without a data 
   3692 type string -- since the data type is obvious from the output. ACPICA BZ 
   3693 1221.
   3694 
   3695 Example Code and Data Size: These are the sizes for the OS-independent 
   3696 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3697 debug version of the code includes the debug output trace mechanism and 
   3698 has a much larger code and data size.
   3699 
   3700   Current Release:
   3701     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
   3702     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
   3703   Previous Release:
   3704     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
   3705     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
   3706 
   3707 
   3708 2) iASL Compiler/Disassembler and Tools:
   3709 
   3710 iASL: Fixed some issues with the ASL Include() operator. This operator 
   3711 was incorrectly defined in the iASL parser rules, causing a new scope to 
   3712 be opened for the code within the include file. This could lead to 
   3713 several issues, including allowing ASL code that is technically illegal 
   3714 and not supported by AML interpreters. Note, this does not affect the 
   3715 related #include preprocessor operator. ACPICA BZ 1212.
   3716 
   3717 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
   3718 operator is essentially an ASL macro since there is no AML opcode 
   3719 associated with it. The code emitted by the iASL compiler for ElseIf is 
   3720 an Else opcode followed immediately by an If opcode. The disassembler 
   3721 will now emit an ElseIf if it finds an Else immediately followed by an 
   3722 If. This simplifies the decoded ASL, especially for deeply nested 
   3723 If..Else and large Switch constructs. Thus, the disassembled code more 
   3724 closely follows the original source ASL. ACPICA BZ 1211. Example:
   3725 
   3726     Old disassembly:
   3727         Else
   3728         {
   3729             If (Arg0 == 0x02)
   3730             {
   3731                 Local0 = 0x05
   3732             }
   3733         }
   3734 
   3735     New disassembly:
   3736         ElseIf (Arg0 == 0x02)
   3737         {
   3738             Local0 = 0x05
   3739         }
   3740 
   3741 AcpiExec: Added support for the new module level code behavior and the 
   3742 early region installation. This required a small change to the 
   3743 initialization, since AcpiExec must install its own operation region 
   3744 handlers.
   3745 
   3746 AcpiExec: Added support to make the debug object timer optional. Default 
   3747 is timer disabled. This cleans up the debug object output -- the timer 
   3748 data is rarely used.
   3749 
   3750 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
   3751 appear on the command line. This can be important when there are 
   3752 interdependencies/references between the tables.
   3753 
   3754 iASL/Templates. Add support to generate template files with multiple 
   3755 SSDTs within a single output file. Also added ommand line support to 
   3756 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
   3757 1223, 1225.
   3758 
   3759 
   3760 ----------------------------------------
   3761 24 November 2015. Summary of changes for version 20151124:
   3762 
   3763 1) ACPICA kernel-resident subsystem:
   3764 
   3765 Fixed a possible regression for a previous update to FADT handling. The 
   3766 FADT no longer has a fixed table ID, causing some issues with code that 
   3767 was hardwired to a specific ID. Lv Zheng.
   3768 
   3769 Fixed a problem where the method auto-serialization could interfere with 
   3770 the current SyncLevel. This change makes the auto-serialization support 
   3771 transparent to the SyncLevel support and management.
   3772 
   3773 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
   3774 interface is intended for early access to the namespace during the 
   3775 initial namespace device discovery walk. The _SUB method has been seen to 
   3776 access operation regions in some cases, causing errors because the 
   3777 operation regions are not fully initialized.
   3778 
   3779 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
   3780 that can cause faults. Lv Zheng.
   3781 
   3782 AML Debugger: Add thread ID support so that single-step mode only applies 
   3783 to the AML Debugger thread. This prevents runtime errors within some 
   3784 kernels. Lv Zheng. 
   3785 
   3786 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
   3787 methods that are invoked by this interface are optional, removed warnings 
   3788 emitted for the case where one or more of these methods do not exist. 
   3789 ACPICA BZ 1208, original change by Prarit Bhargava.
   3790 
   3791 Made a major pass through the entire ACPICA source code base to 
   3792 standardize formatting that has diverged a bit over time. There are no 
   3793 functional changes, but this will of course cause quite a few code 
   3794 differences from the previous ACPICA release.
   3795 
   3796 Example Code and Data Size: These are the sizes for the OS-independent 
   3797 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3798 debug version of the code includes the debug output trace mechanism and 
   3799 has a much larger code and data size.
   3800 
   3801   Current Release:
   3802     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
   3803     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
   3804   Previous Release:
   3805     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   3806     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
   3807 
   3808 
   3809 2) iASL Compiler/Disassembler and Tools:
   3810 
   3811 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
   3812 definition blocks within a single ASL file and the resulting AML file. 
   3813 Support for this type of file was also added to the various tools that 
   3814 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
   3815 example code below shows two definition blocks within the same file:
   3816 
   3817     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
   3818 0x12345678)
   3819     {
   3820     }
   3821     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
   3822     {
   3823     }
   3824 
   3825 iASL: Enhanced typechecking for the Name() operator. All expressions for 
   3826 the value of the named object must be reduced/folded to a single constant 
   3827 at compile time, as per the ACPI specification (the AML definition of 
   3828 Name()).
   3829 
   3830 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
   3831 and assembly headers). Now all emitted code correctly begins in column 1.
   3832 
   3833 iASL: Added an error message for an attempt to open a Scope() on an 
   3834 object defined in an SSDT. The DSDT is always loaded into the namespace 
   3835 first, so any attempt to open a Scope on an SSDT object will fail at 
   3836 runtime.
   3837 
   3838 
   3839 ----------------------------------------
   3840 30 September 2015. Summary of changes for version 20150930:
   3841 
   3842 1) ACPICA kernel-resident subsystem:
   3843 
   3844 Debugger: Implemented several changes and bug fixes to assist support for 
   3845 the in-kernel version of the AML debugger. Lv Zheng.
   3846 - Fix the "predefined" command for in-kernel debugger.
   3847 - Do not enter debug command loop for the help and version commands.
   3848 - Disallow "execute" command during execution/single-step of a method.
   3849 
   3850 Interpreter: Updated runtime typechecking for all operators that have 
   3851 target operands. The operand is resolved and validated that it is legal. 
   3852 For example, the target cannot be a non-data object such as a Device, 
   3853 Mutex, ThermalZone, etc., as per the ACPI specification.
   3854 
   3855 Debugger: Fixed the double-mutex user I/O handshake to work when local 
   3856 deadlock detection is enabled.
   3857 
   3858 Debugger: limited display of method locals and arguments (LocalX and 
   3859 ArgX) to only those that have actually been initialized. This prevents 
   3860 lines of extraneous output.
   3861 
   3862 Updated the definition of the NFIT table to correct the bit polarity of 
   3863 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
   3864 
   3865 Example Code and Data Size: These are the sizes for the OS-independent 
   3866 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3867 debug version of the code includes the debug output trace mechanism and 
   3868 has a much larger code and data size.
   3869 
   3870   Current Release:
   3871     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   3872     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
   3873   Previous Release:
   3874     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
   3875     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
   3876 
   3877 
   3878 2) iASL Compiler/Disassembler and Tools:
   3879 
   3880 iASL: Improved the compile-time typechecking for operands of many of the 
   3881 ASL operators:
   3882 
   3883 -- Added an option to disable compiler operand/operator typechecking (-
   3884 ot).
   3885 
   3886 -- For the following operators, the TermArg operands are now validated 
   3887 when possible to be Integer data objects: BankField, OperationRegion, 
   3888 DataTableRegion, Buffer, and Package.
   3889 
   3890 -- Store (Source, Target): Both the source and target operands are 
   3891 resolved and checked that the operands are both legal. For example, 
   3892 neither operand can be a non-data object such as a Device, Mutex, 
   3893 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
   3894 operator can be used to store an object to any type of target object.
   3895 
   3896 -- Store (Source, Target): If the source is a Package object, the target 
   3897 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
   3898 is a Package, the source must also be a Package.
   3899 
   3900 -- Store (Source, Target): A warning is issued if the source and target 
   3901 resolve to the identical named object.
   3902 
   3903 -- Store (Source, <method invocation>): An error is generated for the 
   3904 target method invocation, as this construct is not supported by the AML 
   3905 interpreter.
   3906 
   3907 -- For all ASL math and logic operators, the target operand must be a 
   3908 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
   3909 includes the function return value also.
   3910 
   3911 -- External declarations are also included in the typechecking where 
   3912 possible. External objects defined using the UnknownObj keyword cannot be 
   3913 typechecked, however.
   3914 
   3915 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
   3916 operator:
   3917 - Legacy code: Index(PKG1, 3)
   3918 - New ASL+ code: PKG1[3]
   3919 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
   3920 supported.
   3921 
   3922 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
   3923 spaces were inadvertently appended to the filename, causing file access 
   3924 and deletion problems on some systems.
   3925 
   3926 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
   3927 possible compiler output files when building the test suite -- thus 
   3928 exercising these features of the compiler. These files are automatically 
   3929 deleted when the test suite exits.
   3930 
   3931 
   3932 ----------------------------------------
   3933 18 August 2015. Summary of changes for version 20150818:
   3934 
   3935 1) ACPICA kernel-resident subsystem:
   3936 
   3937 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
   3938 Zheng. ACPICA BZ 1186.
   3939 
   3940 Completed development to ensure that the ACPICA Disassembler and Debugger 
   3941 are fully standalone components of ACPICA. Removed cross-component 
   3942 dependences. Lv Zheng.
   3943 
   3944 The max-number-of-AML-loops is now runtime configurable (previously was 
   3945 compile-time only). This is essentially a loop timeout to force-abort 
   3946 infinite AML loops. ACPCIA BZ 1192.
   3947 
   3948 Debugger: Cleanup output to dump ACPI names and namepaths without any 
   3949 trailing underscores. Lv Zheng. ACPICA BZ 1135.
   3950 
   3951 Removed unnecessary conditional compilations across the Debugger and 
   3952 Disassembler components where entire modules could be left uncompiled.
   3953 
   3954 The aapits test is deprecated and has been removed from the ACPICA git 
   3955 tree. The test has never been completed and has not been maintained, thus 
   3956 becoming rather useless. ACPICA BZ 1015, 794.
   3957 
   3958 A batch of small changes to close bugzilla and other reports:
   3959 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
   3960 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
   3961 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
   3962 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
   3963 Moore.
   3964 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
   3965 ACPICA BZ 1184.
   3966 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
   3967 operators.
   3968 - Debugger: Split debugger initialization/termination interfaces. Lv 
   3969 Zheng.
   3970 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
   3971 identification.
   3972 - AcpiExec: Add debug message during _REG method phase during table 
   3973 load/init.
   3974 - AcpiNames: Fix a regression where some output was missing and no longer 
   3975 emitted.
   3976 - Debugger: General cleanup and simplification. Lv Zheng.
   3977 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
   3978 
   3979 Example Code and Data Size: These are the sizes for the OS-independent 
   3980 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3981 debug version of the code includes the debug output trace mechanism and 
   3982 has a much larger code and data size.
   3983 
   3984   Current Release:
   3985     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
   3986     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
   3987   Previous Release:
   3988     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
   3989     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
   3990 
   3991 
   3992 2) iASL Compiler/Disassembler and Tools:
   3993 
   3994 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
   3995 were not handled properly and caused load errors. Now, properly invoke 
   3996 and use the ACPICA auto-reallocate mechanism for ACPI table data 
   3997 structures. ACPICA BZ 1188
   3998 
   3999 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
   4000 BZ 1190.
   4001 
   4002 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
   4003 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
   4004 executed during initialization. ACPICA BZ 1187, 1189.
   4005 
   4006 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
   4007 that corresponds to each disassembled ASL statement, to simplify 
   4008 debugging. ACPICA BZ 1191.
   4009 
   4010 Debugger: Add option to the "objects" command to display a summary of the 
   4011 current namespace objects (Object type and count). This is displayed if 
   4012 the command is entered with no arguments.
   4013 
   4014 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
   4015 
   4016 
   4017 ----------------------------------------
   4018 17 July 2015. Summary of changes for version 20150717:
   4019 
   4020 1) ACPICA kernel-resident subsystem:
   4021 
   4022 Improved the partitioning between the Debugger and Disassembler 
   4023 components. This allows the Debugger to be used standalone within kernel 
   4024 code without the Disassembler (which is used for single stepping also). 
   4025 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
   4026 
   4027 Debugger: Implemented a new command to trace the execution of control 
   4028 methods (Trace). This is especially useful for the in-kernel version of 
   4029 the debugger when file I/O may not be available for method trace output. 
   4030 See the ACPICA reference for more information. Lv Zheng.
   4031 
   4032 Moved all C library prototypes (used for the local versions of these 
   4033 functions when requested) to a new header, acclib.h
   4034 Cleaned up the use of non-ANSI C library functions. These functions are 
   4035 implemented locally in ACPICA. Moved all such functions to a common 
   4036 source file, utnonansi.c
   4037 
   4038 Debugger: Fixed a problem with the "!!" command (get last command 
   4039 executed) where the debugger could enter an infinite loop and eventually 
   4040 crash.
   4041 
   4042 Removed the use of local macros that were used for some of the standard C 
   4043 library functions to automatically cast input parameters. This mostly 
   4044 affected the is* functions where the input parameter is defined to be an 
   4045 int. This required a few modifications to the main ACPICA source code to 
   4046 provide casting for these functions and eliminate possible compiler 
   4047 warnings for these parameters.
   4048 
   4049 Across the source code, added additional status/error checking to resolve 
   4050 issues discovered by static source code analysis tools such as Coverity.
   4051 
   4052 Example Code and Data Size: These are the sizes for the OS-independent 
   4053 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4054 debug version of the code includes the debug output trace mechanism and 
   4055 has a much larger code and data size.
   4056 
   4057   Current Release:
   4058     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
   4059     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
   4060   Previous Release:
   4061     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
   4062     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
   4063 
   4064 
   4065 2) iASL Compiler/Disassembler and Tools:
   4066 
   4067 iASL: Fixed a regression where the device map file feature no longer 
   4068 worked properly when used in conjunction with the disassembler. It only 
   4069 worked properly with the compiler itself.
   4070 
   4071 iASL: Implemented a new warning for method LocalX variables that are set 
   4072 but never used (similar to a C compiler such as gcc). This also applies 
   4073 to ArgX variables that are not defined by the parent method, and are 
   4074 instead (legally) used as local variables.
   4075 
   4076 iASL/Preprocessor: Finished the pass-through of line numbers from the 
   4077 preprocessor to the compiler. This ensures that compiler errors/warnings 
   4078 have the correct original line numbers and filenames, regardless of any 
   4079 #include files.
   4080 
   4081 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
   4082 pass-through of comments to the preprocessor output file (which becomes 
   4083 the compiler input file). Also fixed a problem with // comments that 
   4084 appear after a math expression.
   4085 
   4086 iASL: Added support for the TCPA server table to the table compiler and 
   4087 template generator. (The client table was already previously supported)
   4088 
   4089 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
   4090 identify the iASL compiler.
   4091 
   4092 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
   4093 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
   4094 ACPI_SIGN_POSITIVE.
   4095 
   4096 AcpiHelp: Update to expand help messages for the iASL preprocessor 
   4097 directives.
   4098 
   4099 
   4100 ----------------------------------------
   4101 19 June 2015. Summary of changes for version 20150619:
   4102 
   4103 Two regressions in version 20150616 have been addressed:
   4104 
   4105 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
   4106 etc.) This update changes ACPICA to only use the standard headers for 
   4107 functions, or the prototypes for the local versions of the C library 
   4108 functions. Across the source code, this required some additional casts 
   4109 for some Clib invocations for portability. Moved all local prototypes to 
   4110 a new file, acclib.h
   4111 
   4112 Fixes several problems with recent changes to the handling of the FACS 
   4113 table that could cause some systems not to boot.
   4114 
   4115 
   4116 ----------------------------------------
   4117 16 June 2015. Summary of changes for version 20150616:
   4118 
   4119 
   4120 1) ACPICA kernel-resident subsystem:
   4121 
   4122 Across the entire ACPICA source code base, the various macros for the C 
   4123 library functions (such as ACPI_STRLEN, etc.) have been removed and 
   4124 replaced by the standard C library names (strlen, etc.) The original 
   4125 purpose for these macros is no longer applicable. This simplification 
   4126 reduces the number of macros used in the ACPICA source code 
   4127 significantly, improving readability and maintainability.
   4128 
   4129 Implemented support for a new ACPI table, the OSDT. This table, the 
   4130 "override" SDT, can be loaded directly by the host OS at boot time. It 
   4131 enables the replacement of existing namespace objects that were installed 
   4132 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
   4133 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
   4134 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
   4135 Moore.
   4136 
   4137 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
   4138 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
   4139 X field). This change will support both automatically. There continues to 
   4140 be systems found with this issue. This support requires a change to the 
   4141 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
   4142 been added to allow the host to select which FACS is desired 
   4143 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
   4144 details Lv Zheng.
   4145 
   4146 Added a new feature to allow for systems that do not contain an FACS. 
   4147 Although this is already supported on hardware-reduced platforms, the 
   4148 feature has been extended for all platforms. The reasoning is that we do 
   4149 not want to abort the entire ACPICA initialization just because the 
   4150 system is seriously buggy and has no FACS.
   4151 
   4152 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
   4153 not correctly transcribed from the ACPI specification in ACPICA version 
   4154 20150515.
   4155 
   4156 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
   4157 interface.
   4158 
   4159 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
   4160 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
   4161 compiler also updated. Note: The TCPA "server" table is not supported by 
   4162 the disassembler/table-compiler at this time.
   4163 
   4164 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
   4165 
   4166 Example Code and Data Size: These are the sizes for the OS-independent 
   4167 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4168 debug version of the code includes the debug output trace mechanism and 
   4169 has a much larger code and data size.
   4170 
   4171   Current Release:
   4172     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
   4173     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
   4174   Previous Release:
   4175     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
   4176     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
   4177 
   4178 
   4179 2) iASL Compiler/Disassembler and Tools:
   4180 
   4181 Disassembler: Fixed a problem with the new symbolic operator disassembler 
   4182 where incorrect ASL code could be emitted in some cases for the "non-
   4183 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
   4184 ShiftRight. The actual problem cases seem to be rather unusual in common 
   4185 ASL code, however. David Box.
   4186 
   4187 Modified the linux version of acpidump to obtain ACPI tables from not 
   4188 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
   4189 Zheng.
   4190 
   4191 iASL: Fixed a problem where the user preprocessor output file (.i) 
   4192 contained extra data that was not expected. The compiler was using this 
   4193 file as a temporary file and passed through #line directives in order to 
   4194 keep compiler error messages in sync with the input file and line number 
   4195 across multiple include files. The (.i) is no longer a temporary file as 
   4196 the compiler uses a new, different file for the original purpose.
   4197 
   4198 iASL: Fixed a problem where comments within the original ASL source code 
   4199 file were not passed through to the preprocessor output file, nor any 
   4200 listing files.
   4201 
   4202 iASL: Fixed some issues for the handling of the "#include" preprocessor 
   4203 directive and the similar (but not the same) "Include" ASL operator.
   4204 
   4205 iASL: Add support for the new OSDT in both the disassembler and compiler.
   4206 
   4207 iASL: Fixed a problem with the constant folding support where a Buffer 
   4208 object could be incorrectly generated (incorrectly formed) during a 
   4209 conversion to a Store() operator.
   4210 
   4211 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
   4212 description text for the _REV predefined name. _REV now permanently 
   4213 returns 2, as per the ACPI 6.0 specification.
   4214 
   4215 Debugger: Enhanced the output of the Debug ASL object for references 
   4216 produced by the Index operator. For Buffers and strings, only output the 
   4217 actual byte pointed to by the index. For packages, only print the single 
   4218 package element decoded by the index. Previously, the entire 
   4219 buffer/string/package was emitted.
   4220 
   4221 iASL/Table-compiler: Fixed a regression where the "generic" data types 
   4222 were no longer recognized, causing errors.
   4223 
   4224 
   4225 ----------------------------------------
   4226 15 May 2015. Summary of changes for version 20150515:
   4227 
   4228 This release implements most of ACPI 6.0 as described below.
   4229 
   4230 1) ACPICA kernel-resident subsystem:
   4231 
   4232 Implemented runtime argument checking and return value checking for all 
   4233 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
   4234 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
   4235 
   4236 Example Code and Data Size: These are the sizes for the OS-independent 
   4237 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4238 debug version of the code includes the debug output trace mechanism and 
   4239 has a much larger code and data size.
   4240 
   4241   Current Release:
   4242     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
   4243     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
   4244   Previous Release:
   4245     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
   4246     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
   4247 
   4248 
   4249 2) iASL Compiler/Disassembler and Tools:
   4250 
   4251 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
   4252 names (argument count validation and return value typechecking.)
   4253 
   4254 iASL disassembler and table compiler: implemented support for all new 
   4255 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
   4256 
   4257 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
   4258 tables: FADT, MADT.
   4259 
   4260 iASL preprocessor: Added a new directive to enable inclusion of binary 
   4261 blobs into ASL code. The new directive is #includebuffer. It takes a 
   4262 binary file as input and emits a named ascii buffer object into the ASL 
   4263 code.
   4264 
   4265 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
   4266 
   4267 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
   4268 directives.
   4269 
   4270 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
   4271 tables.
   4272 
   4273 
   4274 ----------------------------------------
   4275 10 April 2015. Summary of changes for version 20150410:
   4276 
   4277 Reverted a change introduced in version 20150408 that caused
   4278 a regression in the disassembler where incorrect operator
   4279 symbols could be emitted.
   4280 
   4281 
   4282 ----------------------------------------
   4283 08 April 2015. Summary of changes for version 20150408:
   4284 
   4285 
   4286 1) ACPICA kernel-resident subsystem:
   4287 
   4288 Permanently set the return value for the _REV predefined name. It now 
   4289 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
   4290 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
   4291 for ACPI 2.0 and later. It should never be used to differentiate or 
   4292 identify operating systems.
   4293 
   4294 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
   4295 return TRUE to a query with this string.
   4296 
   4297 Fixed several issues with the local version of the printf function.
   4298 
   4299 Added the C99 compiler option (-std=c99) to the Unix makefiles.
   4300 
   4301   Current Release:
   4302     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
   4303     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
   4304   Previous Release:
   4305     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   4306     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   4307 
   4308 
   4309 2) iASL Compiler/Disassembler and Tools:
   4310 
   4311 iASL: Implemented an enhancement to the constant folding feature to 
   4312 transform the parse tree to a simple Store operation whenever possible:
   4313     Add (2, 3, X) ==> is converted to: Store (5, X)
   4314     X = 2 + 3     ==> is converted to: Store (5, X)
   4315 
   4316 Updated support for the SLIC table (Software Licensing Description Table) 
   4317 in both the Data Table compiler and the disassembler. The SLIC table 
   4318 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
   4319 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
   4320 following the ACPI header is now defined to be "Proprietary Data", and as 
   4321 such, can only be entered or displayed as a hex data block.
   4322 
   4323 Implemented full support for the MSDM table as described in the document 
   4324 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
   4325 following the ACPI header is defined to be "Proprietary Data", and can 
   4326 only be entered or displayed as a hex data block.
   4327 
   4328 Implemented the -Pn option for the iASL Table Compiler (was only 
   4329 implemented for the ASL compiler). This option disables the iASL 
   4330 preprocessor.
   4331 
   4332 Disassembler: For disassembly of Data Tables, added a comment field 
   4333 around the Ascii equivalent data that is emitted as part of the "Raw 
   4334 Table Data" block. This prevents the iASL Preprocessor from possible 
   4335 confusion if/when the table is compiled.
   4336 
   4337 Disassembler: Added an option (-df) to force the disassembler to assume 
   4338 that the table being disassembled contains valid AML. This feature is 
   4339 useful for disassembling AML files that contain ACPI signatures other 
   4340 than DSDT or SSDT (such as OEMx or other signatures).
   4341 
   4342 Changes for the EFI version of the tools:
   4343 1) Fixed a build error/issue
   4344 2) Fixed a cast warning
   4345 
   4346 iASL: Fixed a path issue with the __FILE__ operator by making the 
   4347 directory prefix optional within the internal SplitInputFilename 
   4348 function.
   4349 
   4350 Debugger: Removed some unused global variables.
   4351 
   4352 Tests: Updated the makefile for proper generation of the AAPITS suite.
   4353 
   4354 
   4355 ----------------------------------------
   4356 04 February 2015. Summary of changes for version 20150204:
   4357 
   4358 ACPICA kernel-resident subsystem:
   4359 
   4360 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   4361 copyright to all module headers and signons, including the standard Linux 
   4362 header. This affects virtually every file in the ACPICA core subsystem, 
   4363 iASL compiler, all ACPICA utilities, and the test suites.
   4364 
   4365 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
   4366 A raw gpe handling mechanism was created to allow better handling of GPE
   4367 storms that aren't easily managed by the normal handler. The raw handler
   4368 allows disabling/renabling of the GPE so that interrupt storms can be
   4369 avoided in cases where events cannot be timely serviced. In this 
   4370 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
   4371 GPE. This API will leave the reference counts undisturbed, thereby 
   4372 preventing unintentional clearing of the GPE when the intent in only to 
   4373 temporarily disable it. Raw handlers allow enabling and disabling of a 
   4374 GPE by removing GPE register locking. As such, raw handlers much provide 
   4375 their own locks while using GPE API's to protect access to GPE data 
   4376 structures.
   4377 Lv Zheng
   4378 
   4379 Events: Always modify GPE registers under the GPE lock.
   4380 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
   4381 values. Reported as bug by joe.liu (a] apple.com.
   4382 
   4383 Unix makefiles: Separate option to disable optimizations and 
   4384 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
   4385 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
   4386 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
   4387 errors when building ACPICA. This allows disabling the option without 
   4388 also having to disable optimazations.
   4389 David Box
   4390 
   4391   Current Release:
   4392     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   4393     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
   4394 
   4395 --
   4396 --------------------------------------
   4397 07 November 2014. Summary of changes for version 20141107:
   4398 
   4399 This release is available at https://acpica.org/downloads
   4400 
   4401 This release introduces and implements language extensions to ASL that 
   4402 provide support for symbolic ("C-style") operators and expressions. These 
   4403 language extensions are known collectively as ASL+.
   4404 
   4405 
   4406 1) iASL Compiler/Disassembler and Tools:
   4407 
   4408 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
   4409 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
   4410 Box.
   4411 
   4412 Disassembler: Fixed the Unicode macro support to add escape sequences. 
   4413 All non-printable ASCII values are emitted as escape sequences, as well 
   4414 as the standard escapes for quote and backslash. Ensures that the 
   4415 disassembled macro can be correctly recompiled.
   4416 
   4417 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
   4418 translated to existing AML Concatenate and Store operations. Printf 
   4419 writes to the ASL Debug object. Fprintf allows the specification of an 
   4420 ASL name as the target. Only a single format specifier is required, %o, 
   4421 since the AML interpreter dynamically converts objects to the required 
   4422 type. David E. Box.
   4423 
   4424     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   4425                  (Concatenate (Concatenate (Concatenate ("", Arg0),
   4426                  ": Unexpected value for "), Arg1), ", "), Arg2),
   4427                  " at line "), Arg3), Debug)
   4428 
   4429     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
   4430                  Arg0, Arg1, Arg2, Arg3)
   4431 
   4432     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   4433                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
   4434 
   4435     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
   4436 
   4437 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
   4438 ASL parse tree before the AML code is generated. This allows blocks of 
   4439 ASL code to be removed in order to help locate and identify problem 
   4440 devices and/or code. David E. Box.
   4441 
   4442 AcpiExec: Added support (-fi) for an optional namespace object 
   4443 initialization file. This file specifies initial values for namespace 
   4444 objects as necessary for debugging and testing different ASL code paths 
   4445 that may be taken as a result of BIOS options.
   4446 
   4447 
   4448 2) Overview of symbolic operator support for ASL (ASL+)
   4449 -------------------------------------------------------
   4450 
   4451 As an extension to the ASL language, iASL implements support for symbolic 
   4452 (C-style) operators for math and logical expressions. This can greatly 
   4453 simplify ASL code as well as improve both readability and 
   4454 maintainability. These language extensions can exist concurrently with 
   4455 all legacy ASL code and expressions.
   4456 
   4457 The symbolic extensions are 100% compatible with existing AML 
   4458 interpreters, since no new AML opcodes are created. To implement the 
   4459 extensions, the iASL compiler transforms the symbolic expressions into 
   4460 the legacy ASL/AML equivalents at compile time.
   4461 
   4462 Full symbolic expressions are supported, along with the standard C 
   4463 precedence and associativity rules.
   4464 
   4465 Full disassembler support for the symbolic expressions is provided, and 
   4466 creates an automatic migration path for existing ASL code to ASL+ code 
   4467 via the disassembly process. By default, the disassembler now emits ASL+ 
   4468 code with symbolic expressions. An option (-dl) is provided to force the 
   4469 disassembler to emit legacy ASL code if desired.
   4470 
   4471 Below is the complete list of the currently supported symbolic operators 
   4472 with examples. See the iASL User Guide for additional information.
   4473 
   4474 
   4475 ASL+ Syntax      Legacy ASL Equivalent
   4476 -----------      ---------------------
   4477 
   4478     // Math operators
   4479 
   4480 Z = X + Y        Add (X, Y, Z)
   4481 Z = X - Y        Subtract (X, Y, Z)
   4482 Z = X * Y        Multiply (X, Y, Z)
   4483 Z = X / Y        Divide (X, Y, , Z)
   4484 Z = X % Y        Mod (X, Y, Z)
   4485 Z = X << Y       ShiftLeft (X, Y, Z)
   4486 Z = X >> Y       ShiftRight (X, Y, Z)
   4487 Z = X & Y        And (X, Y, Z)
   4488 Z = X | Y        Or (X, Y, Z)
   4489 Z = X ^ Y        Xor (X, Y, Z)
   4490 Z = ~X           Not (X, Z)
   4491 X++              Increment (X)
   4492 X--              Decrement (X)
   4493 
   4494     // Logical operators
   4495 
   4496 (X == Y)         LEqual (X, Y)
   4497 (X != Y)         LNotEqual (X, Y)
   4498 (X < Y)          LLess (X, Y)
   4499 (X > Y)          LGreater (X, Y)
   4500 (X <= Y)         LLessEqual (X, Y)
   4501 (X >= Y)         LGreaterEqual (X, Y)
   4502 (X && Y)         LAnd (X, Y)
   4503 (X || Y)         LOr (X, Y)
   4504 (!X)             LNot (X)
   4505 
   4506     // Assignment and compound assignment operations
   4507 
   4508 X = Y           Store (Y, X)
   4509 X += Y          Add (X, Y, X)
   4510 X -= Y          Subtract (X, Y, X)
   4511 X *= Y          Multiply (X, Y, X)
   4512 X /= Y          Divide (X, Y, , X)
   4513 X %= Y          Mod (X, Y, X)
   4514 X <<= Y         ShiftLeft (X, Y, X)
   4515 X >>= Y         ShiftRight (X, Y, X)
   4516 X &= Y          And (X, Y, X)
   4517 X |= Y          Or (X, Y, X)
   4518 X ^= Y          Xor (X, Y, X)
   4519 
   4520 
   4521 3) ASL+ Examples:
   4522 -----------------
   4523 
   4524 Legacy ASL:
   4525         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
   4526             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
   4527 0x03FB), 
   4528             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
   4529         {
   4530             And (MEMB, 0xFFFFFFF0, SRMB)
   4531             Store (MEMB, Local2)
   4532             Store (PDBM, Local1)
   4533             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
   4534             Store (SRMB, MEMB)
   4535             Or (PDBM, 0x02, PDBM)
   4536         }
   4537 
   4538 ASL+ version:
   4539         If (((R510 & 0x03FB) == 0x02E0) ||
   4540             ((R520 & 0x03FB) == 0x02E0) ||
   4541             ((R530 & 0x03FB) == 0x02E0) || 
   4542             ((R540 & 0x03FB) == 0x02E0))
   4543         {
   4544             SRMB = (MEMB & 0xFFFFFFF0)
   4545             Local2 = MEMB
   4546             Local1 = PDBM
   4547             PDBM &= 0xFFFFFFFFFFFFFFF9
   4548             MEMB = SRMB
   4549             PDBM |= 0x02
   4550         }
   4551 
   4552 Legacy ASL:
   4553         Store (0x1234, Local1)
   4554         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
   4555         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
   4556         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
   4557         Store (Index (PKG1, 0x03), Local6)
   4558         Store (Add (Local3, Local2), Debug)
   4559         Add (Local1, 0x0F, Local2)
   4560         Add (Local1, Multiply (Local2, Local3), Local2)
   4561         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
   4562 
   4563 ASL+ version:
   4564         Local1 = 0x1234
   4565         Local3 = (((Local1 + TEST) + 0x20) * Local2)
   4566         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
   4567         Local3 = (Local1 + (TEST + (0x20 * Local2)))
   4568         Local6 = Index (PKG1, 0x03)
   4569         Debug = (Local3 + Local2)
   4570         Local2 = (Local1 + 0x0F)
   4571         Local2 = (Local1 + (Local2 * Local3))
   4572         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
   4573 
   4574 
   4575 ----------------------------------------
   4576 26 September 2014. Summary of changes for version 20140926:
   4577 
   4578 1) ACPICA kernel-resident subsystem:
   4579 
   4580 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
   4581 In order to support GPIO Connection objects with multiple pins, along 
   4582 with the related Field objects, the following changes to the interface 
   4583 have been made: The Address is now defined to be the offset in bits of 
   4584 the field unit from the previous invocation of a Connection. It can be 
   4585 viewed as a "Pin Number Index" into the connection resource descriptor. 
   4586 The BitWidth is the exact bit width of the field. It is usually one bit, 
   4587 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
   4588 additional information and examples.
   4589 
   4590 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
   4591 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
   4592 by the firmware), so that they cannot fire until they are enabled via 
   4593 AcpiUpdateAllGpes. Rafael J. Wysocki.
   4594 
   4595 Added a new return flag for the Event/GPE status interfaces -- 
   4596 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
   4597 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
   4598 GPE currently has a handler associated with it, and can thus actually 
   4599 affect the system. Lv Zheng.
   4600 
   4601 Example Code and Data Size: These are the sizes for the OS-independent 
   4602 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4603 debug version of the code includes the debug output trace mechanism and 
   4604 has a much larger code and data size.
   4605 
   4606   Current Release:
   4607     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
   4608     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
   4609   Previous Release:
   4610     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   4611     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   4612 
   4613 2) iASL Compiler/Disassembler and Tools:
   4614 
   4615 iASL: Fixed a memory allocation/free regression introduced in 20140828 
   4616 that could cause the compiler to crash. This was introduced inadvertently 
   4617 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
   4618 1113.
   4619 
   4620 iASL: Removed two error messages that have been found to create false 
   4621 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
   4622 1) Illegal forward reference within a method
   4623 2) Illegal reference across two methods
   4624 
   4625 iASL: Implemented a new option (-lm) to create a hardware mapping file 
   4626 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
   4627 works for both the compiler and disassembler. See the iASL compiler user 
   4628 guide for additional information and examples (section 6.4.6).
   4629 
   4630 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
   4631 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
   4632 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
   4633 
   4634 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
   4635 unless STDIN is actually a terminal. Assists with batch-mode processing. 
   4636 ACPICA BZ 1114.
   4637 
   4638 Disassembler/AcpiHelp: Added another large group of recognized _HID 
   4639 values.
   4640 
   4641 
   4642 ----------------------------------------
   4643 28 August 2014. Summary of changes for version 20140828:
   4644 
   4645 1) ACPICA kernel-resident subsystem:
   4646 
   4647 Fixed a problem related to the internal use of the Timer() operator where 
   4648 a 64-bit divide could cause an attempted link to a double-precision math 
   4649 library. This divide is not actually necessary, so the code was 
   4650 restructured to eliminate it. Lv Zheng.
   4651 
   4652 ACPI 5.1: Added support for the runtime validation of the _DSD package 
   4653 (similar to the iASL support).
   4654 
   4655 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
   4656 SRAT table. Hanjun Guo <hanjun.guo (a] linaro.org>.
   4657 
   4658 Example Code and Data Size: These are the sizes for the OS-independent 
   4659 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4660 debug version of the code includes the debug output trace mechanism and 
   4661 has a much larger code and data size.
   4662 
   4663   Current Release:
   4664     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   4665     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   4666   Previous Release:
   4667     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
   4668     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   4669 
   4670 2) iASL Compiler/Disassembler and Tools:
   4671 
   4672 AcpiExec: Fixed a problem on unix systems where the original terminal 
   4673 state was not always properly restored upon exit. Seen when using the -v 
   4674 option. ACPICA BZ 1104.
   4675 
   4676 iASL: Fixed a problem with the validation of the ranges/length within the 
   4677 Memory24 resource descriptor. There was a boundary condition when the 
   4678 range was equal to the (length -1) caused by the fact that these values 
   4679 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
   4680 
   4681 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
   4682 polarity 
   4683 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
   4684 is 
   4685 now supported properly.
   4686 
   4687 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
   4688 in the disassembler, data table compiler, and table template generator.
   4689 
   4690 iASL: Added a requirement for Device() objects that one of either a _HID 
   4691 or _ADR must exist within the scope of a Device, as per the ACPI 
   4692 specification. Remove a similar requirement that was incorrectly in place 
   4693 for the _DSD object.
   4694 
   4695 iASL: Added error detection for illegal named references within control 
   4696 methods that would cause runtime failures. Now trapped as errors are: 1) 
   4697 References to objects within a non-parent control method. 2) Forward 
   4698 references (within a method) -- for control methods, AML interpreters use 
   4699 a one-pass parse of control methods. ACPICA BZ 1008.
   4700 
   4701 iASL: Added error checking for dependencies related to the _PSx power 
   4702 methods. ACPICA BZ 1029.
   4703 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
   4704 _PS3.
   4705 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
   4706 scope.
   4707 
   4708 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
   4709 deploying the existing object and string caches and adding new caches for 
   4710 the table compiler.
   4711 
   4712 iASL: Split the huge parser source file into multiple subfiles to improve 
   4713 manageability. Generation now requires the M4 macro preprocessor, which 
   4714 is part of the Bison distribution on both unix and windows platforms.
   4715 
   4716 AcpiSrc: Fixed and removed all extraneous warnings generated during 
   4717 entire ACPICA source code scan and/or conversion.
   4718 
   4719 
   4720 ----------------------------------------
   4721 
   4722 24 July 2014. Summary of changes for version 20140724: 
   4723 
   4724 The ACPI 5.1 specification has been released and is available at: 
   4725 http://uefi.org/specs/access
   4726 
   4727 
   4728 0) ACPI 5.1 support in ACPICA:
   4729 
   4730 ACPI 5.1 is fully supported in ACPICA as of this release.
   4731 
   4732 New predefined names. Support includes iASL and runtime ACPICA 
   4733 validation.
   4734     _CCA (Cache Coherency Attribute).
   4735     _DSD (Device-Specific Data). David Box.
   4736 
   4737 Modifications to existing ACPI tables. Support includes headers, iASL 
   4738 Data Table compiler, disassembler, and the template generator.
   4739     FADT - New fields and flags. Graeme Gregory.
   4740     GTDT - One new subtable and new fields. Tomasz Nowicki.
   4741     MADT - Two new subtables. Tomasz Nowicki.
   4742     PCCT - One new subtable.
   4743 
   4744 Miscellaneous.
   4745     New notification type for System Resource Affinity change events.
   4746 
   4747 
   4748 1) ACPICA kernel-resident subsystem:
   4749 
   4750 Fixed a regression introduced in 20140627 where a fault can happen during 
   4751 the deletion of Alias AML namespace objects. The problem affected both 
   4752 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
   4753 
   4754 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
   4755 simple mechanism to enable wake GPEs that have no associated handler or 
   4756 control method. Rafael Wysocki.
   4757 
   4758 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
   4759 handler or control method associated with the particular GPE. This will 
   4760 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
   4761 
   4762 Updated GPE handling and dispatch by disabling the GPE before clearing 
   4763 the status bit for edge-triggered GPEs. Lv Zheng.
   4764 
   4765 Added Timer() support to the AML Debug object. The current timer value is 
   4766 now displayed with each invocation of (Store to) the debug object to 
   4767 enable simple generation of execution times for AML code (method 
   4768 execution for example.) ACPICA BZ 1093.
   4769 
   4770 Example Code and Data Size: These are the sizes for the OS-independent 
   4771 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4772 debug version of the code includes the debug output trace mechanism and 
   4773 has a much larger code and data size.
   4774 
   4775   Current Release:
   4776     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
   4777     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   4778   Previous Release:
   4779     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   4780     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   4781 
   4782 
   4783 2) iASL Compiler/Disassembler and Tools:
   4784 
   4785 Fixed an issue with the recently added local printf implementation, 
   4786 concerning width/precision specifiers that could cause incorrect output. 
   4787 Lv Zheng. ACPICA BZ 1094.
   4788 
   4789 Disassembler: Added support to detect buffers that contain UUIDs and 
   4790 disassemble them to an invocation of the ToUUID operator. Also emit 
   4791 commented descriptions of known ACPI-related UUIDs.
   4792 
   4793 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
   4794 -u. Adds three new files. 
   4795 
   4796 iASL: Update table compiler and disassembler for DMAR table changes that 
   4797 were introduced in September 2013. With assistance by David Woodhouse.
   4798 
   4799 ----------------------------------------
   4800 27 June 2014. Summary of changes for version 20140627:
   4801 
   4802 1) ACPICA kernel-resident subsystem:
   4803 
   4804 Formatted Output: Implemented local versions of standard formatted output 
   4805 utilities such as printf, etc. Over time, it has been discovered that 
   4806 there are in fact many portability issues with printf, and the addition 
   4807 of this feature will fix/prevent these issues once and for all. Some 
   4808 known issues are summarized below:
   4809 
   4810 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
   4811 for the Linux kernel and is %uI64 for some MSVC versions.
   4812 2) Invoking printf consistently in a manner that is portable across both 
   4813 32-bit and 64-bit platforms is difficult at best in many situations.
   4814 3) The output format for pointers varies from system to system (leading 
   4815 zeros especially), and leads to inconsistent output from ACPICA across 
   4816 platforms.
   4817 4) Certain platform-specific printf formats may conflict with ACPICA use.
   4818 5) If there is no local C library available, ACPICA now has local support 
   4819 for printf.
   4820 
   4821 -- To address these printf issues in a complete manner, ACPICA now 
   4822 directly implements a small subset of printf format specifiers, only 
   4823 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
   4824 
   4825 Implemented support for ACPICA generation within the EFI environment. 
   4826 Initially, the AcpiDump utility is supported in the UEFI shell 
   4827 environment. Lv Zheng.
   4828 
   4829 Added a new external interface, AcpiLogError, to improve ACPICA 
   4830 portability. This allows the host to redirect error messages from the 
   4831 ACPICA utilities. Lv Zheng.
   4832 
   4833 Added and deployed new OSL file I/O interfaces to improve ACPICA 
   4834 portability:
   4835   AcpiOsOpenFile
   4836   AcpiOsCloseFile
   4837   AcpiOsReadFile
   4838   AcpiOsWriteFile
   4839   AcpiOsGetFileOffset
   4840   AcpiOsSetFileOffset
   4841 There are C library implementations of these functions in the new file 
   4842 service_layers/oslibcfs.c -- however, the functions can be implemented by 
   4843 the local host in any way necessary. Lv Zheng.
   4844 
   4845 Implemented a mechanism to disable/enable ACPI table checksum validation 
   4846 at runtime. This can be useful when loading tables very early during OS 
   4847 initialization when it may not be possible to map the entire table in 
   4848 order to compute the checksum. Lv Zheng.
   4849 
   4850 Fixed a buffer allocation issue for the Generic Serial Bus support. 
   4851 Originally, a fixed buffer length was used. This change allows for 
   4852 variable-length buffers based upon the protocol indicated by the field 
   4853 access attributes. Reported by Lan Tianyu. Lv Zheng.
   4854 
   4855 Fixed a problem where an object detached from a namespace node was not 
   4856 properly terminated/cleared and could cause a circular list problem if 
   4857 reattached. ACPICA BZ 1063. David Box.
   4858 
   4859 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
   4860 
   4861 Fixed a possible memory leak in an error return path within the function 
   4862 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
   4863 
   4864 Example Code and Data Size: These are the sizes for the OS-independent 
   4865 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4866 debug version of the code includes the debug output trace mechanism and 
   4867 has a much larger code and data size.
   4868 
   4869   Current Release:
   4870     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   4871     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   4872   Previous Release:
   4873     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   4874     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   4875 
   4876 
   4877 2) iASL Compiler/Disassembler and Tools:
   4878 
   4879 Disassembler: Add dump of ASCII equivalent text within a comment at the 
   4880 end of each line of the output for the Buffer() ASL operator.
   4881 
   4882 AcpiDump: Miscellaneous changes:
   4883   Fixed repetitive table dump in -n mode.
   4884   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
   4885 the ACPI 2.0 GUID fails.
   4886 
   4887 iASL: Fixed a problem where the compiler could fault if incorrectly given 
   4888 an acpidump output file as input. ACPICA BZ 1088. David Box.
   4889 
   4890 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
   4891 they are invoked without any arguments.
   4892 
   4893 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
   4894 1086. Colin Ian King.
   4895 
   4896 Disassembler: Cleaned up a block of code that extracts a parent Op 
   4897 object. Added a comment that explains that the parent is guaranteed to be 
   4898 valid in this case. ACPICA BZ 1069.
   4899 
   4900 
   4901 ----------------------------------------
   4902 24 April 2014. Summary of changes for version 20140424:
   4903 
   4904 1) ACPICA kernel-resident subsystem:
   4905 
   4906 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
   4907 Some of these tables are known to contain a trailing NULL entry. Lv 
   4908 Zheng.
   4909 
   4910 Removed an extraneous error message for the case where there are a large 
   4911 number of system GPEs (> 124). This was the "32-bit FADT register is too 
   4912 long to convert to GAS struct" message, which is irrelevant for GPEs 
   4913 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
   4914 (limited capacity) GAS bit length. Also, several changes to ensure proper 
   4915 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
   4916 internally.
   4917 
   4918 Implemented and deployed additional configuration support for the public 
   4919 ACPICA external interfaces. Entire classes of interfaces can now be 
   4920 easily modified or configured out, replaced by stubbed inline functions 
   4921 by default. Lv Zheng.
   4922 
   4923 Moved all public ACPICA runtime configuration globals to the public 
   4924 ACPICA external interface file for convenience. Also, removed some 
   4925 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
   4926 
   4927 Documentation: Added a new section to the ACPICA reference describing the 
   4928 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
   4929 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
   4930 reference.
   4931 
   4932 Example Code and Data Size: These are the sizes for the OS-independent 
   4933 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4934 debug version of the code includes the debug output trace mechanism and 
   4935 has a much larger code and data size.
   4936 
   4937   Current Release:
   4938     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   4939     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   4940   Previous Release:
   4941     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   4942     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   4943 
   4944 
   4945 2) iASL Compiler/Disassembler and Tools:
   4946 
   4947 iASL and disassembler: Add full support for the LPIT table (Low Power 
   4948 Idle Table). Includes support in the disassembler, data table compiler, 
   4949 and template generator.
   4950 
   4951 AcpiDump utility:
   4952 1) Add option to force the use of the RSDT (over the XSDT).
   4953 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
   4954 
   4955 iASL: Add check for predefined packages that are too large.  For 
   4956 predefined names that contain subpackages, check if each subpackage is 
   4957 too large. (Check for too small already exists.)
   4958 
   4959 Debugger: Updated the GPE command (which simulates a GPE by executing the 
   4960 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
   4961 to the GPE 0/1 FADT-defined blocks.
   4962 
   4963 Unix application OSL: Update line-editing support. Add additional error 
   4964 checking and take care not to reset terminal attributes on exit if they 
   4965 were never set. This should help guarantee that the terminal is always 
   4966 left in the previous state on program exit.
   4967 
   4968 
   4969 ----------------------------------------
   4970 25 March 2014. Summary of changes for version 20140325:
   4971 
   4972 1) ACPICA kernel-resident subsystem:
   4973 
   4974 Updated the auto-serialize feature for control methods. This feature 
   4975 automatically serializes all methods that create named objects in order 
   4976 to prevent runtime errors. The update adds support to ignore the 
   4977 currently executing AML SyncLevel when invoking such a method, in order 
   4978 to prevent disruption of any existing SyncLevel priorities that may exist 
   4979 in the AML code. Although the use of SyncLevels is relatively rare, this 
   4980 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
   4981 appear on some machines starting with the 20140214 release.
   4982 
   4983 Added a new external interface to allow the host to install ACPI tables 
   4984 very early, before the namespace is even created. AcpiInstallTable gives 
   4985 the host additional flexibility for ACPI table management. Tables can be 
   4986 installed directly by the host as if they had originally appeared in the 
   4987 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
   4988 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
   4989 with additional internal restructuring and cleanup. See the ACPICA 
   4990 Reference for interface details. Lv Zheng.
   4991 
   4992 Added validation of the checksum for all incoming dynamically loaded 
   4993 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
   4994 Zheng.
   4995 
   4996 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
   4997 and GPE handler removal. Restructured calls to eliminate possible race 
   4998 conditions. Lv Zheng.
   4999 
   5000 Added a warning for the use/execution of the ASL/AML Unload (table) 
   5001 operator. This will help detect and identify machines that use this 
   5002 operator if and when it is ever used. This operator has never been seen 
   5003 in the field and the usage model and possible side-effects of the drastic 
   5004 runtime action of a full table removal are unknown.
   5005 
   5006 Reverted the use of #pragma push/pop which was introduced in the 20140214 
   5007 release. It appears that push and pop are not implemented by enough 
   5008 compilers to make the use of this feature feasible for ACPICA at this 
   5009 time. However, these operators may be deployed in a future ACPICA 
   5010 release.
   5011 
   5012 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
   5013 handler interfaces.
   5014 
   5015 Source code generation:
   5016 1) Disabled the use of the "strchr" macro for the gcc-specific 
   5017 generation. For some versions of gcc, this macro can periodically expose 
   5018 a compiler bug which in turn causes compile-time error(s).
   5019 2) Added support for PPC64 compilation. Colin Ian King.
   5020 
   5021 Example Code and Data Size: These are the sizes for the OS-independent 
   5022 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5023 debug version of the code includes the debug output trace mechanism and 
   5024 has a much larger code and data size.
   5025 
   5026   Current Release:
   5027     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   5028     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   5029   Previous Release:
   5030     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   5031     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   5032 
   5033 
   5034 2) iASL Compiler/Disassembler and Tools:
   5035 
   5036 Disassembler: Added several new features to improve the readability of 
   5037 the resulting ASL code. Extra information is emitted within comment 
   5038 fields in the ASL code:
   5039 1) Known _HID/_CID values are decoded to descriptive text.
   5040 2) Standard values for the Notify() operator are decoded to descriptive 
   5041 text.
   5042 3) Target operands are expanded to full pathnames (in a comment) when 
   5043 possible.
   5044 
   5045 Disassembler: Miscellaneous updates for extern() handling:
   5046 1) Abort compiler if file specified by -fe option does not exist.
   5047 2) Silence unnecessary warnings about argument count mismatches.
   5048 3) Update warning messages concerning unresolved method externals.
   5049 4) Emit "UnknownObj" keyword for externals whose type cannot be 
   5050 determined.
   5051 
   5052 AcpiHelp utility:
   5053 1) Added the -a option to display both the ASL syntax and the AML 
   5054 encoding for an input ASL operator. This effectively displays all known 
   5055 information about an ASL operator with one AcpiHelp invocation.
   5056 2) Added substring match support (similar to a wildcard) for the -i 
   5057 (_HID/PNP IDs) option.
   5058 
   5059 iASL/Disassembler: Since this tool does not yet support execution on big-
   5060 endian machines, added detection of endianness and an error message if 
   5061 execution is attempted on big-endian. Support for big-endian within iASL 
   5062 is a feature that is on the ACPICA to-be-done list.
   5063 
   5064 AcpiBin utility:
   5065 1) Remove option to extract binary files from an acpidump; this function 
   5066 is made obsolete by the AcpiXtract utility.
   5067 2) General cleanup of open files and allocated buffers.
   5068 
   5069 
   5070 ----------------------------------------
   5071 14 February 2014. Summary of changes for version 20140214:
   5072 
   5073 1) ACPICA kernel-resident subsystem:
   5074 
   5075 Implemented a new mechanism to proactively prevent problems with ill-
   5076 behaved reentrant control methods that create named ACPI objects. This 
   5077 behavior is illegal as per the ACPI specification, but is nonetheless 
   5078 frequently seen in the field. Previously, this could lead to an 
   5079 AE_ALREADY_EXISTS exception if the method was actually entered by more 
   5080 than one thread. This new mechanism detects such methods at table load 
   5081 time and marks them "serialized" to prevent reentrancy. A new global 
   5082 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
   5083 feature if desired. This mechanism and global option obsoletes and 
   5084 supersedes the previous AcpiGbl_SerializeAllMethods option.
   5085 
   5086 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
   5087 respond TRUE to _OSI queries with this string. It is the stated policy of 
   5088 ACPICA to add new strings to the _OSI support as soon as possible after 
   5089 they are defined. See the full ACPICA _OSI policy which has been added to 
   5090 the utilities/utosi.c file.
   5091 
   5092 Hardened/updated the _PRT return value auto-repair code:
   5093 1) Do not abort the repair on a single subpackage failure, continue to 
   5094 check all subpackages.
   5095 2) Add check for the minimum subpackage length (4).
   5096 3) Properly handle extraneous NULL package elements.
   5097 
   5098 Added support to avoid the possibility of infinite loops when traversing 
   5099 object linked lists. Never allow an infinite loop, even in the face of 
   5100 corrupted object lists.
   5101 
   5102 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
   5103 pack(pop) directives to ensure that the ACPICA headers are independent of 
   5104 compiler settings or other host headers.
   5105 
   5106 Example Code and Data Size: These are the sizes for the OS-independent 
   5107 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5108 debug version of the code includes the debug output trace mechanism and 
   5109 has a much larger code and data size.
   5110 
   5111   Current Release:
   5112     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   5113     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   5114   Previous Release:
   5115     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   5116     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   5117 
   5118 
   5119 2) iASL Compiler/Disassembler and Tools:
   5120 
   5121 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
   5122 first reserved field was incorrectly forced to have a value of zero. This 
   5123 change correctly forces the field to have a value of one. ACPICA BZ 1081.
   5124 
   5125 Debugger: Added missing support for the "Extra" and "Data" subobjects 
   5126 when displaying object data.
   5127 
   5128 Debugger: Added support to display entire object linked lists when 
   5129 displaying object data.
   5130 
   5131 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
   5132 Windows registry. This feature has been superseded by the acpidump 
   5133 utility. 
   5134 
   5135 
   5136 ----------------------------------------
   5137 14 January 2014. Summary of changes for version 20140114:
   5138 
   5139 1) ACPICA kernel-resident subsystem:
   5140 
   5141 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   5142 copyright to all module headers and signons, including the standard Linux 
   5143 header. This affects virtually every file in the ACPICA core subsystem, 
   5144 iASL compiler, all ACPICA utilities, and the test suites.
   5145 
   5146 Improved parameter validation for AcpiInstallGpeBlock. Added the 
   5147 following checks:
   5148 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
   5149 2) There is not already a GPE block attached to the device.
   5150 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
   5151 device.
   5152 
   5153 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
   5154 support to allow references (namespace nodes) to be passed as arguments 
   5155 to control methods via the evaluate object interface. This is probably 
   5156 most useful for testing purposes, however.
   5157 
   5158 Improved support for 32/64 bit physical addresses in printf()-like 
   5159 output. This change improves the support for physical addresses in printf 
   5160 debug statements and other output on both 32-bit and 64-bit hosts. It 
   5161 consistently outputs the appropriate number of bytes for each host. The 
   5162 %p specifier is unsatisfactory since it does not emit uniform output on 
   5163 all hosts/clib implementations (on some, leading zeros are not supported, 
   5164 leading to difficult-to-read output).
   5165 
   5166 Example Code and Data Size: These are the sizes for the OS-independent 
   5167 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5168 debug version of the code includes the debug output trace mechanism and 
   5169 has a much larger code and data size.
   5170 
   5171   Current Release:
   5172     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   5173     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   5174   Previous Release:
   5175     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   5176     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   5177 
   5178 
   5179 2) iASL Compiler/Disassembler and Tools:
   5180 
   5181 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
   5182 problem if the parent Field definition for the Connection operator refers 
   5183 to an operation region that does not exist. ACPICA BZ 1064.
   5184 
   5185 AcpiExec: Load of local test tables is now optional. The utility has the 
   5186 capability to load some various tables to test features of ACPICA. 
   5187 However, there are enough of them that the output of the utility became 
   5188 confusing. With this change, only the required local tables are displayed 
   5189 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
   5190 line specification. This makes the default output simler and easier to 
   5191 understand. The -el command line option restores the original behavior 
   5192 for testing purposes.
   5193 
   5194 AcpiExec: Added support for overlapping operation regions. This change 
   5195 expands the simulation of operation regions by supporting regions that 
   5196 overlap within the given address space. Supports SystemMemory and 
   5197 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
   5198 
   5199 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
   5200 allows AcpiExec to simulate these address spaces, similar to the current 
   5201 support for SystemMemory and SystemIO.
   5202 
   5203 Debugger: Added new command to read/write/compare all namespace objects. 
   5204 The command "test objects" will exercise the entire namespace by writing 
   5205 new values to each data object, and ensuring that the write was 
   5206 successful. The original value is then restored and verified.
   5207 
   5208 Debugger: Added the "test predefined" command. This change makes this 
   5209 test public and puts it under the new "test" command. The test executes 
   5210 each and every predefined name within the current namespace.
   5211 
   5212 
   5213 ----------------------------------------
   5214 18 December 2013. Summary of changes for version 20131218:
   5215 
   5216 Global note: The ACPI 5.0A specification was released this month. There 
   5217 are no changes needed for ACPICA since this release of ACPI is an 
   5218 errata/clarification release. The specification is available at 
   5219 acpi.info. 
   5220 
   5221 
   5222 1) ACPICA kernel-resident subsystem:
   5223 
   5224 Added validation of the XSDT root table if it is present. Some older 
   5225 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
   5226 as containing some or all entries that are NULL pointers). This change 
   5227 adds a new function to validate the XSDT before actually using it. If the 
   5228 XSDT is found to be invalid, ACPICA will now automatically fall back to 
   5229 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
   5230 ACPICA and enhanced by Lv Zheng and Bob Moore.
   5231 
   5232 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
   5233 This change adds a runtime option that will force ACPICA to use the RSDT 
   5234 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
   5235 requires that an XSDT be used instead of the RSDT, the XSDT has been 
   5236 found to be corrupt or ill-formed on some machines. Lv Zheng.
   5237 
   5238 Added a runtime option to favor 32-bit FADT register addresses over the 
   5239 64-bit addresses. This change adds an option to favor 32-bit FADT 
   5240 addresses when there is a conflict between the 32-bit and 64-bit versions 
   5241 of the same register. The default behavior is to use the 64-bit version 
   5242 in accordance with the ACPI specification. This can now be overridden via 
   5243 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
   5244 
   5245 During the change above, the internal "Convert FADT" and "Verify FADT" 
   5246 functions have been merged to simplify the code, making it easier to 
   5247 understand and maintain. ACPICA BZ 933.
   5248 
   5249 Improve exception reporting and handling for GPE block installation. 
   5250 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
   5251 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
   5252 
   5253 Added helper macros to extract bus/segment numbers from the HEST table. 
   5254 This change adds two macros to extract the encoded bus and segment 
   5255 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
   5256 Betty Dall <betty.dall (a] hp.com>
   5257 
   5258 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
   5259 by ACPICA. It is not a public macro, so it should have no effect on 
   5260 existing OSV code. Lv Zheng.
   5261 
   5262 Example Code and Data Size: These are the sizes for the OS-independent 
   5263 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5264 debug version of the code includes the debug output trace mechanism and 
   5265 has a much larger code and data size.
   5266 
   5267   Current Release:
   5268     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   5269     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   5270   Previous Release:
   5271     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   5272     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   5273 
   5274 
   5275 2) iASL Compiler/Disassembler and Tools:
   5276 
   5277 Disassembler: Improved pathname support for emitted External() 
   5278 statements. This change adds full pathname support for external names 
   5279 that have been resolved internally by the inclusion of additional ACPI 
   5280 tables (via the iASL -e option). Without this change, the disassembler 
   5281 can emit multiple externals for the same object, or it become confused 
   5282 when the Scope() operator is used on an external object. Overall, greatly 
   5283 improves the ability to actually recompile the emitted ASL code when 
   5284 objects a referenced across multiple ACPI tables. Reported by Michael 
   5285 Tsirkin (mst (a] redhat.com).
   5286 
   5287 Tests/ASLTS: Updated functional control suite to execute with no errors. 
   5288 David Box. Fixed several errors related to the testing of the interpreter 
   5289 slack mode. Lv Zheng.
   5290 
   5291 iASL: Added support to detect names that are declared within a control 
   5292 method, but are unused (these are temporary names that are only valid 
   5293 during the time the method is executing). A remark is issued for these 
   5294 cases. ACPICA BZ 1022.
   5295 
   5296 iASL: Added full support for the DBG2 table. Adds full disassembler, 
   5297 table compiler, and template generator support for the DBG2 table (Debug 
   5298 Port 2 table).
   5299 
   5300 iASL: Added full support for the PCCT table, update the table definition. 
   5301 Updates the PCCT table definition in the actbl3.h header and adds table 
   5302 compiler and template generator support.
   5303 
   5304 iASL: Added an option to emit only error messages (no warnings/remarks). 
   5305 The -ve option will enable only error messages, warnings and remarks are 
   5306 suppressed. This can simplify debugging when only the errors are 
   5307 important, such as when an ACPI table is disassembled and there are many 
   5308 warnings and remarks -- but only the actual errors are of real interest.
   5309 
   5310 Example ACPICA code (source/tools/examples): Updated the example code so 
   5311 that it builds to an actual working program, not just example code. Added 
   5312 ACPI tables and execution of an example control method in the DSDT. Added 
   5313 makefile support for Unix generation.
   5314 
   5315 
   5316 ----------------------------------------
   5317 15 November 2013. Summary of changes for version 20131115:
   5318 
   5319 This release is available at https://acpica.org/downloads
   5320 
   5321 
   5322 1) ACPICA kernel-resident subsystem:
   5323 
   5324 Resource Manager: Fixed loop termination for the "get AML length" 
   5325 function. The loop previously had an error termination on a NULL resource 
   5326 pointer, which can never happen since the loop simply increments a valid 
   5327 resource pointer. This fix changes the loop to terminate with an error on 
   5328 an invalid end-of-buffer condition. The problem can be seen as an 
   5329 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
   5330 corrupted resource descriptor, or a resource descriptor that is missing 
   5331 an END_TAG descriptor. Reported by Dan Carpenter 
   5332 <dan.carpenter (a] oracle.com>. Lv Zheng, Bob Moore.
   5333 
   5334 Table unload and ACPICA termination: Delete all attached data objects 
   5335 during namespace node deletion. This fix updates namespace node deletion 
   5336 to delete the entire list of attached objects (attached via 
   5337 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
   5338 1024. Tomasz Nowicki (tomasz.nowicki (a] linaro.org).
   5339 
   5340 ACPICA termination: Added support to delete all objects attached to the 
   5341 root namespace node. This fix deletes any and all objects that have been 
   5342 attached to the root node via AcpiAttachData. Previously, none of these 
   5343 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
   5344 
   5345 Debug output: Do not emit the function nesting level for the in-kernel 
   5346 build. The nesting level is really only useful during a single-thread 
   5347 execution. Therefore, only enable this output for the AcpiExec utility. 
   5348 Also, only emit the thread ID when executing under AcpiExec (Context 
   5349 switches are still always detected and a message is emitted). ACPICA BZ 
   5350 972.
   5351 
   5352 Example Code and Data Size: These are the sizes for the OS-independent 
   5353 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5354 debug version of the code includes the debug output trace mechanism and 
   5355 has a much larger code and data size.
   5356 
   5357   Current Release:
   5358     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   5359     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   5360   Previous Release:
   5361     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   5362     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   5363 
   5364 
   5365 2) iASL Compiler/Disassembler and Tools:
   5366 
   5367 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
   5368 correct portable POSIX header for terminal control functions.
   5369 
   5370 Disassembler: Fixed control method invocation issues related to the use 
   5371 of the CondRefOf() operator. The problem is seen in the disassembly where 
   5372 control method invocations may not be disassembled properly if the 
   5373 control method name has been used previously as an argument to CondRefOf. 
   5374 The solution is to not attempt to emit an external declaration for the 
   5375 CondRefOf target (it is not necessary in the first place). This prevents 
   5376 disassembler object type confusion. ACPICA BZ 988.
   5377 
   5378 Unix Makefiles: Added an option to disable compiler optimizations and the 
   5379 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
   5380 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
   5381 command line option for make (NOOPT) that disables all compiler 
   5382 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
   5383 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
   5384 1034. Lv Zheng, Bob Moore.
   5385 
   5386 Tests/ASLTS: Added options to specify individual test cases and modes. 
   5387 This allows testers running aslts.sh to optionally specify individual 
   5388 test modes and test cases. Also added an option to disable the forced 
   5389 generation of the ACPICA tools from source if desired. Lv Zheng.
   5390 
   5391 ----------------------------------------
   5392 27 September 2013. Summary of changes for version 20130927:
   5393 
   5394 This release is available at https://acpica.org/downloads
   5395 
   5396 
   5397 1) ACPICA kernel-resident subsystem:
   5398 
   5399 Fixed a problem with store operations to reference objects. This change 
   5400 fixes a problem where a Store operation to an ArgX object that contained 
   5401 a 
   5402 reference to a field object did not complete the automatic dereference 
   5403 and 
   5404 then write to the actual field object. Instead, the object type of the 
   5405 field object was inadvertently changed to match the type of the source 
   5406 operand. The new behavior will actually write to the field object (buffer 
   5407 field or field unit), thus matching the correct ACPI-defined behavior.
   5408 
   5409 Implemented support to allow the host to redefine individual OSL 
   5410 prototypes. This change enables the host to redefine OSL prototypes found 
   5411 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
   5412 with a macro or inlined function. Further, it allows the host to add any 
   5413 additional required modifiers such as __iomem, __init, __exit, etc., as 
   5414 necessary on a per-interface basis. Enables maximum flexibility for the 
   5415 OSL interfaces. Lv Zheng.
   5416 
   5417 Hardcoded the access width for the FADT-defined reset register. The ACPI 
   5418 specification requires the reset register width to be 8 bits. ACPICA now 
   5419 hardcodes the width to 8 and ignores the FADT width value. This provides 
   5420 compatibility with other ACPI implementations that have allowed BIOS code 
   5421 with bad register width values to go unnoticed. Matthew Garett, Bob 
   5422 Moore, 
   5423 Lv Zheng.
   5424 
   5425 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
   5426 used 
   5427 in the OSL header (acpiosxf). The change modifies the position of this 
   5428 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
   5429 build issues if the OSL defines the implementation of the interface to be 
   5430 an inline stub function. Lv Zheng.
   5431 
   5432 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
   5433 initialization interfaces. This change adds a new macro for the main init 
   5434 and terminate external interfaces in order to support hosts that require 
   5435 additional or different processing for these functions. Changed from 
   5436 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
   5437 Zheng, Bob Moore.
   5438 
   5439 Cleaned up the memory allocation macros for configurability. In the 
   5440 common 
   5441 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
   5442 respective AcpiOs* OSL interfaces. Two options:
   5443 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
   5444 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
   5445 2) For AcpiExec (and for debugging), the macros can optionally be 
   5446 resolved 
   5447 to the local ACPICA interfaces that track each allocation (local tracking 
   5448 is used to immediately detect memory leaks).
   5449 Lv Zheng.
   5450 
   5451 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
   5452 to predefine this macro to either TRUE or FALSE during the system build.
   5453 
   5454 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
   5455 
   5456 Example Code and Data Size: These are the sizes for the OS-independent 
   5457 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5458 debug version of the code includes the debug output trace mechanism and 
   5459 has a much larger code and data size.
   5460 
   5461   Current Release:
   5462     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   5463     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   5464   Previous Release:
   5465     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   5466     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   5467 
   5468 
   5469 2) iASL Compiler/Disassembler and Tools:
   5470 
   5471 iASL: Implemented wildcard support for the -e option. This simplifies use 
   5472 when there are many SSDTs that must be included to resolve external 
   5473 method 
   5474 declarations. ACPICA BZ 1041. Example:
   5475     iasl -e ssdt*.dat -d dsdt.dat
   5476 
   5477 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
   5478 adds a portable module that implements full history and limited line 
   5479 editing for Unix and Linux systems. It does not use readline() due to 
   5480 portability issues. Instead it uses the POSIX termio interface to put the 
   5481 terminal in raw input mode so that the various special keys can be 
   5482 trapped 
   5483 (such as up/down-arrow for history support and left/right-arrow for line 
   5484 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
   5485 
   5486 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
   5487 one or more spaces. This provides compatible with early or different 
   5488 versions of the AcpiDump utility. ACPICA BZ 1044.
   5489 
   5490 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
   5491 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
   5492 no other data. This change adds support to dump these tables. Any tables 
   5493 shorter than the length of an ACPI table header remain in error (an error 
   5494 message is emitted). Reported by Yi Li.
   5495 
   5496 Debugger: Echo actual command along with the "unknown command" message.
   5497 
   5498 ----------------------------------------
   5499 23 August 2013. Summary of changes for version 20130823:
   5500 
   5501 1) ACPICA kernel-resident subsystem:
   5502 
   5503 Implemented support for host-installed System Control Interrupt (SCI) 
   5504 handlers. Certain ACPI functionality requires the host to handle raw 
   5505 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
   5506 state support requires the host device driver to handle SCIs to examine 
   5507 if the doorbell has been activated. Multiple SCI handlers can be 
   5508 installed to allow for future expansion. New external interfaces are 
   5509 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
   5510 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
   5511 
   5512 Operation region support: Never locally free the handler "context" 
   5513 pointer. This change removes some dangerous code that attempts to free 
   5514 the handler context pointer in some (rare) circumstances. The owner of 
   5515 the handler owns this pointer and the ACPICA code should never touch it. 
   5516 Although not seen to be an issue in any kernel, it did show up as a 
   5517 problem (fault) under AcpiExec. Also, set the internal storage field for 
   5518 the context pointer to zero when the region is deactivated, simply for 
   5519 sanity. David Box. ACPICA BZ 1039.
   5520 
   5521 AcpiRead: On error, do not modify the return value target location. If an 
   5522 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
   5523 modify the target of the return value pointer. Makes the code consistent 
   5524 with the rest of ACPICA. Bjorn Helgaas.
   5525 
   5526 Example Code and Data Size: These are the sizes for the OS-independent 
   5527 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5528 debug version of the code includes the debug output trace mechanism and 
   5529 has a much larger code and data size.
   5530 
   5531   Current Release:
   5532     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   5533     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   5534   Previous Release:
   5535     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   5536     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
   5537 
   5538 
   5539 2) iASL Compiler/Disassembler and Tools:
   5540 
   5541 AcpiDump: Implemented several new features and fixed some problems:
   5542 1) Added support to dump the RSDP, RSDT, and XSDT tables.
   5543 2) Added support for multiple table instances (SSDT, UEFI).
   5544 3) Added option to dump "customized" (overridden) tables (-c).
   5545 4) Fixed a problem where some table filenames were improperly 
   5546 constructed.
   5547 5) Improved some error messages, removed some unnecessary messages.
   5548 
   5549 iASL: Implemented additional support for disassembly of ACPI tables that 
   5550 contain invocations of external control methods. The -fe<file> option 
   5551 allows the import of a file that specifies the external methods along 
   5552 with the required number of arguments for each -- allowing for the 
   5553 correct disassembly of the table. This is a workaround for a limitation 
   5554 of AML code where the disassembler often cannot determine the number of 
   5555 arguments required for an external control method and generates incorrect 
   5556 ASL code. See the iASL reference for details. ACPICA BZ 1030.
   5557 
   5558 Debugger: Implemented a new command (paths) that displays the full 
   5559 pathnames (namepaths) and object types of all objects in the namespace. 
   5560 This is an alternative to the namespace command.
   5561 
   5562 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
   5563 mechanism and any installed handlers.
   5564 
   5565 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
   5566 This can occur if there are too many parent prefixes in a namepath (for 
   5567 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
   5568 
   5569 Application OSLs: Set the return value for the PCI read functions. These 
   5570 functions simply return AE_OK, but should set the return value to zero 
   5571 also. This change implements this. ACPICA BZ 1038.
   5572 
   5573 Debugger: Prevent possible command line buffer overflow. Increase the 
   5574 size of a couple of the debugger line buffers, and ensure that overflow 
   5575 cannot happen. ACPICA BZ 1037.
   5576 
   5577 iASL: Changed to abort immediately on serious errors during the parsing 
   5578 phase. Due to the nature of ASL, there is no point in attempting to 
   5579 compile these types of errors, and they typically end up causing a 
   5580 cascade of hundreds of errors which obscure the original problem.
   5581 
   5582 ----------------------------------------
   5583 25 July 2013. Summary of changes for version 20130725:
   5584 
   5585 1) ACPICA kernel-resident subsystem:
   5586 
   5587 Fixed a problem with the DerefOf operator where references to FieldUnits 
   5588 and BufferFields incorrectly returned the parent object, not the actual 
   5589 value of the object. After this change, a dereference of a FieldUnit 
   5590 reference results in a read operation on the field to get the value, and 
   5591 likewise, the appropriate BufferField value is extracted from the target 
   5592 buffer.
   5593 
   5594 Fixed a problem where the _WAK method could cause a fault under these 
   5595 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
   5596 method returned no value. The problem is rarely seen because most kernels 
   5597 run ACPICA in slack mode.
   5598 
   5599 For the DerefOf operator, a fatal error now results if an attempt is made 
   5600 to dereference a reference (created by the Index operator) to a NULL 
   5601 package element. Provides compatibility with other ACPI implementations, 
   5602 and this behavior will be added to a future version of the ACPI 
   5603 specification.
   5604 
   5605 The ACPI Power Management Timer (defined in the FADT) is now optional. 
   5606 This provides compatibility with other ACPI implementations and will 
   5607 appear in the next version of the ACPI specification. If there is no PM 
   5608 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
   5609 zero in the FADT indicates no PM timer.
   5610 
   5611 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
   5612 allows the host to globally enable/disable all vendor strings, all 
   5613 feature strings, or both. Intended to be primarily used for debugging 
   5614 purposes only. Lv Zheng.
   5615 
   5616 Expose the collected _OSI data to the host via a global variable. This 
   5617 data tracks the highest level vendor ID that has been invoked by the BIOS 
   5618 so that the host (and potentially ACPICA itself) can change behaviors 
   5619 based upon the age of the BIOS.
   5620 
   5621 Example Code and Data Size: These are the sizes for the OS-independent 
   5622 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5623 debug version of the code includes the debug output trace mechanism and 
   5624 has a much larger code and data size.
   5625 
   5626   Current Release:
   5627     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   5628     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   5629   Previous Release:
   5630     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   5631     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   5632 
   5633 
   5634 2) iASL Compiler/Disassembler and Tools:
   5635 
   5636 iASL: Created the following enhancements for the -so option (create 
   5637 offset table):
   5638 1)Add offsets for the last nameseg in each namepath for every supported 
   5639 object type
   5640 2)Add support for Processor, Device, Thermal Zone, and Scope objects
   5641 3)Add the actual AML opcode for the parent object of every supported 
   5642 object type
   5643 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
   5644 
   5645 Disassembler: Emit all unresolved external symbols in a single block. 
   5646 These are external references to control methods that could not be 
   5647 resolved, and thus, the disassembler had to make a guess at the number of 
   5648 arguments to parse.
   5649 
   5650 iASL: The argument to the -T option (create table template) is now 
   5651 optional. If not specified, the default table is a DSDT, typically the 
   5652 most common case.
   5653 
   5654 ----------------------------------------
   5655 26 June 2013. Summary of changes for version 20130626:
   5656 
   5657 1) ACPICA kernel-resident subsystem:
   5658 
   5659 Fixed an issue with runtime repair of the _CST object. Null or invalid 
   5660 elements were not always removed properly. Lv Zheng. 
   5661 
   5662 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
   5663 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
   5664 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
   5665 makes the system-wide number of GPEs essentially unlimited.
   5666 
   5667 Example Code and Data Size: These are the sizes for the OS-independent 
   5668 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5669 debug version of the code includes the debug output trace mechanism and 
   5670 has a much larger code and data size.
   5671 
   5672   Current Release:
   5673     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   5674     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   5675   Previous Release:
   5676     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   5677     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   5678 
   5679 
   5680 2) iASL Compiler/Disassembler and Tools:
   5681 
   5682 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
   5683 hosts. Now supports Linux, FreeBSD, and Windows.
   5684 
   5685 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
   5686 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
   5687 
   5688 iASL/Preprocessor: Implemented full support for nested 
   5689 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
   5690 
   5691 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
   5692 max. The original purpose of this constraint was to limit the amount of 
   5693 debug output. However, the string function in question (UtPrintString) is 
   5694 now used for the disassembler also, where 256 bytes is insufficient. 
   5695 Reported by RehabMan@GitHub.
   5696 
   5697 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
   5698 tables. ACPICA BZ 999. Lv Zheng.
   5699 
   5700 iASL: Fixed a couple of error exit issues that could result in a "Could 
   5701 not delete <file>" message during ASL compilation.
   5702 
   5703 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
   5704 the actual signatures for these tables are "FACP" and "APIC", 
   5705 respectively.
   5706 
   5707 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
   5708 tables are allowed to have multiple instances.
   5709 
   5710 ----------------------------------------
   5711 17 May 2013. Summary of changes for version 20130517:
   5712 
   5713 1) ACPICA kernel-resident subsystem:
   5714 
   5715 Fixed a regression introduced in version 20130328 for _INI methods. This 
   5716 change fixes a problem introduced in 20130328 where _INI methods are no 
   5717 longer executed properly because of a memory block that was not 
   5718 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
   5719 <tomasz.nowicki (a] linaro.org>.
   5720 
   5721 Fixed a possible problem with the new extended sleep registers in the 
   5722 ACPI 
   5723 5.0 FADT. Do not use these registers (even if populated) unless the HW-
   5724 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
   5725 1020. Lv Zheng.
   5726 
   5727 Implemented return value repair code for _CST predefined objects: Sort 
   5728 the 
   5729 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
   5730 
   5731 Implemented a debug-only option to disable loading of SSDTs from the 
   5732 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
   5733 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
   5734 acglobal.h - ACPICA BZ 1005. Lv Zheng.
   5735 
   5736 Fixed some issues in the ACPICA initialization and termination code: 
   5737 Tomasz Nowicki <tomasz.nowicki (a] linaro.org>
   5738 1) Clear events initialized flag upon event component termination. ACPICA 
   5739 BZ 1013.
   5740 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
   5741 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
   5742 4) Clear debug buffer global on termination to prevent possible multiple 
   5743 delete. ACPICA BZ 1010.
   5744 
   5745 Standardized all switch() blocks across the entire source base. After 
   5746 many 
   5747 years, different formatting for switch() had crept in. This change makes 
   5748 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
   5749 
   5750 Split some files to enhance ACPICA modularity and configurability:
   5751 1) Split buffer dump routines into utilities/utbuffer.c
   5752 2) Split internal error message routines into utilities/uterror.c
   5753 3) Split table print utilities into tables/tbprint.c
   5754 4) Split iASL command-line option processing into asloptions.c
   5755 
   5756 Makefile enhancements:
   5757 1) Support for all new files above.
   5758 2) Abort make on errors from any subcomponent. Chao Guan.
   5759 3) Add build support for Apple Mac OS X. Liang Qi.
   5760 
   5761 Example Code and Data Size: These are the sizes for the OS-independent 
   5762 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5763 debug version of the code includes the debug output trace mechanism and 
   5764 has a much larger code and data size.
   5765 
   5766   Current Release:
   5767     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   5768     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   5769   Previous Release:
   5770     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   5771     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   5772 
   5773 
   5774 2) iASL Compiler/Disassembler and Tools:
   5775 
   5776 New utility: Implemented an easily portable version of the acpidump 
   5777 utility to extract ACPI tables from the system (or a file) in an ASCII 
   5778 hex 
   5779 dump format. The top-level code implements the various command line 
   5780 options, file I/O, and table dump routines. To port to a new host, only 
   5781 three functions need to be implemented to get tables -- since this 
   5782 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
   5783 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
   5784 1) The Windows version obtains the ACPI tables from the Registry.
   5785 2) The Linux version is under development.
   5786 3) Other hosts - If an OS-dependent module is submitted, it will be 
   5787 distributed with ACPICA.
   5788 
   5789 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
   5790 restructuring/change to the initialization sequence caused this option to 
   5791 no longer work properly.
   5792 
   5793 iASL: Implemented a mechanism to disable specific warnings and remarks. 
   5794 Adds a new command line option, "-vw <messageid> as well as "#pragma 
   5795 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
   5796 
   5797 iASL: Fix for too-strict package object validation. The package object 
   5798 validation for return values from the predefined names is a bit too 
   5799 strict, it does not allow names references within the package (which will 
   5800 be resolved at runtime.) These types of references cannot be validated at 
   5801 compile time. This change ignores named references within package objects 
   5802 for names that return or define static packages.
   5803 
   5804 Debugger: Fixed the 80-character command line limitation for the History 
   5805 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
   5806 
   5807 iASL: Added control method and package support for the -so option 
   5808 (generates AML offset table for BIOS support.)
   5809 
   5810 iASL: issue a remark if a non-serialized method creates named objects. If 
   5811 a thread blocks within the method for any reason, and another thread 
   5812 enters the method, the method will fail because an attempt will be made 
   5813 to 
   5814 create the same (named) object twice. In this case, issue a remark that 
   5815 the method should be marked serialized. NOTE: may become a warning later. 
   5816 ACPICA BZ 909.
   5817 
   5818 ----------------------------------------
   5819 18 April 2013. Summary of changes for version 20130418:
   5820 
   5821 1) ACPICA kernel-resident subsystem:
   5822 
   5823 Fixed a possible buffer overrun during some rare but specific field unit 
   5824 read operations. This overrun can only happen if the DSDT version is 1 -- 
   5825 meaning that all AML integers are 32 bits -- and the field length is 
   5826 between 33 and 55 bits long. During the read, an internal buffer object 
   5827 is 
   5828 created for the field unit because the field is larger than an integer 
   5829 (32 
   5830 bits). However, in this case, the buffer will be incorrectly written 
   5831 beyond the end because the buffer length is less than the internal 
   5832 minimum 
   5833 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
   5834 long, but a full 8 bytes will be written.
   5835 
   5836 Updated the Embedded Controller "orphan" _REG method support. This refers 
   5837 to _REG methods under the EC device that have no corresponding operation 
   5838 region. This is allowed by the ACPI specification. This update removes a 
   5839 dependency on the existence an ECDT table. It will execute an orphan _REG 
   5840 method as long as the operation region handler for the EC is installed at 
   5841 the EC device node and not the namespace root. Rui Zhang (original 
   5842 update), Bob Moore (update/integrate).
   5843 
   5844 Implemented run-time argument typechecking for all predefined ACPI names 
   5845 (_STA, _BIF, etc.) This change performs object typechecking on all 
   5846 incoming arguments for all predefined names executed via 
   5847 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
   5848 passing correct object types as well as the correct number of arguments 
   5849 (therefore identifying any issues immediately). Also, the ASL/namespace 
   5850 definition of the predefined name is checked against the ACPI 
   5851 specification for the proper argument count. Adds one new file, 
   5852 nsarguments.c
   5853 
   5854 Changed an exception code for the ASL UnLoad() operator. Changed the 
   5855 exception code for the case where the input DdbHandle is invalid, from 
   5856 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
   5857 
   5858 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
   5859 global makefile. The use of this flag causes compiler errors on earlier 
   5860 versions of GCC, so it has been removed for compatibility.
   5861 
   5862 Miscellaneous cleanup:
   5863 1) Removed some unused/obsolete macros
   5864 2) Fixed a possible memory leak in the _OSI support
   5865 3) Removed an unused variable in the predefined name support
   5866 4) Windows OSL: remove obsolete reference to a memory list field
   5867 
   5868 Example Code and Data Size: These are the sizes for the OS-independent 
   5869 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5870 debug version of the code includes the debug output trace mechanism and 
   5871 has a much larger code and data size.
   5872 
   5873   Current Release:
   5874     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   5875     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   5876   Previous Release:
   5877     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   5878     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   5879 
   5880 
   5881 2) iASL Compiler/Disassembler and Tools:
   5882 
   5883 AcpiExec: Added installation of a handler for the SystemCMOS address 
   5884 space. This prevents control method abort if a method accesses this 
   5885 space.
   5886 
   5887 AcpiExec: Added support for multiple EC devices, and now install EC 
   5888 operation region handler(s) at the actual EC device instead of the 
   5889 namespace root. This reflects the typical behavior of host operating 
   5890 systems.
   5891 
   5892 AcpiExec: Updated to ensure that all operation region handlers are 
   5893 installed before the _REG methods are executed. This prevents a _REG 
   5894 method from aborting if it accesses an address space has no handler. 
   5895 AcpiExec installs a handler for every possible address space.
   5896 
   5897 Debugger: Enhanced the "handlers" command to display non-root handlers. 
   5898 This change enhances the handlers command to display handlers associated 
   5899 with individual devices throughout the namespace, in addition to the 
   5900 currently supported display of handlers associated with the root 
   5901 namespace 
   5902 node.
   5903 
   5904 ASL Test Suite: Several test suite errors have been identified and 
   5905 resolved, reducing the total error count during execution. Chao Guan.
   5906 
   5907 ----------------------------------------
   5908 28 March 2013. Summary of changes for version 20130328:
   5909 
   5910 1) ACPICA kernel-resident subsystem:
   5911 
   5912 Fixed several possible race conditions with the internal object reference 
   5913 counting mechanism. Some of the external ACPICA interfaces update object 
   5914 reference counts without holding the interpreter or namespace lock. This 
   5915 change adds a spinlock to protect reference count updates on the internal 
   5916 ACPICA objects. Reported by and with assistance from Andriy Gapon 
   5917 (avg (a] FreeBSD.org).
   5918 
   5919 FADT support: Removed an extraneous warning for very large GPE register 
   5920 sets. This change removes a size mismatch warning if the legacy length 
   5921 field for a GPE register set is larger than the 64-bit GAS structure can 
   5922 accommodate. GPE register sets can be larger than the 255-bit width 
   5923 limitation of the GAS structure. Linn Crosetto (linn (a] hp.com).
   5924 
   5925 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
   5926 return from this interface. Handles a possible timeout case if 
   5927 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
   5928 "forever". Jung-uk Kim.
   5929 
   5930 Predefined name support: Add allowed/required argument type information 
   5931 to 
   5932 the master predefined info table. This change adds the infrastructure to 
   5933 enable typechecking on incoming arguments for all predefined 
   5934 methods/objects. It does not actually contain the code that will fully 
   5935 utilize this information, this is still under development. Also condenses 
   5936 some duplicate code for the predefined names into a new module, 
   5937 utilities/utpredef.c
   5938 
   5939 Example Code and Data Size: These are the sizes for the OS-independent 
   5940 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5941 debug version of the code includes the debug output trace mechanism and 
   5942 has a much larger code and data size.
   5943 
   5944   Previous Release:
   5945     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   5946     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   5947   Current Release:
   5948     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   5949     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   5950 
   5951 
   5952 2) iASL Compiler/Disassembler and Tools:
   5953 
   5954 iASL: Implemented a new option to simplify the development of ACPI-
   5955 related 
   5956 BIOS code. Adds support for a new "offset table" output file. The -so 
   5957 option will create a C table containing the AML table offsets of various 
   5958 named objects in the namespace so that BIOS code can modify them easily 
   5959 at 
   5960 boot time. This can simplify BIOS runtime code by eliminating expensive 
   5961 searches for "magic values", enhancing boot times and adding greater 
   5962 reliability. With assistance from Lee Hamel.
   5963 
   5964 iASL: Allow additional predefined names to return zero-length packages. 
   5965 Now, all predefined names that are defined by the ACPI specification to 
   5966 return a "variable-length package of packages" are allowed to return a 
   5967 zero length top-level package. This allows the BIOS to tell the host that 
   5968 the requested feature is not supported, and supports existing BIOS/ASL 
   5969 code and practices.
   5970 
   5971 iASL: Changed the "result not used" warning to an error. This is the case 
   5972 where an ASL operator is effectively a NOOP because the result of the 
   5973 operation is not stored anywhere. For example:
   5974     Add (4, Local0)
   5975 There is no target (missing 3rd argument), nor is the function return 
   5976 value used. This is potentially a very serious problem -- since the code 
   5977 was probably intended to do something, but for whatever reason, the value 
   5978 was not stored. Therefore, this issue has been upgraded from a warning to 
   5979 an error.
   5980 
   5981 AcpiHelp: Added allowable/required argument types to the predefined names 
   5982 info display. This feature utilizes the recent update to the predefined 
   5983 names table (above).
   5984 
   5985 ----------------------------------------
   5986 14 February 2013. Summary of changes for version 20130214:
   5987 
   5988 1) ACPICA Kernel-resident Subsystem:
   5989 
   5990 Fixed a possible regression on some hosts: Reinstated the safe return 
   5991 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
   5992 evaluated only once. Although these macros are not needed for the ACPICA 
   5993 code itself, they are often used by ACPI-related host device drivers 
   5994 where 
   5995 the safe feature may be necessary.
   5996 
   5997 Fixed several issues related to the ACPI 5.0 reduced hardware support 
   5998 (SOC): Now ensure that if the platform declares itself as hardware-
   5999 reduced 
   6000 via the FADT, the following functions become NOOPs (and always return 
   6001 AE_OK) because ACPI is always enabled by definition on these machines:
   6002   AcpiEnable
   6003   AcpiDisable
   6004   AcpiHwGetMode
   6005   AcpiHwSetMode
   6006 
   6007 Dynamic Object Repair: Implemented additional runtime repairs for 
   6008 predefined name return values. Both of these repairs can simplify code in 
   6009 the related device drivers that invoke these methods:
   6010 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
   6011 string to a Unicode buffer. 
   6012 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
   6013 a 
   6014 lone end tag descriptor in the following cases: A Return(0) was executed, 
   6015 a null buffer was returned, or no object at all was returned (non-slack 
   6016 mode only). Adds a new file, nsconvert.c
   6017 ACPICA BZ 998. Bob Moore, Lv Zheng.
   6018 
   6019 Resource Manager: Added additional code to prevent possible infinite 
   6020 loops 
   6021 while traversing corrupted or ill-formed resource template buffers. Check 
   6022 for zero-length resource descriptors in all code that loops through 
   6023 resource templates (the length field is used to index through the 
   6024 template). This change also hardens the external AcpiWalkResources and 
   6025 AcpiWalkResourceBuffer interfaces.
   6026 
   6027 Local Cache Manager: Enhanced the main data structure to eliminate an 
   6028 unnecessary mechanism to access the next object in the list. Actually 
   6029 provides a small performance enhancement for hosts that use the local 
   6030 ACPICA cache manager. Jung-uk Kim.
   6031 
   6032 Example Code and Data Size: These are the sizes for the OS-independent 
   6033 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6034 debug version of the code includes the debug output trace mechanism and 
   6035 has a much larger code and data size.
   6036 
   6037   Previous Release:
   6038     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   6039     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   6040   Current Release:
   6041     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   6042     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   6043 
   6044 
   6045 2) iASL Compiler/Disassembler and Tools:
   6046 
   6047 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
   6048 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
   6049 that were made to the ACPI 5.0 specification.
   6050 
   6051 iASL/Disassembler: Added full support for the following new ACPI tables:
   6052   1) The MTMR table (MID Timer Table)
   6053   2) The VRTC table (Virtual Real Time Clock Table).
   6054 Includes header file, disassembler, table compiler, and template support 
   6055 for both tables.
   6056 
   6057 iASL: Implemented compile-time validation of package objects returned by 
   6058 predefined names. This new feature validates static package objects 
   6059 returned by the various predefined names defined to return packages. Both 
   6060 object types and package lengths are validated, for both parent packages 
   6061 and sub-packages, if any. The code is similar in structure and behavior 
   6062 to 
   6063 the runtime repair mechanism within the AML interpreter and uses the 
   6064 existing predefined name information table. Adds a new file, aslprepkg.c. 
   6065 ACPICA BZ 938.
   6066 
   6067 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
   6068 This feature detects a binary file with a valid ACPI table header and 
   6069 invokes the disassembler automatically. Eliminates the need to 
   6070 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
   6071 
   6072 iASL/Disassembler: Added several warnings for the case where there are 
   6073 unresolved control methods during the disassembly. This can potentially 
   6074 cause errors when the output file is compiled, because the disassembler 
   6075 assumes zero method arguments in these cases (it cannot determine the 
   6076 actual number of arguments without resolution/definition of the method).
   6077 
   6078 Debugger: Added support to display all resources with a single command. 
   6079 Invocation of the resources command with no arguments will now display 
   6080 all 
   6081 resources within the current namespace.
   6082 
   6083 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
   6084 via the -e option.
   6085 
   6086 ----------------------------------------
   6087 17 January 2013. Summary of changes for version 20130117:
   6088 
   6089 1) ACPICA Kernel-resident Subsystem:
   6090 
   6091 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
   6092 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
   6093 objects to return a package containing one integer, most BIOS code 
   6094 returns 
   6095 two integers and the previous code reflects that. However, we also need 
   6096 to 
   6097 support BIOS code that actually implements to the ACPI spec, and this 
   6098 change reflects this.
   6099 
   6100 Fixed two issues with the ACPI_DEBUG_PRINT macros:
   6101 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
   6102 C compilers that require this support.
   6103 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
   6104 ACPI_DEBUG is already used by many of the various hosts.
   6105 
   6106 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
   6107 copyright to all module headers and signons, including the standard Linux 
   6108 header. This affects virtually every file in the ACPICA core subsystem, 
   6109 iASL compiler, all ACPICA utilities, and the test suites.
   6110 
   6111 Example Code and Data Size: These are the sizes for the OS-independent 
   6112 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6113 debug version of the code includes the debug output trace mechanism and 
   6114 has a much larger code and data size.
   6115 
   6116   Previous Release:
   6117     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   6118     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   6119   Current Release:
   6120     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   6121     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   6122 
   6123 
   6124 2) iASL Compiler/Disassembler and Tools:
   6125 
   6126 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
   6127 prevent a possible fault on some hosts. Some C libraries modify the arg 
   6128 pointer parameter to vfprintf making it difficult to call it twice in the 
   6129 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
   6130 does not affect the Windows OSL since the Win C library does not modify 
   6131 the arg pointer. Chao Guan, Bob Moore.
   6132 
   6133 iASL: Fixed a possible infinite loop when the maximum error count is 
   6134 reached. If an output file other than the .AML file is specified (such as 
   6135 a listing file), and the maximum number of errors is reached, do not 
   6136 attempt to flush data to the output file(s) as the compiler is aborting. 
   6137 This can cause an infinite loop as the max error count code essentially 
   6138 keeps calling itself.
   6139 
   6140 iASL/Disassembler: Added an option (-in) to ignore NOOP 
   6141 opcodes/operators. 
   6142 Implemented for both the compiler and the disassembler. Often, the NOOP 
   6143 opcode is used as padding for packages that are changed dynamically by 
   6144 the 
   6145 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
   6146 errors. This option causes the disassembler to ignore all NOOP opcodes 
   6147 (0xA3), and it also causes the compiler to ignore all ASL source code 
   6148 NOOP 
   6149 statements as well.
   6150 
   6151 Debugger: Enhanced the Sleep command to execute all sleep states. This 
   6152 change allows Sleep to be invoked with no arguments and causes the 
   6153 debugger to execute all of the sleep states, 0-5, automatically.
   6154 
   6155 ----------------------------------------
   6156 20 December 2012. Summary of changes for version 20121220:
   6157 
   6158 1) ACPICA Kernel-resident Subsystem:
   6159 
   6160 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
   6161 alternate entry point for AcpiWalkResources and improves the usability of 
   6162 the resource manager by accepting as input a buffer containing the output 
   6163 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
   6164 input buffer is not deleted by this interface so that it can be used by 
   6165 the host later. See the ACPICA reference for details.
   6166 
   6167 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
   6168 (DSDT version < 2). The constant will be truncated and this warning 
   6169 reflects that behavior.
   6170 
   6171 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
   6172 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
   6173 both get and set the new wake bit in these descriptors, separately from 
   6174 the existing share bit. Reported by Aaron Lu.
   6175 
   6176 Interpreter: Fix Store() when an implicit conversion is not possible. For 
   6177 example, in the cases such as a store of a string to an existing package 
   6178 object, implement the store as a CopyObject(). This is a small departure 
   6179 from the ACPI specification which states that the control method should 
   6180 be 
   6181 aborted in this case. However, the ASLTS suite depends on this behavior.
   6182 
   6183 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
   6184 macros: check if debug output is currently enabled as soon as possible to 
   6185 minimize performance impact if debug is in fact not enabled.
   6186 
   6187 Source code restructuring: Cleanup to improve modularity. The following 
   6188 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
   6189 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
   6190 Associated makefiles and project files have been updated.
   6191 
   6192 Changed an exception code for LoadTable operator. For the case where one 
   6193 of the input strings is too long, change the returned exception code from 
   6194 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
   6195 
   6196 Fixed a possible memory leak in dispatcher error path. On error, delete 
   6197 the mutex object created during method mutex creation. Reported by 
   6198 tim.gardner (a] canonical.com.
   6199 
   6200 Example Code and Data Size: These are the sizes for the OS-independent 
   6201 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6202 debug version of the code includes the debug output trace mechanism and 
   6203 has a much larger code and data size.
   6204 
   6205   Previous Release:
   6206     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   6207     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   6208   Current Release:
   6209     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   6210     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   6211 
   6212 
   6213 2) iASL Compiler/Disassembler and Tools:
   6214 
   6215 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
   6216 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
   6217 will not allow the interpreter to differentiate between a method and a 
   6218 method invocation when these are used as an argument to the ObjectType 
   6219 operator. The ACPI specification change is to disallow a method 
   6220 invocation 
   6221 (UserTerm) for the ObjectType operator.
   6222 
   6223 Finish support for the TPM2 and CSRT tables in the headers, table 
   6224 compiler, and disassembler.
   6225 
   6226 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
   6227 always expires immediately if the semaphore is not available. The 
   6228 original 
   6229 code was using a relative-time timeout, but sem_timedwait requires the 
   6230 use 
   6231 of an absolute time.
   6232 
   6233 iASL: Added a remark if the Timer() operator is used within a 32-bit 
   6234 table. This operator returns a 64-bit time value that will be truncated 
   6235 within a 32-bit table.
   6236 
   6237 iASL Source code restructuring: Cleanup to improve modularity. The 
   6238 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
   6239 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
   6240 been updated.
   6241 
   6242 
   6243 ----------------------------------------
   6244 14 November 2012. Summary of changes for version 20121114:
   6245 
   6246 1) ACPICA Kernel-resident Subsystem:
   6247 
   6248 Implemented a performance enhancement for ACPI/AML Package objects. This 
   6249 change greatly increases the performance of Package objects within the 
   6250 interpreter. It changes the processing of reference counts for packages 
   6251 by 
   6252 optimizing for the most common case where the package sub-objects are 
   6253 either Integers, Strings, or Buffers. Increases the overall performance 
   6254 of 
   6255 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
   6256 2X.) 
   6257 Chao Guan. ACPICA BZ 943.
   6258 
   6259 Implemented and deployed common macros to extract flag bits from resource 
   6260 descriptors. Improves readability and maintainability of the code. Fixes 
   6261 a 
   6262 problem with the UART serial bus descriptor for the number of data bits 
   6263 flags (was incorrectly 2 bits, should be 3).
   6264 
   6265 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
   6266 of the macros and changed the SETx macros to the style of (destination, 
   6267 source). Also added ACPI_CASTx companion macros. Lv Zheng.
   6268 
   6269 Example Code and Data Size: These are the sizes for the OS-independent 
   6270 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6271 debug version of the code includes the debug output trace mechanism and 
   6272 has a much larger code and data size.
   6273 
   6274   Previous Release:
   6275     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   6276     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   6277   Current Release:
   6278     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   6279     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   6280 
   6281 
   6282 2) iASL Compiler/Disassembler and Tools:
   6283 
   6284 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
   6285 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
   6286 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
   6287 
   6288 Disassembler: Fixed a problem with external declaration generation. Fixes 
   6289 a problem where an incorrect pathname could be generated for an external 
   6290 declaration if the original reference to the object includes leading 
   6291 carats (^). ACPICA BZ 984.
   6292 
   6293 Debugger: Completed a major update for the Disassemble<method> command. 
   6294 This command was out-of-date and did not properly disassemble control 
   6295 methods that had any reasonable complexity. This fix brings the command 
   6296 up 
   6297 to the same level as the rest of the disassembler. Adds one new file, 
   6298 dmdeferred.c, which is existing code that is now common with the main 
   6299 disassembler and the debugger disassemble command. ACPICA MZ 978.
   6300 
   6301 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
   6302 Newer versions of Bison emit this prototype, so moved the prototype out 
   6303 of 
   6304 the iASL header to where it is actually used in order to avoid a 
   6305 duplicate 
   6306 declaration.
   6307 
   6308 iASL/Tools: Standardized use of the stream I/O functions:
   6309   1) Ensure check for I/O error after every fopen/fread/fwrite
   6310   2) Ensure proper order of size/count arguments for fread/fwrite
   6311   3) Use test of (Actual != Requested) after all fwrite, and most fread
   6312   4) Standardize I/O error messages
   6313 Improves reliability and maintainability of the code. Bob Moore, Lv 
   6314 Zheng. 
   6315 ACPICA BZ 981.
   6316 
   6317 Disassembler: Prevent duplicate External() statements. During generation 
   6318 of external statements, detect similar pathnames that are actually 
   6319 duplicates such as these:
   6320   External (\ABCD)
   6321   External (ABCD)
   6322 Remove all leading '\' characters from pathnames during the external 
   6323 statement generation so that duplicates will be detected and tossed. 
   6324 ACPICA BZ 985.
   6325 
   6326 Tools: Replace low-level I/O with stream I/O functions. Replace 
   6327 open/read/write/close with the stream I/O equivalents 
   6328 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
   6329 Moore.
   6330 
   6331 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
   6332 name header so that AcpiXtract recognizes the output file/table.
   6333 
   6334 iASL: Remove obsolete -2 option flag. Originally intended to force the 
   6335 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
   6336 and the entire concept is now obsolete.
   6337 
   6338 ----------------------------------------
   6339 18 October 2012. Summary of changes for version 20121018:
   6340 
   6341 
   6342 1) ACPICA Kernel-resident Subsystem:
   6343 
   6344 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
   6345 introduced by late changes to the table as it was added to the ACPI 5.0 
   6346 specification. Includes header, disassembler, and data table compiler 
   6347 support as well as a new version of the MPST template.
   6348 
   6349 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
   6350 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
   6351 methods: _HID, _CID, and _UID.
   6352 
   6353 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
   6354 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
   6355 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
   6356 names for their various drivers. Affects the AcpiGetObjectInfo external 
   6357 interface, and other internal interfaces as well.
   6358 
   6359 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
   6360 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
   6361 on machines that support non-aligned transfers. Optimizes for this case 
   6362 rather than using a strncpy. With assistance from Zheng Lv.
   6363 
   6364 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
   6365 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
   6366 
   6367 Added a new debug print message for AML mutex objects that are force-
   6368 released. At control method termination, any currently acquired mutex 
   6369 objects are force-released. Adds a new debug-only message for each one 
   6370 that is released.
   6371 
   6372 Audited/updated all ACPICA return macros and the function debug depth 
   6373 counter: 1) Ensure that all functions that use the various TRACE macros 
   6374 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
   6375 return statements surround the return expression (value) with parens to 
   6376 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
   6377 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
   6378 
   6379 Global source code changes/maintenance: All extra lines at the start and 
   6380 end of each source file have been removed for consistency. Also, within 
   6381 comments, all new sentences start with a single space instead of a double 
   6382 space, again for consistency across the code base.
   6383 
   6384 Example Code and Data Size: These are the sizes for the OS-independent 
   6385 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6386 debug version of the code includes the debug output trace mechanism and 
   6387 has a much larger code and data size.
   6388 
   6389   Previous Release:
   6390     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   6391     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   6392   Current Release:
   6393     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   6394     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   6395 
   6396 
   6397 2) iASL Compiler/Disassembler and Tools:
   6398 
   6399 AcpiExec: Improved the algorithm used for memory leak/corruption 
   6400 detection. Added some intelligence to the code that maintains the global 
   6401 list of allocated memory. The list is now ordered by allocated memory 
   6402 address, significantly improving performance. When running AcpiExec on 
   6403 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
   6404 on the platform and/or the environment. Note, this performance 
   6405 enhancement affects the AcpiExec utility only, not the kernel-resident 
   6406 ACPICA code.
   6407 
   6408 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
   6409 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
   6410 incorrect table offset reported for invalid opcodes. Report the original 
   6411 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
   6412 
   6413 Disassembler: Enhanced the -vt option to emit the binary table data in 
   6414 hex format to assist with debugging.
   6415 
   6416 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
   6417 size of file structure. Colin Ian King.
   6418 
   6419 ----------------------------------------
   6420 13 September 2012. Summary of changes for version 20120913:
   6421 
   6422 
   6423 1) ACPICA Kernel-resident Subsystem:
   6424 
   6425 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
   6426 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
   6427 and 
   6428 MCE(6).
   6429  
   6430 Table Manager: Merged/removed duplicate code in the root table resize 
   6431 functions. One function is external, the other is internal. Lv Zheng, 
   6432 ACPICA 
   6433 BZ 846.
   6434 
   6435 Makefiles: Completely removed the obsolete "Linux" makefiles under 
   6436 acpica/generate/linux. These makefiles are obsolete and have been 
   6437 replaced 
   6438 by 
   6439 the generic unix makefiles under acpica/generate/unix.
   6440 
   6441 Makefiles: Ensure that binary files always copied properly. Minor rule 
   6442 change 
   6443 to ensure that the final binary output files are always copied up to the 
   6444 appropriate binary directory (bin32 or bin64.)
   6445 
   6446 Example Code and Data Size: These are the sizes for the OS-independent 
   6447 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6448 debug 
   6449 version of the code includes the debug output trace mechanism and has a 
   6450 much 
   6451 larger code and data size.
   6452 
   6453   Previous Release:
   6454     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   6455     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   6456   Current Release:
   6457     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   6458     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   6459 
   6460 
   6461 2) iASL Compiler/Disassembler and Tools:
   6462 
   6463 Disassembler: Fixed a possible fault during the disassembly of resource 
   6464 descriptors when a second parse is required because of the invocation of 
   6465 external control methods within the table. With assistance from 
   6466 adq (a] lidskialf.net. ACPICA BZ 976.
   6467 
   6468 iASL: Fixed a namepath optimization problem. An error can occur if the 
   6469 parse 
   6470 node that contains the namepath to be optimized does not have a parent 
   6471 node 
   6472 that is a named object. This change fixes the problem.
   6473 
   6474 iASL: Fixed a regression where the AML file is not deleted on errors. The 
   6475 AML 
   6476 output file should be deleted if there are any errors during the 
   6477 compiler. 
   6478 The 
   6479 only exception is if the -f (force output) option is used. ACPICA BZ 974.
   6480 
   6481 iASL: Added a feature to automatically increase internal line buffer 
   6482 sizes. 
   6483 Via realloc(), automatically increase the internal line buffer sizes as 
   6484 necessary to support very long source code lines. The current version of 
   6485 the 
   6486 preprocessor requires a buffer long enough to contain full source code 
   6487 lines. 
   6488 This change increases the line buffer(s) if the input lines go beyond the 
   6489 current buffer size. This eliminates errors that occurred when a source 
   6490 code 
   6491 line was longer than the buffer.
   6492 
   6493 iASL: Fixed a problem with constant folding in method declarations. The 
   6494 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
   6495 if a 
   6496 Type3 opcode was used.
   6497 
   6498 Debugger: Improved command help support. For incorrect argument count, 
   6499 display 
   6500 full help for the command. For help command itself, allow an argument to 
   6501 specify a command.
   6502 
   6503 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
   6504 errors during execution of the suite. Guan Chao.
   6505 
   6506 ----------------------------------------
   6507 16 August 2012. Summary of changes for version 20120816:
   6508 
   6509 
   6510 1) ACPICA Kernel-resident Subsystem:
   6511 
   6512 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
   6513 _GTS 
   6514 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
   6515 deprecated and will probably be removed from the ACPI specification. 
   6516 Windows 
   6517 does not invoke them, and reportedly never will. The final nail in the 
   6518 coffin 
   6519 is that the ACPI specification states that these methods must be run with 
   6520 interrupts off, which is not going to happen in a kernel interpreter. 
   6521 Note: 
   6522 Linux has removed all use of the methods also. It was discovered that 
   6523 invoking these functions caused failures on some machines, probably 
   6524 because 
   6525 they were never tested since Windows does not call them. Affects two 
   6526 external 
   6527 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
   6528 ACPICA BZ 969.
   6529 
   6530 Implemented support for complex bit-packed buffers returned from the _PLD 
   6531 (Physical Location of Device) predefined method. Adds a new external 
   6532 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
   6533 C 
   6534 structure. Note: C Bitfields cannot be used for this type of predefined 
   6535 structure since the memory layout of individual bitfields is not defined 
   6536 by 
   6537 the C language. In addition, there are endian concerns where a compiler 
   6538 will 
   6539 change the bitfield ordering based on the machine type. The new ACPICA 
   6540 interface eliminates these issues, and should be called after _PLD is 
   6541 executed. ACPICA BZ 954.
   6542 
   6543 Implemented a change to allow a scope change to root (via "Scope (\)") 
   6544 during 
   6545 execution of module-level ASL code (code that is executed at table load 
   6546 time.) Lin Ming.
   6547 
   6548 Added the Windows8/Server2012 string for the _OSI method. This change 
   6549 adds 
   6550 a 
   6551 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
   6552 2012.
   6553 
   6554 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
   6555 2) 
   6556 and CSRT (Core System Resource Table).
   6557 
   6558 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
   6559 names. This simplifies access to the buffers returned by these predefined 
   6560 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
   6561 
   6562 GPE support: Removed an extraneous parameter from the various low-level 
   6563 internal GPE functions. Tang Feng.
   6564 
   6565 Removed the linux makefiles from the unix packages. The generate/linux 
   6566 makefiles are obsolete and have been removed from the unix tarball 
   6567 release 
   6568 packages. The replacement makefiles are under generate/unix, and there is 
   6569 a 
   6570 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
   6571 
   6572 Updates for Unix makefiles:
   6573 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
   6574 2) Update linker flags (move to end of command line) for AcpiExec 
   6575 utility. 
   6576 Guan Chao.
   6577 
   6578 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
   6579 utxface.c to improve modularity and reduce file size.
   6580 
   6581 Example Code and Data Size: These are the sizes for the OS-independent 
   6582 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6583 debug version of the code includes the debug output trace mechanism and 
   6584 has a 
   6585 much larger code and data size.
   6586 
   6587   Previous Release:
   6588     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   6589     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   6590   Current Release:
   6591     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   6592     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   6593 
   6594 
   6595 2) iASL Compiler/Disassembler and Tools:
   6596 
   6597 iASL: Fixed a problem with constant folding for fixed-length constant 
   6598 expressions. The constant-folding code was not being invoked for constant 
   6599 expressions that allow the use of type 3/4/5 opcodes to generate 
   6600 constants 
   6601 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
   6602 result 
   6603 in the generation of invalid AML bytecode. ACPICA BZ 970.
   6604 
   6605 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
   6606 apparently automatically emit some of the necessary externals. This 
   6607 change 
   6608 handles these versions in order to eliminate generation warnings.
   6609 
   6610 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
   6611 
   6612 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
   6613 appears 
   6614 within comments in the output file.
   6615 
   6616 Debugger: Fixed a regression with the "Threads" command where 
   6617 AE_BAD_PARAMETER was always returned.
   6618 
   6619 ----------------------------------------
   6620 11 July 2012. Summary of changes for version 20120711:
   6621 
   6622 1) ACPICA Kernel-resident Subsystem:
   6623 
   6624 Fixed a possible fault in the return package object repair code. Fixes a 
   6625 problem that can occur when a lone package object is wrapped with an 
   6626 outer 
   6627 package object in order to force conformance to the ACPI specification. 
   6628 Can 
   6629 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
   6630 _DLM, 
   6631 _CSD, _PSD, _TSD.
   6632 
   6633 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
   6634 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
   6635 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
   6636 state 
   6637 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
   6638 both 
   6639 Intel and other vendors. (for Intel: ICH4-M and earlier)
   6640 
   6641 This change removes the code to disable/enable bus master arbitration 
   6642 during 
   6643 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
   6644 causes 
   6645 resume problems on some machines. The change has been in use for over 
   6646 seven 
   6647 years within Linux.
   6648 
   6649 Implemented two new external interfaces to support host-directed dynamic 
   6650 ACPI 
   6651 table load and unload. They are intended to simplify the host 
   6652 implementation 
   6653 of hot-plug support:
   6654   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
   6655   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
   6656 table.
   6657 See the ACPICA reference for additional details. Adds one new file, 
   6658 components/tables/tbxfload.c
   6659 
   6660 Implemented and deployed two new interfaces for errors and warnings that 
   6661 are 
   6662 known to be caused by BIOS/firmware issues:
   6663   AcpiBiosError: Prints "ACPI Firmware Error" message.
   6664   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
   6665 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
   6666 table 
   6667 and FADT errors. Additional deployment to be completed as appropriate in 
   6668 the 
   6669 future. The associated conditional macros are ACPI_BIOS_ERROR and 
   6670 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
   6671 ACPICA 
   6672 BZ 
   6673 843.
   6674 
   6675 Implicit notify support: ensure that no memory allocation occurs within a 
   6676 critical region. This fix moves a memory allocation outside of the time 
   6677 that a 
   6678 spinlock is held. Fixes issues on systems that do not allow this 
   6679 behavior. 
   6680 Jung-uk Kim.
   6681 
   6682 Split exception code utilities and tables into a new file, 
   6683 utilities/utexcep.c
   6684 
   6685 Example Code and Data Size: These are the sizes for the OS-independent 
   6686 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6687 debug 
   6688 version of the code includes the debug output trace mechanism and has a 
   6689 much 
   6690 larger code and data size.
   6691 
   6692   Previous Release:
   6693     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   6694     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   6695   Current Release:
   6696     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   6697     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   6698 
   6699 
   6700 2) iASL Compiler/Disassembler and Tools:
   6701 
   6702 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
   6703 of 
   6704 0. Jung-uk Kim.
   6705 
   6706 Debugger: Enhanced the "tables" command to emit additional information 
   6707 about 
   6708 the current set of ACPI tables, including the owner ID and flags decode.
   6709 
   6710 Debugger: Reimplemented the "unload" command to use the new 
   6711 AcpiUnloadParentTable external interface. This command was disable 
   6712 previously 
   6713 due to need for an unload interface.
   6714 
   6715 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
   6716 option 
   6717 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
   6718 
   6719 ----------------------------------------
   6720 20 June 2012. Summary of changes for version 20120620:
   6721 
   6722 
   6723 1) ACPICA Kernel-resident Subsystem:
   6724 
   6725 Implemented support to expand the "implicit notify" feature to allow 
   6726 multiple 
   6727 devices to be notified by a single GPE. This feature automatically 
   6728 generates a 
   6729 runtime device notification in the absence of a BIOS-provided GPE control 
   6730 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
   6731 notify is 
   6732 provided by ACPICA for Windows compatibility, and is a workaround for 
   6733 BIOS 
   6734 AML 
   6735 code errors. See the description of the AcpiSetupGpeForWake interface in 
   6736 the 
   6737 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
   6738 
   6739 Changed some comments and internal function names to simplify and ensure 
   6740 correctness of the Linux code translation. No functional changes.
   6741 
   6742 Example Code and Data Size: These are the sizes for the OS-independent 
   6743 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6744 debug 
   6745 version of the code includes the debug output trace mechanism and has a 
   6746 much 
   6747 larger code and data size.
   6748 
   6749   Previous Release:
   6750     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   6751     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   6752   Current Release:
   6753     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   6754     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   6755 
   6756 
   6757 2) iASL Compiler/Disassembler and Tools:
   6758 
   6759 Disassembler: Added support to emit short, commented descriptions for the 
   6760 ACPI 
   6761 predefined names in order to improve the readability of the disassembled 
   6762 output. ACPICA BZ 959. Changes include:
   6763   1) Emit descriptions for all standard predefined names (_INI, _STA, 
   6764 _PRW, 
   6765 etc.)
   6766   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
   6767   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
   6768 etc.)
   6769 
   6770 AcpiSrc: Fixed several long-standing Linux code translation issues. 
   6771 Argument 
   6772 descriptions in function headers are now translated properly to lower 
   6773 case 
   6774 and 
   6775 underscores. ACPICA BZ 961. Also fixes translation problems such as 
   6776 these: 
   6777 (old -> new)
   6778   i_aSL -> iASL
   6779   00-7_f -> 00-7F
   6780   16_k -> 16K
   6781   local_fADT -> local_FADT
   6782   execute_oSI -> execute_OSI
   6783 
   6784 iASL: Fixed a problem where null bytes were inadvertently emitted into 
   6785 some 
   6786 listing files.
   6787 
   6788 iASL: Added the existing debug options to the standard help screen. There 
   6789 are 
   6790 no longer two different help screens. ACPICA BZ 957.
   6791 
   6792 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
   6793 Also 
   6794 expand some of the descriptions where appropriate.
   6795 
   6796 iASL: Fixed the -ot option (display compile times/statistics). Was not 
   6797 working 
   6798 properly for standard output; only worked for the debug file case.
   6799 
   6800 ----------------------------------------
   6801 18 May 2012. Summary of changes for version 20120518:
   6802 
   6803 
   6804 1) ACPICA Core Subsystem:
   6805 
   6806 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
   6807 defined 
   6808 to block until asynchronous events such as notifies and GPEs have 
   6809 completed. 
   6810 Within ACPICA, it is only called before a notify or GPE handler is 
   6811 removed/uninstalled. It also may be useful for the host OS within related 
   6812 drivers such as the Embedded Controller driver. See the ACPICA reference 
   6813 for 
   6814 additional information. ACPICA BZ 868.
   6815 
   6816 ACPI Tables: Added a new error message for a possible overflow failure 
   6817 during 
   6818 the conversion of FADT 32-bit legacy register addresses to internal 
   6819 common 
   6820 64-
   6821 bit GAS structure representation. The GAS has a one-byte "bit length" 
   6822 field, 
   6823 thus limiting the register length to 255 bits. ACPICA BZ 953.
   6824 
   6825 Example Code and Data Size: These are the sizes for the OS-independent 
   6826 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6827 debug 
   6828 version of the code includes the debug output trace mechanism and has a 
   6829 much 
   6830 larger code and data size.
   6831 
   6832   Previous Release:
   6833     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6834     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   6835   Current Release:
   6836     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   6837     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   6838 
   6839 
   6840 2) iASL Compiler/Disassembler and Tools:
   6841 
   6842 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
   6843 macro. 
   6844 This keyword was added late in the ACPI 5.0 release cycle and was not 
   6845 implemented until now.
   6846 
   6847 Disassembler: Added support for Operation Region externals. Adds missing 
   6848 support for operation regions that are defined in another table, and 
   6849 referenced locally via a Field or BankField ASL operator. Now generates 
   6850 the 
   6851 correct External statement.
   6852 
   6853 Disassembler: Several additional fixes for the External() statement 
   6854 generation 
   6855 related to some ASL operators. Also, order the External() statements 
   6856 alphabetically in the disassembler output. Fixes the External() 
   6857 generation 
   6858 for 
   6859 the Create* field, Alias, and Scope operators:
   6860  1) Create* buffer field operators - fix type mismatch warning on 
   6861 disassembly
   6862  2) Alias - implement missing External support
   6863  3) Scope - fix to make sure all necessary externals are emitted.
   6864 
   6865 iASL: Improved pathname support. For include files, merge the prefix 
   6866 pathname 
   6867 with the file pathname and eliminate unnecessary components. Convert 
   6868 backslashes in all pathnames to forward slashes, for readability. Include 
   6869 file 
   6870 pathname changes affect both #include and Include() type operators.
   6871 
   6872 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
   6873 end 
   6874 of a valid line by inserting a newline and then returning the EOF during 
   6875 the 
   6876 next call to GetNextLine. Prevents the line from being ignored due to EOF 
   6877 condition.
   6878 
   6879 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
   6880 Error 
   6881 and Warning messages are now correctly recognized for both the source 
   6882 code 
   6883 browser and the global error and warning counts.
   6884 
   6885 ----------------------------------------
   6886 20 April 2012. Summary of changes for version 20120420:
   6887 
   6888 
   6889 1) ACPICA Core Subsystem:
   6890 
   6891 Implemented support for multiple notify handlers. This change adds 
   6892 support 
   6893 to 
   6894 allow multiple system and device notify handlers on Device, Thermal Zone, 
   6895 and 
   6896 Processor objects. This can simplify the host OS notification 
   6897 implementation. 
   6898 Also re-worked and restructured the entire notify support code to 
   6899 simplify 
   6900 handler installation, handler removal, notify event queuing, and notify 
   6901 dispatch to handler(s). Note: there can still only be two global notify 
   6902 handlers - one for system notifies and one for device notifies. There are 
   6903 no 
   6904 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
   6905 Moore, Rafael Wysocki.
   6906 
   6907 Fixed a regression in the package repair code where the object reference 
   6908 count was calculated incorrectly. Regression was introduced in the commit 
   6909 "Support to add Package wrappers".
   6910 
   6911 Fixed a couple possible memory leaks in the AML parser, in the error 
   6912 recovery 
   6913 path. Jesper Juhl, Lin Ming.
   6914 
   6915 Example Code and Data Size: These are the sizes for the OS-independent 
   6916 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6917 debug version of the code includes the debug output trace mechanism and 
   6918 has a 
   6919 much larger code and data size.
   6920 
   6921   Previous Release:
   6922     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6923     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   6924   Current Release:
   6925     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6926     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   6927 
   6928 
   6929 2) iASL Compiler/Disassembler and Tools:
   6930 
   6931 iASL: Fixed a problem with the resource descriptor support where the 
   6932 length 
   6933 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
   6934 included in cumulative descriptor offset, resulting in incorrect values 
   6935 for 
   6936 resource tags within resource descriptors appearing after a 
   6937 StartDependent* 
   6938 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
   6939 
   6940 iASL and Preprocessor: Implemented full support for the #line directive 
   6941 to 
   6942 correctly track original source file line numbers through the .i 
   6943 preprocessor 
   6944 output file - for error and warning messages.
   6945 
   6946 iASL: Expand the allowable byte constants for address space IDs. 
   6947 Previously, 
   6948 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
   6949 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
   6950 
   6951 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
   6952 
   6953 iASL: Add option to completely disable the preprocessor (-Pn).
   6954 
   6955 iASL: Now emit all error/warning messages to standard error (stderr) by 
   6956 default (instead of the previous stdout).
   6957 
   6958 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
   6959 Update 
   6960 for resource descriptor offset fix above. Update/cleanup error output 
   6961 routines. Enable and send iASL errors/warnings to an error logfile 
   6962 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
   6963 Fixed 
   6964 several extraneous "unrecognized operator" messages.
   6965 
   6966 ----------------------------------------
   6967 20 March 2012. Summary of changes for version 20120320:
   6968 
   6969 
   6970 1) ACPICA Core Subsystem:
   6971 
   6972 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
   6973 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
   6974 apparently 
   6975 does not execute these methods, and therefore these methods are often 
   6976 untested. It has been seen on some systems where the execution of these 
   6977 methods causes errors and also prevents the machine from entering S5. It 
   6978 is 
   6979 therefore suggested that host operating systems do not execute these 
   6980 methods 
   6981 by default. In the future, perhaps these methods can be optionally 
   6982 executed 
   6983 based on the age of the system and/or what is the newest version of 
   6984 Windows 
   6985 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
   6986 and 
   6987 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
   6988 Ming.
   6989 
   6990 Fixed a problem where the length of the local/common FADT was set too 
   6991 early. 
   6992 The local FADT table length cannot be set to the common length until the 
   6993 original length has been examined. There is code that checks the table 
   6994 length 
   6995 and sets various fields appropriately. This can affect older machines 
   6996 with 
   6997 early FADT versions. For example, this can cause inadvertent writes to 
   6998 the 
   6999 CST_CNT register. Julian Anastasov.
   7000 
   7001 Fixed a mapping issue related to a physical table override. Use the 
   7002 deferred 
   7003 mapping mechanism for tables loaded via the physical override OSL 
   7004 interface. 
   7005 This allows for early mapping before the virtual memory manager is 
   7006 available. 
   7007 Thomas Renninger, Bob Moore.
   7008 
   7009 Enhanced the automatic return-object repair code: Repair a common problem 
   7010 with 
   7011 predefined methods that are defined to return a variable-length Package 
   7012 of 
   7013 sub-objects. If there is only one sub-object, some BIOS ASL code 
   7014 mistakenly 
   7015 simply returns the single object instead of a Package with one sub-
   7016 object. 
   7017 This new support will repair this error by wrapping a Package object 
   7018 around 
   7019 the original object, creating the correct and expected Package with one 
   7020 sub-
   7021 object. Names that can be repaired in this manner include: _ALR, _CSD, 
   7022 _HPX, 
   7023 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
   7024 939.
   7025 
   7026 Changed the exception code returned for invalid ACPI paths passed as 
   7027 parameters to external interfaces such as AcpiEvaluateObject. Was 
   7028 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
   7029 
   7030 Example Code and Data Size: These are the sizes for the OS-independent 
   7031 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7032 debug 
   7033 version of the code includes the debug output trace mechanism and has a 
   7034 much 
   7035 larger code and data size.
   7036 
   7037   Previous Release:
   7038     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   7039     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   7040   Current Release:
   7041     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   7042     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   7043 
   7044 
   7045 2) iASL Compiler/Disassembler and Tools:
   7046 
   7047 iASL: Added the infrastructure and initial implementation of a integrated 
   7048 C-
   7049 like preprocessor. This will simplify BIOS development process by 
   7050 eliminating 
   7051 the need for a separate preprocessing step during builds. On Windows, it 
   7052 also 
   7053 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
   7054 features including full #define() macro support are still under 
   7055 development. 
   7056 These preprocessor directives are supported:
   7057     #define
   7058     #elif
   7059     #else
   7060     #endif
   7061     #error
   7062     #if
   7063     #ifdef
   7064     #ifndef
   7065     #include
   7066     #pragma message
   7067     #undef
   7068     #warning
   7069 In addition, these new command line options are supported:
   7070     -D <symbol> Define symbol for preprocessor use
   7071     -li         Create preprocessed output file (*.i)
   7072     -P          Preprocess only and create preprocessor output file (*.i)
   7073 
   7074 Table Compiler: Fixed a problem where the equals operator within an 
   7075 expression 
   7076 did not work properly.
   7077 
   7078 Updated iASL to use the current versions of Bison/Flex. Updated the 
   7079 Windows 
   7080 project file to invoke these tools from the standard location. ACPICA BZ 
   7081 904. 
   7082 Versions supported:
   7083     Flex for Windows:  V2.5.4
   7084     Bison for Windows: V2.4.1
   7085 
   7086 ----------------------------------------
   7087 15 February 2012. Summary of changes for version 20120215:
   7088 
   7089 
   7090 1) ACPICA Core Subsystem:
   7091 
   7092 There have been some major changes to the sleep/wake support code, as 
   7093 described below (a - e).
   7094 
   7095 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
   7096 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
   7097 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
   7098 the 
   7099 time the _BFS method is called and the _WAK method is called. NOTE: all 
   7100 hosts 
   7101 must update their wake/resume code or else sleep/wake will not work 
   7102 properly. 
   7103 Rafael Wysocki.
   7104 
   7105 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
   7106 _WAK 
   7107 method. Some machines require that the GPEs are enabled before the _WAK 
   7108 method 
   7109 is executed. Thomas Renninger.
   7110 
   7111 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
   7112 bit. 
   7113 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
   7114 to 
   7115 determine whether the system is rebooting or resuming. Matthew Garrett.
   7116 
   7117 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
   7118 Sleep) to 
   7119 match the ACPI specification requirement. Rafael Wysocki.
   7120 
   7121 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
   7122 registers within the V5 FADT. This support adds two new files: 
   7123 hardware/hwesleep.c implements the support for the new registers. Moved 
   7124 all 
   7125 sleep/wake external interfaces to hardware/hwxfsleep.c.
   7126 
   7127 
   7128 Added a new OSL interface for ACPI table overrides, 
   7129 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
   7130 table via a physical address, instead of the logical address required by 
   7131 AcpiOsTableOverride. This simplifies the host implementation. Initial 
   7132 implementation by Thomas Renninger. The ACPICA implementation creates a 
   7133 single 
   7134 shared function for table overrides that attempts both a logical and a 
   7135 physical override.
   7136 
   7137 Expanded the OSL memory read/write interfaces to 64-bit data 
   7138 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
   7139 transfer support for GAS register structures passed to AcpiRead and 
   7140 AcpiWrite.
   7141 
   7142 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
   7143 custom 
   7144 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
   7145 model. 
   7146 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
   7147 about 
   7148 10% of the code and 5% of the static data, and the following hardware 
   7149 ACPI 
   7150 features become unavailable:
   7151     PM Event and Control registers
   7152     SCI interrupt (and handler)
   7153     Fixed Events
   7154     General Purpose Events (GPEs)
   7155     Global Lock
   7156     ACPI PM timer
   7157 
   7158 Updated the unix tarball directory structure to match the ACPICA git 
   7159 source 
   7160 tree. This ensures that the generic unix makefiles work properly (in 
   7161 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
   7162 867.
   7163 
   7164 Updated the return value of the _REV predefined method to integer value 5 
   7165 to 
   7166 reflect ACPI 5.0 support.
   7167 
   7168 Moved the external ACPI PM timer interface prototypes to the public 
   7169 acpixf.h 
   7170 file where they belong.
   7171 
   7172 Example Code and Data Size: These are the sizes for the OS-independent 
   7173 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7174 debug 
   7175 version of the code includes the debug output trace mechanism and has a 
   7176 much 
   7177 larger code and data size.
   7178 
   7179   Previous Release:
   7180     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   7181     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   7182   Current Release:
   7183     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   7184     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   7185 
   7186 
   7187 2) iASL Compiler/Disassembler and Tools:
   7188 
   7189 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
   7190 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
   7191 incorrectly displayed.
   7192 
   7193 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
   7194 specification.
   7195 
   7196 ----------------------------------------
   7197 11 January 2012. Summary of changes for version 20120111:
   7198 
   7199 
   7200 1) ACPICA Core Subsystem:
   7201 
   7202 Implemented a new mechanism to allow host device drivers to check for 
   7203 address 
   7204 range conflicts with ACPI Operation Regions. Both SystemMemory and 
   7205 SystemIO 
   7206 address spaces are supported. A new external interface, 
   7207 AcpiCheckAddressRange, 
   7208 allows drivers to check an address range against the ACPI namespace. See 
   7209 the 
   7210 ACPICA reference for additional details. Adds one new file, 
   7211 utilities/utaddress.c. Lin Ming, Bob Moore.
   7212 
   7213 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
   7214 Control 
   7215 and 
   7216 Status registers, update the ACPI 5.0 flags, and update internal data 
   7217 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
   7218 5.0 
   7219 FADT is 268 bytes.
   7220 
   7221 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
   7222 copyright to 
   7223 all module headers and signons, including the standard Linux header. This 
   7224 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
   7225 and 
   7226 all ACPICA utilities.
   7227 
   7228 Example Code and Data Size: These are the sizes for the OS-independent 
   7229 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7230 debug 
   7231 version of the code includes the debug output trace mechanism and has a 
   7232 much 
   7233 larger code and data size.
   7234 
   7235   Previous Release:
   7236     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   7237     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   7238   Current Release:
   7239     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   7240     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   7241 
   7242 
   7243 2) iASL Compiler/Disassembler and Tools:
   7244 
   7245 Disassembler: fixed a problem with the automatic resource tag generation 
   7246 support. Fixes a problem where the resource tags are inadvertently not 
   7247 constructed if the table being disassembled contains external references 
   7248 to 
   7249 control methods. Moved the actual construction of the tags to after the 
   7250 final 
   7251 namespace is constructed (after 2nd parse is invoked due to external 
   7252 control 
   7253 method references.) ACPICA BZ 941.
   7254 
   7255 Table Compiler: Make all "generic" operators caseless. These are the 
   7256 operators 
   7257 like UINT8, String, etc. Making these caseless improves ease-of-use. 
   7258 ACPICA BZ 
   7259 934.
   7260 
   7261 ----------------------------------------
   7262 23 November 2011. Summary of changes for version 20111123:
   7263 
   7264 0) ACPI 5.0 Support:
   7265 
   7266 This release contains full support for the ACPI 5.0 specification, as 
   7267 summarized below.
   7268 
   7269 Reduced Hardware Support:
   7270 -------------------------
   7271 
   7272 This support allows for ACPI systems without the usual ACPI hardware. 
   7273 This 
   7274 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
   7275 will 
   7276 not attempt to initialize or use any of the usual ACPI hardware. Note, 
   7277 when 
   7278 this flag is set, all of the following ACPI hardware is assumed to be not 
   7279 present and is not initialized or accessed:
   7280 
   7281     General Purpose Events (GPEs)
   7282     Fixed Events (PM1a/PM1b and PM Control)
   7283     Power Management Timer and Console Buttons (power/sleep)
   7284     Real-time Clock Alarm
   7285     Global Lock
   7286     System Control Interrupt (SCI)
   7287     The FACS is assumed to be non-existent
   7288 
   7289 ACPI Tables:
   7290 ------------
   7291 
   7292 All new tables and updates to existing tables are fully supported in the 
   7293 ACPICA headers (for use by device drivers), the disassembler, and the 
   7294 iASL 
   7295 Data Table Compiler. ACPI 5.0 defines these new tables:
   7296 
   7297     BGRT        /* Boot Graphics Resource Table */
   7298     DRTM        /* Dynamic Root of Trust for Measurement table */
   7299     FPDT        /* Firmware Performance Data Table */
   7300     GTDT        /* Generic Timer Description Table */
   7301     MPST        /* Memory Power State Table */
   7302     PCCT        /* Platform Communications Channel Table */
   7303     PMTT        /* Platform Memory Topology Table */
   7304     RASF        /* RAS Feature table */
   7305 
   7306 Operation Regions/SpaceIDs:
   7307 ---------------------------
   7308 
   7309 All new operation regions are fully supported by the iASL compiler, the 
   7310 disassembler, and the ACPICA runtime code (for dispatch to region 
   7311 handlers.) 
   7312 The new operation region Space IDs are:
   7313 
   7314     GeneralPurposeIo
   7315     GenericSerialBus
   7316 
   7317 Resource Descriptors:
   7318 ---------------------
   7319 
   7320 All new ASL resource descriptors are fully supported by the iASL 
   7321 compiler, 
   7322 the 
   7323 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
   7324 (including 
   7325 all new predefined resource tags). New descriptors are:
   7326 
   7327     FixedDma
   7328     GpioIo
   7329     GpioInt
   7330     I2cSerialBus
   7331     SpiSerialBus
   7332     UartSerialBus
   7333 
   7334 ASL/AML Operators, New and Modified:
   7335 ------------------------------------
   7336 
   7337 One new operator is added, the Connection operator, which is used to 
   7338 associate 
   7339 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
   7340 individual 
   7341 field objects within an operation region. Several new protocols are 
   7342 associated 
   7343 with the AccessAs operator. All are fully supported by the iASL compiler, 
   7344 disassembler, and runtime ACPICA AML interpreter:
   7345 
   7346     Connection                      // Declare Field Connection 
   7347 attributes
   7348     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
   7349     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
   7350 Protocol
   7351     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
   7352     RawDataBuffer                       // Data type for Vendor Data 
   7353 fields
   7354 
   7355 Predefined ASL/AML Objects:
   7356 ---------------------------
   7357 
   7358 All new predefined objects/control-methods are supported by the iASL 
   7359 compiler 
   7360 and the ACPICA runtime validation/repair (arguments and return values.) 
   7361 New 
   7362 predefined names include the following:
   7363 
   7364 Standard Predefined Names (Objects or Control Methods):
   7365     _AEI, _CLS, _CPC, _CWS, _DEP,
   7366     _DLM, _EVT, _GCP, _CRT, _GWS,
   7367     _HRV, _PRE, _PSE, _SRT, _SUB.
   7368 
   7369 Resource Tags (Names used to access individual fields within resource 
   7370 descriptors):
   7371     _DBT, _DPL, _DRS, _END, _FLC,
   7372     _IOR, _LIN, _MOD, _PAR, _PHA,
   7373     _PIN, _PPI, _POL, _RXL, _SLV,
   7374     _SPE, _STB, _TXL, _VEN.
   7375 
   7376 ACPICA External Interfaces:
   7377 ---------------------------
   7378 
   7379 Several new interfaces have been defined for use by ACPI-related device 
   7380 drivers and other host OS services:
   7381 
   7382 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
   7383 to 
   7384 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
   7385 provided by the BIOS. They are intended to be used in conjunction with 
   7386 the 
   7387 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
   7388 mutual exclusion with the AML code/interpreter.
   7389 
   7390 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
   7391 defined 
   7392 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
   7393 provides 
   7394 resource descriptors associated with hardware-reduced platform events, 
   7395 similar 
   7396 to the AcpiGetCurrentResources interface.
   7397 
   7398 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
   7399 operation regions, information about the Connection() object and any 
   7400 optional 
   7401 length information is passed to the region handler within the Context 
   7402 parameter.
   7403 
   7404 AcpiBufferToResource: This interface converts a raw AML buffer containing 
   7405 a 
   7406 resource template or resource descriptor to the ACPI_RESOURCE internal 
   7407 format 
   7408 suitable for use by device drivers. Can be used by an operation region 
   7409 handler 
   7410 to convert the Connection() buffer object into a ACPI_RESOURCE.
   7411 
   7412 Miscellaneous/Tools/TestSuites: 
   7413 -------------------------------
   7414 
   7415 Support for extended _HID names (Four alpha characters instead of three).
   7416 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
   7417 Support for ACPI 5.0 features in the ASLTS test suite.
   7418 Fully updated documentation (ACPICA and iASL reference documents.)
   7419 
   7420 ACPI Table Definition Language:
   7421 -------------------------------
   7422 
   7423 Support for this language was implemented and released as a subsystem of 
   7424 the 
   7425 iASL compiler in 2010. (See the iASL compiler User Guide.)
   7426 
   7427 
   7428 Non-ACPI 5.0 changes for this release:
   7429 --------------------------------------
   7430 
   7431 1) ACPICA Core Subsystem:
   7432 
   7433 Fix a problem with operation region declarations where a failure can 
   7434 occur 
   7435 if 
   7436 the region name and an argument that evaluates to an object (such as the 
   7437 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
   7438 937.
   7439 
   7440 Do not abort an ACPI table load if an invalid space ID is found within. 
   7441 This 
   7442 will be caught later if the offending method is executed. ACPICA BZ 925.
   7443 
   7444 Fixed an issue with the FFixedHW space ID where the ID was not always 
   7445 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
   7446 
   7447 Fixed a problem with the 32-bit generation of the unix-specific OSL 
   7448 (osunixxf.c). Lin Ming, ACPICA BZ 936.
   7449 
   7450 Several changes made to enable generation with the GCC 4.6 compiler. 
   7451 ACPICA BZ 
   7452 935.
   7453 
   7454 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
   7455 Index/Bank 
   7456 field registers out-of-range.
   7457 
   7458 2) iASL Compiler/Disassembler and Tools:
   7459 
   7460 iASL: Implemented the __PATH__ operator, which returns the full pathname 
   7461 of 
   7462 the current source file.
   7463 
   7464 AcpiHelp: Automatically display expanded keyword information for all ASL 
   7465 operators.
   7466 
   7467 Debugger: Add "Template" command to disassemble/dump resource template 
   7468 buffers.
   7469 
   7470 Added a new master script to generate and execute the ASLTS test suite. 
   7471 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
   7472 
   7473 iASL: Fix problem with listing generation during processing of the 
   7474 Switch() 
   7475 operator where AML listing was disabled until the entire Switch block was 
   7476 completed.
   7477 
   7478 iASL: Improve support for semicolon statement terminators. Fix "invalid 
   7479 character" message for some cases when the semicolon is used. Semicolons 
   7480 are 
   7481 now allowed after every <Term> grammar element. ACPICA BZ 927.
   7482 
   7483 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
   7484 923.
   7485 
   7486 Disassembler: Fix problem with disassembly of the DataTableRegion 
   7487 operator 
   7488 where an inadvertent "Unhandled deferred opcode" message could be 
   7489 generated.
   7490 
   7491 3) Example Code and Data Size
   7492 
   7493 These are the sizes for the OS-independent acpica.lib produced by the 
   7494 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   7495 includes the debug output trace mechanism and has a much larger code and 
   7496 data 
   7497 size.
   7498 
   7499   Previous Release:
   7500     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   7501     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7502   Current Release:
   7503     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   7504     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   7505 
   7506 ----------------------------------------
   7507 22 September 2011. Summary of changes for version 20110922:
   7508 
   7509 0) ACPI 5.0 News:
   7510 
   7511 Support for ACPI 5.0 in ACPICA has been underway for several months and 
   7512 will 
   7513 be released at the same time that ACPI 5.0 is officially released.
   7514 
   7515 The ACPI 5.0 specification is on track for release in the next few 
   7516 months.
   7517  
   7518 1) ACPICA Core Subsystem:
   7519 
   7520 Fixed a problem where the maximum sleep time for the Sleep() operator was 
   7521 intended to be limited to two seconds, but was inadvertently limited to 
   7522 20 
   7523 seconds instead.
   7524 
   7525 Linux and Unix makefiles: Added header file dependencies to ensure 
   7526 correct 
   7527 generation of ACPICA core code and utilities. Also simplified the 
   7528 makefiles 
   7529 considerably through the use of the vpath variable to specify search 
   7530 paths. 
   7531 ACPICA BZ 924.
   7532 
   7533 2) iASL Compiler/Disassembler and Tools:
   7534 
   7535 iASL: Implemented support to check the access length for all fields 
   7536 created to 
   7537 access named Resource Descriptor fields. For example, if a resource field 
   7538 is 
   7539 defined to be two bits, a warning is issued if a CreateXxxxField() is 
   7540 used 
   7541 with an incorrect bit length. This is implemented for all current 
   7542 resource 
   7543 descriptor names. ACPICA BZ 930.
   7544   
   7545 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
   7546 56-
   7547 bit integers.
   7548 
   7549 iASL: Fixed a couple of issues associated with variable-length package 
   7550 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
   7551 a 
   7552 VAR_PACKAGE when these are used as a package length. 2) Allow the 
   7553 VAR_PACKAGE 
   7554 opcode (in addition to PACKAGE) when validating object types for 
   7555 predefined 
   7556 names.
   7557 
   7558 iASL: Emit statistics for all output files (instead of just the ASL input 
   7559 and 
   7560 AML output). Includes listings, hex files, etc.
   7561 
   7562 iASL: Added -G option to the table compiler to allow the compilation of 
   7563 custom 
   7564 ACPI tables. The only part of a table that is required is the standard 
   7565 36-
   7566 byte 
   7567 ACPI header.
   7568 
   7569 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
   7570 headers), 
   7571 which also adds correct 64-bit support. Also, now all output filenames 
   7572 are 
   7573 completely lower case.
   7574 
   7575 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
   7576 loading table files. A warning is issued for any such tables. The only 
   7577 exception is an FADT. This also fixes a possible fault when attempting to 
   7578 load 
   7579 non-AML tables. ACPICA BZ 932.
   7580 
   7581 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
   7582 a 
   7583 missing table terminator could cause a fault when using the -p option.
   7584 
   7585 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
   7586 statistics.
   7587 
   7588 3) Example Code and Data Size
   7589 
   7590 These are the sizes for the OS-independent acpica.lib produced by the 
   7591 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   7592 includes the debug output trace mechanism and has a much larger code and 
   7593 data 
   7594 size.
   7595 
   7596   Previous Release (VC 9.0):
   7597     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   7598     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7599   Current Release (VC 9.0):
   7600     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   7601     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7602 
   7603 
   7604 ----------------------------------------
   7605 23 June 2011. Summary of changes for version 20110623:
   7606 
   7607 1) ACPI CA Core Subsystem:
   7608 
   7609 Updated the predefined name repair mechanism to not attempt repair of a 
   7610 _TSS 
   7611 return object if a _PSS object is present. We can only sort the _TSS 
   7612 return 
   7613 package if there is no _PSS within the same scope. This is because if 
   7614 _PSS 
   7615 is 
   7616 present, the ACPI specification dictates that the _TSS Power Dissipation 
   7617 field 
   7618 is to be ignored, and therefore some BIOSs leave garbage values in the 
   7619 _TSS 
   7620 Power field(s). In this case, it is best to just return the _TSS package 
   7621 as-
   7622 is. Reported by, and fixed with assistance from Fenghua Yu.
   7623 
   7624 Added an option to globally disable the control method return value 
   7625 validation 
   7626 and repair. This runtime option can be used to disable return value 
   7627 repair 
   7628 if 
   7629 this is causing a problem on a particular machine. Also added an option 
   7630 to 
   7631 AcpiExec (-dr) to set this disable flag.
   7632 
   7633 All makefiles and project files: Major changes to improve generation of 
   7634 ACPICA 
   7635 tools. ACPICA BZ 912:
   7636     Reduce default optimization levels to improve compatibility
   7637     For Linux, add strict-aliasing=0 for gcc 4
   7638     Cleanup and simplify use of command line defines
   7639     Cleanup multithread library support
   7640     Improve usage messages
   7641 
   7642 Linux-specific header: update handling of THREAD_ID and pthread. For the 
   7643 32-
   7644 bit case, improve casting to eliminate possible warnings, especially with 
   7645 the 
   7646 acpica tools.
   7647 
   7648 Example Code and Data Size: These are the sizes for the OS-independent 
   7649 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7650 debug 
   7651 version of the code includes the debug output trace mechanism and has a 
   7652 much 
   7653 larger code and data size.
   7654 
   7655   Previous Release (VC 9.0):
   7656     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   7657     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7658   Current Release (VC 9.0):
   7659     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   7660     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7661 
   7662 2) iASL Compiler/Disassembler and Tools:
   7663 
   7664 With this release, a new utility named "acpihelp" has been added to the 
   7665 ACPICA 
   7666 package. This utility summarizes the ACPI specification chapters for the 
   7667 ASL 
   7668 and AML languages. It generates under Linux/Unix as well as Windows, and 
   7669 provides the following functionality:
   7670     Find/display ASL operator(s) -- with description and syntax.
   7671     Find/display ASL keyword(s) -- with exact spelling and descriptions.
   7672     Find/display ACPI predefined name(s) -- with description, number
   7673         of arguments, and the return value data type.
   7674     Find/display AML opcode name(s) -- with opcode, arguments, and 
   7675 grammar.
   7676     Decode/display AML opcode -- with opcode name, arguments, and 
   7677 grammar.
   7678 
   7679 Service Layers: Make multi-thread support configurable. Conditionally 
   7680 compile 
   7681 the multi-thread support so that threading libraries will not be linked 
   7682 if 
   7683 not 
   7684 necessary. The only tool that requires multi-thread support is AcpiExec.
   7685 
   7686 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
   7687 of 
   7688 Bison appear to want the interface to yyerror to be a const char * (or at 
   7689 least this is a problem when generating iASL on some systems.) ACPICA BZ 
   7690 923 
   7691 Pierre Lejeune.
   7692 
   7693 Tools: Fix for systems where O_BINARY is not defined. Only used for 
   7694 Windows 
   7695 versions of the tools.
   7696 
   7697 ----------------------------------------
   7698 27 May 2011. Summary of changes for version 20110527:
   7699 
   7700 1) ACPI CA Core Subsystem:
   7701 
   7702 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
   7703 table 
   7704 signature. Now, only allow SSDT, OEMx, and a null signature. History:
   7705     1) Originally, we checked the table signature for "SSDT" or "PSDT".
   7706        (PSDT is now obsolete.)
   7707     2) We added support for OEMx tables, signature "OEM" plus a fourth
   7708        "don't care" character.
   7709     3) Valid tables were encountered with a null signature, so we just
   7710        gave up on validating the signature, (05/2008).
   7711     4) We encountered non-AML tables such as the MADT, which caused
   7712        interpreter errors and kernel faults. So now, we once again allow
   7713        only SSDT, OEMx, and now, also a null signature. (05/2011).
   7714 
   7715 Added the missing _TDL predefined name to the global name list in order 
   7716 to 
   7717 enable validation. Affects both the core ACPICA code and the iASL 
   7718 compiler.
   7719 
   7720 Example Code and Data Size: These are the sizes for the OS-independent 
   7721 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7722 debug 
   7723 version of the code includes the debug output trace mechanism and has a 
   7724 much 
   7725 larger code and data size.
   7726 
   7727   Previous Release (VC 9.0):
   7728     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   7729     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   7730   Current Release (VC 9.0):
   7731     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   7732     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7733 
   7734 2) iASL Compiler/Disassembler and Tools:
   7735 
   7736 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
   7737 the 
   7738 debugger command line. This adds support beyond simple integers -- 
   7739 including 
   7740 Strings, Buffers, and Packages. Includes support for nested packages. 
   7741 Increased the default command line buffer size to accommodate these 
   7742 arguments. 
   7743 See the ACPICA reference for details and syntax. ACPICA BZ 917.
   7744  
   7745 Debugger/AcpiExec: Implemented support for "default" method arguments for 
   7746 the 
   7747 Execute/Debug command. Now, the debugger will always invoke a control 
   7748 method 
   7749 with the required number of arguments -- even if the command line 
   7750 specifies 
   7751 none or insufficient arguments. It uses default integer values for any 
   7752 missing 
   7753 arguments. Also fixes a bug where only six method arguments maximum were 
   7754 supported instead of the required seven.
   7755 
   7756 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
   7757 and 
   7758 also return status in order to prevent buffer overruns. See the ACPICA 
   7759 reference for details and syntax. ACPICA BZ 921
   7760 
   7761 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
   7762 makefiles to simplify support for the two different but similar parser 
   7763 generators, bison and yacc.
   7764 
   7765 Updated the generic unix makefile for gcc 4. The default gcc version is 
   7766 now 
   7767 expected to be 4 or greater, since options specific to gcc 4 are used.
   7768 
   7769 ----------------------------------------
   7770 13 April 2011. Summary of changes for version 20110413:
   7771 
   7772 1) ACPI CA Core Subsystem:
   7773 
   7774 Implemented support to execute a so-called "orphan" _REG method under the 
   7775 EC 
   7776 device. This change will force the execution of a _REG method underneath 
   7777 the 
   7778 EC 
   7779 device even if there is no corresponding operation region of type 
   7780 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
   7781 compatible with Windows behavior. ACPICA BZ 875.
   7782 
   7783 Added more predefined methods that are eligible for automatic NULL 
   7784 package 
   7785 element removal. This change adds another group of predefined names to 
   7786 the 
   7787 list 
   7788 of names that can be repaired by having NULL package elements dynamically 
   7789 removed. This group are those methods that return a single variable-
   7790 length 
   7791 package containing simple data types such as integers, buffers, strings. 
   7792 This 
   7793 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
   7794 _PSL, 
   7795 _Sx, 
   7796 and _TZD. ACPICA BZ 914.
   7797 
   7798 Split and segregated all internal global lock functions to a new file, 
   7799 evglock.c.
   7800 
   7801 Updated internal address SpaceID for DataTable regions. Moved this 
   7802 internal 
   7803 space 
   7804 id in preparation for ACPI 5.0 changes that will include some new space 
   7805 IDs. 
   7806 This 
   7807 change should not affect user/host code.
   7808 
   7809 Example Code and Data Size: These are the sizes for the OS-independent 
   7810 acpica.lib 
   7811 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   7812 version of 
   7813 the code includes the debug output trace mechanism and has a much larger 
   7814 code 
   7815 and 
   7816 data size.
   7817 
   7818   Previous Release (VC 9.0):
   7819     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   7820     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   7821   Current Release (VC 9.0):
   7822     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   7823     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   7824 
   7825 2) iASL Compiler/Disassembler and Tools:
   7826 
   7827 iASL/DTC: Major update for new grammar features. Allow generic data types 
   7828 in 
   7829 custom ACPI tables. Field names are now optional. Any line can be split 
   7830 to 
   7831 multiple lines using the continuation char (\). Large buffers now use 
   7832 line-
   7833 continuation character(s) and no colon on the continuation lines. See the 
   7834 grammar 
   7835 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
   7836 Moore.
   7837 
   7838 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
   7839 statements. 
   7840 Since the parser stuffs a "zero" as the return value for these statements 
   7841 (due 
   7842 to 
   7843 the underlying AML grammar), they were seen as "return with value" by the 
   7844 iASL 
   7845 semantic checking. They are now seen correctly as "null" return 
   7846 statements.
   7847 
   7848 iASL: Check if a_REG declaration has a corresponding Operation Region. 
   7849 Adds a 
   7850 check for each _REG to ensure that there is in fact a corresponding 
   7851 operation 
   7852 region declaration in the same scope. If not, the _REG method is not very 
   7853 useful 
   7854 since it probably won't be executed. ACPICA BZ 915.
   7855 
   7856 iASL/DTC: Finish support for expression evaluation. Added a new 
   7857 expression 
   7858 parser 
   7859 that implements c-style operator precedence and parenthesization. ACPICA 
   7860 bugzilla 
   7861 908.
   7862 
   7863 Disassembler/DTC: Remove support for () and <> style comments in data 
   7864 tables. 
   7865 Now 
   7866 that DTC has full expression support, we don't want to have comment 
   7867 strings 
   7868 that 
   7869 start with a parentheses or a less-than symbol. Now, only the standard /* 
   7870 and 
   7871 // 
   7872 comments are supported, as well as the bracket [] comments.
   7873 
   7874 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
   7875 "unusual" 
   7876 headers in the acpidump file. Update the header validation to support 
   7877 these 
   7878 tables. Problem introduced in previous AcpiXtract version in the change 
   7879 to 
   7880 support "wrong checksum" error messages emitted by acpidump utility.
   7881 
   7882 iASL: Add a * option to generate all template files (as a synonym for 
   7883 ALL) 
   7884 as 
   7885 in 
   7886 "iasl -T *" or "iasl -T ALL".
   7887 
   7888 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
   7889 completely 
   7890 abort the compiler on "fatal" errors, simply should abort the current 
   7891 compile. 
   7892 This allows multiple compiles with a single (possibly wildcard) compiler 
   7893 invocation.
   7894 
   7895 ----------------------------------------
   7896 16 March 2011. Summary of changes for version 20110316:
   7897 
   7898 1) ACPI CA Core Subsystem:
   7899 
   7900 Fixed a problem caused by a _PRW method appearing at the namespace root 
   7901 scope 
   7902 during the setup of wake GPEs. A fault could occur if a _PRW directly 
   7903 under 
   7904 the 
   7905 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
   7906 
   7907 Implemented support for "spurious" Global Lock interrupts. On some 
   7908 systems, a 
   7909 global lock interrupt can occur without the pending flag being set. Upon 
   7910 a 
   7911 GL 
   7912 interrupt, we now ensure that a thread is actually waiting for the lock 
   7913 before 
   7914 signaling GL availability. Rafael Wysocki, Bob Moore.
   7915 
   7916 Example Code and Data Size: These are the sizes for the OS-independent 
   7917 acpica.lib 
   7918 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   7919 version of 
   7920 the code includes the debug output trace mechanism and has a much larger 
   7921 code 
   7922 and 
   7923 data size.
   7924 
   7925   Previous Release (VC 9.0):
   7926     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   7927     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   7928   Current Release (VC 9.0):
   7929     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   7930     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   7931 
   7932 2) iASL Compiler/Disassembler and Tools:
   7933 
   7934 Implemented full support for the "SLIC" ACPI table. Includes support in 
   7935 the 
   7936 header files, disassembler, table compiler, and template generator. Bob 
   7937 Moore, 
   7938 Lin Ming.
   7939 
   7940 AcpiXtract: Correctly handle embedded comments and messages from 
   7941 AcpiDump. 
   7942 Apparently some or all versions of acpidump will occasionally emit a 
   7943 comment 
   7944 like 
   7945 "Wrong checksum", etc., into the dump file. This was causing problems for 
   7946 AcpiXtract. ACPICA BZ 905.
   7947 
   7948 iASL: Fix the Linux makefile by removing an inadvertent double file 
   7949 inclusion. 
   7950 ACPICA BZ 913.
   7951 
   7952 AcpiExec: Update installation of operation region handlers. Install one 
   7953 handler 
   7954 for a user-defined address space. This is used by the ASL test suite 
   7955 (ASLTS).
   7956 
   7957 ----------------------------------------
   7958 11 February 2011. Summary of changes for version 20110211:
   7959 
   7960 1) ACPI CA Core Subsystem:
   7961 
   7962 Added a mechanism to defer _REG methods for some early-installed 
   7963 handlers. 
   7964 Most user handlers should be installed before call to 
   7965 AcpiEnableSubsystem. 
   7966 However, Event handlers and region handlers should be installed after 
   7967 AcpiInitializeObjects. Override handlers for the "default" regions should 
   7968 be 
   7969 installed early, however. This change executes all _REG methods for the 
   7970 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
   7971 chicken/egg issues between them. ACPICA BZ 848.
   7972 
   7973 Implemented an optimization for GPE detection. This optimization will 
   7974 simply 
   7975 ignore GPE registers that contain no enabled GPEs -- there is no need to 
   7976 read the register since this information is available internally. This 
   7977 becomes more important on machines with a large GPE space. ACPICA 
   7978 bugzilla 
   7979 884. Lin Ming. Suggestion from Joe Liu.
   7980 
   7981 Removed all use of the highly unreliable FADT revision field. The 
   7982 revision 
   7983 number in the FADT has been found to be completely unreliable and cannot 
   7984 be 
   7985 trusted. Only the actual table length can be used to infer the version. 
   7986 This 
   7987 change updates the ACPICA core and the disassembler so that both no 
   7988 longer 
   7989 even look at the FADT version and instead depend solely upon the FADT 
   7990 length.
   7991 
   7992 Fix an unresolved name issue for the no-debug and no-error-message source 
   7993 generation cases. The _AcpiModuleName was left undefined in these cases, 
   7994 but 
   7995 it is actually needed as a parameter to some interfaces. Define 
   7996 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
   7997 
   7998 Split several large files (makefiles and project files updated)
   7999   utglobal.c   -> utdecode.c
   8000   dbcomds.c    -> dbmethod.c dbnames.c
   8001   dsopcode.c   -> dsargs.c dscontrol.c
   8002   dsload.c     -> dsload2.c
   8003   aslanalyze.c -> aslbtypes.c aslwalks.c
   8004 
   8005 Example Code and Data Size: These are the sizes for the OS-independent 
   8006 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   8007 debug version of the code includes the debug output trace mechanism and 
   8008 has 
   8009 a much larger code and data size.
   8010 
   8011   Previous Release (VC 9.0):
   8012     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   8013     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   8014   Current Release (VC 9.0):
   8015     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   8016     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   8017 
   8018 2) iASL Compiler/Disassembler and Tools:
   8019 
   8020 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
   8021 These are useful C-style macros with the standard definitions. ACPICA 
   8022 bugzilla 898.
   8023 
   8024 iASL/DTC: Added support for integer expressions and labels. Support for 
   8025 full 
   8026 expressions for all integer fields in all ACPI tables. Support for labels 
   8027 in 
   8028 "generic" portions of tables such as UEFI. See the iASL reference manual.
   8029 
   8030 Debugger: Added a command to display the status of global handlers. The 
   8031 "handlers" command will display op region, fixed event, and miscellaneous 
   8032 global handlers. installation status -- and for op regions, whether 
   8033 default 
   8034 or user-installed handler will be used.
   8035 
   8036 iASL: Warn if reserved method incorrectly returns a value. Many 
   8037 predefined 
   8038 names are defined such that they do not return a value. If implemented as 
   8039 a 
   8040 method, issue a warning if such a name explicitly returns a value. ACPICA 
   8041 Bugzilla 855.
   8042 
   8043 iASL: Added detection of GPE method name conflicts. Detects a conflict 
   8044 where 
   8045 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
   8046 (For 
   8047 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
   8048 
   8049 iASL/DTC: Fixed a couple input scanner issues with comments and line 
   8050 numbers. Comment remover could get confused and miss a comment ending. 
   8051 Fixed 
   8052 a problem with line counter maintenance.
   8053 
   8054 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
   8055 is 
   8056 no need to abort on simple errors within a field definition.
   8057 
   8058 Debugger: Simplified the output of the help command. All help output now 
   8059 in 
   8060 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
   8061 
   8062 ----------------------------------------
   8063 12 January 2011. Summary of changes for version 20110112:
   8064 
   8065 1) ACPI CA Core Subsystem:
   8066 
   8067 Fixed a race condition between method execution and namespace walks that 
   8068 can 
   8069 possibly cause a fault. The problem was apparently introduced in version 
   8070 20100528 as a result of a performance optimization that reduces the 
   8071 number 
   8072 of 
   8073 namespace walks upon method exit by using the delete_namespace_subtree 
   8074 function instead of the delete_namespace_by_owner function used 
   8075 previously. 
   8076 Bug is a missing namespace lock in the delete_namespace_subtree function. 
   8077 dana.myers (a] oracle.com
   8078 
   8079 Fixed several issues and a possible fault with the automatic "serialized" 
   8080 method support. History: This support changes a method to "serialized" on 
   8081 the 
   8082 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
   8083 possibility that it cannot handle reentrancy. This fix repairs a couple 
   8084 of 
   8085 issues seen in the field, especially on machines with many cores:
   8086 
   8087     1) Delete method children only upon the exit of the last thread,
   8088        so as to not delete objects out from under other running threads
   8089       (and possibly causing a fault.)
   8090     2) Set the "serialized" bit for the method only upon the exit of the
   8091        Last thread, so as to not cause deadlock when running threads
   8092        attempt to exit.
   8093     3) Cleanup the use of the AML "MethodFlags" and internal method flags
   8094        so that there is no longer any confusion between the two.
   8095 
   8096     Lin Ming, Bob Moore. Reported by dana.myers (a] oracle.com.
   8097 
   8098 Debugger: Now lock the namespace for duration of a namespace dump. 
   8099 Prevents 
   8100 issues if the namespace is changing dynamically underneath the debugger. 
   8101 Especially affects temporary namespace nodes, since the debugger displays 
   8102 these also.
   8103 
   8104 Updated the ordering of include files. The ACPICA headers should appear 
   8105 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
   8106 set 
   8107 any necessary compiler-specific defines, etc. Affects the ACPI-related 
   8108 tools 
   8109 and utilities.
   8110 
   8111 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
   8112 copyright 
   8113 to all module headers and signons, including the Linux header. This 
   8114 affects 
   8115 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
   8116 utilities.
   8117 
   8118 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
   8119 project files for VC++ 6.0 are now obsolete. New project files can be 
   8120 found 
   8121 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
   8122 details.
   8123 
   8124 Example Code and Data Size: These are the sizes for the OS-independent 
   8125 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   8126 debug version of the code includes the debug output trace mechanism and 
   8127 has a 
   8128 much larger code and data size.
   8129 
   8130   Previous Release (VC 6.0):
   8131     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   8132     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   8133   Current Release (VC 9.0):
   8134     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   8135     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   8136 
   8137 2) iASL Compiler/Disassembler and Tools:
   8138 
   8139 iASL: Added generic data types to the Data Table compiler. Add "generic" 
   8140 data 
   8141 types such as UINT32, String, Unicode, etc., to simplify the generation 
   8142 of 
   8143 platform-defined tables such as UEFI. Lin Ming.
   8144 
   8145 iASL: Added listing support for the Data Table Compiler. Adds listing 
   8146 support 
   8147 (-l) to display actual binary output for each line of input code.
   8148 
   8149 ----------------------------------------
   8150 09 December 2010. Summary of changes for version 20101209:
   8151 
   8152 1) ACPI CA Core Subsystem:
   8153 
   8154 Completed the major overhaul of the GPE support code that was begun in 
   8155 July 
   8156 2010. Major features include: removal of _PRW execution in ACPICA (host 
   8157 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
   8158 changes to existing interfaces, simplification of GPE handler operation, 
   8159 and 
   8160 a handful of new interfaces:
   8161 
   8162     AcpiUpdateAllGpes
   8163     AcpiFinishGpe
   8164     AcpiSetupGpeForWake
   8165     AcpiSetGpeWakeMask
   8166     One new file, evxfgpe.c to consolidate all external GPE interfaces.
   8167 
   8168 See the ACPICA Programmer Reference for full details and programming 
   8169 information. See the new section 4.4 "General Purpose Event (GPE) 
   8170 Support" 
   8171 for a full overview, and section 8.7 "ACPI General Purpose Event 
   8172 Management" 
   8173 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
   8174 Ming, 
   8175 Bob Moore, Rafael Wysocki.
   8176 
   8177 Implemented a new GPE feature for Windows compatibility, the "Implicit 
   8178 Wake 
   8179 GPE Notify". This feature will automatically issue a Notify(2) on a 
   8180 device 
   8181 when a Wake GPE is received if there is no corresponding GPE method or 
   8182 handler. ACPICA BZ 870.
   8183 
   8184 Fixed a problem with the Scope() operator during table parse and load 
   8185 phase. 
   8186 During load phase (table load or method execution), the scope operator 
   8187 should 
   8188 not enter the target into the namespace. Instead, it should open a new 
   8189 scope 
   8190 at the target location. Linux BZ 19462, ACPICA BZ 882.
   8191 
   8192 Example Code and Data Size: These are the sizes for the OS-independent 
   8193 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8194 debug version of the code includes the debug output trace mechanism and 
   8195 has a 
   8196 much larger code and data size.
   8197 
   8198   Previous Release:
   8199     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   8200     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   8201   Current Release:
   8202     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   8203     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   8204 
   8205 2) iASL Compiler/Disassembler and Tools:
   8206 
   8207 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
   8208 are 
   8209 "bus-specific" per the ACPI specification, and therefore any characters 
   8210 are 
   8211 acceptable. The only checks that can be performed are for a null string 
   8212 and 
   8213 perhaps for a leading asterisk. ACPICA BZ 886.
   8214 
   8215 iASL: Fixed a problem where a syntax error that caused a premature EOF 
   8216 condition on the source file emitted a very confusing error message. The 
   8217 premature EOF is now detected correctly. ACPICA BZ 891.
   8218 
   8219 Disassembler: Decode the AccessSize within a Generic Address Structure 
   8220 (byte 
   8221 access, word access, etc.) Note, this field does not allow arbitrary bit 
   8222 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
   8223 
   8224 New: AcpiNames utility - Example namespace dump utility. Shows an example 
   8225 of 
   8226 ACPICA configuration for a minimal namespace dump utility. Uses table and 
   8227 namespace managers, but no AML interpreter. Does not add any 
   8228 functionality 
   8229 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
   8230 partition and configure ACPICA. ACPICA BZ 883.
   8231 
   8232 AML Debugger: Increased the debugger buffer size for method return 
   8233 objects. 
   8234 Was 4K, increased to 16K. Also enhanced error messages for debugger 
   8235 method 
   8236 execution, including the buffer overflow case.
   8237 
   8238 ----------------------------------------
   8239 13 October 2010. Summary of changes for version 20101013:
   8240 
   8241 1) ACPI CA Core Subsystem:
   8242 
   8243 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
   8244 now 
   8245 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
   8246 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
   8247 
   8248 Changed the type of the predefined namespace object _TZ from ThermalZone 
   8249 to 
   8250 Device. This was found to be confusing to the host software that 
   8251 processes 
   8252 the various thermal zones, since _TZ is not really a ThermalZone. 
   8253 However, 
   8254 a 
   8255 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
   8256 Zhang.
   8257 
   8258 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
   8259 string is "Windows 2006 SP2".
   8260 
   8261 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
   8262 nsrepair 
   8263 code automatically repairs _HID-related strings, this type of code is no 
   8264 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
   8265 878.
   8266 
   8267 Example Code and Data Size: These are the sizes for the OS-independent 
   8268 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8269 debug version of the code includes the debug output trace mechanism and 
   8270 has a 
   8271 much larger code and data size.
   8272 
   8273   Previous Release:
   8274     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   8275     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   8276   Current Release:
   8277     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   8278     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   8279 
   8280 2) iASL Compiler/Disassembler and Tools:
   8281 
   8282 iASL: Implemented additional compile-time validation for _HID strings. 
   8283 The 
   8284 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
   8285 length 
   8286 of 
   8287 the string must be exactly seven or eight characters. For both _HID and 
   8288 _CID 
   8289 strings, all characters must be alphanumeric. ACPICA BZ 874.
   8290 
   8291 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
   8292 descriptors that are mostly or all zeros, with the expectation that they 
   8293 will 
   8294 be filled in at runtime. iASL now allows this as long as there is a 
   8295 "resource 
   8296 tag" (name) associated with the descriptor, which gives the ASL a handle 
   8297 needed to modify the descriptor. ACPICA BZ 873.
   8298 
   8299 Added single-thread support to the generic Unix application OSL. 
   8300 Primarily 
   8301 for iASL support, this change removes the use of semaphores in the 
   8302 single-
   8303 threaded ACPICA tools/applications - increasing performance. The 
   8304 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
   8305 option. ACPICA BZ 879.
   8306 
   8307 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
   8308 support 
   8309 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
   8310 
   8311 iASL: Moved all compiler messages to a new file, aslmessages.h.
   8312 
   8313 ----------------------------------------
   8314 15 September 2010. Summary of changes for version 20100915:
   8315 
   8316 1) ACPI CA Core Subsystem:
   8317 
   8318 Removed the AcpiOsDerivePciId OSL interface. The various host 
   8319 implementations 
   8320 of this function were not OS-dependent and are now obsolete and can be 
   8321 removed from all host OSLs. This function has been replaced by 
   8322 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
   8323 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
   8324 module, hwpci.c. ACPICA BZ 857.
   8325 
   8326 Implemented a dynamic repair for _HID and _CID strings. The following 
   8327 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
   8328 string, and 2) the entire string is uppercased. Both repairs are in 
   8329 accordance with the ACPI specification and will simplify host driver 
   8330 code. 
   8331 ACPICA BZ 871.
   8332 
   8333 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
   8334 always UINT64. This simplifies the ACPICA code, especially any printf 
   8335 output. 
   8336 UINT64 is the only common data type for all thread_id types across all 
   8337 operating systems. It is now up to the host OSL to cast the native 
   8338 thread_id 
   8339 type to UINT64 before returning the value to ACPICA (via 
   8340 AcpiOsGetThreadId). 
   8341 Lin Ming, Bob Moore.
   8342 
   8343 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
   8344 "inline" 
   8345 keyword is not standard across compilers, and this type allows inline to 
   8346 be 
   8347 configured on a per-compiler basis. Lin Ming.
   8348 
   8349 Made the system global AcpiGbl_SystemAwakeAndRunning publicly
   8350 available. 
   8351 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
   8352 value 
   8353 during suspend/restore operations. ACPICA BZ 869.
   8354 
   8355 All code that implements error/warning messages with the "ACPI:" prefix 
   8356 has 
   8357 been moved to a new module, utxferror.c.
   8358 
   8359 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
   8360 it 
   8361 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
   8362 
   8363 Example Code and Data Size: These are the sizes for the OS-independent 
   8364 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8365 debug version of the code includes the debug output trace mechanism and 
   8366 has a 
   8367 much larger code and data size.
   8368 
   8369   Previous Release:
   8370     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   8371     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   8372   Current Release:
   8373     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   8374     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   8375 
   8376 2) iASL Compiler/Disassembler and Tools:
   8377 
   8378 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
   8379 file. 
   8380 This keeps the output files free of random error messages that may 
   8381 originate 
   8382 from within the namespace/interpreter code. Used this opportunity to 
   8383 merge 
   8384 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
   8385 866. Lin Ming, Bob Moore.
   8386 
   8387 Tools: update some printfs for ansi warnings on size_t. Handle width 
   8388 change 
   8389 of size_t on 32-bit versus 64-bit generations. Lin Ming.
   8390 
   8391 ----------------------------------------
   8392 06 August 2010. Summary of changes for version 20100806:
   8393 
   8394 1) ACPI CA Core Subsystem:
   8395 
   8396 Designed and implemented a new host interface to the _OSI support code. 
   8397 This 
   8398 will allow the host to dynamically add or remove multiple _OSI strings, 
   8399 as 
   8400 well as install an optional handler that is called for each _OSI 
   8401 invocation. 
   8402 Also added a new AML debugger command, 'osi' to display and modify the 
   8403 global 
   8404 _OSI string table, and test support in the AcpiExec utility. See the 
   8405 ACPICA 
   8406 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
   8407 New Functions:
   8408     AcpiInstallInterface - Add an _OSI string.
   8409     AcpiRemoveInterface - Delete an _OSI string.
   8410     AcpiInstallInterfaceHandler - Install optional _OSI handler.
   8411 Obsolete Functions:
   8412     AcpiOsValidateInterface - no longer used.
   8413 New Files:
   8414     source/components/utilities/utosi.c
   8415 
   8416 Re-introduced the support to enable multi-byte transfers for Embedded 
   8417 Controller (EC) operation regions. A reported problem was found to be a 
   8418 bug 
   8419 in the host OS, not in the multi-byte support. Previously, the maximum 
   8420 data 
   8421 size passed to the EC operation region handler was a single byte. There 
   8422 are 
   8423 often EC Fields larger than one byte that need to be transferred, and it 
   8424 is 
   8425 useful for the EC driver to lock these as a single transaction. This 
   8426 change 
   8427 enables single transfers larger than 8 bits. This effectively changes the 
   8428 access to the EC space from ByteAcc to AnyAcc, and will probably require 
   8429 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
   8430 bit 
   8431 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
   8432 
   8433 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
   8434 prototype in acpiosxf.h had the output value pointer as a (void *).
   8435 It should be a (UINT64 *). This may affect some host OSL code.
   8436 
   8437 Fixed a couple problems with the recently modified Linux makefiles for 
   8438 iASL 
   8439 and AcpiExec. These new makefiles place the generated object files in the 
   8440 local directory so that there can be no collisions between the files that 
   8441 are 
   8442 shared between them that are compiled with different options.
   8443 
   8444 Example Code and Data Size: These are the sizes for the OS-independent 
   8445 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8446 debug version of the code includes the debug output trace mechanism and 
   8447 has a 
   8448 much larger code and data size.
   8449 
   8450   Previous Release:
   8451     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   8452     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   8453   Current Release:
   8454     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   8455     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   8456 
   8457 2) iASL Compiler/Disassembler and Tools:
   8458 
   8459 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
   8460 the 
   8461 namespace from and disassemble an entire group of AML files. Useful for 
   8462 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
   8463 and 
   8464 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
   8465 
   8466 iASL: Allow multiple invocations of -e option. This change allows 
   8467 multiple 
   8468 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
   8469 834. 
   8470 Lin Ming.
   8471 
   8472 ----------------------------------------
   8473 02 July 2010. Summary of changes for version 20100702:
   8474 
   8475 1) ACPI CA Core Subsystem:
   8476 
   8477 Implemented several updates to the recently added GPE reference count 
   8478 support. The model for "wake" GPEs is changing to give the host OS 
   8479 complete 
   8480 control of these GPEs. Eventually, the ACPICA core will not execute any 
   8481 _PRW 
   8482 methods, since the host already must execute them. Also, additional 
   8483 changes 
   8484 were made to help ensure that the reference counts are kept in proper 
   8485 synchronization with reality. Rafael J. Wysocki.
   8486 
   8487 1) Ensure that GPEs are not enabled twice during initialization.
   8488 2) Ensure that GPE enable masks stay in sync with the reference count.
   8489 3) Do not inadvertently enable GPEs when writing GPE registers.
   8490 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
   8491 interface. This interface will set or clear individual GPEs for wakeup.
   8492 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
   8493 interfaces 
   8494 are now used for "runtime" GPEs only.
   8495 
   8496 Changed the behavior of the GPE install/remove handler interfaces. The 
   8497 GPE 
   8498 is 
   8499 no longer disabled during this process, as it was found to cause problems 
   8500 on 
   8501 some machines. Rafael J. Wysocki.
   8502 
   8503 Reverted a change introduced in version 20100528 to enable Embedded 
   8504 Controller multi-byte transfers. This change was found to cause problems 
   8505 with 
   8506 Index Fields and possibly Bank Fields. It will be reintroduced when these 
   8507 problems have been resolved.
   8508 
   8509 Fixed a problem with references to Alias objects within Package Objects. 
   8510 A 
   8511 reference to an Alias within the definition of a Package was not always 
   8512 resolved properly. Aliases to objects like Processors, Thermal zones, 
   8513 etc. 
   8514 were resolved to the actual object instead of a reference to the object 
   8515 as 
   8516 it 
   8517 should be. Package objects are only allowed to contain integer, string, 
   8518 buffer, package, and reference objects. Redhat bugzilla 608648.
   8519 
   8520 Example Code and Data Size: These are the sizes for the OS-independent 
   8521 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8522 debug version of the code includes the debug output trace mechanism and 
   8523 has a 
   8524 much larger code and data size.
   8525 
   8526   Previous Release:
   8527     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   8528     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   8529   Current Release:
   8530     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   8531     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   8532 
   8533 2) iASL Compiler/Disassembler and Tools:
   8534 
   8535 iASL: Implemented a new compiler subsystem to allow definition and 
   8536 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
   8537 These 
   8538 are called "ACPI Data Tables", and the new compiler is the "Data Table 
   8539 Compiler". This compiler is intended to simplify the existing error-prone 
   8540 process of creating these tables for the BIOS, as well as allowing the 
   8541 disassembly, modification, recompilation, and override of existing ACPI 
   8542 data 
   8543 tables. See the iASL User Guide for detailed information.
   8544 
   8545 iASL: Implemented a new Template Generator option in support of the new 
   8546 Data 
   8547 Table Compiler. This option will create examples of all known ACPI tables 
   8548 that can be used as the basis for table development. See the iASL 
   8549 documentation and the -T option.
   8550 
   8551 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
   8552 Descriptor Table).
   8553 
   8554 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
   8555 object files in the local directory so that there can be no collisions 
   8556 between the shared files between them that are generated with different 
   8557 options.
   8558 
   8559 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
   8560 Use 
   8561 the #define __APPLE__ to enable this support.
   8562 
   8563 ----------------------------------------
   8564 28 May 2010. Summary of changes for version 20100528:
   8565 
   8566 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
   8567 available at www.acpi.info. This is primarily an errata release.
   8568 
   8569 1) ACPI CA Core Subsystem:
   8570 
   8571 Undefined ACPI tables: We are looking for the definitions for the 
   8572 following 
   8573 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
   8574 
   8575 Implemented support to enable multi-byte transfers for Embedded 
   8576 Controller 
   8577 (EC) operation regions. Previously, the maximum data size passed to the 
   8578 EC 
   8579 operation region handler was a single byte. There are often EC Fields 
   8580 larger 
   8581 than one byte that need to be transferred, and it is useful for the EC 
   8582 driver 
   8583 to lock these as a single transaction. This change enables single 
   8584 transfers 
   8585 larger than 8 bits. This effectively changes the access to the EC space 
   8586 from 
   8587 ByteAcc to AnyAcc, and will probably require changes to the host OS 
   8588 Embedded 
   8589 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
   8590 bit 
   8591 transfers. Alexey Starikovskiy, Lin Ming
   8592 
   8593 Implemented a performance enhancement for namespace search and access. 
   8594 This 
   8595 change enhances the performance of namespace searches and walks by adding 
   8596 a 
   8597 backpointer to the parent in each namespace node. On large namespaces, 
   8598 this 
   8599 change can improve overall ACPI performance by up to 9X. Adding a pointer 
   8600 to 
   8601 each namespace node increases the overall size of the internal namespace 
   8602 by 
   8603 about 5%, since each namespace entry usually consists of both a namespace 
   8604 node and an ACPI operand object. However, this is the first growth of the 
   8605 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
   8606 
   8607 Implemented a performance optimization that reduces the number of 
   8608 namespace 
   8609 walks. On control method exit, only walk the namespace if the method is 
   8610 known 
   8611 to have created namespace objects outside of its local scope. Previously, 
   8612 the 
   8613 entire namespace was traversed on each control method exit. This change 
   8614 can 
   8615 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
   8616 Moore.
   8617 
   8618 Added support to truncate I/O addresses to 16 bits for Windows 
   8619 compatibility. 
   8620 Some ASL code has been seen in the field that inadvertently has bits set 
   8621 above bit 15. This feature is optional and is enabled if the BIOS 
   8622 requests 
   8623 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
   8624 Garrett, Bob Moore.
   8625 
   8626 Added support to limit the maximum time for the ASL Sleep() operator. To 
   8627 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
   8628 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
   8629 bugzilla 854.
   8630 
   8631 Added run-time validation support for the _WDG and_WED Microsoft 
   8632 predefined 
   8633 methods. These objects are defined by "Windows Instrumentation", and are 
   8634 not 
   8635 part of the ACPI spec. ACPICA BZ 860.
   8636 
   8637 Expanded all statistic counters used during namespace and device 
   8638 initialization from 16 to 32 bits in order to support very large 
   8639 namespaces.
   8640 
   8641 Replaced all instances of %d in printf format specifiers with %u since 
   8642 nearly 
   8643 all integers in ACPICA are unsigned.
   8644 
   8645 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
   8646 returned 
   8647 as AE_NO_HANDLER.
   8648 
   8649 Example Code and Data Size: These are the sizes for the OS-independent 
   8650 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8651 debug version of the code includes the debug output trace mechanism and 
   8652 has a 
   8653 much larger code and data size.
   8654 
   8655   Previous Release:
   8656     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   8657     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   8658   Current Release:
   8659     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   8660     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   8661 
   8662 2) iASL Compiler/Disassembler and Tools:
   8663 
   8664 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
   8665 methods. These objects are defined by "Windows Instrumentation", and are 
   8666 not 
   8667 part of the ACPI spec. ACPICA BZ 860.
   8668 
   8669 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
   8670 option will disable the tracking mechanism, which improves performance 
   8671 considerably.
   8672 
   8673 AcpiExec: Restructured the command line options into -d (disable) and -e 
   8674 (enable) options.
   8675 
   8676 ----------------------------------------
   8677 28 April 2010. Summary of changes for version 20100428:
   8678 
   8679 1) ACPI CA Core Subsystem:
   8680 
   8681 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
   8682 including FADT-based and GPE Block Devices, execute any _PRW methods in 
   8683 the 
   8684 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
   8685 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
   8686 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
   8687 Devices. Provides compatibility with other ACPI implementations. Two new 
   8688 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
   8689 Moore.
   8690 
   8691 Fixed a regression introduced in version 20100331 within the table 
   8692 manager 
   8693 where initial table loading could fail. This was introduced in the fix 
   8694 for 
   8695 AcpiReallocateRootTable. Also, renamed some of fields in the table 
   8696 manager 
   8697 data structures to clarify their meaning and use.
   8698 
   8699 Fixed a possible allocation overrun during internal object copy in 
   8700 AcpiUtCopySimpleObject. The original code did not correctly handle the 
   8701 case 
   8702 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
   8703 847.
   8704 
   8705 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
   8706 possible access beyond end-of-allocation. Also, now fully validate 
   8707 descriptor 
   8708 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
   8709 
   8710 Example Code and Data Size: These are the sizes for the OS-independent 
   8711 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8712 debug version of the code includes the debug output trace mechanism and 
   8713 has a 
   8714 much larger code and data size.
   8715 
   8716   Previous Release:
   8717     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   8718     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   8719   Current Release:
   8720     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   8721     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   8722 
   8723 2) iASL Compiler/Disassembler and Tools:
   8724 
   8725 iASL: Implemented Min/Max/Len/Gran validation for address resource 
   8726 descriptors. This change implements validation for the address fields 
   8727 that 
   8728 are common to all address-type resource descriptors. These checks are 
   8729 implemented: Checks for valid Min/Max, length within the Min/Max window, 
   8730 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
   8731 per 
   8732 table 6-40 in the ACPI 4.0a specification. Also split the large 
   8733 aslrestype1.c 
   8734 and aslrestype2.c files into five new files. ACPICA BZ 840.
   8735 
   8736 iASL: Added support for the _Wxx predefined names. This support was 
   8737 missing 
   8738 and these names were not recognized by the compiler as valid predefined 
   8739 names. ACPICA BZ 851.
   8740 
   8741 iASL: Added an error for all predefined names that are defined to return 
   8742 no 
   8743 value and thus must be implemented as Control Methods. These include all 
   8744 of 
   8745 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
   8746 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
   8747 
   8748 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
   8749 an 
   8750 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
   8751 be 
   8752 dynamically loaded via the Load() operator. Also cleaned up output for 
   8753 the 
   8754 -
   8755 ta and -tc options. ACPICA BZ 853.
   8756 
   8757 Tests: Added a new file with examples of extended iASL error checking. 
   8758 Demonstrates the advanced error checking ability of the iASL compiler. 
   8759 Available at tests/misc/badcode.asl.
   8760 
   8761 ----------------------------------------
   8762 31 March 2010. Summary of changes for version 20100331:
   8763 
   8764 1) ACPI CA Core Subsystem:
   8765 
   8766 Completed a major update for the GPE support in order to improve support 
   8767 for 
   8768 shared GPEs and to simplify both host OS and ACPICA code. Added a 
   8769 reference 
   8770 count mechanism to support shared GPEs that require multiple device 
   8771 drivers. 
   8772 Several external interfaces have changed. One external interface has been 
   8773 removed. One new external interface was added. Most of the GPE external 
   8774 interfaces now use the GPE spinlock instead of the events mutex (and the 
   8775 Flags parameter for many GPE interfaces has been removed.) See the 
   8776 updated 
   8777 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
   8778 Rafael 
   8779 Wysocki. ACPICA BZ 831.
   8780 
   8781 Changed:
   8782     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
   8783 Removed:
   8784     AcpiSetGpeType
   8785 New:
   8786     AcpiSetGpe
   8787 
   8788 Implemented write support for DataTable operation regions. These regions 
   8789 are 
   8790 defined via the DataTableRegion() operator. Previously, only read support 
   8791 was 
   8792 implemented. The ACPI specification allows DataTableRegions to be 
   8793 read/write, 
   8794 however.
   8795 
   8796 Implemented a new subsystem option to force a copy of the DSDT to local 
   8797 memory. Optionally copy the entire DSDT to local memory (instead of 
   8798 simply 
   8799 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
   8800 replace 
   8801 the original DSDT, creating the need for this option. Default is FALSE, 
   8802 do 
   8803 not copy the DSDT.
   8804 
   8805 Implemented detection of a corrupted or replaced DSDT. This change adds 
   8806 support to detect a DSDT that has been corrupted and/or replaced from 
   8807 outside 
   8808 the OS (by firmware). This is typically catastrophic for the system, but 
   8809 has 
   8810 been seen on some machines. Once this problem has been detected, the DSDT 
   8811 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
   8812 
   8813 Fixed two problems with AcpiReallocateRootTable during the root table 
   8814 copy. 
   8815 When copying the root table to the new allocation, the length used was 
   8816 incorrect. The new size was used instead of the current table size, 
   8817 meaning 
   8818 too much data was copied. Also, the count of available slots for ACPI 
   8819 tables 
   8820 was not set correctly. Alexey Starikovskiy, Bob Moore.
   8821 
   8822 Example Code and Data Size: These are the sizes for the OS-independent 
   8823 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8824 debug version of the code includes the debug output trace mechanism and 
   8825 has a 
   8826 much larger code and data size.
   8827 
   8828   Previous Release:
   8829     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   8830     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   8831   Current Release:
   8832     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   8833     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   8834 
   8835 2) iASL Compiler/Disassembler and Tools:
   8836 
   8837 iASL: Implement limited typechecking for values returned from predefined 
   8838 control methods. The type of any returned static (unnamed) object is now 
   8839 validated. For example, Return(1). ACPICA BZ 786.
   8840 
   8841 iASL: Fixed a predefined name object verification regression. Fixes a 
   8842 problem 
   8843 introduced in version 20100304. An error is incorrectly generated if a 
   8844 predefined name is declared as a static named object with a value defined 
   8845 using the keywords "Zero", "One", or "Ones". Lin Ming.
   8846 
   8847 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
   8848 by 
   8849 reducing the requested registry access rights. ACPICA BZ 842.
   8850 
   8851 Disassembler: fixed a possible fault when generating External() 
   8852 statements. 
   8853 Introduced in commit ae7d6fd: Properly handle externals with parent-
   8854 prefix 
   8855 (carat). Fixes a string length allocation calculation. Lin Ming.
   8856 
   8857 ----------------------------------------
   8858 04 March 2010. Summary of changes for version 20100304:
   8859 
   8860 1) ACPI CA Core Subsystem:
   8861 
   8862 Fixed a possible problem with the AML Mutex handling function 
   8863 AcpiExReleaseMutex where the function could fault under the very rare 
   8864 condition when the interpreter has blocked, the interpreter lock is 
   8865 released, 
   8866 the interpreter is then reentered via the same thread, and attempts to 
   8867 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
   8868 Lin 
   8869 Ming.
   8870 
   8871 Implemented additional configuration support for the AML "Debug Object". 
   8872 Output from the debug object can now be enabled via a global variable, 
   8873 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
   8874 debugging. 
   8875 This debug output is now available in the release version of ACPICA 
   8876 instead 
   8877 of just the debug version. Also, the entire debug output module can now 
   8878 be 
   8879 configured out of the ACPICA build if desired. One new file added, 
   8880 executer/exdebug.c. Lin Ming, Bob Moore.
   8881 
   8882 Added header support for the ACPI MCHI table (Management Controller Host 
   8883 Interface Table). This table was added in ACPI 4.0, but the defining 
   8884 document 
   8885 has only recently become available.
   8886 
   8887 Standardized output of integer values for ACPICA warnings/errors. Always 
   8888 use 
   8889 0x prefix for hex output, always use %u for unsigned integer decimal 
   8890 output. 
   8891 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
   8892 400 
   8893 invocations.) These invocations were converted from the original 
   8894 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
   8895 
   8896 Example Code and Data Size: These are the sizes for the OS-independent 
   8897 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8898 debug version of the code includes the debug output trace mechanism and 
   8899 has a 
   8900 much larger code and data size.
   8901 
   8902   Previous Release:
   8903     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   8904     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   8905   Current Release:
   8906     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   8907     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   8908 
   8909 2) iASL Compiler/Disassembler and Tools:
   8910 
   8911 iASL: Implemented typechecking support for static (non-control method) 
   8912 predefined named objects that are declared with the Name() operator. For 
   8913 example, the type of this object is now validated to be of type Integer: 
   8914 Name(_BBN, 1). This change migrates the compiler to using the core 
   8915 predefined 
   8916 name table instead of maintaining a local version. Added a new file, 
   8917 aslpredef.c. ACPICA BZ 832.
   8918 
   8919 Disassembler: Added support for the ACPI 4.0 MCHI table.
   8920 
   8921 ----------------------------------------
   8922 21 January 2010. Summary of changes for version 20100121:
   8923 
   8924 1) ACPI CA Core Subsystem:
   8925 
   8926 Added the 2010 copyright to all module headers and signons. This affects 
   8927 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
   8928 tools/utilities, and the test suites.
   8929 
   8930 Implemented a change to the AcpiGetDevices interface to eliminate 
   8931 unnecessary 
   8932 invocations of the _STA method. In the case where a specific _HID is 
   8933 requested, do not run _STA until a _HID match is found. This eliminates 
   8934 potentially dozens of _STA calls during a search for a particular 
   8935 device/HID, 
   8936 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
   8937 
   8938 Implemented an additional repair for predefined method return values. 
   8939 Attempt 
   8940 to repair unexpected NULL elements within returned Package objects. 
   8941 Create 
   8942 an 
   8943 Integer of value zero, a NULL String, or a zero-length Buffer as 
   8944 appropriate. 
   8945 ACPICA BZ 818. Lin Ming, Bob Moore.
   8946 
   8947 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
   8948 the 
   8949 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
   8950 (with 
   8951 64-bit AML integers). It is now obsolete and this change removes it from 
   8952 the 
   8953 ACPICA code base, replaced by UINT64. The original typedef has been 
   8954 retained 
   8955 for now for compatibility with existing device driver code. ACPICA BZ 
   8956 824.
   8957 
   8958 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
   8959 in 
   8960 the parse tree object.
   8961 
   8962 Added additional warning options for the gcc-4 generation. Updated the 
   8963 source 
   8964 accordingly. This includes some code restructuring to eliminate 
   8965 unreachable 
   8966 code, elimination of some gotos, elimination of unused return values, 
   8967 some 
   8968 additional casting, and removal of redundant declarations.
   8969 
   8970 Example Code and Data Size: These are the sizes for the OS-independent 
   8971 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8972 debug version of the code includes the debug output trace mechanism and 
   8973 has a 
   8974 much larger code and data size.
   8975 
   8976   Previous Release:
   8977     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   8978     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   8979   Current Release:
   8980     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   8981     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   8982 
   8983 2) iASL Compiler/Disassembler and Tools:
   8984 
   8985 No functional changes for this release.
   8986 
   8987 ----------------------------------------
   8988 14 December 2009. Summary of changes for version 20091214:
   8989 
   8990 1) ACPI CA Core Subsystem:
   8991 
   8992 Enhanced automatic data type conversions for predefined name repairs. 
   8993 This 
   8994 change expands the automatic repairs/conversions for predefined name 
   8995 return 
   8996 values to make Integers, Strings, and Buffers fully interchangeable. 
   8997 Also, 
   8998 a 
   8999 Buffer can be converted to a Package of Integers if necessary. The 
   9000 nsrepair.c 
   9001 module was completely restructured. Lin Ming, Bob Moore.
   9002 
   9003 Implemented automatic removal of null package elements during predefined 
   9004 name 
   9005 repairs. This change will automatically remove embedded and trailing NULL 
   9006 package elements from returned package objects that are defined to 
   9007 contain 
   9008 a 
   9009 variable number of sub-packages. The driver is then presented with a 
   9010 package 
   9011 with no null elements to deal with. ACPICA BZ 819.
   9012 
   9013 Implemented a repair for the predefined _FDE and _GTM names. The expected 
   9014 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
   9015 two 
   9016 possible problems (both seen in the field), where a package of integers 
   9017 is 
   9018 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
   9019 Kim.
   9020 
   9021 Implemented additional module-level code support. This change will 
   9022 properly 
   9023 execute module-level code that is not at the root of the namespace (under 
   9024 a 
   9025 Device object, etc.). Now executes the code within the current scope 
   9026 instead 
   9027 of the root. ACPICA BZ 762. Lin Ming.
   9028 
   9029 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
   9030 a 
   9031 problem where mutex errors can occur when running a _REG method that is 
   9032 in 
   9033 the same scope as a method-defined operation region or an operation 
   9034 region 
   9035 under a module-level IF block. This type of code is rare, so the problem 
   9036 has 
   9037 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
   9038 
   9039 Fixed a possible memory leak during module-level code execution. An 
   9040 object 
   9041 could be leaked for each block of executed module-level code if the 
   9042 interpreter slack mode is enabled This change deletes any implicitly 
   9043 returned 
   9044 object from the module-level code block. Lin Ming.
   9045 
   9046 Removed messages for successful predefined repair(s). The repair 
   9047 mechanism 
   9048 was considered too wordy. Now, messages are only unconditionally emitted 
   9049 if 
   9050 the return object cannot be repaired. Existing messages for successful 
   9051 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
   9052 827.
   9053 
   9054 Example Code and Data Size: These are the sizes for the OS-independent 
   9055 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9056 debug version of the code includes the debug output trace mechanism and 
   9057 has a 
   9058 much larger code and data size.
   9059 
   9060   Previous Release:
   9061     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   9062     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   9063   Current Release:
   9064     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   9065     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   9066 
   9067 2) iASL Compiler/Disassembler and Tools:
   9068 
   9069 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
   9070 files 
   9071 were no longer automatically removed at the termination of the compile.
   9072 
   9073 acpiexec: Implemented the -f option to specify default region fill value. 
   9074 This option specifies the value used to initialize buffers that simulate 
   9075 operation regions. Default value is zero. Useful for debugging problems 
   9076 that 
   9077 depend on a specific initial value for a region or field.
   9078 
   9079 ----------------------------------------
   9080 12 November 2009. Summary of changes for version 20091112:
   9081 
   9082 1) ACPI CA Core Subsystem:
   9083 
   9084 Implemented a post-order callback to AcpiWalkNamespace. The existing 
   9085 interface only has a pre-order callback. This change adds an additional 
   9086 parameter for a post-order callback which will be more useful for bus 
   9087 scans. 
   9088 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
   9089 
   9090 Modified the behavior of the operation region memory mapping cache for 
   9091 SystemMemory. Ensure that the memory mappings created for operation 
   9092 regions 
   9093 do not cross 4K page boundaries. Crossing a page boundary while mapping 
   9094 regions can cause kernel warnings on some hosts if the pages have 
   9095 different 
   9096 attributes. Such regions are probably BIOS bugs, and this is the 
   9097 workaround. 
   9098 Linux BZ 14445. Lin Ming.
   9099 
   9100 Implemented an automatic repair for predefined methods that must return 
   9101 sorted lists. This change will repair (by sorting) packages returned by 
   9102 _ALR, 
   9103 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
   9104 sorted 
   9105 and do not contain NULL package elements. Adds one new file, 
   9106 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
   9107 
   9108 Fixed a possible fault during predefined name validation if a return 
   9109 Package 
   9110 object contains NULL elements. Also adds a warning if a NULL element is 
   9111 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
   9112 may 
   9113 include repair or removal of all such NULL elements where possible.
   9114 
   9115 Implemented additional module-level executable AML code support. This 
   9116 change 
   9117 will execute module-level code that is not at the root of the namespace 
   9118 (under a Device object, etc.) at table load time. Module-level executable 
   9119 AML 
   9120 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
   9121 
   9122 Implemented a new internal function to create Integer objects. This 
   9123 function 
   9124 simplifies miscellaneous object creation code. ACPICA BZ 823.
   9125 
   9126 Reduced the severity of predefined repair messages, Warning to Info. 
   9127 Since 
   9128 the object was successfully repaired, a warning is too severe. Reduced to 
   9129 an 
   9130 info message for now. These messages may eventually be changed to debug-
   9131 only. 
   9132 ACPICA BZ 812.
   9133 
   9134 Example Code and Data Size: These are the sizes for the OS-independent 
   9135 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9136 debug version of the code includes the debug output trace mechanism and 
   9137 has a 
   9138 much larger code and data size.
   9139 
   9140   Previous Release:
   9141     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   9142     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   9143   Current Release:
   9144     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   9145     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   9146 
   9147 2) iASL Compiler/Disassembler and Tools:
   9148 
   9149 iASL: Implemented Switch() with While(1) so that Break works correctly. 
   9150 This 
   9151 change correctly implements the Switch operator with a surrounding 
   9152 While(1) 
   9153 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
   9154 
   9155 iASL: Added a message if a package initializer list is shorter than 
   9156 package 
   9157 length. Adds a new remark for a Package() declaration if an initializer 
   9158 list 
   9159 exists, but is shorter than the declared length of the package. Although 
   9160 technically legal, this is probably a coding error and it is seen in the 
   9161 field. ACPICA BZ 815. Lin Ming, Bob Moore.
   9162 
   9163 iASL: Fixed a problem where the compiler could fault after the maximum 
   9164 number 
   9165 of errors was reached (200).
   9166 
   9167 acpixtract: Fixed a possible warning for pointer cast if the compiler 
   9168 warning 
   9169 level set very high.
   9170 
   9171 ----------------------------------------
   9172 13 October 2009. Summary of changes for version 20091013:
   9173 
   9174 1) ACPI CA Core Subsystem:
   9175 
   9176 Fixed a problem where an Operation Region _REG method could be executed 
   9177 more 
   9178 than once. If a custom address space handler is installed by the host 
   9179 before 
   9180 the "initialize operation regions" phase of the ACPICA initialization, 
   9181 any 
   9182 _REG methods for that address space could be executed twice. This change 
   9183 fixes the problem. ACPICA BZ 427. Lin Ming.
   9184 
   9185 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
   9186 invocation of "Scope(\)" is executed (change scope to root), one internal 
   9187 operand object was leaked. Lin Ming.
   9188 
   9189 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
   9190 return value is defined as a Field object in the AML, and the field
   9191 size is less than or equal to the default width of an integer (32 or 
   9192 64),_MAT 
   9193 can incorrectly return an Integer instead of a Buffer. ACPICA now 
   9194 automatically repairs this problem. ACPICA BZ 810.
   9195 
   9196 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
   9197 The 
   9198 "OEM Information" field is often incorrectly returned as an Integer with 
   9199 value zero if the field is not supported by the platform. This is due to 
   9200 an 
   9201 ambiguity in the ACPI specification. The field should always be a string. 
   9202 ACPICA now automatically repairs this problem by returning a NULL string 
   9203 within the returned Package. ACPICA BZ 807.
   9204 
   9205 Example Code and Data Size: These are the sizes for the OS-independent 
   9206 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9207 debug version of the code includes the debug output trace mechanism and 
   9208 has a 
   9209 much larger code and data size.
   9210 
   9211   Previous Release:
   9212     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   9213     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   9214   Current Release:
   9215     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   9216     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   9217 
   9218 2) iASL Compiler/Disassembler and Tools:
   9219 
   9220 Disassembler: Fixed a problem where references to external symbols that 
   9221 contained one or more parent-prefixes (carats) were not handled 
   9222 correctly, 
   9223 possibly causing a fault. ACPICA BZ 806. Lin Ming.
   9224 
   9225 Disassembler: Restructured the code so that all functions that handle 
   9226 external symbols are in a single module. One new file is added, 
   9227 common/dmextern.c.
   9228 
   9229 AML Debugger: Added a max count argument for the Batch command (which 
   9230 executes multiple predefined methods within the namespace.)
   9231 
   9232 iASL: Updated the compiler documentation (User Reference.) Available at 
   9233 http://www.acpica.org/documentation/. ACPICA BZ 750.
   9234 
   9235 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
   9236 files.
   9237 
   9238 ----------------------------------------
   9239 03 September 2009. Summary of changes for version 20090903:
   9240 
   9241 1) ACPI CA Core Subsystem:
   9242 
   9243 For Windows Vista compatibility, added the automatic execution of an _INI 
   9244 method located at the namespace root (\_INI). This method is executed at 
   9245 table load time. This support is in addition to the automatic execution 
   9246 of 
   9247 \_SB._INI. Lin Ming.
   9248 
   9249 Fixed a possible memory leak in the interpreter for AML package objects 
   9250 if 
   9251 the package initializer list is longer than the defined size of the 
   9252 package. 
   9253 This apparently can only happen if the BIOS changes the package size on 
   9254 the 
   9255 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
   9256 interpreter will truncate the package to the defined size (and issue an 
   9257 error 
   9258 message), but previously could leave the extra objects undeleted if they 
   9259 were 
   9260 pre-created during the argument processing (such is the case if the 
   9261 package 
   9262 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
   9263 
   9264 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
   9265 This has been reported in the field. Previously, ACPICA would zero out 
   9266 the 
   9267 buffer/string. Now, the operation is treated as a noop. Provides Windows 
   9268 compatibility. ACPICA BZ 803. Lin Ming.
   9269 
   9270 Removed an extraneous error message for ASL constructs of the form 
   9271 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
   9272 statements 
   9273 are seen in many BIOSs and are once again treated as NOOPs and no error 
   9274 is 
   9275 emitted when they are encountered. ACPICA BZ 785.
   9276 
   9277 Fixed an extraneous warning message if a _DSM reserved method returns a 
   9278 Package object. _DSM can return any type of object, so validation on the 
   9279 return type cannot be performed. ACPICA BZ 802.
   9280 
   9281 Example Code and Data Size: These are the sizes for the OS-independent 
   9282 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9283 debug version of the code includes the debug output trace mechanism and 
   9284 has a 
   9285 much larger code and data size.
   9286 
   9287   Previous Release:
   9288     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   9289     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   9290   Current Release:
   9291     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   9292     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   9293 
   9294 2) iASL Compiler/Disassembler and Tools:
   9295 
   9296 iASL: Fixed a problem with the use of the Alias operator and Resource 
   9297 Templates. The correct alias is now constructed and no error is emitted. 
   9298 ACPICA BZ 738.
   9299 
   9300 iASL: Implemented the -I option to specify additional search directories 
   9301 for 
   9302 include files. Allows multiple additional search paths for include files. 
   9303 Directories are searched in the order specified on the command line 
   9304 (after 
   9305 the local directory is searched.) ACPICA BZ 800.
   9306 
   9307 iASL: Fixed a problem where the full pathname for include files was not 
   9308 emitted for warnings/errors. This caused the IDE support to not work 
   9309 properly. ACPICA BZ 765.
   9310 
   9311 iASL: Implemented the -@ option to specify a Windows-style response file 
   9312 containing additional command line options. ACPICA BZ 801.
   9313 
   9314 AcpiExec: Added support to load multiple AML files simultaneously (such 
   9315 as 
   9316 a 
   9317 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
   9318 pathname. These features allow all machine tables to be easily loaded and 
   9319 debugged together. ACPICA BZ 804.
   9320 
   9321 Disassembler: Added missing support for disassembly of HEST table Error 
   9322 Bank 
   9323 subtables. 
   9324 
   9325 ----------------------------------------
   9326 30 July 2009. Summary of changes for version 20090730:
   9327 
   9328 The ACPI 4.0 implementation for ACPICA is complete with this release.
   9329 
   9330 1) ACPI CA Core Subsystem:
   9331 
   9332 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
   9333 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
   9334 new 
   9335 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
   9336 BERT, 
   9337 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
   9338 There 
   9339 have been some ACPI 4.0 changes to other existing tables. Split the large 
   9340 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
   9341 
   9342 ACPI 4.0: Implemented predefined name validation for all new names. There 
   9343 are 
   9344 31 new names in ACPI 4.0. The predefined validation module was split into 
   9345 two 
   9346 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
   9347 
   9348 Implemented support for so-called "module-level executable code". This is 
   9349 executable AML code that exists outside of any control method and is 
   9350 intended 
   9351 to be executed at table load time. Although illegal since ACPI 2.0, this 
   9352 type 
   9353 of code still exists and is apparently still being created. Blocks of 
   9354 this 
   9355 code are now detected and executed as intended. Currently, the code 
   9356 blocks 
   9357 must exist under either an If, Else, or While construct; these are the 
   9358 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
   9359 
   9360 Implemented an automatic dynamic repair for predefined names that return 
   9361 nested Package objects. This applies to predefined names that are defined 
   9362 to 
   9363 return a variable-length Package of sub-packages. If the number of sub-
   9364 packages is one, BIOS code is occasionally seen that creates a simple 
   9365 single 
   9366 package with no sub-packages. This code attempts to fix the problem by 
   9367 wrapping a new package object around the existing package. These methods 
   9368 can 
   9369 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
   9370 BZ 
   9371 790.
   9372 
   9373 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
   9374 interface. 
   9375 The _HID/_CID matching was broken and no longer matched IDs correctly. 
   9376 ACPICA 
   9377 BZ 793.
   9378 
   9379 Fixed a problem with AcpiReset where the reset would silently fail if the 
   9380 register was one of the protected I/O ports. AcpiReset now bypasses the 
   9381 port 
   9382 validation mechanism. This may eventually be driven into the 
   9383 AcpiRead/Write 
   9384 interfaces.
   9385 
   9386 Fixed a regression related to the recent update of the AcpiRead/Write 
   9387 interfaces. A sleep/suspend could fail if the optional PM2 Control 
   9388 register 
   9389 does not exist during an attempt to write the Bus Master Arbitration bit. 
   9390 (However, some hosts already delete the code that writes this bit, and 
   9391 the 
   9392 code may in fact be obsolete at this date.) ACPICA BZ 799.
   9393 
   9394 Fixed a problem where AcpiTerminate could fault if inadvertently called 
   9395 twice 
   9396 in succession. ACPICA BZ 795.
   9397 
   9398 Example Code and Data Size: These are the sizes for the OS-independent 
   9399 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9400 debug version of the code includes the debug output trace mechanism and 
   9401 has a 
   9402 much larger code and data size.
   9403 
   9404   Previous Release:
   9405     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   9406     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   9407   Current Release:
   9408     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   9409     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   9410 
   9411 2) iASL Compiler/Disassembler and Tools:
   9412 
   9413 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
   9414 changes to existing tables. ACPICA BZ 775.
   9415 
   9416 ----------------------------------------
   9417 25 June 2009. Summary of changes for version 20090625:
   9418 
   9419 The ACPI 4.0 Specification was released on June 16 and is available at 
   9420 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
   9421 continue for the next few releases.
   9422 
   9423 1) ACPI CA Core Subsystem:
   9424 
   9425 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
   9426 address space. Includes support for bi-directional data buffers and an 
   9427 IPMI 
   9428 address space handler (to be installed by an IPMI device driver.) ACPICA 
   9429 BZ 
   9430 773. Lin Ming.
   9431 
   9432 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
   9433 Includes 
   9434 support in both the header files and the disassembler.
   9435 
   9436 Completed a major update for the AcpiGetObjectInfo external interface. 
   9437 Changes include:
   9438  - Support for variable, unlimited length HID, UID, and CID strings.
   9439  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
   9440 etc.)
   9441  - Call the _SxW power methods on behalf of a device object.
   9442  - Determine if a device is a PCI root bridge.
   9443  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
   9444 These changes will require an update to all callers of this interface. 
   9445 See 
   9446 the updated ACPICA Programmer Reference for details. One new source file 
   9447 has 
   9448 been added - utilities/utids.c. ACPICA BZ 368, 780.
   9449 
   9450 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
   9451 transfers. The Value parameter has been extended from 32 bits to 64 bits 
   9452 in 
   9453 order to support new ACPI 4.0 tables. These changes will require an 
   9454 update 
   9455 to 
   9456 all callers of these interfaces. See the ACPICA Programmer Reference for 
   9457 details. ACPICA BZ 768.
   9458 
   9459 Fixed several problems with AcpiAttachData. The handler was not invoked 
   9460 when 
   9461 the host node was deleted. The data sub-object was not automatically 
   9462 deleted 
   9463 when the host node was deleted. The interface to the handler had an 
   9464 unused 
   9465 parameter, this was removed. ACPICA BZ 778.
   9466 
   9467 Enhanced the function that dumps ACPI table headers. All non-printable 
   9468 characters in the string fields are now replaced with '?' (Signature, 
   9469 OemId, 
   9470 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
   9471 these fields are occasionally seen in the field. ACPICA BZ 788.
   9472 
   9473 Fixed a problem with predefined method repair code where the code that 
   9474 attempts to repair/convert an object of incorrect type is only executed 
   9475 on 
   9476 the first time the predefined method is called. The mechanism that 
   9477 disables 
   9478 warnings on subsequent calls was interfering with the repair mechanism. 
   9479 ACPICA BZ 781.
   9480 
   9481 Fixed a possible memory leak in the predefined validation/repair code 
   9482 when 
   9483 a 
   9484 buffer is automatically converted to an expected string object.
   9485 
   9486 Removed obsolete 16-bit files from the distribution and from the current 
   9487 git 
   9488 tree head. ACPICA BZ 776.
   9489 
   9490 Example Code and Data Size: These are the sizes for the OS-independent 
   9491 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9492 debug version of the code includes the debug output trace mechanism and 
   9493 has a 
   9494 much larger code and data size.
   9495 
   9496   Previous Release:
   9497     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   9498     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   9499   Current Release:
   9500     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   9501     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   9502 
   9503 2) iASL Compiler/Disassembler and Tools:
   9504 
   9505 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
   9506 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
   9507 
   9508 ACPI 4.0: iASL - implemented compile-time validation support for all new 
   9509 predefined names and control methods (31 total). ACPICA BZ 769.
   9510 
   9511 ----------------------------------------
   9512 21 May 2009. Summary of changes for version 20090521:
   9513 
   9514 1) ACPI CA Core Subsystem:
   9515 
   9516 Disabled the preservation of the SCI enable bit in the PM1 control 
   9517 register. 
   9518 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
   9519 to 
   9520 be 
   9521 a "preserved" bit - "OSPM always preserves this bit position", section 
   9522 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
   9523 because the bit needs to be explicitly set by the OS as a workaround. No 
   9524 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
   9525 attempts to preserve this bit.
   9526 
   9527 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
   9528 incorrectly formed _PRT package could cause a fault. Added validation to 
   9529 ensure that each package element is actually a sub-package.
   9530 
   9531 Implemented a new interface to install or override a single control 
   9532 method, 
   9533 AcpiInstallMethod. This interface is useful when debugging in order to 
   9534 repair 
   9535 an existing method or to install a missing method without having to 
   9536 override 
   9537 the entire ACPI table. See the ACPICA Programmer Reference for use and 
   9538 examples. Lin Ming, Bob Moore.
   9539 
   9540 Fixed several reference count issues with the DdbHandle object that is 
   9541 created from a Load or LoadTable operator. Prevent premature deletion of 
   9542 the 
   9543 object. Also, mark the object as invalid once the table has been 
   9544 unloaded. 
   9545 This is needed because the handle itself may not be deleted after the 
   9546 table 
   9547 unload, depending on whether it has been stored in a named object by the 
   9548 caller. Lin Ming.
   9549 
   9550 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
   9551 mutexes of the same sync level are acquired but then not released in 
   9552 strict 
   9553 opposite order, the internally maintained Current Sync Level becomes 
   9554 confused 
   9555 and can cause subsequent execution errors. ACPICA BZ 471.
   9556 
   9557 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
   9558 specification has been changed to make the SyncLevel for mutex objects 
   9559 more 
   9560 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
   9561 the 
   9562 same as the current sync level. This makes more sense than the previous 
   9563 rule 
   9564 (SyncLevel less than or equal). This change updates the code to match the 
   9565 specification.
   9566 
   9567 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
   9568 The 
   9569 (local) cache must be locked during all cache object deletions. Andrew 
   9570 Baumann.
   9571 
   9572 Updated the Load operator to use operation region interfaces. This 
   9573 replaces 
   9574 direct memory mapping with region access calls. Now, all region accesses 
   9575 go 
   9576 through the installed region handler as they should.
   9577 
   9578 Simplified and optimized the NsGetNextNode function. Reduced parameter 
   9579 count 
   9580 and reduced code for this frequently used function.
   9581 
   9582 Example Code and Data Size: These are the sizes for the OS-independent 
   9583 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9584 debug version of the code includes the debug output trace mechanism and 
   9585 has a 
   9586 much larger code and data size.
   9587 
   9588   Previous Release:
   9589     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   9590     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   9591   Current Release:
   9592     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   9593     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   9594 
   9595 2) iASL Compiler/Disassembler and Tools:
   9596 
   9597 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
   9598 problems 
   9599 with sub-table disassembly and handling invalid sub-tables. Attempt 
   9600 recovery 
   9601 after an invalid sub-table ID.
   9602 
   9603 ----------------------------------------
   9604 22 April 2009. Summary of changes for version 20090422:
   9605 
   9606 1) ACPI CA Core Subsystem:
   9607 
   9608 Fixed a compatibility issue with the recently released I/O port 
   9609 protection 
   9610 mechanism. For windows compatibility, 1) On a port protection violation, 
   9611 simply ignore the request and do not return an exception (allow the 
   9612 control 
   9613 method to continue execution.) 2) If only part of the request overlaps a 
   9614 protected port, read/write the individual ports that are not protected. 
   9615 Linux 
   9616 BZ 13036. Lin Ming
   9617 
   9618 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
   9619 actually 
   9620 breaks into the AML debugger if the debugger is present. This matches the 
   9621 ACPI-defined behavior.
   9622 
   9623 Fixed several possible warnings related to the use of the configurable 
   9624 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
   9625 pointer with no warnings. Also fixes several warnings in printf-like 
   9626 statements for the 64-bit build when the type is configured as a pointer. 
   9627 ACPICA BZ 766, 767.
   9628 
   9629 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
   9630 on 
   9631 warning options.) Examples include printf formats, aliasing, unused 
   9632 globals, 
   9633 missing prototypes, missing switch default statements, use of non-ANSI 
   9634 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
   9635 for 
   9636 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
   9637 
   9638 Example Code and Data Size: These are the sizes for the OS-independent 
   9639 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9640 debug version of the code includes the debug output trace mechanism and 
   9641 has a 
   9642 much larger code and data size.
   9643 
   9644   Previous Release:
   9645     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   9646     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   9647   Current Release:
   9648     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   9649     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   9650 
   9651 2) iASL Compiler/Disassembler and Tools:
   9652 
   9653 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
   9654 warnings 
   9655 on 
   9656 the 64-bit build.
   9657 
   9658 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
   9659 not 
   9660 correctly digest Windows/DOS formatted files (with CR/LF).
   9661 
   9662 iASL: Added a new option for "quiet mode" (-va) that produces only the 
   9663 compilation summary, not individual errors and warnings. Useful for large 
   9664 batch compilations.
   9665 
   9666 AcpiExec: Implemented a new option (-z) to enable a forced 
   9667 semaphore/mutex 
   9668 timeout that can be used to detect hang conditions during execution of 
   9669 AML 
   9670 code (includes both internal semaphores and AML-defined mutexes and 
   9671 events.)
   9672 
   9673 Added new makefiles for the generation of acpica in a generic unix-like 
   9674 environment. These makefiles are intended to generate the acpica tools 
   9675 and 
   9676 utilities from the original acpica git source tree structure.
   9677 
   9678 Test Suites: Updated and cleaned up the documentation files. Updated the 
   9679 copyrights to 2009, affecting all source files. Use the new version of 
   9680 iASL 
   9681 with quiet mode. Increased the number of available semaphores in the 
   9682 Windows 
   9683 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
   9684 added 
   9685 an alternate implementation of the semaphore timeout to allow aslts to 
   9686 execute fully on Cygwin.
   9687 
   9688 ----------------------------------------
   9689 20 March 2009. Summary of changes for version 20090320:
   9690 
   9691 1) ACPI CA Core Subsystem:
   9692 
   9693 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
   9694 table 
   9695 unloads. Added a reader/writer locking mechanism to allow multiple 
   9696 concurrent 
   9697 namespace walks (readers), but block a dynamic table unload until it can 
   9698 gain 
   9699 exclusive write access to the namespace. This fixes a problem where a 
   9700 table 
   9701 unload could (possibly catastrophically) delete the portion of the 
   9702 namespace 
   9703 that is currently being examined by a walk. Adds a new file, utlock.c, 
   9704 that 
   9705 implements the reader/writer lock mechanism. ACPICA BZ 749.
   9706 
   9707 Fixed a regression introduced in version 20090220 where a change to the 
   9708 FADT 
   9709 handling could cause the ACPICA subsystem to access non-existent I/O 
   9710 ports.
   9711 
   9712 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
   9713 The 
   9714 FADT can contain both 32-bit and 64-bit versions of these addresses. 
   9715 Previously, the 64-bit versions were favored, meaning that if both 32 and 
   9716 64 
   9717 versions were valid, but not equal, the 64-bit version was used. This was 
   9718 found to cause some machines to fail. Now, in this case, the 32-bit 
   9719 version 
   9720 is used instead. This now matches the Windows behavior.
   9721 
   9722 Implemented a new mechanism to protect certain I/O ports. Provides 
   9723 Microsoft 
   9724 compatibility and protects the standard PC I/O ports from access via AML 
   9725 code. Adds a new file, hwvalid.c
   9726 
   9727 Fixed a possible extraneous warning message from the FADT support. The 
   9728 message warns of a 32/64 length mismatch between the legacy and GAS 
   9729 definitions for a register.
   9730 
   9731 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
   9732 is 
   9733 made obsolete by the port protection mechanism above. It was previously 
   9734 used 
   9735 to validate the entire address range of an operation region, which could 
   9736 be 
   9737 incorrect if the range included illegal ports, but fields within the 
   9738 operation region did not actually access those ports. Validation is now 
   9739 performed on a per-field basis instead of the entire region.
   9740 
   9741 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
   9742 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
   9743 this 
   9744 means a read/modify/write when writing to the register. However, for 
   9745 status 
   9746 registers, writing a one means clear the event. Writing a zero means 
   9747 preserve 
   9748 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
   9749 spec, 
   9750 and the ACPICA code now simply always writes a zero to the ignored bit.
   9751 
   9752 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
   9753 As 
   9754 per the ACPI specification, for the control registers, preserve 
   9755 (read/modify/write) all bits that are defined as either reserved or 
   9756 ignored.
   9757 
   9758 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
   9759 When reading the register, zero the write-only bits as per the ACPI spec. 
   9760 ACPICA BZ 443. Lin Ming.
   9761 
   9762 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
   9763 wants to reply true to this request. The Windows strings are the only 
   9764 paths 
   9765 through the AML that are tested and known to work properly.
   9766 
   9767   Previous Release:
   9768     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   9769     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   9770   Current Release:
   9771     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   9772     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   9773 
   9774 2) iASL Compiler/Disassembler and Tools:
   9775 
   9776 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
   9777 and 
   9778 aetables.c
   9779 
   9780 ----------------------------------------
   9781 20 February 2009. Summary of changes for version 20090220:
   9782 
   9783 1) ACPI CA Core Subsystem:
   9784 
   9785 Optimized the ACPI register locking. Removed locking for reads from the 
   9786 ACPI 
   9787 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
   9788 is 
   9789 not required when reading the single-bit registers. The 
   9790 AcpiGetRegisterUnlocked function is no longer needed and has been 
   9791 removed. 
   9792 This will improve performance for reads on these registers. ACPICA BZ 
   9793 760.
   9794 
   9795 Fixed the parameter validation for AcpiRead/Write. Now return 
   9796 AE_BAD_PARAMETER if the input register pointer is null, and 
   9797 AE_BAD_ADDRESS 
   9798 if 
   9799 the register has an address of zero. Previously, these cases simply 
   9800 returned 
   9801 AE_OK. For optional registers such as PM1B status/enable/control, the 
   9802 caller 
   9803 should check for a valid register address before calling. ACPICA BZ 748.
   9804 
   9805 Renamed the external ACPI bit register access functions. Renamed 
   9806 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
   9807 functions. The new names are AcpiReadBitRegister and 
   9808 AcpiWriteBitRegister. 
   9809 Also, restructured the code for these functions by simplifying the code 
   9810 path 
   9811 and condensing duplicate code to reduce code size.
   9812 
   9813 Added new functions to transparently handle the possibly split PM1 A/B 
   9814 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
   9815 functions 
   9816 now handle the split registers for PM1 Status, Enable, and Control. 
   9817 ACPICA 
   9818 BZ 
   9819 746.
   9820 
   9821 Added a function to handle the PM1 control registers, 
   9822 AcpiHwWritePm1Control. 
   9823 This function writes both of the PM1 control registers (A/B). These 
   9824 registers 
   9825 are different than the PM1 A/B status and enable registers in that 
   9826 different 
   9827 values can be written to the A/B registers. Most notably, the SLP_TYP 
   9828 bits 
   9829 can be different, as per the values returned from the _Sx predefined 
   9830 methods.
   9831 
   9832 Removed an extra register write within AcpiHwClearAcpiStatus. This 
   9833 function 
   9834 was writing an optional PM1B status register twice. The existing call to 
   9835 the 
   9836 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
   9837 A/B 
   9838 register. ACPICA BZ 751.
   9839 
   9840 Split out the PM1 Status registers from the FADT. Added new globals for 
   9841 these 
   9842 registers (A/B), similar to the way the PM1 Enable registers are handled. 
   9843 Instead of overloading the FADT Event Register blocks. This makes the 
   9844 code 
   9845 clearer and less prone to error.
   9846 
   9847 Fixed the warning message for when the platform contains too many ACPI 
   9848 tables 
   9849 for the default size of the global root table data structure. The 
   9850 calculation 
   9851 for the truncation value was incorrect.
   9852 
   9853 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
   9854 obsolete macro, since it is now a simple reference to ->common.type. 
   9855 There 
   9856 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
   9857 
   9858 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
   9859 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
   9860 simply SLEEP_TYPE. ACPICA BZ 754.
   9861 
   9862 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
   9863 function is only needed on 64-bit host operating systems and is thus not 
   9864 included for 32-bit hosts.
   9865 
   9866 Debug output: print the input and result for invocations of the _OSI 
   9867 reserved 
   9868 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
   9869 the 
   9870 verbosity of this debug level. Len Brown.
   9871 
   9872 Example Code and Data Size: These are the sizes for the OS-independent 
   9873 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9874 debug version of the code includes the debug output trace mechanism and 
   9875 has a 
   9876 much larger code and data size.
   9877 
   9878   Previous Release:
   9879     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   9880     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   9881   Current Release:
   9882     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   9883     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   9884 
   9885 2) iASL Compiler/Disassembler and Tools:
   9886 
   9887 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
   9888 various legal performance profiles.
   9889 
   9890 ----------------------------------------
   9891 23 January 2009. Summary of changes for version 20090123:
   9892 
   9893 1) ACPI CA Core Subsystem:
   9894 
   9895 Added the 2009 copyright to all module headers and signons. This affects 
   9896 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   9897 the tools/utilities.
   9898 
   9899 Implemented a change to allow the host to override any ACPI table, 
   9900 including 
   9901 dynamically loaded tables. Previously, only the DSDT could be replaced by 
   9902 the 
   9903 host. With this change, the AcpiOsTableOverride interface is called for 
   9904 each 
   9905 table found in the RSDT/XSDT during ACPICA initialization, and also 
   9906 whenever 
   9907 a table is dynamically loaded via the AML Load operator.
   9908 
   9909 Updated FADT flag definitions, especially the Boot Architecture flags.
   9910 
   9911 Debugger: For the Find command, automatically pad the input ACPI name 
   9912 with 
   9913 underscores if the name is shorter than 4 characters. This enables a 
   9914 match 
   9915 with the actual namespace entry which is itself padded with underscores.
   9916 
   9917 Example Code and Data Size: These are the sizes for the OS-independent 
   9918 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9919 debug version of the code includes the debug output trace mechanism and 
   9920 has a 
   9921 much larger code and data size.
   9922 
   9923   Previous Release:
   9924     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   9925     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   9926   Current Release:
   9927     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   9928     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   9929 
   9930 2) iASL Compiler/Disassembler and Tools:
   9931 
   9932 Fix build error under Bison-2.4.
   9933 
   9934 Disassembler: Enhanced FADT support. Added decoding of the Boot
   9935 Architecture
   9936 flags. Now decode all flags, regardless of the FADT version. Flag output 
   9937 includes the FADT version which first defined each flag.
   9938 
   9939 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
   9940 and 
   9941 DSDT). Windows only.
   9942 
   9943 ----------------------------------------
   9944 04 December 2008. Summary of changes for version 20081204:
   9945 
   9946 1) ACPI CA Core Subsystem:
   9947 
   9948 The ACPICA Programmer Reference has been completely updated and revamped 
   9949 for 
   9950 this release. This includes updates to the external interfaces, OSL 
   9951 interfaces, the overview sections, and the debugger reference.
   9952 
   9953 Several new ACPICA interfaces have been implemented and documented in the 
   9954 programmer reference:
   9955 AcpiReset - Writes the reset value to the FADT-defined reset register.
   9956 AcpiDisableAllGpes - Disable all available GPEs.
   9957 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
   9958 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
   9959 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
   9960 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
   9961 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
   9962 
   9963 Most of the public ACPI hardware-related interfaces have been moved to a 
   9964 new 
   9965 file, components/hardware/hwxface.c
   9966 
   9967 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
   9968 register lengths within the FADT are now used, and the low level ACPI 
   9969 register access no longer hardcodes the ACPI register lengths. Given that 
   9970 there may be some risk in actually trusting the FADT register lengths, a 
   9971 run-
   9972 time option was added to fall back to the default hardcoded lengths if 
   9973 the 
   9974 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
   9975 option is set to true for now, and a warning is issued if a suspicious 
   9976 FADT 
   9977 register length is overridden with the default value.
   9978 
   9979 Fixed a reference count issue in NsRepairObject. This problem was 
   9980 introduced 
   9981 in version 20081031 as part of a fix to repair Buffer objects within 
   9982 Packages. Lin Ming.
   9983 
   9984 Added semaphore support to the Linux/Unix application OS-services layer 
   9985 (OSL). ACPICA BZ 448. Lin Ming.
   9986 
   9987 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
   9988 will 
   9989 be implemented in the OSL, or will binary semaphores be used instead.
   9990 
   9991 Example Code and Data Size: These are the sizes for the OS-independent 
   9992 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9993 debug version of the code includes the debug output trace mechanism and 
   9994 has a 
   9995 much larger code and data size.
   9996 
   9997   Previous Release:
   9998     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   9999     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   10000   Current Release:
   10001     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   10002     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   10003 
   10004 2) iASL Compiler/Disassembler and Tools:
   10005 
   10006 iASL: Completed the '-e' option to include additional ACPI tables in 
   10007 order 
   10008 to 
   10009 aid with disassembly and External statement generation. ACPICA BZ 742. 
   10010 Lin 
   10011 Ming.
   10012 
   10013 iASL: Removed the "named object in while loop" error. The compiler cannot 
   10014 determine how many times a loop will execute. ACPICA BZ 730.
   10015 
   10016 Disassembler: Implemented support for FADT revision 2 (MS extension). 
   10017 ACPICA 
   10018 BZ 743.
   10019 
   10020 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
   10021 MCFG).
   10022 
   10023 ----------------------------------------
   10024 31 October 2008. Summary of changes for version 20081031:
   10025 
   10026 1) ACPI CA Core Subsystem:
   10027 
   10028 Restructured the ACPICA header files into public/private. acpi.h now 
   10029 includes 
   10030 only the "public" acpica headers. All other acpica headers are "private" 
   10031 and 
   10032 should not be included by acpica users. One new file, accommon.h is used 
   10033 to 
   10034 include the commonly used private headers for acpica code generation. 
   10035 Future 
   10036 plans include moving all private headers to a new subdirectory.
   10037 
   10038 Implemented an automatic Buffer->String return value conversion for 
   10039 predefined ACPI methods. For these methods (such as _BIF), added 
   10040 automatic 
   10041 conversion for return objects that are required to be a String, but a 
   10042 Buffer 
   10043 was found instead. This can happen when reading string battery data from 
   10044 an 
   10045 operation region, because it used to be difficult to convert the data 
   10046 from 
   10047 buffer to string from within the ASL. Ensures that the host OS is 
   10048 provided 
   10049 with a valid null-terminated string. Linux BZ 11822.
   10050 
   10051 Updated the FACS waking vector interfaces. Split 
   10052 AcpiSetFirmwareWakingVector 
   10053 into two: one for the 32-bit vector, another for the 64-bit vector. This 
   10054 is 
   10055 required because the host OS must setup the wake much differently for 
   10056 each 
   10057 vector (real vs. protected mode, etc.) and the interface itself should 
   10058 not 
   10059 be 
   10060 deciding which vector to use. Also, eliminated the 
   10061 GetFirmwareWakingVector 
   10062 interface, as it served no purpose (only the firmware reads the vector, 
   10063 OS 
   10064 only writes the vector.) ACPICA BZ 731.
   10065 
   10066 Implemented a mechanism to escape infinite AML While() loops. Added a 
   10067 loop 
   10068 counter to force exit from AML While loops if the count becomes too 
   10069 large. 
   10070 This can occur in poorly written AML when the hardware does not respond 
   10071 within a while loop and the loop does not implement a timeout. The 
   10072 maximum 
   10073 loop count is configurable. A new exception code is returned when a loop 
   10074 is 
   10075 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
   10076 
   10077 Optimized the execution of AML While loops. Previously, a control state 
   10078 object was allocated and freed for each execution of the loop. The 
   10079 optimization is to simply reuse the control state for each iteration. 
   10080 This 
   10081 speeds up the raw loop execution time by about 5%.
   10082 
   10083 Enhanced the implicit return mechanism. For Windows compatibility, return 
   10084 an 
   10085 implicit integer of value zero for methods that contain no executable 
   10086 code. 
   10087 Such methods are seen in the field as stubs (presumably), and can cause 
   10088 drivers to fail if they expect a return value. Lin Ming.
   10089 
   10090 Allow multiple backslashes as root prefixes in namepaths. In a fully 
   10091 qualified namepath, allow multiple backslash prefixes. This can happen 
   10092 (and 
   10093 is seen in the field) because of the use of a double-backslash in strings 
   10094 (since backslash is the escape character) causing confusion. ACPICA BZ 
   10095 739 
   10096 Lin Ming.
   10097 
   10098 Emit a warning if two different FACS or DSDT tables are discovered in the 
   10099 FADT. Checks if there are two valid but different addresses for the FACS 
   10100 and 
   10101 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
   10102 
   10103 Consolidated the method argument count validation code. Merged the code 
   10104 that 
   10105 validates control method argument counts into the predefined validation 
   10106 module. Eliminates possible multiple warnings for incorrect argument 
   10107 counts.
   10108 
   10109 Implemented ACPICA example code. Includes code for ACPICA initialization, 
   10110 handler installation, and calling a control method. Available at 
   10111 source/tools/examples.
   10112 
   10113 Added a global pointer for FACS table to simplify internal FACS access. 
   10114 Use 
   10115 the global pointer instead of using AcpiGetTableByIndex for each FACS 
   10116 access. 
   10117 This simplifies the code for the Global Lock and the Firmware Waking 
   10118 Vector(s).
   10119 
   10120 Example Code and Data Size: These are the sizes for the OS-independent 
   10121 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10122 debug version of the code includes the debug output trace mechanism and 
   10123 has a 
   10124 much larger code and data size.
   10125 
   10126   Previous Release:
   10127     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   10128     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   10129   Current Release:
   10130     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   10131     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   10132 
   10133 2) iASL Compiler/Disassembler and Tools:
   10134 
   10135 iASL: Improved disassembly of external method calls. Added the -e option 
   10136 to 
   10137 allow the inclusion of additional ACPI tables to help with the 
   10138 disassembly 
   10139 of 
   10140 method invocations and the generation of external declarations during the 
   10141 disassembly. Certain external method invocations cannot be disassembled 
   10142 properly without the actual declaration of the method. Use the -e option 
   10143 to 
   10144 include the table where the external method(s) are actually declared. 
   10145 Most 
   10146 useful for disassembling SSDTs that make method calls back to the master 
   10147 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
   10148 -d 
   10149 -e dsdt.aml ssdt1.aml
   10150 
   10151 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
   10152 problem where the use of an alias within a namepath would result in a not 
   10153 found error or cause the compiler to fault. Also now allows forward 
   10154 references from the Alias operator itself. ACPICA BZ 738.
   10155 
   10156 ----------------------------------------
   10157 26 September 2008. Summary of changes for version 20080926:
   10158 
   10159 1) ACPI CA Core Subsystem:
   10160 
   10161 Designed and implemented a mechanism to validate predefined ACPI methods 
   10162 and 
   10163 objects. This code validates the predefined ACPI objects (objects whose 
   10164 names 
   10165 start with underscore) that appear in the namespace, at the time they are 
   10166 evaluated. The argument count and the type of the returned object are 
   10167 validated against the ACPI specification. The purpose of this validation 
   10168 is 
   10169 to detect problems with the BIOS-implemented predefined ACPI objects 
   10170 before 
   10171 the results are returned to the ACPI-related drivers. Future enhancements 
   10172 may 
   10173 include actual repair of incorrect return objects where possible. Two new 
   10174 files are nspredef.c and acpredef.h.
   10175 
   10176 Fixed a fault in the AML parser if a memory allocation fails during the 
   10177 Op 
   10178 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
   10179 
   10180 Fixed an issue with implicit return compatibility. This change improves 
   10181 the 
   10182 implicit return mechanism to be more compatible with the MS interpreter. 
   10183 Lin 
   10184 Ming, ACPICA BZ 349.
   10185 
   10186 Implemented support for zero-length buffer-to-string conversions. Allow 
   10187 zero 
   10188 length strings during interpreter buffer-to-string conversions. For 
   10189 example, 
   10190 during the ToDecimalString and ToHexString operators, as well as implicit 
   10191 conversions. Fiodor Suietov, ACPICA BZ 585.
   10192 
   10193 Fixed two possible memory leaks in the error exit paths of 
   10194 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
   10195 are 
   10196 similar in that they use a stack of state objects in order to eliminate 
   10197 recursion. The stack must be fully unwound and deallocated if an error 
   10198 occurs. Lin Ming. ACPICA BZ 383.
   10199 
   10200 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
   10201 global 
   10202 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
   10203 Moore ACPICA BZ 442.
   10204 
   10205 Removed the obsolete version number in module headers. Removed the 
   10206 "$Revision" number that appeared in each module header. This version 
   10207 number 
   10208 was useful under SourceSafe and CVS, but has no meaning under git. It is 
   10209 not 
   10210 only incorrect, it could also be misleading.
   10211 
   10212 Example Code and Data Size: These are the sizes for the OS-independent 
   10213 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10214 debug version of the code includes the debug output trace mechanism and 
   10215 has a 
   10216 much larger code and data size.
   10217 
   10218   Previous Release:
   10219     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   10220     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   10221   Current Release:
   10222     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   10223     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   10224 
   10225 ----------------------------------------
   10226 29 August 2008. Summary of changes for version 20080829:
   10227 
   10228 1) ACPI CA Core Subsystem:
   10229 
   10230 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
   10231 Reference. Changes include the elimination of cheating on the Object 
   10232 field 
   10233 for the DdbHandle subtype, addition of a reference class field to 
   10234 differentiate the various reference types (instead of an AML opcode), and 
   10235 the 
   10236 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
   10237 
   10238 Reduce an error to a warning for an incorrect method argument count. 
   10239 Previously aborted with an error if too few arguments were passed to a 
   10240 control method via the external ACPICA interface. Now issue a warning 
   10241 instead 
   10242 and continue. Handles the case where the method inadvertently declares 
   10243 too 
   10244 many arguments, but does not actually use the extra ones. Applies mainly 
   10245 to 
   10246 the predefined methods. Lin Ming. Linux BZ 11032.
   10247 
   10248 Disallow the evaluation of named object types with no intrinsic value. 
   10249 Return 
   10250 AE_TYPE for objects that have no value and therefore evaluation is 
   10251 undefined: 
   10252 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
   10253 of 
   10254 these types were allowed, but an exception would be generated at some 
   10255 point 
   10256 during the evaluation. Now, the error is generated up front.
   10257 
   10258 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
   10259 (nsnames.c). Fixes a leak in the error exit path.
   10260 
   10261 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
   10262 debug 
   10263 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
   10264 ACPI_EXCEPTION 
   10265 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
   10266 ACPI_LV_EVENTS.
   10267 
   10268 Removed obsolete and/or unused exception codes from the acexcep.h header. 
   10269 There is the possibility that certain device drivers may be affected if 
   10270 they 
   10271 use any of these exceptions.
   10272 
   10273 The ACPICA documentation has been added to the public git source tree, 
   10274 under 
   10275 acpica/documents. Included are the ACPICA programmer reference, the iASL 
   10276 compiler reference, and the changes.txt release logfile.
   10277 
   10278 Example Code and Data Size: These are the sizes for the OS-independent 
   10279 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10280 debug version of the code includes the debug output trace mechanism and 
   10281 has a 
   10282 much larger code and data size.
   10283 
   10284   Previous Release:
   10285     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   10286     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   10287   Current Release:
   10288     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   10289     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   10290 
   10291 2) iASL Compiler/Disassembler and Tools:
   10292 
   10293 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
   10294 defines _SCP with 3 arguments. Previous versions defined it with only 1 
   10295 argument. iASL now allows both definitions.
   10296 
   10297 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
   10298 zero-
   10299 length subtables when disassembling ACPI tables. Also fixed a couple of 
   10300 errors where a full 16-bit table type field was not extracted from the 
   10301 input 
   10302 properly.
   10303 
   10304 acpisrc: Improve comment counting mechanism for generating source code 
   10305 statistics. Count first and last lines of multi-line comments as 
   10306 whitespace, 
   10307 not comment lines. Handle Linux legal header in addition to standard 
   10308 acpica 
   10309 header.
   10310 
   10311 ----------------------------------------
   10312 
   10313 29 July 2008. Summary of changes for version 20080729:
   10314 
   10315 1) ACPI CA Core Subsystem:
   10316 
   10317 Fix a possible deadlock in the GPE dispatch. Remove call to 
   10318 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
   10319 attempt 
   10320 to acquire the GPE lock but can deadlock since the GPE lock is already 
   10321 held 
   10322 at dispatch time. This code was introduced in version 20060831 as a 
   10323 response 
   10324 to Linux BZ 6881 and has since been removed from Linux.
   10325 
   10326 Add a function to dereference returned reference objects. Examines the 
   10327 return 
   10328 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
   10329 are 
   10330 automatically dereferenced in an attempt to return something useful 
   10331 (these 
   10332 reference types cannot be converted into an external ACPI_OBJECT.) 
   10333 Provides 
   10334 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
   10335 
   10336 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
   10337 subtables for the MADT and one new subtable for the SRAT. Includes 
   10338 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
   10339 x2APIC 
   10340 Specification, June 2008.
   10341 
   10342 Additional error checking for pathname utilities. Add error check after 
   10343 all 
   10344 calls to AcpiNsGetPathnameLength. Add status return from 
   10345 AcpiNsBuildExternalPath and check after all calls. Add parameter 
   10346 validation 
   10347 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
   10348 
   10349 Return status from the global init function AcpiUtGlobalInitialize. This 
   10350 is 
   10351 used by both the kernel subsystem and the utilities such as iASL 
   10352 compiler. 
   10353 The function could possibly fail when the caches are initialized. Yang 
   10354 Yi.
   10355 
   10356 Add a function to decode reference object types to strings. Created for 
   10357 improved error messages. 
   10358 
   10359 Improve object conversion error messages. Better error messages during 
   10360 object 
   10361 conversion from internal to the external ACPI_OBJECT. Used for external 
   10362 calls 
   10363 to AcpiEvaluateObject.
   10364 
   10365 Example Code and Data Size: These are the sizes for the OS-independent 
   10366 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10367 debug version of the code includes the debug output trace mechanism and 
   10368 has a 
   10369 much larger code and data size.
   10370 
   10371   Previous Release:
   10372     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   10373     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   10374   Current Release:
   10375     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   10376     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   10377 
   10378 2) iASL Compiler/Disassembler and Tools:
   10379 
   10380 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
   10381 problem 
   10382 introduced in version 20080701. If the object being evaluated (via 
   10383 execute 
   10384 command) is not a method, the debugger can hang while trying to obtain 
   10385 non-
   10386 existent parameters.
   10387 
   10388 iASL: relax error for using reserved "_T_x" identifiers. These names can 
   10389 appear in a disassembled ASL file if they were emitted by the original 
   10390 compiler. Instead of issuing an error or warning and forcing the user to 
   10391 manually change these names, issue a remark instead.
   10392 
   10393 iASL: error if named object created in while loop. Emit an error if any 
   10394 named 
   10395 object is created within a While loop. If allowed, this code will 
   10396 generate 
   10397 a 
   10398 run-time error on the second iteration of the loop when an attempt is 
   10399 made 
   10400 to 
   10401 create the same named object twice. ACPICA bugzilla 730.
   10402 
   10403 iASL: Support absolute pathnames for include files. Add support for 
   10404 absolute 
   10405 pathnames within the Include operator. previously, only relative 
   10406 pathnames 
   10407 were supported.
   10408 
   10409 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
   10410 Descriptor. 
   10411 The ACPI spec requires one interrupt minimum. BZ 423
   10412 
   10413 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
   10414 Handles the case for the Interrupt Resource Descriptor where
   10415 the ResourceSource argument is omitted but ResourceSourceIndex
   10416 is present. Now leave room for the Index. BZ 426
   10417 
   10418 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
   10419 cases 
   10420 where an error message is emitted if the target does not exist. BZ 516
   10421 
   10422 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
   10423 (get ACPI tables on Windows). This was apparently broken in version 
   10424 20070919.
   10425 
   10426 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
   10427 where 
   10428 the EOF happens immediately after the last table in the input file. Print 
   10429 completion message. Previously, no message was displayed in this case.
   10430 
   10431 ----------------------------------------
   10432 01 July 2008. Summary of changes for version 20080701:
   10433 
   10434 0) Git source tree / acpica.org
   10435 
   10436 Fixed a problem where a git-clone from http would not transfer the entire 
   10437 source tree.
   10438 
   10439 1) ACPI CA Core Subsystem:
   10440 
   10441 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
   10442 enable bit. Now performs a read-change-write of the enable register 
   10443 instead 
   10444 of simply writing out the cached enable mask. This will prevent 
   10445 inadvertent 
   10446 enabling of GPEs if a rogue GPE is received during initialization (before 
   10447 GPE 
   10448 handlers are installed.)
   10449 
   10450 Implemented a copy for dynamically loaded tables. Previously, dynamically 
   10451 loaded tables were simply mapped - but on some machines this memory is 
   10452 corrupted after suspend. Now copy the table to a local buffer. For the 
   10453 OpRegion case, added checksum verify. Use the table length from the table 
   10454 header, not the region length. For the Buffer case, use the table length 
   10455 also. Dennis Noordsij, Bob Moore. BZ 10734
   10456 
   10457 Fixed a problem where the same ACPI table could not be dynamically loaded 
   10458 and 
   10459 unloaded more than once. Without this change, a table cannot be loaded 
   10460 again 
   10461 once it has been loaded/unloaded one time. The current mechanism does not 
   10462 unregister a table upon an unload. During a load, if the same table is 
   10463 found, 
   10464 this no longer returns an exception. BZ 722
   10465 
   10466 Fixed a problem where the wrong descriptor length was calculated for the 
   10467 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
   10468 EndTag 
   10469 are calculated as 12 bytes long, but the actual length in the internal 
   10470 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
   10471 Reported 
   10472 by Linn Crosetto. BZ 728
   10473 
   10474 Fixed a possible memory leak in the Unload operator. The DdbHandle 
   10475 returned 
   10476 by Load() did not have its reference count decremented during unload, 
   10477 leading 
   10478 to a memory leak. Lin Ming. BZ 727
   10479 
   10480 Fixed a possible memory leak when deleting thermal/processor objects. Any 
   10481 associated notify handlers (and objects) were not being deleted. Fiodor 
   10482 Suietov. BZ 506
   10483 
   10484 Fixed the ordering of the ASCII names in the global mutex table to match 
   10485 the 
   10486 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
   10487 only. 
   10488 Vegard Nossum. BZ 726
   10489 
   10490 Enhanced the AcpiGetObjectInfo interface to return the number of required 
   10491 arguments if the object is a control method. Added this call to the 
   10492 debugger 
   10493 so the proper number of default arguments are passed to a method. This 
   10494 prevents a warning when executing methods from AcpiExec.
   10495 
   10496 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
   10497 AE_BAD_PARAMETER if input handle is invalid. BZ 474
   10498 
   10499 Fixed an extraneous warning from exconfig.c on the 64-bit build.
   10500 
   10501 Example Code and Data Size: These are the sizes for the OS-independent 
   10502 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10503 debug version of the code includes the debug output trace mechanism and 
   10504 has a 
   10505 much larger code and data size.
   10506 
   10507   Previous Release:
   10508     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   10509     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   10510   Current Release:
   10511     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   10512     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   10513 
   10514 2) iASL Compiler/Disassembler and Tools:
   10515 
   10516 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
   10517 resource descriptor names.
   10518 
   10519 iASL: Detect invalid ASCII characters in input (windows version). Removed 
   10520 the 
   10521 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
   10522 characters in the input. BZ 441
   10523 
   10524 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
   10525 the 
   10526 "result of operation not used" warning when the DDB handle returned from 
   10527 LoadTable is not used. The warning is not needed. BZ 590
   10528 
   10529 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
   10530 method 
   10531 to 
   10532 pass address of table to the AML. Added option to disable OpRegion 
   10533 simulation 
   10534 to allow creation of an OpRegion with a real address that was passed to 
   10535 _CFG. 
   10536 All of this allows testing of the Load and Unload operators from 
   10537 AcpiExec.
   10538 
   10539 Debugger: update tables command for unloaded tables. Handle unloaded 
   10540 tables 
   10541 and use the standard table header output routine.
   10542 
   10543 ----------------------------------------
   10544 09 June 2008. Summary of changes for version 20080609:
   10545 
   10546 1) ACPI CA Core Subsystem:
   10547 
   10548 Implemented a workaround for reversed _PRT entries. A significant number 
   10549 of 
   10550 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
   10551 change dynamically detects and repairs this problem. Provides 
   10552 compatibility 
   10553 with MS ACPI. BZ 6859
   10554 
   10555 Simplified the internal ACPI hardware interfaces to eliminate the locking 
   10556 flag parameter from Register Read/Write. Added a new external interface, 
   10557 AcpiGetRegisterUnlocked.
   10558 
   10559 Fixed a problem where the invocation of a GPE control method could hang. 
   10560 This 
   10561 was a regression introduced in 20080514. The new method argument count 
   10562 validation mechanism can enter an infinite loop when a GPE method is 
   10563 dispatched. Problem fixed by removing the obsolete code that passed GPE 
   10564 block 
   10565 information to the notify handler via the control method parameter 
   10566 pointer.
   10567 
   10568 Fixed a problem where the _SST execution status was incorrectly returned 
   10569 to 
   10570 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
   10571 in 
   10572 20080514. _SST is optional and a NOT_FOUND exception should never be 
   10573 returned. BZ 716
   10574 
   10575 Fixed a problem where a deleted object could be accessed from within the 
   10576 AML 
   10577 parser. This was a regression introduced in version 20080123 as a fix for 
   10578 the 
   10579 Unload operator. Lin Ming. BZ 10669
   10580 
   10581 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
   10582 operands 
   10583 and eliminated the use of a negative index in a loop. Operands are now 
   10584 displayed in the correct order, not backwards. This also fixes a 
   10585 regression 
   10586 introduced in 20080514 on 64-bit systems where the elimination of 
   10587 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
   10588 715
   10589 
   10590 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
   10591 exit 
   10592 path did not delete a locally allocated structure.
   10593 
   10594 Updated definitions for the DMAR and SRAT tables to synchronize with the 
   10595 current specifications. Includes disassembler support.
   10596 
   10597 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
   10598 loop termination value was used. Loop terminated on iteration early, 
   10599 missing 
   10600 one mutex. Linn Crosetto
   10601 
   10602 Example Code and Data Size: These are the sizes for the OS-independent 
   10603 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10604 debug version of the code includes the debug output trace mechanism and 
   10605 has a 
   10606 much larger code and data size.
   10607 
   10608   Previous Release:
   10609     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   10610     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   10611   Current Release:
   10612     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   10613     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   10614 
   10615 2) iASL Compiler/Disassembler and Tools:
   10616 
   10617 Disassembler: Implemented support for EisaId() within _CID objects. Now 
   10618 disassemble integer _CID objects back to EisaId invocations, including 
   10619 multiple integers within _CID packages. Includes single-step support for 
   10620 debugger also.
   10621 
   10622 Disassembler: Added support for DMAR and SRAT table definition changes.
   10623 
   10624 ----------------------------------------
   10625 14 May 2008. Summary of changes for version 20080514:
   10626 
   10627 1) ACPI CA Core Subsystem:
   10628 
   10629 Fixed a problem where GPEs were enabled too early during the ACPICA 
   10630 initialization. This could lead to "handler not installed" errors on some 
   10631 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
   10632 This 
   10633 ensures that all operation regions and devices throughout the namespace 
   10634 have 
   10635 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
   10636 
   10637 Implemented a change to the enter sleep code. Moved execution of the _GTS 
   10638 method to just before setting sleep enable bit. The execution was moved 
   10639 from 
   10640 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
   10641 immediately before the SLP_EN bit is set, as per the ACPI specification. 
   10642 Luming Yu, BZ 1653.
   10643 
   10644 Implemented a fix to disable unknown GPEs (2nd version). Now always 
   10645 disable 
   10646 the GPE, even if ACPICA thinks that that it is already disabled. It is 
   10647 possible that the AML or some other code has enabled the GPE unbeknownst 
   10648 to 
   10649 the ACPICA code.
   10650 
   10651 Fixed a problem with the Field operator where zero-length fields would 
   10652 return 
   10653 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
   10654 ASL 
   10655 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
   10656 
   10657 Implemented a fix for the Load operator, now load the table at the 
   10658 namespace 
   10659 root. This reverts a change introduced in version 20071019. The table is 
   10660 now 
   10661 loaded at the namespace root even though this goes against the ACPI 
   10662 specification. This provides compatibility with other ACPI 
   10663 implementations. 
   10664 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
   10665 Ming.
   10666 
   10667 Fixed a problem where ACPICA would not Load() tables with unusual 
   10668 signatures. 
   10669 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
   10670 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
   10671 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
   10672 such 
   10673 signatures, ACPICA must be compatible. BZ 10454.
   10674 
   10675 Fixed a possible negative array index in AcpiUtValidateException. Added 
   10676 NULL 
   10677 fields to the exception string arrays to eliminate a -1 subtraction on 
   10678 the 
   10679 SubStatus field.
   10680 
   10681 Updated the debug tracking macros to reduce overall code and data size. 
   10682 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
   10683 instead of pointers to static strings. Jan Beulich and Bob Moore.
   10684 
   10685 Implemented argument count checking in control method invocation via 
   10686 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
   10687 too 
   10688 many. This applies only to extern programmatic control method execution, 
   10689 not 
   10690 method-to-method calls within the AML. Lin Ming.
   10691 
   10692 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
   10693 no 
   10694 longer needed, especially with the removal of 16-bit support. It was 
   10695 replaced 
   10696 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
   10697 bit 
   10698 on 
   10699 32/64-bit platforms is required.
   10700 
   10701 Added the C const qualifier for appropriate string constants -- mostly 
   10702 MODULE_NAME and printf format strings. Jan Beulich.
   10703 
   10704 Example Code and Data Size: These are the sizes for the OS-independent 
   10705 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10706 debug version of the code includes the debug output trace mechanism and 
   10707 has a 
   10708 much larger code and data size.
   10709 
   10710   Previous Release:
   10711     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   10712     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   10713   Current Release:
   10714     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   10715     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   10716 
   10717 2) iASL Compiler/Disassembler and Tools:
   10718 
   10719 Implemented ACPI table revision ID validation in the disassembler. Zero 
   10720 is 
   10721 always invalid. For DSDTs, the ID controls the interpreter integer width. 
   10722 1 
   10723 means 32-bit and this is unusual. 2 or greater is 64-bit.
   10724 
   10725 ----------------------------------------
   10726 21 March 2008. Summary of changes for version 20080321:
   10727 
   10728 1) ACPI CA Core Subsystem:
   10729 
   10730 Implemented an additional change to the GPE support in order to suppress 
   10731 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
   10732 permanently 
   10733 disable incoming GPEs that are neither enabled nor disabled -- meaning 
   10734 that 
   10735 the GPE is unknown to the system. This should prevent future interrupt 
   10736 floods 
   10737 from that GPE. BZ 6217 (Zhang Rui)
   10738 
   10739 Fixed a problem where NULL package elements were not returned to the 
   10740 AcpiEvaluateObject interface correctly. The element was simply ignored 
   10741 instead of returning a NULL ACPI_OBJECT package element, potentially 
   10742 causing 
   10743 a buffer overflow and/or confusing the caller who expected a fixed number 
   10744 of 
   10745 elements. BZ 10132 (Lin Ming, Bob Moore)
   10746 
   10747 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
   10748 Dword, 
   10749 Qword), Field, BankField, and IndexField operators when invoked from 
   10750 inside 
   10751 an executing control method. In this case, these operators created 
   10752 namespace 
   10753 nodes that were incorrectly left marked as permanent nodes instead of 
   10754 temporary nodes. This could cause a problem if there is race condition 
   10755 between an exiting control method and a running namespace walk. (Reported 
   10756 by 
   10757 Linn Crosetto)
   10758 
   10759 Fixed a problem where the CreateField and CreateXXXField operators would 
   10760 incorrectly allow duplicate names (the name of the field) with no 
   10761 exception 
   10762 generated.
   10763 
   10764 Implemented several changes for Notify handling. Added support for new 
   10765 Notify 
   10766 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
   10767 PowerResource objects is no longer allowed, as per the ACPI 
   10768 specification. 
   10769 (Bob Moore, Zhang Rui)
   10770 
   10771 All Reference Objects returned via the AcpiEvaluateObject interface are 
   10772 now 
   10773 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
   10774 for 
   10775 NULL objects - either NULL package elements or unresolved named 
   10776 references.
   10777 
   10778 Fixed a problem where an extraneous debug message was produced for 
   10779 package 
   10780 objects (when debugging enabled). The message "Package List length larger 
   10781 than NumElements count" is now produced in the correct case, and is now 
   10782 an 
   10783 error message rather than a debug message. Added a debug message for the 
   10784 opposite case, where NumElements is larger than the Package List (the 
   10785 package 
   10786 will be padded out with NULL elements as per the ACPI spec.)
   10787 
   10788 Implemented several improvements for the output of the ASL "Debug" object 
   10789 to 
   10790 clarify and keep all data for a given object on one output line.
   10791 
   10792 Fixed two size calculation issues with the variable-length Start 
   10793 Dependent 
   10794 resource descriptor.
   10795 
   10796 Example Code and Data Size: These are the sizes for the OS-independent 
   10797 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10798 debug version of the code includes the debug output trace mechanism and 
   10799 has 
   10800 a much larger code and data size.
   10801 
   10802   Previous Release:
   10803     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   10804     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   10805   Current Release:
   10806     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   10807     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   10808 
   10809 2) iASL Compiler/Disassembler and Tools:
   10810 
   10811 Fixed a problem with the use of the Switch operator where execution of 
   10812 the 
   10813 containing method by multiple concurrent threads could cause an 
   10814 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
   10815 actual Switch opcode, it must be simulated with local named temporary 
   10816 variables and if/else pairs. The solution chosen was to mark any method 
   10817 that 
   10818 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
   10819 469.
   10820 
   10821 ----------------------------------------
   10822 13 February 2008. Summary of changes for version 20080213:
   10823 
   10824 1) ACPI CA Core Subsystem:
   10825 
   10826 Implemented another MS compatibility design change for GPE/Notify 
   10827 handling. 
   10828 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
   10829 to 
   10830 complete first. It is expected that the OSL will queue the enable request 
   10831 behind all pending notify requests (may require changes to the local host 
   10832 OSL 
   10833 in AcpiOsExecute). Alexey Starikovskiy.
   10834 
   10835 Fixed a problem where buffer and package objects passed as arguments to a 
   10836 control method via the external AcpiEvaluateObject interface could cause 
   10837 an 
   10838 AE_AML_INTERNAL exception depending on the order and type of operators 
   10839 executed by the target control method.
   10840 
   10841 Fixed a problem where resource descriptor size optimization could cause a 
   10842 problem when a _CRS resource template is passed to a _SRS method. The 
   10843 _SRS 
   10844 resource template must use the same descriptors (with the same size) as 
   10845 returned from _CRS. This change affects the following resource 
   10846 descriptors: 
   10847 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
   10848 9487)
   10849 
   10850 Fixed a problem where a CopyObject to RegionField, BankField, and 
   10851 IndexField 
   10852 objects did not perform an implicit conversion as it should. These types 
   10853 must 
   10854 retain their initial type permanently as per the ACPI specification. 
   10855 However, 
   10856 a CopyObject to all other object types should not perform an implicit 
   10857 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
   10858 
   10859 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
   10860 match device CIDs did not examine the entire list of available CIDs, but 
   10861 instead aborted on the first non-matching CID. Andrew Patterson.
   10862 
   10863 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
   10864 was 
   10865 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
   10866 truncating the upper dword of a 64-bit value. This macro is only used to 
   10867 display debug output, so no incorrect calculations were made. Also, 
   10868 reimplemented the macro so that a 64-bit shift is not performed by 
   10869 inefficient compilers.
   10870 
   10871 Added missing va_end statements that should correspond with each va_start 
   10872 statement.
   10873 
   10874 Example Code and Data Size: These are the sizes for the OS-independent 
   10875 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10876 debug version of the code includes the debug output trace mechanism and 
   10877 has 
   10878 a much larger code and data size.
   10879 
   10880   Previous Release:
   10881     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   10882     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   10883   Current Release:
   10884     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   10885     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   10886 
   10887 2) iASL Compiler/Disassembler and Tools:
   10888 
   10889 Implemented full disassembler support for the following new ACPI tables: 
   10890 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
   10891 complicated HEST table. These tables support the Windows Hardware Error 
   10892 Architecture (WHEA).
   10893 
   10894 ----------------------------------------
   10895 23 January 2008. Summary of changes for version 20080123:
   10896 
   10897 1) ACPI CA Core Subsystem:
   10898 
   10899 Added the 2008 copyright to all module headers and signons. This affects 
   10900 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   10901 the tools/utilities.
   10902 
   10903 Fixed a problem with the SizeOf operator when used with Package and 
   10904 Buffer 
   10905 objects. These objects have deferred execution for some arguments, and 
   10906 the 
   10907 execution is now completed before the SizeOf is executed. This problem 
   10908 caused 
   10909 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
   10910 BZ 
   10911 9558
   10912 
   10913 Implemented an enhancement to the interpreter "slack mode". In the 
   10914 absence 
   10915 of 
   10916 an explicit return or an implicitly returned object from the last 
   10917 executed 
   10918 opcode, a control method will now implicitly return an integer of value 0 
   10919 for 
   10920 Microsoft compatibility. (Lin Ming) BZ 392
   10921 
   10922 Fixed a problem with the Load operator where an exception was not 
   10923 returned 
   10924 in 
   10925 the case where the table is already loaded. (Lin Ming) BZ 463
   10926 
   10927 Implemented support for the use of DDBHandles as an Indexed Reference, as 
   10928 per 
   10929 the ACPI spec. (Lin Ming) BZ 486
   10930 
   10931 Implemented support for UserTerm (Method invocation) for the Unload 
   10932 operator 
   10933 as per the ACPI spec. (Lin Ming) BZ 580
   10934 
   10935 Fixed a problem with the LoadTable operator where the OemId and 
   10936 OemTableId 
   10937 input strings could cause unexpected failures if they were shorter than 
   10938 the 
   10939 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
   10940 
   10941 Implemented support for UserTerm (Method invocation) for the Unload 
   10942 operator 
   10943 as per the ACPI spec. (Lin Ming) BZ 580
   10944 
   10945 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
   10946 HEST, 
   10947 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
   10948 
   10949 Example Code and Data Size: These are the sizes for the OS-independent 
   10950 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10951 debug version of the code includes the debug output trace mechanism and 
   10952 has 
   10953 a much larger code and data size.
   10954 
   10955   Previous Release:
   10956     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   10957     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   10958   Current Release:
   10959     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   10960     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   10961 
   10962 2) iASL Compiler/Disassembler and Tools:
   10963 
   10964 Implemented support in the disassembler for checksum validation on 
   10965 incoming 
   10966 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
   10967 table 
   10968 header dump at the start of the disassembly.
   10969 
   10970 Implemented additional debugging information in the namespace listing 
   10971 file 
   10972 created during compilation. In addition to the namespace hierarchy, the 
   10973 full 
   10974 pathname to each namespace object is displayed.
   10975 
   10976 Fixed a problem with the disassembler where invalid ACPI tables could 
   10977 cause 
   10978 faults or infinite loops.
   10979 
   10980 Fixed an unexpected parse error when using the optional "parameter types" 
   10981 list in a control method declaration. (Lin Ming) BZ 397
   10982 
   10983 Fixed a problem where two External declarations with the same name did 
   10984 not 
   10985 cause an error (Lin Ming) BZ 509
   10986 
   10987 Implemented support for full TermArgs (adding Argx, Localx and method 
   10988 invocation) for the ParameterData parameter to the LoadTable operator. 
   10989 (Lin 
   10990 Ming) BZ 583,587
   10991 
   10992 ----------------------------------------
   10993 19 December 2007. Summary of changes for version 20071219:
   10994 
   10995 1) ACPI CA Core Subsystem:
   10996 
   10997 Implemented full support for deferred execution for the TermArg string 
   10998 arguments for DataTableRegion. This enables forward references and full 
   10999 operand resolution for the three string arguments. Similar to 
   11000 OperationRegion 
   11001 deferred argument execution.) Lin Ming. BZ 430
   11002 
   11003 Implemented full argument resolution support for the BankValue argument 
   11004 to 
   11005 BankField. Previously, only constants were supported, now any TermArg may 
   11006 be 
   11007 used. Lin Ming BZ 387, 393
   11008 
   11009 Fixed a problem with AcpiGetDevices where the search of a branch of the 
   11010 device tree could be terminated prematurely. In accordance with the ACPI 
   11011 specification, the search down the current branch is terminated if a 
   11012 device 
   11013 is both not present and not functional (instead of just not present.) 
   11014 Yakui 
   11015 Zhao.
   11016 
   11017 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
   11018 if 
   11019 the underlying AML code changed the GPE enable registers. Now, any 
   11020 unknown 
   11021 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
   11022 disabled 
   11023 instead of simply ignored. Rui Zhang.
   11024 
   11025 Fixed a problem with Index Fields where the Index register was 
   11026 incorrectly 
   11027 limited to a maximum of 32 bits. Now any size may be used.
   11028 
   11029 Fixed a couple memory leaks associated with "implicit return" objects 
   11030 when 
   11031 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
   11032 
   11033 Example Code and Data Size: These are the sizes for the OS-independent 
   11034 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11035 debug version of the code includes the debug output trace mechanism and 
   11036 has 
   11037 a much larger code and data size.
   11038 
   11039   Previous Release:
   11040     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   11041     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   11042   Current Release:
   11043     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   11044     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   11045 
   11046 ----------------------------------------
   11047 14 November 2007. Summary of changes for version 20071114:
   11048 
   11049 1) ACPI CA Core Subsystem:
   11050 
   11051 Implemented event counters for each of the Fixed Events, the ACPI SCI 
   11052 (interrupt) itself, and control methods executed. Named 
   11053 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
   11054 These 
   11055 should be useful for debugging and statistics.
   11056 
   11057 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
   11058 contents of the various event counters. Returns the current values for 
   11059 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
   11060 AcpiMethodCount. The interface can be expanded in the future if new 
   11061 counters 
   11062 are added. Device drivers should use this interface rather than access 
   11063 the 
   11064 counters directly.
   11065 
   11066 Fixed a problem with the FromBCD and ToBCD operators. With some 
   11067 compilers, 
   11068 the ShortDivide function worked incorrectly, causing problems with the 
   11069 BCD 
   11070 functions with large input values. A truncation from 64-bit to 32-bit 
   11071 inadvertently occurred. Internal BZ 435. Lin Ming
   11072 
   11073 Fixed a problem with Index references passed as method arguments. 
   11074 References 
   11075 passed as arguments to control methods were dereferenced immediately 
   11076 (before 
   11077 control was passed to the called method). The references are now 
   11078 correctly 
   11079 passed directly to the called method. BZ 5389. Lin Ming
   11080 
   11081 Fixed a problem with CopyObject used in conjunction with the Index 
   11082 operator. 
   11083 The reference was incorrectly dereferenced before the copy. The reference 
   11084 is 
   11085 now correctly copied. BZ 5391. Lin Ming
   11086 
   11087 Fixed a problem with Control Method references within Package objects. 
   11088 These 
   11089 references are now correctly generated. This completes the package 
   11090 construction overhaul that began in version 20071019.
   11091 
   11092 Example Code and Data Size: These are the sizes for the OS-independent 
   11093 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11094 debug version of the code includes the debug output trace mechanism and 
   11095 has 
   11096 a much larger code and data size.
   11097 
   11098   Previous Release:
   11099     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   11100     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   11101   Current Release:
   11102     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   11103     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   11104 
   11105 
   11106 2) iASL Compiler/Disassembler and Tools:
   11107 
   11108 The AcpiExec utility now installs handlers for all of the predefined 
   11109 Operation Region types. New types supported are: PCI_Config, CMOS, and 
   11110 PCIBARTarget.
   11111 
   11112 Fixed a problem with the 64-bit version of AcpiExec where the extended 
   11113 (64-
   11114 bit) address fields for the DSDT and FACS within the FADT were not being 
   11115 used, causing truncation of the upper 32-bits of these addresses. Lin 
   11116 Ming 
   11117 and Bob Moore
   11118 
   11119 ----------------------------------------
   11120 19 October 2007. Summary of changes for version 20071019:
   11121 
   11122 1) ACPI CA Core Subsystem:
   11123 
   11124 Fixed a problem with the Alias operator when the target of the alias is a 
   11125 named ASL operator that opens a new scope -- Scope, Device, 
   11126 PowerResource, 
   11127 Processor, and ThermalZone. In these cases, any children of the original 
   11128 operator could not be accessed via the alias, potentially causing 
   11129 unexpected 
   11130 AE_NOT_FOUND exceptions. (BZ 9067)
   11131 
   11132 Fixed a problem with the Package operator where all named references were 
   11133 created as object references and left otherwise unresolved. According to 
   11134 the 
   11135 ACPI specification, a Package can only contain Data Objects or references 
   11136 to 
   11137 control methods. The implication is that named references to Data Objects 
   11138 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
   11139 immediately upon package creation. This is the approach taken with this 
   11140 change. References to all other named objects (Methods, Devices, Scopes, 
   11141 etc.) are all now properly created as reference objects. (BZ 5328)
   11142 
   11143 Reverted a change to Notify handling that was introduced in version 
   11144 20070508. This version changed the Notify handling from asynchronous to 
   11145 fully synchronous (Device driver Notify handling with respect to the 
   11146 Notify 
   11147 ASL operator). It was found that this change caused more problems than it 
   11148 solved and was removed by most users.
   11149 
   11150 Fixed a problem with the Increment and Decrement operators where the type 
   11151 of 
   11152 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
   11153 Lin Ming.
   11154 
   11155 Fixed a problem with the Load and LoadTable operators where the table 
   11156 location within the namespace was ignored. Instead, the table was always 
   11157 loaded into the root or current scope. Lin Ming.
   11158 
   11159 Fixed a problem with the Load operator when loading a table from a buffer 
   11160 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
   11161 
   11162 Fixed a problem with the Debug object where a store of a DdbHandle 
   11163 reference 
   11164 object to the Debug object could cause a fault.
   11165 
   11166 Added a table checksum verification for the Load operator, in the case 
   11167 where 
   11168 the load is from a buffer. (BZ 578).
   11169 
   11170 Implemented additional parameter validation for the LoadTable operator. 
   11171 The 
   11172 length of the input strings SignatureString, OemIdString, and OemTableId 
   11173 are 
   11174 now checked for maximum lengths. (BZ 582) Lin Ming.
   11175 
   11176 Example Code and Data Size: These are the sizes for the OS-independent 
   11177 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11178 debug version of the code includes the debug output trace mechanism and 
   11179 has 
   11180 a much larger code and data size.
   11181 
   11182   Previous Release:
   11183     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   11184     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   11185   Current Release:
   11186     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   11187     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   11188 
   11189 
   11190 2) iASL Compiler/Disassembler:
   11191 
   11192 Fixed a problem where if a single file was specified and the file did not 
   11193 exist, no error message was emitted. (Introduced with wildcard support in 
   11194 version 20070917.)
   11195 
   11196 ----------------------------------------
   11197 19 September 2007. Summary of changes for version 20070919:
   11198 
   11199 1) ACPI CA Core Subsystem:
   11200 
   11201 Designed and implemented new external interfaces to install and remove 
   11202 handlers for ACPI table-related events. Current events that are defined 
   11203 are 
   11204 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
   11205 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
   11206 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
   11207 
   11208 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
   11209 (acpi_serialized option on Linux) could cause some systems to hang during 
   11210 initialization. (Bob Moore) BZ 8171
   11211 
   11212 Fixed a problem where objects of certain types (Device, ThermalZone, 
   11213 Processor, PowerResource) can be not found if they are declared and 
   11214 referenced from within the same control method (Lin Ming) BZ 341
   11215 
   11216 Example Code and Data Size: These are the sizes for the OS-independent 
   11217 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11218 debug version of the code includes the debug output trace mechanism and 
   11219 has 
   11220 a much larger code and data size.
   11221 
   11222   Previous Release:
   11223     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   11224     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   11225   Current Release:
   11226     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   11227     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   11228 
   11229 
   11230 2) iASL Compiler/Disassembler:
   11231 
   11232 Implemented support to allow multiple files to be compiled/disassembled 
   11233 in 
   11234 a 
   11235 single invocation. This includes command line wildcard support for both 
   11236 the 
   11237 Windows and Unix versions of the compiler. This feature simplifies the 
   11238 disassembly and compilation of multiple ACPI tables in a single 
   11239 directory.
   11240 
   11241 ----------------------------------------
   11242 08 May 2007. Summary of changes for version 20070508:
   11243 
   11244 1) ACPI CA Core Subsystem:
   11245 
   11246 Implemented a Microsoft compatibility design change for the handling of 
   11247 the 
   11248 Notify AML operator. Previously, notify handlers were dispatched and 
   11249 executed completely asynchronously in a deferred thread. The new design 
   11250 still executes the notify handlers in a different thread, but the 
   11251 original 
   11252 thread that executed the Notify() now waits at a synchronization point 
   11253 for 
   11254 the notify handler to complete. Some machines depend on a synchronous 
   11255 Notify 
   11256 operator in order to operate correctly.
   11257 
   11258 Implemented support to allow Package objects to be passed as method 
   11259 arguments to the external AcpiEvaluateObject interface. Previously, this 
   11260 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
   11261 implemented since there were no reserved control methods that required it 
   11262 until recently.
   11263 
   11264 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
   11265 that 
   11266 contained invalid non-zero values in reserved fields could cause later 
   11267 failures because these fields have meaning in later revisions of the 
   11268 FADT. 
   11269 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
   11270 fields 
   11271 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
   11272 
   11273 Fixed a problem where the Global Lock handle was not properly updated if 
   11274 a 
   11275 thread that acquired the Global Lock via executing AML code then 
   11276 attempted 
   11277 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
   11278 Joe 
   11279 Liu.
   11280 
   11281 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
   11282 could be corrupted if the interrupt being removed was at the head of the 
   11283 list. Reported by Linn Crosetto.
   11284 
   11285 Example Code and Data Size: These are the sizes for the OS-independent 
   11286 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11287 debug version of the code includes the debug output trace mechanism and 
   11288 has 
   11289 a much larger code and data size.
   11290 
   11291   Previous Release:
   11292     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   11293     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   11294   Current Release:
   11295     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   11296     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   11297 
   11298 ----------------------------------------
   11299 20 March 2007. Summary of changes for version 20070320:
   11300 
   11301 1) ACPI CA Core Subsystem:
   11302 
   11303 Implemented a change to the order of interpretation and evaluation of AML 
   11304 operand objects within the AML interpreter. The interpreter now evaluates 
   11305 operands in the order that they appear in the AML stream (and the 
   11306 corresponding ASL code), instead of in the reverse order (after the 
   11307 entire 
   11308 operand list has been parsed). The previous behavior caused several 
   11309 subtle 
   11310 incompatibilities with the Microsoft AML interpreter as well as being 
   11311 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
   11312 
   11313 Implemented a change to the ACPI Global Lock support. All interfaces to 
   11314 the 
   11315 global lock now allow the same thread to acquire the lock multiple times. 
   11316 This affects the AcpiAcquireGlobalLock external interface to the global 
   11317 lock 
   11318 as well as the internal use of the global lock to support AML fields -- a 
   11319 control method that is holding the global lock can now simultaneously 
   11320 access 
   11321 AML fields that require global lock protection. Previously, in both 
   11322 cases, 
   11323 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
   11324 to 
   11325 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
   11326 Controller. There is no change to the behavior of the AML Acquire 
   11327 operator, 
   11328 as this can already be used to acquire a mutex multiple times by the same 
   11329 thread. BZ 8066. With assistance from Alexey Starikovskiy.
   11330 
   11331 Fixed a problem where invalid objects could be referenced in the AML 
   11332 Interpreter after error conditions. During operand evaluation, ensure 
   11333 that 
   11334 the internal "Return Object" field is cleared on error and only valid 
   11335 pointers are stored there. Caused occasional access to deleted objects 
   11336 that 
   11337 resulted in "large reference count" warning messages. Valery Podrezov.
   11338 
   11339 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
   11340 on 
   11341 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
   11342 Podrezov.
   11343 
   11344 Fixed an internal problem with the handling of result objects on the 
   11345 interpreter result stack. BZ 7872. Valery Podrezov.
   11346 
   11347 Removed obsolete code that handled the case where AML_NAME_OP is the 
   11348 target 
   11349 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
   11350 7874. Valery Podrezov.
   11351 
   11352 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
   11353 was 
   11354 a 
   11355 remnant from the previously discontinued 16-bit support.
   11356 
   11357 Example Code and Data Size: These are the sizes for the OS-independent 
   11358 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11359 debug version of the code includes the debug output trace mechanism and 
   11360 has 
   11361 a much larger code and data size.
   11362 
   11363   Previous Release:
   11364     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   11365     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   11366   Current Release:
   11367     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   11368     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   11369 
   11370 ----------------------------------------
   11371 26 January 2007. Summary of changes for version 20070126:
   11372 
   11373 1) ACPI CA Core Subsystem:
   11374 
   11375 Added the 2007 copyright to all module headers and signons. This affects 
   11376 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   11377 the utilities.
   11378 
   11379 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
   11380 during a table load. A bad pointer was passed in the case where the DSDT 
   11381 is 
   11382 overridden, causing a fault in this case.
   11383 
   11384 Example Code and Data Size: These are the sizes for the OS-independent 
   11385 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11386 debug version of the code includes the debug output trace mechanism and 
   11387 has 
   11388 a much larger code and data size.
   11389 
   11390   Previous Release:
   11391     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   11392     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   11393   Current Release:
   11394     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   11395     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   11396 
   11397 ----------------------------------------
   11398 15 December 2006. Summary of changes for version 20061215:
   11399 
   11400 1) ACPI CA Core Subsystem:
   11401 
   11402 Support for 16-bit ACPICA has been completely removed since it is no 
   11403 longer 
   11404 necessary and it clutters the code. All 16-bit macros, types, and 
   11405 conditional compiles have been removed, cleaning up and simplifying the 
   11406 code 
   11407 across the entire subsystem. DOS support is no longer needed since the 
   11408 bootable Linux firmware kit is now available.
   11409 
   11410 The handler for the Global Lock is now removed during AcpiTerminate to 
   11411 enable a clean subsystem restart, via the implementation of the 
   11412 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
   11413 HP)
   11414 
   11415 Implemented enhancements to the multithreading support within the 
   11416 debugger 
   11417 to enable improved multithreading debugging and evaluation of the 
   11418 subsystem. 
   11419 (Valery Podrezov)
   11420 
   11421 Debugger: Enhanced the Statistics/Memory command to emit the total 
   11422 (maximum) 
   11423 memory used during the execution, as well as the maximum memory consumed 
   11424 by 
   11425 each of the various object types. (Valery Podrezov)
   11426 
   11427 Example Code and Data Size: These are the sizes for the OS-independent 
   11428 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11429 debug version of the code includes the debug output trace mechanism and 
   11430 has 
   11431 a much larger code and data size.
   11432 
   11433   Previous Release:
   11434     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   11435     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   11436   Current Release:
   11437     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   11438     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   11439 
   11440 
   11441 2) iASL Compiler/Disassembler and Tools:
   11442 
   11443 AcpiExec: Implemented a new option (-m) to display full memory use 
   11444 statistics upon subsystem/program termination. (Valery Podrezov)
   11445 
   11446 ----------------------------------------
   11447 09 November 2006. Summary of changes for version 20061109:
   11448 
   11449 1) ACPI CA Core Subsystem:
   11450 
   11451 Optimized the Load ASL operator in the case where the source operand is 
   11452 an 
   11453 operation region. Simply map the operation region memory, instead of 
   11454 performing a bytewise read. (Region must be of type SystemMemory, see 
   11455 below.)
   11456 
   11457 Fixed the Load ASL operator for the case where the source operand is a 
   11458 region field. A buffer object is also allowed as the source operand. BZ 
   11459 480
   11460 
   11461 Fixed a problem where the Load ASL operator allowed the source operand to 
   11462 be 
   11463 an operation region of any type. It is now restricted to regions of type 
   11464 SystemMemory, as per the ACPI specification. BZ 481
   11465 
   11466 Additional cleanup and optimizations for the new Table Manager code.
   11467 
   11468 AcpiEnable will now fail if all of the required ACPI tables are not 
   11469 loaded 
   11470 (FADT, FACS, DSDT). BZ 477
   11471 
   11472 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
   11473 this 
   11474 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
   11475 manually optimized to be aligned and will not work if it is byte-packed. 
   11476 
   11477 Example Code and Data Size: These are the sizes for the OS-independent 
   11478 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11479 debug version of the code includes the debug output trace mechanism and 
   11480 has 
   11481 a much larger code and data size.
   11482 
   11483   Previous Release:
   11484     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   11485     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   11486   Current Release:
   11487     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   11488     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   11489 
   11490 
   11491 2) iASL Compiler/Disassembler and Tools:
   11492 
   11493 Fixed a problem where the presence of the _OSI predefined control method 
   11494 within complex expressions could cause an internal compiler error.
   11495 
   11496 AcpiExec: Implemented full region support for multiple address spaces. 
   11497 SpaceId is now part of the REGION object. BZ 429
   11498 
   11499 ----------------------------------------
   11500 11 October 2006. Summary of changes for version 20061011:
   11501 
   11502 1) ACPI CA Core Subsystem:
   11503 
   11504 Completed an AML interpreter performance enhancement for control method 
   11505 execution. Previously a 2-pass parse/execution, control methods are now 
   11506 completely parsed and executed in a single pass. This improves overall 
   11507 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
   11508 use. (Valery Podrezov + interpreter changes in version 20051202 that 
   11509 eliminated namespace loading during the pass one parse.)
   11510 
   11511 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
   11512 not 
   11513 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
   11514 now 
   11515 obtained and also checked for an ID match.
   11516 
   11517 Implemented additional support for the PCI _ADR execution: upsearch until 
   11518 a 
   11519 device scope is found before executing _ADR. This allows PCI_Config 
   11520 operation regions to be declared locally within control methods 
   11521 underneath 
   11522 PCI device objects.
   11523 
   11524 Fixed a problem with a possible race condition between threads executing 
   11525 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
   11526 modifying AcpiWalkNamespace to (by default) ignore all temporary 
   11527 namespace 
   11528 entries created during any concurrent control method execution. An 
   11529 additional namespace race condition is known to exist between 
   11530 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
   11531 investigation.
   11532 
   11533 Restructured the AML ParseLoop function, breaking it into several 
   11534 subfunctions in order to reduce CPU stack use and improve 
   11535 maintainability. 
   11536 (Mikhail Kouzmich)
   11537 
   11538 AcpiGetHandle: Fix for parameter validation to detect invalid 
   11539 combinations 
   11540 of prefix handle and pathname. BZ 478
   11541 
   11542 Example Code and Data Size: These are the sizes for the OS-independent 
   11543 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11544 debug version of the code includes the debug output trace mechanism and 
   11545 has 
   11546 a much larger code and data size.
   11547 
   11548   Previous Release:
   11549     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   11550     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   11551   Current Release:
   11552     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   11553     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   11554 
   11555 2) iASL Compiler/Disassembler and Tools:
   11556 
   11557 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
   11558 Manager 
   11559 to restore original behavior.
   11560 
   11561 ----------------------------------------
   11562 27 September 2006. Summary of changes for version 20060927:
   11563 
   11564 1) ACPI CA Core Subsystem:
   11565 
   11566 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
   11567 These functions now use a spinlock for mutual exclusion and the interrupt 
   11568 level indication flag is not needed.
   11569 
   11570 Fixed a problem with the Global Lock where the lock could appear to be 
   11571 obtained before it is actually obtained. The global lock semaphore was 
   11572 inadvertently created with one unit instead of zero units. (BZ 464) 
   11573 Fiodor 
   11574 Suietov.
   11575 
   11576 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
   11577 during 
   11578 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
   11579 
   11580 Example Code and Data Size: These are the sizes for the OS-independent 
   11581 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11582 debug version of the code includes the debug output trace mechanism and 
   11583 has 
   11584 a much larger code and data size.
   11585 
   11586   Previous Release:
   11587     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   11588     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   11589   Current Release:
   11590     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   11591     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   11592 
   11593 
   11594 2) iASL Compiler/Disassembler and Tools:
   11595 
   11596 Fixed a compilation problem with the pre-defined Resource Descriptor 
   11597 field 
   11598 names where an "object does not exist" error could be incorrectly 
   11599 generated 
   11600 if the parent ResourceTemplate pathname places the template within a 
   11601 different namespace scope than the current scope. (BZ 7212)
   11602 
   11603 Fixed a problem where the compiler could hang after syntax errors 
   11604 detected 
   11605 in an ElseIf construct. (BZ 453)
   11606 
   11607 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
   11608 operator. An incorrect output filename was produced when this parameter 
   11609 was 
   11610 a null string (""). Now, the original input filename is used as the AML 
   11611 output filename, with an ".aml" extension.
   11612 
   11613 Implemented a generic batch command mode for the AcpiExec utility 
   11614 (execute 
   11615 any AML debugger command) (Valery Podrezov).
   11616 
   11617 ----------------------------------------
   11618 12 September 2006. Summary of changes for version 20060912:
   11619 
   11620 1) ACPI CA Core Subsystem:
   11621 
   11622 Enhanced the implementation of the "serialized mode" of the interpreter 
   11623 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
   11624 specified, instead of creating a serialization semaphore per control 
   11625 method, 
   11626 the interpreter lock is simply no longer released before a blocking 
   11627 operation during control method execution. This effectively makes the AML 
   11628 Interpreter single-threaded. The overhead of a semaphore per-method is 
   11629 eliminated.
   11630 
   11631 Fixed a regression where an error was no longer emitted if a control 
   11632 method 
   11633 attempts to create 2 objects of the same name. This once again returns 
   11634 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
   11635 that 
   11636 will dynamically serialize the control method to possible prevent future 
   11637 errors. (BZ 440)
   11638 
   11639 Integrated a fix for a problem with PCI Express HID detection in the PCI 
   11640 Config Space setup procedure. (BZ 7145)
   11641 
   11642 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
   11643 AcpiHwInitialize function - the FADT registers are now validated when the 
   11644 table is loaded.
   11645 
   11646 Added two new warnings during FADT verification - 1) if the FADT is 
   11647 larger 
   11648 than the largest known FADT version, and 2) if there is a mismatch 
   11649 between 
   11650 a 
   11651 32-bit block address and the 64-bit X counterpart (when both are non-
   11652 zero.)
   11653 
   11654 Example Code and Data Size: These are the sizes for the OS-independent 
   11655 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11656 debug version of the code includes the debug output trace mechanism and 
   11657 has 
   11658 a much larger code and data size.
   11659 
   11660   Previous Release:
   11661     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   11662     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   11663   Current Release:
   11664     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   11665     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   11666 
   11667 
   11668 2) iASL Compiler/Disassembler and Tools:
   11669 
   11670 Fixed a problem with the implementation of the Switch() operator where 
   11671 the 
   11672 temporary variable was declared too close to the actual Switch, instead 
   11673 of 
   11674 at method level. This could cause a problem if the Switch() operator is 
   11675 within a while loop, causing an error on the second iteration. (BZ 460)
   11676 
   11677 Disassembler - fix for error emitted for unknown type for target of scope 
   11678 operator. Now, ignore it and continue.
   11679 
   11680 Disassembly of an FADT now verifies the input FADT and reports any errors 
   11681 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
   11682 
   11683 Disassembly of raw data buffers with byte initialization data now 
   11684 prefixes 
   11685 each output line with the current buffer offset.
   11686 
   11687 Disassembly of ASF! table now includes all variable-length data fields at 
   11688 the end of some of the subtables.
   11689 
   11690 The disassembler now emits a comment if a buffer appears to be a 
   11691 ResourceTemplate, but cannot be disassembled as such because the EndTag 
   11692 does 
   11693 not appear at the very end of the buffer.
   11694 
   11695 AcpiExec - Added the "-t" command line option to enable the serialized 
   11696 mode 
   11697 of the AML interpreter.
   11698 
   11699 ----------------------------------------
   11700 31 August 2006. Summary of changes for version 20060831:
   11701 
   11702 1) ACPI CA Core Subsystem:
   11703 
   11704 Miscellaneous fixes for the Table Manager:
   11705 - Correctly initialize internal common FADT for all 64-bit "X" fields
   11706 - Fixed a couple table mapping issues during table load
   11707 - Fixed a couple alignment issues for IA64
   11708 - Initialize input array to zero in AcpiInitializeTables
   11709 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
   11710 AcpiGetTableByIndex
   11711 
   11712 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
   11713 now 
   11714 immediately disabled to prevent the waking GPE from firing again and to 
   11715 prevent other wake GPEs from interrupting the wake process.
   11716 
   11717 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
   11718 to 
   11719 be used for debugging systems with a large number of ACPI interrupts.
   11720 
   11721 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
   11722 both the ACPICA headers and the disassembler.
   11723 
   11724 Example Code and Data Size: These are the sizes for the OS-independent 
   11725 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11726 debug version of the code includes the debug output trace mechanism and 
   11727 has 
   11728 a much larger code and data size.
   11729 
   11730   Previous Release:
   11731     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   11732     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   11733   Current Release:
   11734     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   11735     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   11736 
   11737 
   11738 2) iASL Compiler/Disassembler and Tools:
   11739 
   11740 Disassembler support for the DMAR ACPI table.
   11741 
   11742 ----------------------------------------
   11743 23 August 2006. Summary of changes for version 20060823:
   11744 
   11745 1) ACPI CA Core Subsystem:
   11746 
   11747 The Table Manager component has been completely redesigned and 
   11748 reimplemented. The new design is much simpler, and reduces the overall 
   11749 code 
   11750 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
   11751 is 
   11752 now possible to obtain the ACPI tables very early during kernel 
   11753 initialization, even before dynamic memory management is initialized. 
   11754 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
   11755 
   11756 Obsolete ACPICA interfaces:
   11757 
   11758 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
   11759 init 
   11760 time).
   11761 - AcpiLoadTable: Not needed.
   11762 - AcpiUnloadTable: Not needed.
   11763 
   11764 New ACPICA interfaces:
   11765 
   11766 - AcpiInitializeTables: Must be called before the table manager can be 
   11767 used.
   11768 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
   11769 allocated memory after it becomes available.
   11770 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
   11771 tables 
   11772 in the RSDT/XSDT.
   11773 
   11774 Other ACPICA changes:
   11775 
   11776 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
   11777 Use 
   11778 AcpiOsUnmapMemory to free this mapping.
   11779 - AcpiGetTable returns the actual mapped table. The mapping is managed 
   11780 internally and must not be deleted by the caller. Use of this interface 
   11781 causes no additional dynamic memory allocation.
   11782 - AcpiFindRootPointer: Support for physical addressing has been 
   11783 eliminated, 
   11784 it appeared to be unused.
   11785 - The interface to AcpiOsMapMemory has changed to be consistent with the 
   11786 other allocation interfaces.
   11787 - The interface to AcpiOsGetRootPointer has changed to eliminate 
   11788 unnecessary 
   11789 parameters.
   11790 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
   11791 64-
   11792 bit platforms. Was previously 64 bits on all platforms.
   11793 - The interface to the ACPI Global Lock acquire/release macros have 
   11794 changed 
   11795 slightly since ACPICA no longer keeps a local copy of the FACS with a 
   11796 constructed pointer to the actual global lock.
   11797 
   11798 Porting to the new table manager:
   11799 
   11800 - AcpiInitializeTables: Must be called once, and can be called anytime 
   11801 during the OS initialization process. It allows the host to specify an 
   11802 area 
   11803 of memory to be used to store the internal version of the RSDT/XSDT (root 
   11804 table). This allows the host to access ACPI tables before memory 
   11805 management 
   11806 is initialized and running.
   11807 - AcpiReallocateRootTable: Can be called after memory management is 
   11808 running 
   11809 to copy the root table to a dynamically allocated array, freeing up the 
   11810 scratch memory specified in the call to AcpiInitializeTables.
   11811 - AcpiSubsystemInitialize: This existing interface is independent of the 
   11812 Table Manager, and does not have to be called before the Table Manager 
   11813 can 
   11814 be used, it only must be called before the rest of ACPICA can be used.
   11815 - ACPI Tables: Some changes have been made to the names and structure of 
   11816 the 
   11817 actbl.h and actbl1.h header files and may require changes to existing 
   11818 code. 
   11819 For example, bitfields have been completely removed because of their lack 
   11820 of 
   11821 portability across C compilers.
   11822 - Update interfaces to the Global Lock acquire/release macros if local 
   11823 versions are used. (see acwin.h)
   11824 
   11825 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
   11826 
   11827 New files: tbfind.c
   11828 
   11829 Example Code and Data Size: These are the sizes for the OS-independent 
   11830 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11831 debug version of the code includes the debug output trace mechanism and 
   11832 has 
   11833 a much larger code and data size.
   11834 
   11835   Previous Release:
   11836     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   11837     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   11838   Current Release:
   11839     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   11840     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   11841 
   11842 
   11843 2) iASL Compiler/Disassembler and Tools:
   11844 
   11845 No changes for this release.
   11846 
   11847 ----------------------------------------
   11848 21 July 2006. Summary of changes for version 20060721:
   11849 
   11850 1) ACPI CA Core Subsystem:
   11851 
   11852 The full source code for the ASL test suite used to validate the iASL 
   11853 compiler and the ACPICA core subsystem is being released with the ACPICA 
   11854 source for the first time. The source is contained in a separate package 
   11855 and 
   11856 consists of over 1100 files that exercise all ASL/AML operators. The 
   11857 package 
   11858 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
   11859 Fiodor 
   11860 Suietov)
   11861 
   11862 Completed a new design and implementation for support of the ACPI Global 
   11863 Lock. On the OS side, the global lock is now treated as a standard AML 
   11864 mutex. Previously, multiple OS threads could "acquire" the global lock 
   11865 simultaneously. However, this could cause the BIOS to be starved out of 
   11866 the 
   11867 lock - especially in cases such as the Embedded Controller driver where 
   11868 there is a tight coupling between the OS and the BIOS.
   11869 
   11870 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
   11871 The Global Lock interrupt handler no longer queues the execution of a 
   11872 separate thread to signal the global lock semaphore. Instead, the 
   11873 semaphore 
   11874 is signaled directly from the interrupt handler.
   11875 
   11876 Implemented support within the AML interpreter for package objects that 
   11877 contain a larger AML length (package list length) than the package 
   11878 element 
   11879 count. In this case, the length of the package is truncated to match the 
   11880 package element count. Some BIOS code apparently modifies the package 
   11881 length 
   11882 on the fly, and this change supports this behavior. Provides 
   11883 compatibility 
   11884 with the MS AML interpreter. (With assistance from Fiodor Suietov)
   11885 
   11886 Implemented a temporary fix for the BankValue parameter of a Bank Field 
   11887 to 
   11888 support all constant values, now including the Zero and One opcodes. 
   11889 Evaluation of this parameter must eventually be converted to a full 
   11890 TermArg 
   11891 evaluation. A not-implemented error is now returned (temporarily) for 
   11892 non-
   11893 constant values for this parameter.
   11894 
   11895 Fixed problem reports (Fiodor Suietov) integrated:
   11896 - Fix for premature object deletion after CopyObject on Operation Region 
   11897 (BZ 
   11898 350)
   11899 
   11900 Example Code and Data Size: These are the sizes for the OS-independent 
   11901 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11902 debug version of the code includes the debug output trace mechanism and 
   11903 has 
   11904 a much larger code and data size.
   11905 
   11906   Previous Release:
   11907     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
   11908     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
   11909   Current Release:
   11910     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   11911     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   11912 
   11913 
   11914 2) iASL Compiler/Disassembler and Tools:
   11915 
   11916 No changes for this release.
   11917 
   11918 ----------------------------------------
   11919 07 July 2006. Summary of changes for version 20060707:
   11920 
   11921 1) ACPI CA Core Subsystem:
   11922 
   11923 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
   11924 that do not allow the initialization of address pointers within packed 
   11925 structures - even though the hardware itself may support misaligned 
   11926 transfers. Some of the debug data structures are packed by default to 
   11927 minimize size.
   11928 
   11929 Added an error message for the case where AcpiOsGetThreadId() returns 
   11930 zero. 
   11931 A non-zero value is required by the core ACPICA code to ensure the proper 
   11932 operation of AML mutexes and recursive control methods.
   11933 
   11934 The DSDT is now the only ACPI table that determines whether the AML 
   11935 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
   11936 but 
   11937 the hooks for per-table 32/64 switching have been removed from the code. 
   11938 A 
   11939 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
   11940 
   11941 Fixed a possible leak of an OwnerID in the error path of 
   11942 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
   11943 deletion to a single place in AcpiTbUninstallTable to correct possible 
   11944 leaks 
   11945 when using the AcpiTbDeleteTablesByType interface (with assistance from 
   11946 Lance Ortiz.)
   11947 
   11948 Fixed a problem with Serialized control methods where the semaphore 
   11949 associated with the method could be over-signaled after multiple method 
   11950 invocations.
   11951 
   11952 Fixed two issues with the locking of the internal namespace data 
   11953 structure. 
   11954 Both the Unload() operator and AcpiUnloadTable interface now lock the 
   11955 namespace during the namespace deletion associated with the table unload 
   11956 (with assistance from Linn Crosetto.)
   11957 
   11958 Fixed problem reports (Valery Podrezov) integrated:
   11959 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
   11960 
   11961 Fixed problem reports (Fiodor Suietov) integrated:
   11962 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
   11963 - On Address Space handler deletion, needless deactivation call (BZ 374)
   11964 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
   11965 375)
   11966 - Possible memory leak, Notify sub-objects of Processor, Power, 
   11967 ThermalZone 
   11968 (BZ 376)
   11969 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
   11970 - Minimum Length of RSDT should be validated (BZ 379)
   11971 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
   11972 Handler (BZ (380)
   11973 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
   11974 loaded 
   11975 (BZ 381)
   11976 
   11977 Example Code and Data Size: These are the sizes for the OS-independent 
   11978 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11979 debug version of the code includes the debug output trace mechanism and 
   11980 has 
   11981 a much larger code and data size.
   11982 
   11983   Previous Release:
   11984     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   11985     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   11986   Current Release:
   11987     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   11988     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   11989 
   11990 
   11991 2) iASL Compiler/Disassembler and Tools:
   11992 
   11993 Fixed problem reports:
   11994 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
   11995 436)
   11996 
   11997 ----------------------------------------
   11998 23 June 2006. Summary of changes for version 20060623:
   11999 
   12000 1) ACPI CA Core Subsystem:
   12001 
   12002 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
   12003 allows the type to be customized to the host OS for improved efficiency 
   12004 (since a spinlock is usually a very small object.)
   12005 
   12006 Implemented support for "ignored" bits in the ACPI registers. According 
   12007 to 
   12008 the ACPI specification, these bits should be preserved when writing the 
   12009 registers via a read/modify/write cycle. There are 3 bits preserved in 
   12010 this 
   12011 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
   12012 
   12013 Implemented the initial deployment of new OSL mutex interfaces. Since 
   12014 some 
   12015 host operating systems have separate mutex and semaphore objects, this 
   12016 feature was requested. The base code now uses mutexes (and the new mutex 
   12017 interfaces) wherever a binary semaphore was used previously. However, for 
   12018 the current release, the mutex interfaces are defined as macros to map 
   12019 them 
   12020 to the existing semaphore interfaces. Therefore, no OSL changes are 
   12021 required 
   12022 at this time. (See acpiosxf.h)
   12023 
   12024 Fixed several problems with the support for the control method SyncLevel 
   12025 parameter. The SyncLevel now works according to the ACPI specification 
   12026 and 
   12027 in concert with the Mutex SyncLevel parameter, since the current 
   12028 SyncLevel 
   12029 is a property of the executing thread. Mutual exclusion for control 
   12030 methods 
   12031 is now implemented with a mutex instead of a semaphore.
   12032 
   12033 Fixed three instances of the use of the C shift operator in the bitfield 
   12034 support code (exfldio.c) to avoid the use of a shift value larger than 
   12035 the 
   12036 target data width. The behavior of C compilers is undefined in this case 
   12037 and 
   12038 can cause unpredictable results, and therefore the case must be detected 
   12039 and 
   12040 avoided. (Fiodor Suietov)
   12041 
   12042 Added an info message whenever an SSDT or OEM table is loaded dynamically 
   12043 via the Load() or LoadTable() ASL operators. This should improve 
   12044 debugging 
   12045 capability since it will show exactly what tables have been loaded 
   12046 (beyond 
   12047 the tables present in the RSDT/XSDT.)
   12048 
   12049 Example Code and Data Size: These are the sizes for the OS-independent 
   12050 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   12051 debug version of the code includes the debug output trace mechanism and 
   12052 has 
   12053 a much larger code and data size.
   12054 
   12055   Previous Release:
   12056     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   12057     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   12058   Current Release:
   12059     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   12060     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   12061 
   12062 
   12063 2) iASL Compiler/Disassembler and Tools:
   12064 
   12065 No changes for this release.
   12066 
   12067 ----------------------------------------
   12068 08 June 2006. Summary of changes for version 20060608:
   12069 
   12070 1) ACPI CA Core Subsystem:
   12071 
   12072 Converted the locking mutex used for the ACPI hardware to a spinlock. 
   12073 This 
   12074 change should eliminate all problems caused by attempting to acquire a 
   12075 semaphore at interrupt level, and it means that all ACPICA external 
   12076 interfaces that directly access the ACPI hardware can be safely called 
   12077 from 
   12078 interrupt level. OSL code that implements the semaphore interfaces should 
   12079 be 
   12080 able to eliminate any workarounds for being called at interrupt level.
   12081 
   12082 Fixed a regression introduced in 20060526 where the ACPI device 
   12083 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
   12084 device 
   12085 did not have an optional _INI method.
   12086 
   12087 Fixed an IndexField issue where a write to the Data Register should be 
   12088 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
   12089 433, 
   12090 Fiodor Suietov)
   12091 
   12092 Fixed problem reports (Valery Podrezov) integrated:
   12093 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
   12094 
   12095 Fixed problem reports (Fiodor Suietov) integrated:
   12096 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
   12097 
   12098 Removed four global mutexes that were obsolete and were no longer being 
   12099 used.
   12100 
   12101 Example Code and Data Size: These are the sizes for the OS-independent 
   12102 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   12103 debug version of the code includes the debug output trace mechanism and 
   12104 has 
   12105 a much larger code and data size.
   12106 
   12107   Previous Release:
   12108     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   12109     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   12110   Current Release:
   12111     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   12112     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   12113 
   12114 
   12115 2) iASL Compiler/Disassembler and Tools:
   12116 
   12117 Fixed a fault when using -g option (get tables from registry) on Windows 
   12118 machines.
   12119 
   12120 Fixed problem reports integrated:
   12121 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
   12122 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
   12123 Suietov)
   12124 - Global table revision override (-r) is ignored (BZ 413)
   12125 
   12126 ----------------------------------------
   12127 26 May 2006. Summary of changes for version 20060526:
   12128 
   12129 1) ACPI CA Core Subsystem:
   12130 
   12131 Restructured, flattened, and simplified the internal interfaces for 
   12132 namespace object evaluation - resulting in smaller code, less CPU stack 
   12133 use, 
   12134 and fewer interfaces. (With assistance from Mikhail Kouzmich)
   12135 
   12136 Fixed a problem with the CopyObject operator where the first parameter 
   12137 was 
   12138 not typed correctly for the parser, interpreter, compiler, and 
   12139 disassembler. 
   12140 Caused various errors and unexpected behavior.
   12141 
   12142 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
   12143 produced incorrect results with some C compilers. Since the behavior of C 
   12144 compilers when the shift value is larger than the datatype width is 
   12145 apparently not well defined, the interpreter now detects this condition 
   12146 and 
   12147 simply returns zero as expected in all such cases. (BZ 395)
   12148 
   12149 Fixed problem reports (Valery Podrezov) integrated:
   12150 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
   12151 - Allow interpreter to handle nested method declarations (BZ 5361)
   12152 
   12153 Fixed problem reports (Fiodor Suietov) integrated:
   12154 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
   12155 355)
   12156 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
   12157 356)
   12158 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
   12159 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
   12160 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
   12161 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
   12162 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
   12163 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
   12164 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
   12165 365)
   12166 - Status of the Global Initialization Handler call not used (BZ 366)
   12167 - Incorrect object parameter to Global Initialization Handler (BZ 367)
   12168 
   12169 Example Code and Data Size: These are the sizes for the OS-independent 
   12170 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   12171 debug version of the code includes the debug output trace mechanism and 
   12172 has 
   12173 a much larger code and data size.
   12174 
   12175   Previous Release:
   12176     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   12177     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   12178   Current Release:
   12179     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   12180     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   12181 
   12182 
   12183 2) iASL Compiler/Disassembler and Tools:
   12184 
   12185 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
   12186 namespace identifiers with no collision with existing resource descriptor 
   12187 macro names. This provides compatibility with other ASL compilers and is 
   12188 most useful for disassembly/recompilation of existing tables without 
   12189 parse 
   12190 errors. (With assistance from Thomas Renninger)
   12191 
   12192 Disassembler: fixed an incorrect disassembly problem with the 
   12193 DataTableRegion and CopyObject operators. Fixed a possible fault during 
   12194 disassembly of some Alias operators.
   12195 
   12196 ----------------------------------------
   12197 12 May 2006. Summary of changes for version 20060512:
   12198 
   12199 1) ACPI CA Core Subsystem:
   12200 
   12201 Replaced the AcpiOsQueueForExecution interface with a new interface named 
   12202 AcpiOsExecute. The major difference is that the new interface does not 
   12203 have 
   12204 a Priority parameter, this appeared to be useless and has been replaced 
   12205 by 
   12206 a 
   12207 Type parameter. The Type tells the host what type of execution is being 
   12208 requested, such as global lock handler, notify handler, GPE handler, etc. 
   12209 This allows the host to queue and execute the request as appropriate for 
   12210 the 
   12211 request type, possibly using different work queues and different 
   12212 priorities 
   12213 for the various request types. This enables fixes for multithreading 
   12214 deadlock problems such as BZ #5534, and will require changes to all 
   12215 existing 
   12216 OS interface layers. (Alexey Starikovskiy and Bob Moore)
   12217 
   12218 Fixed a possible memory leak associated with the support for the so-
   12219 called 
   12220 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
   12221 Suietov)
   12222 
   12223 Fixed a problem with the Load() operator where a table load from an 
   12224 operation region could overwrite an internal table buffer by up to 7 
   12225 bytes 
   12226 and cause alignment faults on IPF systems. (With assistance from Luming 
   12227 Yu)
   12228 
   12229 Example Code and Data Size: These are the sizes for the OS-independent 
   12230 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   12231 debug version of the code includes the debug output trace mechanism and 
   12232 has 
   12233 a much larger code and data size.
   12234 
   12235   Previous Release:
   12236     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   12237     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   12238   Current Release:
   12239     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   12240     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   12241 
   12242 
   12243 
   12244 2) iASL Compiler/Disassembler and Tools:
   12245 
   12246 Disassembler: Implemented support to cross reference the internal 
   12247 namespace 
   12248 and automatically generate ASL External() statements for symbols not 
   12249 defined 
   12250 within the current table being disassembled. This will simplify the 
   12251 disassembly and recompilation of interdependent tables such as SSDTs 
   12252 since 
   12253 these statements will no longer have to be added manually.
   12254 
   12255 Disassembler: Implemented experimental support to automatically detect 
   12256 invocations of external control methods and generate appropriate 
   12257 External() 
   12258 statements. This is problematic because the AML cannot be correctly 
   12259 parsed 
   12260 until the number of arguments for each control method is known. 
   12261 Currently, 
   12262 standalone method invocations and invocations as the source operand of a 
   12263 Store() statement are supported.
   12264 
   12265 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
   12266 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
   12267 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
   12268 more readable and likely closer to the original ASL source.
   12269 
   12270 ----------------------------------------
   12271 21 April 2006. Summary of changes for version 20060421:
   12272 
   12273 1) ACPI CA Core Subsystem:
   12274 
   12275 Removed a device initialization optimization introduced in 20051216 where 
   12276 the _STA method was not run unless an _INI was also present for the same 
   12277 device. This optimization could cause problems because it could allow 
   12278 _INI 
   12279 methods to be run within a not-present device subtree. (If a not-present 
   12280 device had no _INI, _STA would not be run, the not-present status would 
   12281 not 
   12282 be discovered, and the children of the device would be incorrectly 
   12283 traversed.)
   12284 
   12285 Implemented a new _STA optimization where namespace subtrees that do not 
   12286 contain _INI are identified and ignored during device initialization. 
   12287 Selectively running _STA can significantly improve boot time on large 
   12288 machines (with assistance from Len Brown.)
   12289 
   12290 Implemented support for the device initialization case where the returned 
   12291 _STA flags indicate a device not-present but functioning. In this case, 
   12292 _INI 
   12293 is not run, but the device children are examined for presence, as per the 
   12294 ACPI specification.
   12295 
   12296 Implemented an additional change to the IndexField support in order to 
   12297 conform to MS behavior. The value written to the Index Register is not 
   12298 simply a byte offset, it is a byte offset in units of the access width of 
   12299 the parent Index Field. (Fiodor Suietov)
   12300 
   12301 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
   12302 interface is called during the creation of all AML operation regions, and 
   12303 allows the host OS to exert control over what addresses it will allow the 
   12304 AML code to access. Operation Regions whose addresses are disallowed will 
   12305 cause a runtime exception when they are actually accessed (will not 
   12306 affect 
   12307 or abort table loading.) See oswinxf or osunixxf for an example 
   12308 implementation.
   12309 
   12310 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
   12311 interface allows the host OS to match the various "optional" 
   12312 interface/behavior strings for the _OSI predefined control method as 
   12313 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
   12314 for an example implementation.
   12315 
   12316 Restructured and corrected various problems in the exception handling 
   12317 code 
   12318 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
   12319 (with assistance from Takayoshi Kochi.)
   12320 
   12321 Modified the Linux source converter to ignore quoted string literals 
   12322 while 
   12323 converting identifiers from mixed to lower case. This will correct 
   12324 problems 
   12325 with the disassembler and other areas where such strings must not be 
   12326 modified.
   12327 
   12328 The ACPI_FUNCTION_* macros no longer require quotes around the function 
   12329 name. This allows the Linux source converter to convert the names, now 
   12330 that 
   12331 the converter ignores quoted strings.
   12332 
   12333 Example Code and Data Size: These are the sizes for the OS-independent 
   12334 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   12335 debug version of the code includes the debug output trace mechanism and 
   12336 has 
   12337 a much larger code and data size.
   12338 
   12339   Previous Release:
   12340 
   12341     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   12342     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   12343   Current Release:
   12344     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   12345     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   12346 
   12347 
   12348 2) iASL Compiler/Disassembler and Tools:
   12349 
   12350 Implemented 3 new warnings for iASL, and implemented multiple warning 
   12351 levels 
   12352 (w2 flag).
   12353 
   12354 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
   12355 not 
   12356 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
   12357 check for the possible timeout, a warning is issued.
   12358 
   12359 2) Useless operators: If an ASL operator does not specify an optional 
   12360 target 
   12361 operand and it also does not use the function return value from the 
   12362 operator, a warning is issued since the operator effectively does 
   12363 nothing.
   12364 
   12365 3) Unreferenced objects: If a namespace object is created, but never 
   12366 referenced, a warning is issued. This is a warning level 2 since there 
   12367 are 
   12368 cases where this is ok, such as when a secondary table is loaded that 
   12369 uses 
   12370 the unreferenced objects. Even so, care is taken to only flag objects 
   12371 that 
   12372 don't look like they will ever be used. For example, the reserved methods 
   12373 (starting with an underscore) are usually not referenced because it is 
   12374 expected that the OS will invoke them.
   12375 
   12376 ----------------------------------------
   12377 31 March 2006. Summary of changes for version 20060331:
   12378 
   12379 1) ACPI CA Core Subsystem:
   12380 
   12381 Implemented header file support for the following additional ACPI tables: 
   12382 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
   12383 support, 
   12384 all current and known ACPI tables are now defined in the ACPICA headers 
   12385 and 
   12386 are available for use by device drivers and other software.
   12387 
   12388 Implemented support to allow tables that contain ACPI names with invalid 
   12389 characters to be loaded. Previously, this would cause the table load to 
   12390 fail, but since there are several known cases of such tables on existing 
   12391 machines, this change was made to enable ACPI support for them. Also, 
   12392 this 
   12393 matches the behavior of the Microsoft ACPI implementation.
   12394 
   12395 Fixed a couple regressions introduced during the memory optimization in 
   12396 the 
   12397 20060317 release. The namespace node definition required additional 
   12398 reorganization and an internal datatype that had been changed to 8-bit 
   12399 was 
   12400 restored to 32-bit. (Valery Podrezov)
   12401 
   12402 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
   12403 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
   12404 null pointers are now trapped and ignored, matching the behavior of the 
   12405 previous implementation before the deployment of AcpiOsReleaseObject.
   12406 (Valery Podrezov, Fiodor Suietov)
   12407 
   12408 Fixed a memory mapping leak during the deletion of a SystemMemory 
   12409 operation 
   12410 region where a cached memory mapping was not deleted. This became a 
   12411 noticeable problem for operation regions that are defined within 
   12412 frequently 
   12413 used control methods. (Dana Meyers)
   12414 
   12415 Reorganized the ACPI table header files into two main files: one for the 
   12416 ACPI tables consumed by the ACPICA core, and another for the 
   12417 miscellaneous 
   12418 ACPI tables that are consumed by the drivers and other software. The 
   12419 various 
   12420 FADT definitions were merged into one common section and three different 
   12421 tables (ACPI 1.0, 1.0+, and 2.0)
   12422 
   12423 Example Code and Data Size: These are the sizes for the OS-independent 
   12424 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   12425 debug version of the code includes the debug output trace mechanism and 
   12426 has 
   12427 a much larger code and data size.
   12428 
   12429   Previous Release:
   12430     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   12431     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   12432   Current Release:
   12433     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   12434     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   12435 
   12436 
   12437 2) iASL Compiler/Disassembler and Tools:
   12438 
   12439 Disassembler: Implemented support to decode and format all non-AML ACPI 
   12440 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
   12441 added to the ACPICA headers, therefore all current and known ACPI tables 
   12442 are 
   12443 supported.
   12444 
   12445 Disassembler: The change to allow ACPI names with invalid characters also 
   12446 enables the disassembly of such tables. Invalid characters within names 
   12447 are 
   12448 changed to '*' to make the name printable; the iASL compiler will still 
   12449 generate an error for such names, however, since this is an invalid ACPI 
   12450 character.
   12451 
   12452 Implemented an option for AcpiXtract (-a) to extract all tables found in 
   12453 the 
   12454 input file. The default invocation extracts only the DSDTs and SSDTs.
   12455 
   12456 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
   12457 makefile for the AcpiXtract utility.
   12458 
   12459 ----------------------------------------
   12460 17 March 2006. Summary of changes for version 20060317:
   12461 
   12462 1) ACPI CA Core Subsystem:
   12463 
   12464 Implemented the use of a cache object for all internal namespace nodes. 
   12465 Since there are about 1000 static nodes in a typical system, this will 
   12466 decrease memory use for cache implementations that minimize per-
   12467 allocation 
   12468 overhead (such as a slab allocator.)
   12469 
   12470 Removed the reference count mechanism for internal namespace nodes, since 
   12471 it 
   12472 was deemed unnecessary. This reduces the size of each namespace node by 
   12473 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
   12474 case, 
   12475 and 32 bytes for the 64-bit case.
   12476 
   12477 Optimized several internal data structures to reduce object size on 64-
   12478 bit 
   12479 platforms by packing data within the 64-bit alignment. This includes the 
   12480 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
   12481 instances corresponding to the namespace objects.
   12482 
   12483 Added two new strings for the predefined _OSI method: "Windows 2001.1 
   12484 SP1" 
   12485 and "Windows 2006".
   12486 
   12487 Split the allocation tracking mechanism out to a separate file, from 
   12488 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
   12489 application-level code. Kernels may wish to not include uttrack.c in 
   12490 distributions.
   12491 
   12492 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
   12493 associated 
   12494 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
   12495 macros.)
   12496 
   12497 Code and Data Size: These are the sizes for the acpica.lib produced by 
   12498 the 
   12499 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   12500 ACPI 
   12501 driver or OSPM code. The debug version of the code includes the debug 
   12502 output 
   12503 trace mechanism and has a much larger code and data size. Note that these 
   12504 values will vary depending on the efficiency of the compiler and the 
   12505 compiler options used during generation.
   12506 
   12507   Previous Release:
   12508     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   12509     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   12510   Current Release:
   12511     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   12512     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   12513 
   12514 
   12515 2) iASL Compiler/Disassembler and Tools:
   12516 
   12517 Implemented an ANSI C version of the acpixtract utility. This version 
   12518 will 
   12519 automatically extract the DSDT and all SSDTs from the input acpidump text 
   12520 file and dump the binary output to separate files. It can also display a 
   12521 summary of the input file including the headers for each table found and 
   12522 will extract any single ACPI table, with any signature. (See 
   12523 source/tools/acpixtract)
   12524 
   12525 ----------------------------------------
   12526 10 March 2006. Summary of changes for version 20060310:
   12527 
   12528 1) ACPI CA Core Subsystem:
   12529 
   12530 Tagged all external interfaces to the subsystem with the new 
   12531 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
   12532 assist 
   12533 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
   12534 macro. The default definition is NULL.
   12535 
   12536 Added the ACPI_THREAD_ID type for the return value from 
   12537 AcpiOsGetThreadId. 
   12538 This allows the host to define this as necessary to simplify kernel 
   12539 integration. The default definition is ACPI_NATIVE_UINT.
   12540 
   12541 Fixed two interpreter problems related to error processing, the deletion 
   12542 of 
   12543 objects, and placing invalid pointers onto the internal operator result 
   12544 stack. BZ 6028, 6151 (Valery Podrezov)
   12545 
   12546 Increased the reference count threshold where a warning is emitted for 
   12547 large 
   12548 reference counts in order to eliminate unnecessary warnings on systems 
   12549 with 
   12550 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
   12551 0x800.
   12552 
   12553 Due to universal disagreement as to the meaning of the 'c' in the 
   12554 calloc() 
   12555 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
   12556 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
   12557 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
   12558 ACPI_FREE.
   12559 
   12560 Code and Data Size: These are the sizes for the acpica.lib produced by 
   12561 the 
   12562 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   12563 ACPI 
   12564 driver or OSPM code. The debug version of the code includes the debug 
   12565 output 
   12566 trace mechanism and has a much larger code and data size. Note that these 
   12567 values will vary depending on the efficiency of the compiler and the 
   12568 compiler options used during generation.
   12569 
   12570   Previous Release:
   12571     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   12572     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   12573   Current Release:
   12574     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   12575     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   12576 
   12577 
   12578 2) iASL Compiler/Disassembler:
   12579 
   12580 Disassembler: implemented support for symbolic resource descriptor 
   12581 references. If a CreateXxxxField operator references a fixed offset 
   12582 within 
   12583 a 
   12584 resource descriptor, a name is assigned to the descriptor and the offset 
   12585 is 
   12586 translated to the appropriate resource tag and pathname. The addition of 
   12587 this support brings the disassembled code very close to the original ASL 
   12588 source code and helps eliminate run-time errors when the disassembled 
   12589 code 
   12590 is modified (and recompiled) in such a way as to invalidate the original 
   12591 fixed offsets.
   12592 
   12593 Implemented support for a Descriptor Name as the last parameter to the 
   12594 ASL 
   12595 Register() macro. This parameter was inadvertently left out of the ACPI 
   12596 specification, and will be added for ACPI 3.0b.
   12597 
   12598 Fixed a problem where the use of the "_OSI" string (versus the full path 
   12599 "\_OSI") caused an internal compiler error. ("No back ptr to op")
   12600 
   12601 Fixed a problem with the error message that occurs when an invalid string 
   12602 is 
   12603 used for a _HID object (such as one with an embedded asterisk: 
   12604 "*PNP010A".) 
   12605 The correct message is now displayed.
   12606 
   12607 ----------------------------------------
   12608 17 February 2006. Summary of changes for version 20060217:
   12609 
   12610 1) ACPI CA Core Subsystem:
   12611 
   12612 Implemented a change to the IndexField support to match the behavior of 
   12613 the 
   12614 Microsoft AML interpreter. The value written to the Index register is now 
   12615 a 
   12616 byte offset, no longer an index based upon the width of the Data 
   12617 register. 
   12618 This should fix IndexField problems seen on some machines where the Data 
   12619 register is not exactly one byte wide. The ACPI specification will be 
   12620 clarified on this point.
   12621 
   12622 Fixed a problem where several resource descriptor types could overrun the 
   12623 internal descriptor buffer due to size miscalculation: VendorShort, 
   12624 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
   12625 affect all platforms.
   12626 
   12627 Fixed a problem where individual resource descriptors were misaligned 
   12628 within 
   12629 the internal buffer, causing alignment faults on IA64 platforms.
   12630 
   12631 Code and Data Size: These are the sizes for the acpica.lib produced by 
   12632 the 
   12633 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   12634 ACPI 
   12635 driver or OSPM code. The debug version of the code includes the debug 
   12636 output 
   12637 trace mechanism and has a much larger code and data size. Note that these 
   12638 values will vary depending on the efficiency of the compiler and the 
   12639 compiler options used during generation.
   12640 
   12641   Previous Release:
   12642     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   12643     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   12644   Current Release:
   12645     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   12646     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   12647 
   12648 
   12649 2) iASL Compiler/Disassembler:
   12650 
   12651 Implemented support for new reserved names: _WDG and _WED are Microsoft 
   12652 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
   12653 defined method (Throttling Depth Limit.)
   12654 
   12655 Fixed a problem where a zero-length VendorShort or VendorLong resource 
   12656 descriptor was incorrectly emitted as a descriptor of length one.
   12657 
   12658 ----------------------------------------
   12659 10 February 2006. Summary of changes for version 20060210:
   12660 
   12661 1) ACPI CA Core Subsystem:
   12662 
   12663 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
   12664 normal execution. These became apparent after the conversion from 
   12665 ACPI_DEBUG_PRINT.
   12666 
   12667 Fixed a problem where the CreateField operator could hang if the BitIndex 
   12668 or 
   12669 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
   12670 
   12671 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
   12672 failed with an exception. This also fixes a couple of related RefOf and 
   12673 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
   12674 
   12675 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
   12676 of 
   12677 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
   12678 BZ 
   12679 5480)
   12680 
   12681 Implemented a memory cleanup at the end of the execution of each 
   12682 iteration 
   12683 of an AML While() loop, preventing the accumulation of outstanding 
   12684 objects. 
   12685 (Valery Podrezov, BZ 5427)
   12686 
   12687 Eliminated a chunk of duplicate code in the object resolution code. 
   12688 (Valery 
   12689 Podrezov, BZ 5336)
   12690 
   12691 Fixed several warnings during the 64-bit code generation.
   12692 
   12693 The AcpiSrc source code conversion tool now inserts one line of 
   12694 whitespace 
   12695 after an if() statement that is followed immediately by a comment, 
   12696 improving 
   12697 readability of the Linux code.
   12698 
   12699 Code and Data Size: The current and previous library sizes for the core 
   12700 subsystem are shown below. These are the code and data sizes for the 
   12701 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12702 These 
   12703 values do not include any ACPI driver or OSPM code. The debug version of 
   12704 the 
   12705 code includes the debug output trace mechanism and has a much larger code 
   12706 and data size. Note that these values will vary depending on the 
   12707 efficiency 
   12708 of the compiler and the compiler options used during generation.
   12709 
   12710   Previous Release:
   12711     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   12712     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   12713   Current Release:
   12714     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   12715     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   12716 
   12717 
   12718 2) iASL Compiler/Disassembler:
   12719 
   12720 Fixed a problem with the disassembly of a BankField operator with a 
   12721 complex 
   12722 expression for the BankValue parameter.
   12723 
   12724 ----------------------------------------
   12725 27 January 2006. Summary of changes for version 20060127:
   12726 
   12727 1) ACPI CA Core Subsystem:
   12728 
   12729 Implemented support in the Resource Manager to allow unresolved 
   12730 namestring 
   12731 references within resource package objects for the _PRT method. This 
   12732 support 
   12733 is in addition to the previously implemented unresolved reference support 
   12734 within the AML parser. If the interpreter slack mode is enabled, these 
   12735 unresolved references will be passed through to the caller as a NULL 
   12736 package 
   12737 entry.
   12738 
   12739 Implemented and deployed new macros and functions for error and warning 
   12740 messages across the subsystem. These macros are simpler and generate less 
   12741 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
   12742 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
   12743 macros remain defined to allow ACPI drivers time to migrate to the new 
   12744 macros.
   12745 
   12746 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
   12747 the 
   12748 Acquire/Release Lock OSL interfaces.
   12749 
   12750 Fixed a problem where Alias ASL operators are sometimes not correctly 
   12751 resolved, in both the interpreter and the iASL compiler.
   12752 
   12753 Fixed several problems with the implementation of the 
   12754 ConcatenateResTemplate 
   12755 ASL operator. As per the ACPI specification, zero length buffers are now 
   12756 treated as a single EndTag. One-length buffers always cause a fatal 
   12757 exception. Non-zero length buffers that do not end with a full 2-byte 
   12758 EndTag 
   12759 cause a fatal exception.
   12760 
   12761 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
   12762 interface. (With assistance from Thomas Renninger)
   12763 
   12764 Code and Data Size: The current and previous library sizes for the core 
   12765 subsystem are shown below. These are the code and data sizes for the 
   12766 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12767 These 
   12768 values do not include any ACPI driver or OSPM code. The debug version of 
   12769 the 
   12770 code includes the debug output trace mechanism and has a much larger code 
   12771 and data size. Note that these values will vary depending on the 
   12772 efficiency 
   12773 of the compiler and the compiler options used during generation.
   12774 
   12775   Previous Release:
   12776     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   12777     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   12778   Current Release:
   12779     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   12780     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   12781 
   12782 
   12783 2) iASL Compiler/Disassembler:
   12784 
   12785 Fixed an internal error that was generated for any forward references to 
   12786 ASL 
   12787 Alias objects.
   12788 
   12789 ----------------------------------------
   12790 13 January 2006. Summary of changes for version 20060113:
   12791 
   12792 1) ACPI CA Core Subsystem:
   12793 
   12794 Added 2006 copyright to all module headers and signons. This affects 
   12795 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
   12796 utilities.
   12797  
   12798 Enhanced the ACPICA error reporting in order to simplify user migration 
   12799 to 
   12800 the non-debug version of ACPICA. Replaced all instances of the 
   12801 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
   12802 debug 
   12803 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
   12804 respectively. This preserves all error and warning messages in the non-
   12805 debug 
   12806 version of the ACPICA code (this has been referred to as the "debug lite" 
   12807 option.) Over 200 cases were converted to create a total of over 380 
   12808 error/warning messages across the ACPICA code. This increases the code 
   12809 and 
   12810 data size of the default non-debug version of the code somewhat (about 
   12811 13K), 
   12812 but all error/warning reporting may be disabled if desired (and code 
   12813 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
   12814 configuration option. The size of the debug version of ACPICA remains 
   12815 about 
   12816 the same.
   12817 
   12818 Fixed a memory leak within the AML Debugger "Set" command. One object was 
   12819 not properly deleted for every successful invocation of the command.
   12820 
   12821 Code and Data Size: The current and previous library sizes for the core 
   12822 subsystem are shown below. These are the code and data sizes for the 
   12823 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12824 These 
   12825 values do not include any ACPI driver or OSPM code. The debug version of 
   12826 the 
   12827 code includes the debug output trace mechanism and has a much larger code 
   12828 and data size. Note that these values will vary depending on the 
   12829 efficiency 
   12830 of the compiler and the compiler options used during generation.
   12831 
   12832   Previous Release:
   12833     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   12834     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   12835   Current Release:
   12836     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   12837     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   12838 
   12839 
   12840 2) iASL Compiler/Disassembler:
   12841 
   12842 The compiler now officially supports the ACPI 3.0a specification that was 
   12843 released on December 30, 2005. (Specification is available at 
   12844 www.acpi.info)
   12845 
   12846 ----------------------------------------
   12847 16 December 2005. Summary of changes for version 20051216:
   12848 
   12849 1) ACPI CA Core Subsystem:
   12850 
   12851 Implemented optional support to allow unresolved names within ASL Package 
   12852 objects. A null object is inserted in the package when a named reference 
   12853 cannot be located in the current namespace. Enabled via the interpreter 
   12854 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
   12855 machines 
   12856 that contain such code.
   12857 
   12858 Implemented an optimization to the initialization sequence that can 
   12859 improve 
   12860 boot time. During ACPI device initialization, the _STA method is now run 
   12861 if 
   12862 and only if the _INI method exists. The _STA method is used to determine 
   12863 if 
   12864 the device is present; An _INI can only be run if _STA returns present, 
   12865 but 
   12866 it is a waste of time to run the _STA method if the _INI does not exist. 
   12867 (Prototype and assistance from Dong Wei)
   12868 
   12869 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
   12870 is 
   12871 available in the current compiler. Otherwise, the default (void *) cast 
   12872 is 
   12873 used as before.
   12874 
   12875 Fixed some possible memory leaks found within the execution path of the 
   12876 Break, Continue, If, and CreateField operators. (Valery Podrezov)
   12877 
   12878 Fixed a problem introduced in the 20051202 release where an exception is 
   12879 generated during method execution if a control method attempts to declare 
   12880 another method.
   12881 
   12882 Moved resource descriptor string constants that are used by both the AML 
   12883 disassembler and AML debugger to the common utilities directory so that 
   12884 these components are independent.
   12885 
   12886 Implemented support in the AcpiExec utility (-e switch) to globally 
   12887 ignore 
   12888 exceptions during control method execution (method is not aborted.)
   12889 
   12890 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
   12891 generation.
   12892 
   12893 Code and Data Size: The current and previous library sizes for the core 
   12894 subsystem are shown below. These are the code and data sizes for the 
   12895 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12896 These 
   12897 values do not include any ACPI driver or OSPM code. The debug version of 
   12898 the 
   12899 code includes the debug output trace mechanism and has a much larger code 
   12900 and data size. Note that these values will vary depending on the 
   12901 efficiency 
   12902 of the compiler and the compiler options used during generation.
   12903 
   12904   Previous Release:
   12905     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12906     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   12907   Current Release:
   12908     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   12909     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   12910 
   12911 
   12912 2) iASL Compiler/Disassembler:
   12913 
   12914 Fixed a problem where a CPU stack overflow fault could occur if a 
   12915 recursive 
   12916 method call was made from within a Return statement.
   12917 
   12918 ----------------------------------------
   12919 02 December 2005. Summary of changes for version 20051202:
   12920 
   12921 1) ACPI CA Core Subsystem:
   12922 
   12923 Modified the parsing of control methods to no longer create namespace 
   12924 objects during the first pass of the parse. Objects are now created only 
   12925 during the execute phase, at the moment the namespace creation operator 
   12926 is 
   12927 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
   12928 This 
   12929 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
   12930 reentrant control methods are protected by an AML mutex. The mutex will 
   12931 now 
   12932 correctly block multiple threads from attempting to create the same 
   12933 object 
   12934 more than once.
   12935 
   12936 Increased the number of available Owner Ids for namespace object tracking 
   12937 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
   12938 on 
   12939 some machines with a large number of ACPI tables (either static or 
   12940 dynamic).
   12941 
   12942 Fixed a problem with the AcpiExec utility where a fault could occur when 
   12943 the 
   12944 -b switch (batch mode) is used.
   12945 
   12946 Enhanced the namespace dump routine to output the owner ID for each 
   12947 namespace object.
   12948 
   12949 Code and Data Size: The current and previous library sizes for the core 
   12950 subsystem are shown below. These are the code and data sizes for the 
   12951 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12952 These 
   12953 values do not include any ACPI driver or OSPM code. The debug version of 
   12954 the 
   12955 code includes the debug output trace mechanism and has a much larger code 
   12956 and data size. Note that these values will vary depending on the 
   12957 efficiency 
   12958 of the compiler and the compiler options used during generation.
   12959 
   12960   Previous Release:
   12961     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12962     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   12963   Current Release:
   12964     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12965     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   12966 
   12967 
   12968 2) iASL Compiler/Disassembler:
   12969 
   12970 Fixed a parse error during compilation of certain Switch/Case constructs. 
   12971 To 
   12972 simplify the parse, the grammar now allows for multiple Default 
   12973 statements 
   12974 and this error is now detected and flagged during the analysis phase.
   12975 
   12976 Disassembler: The disassembly now includes the contents of the original 
   12977 table header within a comment at the start of the file. This includes the 
   12978 name and version of the original ASL compiler.
   12979 
   12980 ----------------------------------------
   12981 17 November 2005. Summary of changes for version 20051117:
   12982 
   12983 1) ACPI CA Core Subsystem:
   12984 
   12985 Fixed a problem in the AML parser where the method thread count could be 
   12986 decremented below zero if any errors occurred during the method parse 
   12987 phase. 
   12988 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
   12989 machines. 
   12990 This also fixed a related regression with the mechanism that detects and 
   12991 corrects methods that cannot properly handle reentrancy (related to the 
   12992 deployment of the new OwnerId mechanism.)
   12993 
   12994 Eliminated the pre-parsing of control methods (to detect errors) during 
   12995 table load. Related to the problem above, this was causing unwind issues 
   12996 if 
   12997 any errors occurred during the parse, and it seemed to be overkill. A 
   12998 table 
   12999 load should not be aborted if there are problems with any single control 
   13000 method, thus rendering this feature rather pointless.
   13001 
   13002 Fixed a problem with the new table-driven resource manager where an 
   13003 internal 
   13004 buffer overflow could occur for small resource templates.
   13005 
   13006 Implemented a new external interface, AcpiGetVendorResource. This 
   13007 interface 
   13008 will find and return a vendor-defined resource descriptor within a _CRS 
   13009 or 
   13010 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
   13011 Helgaas.
   13012 
   13013 Removed the length limit (200) on string objects as per the upcoming ACPI 
   13014 3.0A specification. This affects the following areas of the interpreter: 
   13015 1) 
   13016 any implicit conversion of a Buffer to a String, 2) a String object
   13017 result 
   13018 of the ASL Concatenate operator, 3) the String object result of the ASL
   13019 ToString operator.
   13020 
   13021 Fixed a problem in the Windows OS interface layer (OSL) where a 
   13022 WAIT_FOREVER 
   13023 on a semaphore object would incorrectly timeout. This allows the 
   13024 multithreading features of the AcpiExec utility to work properly under 
   13025 Windows.
   13026 
   13027 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
   13028 the recently added file named "utresrc.c".
   13029 
   13030 Code and Data Size: The current and previous library sizes for the core 
   13031 subsystem are shown below. These are the code and data sizes for the 
   13032 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   13033 These 
   13034 values do not include any ACPI driver or OSPM code. The debug version of 
   13035 the 
   13036 code includes the debug output trace mechanism and has a much larger code 
   13037 and data size. Note that these values will vary depending on the 
   13038 efficiency 
   13039 of the compiler and the compiler options used during generation.
   13040 
   13041   Previous Release:
   13042     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   13043     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   13044   Current Release:
   13045     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   13046     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   13047 
   13048 
   13049 2) iASL Compiler/Disassembler:
   13050 
   13051 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
   13052 specification. For the iASL compiler, this means that string literals 
   13053 within 
   13054 the source ASL can be of any length. 
   13055 
   13056 Enhanced the listing output to dump the AML code for resource descriptors 
   13057 immediately after the ASL code for each descriptor, instead of in a block 
   13058 at 
   13059 the end of the entire resource template.
   13060 
   13061 Enhanced the compiler debug output to dump the entire original parse tree 
   13062 constructed during the parse phase, before any transforms are applied to 
   13063 the 
   13064 tree. The transformed tree is dumped also.
   13065 
   13066 ----------------------------------------
   13067 02 November 2005. Summary of changes for version 20051102:
   13068 
   13069 1) ACPI CA Core Subsystem:
   13070 
   13071 Modified the subsystem initialization sequence to improve GPE support. 
   13072 The 
   13073 GPE initialization has been split into two parts in order to defer 
   13074 execution 
   13075 of the _PRW methods (Power Resources for Wake) until after the hardware 
   13076 is 
   13077 fully initialized and the SCI handler is installed. This allows the _PRW 
   13078 methods to access fields protected by the Global Lock. This will fix 
   13079 systems 
   13080 where a NO_GLOBAL_LOCK exception has been seen during initialization.
   13081 
   13082 Converted the ACPI internal object disassemble and display code within 
   13083 the 
   13084 AML debugger to fully table-driven operation, reducing code size and 
   13085 increasing maintainability.
   13086 
   13087 Fixed a regression with the ConcatenateResTemplate() ASL operator 
   13088 introduced 
   13089 in the 20051021 release.
   13090 
   13091 Implemented support for "local" internal ACPI object types within the 
   13092 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
   13093 These local types include RegionFields, BankFields, IndexFields, Alias, 
   13094 and 
   13095 reference objects.
   13096 
   13097 Moved common AML resource handling code into a new file, "utresrc.c". 
   13098 This 
   13099 code is shared by both the Resource Manager and the AML Debugger.
   13100 
   13101 Code and Data Size: The current and previous library sizes for the core 
   13102 subsystem are shown below. These are the code and data sizes for the 
   13103 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   13104 These 
   13105 values do not include any ACPI driver or OSPM code. The debug version of 
   13106 the 
   13107 code includes the debug output trace mechanism and has a much larger code 
   13108 and data size. Note that these values will vary depending on the 
   13109 efficiency 
   13110 of the compiler and the compiler options used during generation.
   13111 
   13112   Previous Release:
   13113     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   13114     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   13115   Current Release:
   13116     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   13117     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   13118 
   13119 
   13120 2) iASL Compiler/Disassembler:
   13121 
   13122 Fixed a problem with very large initializer lists (more than 4000 
   13123 elements) 
   13124 for both Buffer and Package objects where the parse stack could overflow.
   13125 
   13126 Enhanced the pre-compile source code scan for non-ASCII characters to 
   13127 ignore 
   13128 characters within comment fields. The scan is now always performed and is 
   13129 no 
   13130 longer optional, detecting invalid characters within a source file 
   13131 immediately rather than during the parse phase or later.
   13132 
   13133 Enhanced the ASL grammar definition to force early reductions on all 
   13134 list-
   13135 style grammar elements so that the overall parse stack usage is greatly 
   13136 reduced. This should improve performance and reduce the possibility of 
   13137 parse 
   13138 stack overflow.
   13139 
   13140 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
   13141 Also, 
   13142 with the addition of a %expected statement, the compiler generates from 
   13143 source with no warnings.
   13144 
   13145 Fixed a possible segment fault in the disassembler if the input filename 
   13146 does not contain a "dot" extension (Thomas Renninger).
   13147 
   13148 ----------------------------------------
   13149 21 October 2005. Summary of changes for version 20051021:
   13150 
   13151 1) ACPI CA Core Subsystem:
   13152 
   13153 Implemented support for the EM64T and other x86-64 processors. This 
   13154 essentially entails recognizing that these processors support non-aligned 
   13155 memory transfers. Previously, all 64-bit processors were assumed to lack 
   13156 hardware support for non-aligned transfers.
   13157 
   13158 Completed conversion of the Resource Manager to nearly full table-driven 
   13159 operation. Specifically, the resource conversion code (convert AML to 
   13160 internal format and the reverse) and the debug code to dump internal 
   13161 resource descriptors are fully table-driven, reducing code and data size 
   13162 and 
   13163 improving maintainability.
   13164 
   13165 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
   13166 word 
   13167 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
   13168 from 
   13169 Alexey Starikovskiy)
   13170 
   13171 Implemented support within the resource conversion code for the Type-
   13172 Specific byte within the various ACPI 3.0 *WordSpace macros.
   13173 
   13174 Fixed some issues within the resource conversion code for the type-
   13175 specific 
   13176 flags for both Memory and I/O address resource descriptors. For Memory, 
   13177 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
   13178 TTP flags into two separate fields.
   13179 
   13180 Code and Data Size: The current and previous library sizes for the core 
   13181 subsystem are shown below. These are the code and data sizes for the 
   13182 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   13183 These 
   13184 values do not include any ACPI driver or OSPM code. The debug version of 
   13185 the 
   13186 code includes the debug output trace mechanism and has a much larger code 
   13187 and data size. Note that these values will vary depending on the 
   13188 efficiency 
   13189 of the compiler and the compiler options used during generation.
   13190 
   13191   Previous Release:
   13192     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   13193     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   13194   Current Release:
   13195     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   13196     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   13197 
   13198 
   13199 
   13200 2) iASL Compiler/Disassembler:
   13201 
   13202 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
   13203 the 
   13204 corresponding ResourceSource string was not also present in a resource 
   13205 descriptor declaration. This restriction caused problems with existing 
   13206 AML/ASL code that includes the Index byte without the string. When such 
   13207 AML 
   13208 was disassembled, it could not be compiled without modification. Further, 
   13209 the modified code created a resource template with a different size than 
   13210 the 
   13211 original, breaking code that used fixed offsets into the resource 
   13212 template 
   13213 buffer.
   13214 
   13215 Removed a recent feature of the disassembler to ignore a lone 
   13216 ResourceIndex 
   13217 byte. This byte is now emitted if present so that the exact AML can be 
   13218 reproduced when the disassembled code is recompiled.
   13219 
   13220 Improved comments and text alignment for the resource descriptor code 
   13221 emitted by the disassembler.
   13222 
   13223 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
   13224 a 
   13225 Register() resource descriptor.
   13226 
   13227 ----------------------------------------
   13228 30 September 2005. Summary of changes for version 20050930:
   13229 
   13230 1) ACPI CA Core Subsystem:
   13231 
   13232 Completed a major overhaul of the Resource Manager code - specifically, 
   13233 optimizations in the area of the AML/internal resource conversion code. 
   13234 The 
   13235 code has been optimized to simplify and eliminate duplicated code, CPU 
   13236 stack 
   13237 use has been decreased by optimizing function parameters and local 
   13238 variables, and naming conventions across the manager have been 
   13239 standardized 
   13240 for clarity and ease of maintenance (this includes function, parameter, 
   13241 variable, and struct/typedef names.) The update may force changes in some 
   13242 driver code, depending on how resources are handled by the host OS.
   13243 
   13244 All Resource Manager dispatch and information tables have been moved to a 
   13245 single location for clarity and ease of maintenance. One new file was 
   13246 created, named "rsinfo.c".
   13247 
   13248 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
   13249 guarantee that the argument is not evaluated twice, making them less 
   13250 prone 
   13251 to macro side-effects. However, since there exists the possibility of 
   13252 additional stack use if a particular compiler cannot optimize them (such 
   13253 as 
   13254 in the debug generation case), the original macros are optionally 
   13255 available.  
   13256 Note that some invocations of the return_VALUE macro may now cause size 
   13257 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
   13258 to 
   13259 eliminate these. (From Randy Dunlap)
   13260 
   13261 Implemented a new mechanism to enable debug tracing for individual 
   13262 control 
   13263 methods. A new external interface, AcpiDebugTrace, is provided to enable 
   13264 this mechanism. The intent is to allow the host OS to easily enable and 
   13265 disable tracing for problematic control methods. This interface can be 
   13266 easily exposed to a user or debugger interface if desired. See the file 
   13267 psxface.c for details.
   13268 
   13269 AcpiUtCallocate will now return a valid pointer if a length of zero is 
   13270 specified - a length of one is used and a warning is issued. This matches 
   13271 the behavior of AcpiUtAllocate.
   13272 
   13273 Code and Data Size: The current and previous library sizes for the core 
   13274 subsystem are shown below. These are the code and data sizes for the 
   13275 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   13276 These 
   13277 values do not include any ACPI driver or OSPM code. The debug version of 
   13278 the 
   13279 code includes the debug output trace mechanism and has a much larger code 
   13280 and data size. Note that these values will vary depending on the 
   13281 efficiency 
   13282 of the compiler and the compiler options used during generation.
   13283 
   13284   Previous Release:
   13285     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   13286     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   13287   Current Release:
   13288     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   13289     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   13290 
   13291 
   13292 2) iASL Compiler/Disassembler:
   13293 
   13294 A remark is issued if the effective compile-time length of a package or 
   13295 buffer is zero. Previously, this was a warning.
   13296 
   13297 ----------------------------------------
   13298 16 September 2005. Summary of changes for version 20050916:
   13299 
   13300 1) ACPI CA Core Subsystem:
   13301 
   13302 Fixed a problem within the Resource Manager where support for the Generic 
   13303 Register descriptor was not fully implemented. This descriptor is now 
   13304 fully 
   13305 recognized, parsed, disassembled, and displayed.
   13306 
   13307 Completely restructured the Resource Manager code to utilize table-driven 
   13308 dispatch and lookup, eliminating many of the large switch() statements. 
   13309 This 
   13310 reduces overall subsystem code size and code complexity. Affects the 
   13311 resource parsing and construction, disassembly, and debug dump output.
   13312 
   13313 Cleaned up and restructured the debug dump output for all resource 
   13314 descriptors. Improved readability of the output and reduced code size.
   13315 
   13316 Fixed a problem where changes to internal data structures caused the 
   13317 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
   13318 
   13319 Code and Data Size: The current and previous library sizes for the core 
   13320 subsystem are shown below. These are the code and data sizes for the 
   13321 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   13322 These 
   13323 values do not include any ACPI driver or OSPM code. The debug version of 
   13324 the 
   13325 code includes the debug output trace mechanism and has a much larger code 
   13326 and data size. Note that these values will vary depending on the 
   13327 efficiency 
   13328 of the compiler and the compiler options used during generation.
   13329 
   13330   Previous Release:
   13331     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   13332     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   13333   Current Release:
   13334     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   13335     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   13336 
   13337 
   13338 2) iASL Compiler/Disassembler:
   13339 
   13340 Updated the disassembler to automatically insert an EndDependentFn() 
   13341 macro 
   13342 into the ASL stream if this macro is missing in the original AML code, 
   13343 simplifying compilation of the resulting ASL module.
   13344 
   13345 Fixed a problem in the disassembler where a disassembled ResourceSource 
   13346 string (within a large resource descriptor) was not surrounded by quotes 
   13347 and 
   13348 not followed by a comma, causing errors when the resulting ASL module was 
   13349 compiled. Also, escape sequences within a ResourceSource string are now 
   13350 handled correctly (especially "\\")
   13351 
   13352 ----------------------------------------
   13353 02 September 2005. Summary of changes for version 20050902:
   13354 
   13355 1) ACPI CA Core Subsystem:
   13356 
   13357 Fixed a problem with the internal Owner ID allocation and deallocation 
   13358 mechanisms for control method execution and recursive method invocation. 
   13359 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
   13360 messages seen on some systems. Recursive method invocation depth is 
   13361 currently limited to 255. (Alexey Starikovskiy)
   13362 
   13363 Completely eliminated all vestiges of support for the "module-level 
   13364 executable code" until this support is fully implemented and debugged. 
   13365 This 
   13366 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
   13367 some systems that invoke this support.
   13368 
   13369 Fixed a problem within the resource manager code where the transaction 
   13370 flags 
   13371 for a 64-bit address descriptor were handled incorrectly in the type-
   13372 specific flag byte.
   13373 
   13374 Consolidated duplicate code within the address descriptor resource 
   13375 manager 
   13376 code, reducing overall subsystem code size.
   13377 
   13378 Fixed a fault when using the AML debugger "disassemble" command to 
   13379 disassemble individual control methods.
   13380 
   13381 Removed references to the "release_current" directory within the Unix 
   13382 release package.
   13383 
   13384 Code and Data Size: The current and previous core subsystem library sizes 
   13385 are shown below. These are the code and data sizes for the acpica.lib 
   13386 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
   13387 include any ACPI driver or OSPM code. The debug version of the code 
   13388 includes 
   13389 the debug output trace mechanism and has a much larger code and data 
   13390 size. 
   13391 Note that these values will vary depending on the efficiency of the 
   13392 compiler 
   13393 and the compiler options used during generation.
   13394 
   13395   Previous Release:
   13396     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   13397     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   13398   Current Release:
   13399     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   13400     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   13401 
   13402 
   13403 2) iASL Compiler/Disassembler:
   13404 
   13405 Implemented an error check for illegal duplicate values in the interrupt 
   13406 and 
   13407 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
   13408 Interrupt().
   13409 
   13410 Implemented error checking for the Irq() and IrqNoFlags() macros to 
   13411 detect 
   13412 too many values in the interrupt list (16 max) and invalid values in the 
   13413 list (range 0 - 15)
   13414 
   13415 The maximum length string literal within an ASL file is now restricted to 
   13416 200 characters as per the ACPI specification.
   13417 
   13418 Fixed a fault when using the -ln option (generate namespace listing).
   13419 
   13420 Implemented an error check to determine if a DescriptorName within a 
   13421 resource descriptor has already been used within the current scope.
   13422 
   13423 ----------------------------------------
   13424 15 August 2005.  Summary of changes for version 20050815:
   13425  
   13426 1) ACPI CA Core Subsystem:
   13427  
   13428 Implemented a full bytewise compare to determine if a table load request 
   13429 is 
   13430 attempting to load a duplicate table. The compare is performed if the 
   13431 table 
   13432 signatures and table lengths match. This will allow different tables with 
   13433 the same OEM Table ID and revision to be loaded - probably against the 
   13434 ACPI 
   13435 specification, but discovered in the field nonetheless.
   13436  
   13437 Added the changes.txt logfile to each of the zipped release packages.
   13438  
   13439 Code and Data Size: Current and previous core subsystem library sizes are 
   13440 shown below. These are the code and data sizes for the acpica.lib 
   13441 produced 
   13442 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13443 any ACPI driver or OSPM code. The debug version of the code includes the 
   13444 debug output trace mechanism and has a much larger code and data size. 
   13445 Note 
   13446 that these values will vary depending on the efficiency of the compiler 
   13447 and 
   13448 the compiler options used during generation.
   13449  
   13450   Previous Release:
   13451     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   13452     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   13453   Current Release:
   13454     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   13455     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   13456  
   13457  
   13458 2) iASL Compiler/Disassembler:
   13459  
   13460 Fixed a problem where incorrect AML code could be generated for Package 
   13461 objects if optimization is disabled (via the -oa switch).
   13462  
   13463 Fixed a problem with where incorrect AML code is generated for variable-
   13464 length packages when the package length is not specified and the number 
   13465 of 
   13466 initializer values is greater than 255.
   13467  
   13468 
   13469 ----------------------------------------
   13470 29 July 2005.  Summary of changes for version 20050729:
   13471 
   13472 1) ACPI CA Core Subsystem:
   13473 
   13474 Implemented support to ignore an attempt to install/load a particular 
   13475 ACPI 
   13476 table more than once. Apparently there exists BIOS code that repeatedly 
   13477 attempts to load the same SSDT upon certain events. With assistance from 
   13478 Venkatesh Pallipadi.
   13479 
   13480 Restructured the main interface to the AML parser in order to correctly 
   13481 handle all exceptional conditions. This will prevent leakage of the 
   13482 OwnerId 
   13483 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
   13484 some 
   13485 machines. With assistance from Alexey Starikovskiy.
   13486 
   13487 Support for "module level code" has been disabled in this version due to 
   13488 a 
   13489 number of issues that have appeared on various machines. The support can 
   13490 be 
   13491 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
   13492 compilation. When the issues are fully resolved, the code will be enabled 
   13493 by 
   13494 default again.
   13495 
   13496 Modified the internal functions for debug print support to define the 
   13497 FunctionName parameter as a (const char *) for compatibility with 
   13498 compiler 
   13499 built-in macros such as __FUNCTION__, etc.
   13500 
   13501 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
   13502 
   13503 Implemented support to display an object count summary for the AML 
   13504 Debugger 
   13505 commands Object and Methods.
   13506 
   13507 Code and Data Size: Current and previous core subsystem library sizes are 
   13508 shown below. These are the code and data sizes for the acpica.lib 
   13509 produced 
   13510 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13511 any ACPI driver or OSPM code. The debug version of the code includes the 
   13512 debug output trace mechanism and has a much larger code and data size. 
   13513 Note 
   13514 that these values will vary depending on the efficiency of the compiler 
   13515 and 
   13516 the compiler options used during generation.
   13517 
   13518   Previous Release:
   13519     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   13520     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   13521   Current Release:
   13522     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   13523     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   13524 
   13525 
   13526 2) iASL Compiler/Disassembler:
   13527 
   13528 Fixed a regression that appeared in the 20050708 version of the compiler 
   13529 where an error message was inadvertently emitted for invocations of the 
   13530 _OSI 
   13531 reserved control method.
   13532 
   13533 ----------------------------------------
   13534 08 July 2005.  Summary of changes for version 20050708:
   13535 
   13536 1) ACPI CA Core Subsystem:
   13537 
   13538 The use of the CPU stack in the debug version of the subsystem has been 
   13539 considerably reduced. Previously, a debug structure was declared in every 
   13540 function that used the debug macros. This structure has been removed in 
   13541 favor of declaring the individual elements as parameters to the debug 
   13542 functions. This reduces the cumulative stack use during nested execution 
   13543 of 
   13544 ACPI function calls at the cost of a small increase in the code size of 
   13545 the 
   13546 debug version of the subsystem. With assistance from Alexey Starikovskiy 
   13547 and 
   13548 Len Brown.
   13549 
   13550 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
   13551 headers to define a macro that will return the current function name at 
   13552 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
   13553 by 
   13554 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
   13555 compiler-dependent header, the function name is saved on the CPU stack 
   13556 (one 
   13557 pointer per function.) This mechanism is used because apparently there 
   13558 exists no standard ANSI-C defined macro that that returns the function 
   13559 name.
   13560 
   13561 Redesigned and reimplemented the "Owner ID" mechanism used to track 
   13562 namespace objects created/deleted by ACPI tables and control method 
   13563 execution. A bitmap is now used to allocate and free the IDs, thus 
   13564 solving 
   13565 the wraparound problem present in the previous implementation. The size 
   13566 of 
   13567 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
   13568 Starikovskiy).
   13569 
   13570 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
   13571 bitfield 
   13572 flag definitions within the headers for the predefined ACPI tables. These 
   13573 have been replaced by UINT8_BIT in order to increase the code portability 
   13574 of 
   13575 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
   13576 eliminate bitfields entirely because of a lack of portability.
   13577 
   13578 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
   13579 This 
   13580 is a frequently used function and this improvement increases the 
   13581 performance 
   13582 of the entire subsystem (Alexey Starikovskiy).
   13583 
   13584 Fixed several possible memory leaks and the inverse - premature object 
   13585 deletion (Alexey Starikovskiy).
   13586 
   13587 Code and Data Size: Current and previous core subsystem library sizes are 
   13588 shown below. These are the code and data sizes for the acpica.lib 
   13589 produced 
   13590 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13591 any ACPI driver or OSPM code. The debug version of the code includes the 
   13592 debug output trace mechanism and has a much larger code and data size. 
   13593 Note 
   13594 that these values will vary depending on the efficiency of the compiler 
   13595 and 
   13596 the compiler options used during generation.
   13597 
   13598   Previous Release:
   13599     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   13600     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   13601   Current Release:
   13602     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   13603     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   13604 
   13605 ----------------------------------------
   13606 24 June 2005.  Summary of changes for version 20050624:
   13607 
   13608 1) ACPI CA Core Subsystem:
   13609 
   13610 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
   13611 the host-defined cache object. This allows the OSL implementation to 
   13612 define 
   13613 and type this object in any manner desired, simplifying the OSL 
   13614 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
   13615 Linux, and should be defined in the OS-specific header file for other 
   13616 operating systems as required.
   13617 
   13618 Changed the interface to AcpiOsAcquireObject to directly return the 
   13619 requested object as the function return (instead of ACPI_STATUS.) This 
   13620 change was made for performance reasons, since this is the purpose of the 
   13621 interface in the first place. AcpiOsAcquireObject is now similar to the 
   13622 AcpiOsAllocate interface.
   13623 
   13624 Implemented a new AML debugger command named Businfo. This command 
   13625 displays 
   13626 information about all devices that have an associate _PRT object. The 
   13627 _ADR, 
   13628 _HID, _UID, and _CID are displayed for these devices.
   13629 
   13630 Modified the initialization sequence in AcpiInitializeSubsystem to call 
   13631 the 
   13632 OSL interface AcpiOslInitialize first, before any local initialization. 
   13633 This 
   13634 change was required because the global initialization now calls OSL 
   13635 interfaces.
   13636 
   13637 Enhanced the Dump command to display the entire contents of Package 
   13638 objects 
   13639 (including all sub-objects and their values.) 
   13640 
   13641 Restructured the code base to split some files because of size and/or 
   13642 because the code logically belonged in a separate file. New files are 
   13643 listed 
   13644 below. All makefiles and project files included in the ACPI CA release 
   13645 have 
   13646 been updated.
   13647     utilities/utcache.c           /* Local cache interfaces */
   13648     utilities/utmutex.c           /* Local mutex support */
   13649     utilities/utstate.c           /* State object support */
   13650     interpreter/parser/psloop.c   /* Main AML parse loop */
   13651 
   13652 Code and Data Size: Current and previous core subsystem library sizes are 
   13653 shown below. These are the code and data sizes for the acpica.lib 
   13654 produced 
   13655 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13656 any ACPI driver or OSPM code. The debug version of the code includes the 
   13657 debug output trace mechanism and has a much larger code and data size. 
   13658 Note 
   13659 that these values will vary depending on the efficiency of the compiler 
   13660 and 
   13661 the compiler options used during generation.
   13662 
   13663   Previous Release:
   13664     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   13665     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   13666   Current Release:
   13667     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   13668     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   13669 
   13670 
   13671 2) iASL Compiler/Disassembler:
   13672 
   13673 Fixed a regression introduced in version 20050513 where the use of a 
   13674 Package 
   13675 object within a Case() statement caused a compile time exception. The 
   13676 original behavior has been restored (a Match() operator is emitted.)
   13677 
   13678 ----------------------------------------
   13679 17 June 2005.  Summary of changes for version 20050617:
   13680 
   13681 1) ACPI CA Core Subsystem:
   13682 
   13683 Moved the object cache operations into the OS interface layer (OSL) to 
   13684 allow 
   13685 the host OS to handle these operations if desired (for example, the Linux 
   13686 OSL will invoke the slab allocator). This support is optional; the 
   13687 compile 
   13688 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
   13689 cache 
   13690 code in the ACPI CA core. The new OSL interfaces are shown below. See 
   13691 utalloc.c for an example implementation, and acpiosxf.h for the exact 
   13692 interface definitions. With assistance from Alexey Starikovskiy.
   13693     AcpiOsCreateCache
   13694     AcpiOsDeleteCache
   13695     AcpiOsPurgeCache
   13696     AcpiOsAcquireObject
   13697     AcpiOsReleaseObject
   13698 
   13699 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
   13700 return 
   13701 and restore a flags parameter. This fits better with many OS lock models. 
   13702 Note: the current execution state (interrupt handler or not) is no longer 
   13703 passed to these interfaces. If necessary, the OSL must determine this 
   13704 state 
   13705 by itself, a simple and fast operation. With assistance from Alexey 
   13706 Starikovskiy.
   13707 
   13708 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
   13709 present if the revision of the RSDP was 2 or greater. According to the 
   13710 ACPI 
   13711 specification, the XSDT is optional in all cases, and the table manager 
   13712 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
   13713 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
   13714 contain 
   13715 only the RSDT.
   13716 
   13717 Fixed an interpreter problem with the Mid() operator in the case of an 
   13718 input 
   13719 string where the resulting output string is of zero length. It now 
   13720 correctly 
   13721 returns a valid, null terminated string object instead of a string object 
   13722 with a null pointer.
   13723 
   13724 Fixed a problem with the control method argument handling to allow a 
   13725 store 
   13726 to an Arg object that already contains an object of type Device. The 
   13727 Device 
   13728 object is now correctly overwritten. Previously, an error was returned.
   13729 
   13730 
   13731 Enhanced the debugger Find command to emit object values in addition to 
   13732 the 
   13733 found object pathnames. The output format is the same as the dump 
   13734 namespace 
   13735 command.
   13736 
   13737 Enhanced the debugger Set command. It now has the ability to set the 
   13738 value 
   13739 of any Named integer object in the namespace (Previously, only method 
   13740 locals 
   13741 and args could be set.)
   13742 
   13743 Code and Data Size: Current and previous core subsystem library sizes are 
   13744 shown below. These are the code and data sizes for the acpica.lib 
   13745 produced 
   13746 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13747 any ACPI driver or OSPM code. The debug version of the code includes the 
   13748 debug output trace mechanism and has a much larger code and data size. 
   13749 Note 
   13750 that these values will vary depending on the efficiency of the compiler 
   13751 and 
   13752 the compiler options used during generation.
   13753 
   13754   Previous Release:
   13755     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   13756     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   13757   Current Release:
   13758     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   13759     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   13760 
   13761 
   13762 2) iASL Compiler/Disassembler:
   13763 
   13764 Fixed a regression in the disassembler where if/else/while constructs 
   13765 were 
   13766 output incorrectly. This problem was introduced in the previous release 
   13767 (20050526). This problem also affected the single-step disassembly in the 
   13768 debugger.
   13769 
   13770 Fixed a problem where compiling the reserved _OSI method would randomly 
   13771 (but 
   13772 rarely) produce compile errors.
   13773 
   13774 Enhanced the disassembler to emit compilable code in the face of 
   13775 incorrect 
   13776 AML resource descriptors. If the optional ResourceSourceIndex is present, 
   13777 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
   13778 disassembly. Otherwise, the resulting code cannot be compiled without 
   13779 errors.
   13780 
   13781 ----------------------------------------
   13782 26 May 2005.  Summary of changes for version 20050526:
   13783 
   13784 1) ACPI CA Core Subsystem:
   13785 
   13786 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
   13787 the module level (not within a control method.) These opcodes are 
   13788 executed 
   13789 exactly once at the time the table is loaded. This type of code was legal 
   13790 up 
   13791 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
   13792 in 
   13793 order to provide backwards compatibility with earlier BIOS 
   13794 implementations. 
   13795 This eliminates the "Encountered executable code at module level" warning 
   13796 that was previously generated upon detection of such code.
   13797 
   13798 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
   13799 inadvertently be generated during the lookup of namespace objects in the 
   13800 second pass parse of ACPI tables and control methods. It appears that 
   13801 this 
   13802 problem could occur during the resolution of forward references to 
   13803 namespace 
   13804 objects.
   13805 
   13806 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
   13807 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
   13808 allows the deadlock detection debug code to be compiled out in the normal 
   13809 case, improving mutex performance (and overall subsystem performance) 
   13810 considerably.
   13811 
   13812 Implemented a handful of miscellaneous fixes for possible memory leaks on 
   13813 error conditions and error handling control paths. These fixes were 
   13814 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
   13815 
   13816 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
   13817 (tbxfroot.c) 
   13818 to prevent a fault in this error case.
   13819 
   13820 Code and Data Size: Current and previous core subsystem library sizes are 
   13821 shown below. These are the code and data sizes for the acpica.lib 
   13822 produced 
   13823 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13824 any ACPI driver or OSPM code. The debug version of the code includes the 
   13825 debug output trace mechanism and has a much larger code and data size. 
   13826 Note 
   13827 that these values will vary depending on the efficiency of the compiler 
   13828 and 
   13829 the compiler options used during generation.
   13830 
   13831   Previous Release:
   13832     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13833     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13834   Current Release:
   13835     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   13836     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   13837 
   13838 
   13839 2) iASL Compiler/Disassembler:
   13840 
   13841 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
   13842 the module level (not within a control method.) These operators will be 
   13843 executed once at the time the table is loaded. This type of code was 
   13844 legal 
   13845 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
   13846 compiler in order to provide backwards compatibility with earlier BIOS 
   13847 ASL 
   13848 code.
   13849 
   13850 The ACPI integer width (specified via the table revision ID or the -r 
   13851 override, 32 or 64 bits) is now used internally during compile-time 
   13852 constant 
   13853 folding to ensure that constants are truncated to 32 bits if necessary. 
   13854 Previously, the revision ID value was only emitted in the AML table 
   13855 header.
   13856 
   13857 An error message is now generated for the Mutex and Method operators if 
   13858 the 
   13859 SyncLevel parameter is outside the legal range of 0 through 15.
   13860 
   13861 Fixed a problem with the Method operator ParameterTypes list handling 
   13862 (ACPI 
   13863 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
   13864 error.  
   13865 The actual underlying implementation of method argument typechecking is 
   13866 still under development, however.
   13867 
   13868 ----------------------------------------
   13869 13 May 2005.  Summary of changes for version 20050513:
   13870 
   13871 1) ACPI CA Core Subsystem:
   13872 
   13873 Implemented support for PCI Express root bridges -- added support for 
   13874 device 
   13875 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
   13876 
   13877 The interpreter now automatically truncates incoming 64-bit constants to 
   13878 32 
   13879 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
   13880 This 
   13881 also affects the iASL compiler constant folding. (Note: as per below, the 
   13882 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
   13883 
   13884 Fixed a problem where string and buffer objects with "static" pointers 
   13885 (pointers to initialization data within an ACPI table) were not handled 
   13886 consistently. The internal object copy operation now always copies the 
   13887 data 
   13888 to a newly allocated buffer, regardless of whether the source object is 
   13889 static or not.
   13890 
   13891 Fixed a problem with the FromBCD operator where an implicit result 
   13892 conversion was improperly performed while storing the result to the 
   13893 target 
   13894 operand. Since this is an "explicit conversion" operator, the implicit 
   13895 conversion should never be performed on the output.
   13896 
   13897 Fixed a problem with the CopyObject operator where a copy to an existing 
   13898 named object did not always completely overwrite the existing object 
   13899 stored 
   13900 at name. Specifically, a buffer-to-buffer copy did not delete the 
   13901 existing 
   13902 buffer.
   13903 
   13904 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
   13905 and 
   13906 structs for consistency.
   13907 
   13908 Code and Data Size: Current and previous core subsystem library sizes are 
   13909 shown below. These are the code and data sizes for the acpica.lib 
   13910 produced 
   13911 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13912 any ACPI driver or OSPM code. The debug version of the code includes the 
   13913 debug output trace mechanism and has a much larger code and data size. 
   13914 Note 
   13915 that these values will vary depending on the efficiency of the compiler 
   13916 and 
   13917 the compiler options used during generation.
   13918 
   13919   Previous Release:
   13920     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13921     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13922   Current Release: (Same sizes)
   13923     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13924     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13925 
   13926 
   13927 2) iASL Compiler/Disassembler:
   13928 
   13929 The compiler now emits a warning if an attempt is made to generate a 64-
   13930 bit 
   13931 integer constant from within a 32-bit ACPI table (Revision < 2). The 
   13932 integer 
   13933 is truncated to 32 bits.
   13934 
   13935 Fixed a problem with large package objects: if the static length of the 
   13936 package is greater than 255, the "variable length package" opcode is 
   13937 emitted. Previously, this caused an error. This requires an update to the 
   13938 ACPI spec, since it currently (incorrectly) states that packages larger 
   13939 than 
   13940 255 elements are not allowed.
   13941 
   13942 The disassembler now correctly handles variable length packages and 
   13943 packages 
   13944 larger than 255 elements.
   13945 
   13946 ----------------------------------------
   13947 08 April 2005.  Summary of changes for version 20050408:
   13948 
   13949 1) ACPI CA Core Subsystem:
   13950 
   13951 Fixed three cases in the interpreter where an "index" argument to an ASL 
   13952 function was still (internally) 32 bits instead of the required 64 bits. 
   13953 This was the Index argument to the Index, Mid, and Match operators.
   13954 
   13955 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
   13956 is 
   13957 not a POSIX-defined function and not present in most kernel-level C 
   13958 libraries. All references to the C library strupr function have been 
   13959 removed 
   13960 from the headers.
   13961 
   13962 Completed the deployment of static functions/prototypes. All prototypes 
   13963 with 
   13964 the static attribute have been moved from the headers to the owning C 
   13965 file.
   13966 
   13967 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
   13968 utility). This option allows the utility to extract individual ACPI 
   13969 tables 
   13970 from the output of AcpiDmp. It provides the same functionality of the 
   13971 acpixtract.pl perl script without the worry of setting the correct perl 
   13972 options. AcpiBin runs on Windows and has not yet been generated/validated 
   13973 in 
   13974 the Linux/Unix environment (but should be soon).
   13975  
   13976 Updated and fixed the table dump option for AcpiBin (-d). This option 
   13977 converts a single ACPI table to a hex/ascii file, similar to the output 
   13978 of 
   13979 AcpiDmp.
   13980 
   13981 Code and Data Size: Current and previous core subsystem library sizes are 
   13982 shown below. These are the code and data sizes for the acpica.lib 
   13983 produced 
   13984 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13985 any ACPI driver or OSPM code. The debug version of the code includes the 
   13986 debug output trace mechanism and has a much larger code and data size. 
   13987 Note 
   13988 that these values will vary depending on the efficiency of the compiler 
   13989 and 
   13990 the compiler options used during generation.
   13991 
   13992   Previous Release:
   13993     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   13994     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   13995   Current Release:
   13996     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13997     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13998 
   13999 
   14000 2) iASL Compiler/Disassembler:
   14001 
   14002 Disassembler fix: Added a check to ensure that the table length found in 
   14003 the 
   14004 ACPI table header within the input file is not longer than the actual 
   14005 input 
   14006 file size. This indicates some kind of file or table corruption.
   14007 
   14008 ----------------------------------------
   14009 29 March 2005.  Summary of changes for version 20050329:
   14010 
   14011 1) ACPI CA Core Subsystem:
   14012 
   14013 An error is now generated if an attempt is made to create a Buffer Field 
   14014 of 
   14015 length zero (A CreateField with a length operand of zero.)
   14016 
   14017 The interpreter now issues a warning whenever executable code at the 
   14018 module 
   14019 level is detected during ACPI table load. This will give some idea of the 
   14020 prevalence of this type of code.
   14021 
   14022 Implemented support for references to named objects (other than control 
   14023 methods) within package objects.
   14024 
   14025 Enhanced package object output for the debug object. Package objects are 
   14026 now 
   14027 completely dumped, showing all elements.
   14028 
   14029 Enhanced miscellaneous object output for the debug object. Any object can 
   14030 now be written to the debug object (for example, a device object can be 
   14031 written, and the type of the object will be displayed.)
   14032 
   14033 The "static" qualifier has been added to all local functions across both 
   14034 the 
   14035 core subsystem and the iASL compiler.
   14036 
   14037 The number of "long" lines (> 80 chars) within the source has been 
   14038 significantly reduced, by about 1/3.
   14039 
   14040 Cleaned up all header files to ensure that all CA/iASL functions are 
   14041 prototyped (even static functions) and the formatting is consistent.
   14042 
   14043 Two new header files have been added, acopcode.h and acnames.h.
   14044 
   14045 Removed several obsolete functions that were no longer used.
   14046 
   14047 Code and Data Size: Current and previous core subsystem library sizes are 
   14048 shown below. These are the code and data sizes for the acpica.lib 
   14049 produced 
   14050 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14051 any ACPI driver or OSPM code. The debug version of the code includes the 
   14052 debug output trace mechanism and has a much larger code and data size. 
   14053 Note 
   14054 that these values will vary depending on the efficiency of the compiler 
   14055 and 
   14056 the compiler options used during generation.
   14057 
   14058   Previous Release:
   14059     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   14060     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   14061   Current Release:
   14062     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   14063     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   14064 
   14065 
   14066 
   14067 2) iASL Compiler/Disassembler:
   14068 
   14069 Fixed a problem with the resource descriptor generation/support. For the 
   14070 ResourceSourceIndex and the ResourceSource fields, both must be present, 
   14071 or 
   14072 both must be not present - can't have one without the other.
   14073 
   14074 The compiler now returns non-zero from the main procedure if any errors 
   14075 have 
   14076 occurred during the compilation.
   14077 
   14078 
   14079 ----------------------------------------
   14080 09 March 2005.  Summary of changes for version 20050309:
   14081 
   14082 1) ACPI CA Core Subsystem:
   14083 
   14084 The string-to-buffer implicit conversion code has been modified again 
   14085 after 
   14086 a change to the ACPI specification.  In order to match the behavior of 
   14087 the 
   14088 other major ACPI implementation, the target buffer is no longer truncated 
   14089 if 
   14090 the source string is smaller than an existing target buffer. This change 
   14091 requires an update to the ACPI spec, and should eliminate the recent 
   14092 AE_AML_BUFFER_LIMIT issues.
   14093 
   14094 The "implicit return" support was rewritten to a new algorithm that 
   14095 solves 
   14096 the general case. Rather than attempt to determine when a method is about 
   14097 to 
   14098 exit, the result of every ASL operator is saved momentarily until the 
   14099 very 
   14100 next ASL operator is executed. Therefore, no matter how the method exits, 
   14101 there will always be a saved implicit return value. This feature is only 
   14102 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
   14103 eliminate 
   14104 AE_AML_NO_RETURN_VALUE errors when enabled.
   14105 
   14106 Implemented implicit conversion support for the predicate (operand) of 
   14107 the 
   14108 If, Else, and While operators. String and Buffer arguments are 
   14109 automatically 
   14110 converted to Integers.
   14111 
   14112 Changed the string-to-integer conversion behavior to match the new ACPI 
   14113 errata: "If no integer object exists, a new integer is created. The ASCII 
   14114 string is interpreted as a hexadecimal constant. Each string character is 
   14115 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
   14116 with the first character as the most significant digit, and ending with 
   14117 the 
   14118 first non-hexadecimal character or end-of-string." This means that the 
   14119 first 
   14120 non-hex character terminates the conversion and this is the code that was 
   14121 changed.
   14122 
   14123 Fixed a problem where the ObjectType operator would fail (fault) when 
   14124 used 
   14125 on an Index of a Package which pointed to a null package element. The 
   14126 operator now properly returns zero (Uninitialized) in this case.
   14127 
   14128 Fixed a problem where the While operator used excessive memory by not 
   14129 properly popping the result stack during execution. There was no memory 
   14130 leak 
   14131 after execution, however. (Code provided by Valery Podrezov.)
   14132 
   14133 Fixed a problem where references to control methods within Package 
   14134 objects 
   14135 caused the method to be invoked, instead of producing a reference object 
   14136 pointing to the method.
   14137 
   14138 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
   14139 to 
   14140 improve performance and reduce code size. (Code provided by Alexey 
   14141 Starikovskiy.)
   14142 
   14143 Code and Data Size: Current and previous core subsystem library sizes are 
   14144 shown below. These are the code and data sizes for the acpica.lib 
   14145 produced 
   14146 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14147 any ACPI driver or OSPM code. The debug version of the code includes the 
   14148 debug output trace mechanism and has a much larger code and data size. 
   14149 Note 
   14150 that these values will vary depending on the efficiency of the compiler 
   14151 and 
   14152 the compiler options used during generation.
   14153 
   14154   Previous Release:
   14155     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   14156     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   14157   Current Release:
   14158     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   14159     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   14160 
   14161 
   14162 2) iASL Compiler/Disassembler:
   14163 
   14164 Fixed a problem with the Return operator with no arguments. Since the AML 
   14165 grammar for the byte encoding requires an operand for the Return opcode, 
   14166 the 
   14167 compiler now emits a Return(Zero) for this case.  An ACPI specification 
   14168 update has been written for this case.
   14169 
   14170 For tables other than the DSDT, namepath optimization is automatically 
   14171 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
   14172 the 
   14173 compiler has no knowledge of where, and thus cannot optimize namepaths.
   14174 
   14175 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
   14176 inadvertently omitted from the ACPI specification, and will require an 
   14177 update to the spec.
   14178 
   14179 The source file scan for ASCII characters is now optional (-a). This 
   14180 change 
   14181 was made because some vendors place non-ascii characters within comments. 
   14182 However, the scan is simply a brute-force byte compare to ensure all 
   14183 characters in the file are in the range 0x00 to 0x7F.
   14184 
   14185 Fixed a problem with the CondRefOf operator where the compiler was 
   14186 inappropriately checking for the existence of the target. Since the point 
   14187 of 
   14188 the operator is to check for the existence of the target at run-time, the 
   14189 compiler no longer checks for the target existence.
   14190 
   14191 Fixed a problem where errors generated from the internal AML interpreter 
   14192 during constant folding were not handled properly, causing a fault.
   14193 
   14194 Fixed a problem with overly aggressive range checking for the Stall 
   14195 operator. The valid range (max 255) is now only checked if the operand is 
   14196 of 
   14197 type Integer. All other operand types cannot be statically checked.
   14198 
   14199 Fixed a problem where control method references within the RefOf, 
   14200 DeRefOf, 
   14201 and ObjectType operators were not treated properly. They are now treated 
   14202 as 
   14203 actual references, not method invocations.
   14204 
   14205 Fixed and enhanced the "list namespace" option (-ln). This option was 
   14206 broken 
   14207 a number of releases ago.
   14208 
   14209 Improved error handling for the Field, IndexField, and BankField 
   14210 operators. 
   14211 The compiler now cleanly reports and recovers from errors in the field 
   14212 component (FieldUnit) list.
   14213 
   14214 Fixed a disassembler problem where the optional ResourceDescriptor fields 
   14215 TRS and TTP were not always handled correctly.
   14216 
   14217 Disassembler - Comments in output now use "//" instead of "/*"
   14218 
   14219 ----------------------------------------
   14220 28 February 2005.  Summary of changes for version 20050228:
   14221 
   14222 1) ACPI CA Core Subsystem:
   14223 
   14224 Fixed a problem where the result of an Index() operator (an object 
   14225 reference) must increment the reference count on the target object for 
   14226 the 
   14227 life of the object reference.
   14228 
   14229 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
   14230 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
   14231 WordSpace 
   14232 resource descriptors.
   14233 
   14234 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
   14235 Space Descriptor" string, indicating interpreter support for the 
   14236 descriptors 
   14237 above.
   14238 
   14239 Implemented header support for the new ACPI 3.0 FADT flag bits.
   14240 
   14241 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
   14242 PM1 
   14243 status/enable registers.
   14244 
   14245 Updated header support for the MADT processor local Apic struct and MADT 
   14246 platform interrupt source struct for new ACPI 3.0 fields.
   14247 
   14248 Implemented header support for the SRAT and SLIT ACPI tables.
   14249 
   14250 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
   14251 flag 
   14252 at runtime.
   14253 
   14254 Code and Data Size: Current and previous core subsystem library sizes are 
   14255 shown below. These are the code and data sizes for the acpica.lib 
   14256 produced 
   14257 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14258 any ACPI driver or OSPM code. The debug version of the code includes the 
   14259 debug output trace mechanism and has a much larger code and data size. 
   14260 Note 
   14261 that these values will vary depending on the efficiency of the compiler 
   14262 and 
   14263 the compiler options used during generation.
   14264 
   14265   Previous Release:
   14266     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   14267     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   14268   Current Release:
   14269     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   14270     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   14271 
   14272 
   14273 2) iASL Compiler/Disassembler:
   14274 
   14275 Fixed a problem with the internal 64-bit String-to-integer conversion 
   14276 with 
   14277 strings less than two characters long.
   14278 
   14279 Fixed a problem with constant folding where the result of the Index() 
   14280 operator can not be considered a constant. This means that Index() cannot 
   14281 be 
   14282 a type3 opcode and this will require an update to the ACPI specification.
   14283 
   14284 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
   14285 descriptor fields. These fields were inadvertently ignored and not output 
   14286 in 
   14287 the disassembly of the resource descriptor.
   14288 
   14289 
   14290  ----------------------------------------
   14291 11 February 2005.  Summary of changes for version 20050211:
   14292 
   14293 1) ACPI CA Core Subsystem:
   14294 
   14295 Implemented ACPI 3.0 support for implicit conversion within the Match() 
   14296 operator. MatchObjects can now be of type integer, buffer, or string 
   14297 instead 
   14298 of just type integer.  Package elements are implicitly converted to the 
   14299 type 
   14300 of the MatchObject. This change aligns the behavior of Match() with the 
   14301 behavior of the other logical operators (LLess(), etc.) It also requires 
   14302 an 
   14303 errata change to the ACPI specification as this support was intended for 
   14304 ACPI 3.0, but was inadvertently omitted.
   14305 
   14306 Fixed a problem with the internal implicit "to buffer" conversion. 
   14307 Strings 
   14308 that are converted to buffers will cause buffer truncation if the string 
   14309 is 
   14310 smaller than the target buffer. Integers that are converted to buffers 
   14311 will 
   14312 not cause buffer truncation, only zero extension (both as per the ACPI 
   14313 spec.) The problem was introduced when code was added to truncate the 
   14314 buffer, but this should not be performed in all cases, only the string 
   14315 case.
   14316 
   14317 Fixed a problem with the Buffer and Package operators where the 
   14318 interpreter 
   14319 would get confused if two such operators were used as operands to an ASL 
   14320 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
   14321 stack was not being popped after the execution of these operators, 
   14322 resulting 
   14323 in an AE_NO_RETURN_VALUE exception.
   14324 
   14325 Fixed a problem with constructs of the form Store(Index(...),...). The 
   14326 reference object returned from Index was inadvertently resolved to an 
   14327 actual 
   14328 value. This problem was introduced in version 20050114 when the behavior 
   14329 of 
   14330 Store() was modified to restrict the object types that can be used as the 
   14331 source operand (to match the ACPI specification.)
   14332 
   14333 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
   14334 
   14335 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
   14336 
   14337 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
   14338 
   14339 Code and Data Size: Current and previous core subsystem library sizes are 
   14340 shown below. These are the code and data sizes for the acpica.lib 
   14341 produced 
   14342 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14343 any ACPI driver or OSPM code. The debug version of the code includes the 
   14344 debug output trace mechanism and has a much larger code and data size. 
   14345 Note 
   14346 that these values will vary depending on the efficiency of the compiler 
   14347 and 
   14348 the compiler options used during generation.
   14349 
   14350   Previous Release:
   14351     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
   14352     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
   14353   Current Release:
   14354     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   14355     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   14356 
   14357 
   14358 2) iASL Compiler/Disassembler:
   14359 
   14360 Fixed a code generation problem in the constant folding optimization code 
   14361 where incorrect code was generated if a constant was reduced to a buffer 
   14362 object (i.e., a reduced type 5 opcode.)
   14363 
   14364 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
   14365 incorrect return type in the internal opcode information table.
   14366 
   14367 ----------------------------------------
   14368 25 January 2005.  Summary of changes for version 20050125:
   14369 
   14370 1) ACPI CA Core Subsystem:
   14371 
   14372 Fixed a recently introduced problem with the Global Lock where the 
   14373 underlying semaphore was not created.  This problem was introduced in 
   14374 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
   14375 Acquire() operation on _GL.
   14376 
   14377 The local object cache is now optional, and is disabled by default. Both 
   14378 AcpiExec and the iASL compiler enable the cache because they run in user 
   14379 mode and this enhances their performance. #define 
   14380 ACPI_ENABLE_OBJECT_CACHE 
   14381 to enable the local cache.
   14382 
   14383 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
   14384 the 
   14385 optional "implicit return" support where an error was returned if no 
   14386 return 
   14387 object was expected, but one was implicitly returned. AE_OK is now 
   14388 returned 
   14389 in this case and the implicitly returned object is deleted. 
   14390 AcpiUtEvaluateObject is only occasionally used, and only to execute 
   14391 reserved 
   14392 methods such as _STA and _INI where the return type is known up front.
   14393 
   14394 Fixed a few issues with the internal convert-to-integer code. It now 
   14395 returns 
   14396 an error if an attempt is made to convert a null string, a string of only 
   14397 blanks/tabs, or a zero-length buffer. This affects both implicit 
   14398 conversion 
   14399 and explicit conversion via the ToInteger() operator.
   14400 
   14401 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
   14402 is 
   14403 not needed for normal operation and should increase the performance of 
   14404 the 
   14405 entire subsystem. The code remains in case it is needed for debug 
   14406 purposes 
   14407 again.
   14408 
   14409 The AcpiExec source and makefile are included in the Unix/Linux package 
   14410 for 
   14411 the first time.
   14412 
   14413 Code and Data Size: Current and previous core subsystem library sizes are 
   14414 shown below. These are the code and data sizes for the acpica.lib 
   14415 produced 
   14416 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14417 any ACPI driver or OSPM code. The debug version of the code includes the 
   14418 debug output trace mechanism and has a much larger code and data size. 
   14419 Note 
   14420 that these values will vary depending on the efficiency of the compiler 
   14421 and 
   14422 the compiler options used during generation.
   14423 
   14424   Previous Release:
   14425     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   14426     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   14427   Current Release:
   14428     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
   14429     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
   14430 
   14431 2) iASL Compiler/Disassembler:
   14432 
   14433 Switch/Case support: A warning is now issued if the type of the Switch 
   14434 value 
   14435 cannot be determined at compile time. For example, Switch(Arg0) will 
   14436 generate the warning, and the type is assumed to be an integer. As per 
   14437 the 
   14438 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
   14439 the 
   14440 warning.
   14441 
   14442 Switch/Case support: Implemented support for buffer and string objects as 
   14443 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
   14444 buffers and strings.
   14445 
   14446 Switch/Case support: The emitted code for the LEqual() comparisons now 
   14447 uses 
   14448 the switch value as the first operand, not the second. The case value is 
   14449 now 
   14450 the second operand, and this allows the case value to be implicitly 
   14451 converted to the type of the switch value, not the other way around.
   14452 
   14453 Switch/Case support: Temporary variables are now emitted immediately 
   14454 within 
   14455 the control method, not at the global level. This means that there are 
   14456 now 
   14457 36 temps available per-method, not 36 temps per-module as was the case 
   14458 with 
   14459 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
   14460 
   14461 ----------------------------------------
   14462 14 January 2005.  Summary of changes for version 20050114:
   14463 
   14464 Added 2005 copyright to all module headers.  This affects every module in 
   14465 the core subsystem, iASL compiler, and the utilities.
   14466 
   14467 1) ACPI CA Core Subsystem:
   14468 
   14469 Fixed an issue with the String-to-Buffer conversion code where the string 
   14470 null terminator was not included in the buffer after conversion, but 
   14471 there 
   14472 is existing ASL that assumes the string null terminator is included. This 
   14473 is 
   14474 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
   14475 introduced in the previous version when the code was updated to correctly 
   14476 set the converted buffer size as per the ACPI specification. The ACPI 
   14477 spec 
   14478 is ambiguous and will be updated to specify that the null terminator must 
   14479 be 
   14480 included in the converted buffer. This also affects the ToBuffer() ASL 
   14481 operator.
   14482 
   14483 Fixed a problem with the Mid() ASL/AML operator where it did not work 
   14484 correctly on Buffer objects. Newly created sub-buffers were not being 
   14485 marked 
   14486 as initialized.
   14487 
   14488 
   14489 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
   14490 performed on the OemId and OemTableId table header fields.  These fields 
   14491 are 
   14492 not null terminated, so strncmp is now used instead of strcmp.
   14493 
   14494 Implemented a restriction on the Store() ASL/AML operator to align the 
   14495 behavior with the ACPI specification.  Previously, any object could be 
   14496 used 
   14497 as the source operand.  Now, the only objects that may be used are 
   14498 Integers, 
   14499 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
   14500 necessary, the original behavior can be restored by enabling the 
   14501 EnableInterpreterSlack flag.
   14502 
   14503 Enhanced the optional "implicit return" support to allow an implicit 
   14504 return 
   14505 value from methods that are invoked externally via the AcpiEvaluateObject 
   14506 interface.  This enables implicit returns from the _STA and _INI methods, 
   14507 for example.
   14508 
   14509 Changed the Revision() ASL/AML operator to return the current version of 
   14510 the 
   14511 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
   14512 returned 
   14513 the supported ACPI version (This is the function of the _REV method).
   14514 
   14515 Updated the _REV predefined method to return the currently supported 
   14516 version 
   14517 of ACPI, now 3.
   14518 
   14519 Implemented batch mode option for the AcpiExec utility (-b).
   14520 
   14521 Code and Data Size: Current and previous core subsystem library sizes are 
   14522 shown below. These are the code and data sizes for the acpica.lib 
   14523 produced 
   14524 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14525 any ACPI driver or OSPM code. The debug version of the code includes the 
   14526 debug output trace mechanism and has a much larger code and data size. 
   14527 Note 
   14528 that these values will vary depending on the efficiency of the compiler 
   14529 and 
   14530 the compiler options used during generation.
   14531 
   14532   Previous Release:
   14533     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   14534     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   14535   Current Release:
   14536     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   14537     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   14538 
   14539 ----------------------------------------
   14540 10 December 2004.  Summary of changes for version 20041210:
   14541 
   14542 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
   14543 ACPI CA core subsystem.
   14544 
   14545 1) ACPI CA Core Subsystem:
   14546 
   14547 Fixed a problem in the ToDecimalString operator where the resulting 
   14548 string 
   14549 length was incorrectly calculated. The length is now calculated exactly, 
   14550 eliminating incorrect AE_STRING_LIMIT exceptions.
   14551 
   14552 Fixed a problem in the ToHexString operator to allow a maximum 200 
   14553 character 
   14554 string to be produced.
   14555 
   14556 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
   14557 copy 
   14558 routine where the length of the resulting buffer was not truncated to the 
   14559 new size (if the target buffer already existed).
   14560 
   14561 Code and Data Size: Current and previous core subsystem library sizes are 
   14562 shown below. These are the code and data sizes for the acpica.lib 
   14563 produced 
   14564 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14565 any ACPI driver or OSPM code. The debug version of the code includes the 
   14566 debug output trace mechanism and has a much larger code and data size. 
   14567 Note 
   14568 that these values will vary depending on the efficiency of the compiler 
   14569 and 
   14570 the compiler options used during generation.
   14571 
   14572   Previous Release:
   14573     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   14574     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   14575   Current Release:
   14576     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   14577     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   14578 
   14579 
   14580 2) iASL Compiler/Disassembler:
   14581 
   14582 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
   14583 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
   14584 Includes support in the disassembler.
   14585 
   14586 Implemented support for the new (ACPI 3.0) parameter to the Register 
   14587 macro, 
   14588 AccessSize.
   14589 
   14590 Fixed a problem where the _HE resource name for the Interrupt macro was 
   14591 referencing bit 0 instead of bit 1.
   14592 
   14593 Implemented check for maximum 255 interrupts in the Interrupt macro.
   14594 
   14595 Fixed a problem with the predefined resource descriptor names where 
   14596 incorrect AML code was generated if the offset within the resource buffer 
   14597 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
   14598 but did not update the surrounding package lengths.
   14599 
   14600 Changes to the Dma macro:  All channels within the channel list must be 
   14601 in 
   14602 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
   14603 optional (default is BusMaster).
   14604 
   14605 Implemented check for maximum 7 data bytes for the VendorShort macro.
   14606 
   14607 The ReadWrite parameter is now optional for the Memory32 and similar 
   14608 macros.
   14609 
   14610 ----------------------------------------
   14611 03 December 2004.  Summary of changes for version 20041203:
   14612 
   14613 1) ACPI CA Core Subsystem:
   14614 
   14615 The low-level field insertion/extraction code (exfldio) has been 
   14616 completely 
   14617 rewritten to eliminate unnecessary complexity, bugs, and boundary 
   14618 conditions.
   14619 
   14620 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
   14621 ToDecimalString 
   14622 operators where the input operand could be inadvertently deleted if no 
   14623 conversion was necessary (e.g., if the input to ToInteger was an Integer 
   14624 object.)
   14625 
   14626 Fixed a problem with the ToDecimalString and ToHexString where an 
   14627 incorrect 
   14628 exception code was returned if the resulting string would be > 200 chars.  
   14629 AE_STRING_LIMIT is now returned.
   14630 
   14631 Fixed a problem with the Concatenate operator where AE_OK was always 
   14632 returned, even if the operation failed.
   14633 
   14634 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
   14635 semaphores to be allocated.
   14636 
   14637 Code and Data Size: Current and previous core subsystem library sizes are 
   14638 shown below. These are the code and data sizes for the acpica.lib 
   14639 produced 
   14640 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14641 any ACPI driver or OSPM code. The debug version of the code includes the 
   14642 debug output trace mechanism and has a much larger code and data size. 
   14643 Note 
   14644 that these values will vary depending on the efficiency of the compiler 
   14645 and 
   14646 the compiler options used during generation.
   14647 
   14648   Previous Release:
   14649     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14650     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14651   Current Release:
   14652     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   14653     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   14654 
   14655 
   14656 2) iASL Compiler/Disassembler:
   14657 
   14658 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
   14659 recently introduced in 20041119.
   14660 
   14661 Fixed a problem with the ToUUID macro where the upper nybble of each 
   14662 buffer 
   14663 byte was inadvertently set to zero.
   14664 
   14665 ----------------------------------------
   14666 19 November 2004.  Summary of changes for version 20041119:
   14667 
   14668 1) ACPI CA Core Subsystem:
   14669 
   14670 Fixed a problem in the internal ConvertToInteger routine where new 
   14671 integers 
   14672 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
   14673 converts 
   14674 buffers and strings to integers.
   14675 
   14676 Implemented support to store a value to an Index() on a String object. 
   14677 This 
   14678 is an ACPI 2.0 feature that had not yet been implemented.
   14679 
   14680 Implemented new behavior for storing objects to individual package 
   14681 elements 
   14682 (via the Index() operator). The previous behavior was to invoke the 
   14683 implicit 
   14684 conversion rules if an object was already present at the index.  The new 
   14685 behavior is to simply delete any existing object and directly store the 
   14686 new 
   14687 object. Although the ACPI specification seems unclear on this subject, 
   14688 other 
   14689 ACPI implementations behave in this manner.  (This is the root of the 
   14690 AE_BAD_HEX_CONSTANT issue.)
   14691 
   14692 Modified the RSDP memory scan mechanism to support the extended checksum 
   14693 for 
   14694 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
   14695 RSDP signature is found with a valid checksum.
   14696 
   14697 Code and Data Size: Current and previous core subsystem library sizes are 
   14698 shown below. These are the code and data sizes for the acpica.lib 
   14699 produced 
   14700 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14701 any ACPI driver or OSPM code. The debug version of the code includes the 
   14702 debug output trace mechanism and has a much larger code and data size. 
   14703 Note 
   14704 that these values will vary depending on the efficiency of the compiler 
   14705 and 
   14706 the compiler options used during generation.
   14707 
   14708   Previous Release:
   14709     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14710     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14711   Current Release:
   14712     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14713     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14714 
   14715 
   14716 2) iASL Compiler/Disassembler:
   14717 
   14718 Fixed a missing semicolon in the aslcompiler.y file.
   14719 
   14720 ----------------------------------------
   14721 05 November 2004.  Summary of changes for version 20041105:
   14722 
   14723 1) ACPI CA Core Subsystem:
   14724 
   14725 Implemented support for FADT revision 2.  This was an interim table 
   14726 (between 
   14727 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
   14728 
   14729 Implemented optional support to allow uninitialized LocalX and ArgX 
   14730 variables in a control method.  The variables are initialized to an 
   14731 Integer 
   14732 object with a value of zero.  This support is enabled by setting the 
   14733 AcpiGbl_EnableInterpreterSlack flag to TRUE.
   14734 
   14735 Implemented support for Integer objects for the SizeOf operator.  Either 
   14736 4 
   14737 or 8 is returned, depending on the current integer size (32-bit or 64-
   14738 bit, 
   14739 depending on the parent table revision).
   14740 
   14741 Fixed a problem in the implementation of the SizeOf and ObjectType 
   14742 operators 
   14743 where the operand was resolved to a value too early, causing incorrect 
   14744 return values for some objects.
   14745 
   14746 Fixed some possible memory leaks during exceptional conditions.
   14747 
   14748 Code and Data Size: Current and previous core subsystem library sizes are 
   14749 shown below. These are the code and data sizes for the acpica.lib 
   14750 produced 
   14751 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14752 any ACPI driver or OSPM code. The debug version of the code includes the 
   14753 debug output trace mechanism and has a much larger code and data size. 
   14754 Note 
   14755 that these values will vary depending on the efficiency of the compiler 
   14756 and 
   14757 the compiler options used during generation.
   14758 
   14759   Previous Release:
   14760     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   14761     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   14762   Current Release:
   14763     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14764     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14765 
   14766 
   14767 2) iASL Compiler/Disassembler:
   14768 
   14769 Implemented support for all ACPI 3.0 reserved names and methods.
   14770 
   14771 Implemented all ACPI 3.0 grammar elements in the front-end, including 
   14772 support for semicolons.
   14773 
   14774 Implemented the ACPI 3.0 Function() and ToUUID() macros
   14775 
   14776 Fixed a problem in the disassembler where a Scope() operator would not be 
   14777 emitted properly if the target of the scope was in another table.
   14778 
   14779 ----------------------------------------
   14780 15 October 2004.  Summary of changes for version 20041015:
   14781 
   14782 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
   14783 evaluation to test/verify the following areas. Other suggestions are 
   14784 welcome. This will result in an increase in the frequency of releases and 
   14785 the number of bug fixes in the next few months.
   14786   - Functional tests for all ASL/AML operators
   14787   - All implicit/explicit type conversions
   14788   - Bit fields and operation regions
   14789   - 64-bit math support and 32-bit-only "truncated" math support
   14790   - Exceptional conditions, both compiler and interpreter
   14791   - Dynamic object deletion and memory leaks
   14792   - ACPI 3.0 support when implemented
   14793   - External interfaces to the ACPI subsystem
   14794 
   14795 
   14796 1) ACPI CA Core Subsystem:
   14797 
   14798 Fixed two alignment issues on 64-bit platforms - within debug statements 
   14799 in 
   14800 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
   14801 Address 
   14802 field within the non-aligned ACPI generic address structure.
   14803 
   14804 Fixed a problem in the Increment and Decrement operators where incorrect 
   14805 operand resolution could result in the inadvertent modification of the 
   14806 original integer when the integer is passed into another method as an 
   14807 argument and the arg is then incremented/decremented.
   14808 
   14809 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
   14810 bit 
   14811 BCD number were truncated during conversion.
   14812 
   14813 Fixed a problem in the ToDecimal operator where the length of the 
   14814 resulting 
   14815 string could be set incorrectly too long if the input operand was a 
   14816 Buffer 
   14817 object.
   14818 
   14819 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
   14820 (0) 
   14821 within a buffer would prematurely terminate a compare between buffer 
   14822 objects.
   14823 
   14824 Added a check for string overflow (>200 characters as per the ACPI 
   14825 specification) during the Concatenate operator with two string operands.
   14826 
   14827 Code and Data Size: Current and previous core subsystem library sizes are 
   14828 shown below. These are the code and data sizes for the acpica.lib 
   14829 produced 
   14830 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14831 any ACPI driver or OSPM code. The debug version of the code includes the 
   14832 debug output trace mechanism and has a much larger code and data size. 
   14833 Note 
   14834 that these values will vary depending on the efficiency of the compiler 
   14835 and 
   14836 the compiler options used during generation.
   14837 
   14838   Previous Release:
   14839     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   14840     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   14841   Current Release:
   14842     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   14843     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   14844 
   14845 
   14846 
   14847 2) iASL Compiler/Disassembler:
   14848 
   14849 Allow the use of the ObjectType operator on uninitialized Locals and Args 
   14850 (returns 0 as per the ACPI specification).
   14851 
   14852 Fixed a problem where the compiler would fault if there was a syntax 
   14853 error 
   14854 in the FieldName of all of the various CreateXXXField operators.
   14855 
   14856 Disallow the use of lower case letters within the EISAID macro, as per 
   14857 the 
   14858 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
   14859 Where 
   14860 U is an uppercase letter and N is a hex digit.
   14861 
   14862 
   14863 ----------------------------------------
   14864 06 October 2004.  Summary of changes for version 20041006:
   14865 
   14866 1) ACPI CA Core Subsystem:
   14867 
   14868 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
   14869 implements a 64-bit timer with 100 nanosecond granularity.
   14870 
   14871 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
   14872 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
   14873 implement 
   14874 the timer with the best clock available. Also, it keeps the core 
   14875 subsystem 
   14876 out of the clock handling business, since the host OS (usually) performs 
   14877 this function.
   14878 
   14879 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
   14880 functions use a 64-bit address which is part of the packed ACPI Generic 
   14881 Address Structure. Since the structure is non-aligned, the alignment 
   14882 macros 
   14883 are now used to extract the address to a local variable before use.
   14884 
   14885 Fixed a problem where the ToInteger operator assumed all input strings 
   14886 were 
   14887 hexadecimal. The operator now handles both decimal strings and hex 
   14888 strings 
   14889 (prefixed with "0x").
   14890 
   14891 Fixed a problem where the string length in the string object created as a 
   14892 result of the internal ConvertToString procedure could be incorrect. This 
   14893 potentially affected all implicit conversions and also the 
   14894 ToDecimalString 
   14895 and ToHexString operators.
   14896 
   14897 Fixed two problems in the ToString operator. If the length parameter was 
   14898 zero, an incorrect string object was created and the value of the input 
   14899 length parameter was inadvertently changed from zero to Ones.
   14900 
   14901 Fixed a problem where the optional ResourceSource string in the 
   14902 ExtendedIRQ 
   14903 resource macro was ignored.
   14904 
   14905 Simplified the interfaces to the internal division functions, reducing 
   14906 code 
   14907 size and complexity.
   14908 
   14909 Code and Data Size: Current and previous core subsystem library sizes are 
   14910 shown below. These are the code and data sizes for the acpica.lib 
   14911 produced 
   14912 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14913 any ACPI driver or OSPM code. The debug version of the code includes the 
   14914 debug output trace mechanism and has a much larger code and data size. 
   14915 Note 
   14916 that these values will vary depending on the efficiency of the compiler 
   14917 and 
   14918 the compiler options used during generation.
   14919 
   14920   Previous Release:
   14921     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   14922     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   14923   Current Release:
   14924     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   14925     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   14926 
   14927 
   14928 2) iASL Compiler/Disassembler:
   14929 
   14930 Implemented support for the ACPI 3.0 Timer operator.
   14931 
   14932 Fixed a problem where the Default() operator was inadvertently ignored in 
   14933 a 
   14934 Switch/Case block.  This was a problem in the translation of the Switch 
   14935 statement to If...Else pairs.
   14936 
   14937 Added support to allow a standalone Return operator, with no parentheses 
   14938 (or 
   14939 operands).
   14940 
   14941 Fixed a problem with code generation for the ElseIf operator where the 
   14942 translated Else...If parse tree was improperly constructed leading to the 
   14943 loss of some code.
   14944 
   14945 ----------------------------------------
   14946 22 September 2004.  Summary of changes for version 20040922:
   14947 
   14948 1) ACPI CA Core Subsystem:
   14949 
   14950 Fixed a problem with the implementation of the LNot() operator where 
   14951 "Ones" 
   14952 was not returned for the TRUE case. Changed the code to return Ones 
   14953 instead 
   14954 of (!Arg) which was usually 1. This change affects iASL constant folding 
   14955 for 
   14956 this operator also.
   14957 
   14958 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
   14959 not 
   14960 initialized properly -- Now zero the entire buffer in this case where the 
   14961 buffer already exists.
   14962 
   14963 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
   14964 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
   14965 related code considerably. This will require changes/updates to all OS 
   14966 interface layers (OSLs.)
   14967 
   14968 Implemented a new external interface, AcpiInstallExceptionHandler, to 
   14969 allow 
   14970 a system exception handler to be installed. This handler is invoked upon 
   14971 any 
   14972 run-time exception that occurs during control method execution.
   14973 
   14974 Added support for the DSDT in AcpiTbFindTable. This allows the 
   14975 DataTableRegion() operator to access the local copy of the DSDT.
   14976 
   14977 Code and Data Size: Current and previous core subsystem library sizes are 
   14978 shown below. These are the code and data sizes for the acpica.lib 
   14979 produced 
   14980 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14981 any ACPI driver or OSPM code. The debug version of the code includes the 
   14982 debug output trace mechanism and has a much larger code and data size. 
   14983 Note 
   14984 that these values will vary depending on the efficiency of the compiler 
   14985 and 
   14986 the compiler options used during generation.
   14987 
   14988   Previous Release:
   14989     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   14990     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   14991   Current Release:
   14992     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   14993     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   14994 
   14995 
   14996 2) iASL Compiler/Disassembler:
   14997 
   14998 Fixed a problem with constant folding and the LNot operator. LNot was 
   14999 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
   15000 This 
   15001 could result in the generation of an incorrect folded/reduced constant.
   15002 
   15003 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
   15004 longer occurs if such a comment is at the very end of the input ASL 
   15005 source 
   15006 file.
   15007 
   15008 Implemented the "-r" option to override the Revision in the table header. 
   15009 The initial use of this option will be to simplify the evaluation of the 
   15010 AML 
   15011 interpreter by allowing a single ASL source module to be compiled for 
   15012 either 
   15013 32-bit or 64-bit integers.
   15014 
   15015 
   15016 ----------------------------------------
   15017 27 August 2004.  Summary of changes for version 20040827:
   15018 
   15019 1) ACPI CA Core Subsystem:
   15020 
   15021 - Implemented support for implicit object conversion in the non-numeric 
   15022 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
   15023 and 
   15024 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
   15025 the second operand is implicitly converted on the fly to match the type 
   15026 of 
   15027 the first operand.  For example:
   15028 
   15029     LEqual (Source1, Source2)
   15030 
   15031 Source1 and Source2 must each evaluate to an integer, a string, or a 
   15032 buffer. 
   15033 The data type of Source1 dictates the required type of Source2. Source2 
   15034 is 
   15035 implicitly converted if necessary to match the type of Source1.
   15036 
   15037 - Updated and corrected the behavior of the string conversion support.  
   15038 The 
   15039 rules concerning conversion of buffers to strings (according to the ACPI 
   15040 specification) are as follows:
   15041 
   15042 ToDecimalString - explicit byte-wise conversion of buffer to string of 
   15043 decimal values (0-255) separated by commas. ToHexString - explicit byte-
   15044 wise 
   15045 conversion of buffer to string of hex values (0-FF) separated by commas. 
   15046 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
   15047 byte 
   15048 copy with no transform except NULL terminated. Any other implicit buffer-
   15049 to-
   15050 string conversion - byte-wise conversion of buffer to string of hex 
   15051 values 
   15052 (0-FF) separated by spaces.
   15053 
   15054 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
   15055 
   15056 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
   15057 was 
   15058 one byte too short in the case of a node in the root scope.  This could 
   15059 cause a fault during debug output.
   15060 
   15061 - Code and Data Size: Current and previous core subsystem library sizes 
   15062 are 
   15063 shown below.  These are the code and data sizes for the acpica.lib 
   15064 produced 
   15065 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15066 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15067 debug output trace mechanism and has a much larger code and data size.  
   15068 Note 
   15069 that these values will vary depending on the efficiency of the compiler 
   15070 and 
   15071 the compiler options used during generation.
   15072 
   15073   Previous Release:
   15074     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   15075     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   15076   Current Release:
   15077     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   15078     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   15079 
   15080 
   15081 2) iASL Compiler/Disassembler:
   15082 
   15083 - Fixed a Linux generation error.
   15084 
   15085 
   15086 ----------------------------------------
   15087 16 August 2004.  Summary of changes for version 20040816:
   15088 
   15089 1) ACPI CA Core Subsystem:
   15090 
   15091 Designed and implemented support within the AML interpreter for the so-
   15092 called "implicit return".  This support returns the result of the last 
   15093 ASL 
   15094 operation within a control method, in the absence of an explicit Return() 
   15095 operator.  A few machines depend on this behavior, even though it is not 
   15096 explicitly supported by the ASL language.  It is optional support that 
   15097 can 
   15098 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
   15099 
   15100 Removed support for the PCI_Config address space from the internal low 
   15101 level 
   15102 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
   15103 support was not used internally, and would not work correctly anyway 
   15104 because 
   15105 the PCI bus number and segment number were not supported.  There are 
   15106 separate interfaces for PCI configuration space access because of the 
   15107 unique 
   15108 interface.
   15109 
   15110 Code and Data Size: Current and previous core subsystem library sizes are 
   15111 shown below.  These are the code and data sizes for the acpica.lib 
   15112 produced 
   15113 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15114 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15115 debug output trace mechanism and has a much larger code and data size.  
   15116 Note 
   15117 that these values will vary depending on the efficiency of the compiler 
   15118 and 
   15119 the compiler options used during generation.
   15120 
   15121   Previous Release:
   15122     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   15123     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   15124   Current Release:
   15125     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   15126     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   15127 
   15128 
   15129 2) iASL Compiler/Disassembler:
   15130 
   15131 Fixed a problem where constants in ASL expressions at the root level (not 
   15132 within a control method) could be inadvertently truncated during code 
   15133 generation.  This problem was introduced in the 20040715 release.
   15134 
   15135 
   15136 ----------------------------------------
   15137 15 July 2004.  Summary of changes for version 20040715:
   15138 
   15139 1) ACPI CA Core Subsystem:
   15140 
   15141 Restructured the internal HW GPE interfaces to pass/track the current 
   15142 state 
   15143 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
   15144 increase flexibility of the interfaces.
   15145 
   15146 Implemented a "lexicographical compare" for String and Buffer objects 
   15147 within 
   15148 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
   15149 - 
   15150 as per further clarification to the ACPI specification.  Behavior is 
   15151 similar 
   15152 to C library "strcmp".
   15153 
   15154 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
   15155 external function.  In the 32-bit non-debug case, the stack use has been 
   15156 reduced from 168 bytes to 32 bytes.
   15157 
   15158 Deployed a new run-time configuration flag, 
   15159 AcpiGbl_EnableInterpreterSlack, 
   15160 whose purpose is to allow the AML interpreter to forgive certain bad AML 
   15161 constructs.  Default setting is FALSE.
   15162 
   15163 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
   15164 IO 
   15165 support code.  If enabled, it allows field access to go beyond the end of 
   15166 a 
   15167 region definition if the field is within the region length rounded up to 
   15168 the 
   15169 next access width boundary (a common coding error.)
   15170 
   15171 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
   15172 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
   15173 these 
   15174 symbols are lowercase by the latest version of the AcpiSrc tool.
   15175 
   15176 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
   15177 rename "Register" to simply "Reg" to prevent certain compilers from 
   15178 complaining.
   15179 
   15180 Code and Data Size: Current and previous core subsystem library sizes are 
   15181 shown below.  These are the code and data sizes for the acpica.lib 
   15182 produced 
   15183 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15184 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15185 debug output trace mechanism and has a much larger code and data size.  
   15186 Note 
   15187 that these values will vary depending on the efficiency of the compiler 
   15188 and 
   15189 the compiler options used during generation.
   15190 
   15191   Previous Release:
   15192     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   15193     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   15194   Current Release:
   15195     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   15196     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   15197 
   15198 
   15199 2) iASL Compiler/Disassembler:
   15200 
   15201 Implemented full support for Package objects within the Case() operator.  
   15202 Note: The Break() operator is currently not supported within Case blocks 
   15203 (TermLists) as there is some question about backward compatibility with 
   15204 ACPI 
   15205 1.0 interpreters.
   15206 
   15207 
   15208 Fixed a problem where complex terms were not supported properly within 
   15209 the 
   15210 Switch() operator.
   15211 
   15212 Eliminated extraneous warning for compiler-emitted reserved names of the 
   15213 form "_T_x".  (Used in Switch/Case operators.)
   15214 
   15215 Eliminated optimization messages for "_T_x" objects and small constants 
   15216 within the DefinitionBlock operator.
   15217 
   15218 
   15219 ----------------------------------------
   15220 15 June 2004.  Summary of changes for version 20040615:
   15221 
   15222 1) ACPI CA Core Subsystem:
   15223 
   15224 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   15225 the 
   15226 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   15227 LLessEqual.
   15228 
   15229 All directory names in the entire source package are lower case, as they 
   15230 were in earlier releases.
   15231 
   15232 Implemented "Disassemble" command in the AML debugger that will 
   15233 disassemble 
   15234 a single control method.
   15235 
   15236 Code and Data Size: Current and previous core subsystem library sizes are 
   15237 shown below.  These are the code and data sizes for the acpica.lib 
   15238 produced 
   15239 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15240 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15241 debug output trace mechanism and has a much larger code and data size.  
   15242 Note 
   15243 that these values will vary depending on the efficiency of the compiler 
   15244 and 
   15245 the compiler options used during generation.
   15246 
   15247   Previous Release:
   15248     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   15249     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   15250 
   15251   Current Release:
   15252     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   15253     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   15254 
   15255 
   15256 2) iASL Compiler/Disassembler:
   15257 
   15258 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   15259 the 
   15260 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   15261 LLessEqual.
   15262 
   15263 All directory names in the entire source package are lower case, as they 
   15264 were in earlier releases.
   15265 
   15266 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
   15267 not found.
   15268 
   15269 Fixed an issue with the Windows version of the compiler where later 
   15270 versions 
   15271 of Windows place the FADT in the registry under the name "FADT" and not 
   15272 "FACP" as earlier versions did.  This applies when using the -g or -
   15273 d<nofilename> options.  The compiler now looks for both strings as 
   15274 necessary.
   15275 
   15276 Fixed a problem with compiler namepath optimization where a namepath 
   15277 within 
   15278 the Scope() operator could not be optimized if the namepath was a subpath 
   15279 of 
   15280 the current scope path.
   15281 
   15282 ----------------------------------------
   15283 27 May 2004.  Summary of changes for version 20040527:
   15284 
   15285 1) ACPI CA Core Subsystem:
   15286 
   15287 Completed a new design and implementation for EBDA (Extended BIOS Data 
   15288 Area) 
   15289 support in the RSDP scan code.  The original code improperly scanned for 
   15290 the 
   15291 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
   15292 method 
   15293 is to first obtain the EBDA pointer from within the BIOS data area, then 
   15294 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
   15295 if 
   15296 any machines that place the RSDP in the EBDA, however.
   15297 
   15298 Integrated a fix for a possible fault during evaluation of BufferField 
   15299 arguments.  Obsolete code that was causing the problem was removed.
   15300 
   15301 Found and fixed a problem in the Field Support Code where data could be 
   15302 corrupted on a bit field read that starts on an aligned boundary but does 
   15303 not end on an aligned boundary.  Merged the read/write "datum length" 
   15304 calculation code into a common procedure.
   15305 
   15306 Rolled in a couple of changes to the FreeBSD-specific header.
   15307 
   15308 
   15309 Code and Data Size: Current and previous core subsystem library sizes are 
   15310 shown below.  These are the code and data sizes for the acpica.lib 
   15311 produced 
   15312 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15313 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15314 debug output trace mechanism and has a much larger code and data size.  
   15315 Note 
   15316 that these values will vary depending on the efficiency of the compiler 
   15317 and 
   15318 the compiler options used during generation.
   15319 
   15320   Previous Release:
   15321     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   15322     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   15323   Current Release:
   15324     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   15325     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   15326 
   15327 
   15328 2) iASL Compiler/Disassembler:
   15329 
   15330 Fixed a generation warning produced by some overly-verbose compilers for 
   15331 a 
   15332 64-bit constant.
   15333 
   15334 ----------------------------------------
   15335 14 May 2004.  Summary of changes for version 20040514:
   15336 
   15337 1) ACPI CA Core Subsystem:
   15338 
   15339 Fixed a problem where hardware GPE enable bits sometimes not set properly 
   15340 during and after GPE method execution.  Result of 04/27 changes.
   15341 
   15342 Removed extra "clear all GPEs" when sleeping/waking.
   15343 
   15344 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
   15345 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
   15346 to 
   15347 the new AcpiEv* calls as appropriate.
   15348 
   15349 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
   15350 is 
   15351 now "Microsoft Windows NT" for maximum compatibility.  However this can 
   15352 be 
   15353 changed by modifying the acconfig.h file.
   15354 
   15355 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
   15356 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
   15357 
   15358 Run _INI methods on ThermalZone objects.  This is against the ACPI 
   15359 specification, but there is apparently ASL code in the field that has 
   15360 these 
   15361 _INI methods, and apparently "other" AML interpreters execute them.
   15362 
   15363 Performed a full 16/32/64 bit lint that resulted in some small changes.
   15364 
   15365 Added a sleep simulation command to the AML debugger to test sleep code. 
   15366 
   15367 Code and Data Size: Current and previous core subsystem library sizes are 
   15368 shown below.  These are the code and data sizes for the acpica.lib 
   15369 produced 
   15370 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15371 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15372 debug output trace mechanism and has a much larger code and data size.  
   15373 Note 
   15374 that these values will vary depending on the efficiency of the compiler 
   15375 and 
   15376 the compiler options used during generation.
   15377 
   15378   Previous Release:
   15379     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   15380     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   15381   Current Release:
   15382     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   15383     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   15384 
   15385 ----------------------------------------
   15386 27 April 2004.  Summary of changes for version 20040427:
   15387 
   15388 1) ACPI CA Core Subsystem:
   15389 
   15390 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
   15391 now three types of GPEs:  wake-only, runtime-only, and combination 
   15392 wake/run.  
   15393 The only GPEs allowed to be combination wake/run are for button-style 
   15394 devices such as a control-method power button, control-method sleep 
   15395 button, 
   15396 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
   15397 not 
   15398 referenced by any _PRW methods are marked for "runtime" and hardware 
   15399 enabled.  Any GPE that is referenced by a _PRW method is marked for 
   15400 "wake" 
   15401 (and disabled at runtime).  However, at sleep time, only those GPEs that 
   15402 have been specifically enabled for wake via the AcpiEnableGpe interface 
   15403 will 
   15404 actually be hardware enabled.
   15405 
   15406 A new external interface has been added, AcpiSetGpeType(), that is meant 
   15407 to 
   15408 be used by device drivers to force a GPE to a particular type.  It will 
   15409 be 
   15410 especially useful for the drivers for the button devices mentioned above.
   15411 
   15412 Completed restructuring of the ACPI CA initialization sequence so that 
   15413 default operation region handlers are installed before GPEs are 
   15414 initialized 
   15415 and the _PRW methods are executed.  This will prevent errors when the 
   15416 _PRW 
   15417 methods attempt to access system memory or I/O space.
   15418 
   15419 GPE enable/disable no longer reads the GPE enable register.  We now keep 
   15420 the 
   15421 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
   15422 thus no longer depend on the hardware to maintain these bits.
   15423 
   15424 Always clear the wake status and fixed/GPE status bits before sleep, even 
   15425 for state S5.
   15426 
   15427 Improved the AML debugger output for displaying the GPE blocks and their 
   15428 current status.
   15429 
   15430 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
   15431 where 
   15432 x = 0,1,2,3,4.
   15433 
   15434 Fixed a problem where the physical address was incorrectly calculated 
   15435 when 
   15436 the Load() operator was used to directly load from an Operation Region 
   15437 (vs. 
   15438 loading from a Field object.)  Also added check for minimum table length 
   15439 for 
   15440 this case.
   15441 
   15442 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
   15443 mutex release.
   15444 
   15445 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
   15446 consistency with the other fields returned.
   15447 
   15448 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
   15449 structure for each GPE in the system, so the size of this structure is 
   15450 important.
   15451 
   15452 CPU stack requirement reduction:  Cleaned up the method execution and 
   15453 object 
   15454 evaluation paths so that now a parameter structure is passed, instead of 
   15455 copying the various method parameters over and over again.
   15456 
   15457 In evregion.c:  Correctly exit and reenter the interpreter region if and 
   15458 only if dispatching an operation region request to a user-installed 
   15459 handler.  
   15460 Do not exit/reenter when dispatching to a default handler (e.g., default 
   15461 system memory or I/O handlers)
   15462 
   15463 
   15464 Notes for updating drivers for the new GPE support.  The following 
   15465 changes 
   15466 must be made to ACPI-related device drivers that are attached to one or 
   15467 more 
   15468 GPEs: (This information will be added to the ACPI CA Programmer 
   15469 Reference.)
   15470 
   15471 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
   15472 must 
   15473 explicitly call AcpiEnableGpe.
   15474 2) There is a new interface called AcpiSetGpeType. This should be called 
   15475 before enabling the GPE.  Also, this interface will automatically disable 
   15476 the GPE if it is currently enabled.
   15477 3) AcpiEnableGpe no longer supports a GPE type flag.
   15478 
   15479 Specific drivers that must be changed:
   15480 1) EC driver:
   15481     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
   15482 AeGpeHandler, NULL);
   15483     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
   15484     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
   15485 
   15486 2) Button Drivers (Power, Lid, Sleep):
   15487 Run _PRW method under parent device
   15488 If _PRW exists: /* This is a control-method button */
   15489     Extract GPE number and possibly GpeDevice
   15490     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
   15491     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
   15492 
   15493 For all other devices that have _PRWs, we automatically set the GPE type 
   15494 to 
   15495 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
   15496 This 
   15497 must be done on a selective basis, usually requiring some kind of user 
   15498 app 
   15499 to allow the user to pick the wake devices.
   15500 
   15501 
   15502 Code and Data Size: Current and previous core subsystem library sizes are 
   15503 shown below.  These are the code and data sizes for the acpica.lib 
   15504 produced 
   15505 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15506 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15507 debug output trace mechanism and has a much larger code and data size.  
   15508 Note 
   15509 that these values will vary depending on the efficiency of the compiler 
   15510 and 
   15511 the compiler options used during generation.
   15512 
   15513   Previous Release:
   15514     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   15515     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   15516   Current Release:
   15517 
   15518     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   15519     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   15520 
   15521 
   15522 
   15523 ----------------------------------------
   15524 02 April 2004.  Summary of changes for version 20040402:
   15525 
   15526 1) ACPI CA Core Subsystem:
   15527 
   15528 Fixed an interpreter problem where an indirect store through an ArgX 
   15529 parameter was incorrectly applying the "implicit conversion rules" during 
   15530 the store.  From the ACPI specification: "If the target is a method local 
   15531 or 
   15532 argument (LocalX or ArgX), no conversion is performed and the result is 
   15533 stored directly to the target".  The new behavior is to disable implicit 
   15534 conversion during ALL stores to an ArgX.
   15535 
   15536 Changed the behavior of the _PRW method scan to ignore any and all errors 
   15537 returned by a given _PRW.  This prevents the scan from aborting from the 
   15538 failure of any single _PRW.
   15539 
   15540 Moved the runtime configuration parameters from the global init procedure 
   15541 to 
   15542 static variables in acglobal.h.  This will allow the host to override the 
   15543 default values easily.
   15544 
   15545 Code and Data Size: Current and previous core subsystem library sizes are 
   15546 shown below.  These are the code and data sizes for the acpica.lib 
   15547 produced 
   15548 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15549 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15550 debug output trace mechanism and has a much larger code and data size.  
   15551 Note 
   15552 that these values will vary depending on the efficiency of the compiler 
   15553 and 
   15554 the compiler options used during generation.
   15555 
   15556   Previous Release:
   15557     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   15558     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   15559   Current Release:
   15560     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   15561     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   15562 
   15563 
   15564 2) iASL Compiler/Disassembler:
   15565 
   15566 iASL now fully disassembles SSDTs.  However, External() statements are 
   15567 not 
   15568 generated automatically for unresolved symbols at this time.  This is a 
   15569 planned feature for future implementation.
   15570 
   15571 Fixed a scoping problem in the disassembler that occurs when the type of 
   15572 the 
   15573 target of a Scope() operator is overridden.  This problem caused an 
   15574 incorrectly nested internal namespace to be constructed.
   15575 
   15576 Any warnings or errors that are emitted during disassembly are now 
   15577 commented 
   15578 out automatically so that the resulting file can be recompiled without 
   15579 any 
   15580 hand editing.
   15581 
   15582 ----------------------------------------
   15583 26 March 2004.  Summary of changes for version 20040326:
   15584 
   15585 1) ACPI CA Core Subsystem:
   15586 
   15587 Implemented support for "wake" GPEs via interaction between GPEs and the 
   15588 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
   15589 identified as a WAKE GPE and by default will no longer be enabled at 
   15590 runtime.  Previously, we were blindly enabling all GPEs with a 
   15591 corresponding 
   15592 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
   15593 We 
   15594 believe this has been the cause of thousands of "spurious" GPEs on some 
   15595 systems.
   15596 
   15597 This new GPE behavior is can be reverted to the original behavior (enable 
   15598 ALL GPEs at runtime) via a runtime flag.
   15599 
   15600 Fixed a problem where aliased control methods could not access objects 
   15601 properly.  The proper scope within the namespace was not initialized 
   15602 (transferred to the target of the aliased method) before executing the 
   15603 target method.
   15604 
   15605 Fixed a potential race condition on internal object deletion on the 
   15606 return 
   15607 object in AcpiEvaluateObject. 
   15608 
   15609 Integrated a fix for resource descriptors where both _MEM and _MTP were 
   15610 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
   15611 wide, 0x0F instead of 0x03.)
   15612 
   15613 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
   15614 preventing 
   15615 a 
   15616 fault in some cases.
   15617 
   15618 Updated Notify() values for debug statements in evmisc.c
   15619 
   15620 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
   15621 
   15622 Code and Data Size: Current and previous core subsystem library sizes are 
   15623 shown below.  These are the code and data sizes for the acpica.lib 
   15624 produced 
   15625 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15626 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15627 debug output trace mechanism and has a much larger code and data size.  
   15628 Note 
   15629 that these values will vary depending on the efficiency of the compiler 
   15630 and 
   15631 the compiler options used during generation.
   15632 
   15633   Previous Release:
   15634 
   15635     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   15636     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   15637   Current Release:
   15638     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   15639     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   15640 
   15641 ----------------------------------------
   15642 11 March 2004.  Summary of changes for version 20040311:
   15643 
   15644 1) ACPI CA Core Subsystem:
   15645 
   15646 Fixed a problem where errors occurring during the parse phase of control 
   15647 method execution did not abort cleanly.  For example, objects created and 
   15648 installed in the namespace were not deleted.  This caused all subsequent 
   15649 invocations of the method to return the AE_ALREADY_EXISTS exception.
   15650 
   15651 Implemented a mechanism to force a control method to "Serialized" 
   15652 execution 
   15653 if the method attempts to create namespace objects. (The root of the 
   15654 AE_ALREADY_EXISTS problem.)
   15655 
   15656 Implemented support for the predefined _OSI "internal" control method.  
   15657 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
   15658 and 
   15659 "Windows 2001.1", and can be easily upgraded for new strings as 
   15660 necessary.  
   15661 This feature will allow "other" operating systems to execute the fully 
   15662 tested, "Windows" code path through the ASL code
   15663 
   15664 Global Lock Support:  Now allows multiple acquires and releases with any 
   15665 internal thread.  Removed concept of "owning thread" for this special 
   15666 mutex.
   15667 
   15668 Fixed two functions that were inappropriately declaring large objects on 
   15669 the 
   15670 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
   15671 during 
   15672 method execution considerably.
   15673 
   15674 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
   15675 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
   15676 
   15677 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
   15678 defined on the machine.
   15679 
   15680 Implemented two runtime options:  One to force all control method 
   15681 execution 
   15682 to "Serialized" to mimic Windows behavior, another to disable _OSI 
   15683 support 
   15684 if it causes problems on a given machine.
   15685 
   15686 Code and Data Size: Current and previous core subsystem library sizes are 
   15687 shown below.  These are the code and data sizes for the acpica.lib 
   15688 produced 
   15689 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15690 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15691 debug output trace mechanism and has a much larger code and data size.  
   15692 Note 
   15693 that these values will vary depending on the efficiency of the compiler 
   15694 and 
   15695 the compiler options used during generation.
   15696 
   15697   Previous Release:
   15698     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   15699     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   15700   Current Release:
   15701     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   15702     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   15703 
   15704 2) iASL Compiler/Disassembler:
   15705 
   15706 Fixed an array size problem for FreeBSD that would cause the compiler to 
   15707 fault.
   15708 
   15709 ----------------------------------------
   15710 20 February 2004.  Summary of changes for version 20040220:
   15711 
   15712 
   15713 1) ACPI CA Core Subsystem:
   15714 
   15715 Implemented execution of _SxD methods for Device objects in the 
   15716 GetObjectInfo interface.
   15717 
   15718 Fixed calls to _SST method to pass the correct arguments.
   15719 
   15720 Added a call to _SST on wake to restore to "working" state.
   15721 
   15722 Check for End-Of-Buffer failure case in the WalkResources interface.
   15723 
   15724 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
   15725 structures to the beginning of the file.
   15726 
   15727 After wake, clear GPE status register(s) before enabling GPEs.
   15728 
   15729 After wake, clear/enable power button.  (Perhaps we should clear/enable 
   15730 all 
   15731 fixed events upon wake.)
   15732 
   15733 Fixed a couple of possible memory leaks in the Namespace manager.
   15734 
   15735 Integrated latest acnetbsd.h file.
   15736 
   15737 ----------------------------------------
   15738 11 February 2004.  Summary of changes for version 20040211:
   15739 
   15740 
   15741 1) ACPI CA Core Subsystem:
   15742 
   15743 Completed investigation and implementation of the call-by-reference 
   15744 mechanism for control method arguments.
   15745 
   15746 Fixed a problem where a store of an object into an indexed package could 
   15747 fail if the store occurs within a different method than the method that 
   15748 created the package.
   15749 
   15750 Fixed a problem where the ToDecimal operator could return incorrect 
   15751 results.
   15752 
   15753 Fixed a problem where the CopyObject operator could fail on some of the 
   15754 more 
   15755 obscure objects (e.g., Reference objects.)
   15756 
   15757 Improved the output of the Debug object to display buffer, package, and 
   15758 index objects.
   15759 
   15760 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
   15761 return 
   15762 the expected result.
   15763 
   15764 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
   15765 ACPI_AML_INTERNAL exception.
   15766 
   15767 Integrated latest version of acfreebsd.h
   15768 
   15769 ----------------------------------------
   15770 16 January 2004.  Summary of changes for version 20040116:
   15771 
   15772 The purpose of this release is primarily to update the copyright years in 
   15773 each module, thus causing a huge number of diffs.  There are a few small 
   15774 functional changes, however.
   15775 
   15776 1) ACPI CA Core Subsystem:
   15777 
   15778 Improved error messages when there is a problem finding one or more of 
   15779 the 
   15780 required base ACPI tables
   15781 
   15782 Reintroduced the definition of APIC_HEADER in actbl.h
   15783 
   15784 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
   15785 
   15786 Removed extraneous reference to NewObj in dsmthdat.c
   15787 
   15788 2) iASL compiler
   15789 
   15790 Fixed a problem introduced in December that disabled the correct 
   15791 disassembly 
   15792 of Resource Templates
   15793 
   15794 
   15795 ----------------------------------------
   15796 03 December 2003.  Summary of changes for version 20031203:
   15797 
   15798 1) ACPI CA Core Subsystem:
   15799 
   15800 Changed the initialization of Operation Regions during subsystem
   15801 init to perform two entire walks of the ACPI namespace; The first
   15802 to initialize the regions themselves, the second to execute the
   15803 _REG methods.  This fixed some interdependencies across _REG
   15804 methods found on some machines.
   15805 
   15806 Fixed a problem where a Store(Local0, Local1) could simply update
   15807 the object reference count, and not create a new copy of the
   15808 object if the Local1 is uninitialized.
   15809 
   15810 Implemented support for the _SST reserved method during sleep
   15811 transitions.
   15812 
   15813 Implemented support to clear the SLP_TYP and SLP_EN bits when
   15814 waking up, this is apparently required by some machines.
   15815 
   15816 When sleeping, clear the wake status only if SleepState is not S5.
   15817 
   15818 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
   15819 pointer arithmetic advanced a string pointer too far.
   15820 
   15821 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
   15822 could be returned if the requested table has not been loaded.
   15823 
   15824 Within the support for IRQ resources, restructured the handling of
   15825 the active and edge/level bits.
   15826 
   15827 Fixed a few problems in AcpiPsxExecute() where memory could be
   15828 leaked under certain error conditions.
   15829 
   15830 Improved error messages for the cases where the ACPI mode could
   15831 not be entered.
   15832 
   15833 Code and Data Size: Current and previous core subsystem library
   15834 sizes are shown below.  These are the code and data sizes for the
   15835 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15836 these values do not include any ACPI driver or OSPM code.  The
   15837 debug version of the code includes the debug output trace
   15838 mechanism and has a much larger code and data size.  Note that
   15839 these values will vary depending on the efficiency of the compiler
   15840 and the compiler options used during generation.
   15841 
   15842   Previous Release (20031029):
   15843     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   15844     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   15845   Current Release:
   15846     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   15847     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   15848 
   15849 2) iASL Compiler/Disassembler:
   15850 
   15851 Implemented a fix for the iASL disassembler where a bad index was
   15852 generated.  This was most noticeable on 64-bit platforms
   15853 
   15854 
   15855 ----------------------------------------
   15856 29 October 2003.  Summary of changes for version 20031029:
   15857 
   15858 1) ACPI CA Core Subsystem:
   15859 
   15860 
   15861 Fixed a problem where a level-triggered GPE with an associated
   15862 _Lxx control method was incorrectly cleared twice.
   15863 
   15864 Fixed a problem with the Field support code where an access can
   15865 occur beyond the end-of-region if the field is non-aligned but
   15866 extends to the very end of the parent region (resulted in an
   15867 AE_AML_REGION_LIMIT exception.)
   15868 
   15869 Fixed a problem with ACPI Fixed Events where an RT Clock handler
   15870 would not get invoked on an RTC event.  The RTC event bitmasks for
   15871 the PM1 registers were not being initialized properly.
   15872 
   15873 Implemented support for executing _STA and _INI methods for
   15874 Processor objects.  Although this is currently not part of the
   15875 ACPI specification, there is existing ASL code that depends on the
   15876 init-time execution of these methods.
   15877 
   15878 Implemented and deployed a GetDescriptorName function to decode
   15879 the various types of internal descriptors.  Guards against null
   15880 descriptors during debug output also.
   15881 
   15882 Implemented and deployed a GetNodeName function to extract the 4-
   15883 character namespace node name.  This function simplifies the debug
   15884 and error output, as well as guarding against null pointers during
   15885 output.
   15886 
   15887 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
   15888 simplify the debug and error output of 64-bit integers.  This
   15889 macro replaces the HIDWORD and LODWORD macros for dumping these
   15890 integers.
   15891 
   15892 Updated the implementation of the Stall() operator to only call
   15893 AcpiOsStall(), and also return an error if the operand is larger
   15894 than 255.  This preserves the required behavior of not
   15895 relinquishing the processor, as would happen if AcpiOsSleep() was
   15896 called for "long stalls".
   15897 
   15898 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
   15899 initialized are now treated as NOOPs.
   15900 
   15901 Cleaned up a handful of warnings during 64-bit generation.
   15902 
   15903 Fixed a reported error where and incorrect GPE number was passed
   15904 to the GPE dispatch handler.  This value is only used for error
   15905 output, however.  Used this opportunity to clean up and streamline
   15906 the GPE dispatch code.
   15907 
   15908 Code and Data Size: Current and previous core subsystem library
   15909 sizes are shown below.  These are the code and data sizes for the
   15910 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15911 these values do not include any ACPI driver or OSPM code.  The
   15912 
   15913 debug version of the code includes the debug output trace
   15914 mechanism and has a much larger code and data size.  Note that
   15915 these values will vary depending on the efficiency of the compiler
   15916 and the compiler options used during generation.
   15917 
   15918   Previous Release (20031002):
   15919     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   15920     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   15921   Current Release:
   15922     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   15923     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   15924 
   15925 
   15926 2) iASL Compiler/Disassembler:
   15927 
   15928 Updated the iASL compiler to return an error if the operand to the
   15929 Stall() operator is larger than 255.
   15930 
   15931 
   15932 ----------------------------------------
   15933 02 October 2003.  Summary of changes for version 20031002:
   15934 
   15935 
   15936 1) ACPI CA Core Subsystem:
   15937 
   15938 Fixed a problem with Index Fields where the index was not
   15939 incremented for fields that require multiple writes to the
   15940 index/data registers (Fields that are wider than the data
   15941 register.)
   15942 
   15943 Fixed a problem with all Field objects where a write could go
   15944 beyond the end-of-field if the field was larger than the access
   15945 granularity and therefore required multiple writes to complete the
   15946 request.  An extra write beyond the end of the field could happen
   15947 inadvertently.
   15948 
   15949 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
   15950 would incorrectly be returned if the width of the Data Register
   15951 was larger than the specified field access width.
   15952 
   15953 Completed fixes for LoadTable() and Unload() and verified their
   15954 operation.  Implemented full support for the "DdbHandle" object
   15955 throughout the ACPI CA subsystem.
   15956 
   15957 Implemented full support for the MADT and ECDT tables in the ACPI
   15958 CA header files.  Even though these tables are not directly
   15959 consumed by ACPI CA, the header definitions are useful for ACPI
   15960 device drivers.
   15961 
   15962 Integrated resource descriptor fixes posted to the Linux ACPI
   15963 list.  This included checks for minimum descriptor length, and
   15964 support for trailing NULL strings within descriptors that have
   15965 optional string elements.
   15966 
   15967 Code and Data Size: Current and previous core subsystem library
   15968 sizes are shown below.  These are the code and data sizes for the
   15969 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15970 these values do not include any ACPI driver or OSPM code.  The
   15971 debug version of the code includes the debug output trace
   15972 mechanism and has a much larger code and data size.  Note that
   15973 these values will vary depending on the efficiency of the compiler
   15974 and the compiler options used during generation.
   15975 
   15976   Previous Release (20030918):
   15977     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   15978     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   15979   Current Release:
   15980     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   15981     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   15982 
   15983 
   15984 2) iASL Compiler:
   15985 
   15986 Implemented detection of non-ASCII characters within the input
   15987 source ASL file.  This catches attempts to compile binary (AML)
   15988 files early in the compile, with an informative error message.
   15989 
   15990 Fixed a problem where the disassembler would fault if the output
   15991 filename could not be generated or if the output file could not be
   15992 opened.
   15993 
   15994 ----------------------------------------
   15995 18 September 2003.  Summary of changes for version 20030918:
   15996 
   15997 
   15998 1) ACPI CA Core Subsystem:
   15999 
   16000 Found and fixed a longstanding problem with the late execution of
   16001 the various deferred AML opcodes (such as Operation Regions,
   16002 Buffer Fields, Buffers, and Packages).  If the name string
   16003 specified for the name of the new object placed the object in a
   16004 scope other than the current scope, the initialization/execution
   16005 of the opcode failed.  The solution to this problem was to
   16006 implement a mechanism where the late execution of such opcodes
   16007 does not attempt to lookup/create the name a second time in an
   16008 incorrect scope.  This fixes the "region size computed
   16009 incorrectly" problem.
   16010 
   16011 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
   16012 Global Lock AE_BAD_PARAMETER error.
   16013 
   16014 Fixed several 64-bit issues with prototypes, casting and data
   16015 types.
   16016 
   16017 Removed duplicate prototype from acdisasm.h
   16018 
   16019 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
   16020 
   16021 Code and Data Size: Current and previous core subsystem library
   16022 sizes are shown below.  These are the code and data sizes for the
   16023 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   16024 these values do not include any ACPI driver or OSPM code.  The
   16025 debug version of the code includes the debug output trace
   16026 mechanism and has a much larger code and data size.  Note that
   16027 these values will vary depending on the efficiency of the compiler
   16028 and the compiler options used during generation.
   16029 
   16030   Previous Release:
   16031 
   16032     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   16033     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   16034   Current Release:
   16035     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   16036     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   16037 
   16038 
   16039 2) Linux:
   16040 
   16041 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
   16042 correct sleep time in seconds.
   16043 
   16044 ----------------------------------------
   16045 14 July 2003.  Summary of changes for version 20030619:
   16046 
   16047 1) ACPI CA Core Subsystem:
   16048 
   16049 Parse SSDTs in order discovered, as opposed to reverse order
   16050 (Hrvoje Habjanic)
   16051 
   16052 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
   16053 Klausner,
   16054    Nate Lawson)
   16055 
   16056 
   16057 2) Linux:
   16058 
   16059 Dynamically allocate SDT list (suggested by Andi Kleen)
   16060 
   16061 proc function return value cleanups (Andi Kleen)
   16062 
   16063 Correctly handle NMI watchdog during long stalls (Andrew Morton)
   16064 
   16065 Make it so acpismp=force works (reported by Andrew Morton)
   16066 
   16067 
   16068 ----------------------------------------
   16069 19 June 2003.  Summary of changes for version 20030619:
   16070 
   16071 1) ACPI CA Core Subsystem:
   16072 
   16073 Fix To/FromBCD, eliminating the need for an arch-specific #define.
   16074 
   16075 Do not acquire a semaphore in the S5 shutdown path.
   16076 
   16077 Fix ex_digits_needed for 0. (Takayoshi Kochi)
   16078 
   16079 Fix sleep/stall code reversal. (Andi Kleen)
   16080 
   16081 Revert a change having to do with control method calling
   16082 semantics.
   16083 
   16084 2) Linux:
   16085 
   16086 acpiphp update (Takayoshi Kochi)
   16087 
   16088 Export acpi_disabled for sonypi (Stelian Pop)
   16089 
   16090 Mention acpismp=force in config help
   16091 
   16092 Re-add acpitable.c and acpismp=force. This improves backwards
   16093 
   16094 compatibility and also cleans up the code to a significant degree.
   16095 
   16096 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
   16097 
   16098 ----------------------------------------
   16099 22 May 2003.  Summary of changes for version 20030522:
   16100 
   16101 1) ACPI CA Core Subsystem:
   16102 
   16103 Found and fixed a reported problem where an AE_NOT_FOUND error
   16104 occurred occasionally during _BST evaluation.  This turned out to
   16105 be an Owner ID allocation issue where a called method did not get
   16106 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
   16107 ID UINT16 would wraparound so that the ID would be the same as the
   16108 caller's and the called method would delete the caller's
   16109 namespace.
   16110 
   16111 Implemented extended error reporting for control methods that are
   16112 aborted due to a run-time exception.  Output includes the exact
   16113 AML instruction that caused the method abort, a dump of the method
   16114 locals and arguments at the time of the abort, and a trace of all
   16115 nested control method calls.
   16116 
   16117 Modified the interpreter to allow the creation of buffers of zero
   16118 length from the AML code. Implemented new code to ensure that no
   16119 attempt is made to actually allocate a memory buffer (of length
   16120 zero) - instead, a simple buffer object with a NULL buffer pointer
   16121 and length zero is created.  A warning is no longer issued when
   16122 the AML attempts to create a zero-length buffer.
   16123 
   16124 Implemented a workaround for the "leading asterisk issue" in
   16125 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
   16126 asterisk is automatically removed if present in any HID, UID, or
   16127 CID strings.  The iASL compiler will still flag this asterisk as
   16128 an error, however.
   16129 
   16130 Implemented full support for _CID methods that return a package of
   16131 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
   16132 now additionally returns a device _CID list if present.  This
   16133 required a change to the external interface in order to pass an
   16134 ACPI_BUFFER object as a parameter since the _CID list is of
   16135 variable length.
   16136 
   16137 Fixed a problem with the new AE_SAME_HANDLER exception where
   16138 handler initialization code did not know about this exception.
   16139 
   16140 Code and Data Size: Current and previous core subsystem library
   16141 sizes are shown below.  These are the code and data sizes for the
   16142 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   16143 these values do not include any ACPI driver or OSPM code.  The
   16144 debug version of the code includes the debug output trace
   16145 mechanism and has a much larger code and data size.  Note that
   16146 these values will vary depending on the efficiency of the compiler
   16147 and the compiler options used during generation.
   16148 
   16149   Previous Release (20030509):
   16150     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   16151     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   16152   Current Release:
   16153     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   16154     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   16155 
   16156 
   16157 2) Linux:
   16158 
   16159 Fixed a bug in which we would reinitialize the ACPI interrupt
   16160 after it was already working, thus disabling all ACPI and the IRQs
   16161 for any other device sharing the interrupt. (Thanks to Stian
   16162 Jordet)
   16163 
   16164 Toshiba driver update (John Belmonte)
   16165 
   16166 Return only 0 or 1 for our interrupt handler status (Andrew
   16167 Morton)
   16168 
   16169 
   16170 3) iASL Compiler:
   16171 
   16172 Fixed a reported problem where multiple (nested) ElseIf()
   16173 statements were not handled correctly by the compiler, resulting
   16174 in incorrect warnings and incorrect AML code.  This was a problem
   16175 in both the ASL parser and the code generator.
   16176 
   16177 
   16178 4) Documentation:
   16179 
   16180 Added changes to existing interfaces, new exception codes, and new
   16181 text concerning reference count object management versus garbage
   16182 collection.
   16183 
   16184 ----------------------------------------
   16185 09 May 2003.  Summary of changes for version 20030509.
   16186 
   16187 
   16188 1) ACPI CA Core Subsystem:
   16189 
   16190 Changed the subsystem initialization sequence to hold off
   16191 installation of address space handlers until the hardware has been
   16192 initialized and the system has entered ACPI mode.  This is because
   16193 the installation of space handlers can cause _REG methods to be
   16194 run.  Previously, the _REG methods could potentially be run before
   16195 ACPI mode was enabled.
   16196 
   16197 Fixed some memory leak issues related to address space handler and
   16198 notify handler installation.  There were some problems with the
   16199 reference count mechanism caused by the fact that the handler
   16200 objects are shared across several namespace objects.
   16201 
   16202 Fixed a reported problem where reference counts within the
   16203 namespace were not properly updated when named objects created by
   16204 method execution were deleted.
   16205 
   16206 Fixed a reported problem where multiple SSDTs caused a deletion
   16207 issue during subsystem termination.  Restructured the table data
   16208 structures to simplify the linked lists and the related code.
   16209 
   16210 Fixed a problem where the table ID associated with secondary
   16211 tables (SSDTs) was not being propagated into the namespace objects
   16212 created by those tables.  This would only present a problem for
   16213 tables that are unloaded at run-time, however.
   16214 
   16215 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
   16216 type as the length parameter (instead of UINT32).
   16217 
   16218 Solved a long-standing problem where an ALREADY_EXISTS error
   16219 appears on various systems.  This problem could happen when there
   16220 are multiple PCI_Config operation regions under a single PCI root
   16221 bus.  This doesn't happen very frequently, but there are some
   16222 systems that do this in the ASL.
   16223 
   16224 Fixed a reported problem where the internal DeleteNode function
   16225 was incorrectly handling the case where a namespace node was the
   16226 first in the parent's child list, and had additional peers (not
   16227 the only child, but first in the list of children.)
   16228 
   16229 Code and Data Size: Current core subsystem library sizes are shown
   16230 below.  These are the code and data sizes for the acpica.lib
   16231 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16232 values do not include any ACPI driver or OSPM code.  The debug
   16233 version of the code includes the debug output trace mechanism and
   16234 has a much larger code and data size.  Note that these values will
   16235 vary depending on the efficiency of the compiler and the compiler
   16236 options used during generation.
   16237 
   16238   Previous Release
   16239     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   16240     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   16241   Current Release:
   16242     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   16243     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   16244 
   16245 
   16246 2) Linux:
   16247 
   16248 Allow ":" in OS override string (Ducrot Bruno)
   16249 
   16250 Kobject fix (Greg KH)
   16251 
   16252 
   16253 3 iASL Compiler/Disassembler:
   16254 
   16255 Fixed a problem in the generation of the C source code files (AML
   16256 is emitted in C source statements for BIOS inclusion) where the
   16257 Ascii dump that appears within a C comment at the end of each line
   16258 could cause a compile time error if the AML sequence happens to
   16259 have an open comment or close comment sequence embedded.
   16260 
   16261 
   16262 ----------------------------------------
   16263 24 April 2003.  Summary of changes for version 20030424.
   16264 
   16265 
   16266 1) ACPI CA Core Subsystem:
   16267 
   16268 Support for big-endian systems has been implemented.  Most of the
   16269 support has been invisibly added behind big-endian versions of the
   16270 ACPI_MOVE_* macros.
   16271 
   16272 Fixed a problem in AcpiHwDisableGpeBlock() and
   16273 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
   16274 low level hardware write routine.  The offset parameter was
   16275 actually eliminated from the low level read/write routines because
   16276 they had become obsolete.
   16277 
   16278 Fixed a problem where a handler object was deleted twice during
   16279 the removal of a fixed event handler.
   16280 
   16281 
   16282 2) Linux:
   16283 
   16284 A fix for SMP systems with link devices was contributed by
   16285 
   16286 Compaq's Dan Zink.
   16287 
   16288 (2.5) Return whether we handled the interrupt in our IRQ handler.
   16289 (Linux ISRs no longer return void, so we can propagate the handler
   16290 return value from the ACPI CA core back to the OS.)
   16291 
   16292 
   16293 
   16294 3) Documentation:
   16295 
   16296 The ACPI CA Programmer Reference has been updated to reflect new
   16297 interfaces and changes to existing interfaces.
   16298 
   16299 ----------------------------------------
   16300 28 March 2003.  Summary of changes for version 20030328.
   16301 
   16302 1) ACPI CA Core Subsystem:
   16303 
   16304 The GPE Block Device support has been completed.  New interfaces
   16305 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
   16306 interfaces (enable, disable, clear, getstatus) have been split
   16307 into separate interfaces for Fixed Events and General Purpose
   16308 Events (GPEs) in order to support GPE Block Devices properly.
   16309 
   16310 Fixed a problem where the error message "Failed to acquire
   16311 semaphore" would appear during operations on the embedded
   16312 controller (EC).
   16313 
   16314 Code and Data Size: Current core subsystem library sizes are shown
   16315 below.  These are the code and data sizes for the acpica.lib
   16316 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16317 values do not include any ACPI driver or OSPM code.  The debug
   16318 version of the code includes the debug output trace mechanism and
   16319 has a much larger code and data size.  Note that these values will
   16320 vary depending on the efficiency of the compiler and the compiler
   16321 options used during generation.
   16322 
   16323   Previous Release
   16324     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   16325     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   16326   Current Release:
   16327     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   16328     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   16329 
   16330 
   16331 ----------------------------------------
   16332 28 February 2003.  Summary of changes for version 20030228.
   16333 
   16334 
   16335 1) ACPI CA Core Subsystem:
   16336 
   16337 The GPE handling and dispatch code has been completely overhauled
   16338 in preparation for support of GPE Block Devices (ID ACPI0006).
   16339 This affects internal data structures and code only; there should
   16340 be no differences visible externally.  One new file has been
   16341 added, evgpeblk.c
   16342 
   16343 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
   16344 fields that are used to determine the GPE block lengths.  The
   16345 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
   16346 structures are ignored.  This is per the ACPI specification but it
   16347 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
   16348 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
   16349 
   16350 In the SCI interrupt handler, removed the read of the PM1_CONTROL
   16351 register to look at the SCI_EN bit.  On some machines, this read
   16352 causes an SMI event and greatly slows down SCI events.  (This may
   16353 in fact be the cause of slow battery status response on some
   16354 systems.)
   16355 
   16356 Fixed a problem where a store of a NULL string to a package object
   16357 could cause the premature deletion of the object.  This was seen
   16358 during execution of the battery _BIF method on some systems,
   16359 resulting in no battery data being returned.
   16360 
   16361 Added AcpiWalkResources interface to simplify parsing of resource
   16362 lists.
   16363 
   16364 Code and Data Size: Current core subsystem library sizes are shown
   16365 below.  These are the code and data sizes for the acpica.lib
   16366 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16367 values do not include any ACPI driver or OSPM code.  The debug
   16368 version of the code includes the debug output trace mechanism and
   16369 has a much larger code and data size.  Note that these values will
   16370 vary depending on the efficiency of the compiler and the compiler
   16371 options used during generation.
   16372 
   16373   Previous Release
   16374     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   16375     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   16376   Current Release:
   16377     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   16378     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   16379 
   16380 
   16381 2) Linux
   16382 
   16383 S3 fixes (Ole Rohne)
   16384 
   16385 Update ACPI PHP driver with to use new acpi_walk_resource API
   16386 (Bjorn Helgaas)
   16387 
   16388 Add S4BIOS support (Pavel Machek)
   16389 
   16390 Map in entire table before performing checksum (John Stultz)
   16391 
   16392 Expand the mem= cmdline to allow the specification of reserved and
   16393 ACPI DATA blocks (Pavel Machek)
   16394 
   16395 Never use ACPI on VISWS
   16396 
   16397 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
   16398 
   16399 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
   16400 causing us to think that some systems support C2 when they really
   16401 don't.
   16402 
   16403 Do not count processor objects for non-present CPUs (Thanks to
   16404 Dominik Brodowski)
   16405 
   16406 
   16407 3) iASL Compiler:
   16408 
   16409 Fixed a problem where ASL include files could not be found and
   16410 opened.
   16411 
   16412 Added support for the _PDC reserved name.
   16413 
   16414 
   16415 ----------------------------------------
   16416 22 January 2003.  Summary of changes for version 20030122.
   16417 
   16418 
   16419 1) ACPI CA Core Subsystem:
   16420 
   16421 Added a check for constructs of the form:  Store (Local0, Local0)
   16422 where Local0 is not initialized.  Apparently, some BIOS
   16423 programmers believe that this is a NOOP.  Since this store doesn't
   16424 do anything anyway, the new prototype behavior will ignore this
   16425 error.  This is a case where we can relax the strict checking in
   16426 the interpreter in the name of compatibility.
   16427 
   16428 
   16429 2) Linux
   16430 
   16431 The AcpiSrc Source Conversion Utility has been released with the
   16432 Linux package for the first time.  This is the utility that is
   16433 used to convert the ACPI CA base source code to the Linux version.
   16434 
   16435 (Both) Handle P_BLK lengths shorter than 6 more gracefully
   16436 
   16437 (Both) Move more headers to include/acpi, and delete an unused
   16438 header.
   16439 
   16440 (Both) Move drivers/acpi/include directory to include/acpi
   16441 
   16442 (Both) Boot functions don't use cmdline, so don't pass it around
   16443 
   16444 (Both) Remove include of unused header (Adrian Bunk)
   16445 
   16446 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
   16447 the
   16448 former now also includes the latter, acpiphp.h only needs the one,
   16449 now.
   16450 
   16451 (2.5) Make it possible to select method of bios restoring after S3
   16452 resume. [=> no more ugly ifdefs] (Pavel Machek)
   16453 
   16454 (2.5) Make proc write interfaces work (Pavel Machek)
   16455 
   16456 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
   16457 
   16458 (2.5) Break out ACPI Perf code into its own module, under cpufreq
   16459 (Dominik Brodowski)
   16460 
   16461 (2.4) S4BIOS support (Ducrot Bruno)
   16462 
   16463 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
   16464 Visinoni)
   16465 
   16466 
   16467 3) iASL Compiler:
   16468 
   16469 Added support to disassemble SSDT and PSDTs.
   16470 
   16471 Implemented support to obtain SSDTs from the Windows registry if
   16472 available.
   16473 
   16474 
   16475 ----------------------------------------
   16476 09 January 2003.  Summary of changes for version 20030109.
   16477 
   16478 1) ACPI CA Core Subsystem:
   16479 
   16480 Changed the behavior of the internal Buffer-to-String conversion
   16481 function.  The current ACPI specification states that the contents
   16482 of the buffer are "converted to a string of two-character
   16483 hexadecimal numbers, each separated by a space".  Unfortunately,
   16484 this definition is not backwards compatible with existing ACPI 1.0
   16485 implementations (although the behavior was not defined in the ACPI
   16486 1.0 specification).  The new behavior simply copies data from the
   16487 buffer to the string until a null character is found or the end of
   16488 the buffer is reached.  The new String object is always null
   16489 terminated.  This problem was seen during the generation of _BIF
   16490 battery data where incorrect strings were returned for battery
   16491 type, etc.  This will also require an errata to the ACPI
   16492 specification.
   16493 
   16494 Renamed all instances of NATIVE_UINT and NATIVE_INT to
   16495 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
   16496 
   16497 Copyright in all module headers (both Linux and non-Linux) has be
   16498 updated to 2003.
   16499 
   16500 Code and Data Size: Current core subsystem library sizes are shown
   16501 below.  These are the code and data sizes for the acpica.lib
   16502 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16503 values do not include any ACPI driver or OSPM code.  The debug
   16504 version of the code includes the debug output trace mechanism and
   16505 has a much larger code and data size.  Note that these values will
   16506 vary depending on the efficiency of the compiler and the compiler
   16507 options used during generation.
   16508 
   16509   Previous Release
   16510     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   16511     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   16512   Current Release:
   16513     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   16514     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   16515 
   16516 
   16517 2) Linux
   16518 
   16519 Fixed an oops on module insertion/removal (Matthew Tippett)
   16520 
   16521 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
   16522 
   16523 (2.5) Replace pr_debug (Randy Dunlap)
   16524 
   16525 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
   16526 
   16527 (Both) Eliminate spawning of thread from timer callback, in favor
   16528 of schedule_work()
   16529 
   16530 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
   16531 
   16532 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
   16533 
   16534 (Both) Add missing statics to button.c (Pavel Machek)
   16535 
   16536 Several changes have been made to the source code translation
   16537 utility that generates the Linux Code in order to make the code
   16538 more "Linux-like":
   16539 
   16540 All typedefs on structs and unions have been removed in keeping
   16541 with the Linux coding style.
   16542 
   16543 Removed the non-Linux SourceSafe module revision number from each
   16544 module header.
   16545 
   16546 Completed major overhaul of symbols to be lowercase for linux.
   16547 Doubled the number of symbols that are lowercase.
   16548 
   16549 Fixed a problem where identifiers within procedure headers and
   16550 within quotes were not fully lower cased (they were left with a
   16551 starting capital.)
   16552 
   16553 Some C macros whose only purpose is to allow the generation of 16-
   16554 bit code are now completely removed in the Linux code, increasing
   16555 readability and maintainability.
   16556 
   16557 ----------------------------------------
   16558 
   16559 12 December 2002.  Summary of changes for version 20021212.
   16560 
   16561 
   16562 1) ACPI CA Core Subsystem:
   16563 
   16564 Fixed a problem where the creation of a zero-length AML Buffer
   16565 would cause a fault.
   16566 
   16567 Fixed a problem where a Buffer object that pointed to a static AML
   16568 buffer (in an ACPI table) could inadvertently be deleted, causing
   16569 memory corruption.
   16570 
   16571 Fixed a problem where a user buffer (passed in to the external
   16572 ACPI CA interfaces) could be overwritten if the buffer was too
   16573 small to complete the operation, causing memory corruption.
   16574 
   16575 Fixed a problem in the Buffer-to-String conversion code where a
   16576 string of length one was always returned, regardless of the size
   16577 of the input Buffer object.
   16578 
   16579 Removed the NATIVE_CHAR data type across the entire source due to
   16580 lack of need and lack of consistent use.
   16581 
   16582 Code and Data Size: Current core subsystem library sizes are shown
   16583 below.  These are the code and data sizes for the acpica.lib
   16584 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16585 values do not include any ACPI driver or OSPM code.  The debug
   16586 version of the code includes the debug output trace mechanism and
   16587 has a much larger code and data size.  Note that these values will
   16588 vary depending on the efficiency of the compiler and the compiler
   16589 options used during generation.
   16590 
   16591   Previous Release
   16592     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   16593     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   16594   Current Release:
   16595     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   16596     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   16597 
   16598 
   16599 ----------------------------------------
   16600 05 December 2002.  Summary of changes for version 20021205.
   16601 
   16602 1) ACPI CA Core Subsystem:
   16603 
   16604 Fixed a problem where a store to a String or Buffer object could
   16605 cause corruption of the DSDT if the object type being stored was
   16606 the same as the target object type and the length of the object
   16607 being stored was equal to or smaller than the original (existing)
   16608 target object.  This was seen to cause corruption of battery _BIF
   16609 buffers if the _BIF method modified the buffer on the fly.
   16610 
   16611 Fixed a problem where an internal error was generated if a control
   16612 method invocation was used in an OperationRegion, Buffer, or
   16613 Package declaration.  This was caused by the deferred parsing of
   16614 the control method and thus the deferred creation of the internal
   16615 method object.  The solution to this problem was to create the
   16616 internal method object at the moment the method is encountered in
   16617 the first pass - so that subsequent references to the method will
   16618 able to obtain the required parameter count and thus properly
   16619 parse the method invocation.  This problem presented itself as an
   16620 AE_AML_INTERNAL during the pass 1 parse phase during table load.
   16621 
   16622 Fixed a problem where the internal String object copy routine did
   16623 not always allocate sufficient memory for the target String object
   16624 and caused memory corruption.  This problem was seen to cause
   16625 "Allocation already present in list!" errors as memory allocation
   16626 became corrupted.
   16627 
   16628 Implemented a new function for the evaluation of namespace objects
   16629 that allows the specification of the allowable return object
   16630 types.  This simplifies a lot of code that checks for a return
   16631 object of one or more specific objects returned from the
   16632 evaluation (such as _STA, etc.)  This may become and external
   16633 function if it would be useful to ACPI-related drivers.
   16634 
   16635 Completed another round of prefixing #defines with "ACPI_" for
   16636 clarity.
   16637 
   16638 Completed additional code restructuring to allow more modular
   16639 linking for iASL compiler and AcpiExec.  Several files were split
   16640 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
   16641 
   16642 Implemented an abort mechanism to terminate an executing control
   16643 method via the AML debugger.  This feature is useful for debugging
   16644 control methods that depend (wait) for specific hardware
   16645 responses.
   16646 
   16647 Code and Data Size: Current core subsystem library sizes are shown
   16648 below.  These are the code and data sizes for the acpica.lib
   16649 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16650 values do not include any ACPI driver or OSPM code.  The debug
   16651 version of the code includes the debug output trace mechanism and
   16652 has a much larger code and data size.  Note that these values will
   16653 vary depending on the efficiency of the compiler and the compiler
   16654 options used during generation.
   16655 
   16656   Previous Release
   16657     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16658     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   16659   Current Release:
   16660     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   16661     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   16662 
   16663 
   16664 2) iASL Compiler/Disassembler
   16665 
   16666 Fixed a compiler code generation problem for "Interrupt" Resource
   16667 Descriptors.  If specified in the ASL, the optional "Resource
   16668 Source Index" and "Resource Source" fields were not inserted into
   16669 the correct location within the AML resource descriptor, creating
   16670 an invalid descriptor.
   16671 
   16672 Fixed a disassembler problem for "Interrupt" resource descriptors.
   16673 The optional "Resource Source Index" and "Resource Source" fields
   16674 were ignored.
   16675 
   16676 
   16677 ----------------------------------------
   16678 22 November 2002.  Summary of changes for version 20021122.
   16679 
   16680 
   16681 1) ACPI CA Core Subsystem:
   16682 
   16683 Fixed a reported problem where an object stored to a Method Local
   16684 or Arg was not copied to a new object during the store - the
   16685 object pointer was simply copied to the Local/Arg.  This caused
   16686 all subsequent operations on the Local/Arg to also affect the
   16687 original source of the store operation.
   16688 
   16689 Fixed a problem where a store operation to a Method Local or Arg
   16690 was not completed properly if the Local/Arg contained a reference
   16691 (from RefOf) to a named field.  The general-purpose store-to-
   16692 namespace-node code is now used so that this case is handled
   16693 automatically.
   16694 
   16695 Fixed a problem where the internal object copy routine would cause
   16696 a protection fault if the object being copied was a Package and
   16697 contained either 1) a NULL package element or 2) a nested sub-
   16698 package.
   16699 
   16700 Fixed a problem with the GPE initialization that resulted from an
   16701 ambiguity in the ACPI specification.  One section of the
   16702 specification states that both the address and length of the GPE
   16703 block must be zero if the block is not supported.  Another section
   16704 implies that only the address need be zero if the block is not
   16705 supported.  The code has been changed so that both the address and
   16706 the length must be non-zero to indicate a valid GPE block (i.e.,
   16707 if either the address or the length is zero, the GPE block is
   16708 invalid.)
   16709 
   16710 Code and Data Size: Current core subsystem library sizes are shown
   16711 below.  These are the code and data sizes for the acpica.lib
   16712 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16713 values do not include any ACPI driver or OSPM code.  The debug
   16714 version of the code includes the debug output trace mechanism and
   16715 has a much larger code and data size.  Note that these values will
   16716 vary depending on the efficiency of the compiler and the compiler
   16717 options used during generation.
   16718 
   16719   Previous Release
   16720     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   16721     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   16722   Current Release:
   16723     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16724     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   16725 
   16726 
   16727 2) Linux
   16728 
   16729 Cleaned up EC driver. Exported an external EC read/write
   16730 interface. By going through this, other drivers (most notably
   16731 sonypi) will be able to serialize access to the EC.
   16732 
   16733 
   16734 3) iASL Compiler/Disassembler
   16735 
   16736 Implemented support to optionally generate include files for both
   16737 ASM and C (the -i switch).  This simplifies BIOS development by
   16738 automatically creating include files that contain external
   16739 declarations for the symbols that are created within the
   16740 
   16741 (optionally generated) ASM and C AML source files.
   16742 
   16743 
   16744 ----------------------------------------
   16745 15 November 2002.  Summary of changes for version 20021115.
   16746 
   16747 1) ACPI CA Core Subsystem:
   16748 
   16749 Fixed a memory leak problem where an error during resolution of
   16750 
   16751 method arguments during a method invocation from another method
   16752 failed to cleanup properly by deleting all successfully resolved
   16753 argument objects.
   16754 
   16755 Fixed a problem where the target of the Index() operator was not
   16756 correctly constructed if the source object was a package.  This
   16757 problem has not been detected because the use of a target operand
   16758 with Index() is very rare.
   16759 
   16760 Fixed a problem with the Index() operator where an attempt was
   16761 made to delete the operand objects twice.
   16762 
   16763 Fixed a problem where an attempt was made to delete an operand
   16764 twice during execution of the CondRefOf() operator if the target
   16765 did not exist.
   16766 
   16767 Implemented the first of perhaps several internal create object
   16768 functions that create and initialize a specific object type.  This
   16769 consolidates duplicated code wherever the object is created, thus
   16770 shrinking the size of the subsystem.
   16771 
   16772 Implemented improved debug/error messages for errors that occur
   16773 during nested method invocations.  All executing method pathnames
   16774 are displayed (with the error) as the call stack is unwound - thus
   16775 simplifying debug.
   16776 
   16777 Fixed a problem introduced in the 10/02 release that caused
   16778 premature deletion of a buffer object if a buffer was used as an
   16779 ASL operand where an integer operand is required (Thus causing an
   16780 implicit object conversion from Buffer to Integer.)  The change in
   16781 the 10/02 release was attempting to fix a memory leak (albeit
   16782 incorrectly.)
   16783 
   16784 Code and Data Size: Current core subsystem library sizes are shown
   16785 below.  These are the code and data sizes for the acpica.lib
   16786 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16787 values do not include any ACPI driver or OSPM code.  The debug
   16788 version of the code includes the debug output trace mechanism and
   16789 has a much larger code and data size.  Note that these values will
   16790 vary depending on the efficiency of the compiler and the compiler
   16791 options used during generation.
   16792 
   16793   Previous Release
   16794     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   16795     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   16796   Current Release:
   16797     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   16798     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   16799 
   16800 
   16801 2) Linux
   16802 
   16803 Changed the implementation of the ACPI semaphores to use down()
   16804 instead of down_interruptable().  It is important that the
   16805 execution of ACPI control methods not be interrupted by signals.
   16806 Methods must run to completion, or the system may be left in an
   16807 unknown/unstable state.
   16808 
   16809 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
   16810 (Shawn Starr)
   16811 
   16812 
   16813 3) iASL Compiler/Disassembler
   16814 
   16815 
   16816 Changed the default location of output files.  All output files
   16817 are now placed in the current directory by default instead of in
   16818 the directory of the source file.  This change may affect some
   16819 existing makefiles, but it brings the behavior of the compiler in
   16820 line with other similar tools.  The location of the output files
   16821 can be overridden with the -p command line switch.
   16822 
   16823 
   16824 ----------------------------------------
   16825 11 November 2002.  Summary of changes for version 20021111.
   16826 
   16827 
   16828 0) ACPI Specification 2.0B is released and is now available at:
   16829 http://www.acpi.info/index.html
   16830 
   16831 
   16832 1) ACPI CA Core Subsystem:
   16833 
   16834 Implemented support for the ACPI 2.0 SMBus Operation Regions.
   16835 This includes the early detection and handoff of the request to
   16836 the SMBus region handler (avoiding all of the complex field
   16837 support code), and support for the bidirectional return packet
   16838 from an SMBus write operation.  This paves the way for the
   16839 development of SMBus drivers in each host operating system.
   16840 
   16841 Fixed a problem where the semaphore WAIT_FOREVER constant was
   16842 defined as 32 bits, but must be 16 bits according to the ACPI
   16843 specification.  This had the side effect of causing ASL
   16844 Mutex/Event timeouts even though the ASL code requested a wait
   16845 forever.  Changed all internal references to the ACPI timeout
   16846 parameter to 16 bits to prevent future problems.  Changed the name
   16847 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
   16848 
   16849 Code and Data Size: Current core subsystem library sizes are shown
   16850 below.  These are the code and data sizes for the acpica.lib
   16851 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16852 values do not include any ACPI driver or OSPM code.  The debug
   16853 version of the code includes the debug output trace mechanism and
   16854 has a much larger code and data size.  Note that these values will
   16855 vary depending on the efficiency of the compiler and the compiler
   16856 options used during generation.
   16857 
   16858   Previous Release
   16859     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16860     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   16861   Current Release:
   16862     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   16863     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   16864 
   16865 
   16866 2) Linux
   16867 
   16868 Module loading/unloading fixes (John Cagle)
   16869 
   16870 
   16871 3) iASL Compiler/Disassembler
   16872 
   16873 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
   16874 
   16875 Implemented support for the disassembly of all SMBus protocol
   16876 keywords (SMBQuick, SMBWord, etc.)
   16877 
   16878 ----------------------------------------
   16879 01 November 2002.  Summary of changes for version 20021101.
   16880 
   16881 
   16882 1) ACPI CA Core Subsystem:
   16883 
   16884 Fixed a problem where platforms that have a GPE1 block but no GPE0
   16885 block were not handled correctly.  This resulted in a "GPE
   16886 overlap" error message.  GPE0 is no longer required.
   16887 
   16888 Removed code added in the previous release that inserted nodes
   16889 into the namespace in alphabetical order.  This caused some side-
   16890 effects on various machines.  The root cause of the problem is
   16891 still under investigation since in theory, the internal ordering
   16892 of the namespace nodes should not matter.
   16893 
   16894 
   16895 Enhanced error reporting for the case where a named object is not
   16896 found during control method execution.  The full ACPI namepath
   16897 (name reference) of the object that was not found is displayed in
   16898 this case.
   16899 
   16900 Note: as a result of the overhaul of the namespace object types in
   16901 the previous release, the namespace nodes for the predefined
   16902 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
   16903 instead of ACPI_TYPE_ANY.  This simplifies the namespace
   16904 management code but may affect code that walks the namespace tree
   16905 looking for specific object types.
   16906 
   16907 Code and Data Size: Current core subsystem library sizes are shown
   16908 below.  These are the code and data sizes for the acpica.lib
   16909 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16910 values do not include any ACPI driver or OSPM code.  The debug
   16911 version of the code includes the debug output trace mechanism and
   16912 has a much larger code and data size.  Note that these values will
   16913 vary depending on the efficiency of the compiler and the compiler
   16914 options used during generation.
   16915 
   16916   Previous Release
   16917     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   16918     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   16919   Current Release:
   16920     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16921     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   16922 
   16923 
   16924 2) Linux
   16925 
   16926 Fixed a problem introduced in the previous release where the
   16927 Processor and Thermal objects were not recognized and installed in
   16928 /proc.  This was related to the scope type change described above.
   16929 
   16930 
   16931 3) iASL Compiler/Disassembler
   16932 
   16933 Implemented the -g option to get all of the required ACPI tables
   16934 from the registry and save them to files (Windows version of the
   16935 compiler only.)  The required tables are the FADT, FACS, and DSDT.
   16936 
   16937 Added ACPI table checksum validation during table disassembly in
   16938 order to catch corrupted tables.
   16939 
   16940 
   16941 ----------------------------------------
   16942 22 October 2002.  Summary of changes for version 20021022.
   16943 
   16944 1) ACPI CA Core Subsystem:
   16945 
   16946 Implemented a restriction on the Scope operator that the target
   16947 must already exist in the namespace at the time the operator is
   16948 encountered (during table load or method execution).  In other
   16949 words, forward references are not allowed and Scope() cannot
   16950 create a new object. This changes the previous behavior where the
   16951 interpreter would create the name if not found.  This new behavior
   16952 correctly enables the search-to-root algorithm during namespace
   16953 lookup of the target name.  Because of this upsearch, this fixes
   16954 the known Compaq _SB_.OKEC problem and makes both the AML
   16955 interpreter and iASL compiler compatible with other ACPI
   16956 implementations.
   16957 
   16958 Completed a major overhaul of the internal ACPI object types for
   16959 the ACPI Namespace and the associated operand objects.  Many of
   16960 these types had become obsolete with the introduction of the two-
   16961 pass namespace load.  This cleanup simplifies the code and makes
   16962 the entire namespace load mechanism much clearer and easier to
   16963 understand.
   16964 
   16965 Improved debug output for tracking scope opening/closing to help
   16966 diagnose scoping issues.  The old scope name as well as the new
   16967 scope name are displayed.  Also improved error messages for
   16968 problems with ASL Mutex objects and error messages for GPE
   16969 problems.
   16970 
   16971 Cleaned up the namespace dump code, removed obsolete code.
   16972 
   16973 All string output (for all namespace/object dumps) now uses the
   16974 common ACPI string output procedure which handles escapes properly
   16975 and does not emit non-printable characters.
   16976 
   16977 Fixed some issues with constants in the 64-bit version of the
   16978 local C library (utclib.c)
   16979 
   16980 
   16981 2) Linux
   16982 
   16983 EC Driver:  No longer attempts to acquire the Global Lock at
   16984 interrupt level.
   16985 
   16986 
   16987 3) iASL Compiler/Disassembler
   16988 
   16989 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
   16990 2 opcodes outside of a control method.  This means that the
   16991 "executable" operators (versus the "namespace" operators) cannot
   16992 be used at the table level; they can only be used within a control
   16993 method.
   16994 
   16995 Implemented the restriction on the Scope() operator where the
   16996 target must already exist in the namespace at the time the
   16997 operator is encountered (during ASL compilation). In other words,
   16998 forward references are not allowed and Scope() cannot create a new
   16999 object.  This makes the iASL compiler compatible with other ACPI
   17000 implementations and makes the Scope() implementation adhere to the
   17001 ACPI specification.
   17002 
   17003 Fixed a problem where namepath optimization for the Alias operator
   17004 was optimizing the wrong path (of the two namepaths.)  This caused
   17005 a "Missing alias link" error message.
   17006 
   17007 Fixed a problem where an "unknown reserved name" warning could be
   17008 incorrectly generated for names like "_SB" when the trailing
   17009 underscore is not used in the original ASL.
   17010 
   17011 Fixed a problem where the reserved name check did not handle
   17012 NamePaths with multiple NameSegs correctly.  The first nameseg of
   17013 the NamePath was examined instead of the last NameSeg.
   17014 
   17015 
   17016 ----------------------------------------
   17017 
   17018 02 October 2002.  Summary of changes for this release.
   17019 
   17020 
   17021 1) ACPI CA Core Subsystem version 20021002:
   17022 
   17023 Fixed a problem where a store/copy of a string to an existing
   17024 string did not always set the string length properly in the String
   17025 object.
   17026 
   17027 Fixed a reported problem with the ToString operator where the
   17028 behavior was identical to the ToHexString operator instead of just
   17029 simply converting a raw buffer to a string data type.
   17030 
   17031 Fixed a problem where CopyObject and the other "explicit"
   17032 conversion operators were not updating the internal namespace node
   17033 type as part of the store operation.
   17034 
   17035 Fixed a memory leak during implicit source operand conversion
   17036 where the original object was not deleted if it was converted to a
   17037 new object of a different type.
   17038 
   17039 Enhanced error messages for all problems associated with namespace
   17040 lookups.  Common procedure generates and prints the lookup name as
   17041 well as the formatted status.
   17042 
   17043 Completed implementation of a new design for the Alias support
   17044 within the namespace.  The existing design did not handle the case
   17045 where a new object was assigned to one of the two names due to the
   17046 use of an explicit conversion operator, resulting in the two names
   17047 pointing to two different objects.  The new design simply points
   17048 the Alias name to the original name node - not to the object.
   17049 This results in a level of indirection that must be handled in the
   17050 name resolution mechanism.
   17051 
   17052 Code and Data Size: Current core subsystem library sizes are shown
   17053 below.  These are the code and data sizes for the acpica.lib
   17054 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17055 values do not include any ACPI driver or OSPM code.  The debug
   17056 version of the code includes the debug output trace mechanism and
   17057 has a larger code and data size.  Note that these values will vary
   17058 depending on the efficiency of the compiler and the compiler
   17059 options used during generation.
   17060 
   17061   Previous Release
   17062     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   17063     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   17064   Current Release:
   17065     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   17066     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   17067 
   17068 
   17069 2) Linux
   17070 
   17071 Initialize thermal driver's timer before it is used. (Knut
   17072 Neumann)
   17073 
   17074 Allow handling negative celsius values. (Kochi Takayoshi)
   17075 
   17076 Fix thermal management and make trip points. R/W (Pavel Machek)
   17077 
   17078 Fix /proc/acpi/sleep. (P. Christeas)
   17079 
   17080 IA64 fixes. (David Mosberger)
   17081 
   17082 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
   17083 
   17084 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
   17085 Brodowski)
   17086 
   17087 
   17088 3) iASL Compiler/Disassembler
   17089 
   17090 Clarified some warning/error messages.
   17091 
   17092 
   17093 ----------------------------------------
   17094 18 September 2002.  Summary of changes for this release.
   17095 
   17096 
   17097 1) ACPI CA Core Subsystem version 20020918:
   17098 
   17099 Fixed a reported problem with reference chaining (via the Index()
   17100 and RefOf() operators) in the ObjectType() and SizeOf() operators.
   17101 The definition of these operators includes the dereferencing of
   17102 all chained references to return information on the base object.
   17103 
   17104 Fixed a problem with stores to indexed package elements - the
   17105 existing code would not complete the store if an "implicit
   17106 conversion" was not performed.  In other words, if the existing
   17107 object (package element) was to be replaced completely, the code
   17108 didn't handle this case.
   17109 
   17110 Relaxed typechecking on the ASL "Scope" operator to allow the
   17111 target name to refer to an object of type Integer, String, or
   17112 Buffer, in addition to the scoping object types (Device,
   17113 predefined Scopes, Processor, PowerResource, and ThermalZone.)
   17114 This allows existing AML code that has workarounds for a bug in
   17115 Windows to function properly.  A warning is issued, however.  This
   17116 affects both the AML interpreter and the iASL compiler. Below is
   17117 an example of this type of ASL code:
   17118 
   17119       Name(DEB,0x00)
   17120       Scope(DEB)
   17121       {
   17122 
   17123 Fixed some reported problems with 64-bit integer support in the
   17124 local implementation of C library functions (clib.c)
   17125 
   17126 
   17127 2) Linux
   17128 
   17129 Use ACPI fix map region instead of IOAPIC region, since it is
   17130 undefined in non-SMP.
   17131 
   17132 Ensure that the SCI has the proper polarity and trigger, even on
   17133 systems that do not have an interrupt override entry in the MADT.
   17134 
   17135 2.5 big driver reorganization (Pat Mochel)
   17136 
   17137 Use early table mapping code from acpitable.c (Andi Kleen)
   17138 
   17139 New blacklist entries (Andi Kleen)
   17140 
   17141 Blacklist improvements. Split blacklist code out into a separate
   17142 file. Move checking the blacklist to very early. Previously, we
   17143 would use ACPI tables, and then halfway through init, check the
   17144 blacklist -- too late. Now, it's early enough to completely fall-
   17145 back to non-ACPI.
   17146 
   17147 
   17148 3) iASL Compiler/Disassembler version 20020918:
   17149 
   17150 Fixed a problem where the typechecking code didn't know that an
   17151 alias could point to a method.  In other words, aliases were not
   17152 being dereferenced during typechecking.
   17153 
   17154 
   17155 ----------------------------------------
   17156 29 August 2002.  Summary of changes for this release.
   17157 
   17158 1) ACPI CA Core Subsystem Version 20020829:
   17159 
   17160 If the target of a Scope() operator already exists, it must be an
   17161 object type that actually opens a scope -- such as a Device,
   17162 Method, Scope, etc.  This is a fatal runtime error.  Similar error
   17163 check has been added to the iASL compiler also.
   17164 
   17165 Tightened up the namespace load to disallow multiple names in the
   17166 same scope.  This previously was allowed if both objects were of
   17167 the same type.  (i.e., a lookup was the same as entering a new
   17168 name).
   17169 
   17170 
   17171 2) Linux
   17172 
   17173 Ensure that the ACPI interrupt has the proper trigger and
   17174 polarity.
   17175 
   17176 local_irq_disable is extraneous. (Matthew Wilcox)
   17177 
   17178 Make "acpi=off" actually do what it says, and not use the ACPI
   17179 interpreter *or* the tables.
   17180 
   17181 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
   17182 Takayoshi)
   17183 
   17184 
   17185 3) iASL Compiler/Disassembler  Version 20020829:
   17186 
   17187 Implemented namepath optimization for name declarations.  For
   17188 example, a declaration like "Method (\_SB_.ABCD)" would get
   17189 optimized to "Method (ABCD)" if the declaration is within the
   17190 \_SB_ scope.  This optimization is in addition to the named
   17191 reference path optimization first released in the previous
   17192 version. This would seem to complete all possible optimizations
   17193 for namepaths within the ASL/AML.
   17194 
   17195 If the target of a Scope() operator already exists, it must be an
   17196 object type that actually opens a scope -- such as a Device,
   17197 Method, Scope, etc.
   17198 
   17199 Implemented a check and warning for unreachable code in the same
   17200 block below a Return() statement.
   17201 
   17202 Fixed a problem where the listing file was not generated if the
   17203 compiler aborted if the maximum error count was exceeded (200).
   17204 
   17205 Fixed a problem where the typechecking of method return values was
   17206 broken.  This includes the check for a return value when the
   17207 method is invoked as a TermArg (a return value is expected.)
   17208 
   17209 Fixed a reported problem where EOF conditions during a quoted
   17210 string or comment caused a fault.
   17211 
   17212 
   17213 ----------------------------------------
   17214 15 August 2002.  Summary of changes for this release.
   17215 
   17216 1) ACPI CA Core Subsystem Version 20020815:
   17217 
   17218 Fixed a reported problem where a Store to a method argument that
   17219 contains a reference did not perform the indirect store correctly.
   17220 This problem was created during the conversion to the new
   17221 reference object model - the indirect store to a method argument
   17222 code was not updated to reflect the new model.
   17223 
   17224 Reworked the ACPI mode change code to better conform to ACPI 2.0,
   17225 handle corner cases, and improve code legibility (Kochi Takayoshi)
   17226 
   17227 Fixed a problem with the pathname parsing for the carat (^)
   17228 prefix.  The heavy use of the carat operator by the new namepath
   17229 optimization in the iASL compiler uncovered a problem with the AML
   17230 interpreter handling of this prefix.  In the case where one or
   17231 more carats precede a single nameseg, the nameseg was treated as
   17232 standalone and the search rule (to root) was inadvertently
   17233 applied.  This could cause both the iASL compiler and the
   17234 interpreter to find the wrong object or to miss the error that
   17235 should occur if the object does not exist at that exact pathname.
   17236 
   17237 Found and fixed the problem where the HP Pavilion DSDT would not
   17238 load.  This was a relatively minor tweak to the table loading code
   17239 (a problem caused by the unexpected encounter with a method
   17240 invocation not within a control method), but it does not solve the
   17241 overall issue of the execution of AML code at the table level.
   17242 This investigation is still ongoing.
   17243 
   17244 Code and Data Size: Current core subsystem library sizes are shown
   17245 below.  These are the code and data sizes for the acpica.lib
   17246 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17247 values do not include any ACPI driver or OSPM code.  The debug
   17248 version of the code includes the debug output trace mechanism and
   17249 has a larger code and data size.  Note that these values will vary
   17250 depending on the efficiency of the compiler and the compiler
   17251 options used during generation.
   17252 
   17253   Previous Release
   17254     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   17255     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   17256   Current Release:
   17257     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   17258     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   17259 
   17260 
   17261 2) Linux
   17262 
   17263 Remove redundant slab.h include (Brad Hards)
   17264 
   17265 Fix several bugs in thermal.c (Herbert Nachtnebel)
   17266 
   17267 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
   17268 
   17269 Change acpi_system_suspend to use updated irq functions (Pavel
   17270 Machek)
   17271 
   17272 Export acpi_get_firmware_table (Matthew Wilcox)
   17273 
   17274 Use proper root proc entry for ACPI (Kochi Takayoshi)
   17275 
   17276 Fix early-boot table parsing (Bjorn Helgaas)
   17277 
   17278 
   17279 3) iASL Compiler/Disassembler
   17280 
   17281 Reworked the compiler options to make them more consistent and to
   17282 use two-letter options where appropriate.  We were running out of
   17283 sensible letters.   This may break some makefiles, so check the
   17284 current options list by invoking the compiler with no parameters.
   17285 
   17286 Completed the design and implementation of the ASL namepath
   17287 optimization option for the compiler.  This option optimizes all
   17288 references to named objects to the shortest possible path.  The
   17289 first attempt tries to utilize a single nameseg (4 characters) and
   17290 the "search-to-root" algorithm used by the interpreter.  If that
   17291 cannot be used (because either the name is not in the search path
   17292 or there is a conflict with another object with the same name),
   17293 the pathname is optimized using the carat prefix (usually a
   17294 shorter string than specifying the entire path from the root.)
   17295 
   17296 Implemented support to obtain the DSDT from the Windows registry
   17297 (when the disassembly option is specified with no input file).
   17298 Added this code as the implementation for AcpiOsTableOverride in
   17299 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
   17300 utility) to scan memory for the DSDT to the AcpiOsTableOverride
   17301 function in the DOS OSL to make the disassembler truly OS
   17302 independent.
   17303 
   17304 Implemented a new option to disassemble and compile in one step.
   17305 When used without an input filename, this option will grab the
   17306 DSDT from the local machine, disassemble it, and compile it in one
   17307 step.
   17308 
   17309 Added a warning message for invalid escapes (a backslash followed
   17310 by any character other than the allowable escapes).  This catches
   17311 the quoted string error "\_SB_" (which should be "\\_SB_" ).
   17312 
   17313 Also, there are numerous instances in the ACPI specification where
   17314 this error occurs.
   17315 
   17316 Added a compiler option to disable all optimizations.  This is
   17317 basically the "compatibility mode" because by using this option,
   17318 the AML code will come out exactly the same as other ASL
   17319 compilers.
   17320 
   17321 Added error messages for incorrectly ordered dependent resource
   17322 functions.  This includes: missing EndDependentFn macro at end of
   17323 dependent resource list, nested dependent function macros (both
   17324 start and end), and missing StartDependentFn macro.  These are
   17325 common errors that should be caught at compile time.
   17326 
   17327 Implemented _OSI support for the disassembler and compiler.  _OSI
   17328 must be included in the namespace for proper disassembly (because
   17329 the disassembler must know the number of arguments.)
   17330 
   17331 Added an "optimization" message type that is optional (off by
   17332 default).  This message is used for all optimizations - including
   17333 constant folding, integer optimization, and namepath optimization.
   17334 
   17335 ----------------------------------------
   17336 25 July 2002.  Summary of changes for this release.
   17337 
   17338 
   17339 1) ACPI CA Core Subsystem Version 20020725:
   17340 
   17341 The AML Disassembler has been enhanced to produce compilable ASL
   17342 code and has been integrated into the iASL compiler (see below) as
   17343 well as the single-step disassembly for the AML debugger and the
   17344 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
   17345 resource templates and macros are fully supported.  The
   17346 disassembler has been tested on over 30 different AML files,
   17347 producing identical AML when the resulting disassembled ASL file
   17348 is recompiled with the same ASL compiler.
   17349 
   17350 Modified the Resource Manager to allow zero interrupts and zero
   17351 dma channels during the GetCurrentResources call.  This was
   17352 causing problems on some platforms.
   17353 
   17354 Added the AcpiOsRedirectOutput interface to the OSL to simplify
   17355 output redirection for the AcpiOsPrintf and AcpiOsVprintf
   17356 interfaces.
   17357 
   17358 Code and Data Size: Current core subsystem library sizes are shown
   17359 below.  These are the code and data sizes for the acpica.lib
   17360 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17361 values do not include any ACPI driver or OSPM code.  The debug
   17362 version of the code includes the debug output trace mechanism and
   17363 has a larger code and data size.  Note that these values will vary
   17364 depending on the efficiency of the compiler and the compiler
   17365 options used during generation.
   17366 
   17367   Previous Release
   17368     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   17369     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   17370   Current Release:
   17371     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   17372     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   17373 
   17374 
   17375 2) Linux
   17376 
   17377 Fixed a panic in the EC driver (Dominik Brodowski)
   17378 
   17379 Implemented checksum of the R/XSDT itself during Linux table scan
   17380 (Richard Schaal)
   17381 
   17382 
   17383 3) iASL compiler
   17384 
   17385 The AML disassembler is integrated into the compiler.  The "-d"
   17386 option invokes the disassembler  to completely disassemble an
   17387 input AML file, producing as output a text ASL file with the
   17388 extension ".dsl" (to avoid name collisions with existing .asl
   17389 source files.)  A future enhancement will allow the disassembler
   17390 to obtain the BIOS DSDT from the registry under Windows.
   17391 
   17392 Fixed a problem with the VendorShort and VendorLong resource
   17393 descriptors where an invalid AML sequence was created.
   17394 
   17395 Implemented a fix for BufferData term in the ASL parser.  It was
   17396 inadvertently defined twice, allowing invalid syntax to pass and
   17397 causing reduction conflicts.
   17398 
   17399 Fixed a problem where the Ones opcode could get converted to a
   17400 value of zero if "Ones" was used where a byte, word or dword value
   17401 was expected.  The 64-bit value is now truncated to the correct
   17402 size with the correct value.
   17403 
   17404 
   17405 
   17406 ----------------------------------------
   17407 02 July 2002.  Summary of changes for this release.
   17408 
   17409 
   17410 1) ACPI CA Core Subsystem Version 20020702:
   17411 
   17412 The Table Manager code has been restructured to add several new
   17413 features.  Tables that are not required by the core subsystem
   17414 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
   17415 validated in any way and are returned from AcpiGetFirmwareTable if
   17416 requested.  The AcpiOsTableOverride interface is now called for
   17417 each table that is loaded by the subsystem in order to allow the
   17418 host to override any table it chooses.  Previously, only the DSDT
   17419 could be overridden.  Added one new files, tbrsdt.c and
   17420 tbgetall.c.
   17421 
   17422 Fixed a problem with the conversion of internal package objects to
   17423 external objects (when a package is returned from a control
   17424 method.)  The return buffer length was set to zero instead of the
   17425 proper length of the package object.
   17426 
   17427 Fixed a reported problem with the use of the RefOf and DeRefOf
   17428 operators when passing reference arguments to control methods.  A
   17429 new type of Reference object is used internally for references
   17430 produced by the RefOf operator.
   17431 
   17432 Added additional error messages in the Resource Manager to explain
   17433 AE_BAD_DATA errors when they occur during resource parsing.
   17434 
   17435 Split the AcpiEnableSubsystem into two primitives to enable a
   17436 finer granularity initialization sequence.  These two calls should
   17437 be called in this order: AcpiEnableSubsystem (flags),
   17438 AcpiInitializeObjects (flags).  The flags parameter remains the
   17439 same.
   17440 
   17441 
   17442 2) Linux
   17443 
   17444 Updated the ACPI utilities module to understand the new style of
   17445 fully resolved package objects that are now returned from the core
   17446 subsystem.  This eliminates errors of the form:
   17447 
   17448     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
   17449     acpi_utils-0430 [145] acpi_evaluate_reference:
   17450         Invalid element in package (not a device reference)
   17451 
   17452 The method evaluation utility uses the new buffer allocation
   17453 scheme instead of calling AcpiEvaluate Object twice.
   17454 
   17455 Added support for ECDT. This allows the use of the Embedded
   17456 
   17457 Controller before the namespace has been fully initialized, which
   17458 is necessary for ACPI 2.0 support, and for some laptops to
   17459 initialize properly. (Laptops using ECDT are still rare, so only
   17460 limited testing was performed of the added functionality.)
   17461 
   17462 Fixed memory leaks in the EC driver.
   17463 
   17464 Eliminated a brittle code structure in acpi_bus_init().
   17465 
   17466 Eliminated the acpi_evaluate() helper function in utils.c. It is
   17467 no longer needed since acpi_evaluate_object can optionally
   17468 allocate memory for the return object.
   17469 
   17470 Implemented fix for keyboard hang when getting battery readings on
   17471 some systems (Stephen White)
   17472 
   17473 PCI IRQ routing update (Dominik Brodowski)
   17474 
   17475 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
   17476 support
   17477 
   17478 ----------------------------------------
   17479 11 June 2002.  Summary of changes for this release.
   17480 
   17481 
   17482 1) ACPI CA Core Subsystem Version 20020611:
   17483 
   17484 Fixed a reported problem where constants such as Zero and One
   17485 appearing within _PRT packages were not handled correctly within
   17486 the resource manager code.  Originally reported against the ASL
   17487 compiler because the code generator now optimizes integers to
   17488 their minimal AML representation (i.e. AML constants if possible.)
   17489 The _PRT code now handles all AML constant opcodes correctly
   17490 (Zero, One, Ones, Revision).
   17491 
   17492 Fixed a problem with the Concatenate operator in the AML
   17493 interpreter where a buffer result object was incorrectly marked as
   17494 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
   17495 
   17496 All package sub-objects are now fully resolved before they are
   17497 returned from the external ACPI interfaces.  This means that name
   17498 strings are resolved to object handles, and constant operators
   17499 (Zero, One, Ones, Revision) are resolved to Integers.
   17500 
   17501 Implemented immediate resolution of the AML Constant opcodes
   17502 (Zero, One, Ones, Revision) to Integer objects upon detection
   17503 within the AML stream. This has simplified and reduced the
   17504 generated code size of the subsystem by eliminating about 10
   17505 switch statements for these constants (which previously were
   17506 contained in Reference objects.)  The complicating issues are that
   17507 the Zero opcode is used as a "placeholder" for unspecified
   17508 optional target operands and stores to constants are defined to be
   17509 no-ops.
   17510 
   17511 Code and Data Size: Current core subsystem library sizes are shown
   17512 below. These are the code and data sizes for the acpica.lib
   17513 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17514 values do not include any ACPI driver or OSPM code.  The debug
   17515 version of the code includes the debug output trace mechanism and
   17516 has a larger code and data size.  Note that these values will vary
   17517 depending on the efficiency of the compiler and the compiler
   17518 options used during generation.
   17519 
   17520   Previous Release
   17521     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   17522     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   17523   Current Release:
   17524     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   17525     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   17526 
   17527 
   17528 2) Linux
   17529 
   17530 
   17531 Added preliminary support for obtaining _TRA data for PCI root
   17532 bridges (Bjorn Helgaas).
   17533 
   17534 
   17535 3) iASL Compiler Version X2046:
   17536 
   17537 Fixed a problem where the "_DDN" reserved name was defined to be a
   17538 control method with one argument.  There are no arguments, and
   17539 _DDN does not have to be a control method.
   17540 
   17541 Fixed a problem with the Linux version of the compiler where the
   17542 source lines printed with error messages were the wrong lines.
   17543 This turned out to be the "LF versus CR/LF" difference between
   17544 Windows and Unix.  This appears to be the longstanding issue
   17545 concerning listing output and error messages.
   17546 
   17547 Fixed a problem with the Linux version of compiler where opcode
   17548 names within error messages were wrong.  This was caused by a
   17549 slight difference in the output of the Flex tool on Linux versus
   17550 Windows.
   17551 
   17552 Fixed a problem with the Linux compiler where the hex output files
   17553 contained some garbage data caused by an internal buffer overrun.
   17554 
   17555 
   17556 ----------------------------------------
   17557 17 May 2002.  Summary of changes for this release.
   17558 
   17559 
   17560 1) ACPI CA Core Subsystem Version 20020517:
   17561 
   17562 Implemented a workaround to an BIOS bug discovered on the HP
   17563 OmniBook where the FADT revision number and the table size are
   17564 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
   17565 behavior is to fallback to using only the ACPI 1.0 fields of the
   17566 FADT if the table is too small to be a ACPI 2.0 table as claimed
   17567 by the revision number.  Although this is a BIOS bug, this is a
   17568 case where the workaround is simple enough and with no side
   17569 effects, so it seemed prudent to add it.  A warning message is
   17570 issued, however.
   17571 
   17572 Implemented minimum size checks for the fixed-length ACPI tables -
   17573 - the FADT and FACS, as well as consistency checks between the
   17574 revision number and the table size.
   17575 
   17576 Fixed a reported problem in the table override support where the
   17577 new table pointer was incorrectly treated as a physical address
   17578 instead of a logical address.
   17579 
   17580 Eliminated the use of the AE_AML_ERROR exception and replaced it
   17581 with more descriptive codes.
   17582 
   17583 Fixed a problem where an exception would occur if an ASL Field was
   17584 defined with no named Field Units underneath it (used by some
   17585 index fields).
   17586 
   17587 Code and Data Size: Current core subsystem library sizes are shown
   17588 below.  These are the code and data sizes for the acpica.lib
   17589 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17590 values do not include any ACPI driver or OSPM code.  The debug
   17591 version of the code includes the debug output trace mechanism and
   17592 has a larger code and data size.  Note that these values will vary
   17593 depending on the efficiency of the compiler and the compiler
   17594 options used during generation.
   17595 
   17596   Previous Release
   17597     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   17598     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   17599   Current Release:
   17600     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   17601     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   17602 
   17603 
   17604 
   17605 2) Linux
   17606 
   17607 Much work done on ACPI init (MADT and PCI IRQ routing support).
   17608 (Paul D. and Dominik Brodowski)
   17609 
   17610 Fix PCI IRQ-related panic on boot (Sam Revitch)
   17611 
   17612 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
   17613 
   17614 Fix "MHz" typo (Dominik Brodowski)
   17615 
   17616 Fix RTC year 2000 issue (Dominik Brodowski)
   17617 
   17618 Preclude multiple button proc entries (Eric Brunet)
   17619 
   17620 Moved arch-specific code out of include/platform/aclinux.h
   17621 
   17622 3) iASL Compiler Version X2044:
   17623 
   17624 Implemented error checking for the string used in the EISAID macro
   17625 (Usually used in the definition of the _HID object.)  The code now
   17626 strictly enforces the PnP format - exactly 7 characters, 3
   17627 uppercase letters and 4 hex digits.
   17628 
   17629 If a raw string is used in the definition of the _HID object
   17630 (instead of the EISAID macro), the string must contain all
   17631 alphanumeric characters (e.g., "*PNP0011" is not allowed because
   17632 of the asterisk.)
   17633 
   17634 Implemented checking for invalid use of ACPI reserved names for
   17635 most of the name creation operators (Name, Device, Event, Mutex,
   17636 OperationRegion, PowerResource, Processor, and ThermalZone.)
   17637 Previously, this check was only performed for control methods.
   17638 
   17639 Implemented an additional check on the Name operator to emit an
   17640 error if a reserved name that must be implemented in ASL as a
   17641 control method is used.  We know that a reserved name must be a
   17642 method if it is defined with input arguments.
   17643 
   17644 The warning emitted when a namespace object reference is not found
   17645 during the cross reference phase has been changed into an error.
   17646 The "External" directive should be used for names defined in other
   17647 modules.
   17648 
   17649 
   17650 4) Tools and Utilities
   17651 
   17652 The 16-bit tools (adump16 and aexec16) have been regenerated and
   17653 tested.
   17654 
   17655 Fixed a problem with the output of both acpidump and adump16 where
   17656 the indentation of closing parentheses and brackets was not
   17657 
   17658 aligned properly with the parent block.
   17659 
   17660 
   17661 ----------------------------------------
   17662 03 May 2002.  Summary of changes for this release.
   17663 
   17664 
   17665 1) ACPI CA Core Subsystem Version 20020503:
   17666 
   17667 Added support a new OSL interface that allows the host operating
   17668 
   17669 system software to override the DSDT found in the firmware -
   17670 AcpiOsTableOverride.  With this interface, the OSL can examine the
   17671 version of the firmware DSDT and replace it with a different one
   17672 if desired.
   17673 
   17674 Added new external interfaces for accessing ACPI registers from
   17675 device drivers and other system software - AcpiGetRegister and
   17676 AcpiSetRegister.  This was simply an externalization of the
   17677 existing AcpiHwBitRegister interfaces.
   17678 
   17679 Fixed a regression introduced in the previous build where the
   17680 ASL/AML CreateField operator always returned an error,
   17681 "destination must be a NS Node".
   17682 
   17683 Extended the maximum time (before failure) to successfully enable
   17684 ACPI mode to 3 seconds.
   17685 
   17686 Code and Data Size: Current core subsystem library sizes are shown
   17687 below.  These are the code and data sizes for the acpica.lib
   17688 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17689 values do not include any ACPI driver or OSPM code.  The debug
   17690 version of the code includes the debug output trace mechanism and
   17691 has a larger code and data size.  Note that these values will vary
   17692 depending on the efficiency of the compiler and the compiler
   17693 options used during generation.
   17694 
   17695   Previous Release
   17696     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   17697     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   17698   Current Release:
   17699     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   17700     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   17701 
   17702 
   17703 2) Linux
   17704 
   17705 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
   17706 free. While 3 out of 4 of our in-house systems work fine, the last
   17707 one still hangs when testing the LAPIC timer.
   17708 
   17709 Renamed many files in 2.5 kernel release to omit "acpi_" from the
   17710 name.
   17711 
   17712 Added warning on boot for Presario 711FR.
   17713 
   17714 Sleep improvements (Pavel Machek)
   17715 
   17716 ACPI can now be built without CONFIG_PCI enabled.
   17717 
   17718 IA64: Fixed memory map functions (JI Lee)
   17719 
   17720 
   17721 3) iASL Compiler Version X2043:
   17722 
   17723 Added support to allow the compiler to be integrated into the MS
   17724 VC++ development environment for one-button compilation of single
   17725 files or entire projects -- with error-to-source-line mapping.
   17726 
   17727 Implemented support for compile-time constant folding for the
   17728 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
   17729 specification.  This allows the ASL writer to use expressions
   17730 instead of Integer/Buffer/String constants in terms that must
   17731 evaluate to constants at compile time and will also simplify the
   17732 emitted AML in any such sub-expressions that can be folded
   17733 (evaluated at compile-time.)  This increases the size of the
   17734 compiler significantly because a portion of the ACPI CA AML
   17735 interpreter is included within the compiler in order to pre-
   17736 evaluate constant expressions.
   17737 
   17738 
   17739 Fixed a problem with the "Unicode" ASL macro that caused the
   17740 compiler to fault.  (This macro is used in conjunction with the
   17741 _STR reserved name.)
   17742 
   17743 Implemented an AML opcode optimization to use the Zero, One, and
   17744 Ones opcodes where possible to further reduce the size of integer
   17745 constants and thus reduce the overall size of the generated AML
   17746 code.
   17747 
   17748 Implemented error checking for new reserved terms for ACPI version
   17749 2.0A.
   17750 
   17751 Implemented the -qr option to display the current list of ACPI
   17752 reserved names known to the compiler.
   17753 
   17754 Implemented the -qc option to display the current list of ASL
   17755 operators that are allowed within constant expressions and can
   17756 therefore be folded at compile time if the operands are constants.
   17757 
   17758 
   17759 4) Documentation
   17760 
   17761 Updated the Programmer's Reference for new interfaces, data types,
   17762 and memory allocation model options.
   17763 
   17764 Updated the iASL Compiler User Reference to apply new format and
   17765 add information about new features and options.
   17766 
   17767 ----------------------------------------
   17768 19 April 2002.  Summary of changes for this release.
   17769 
   17770 1) ACPI CA Core Subsystem Version 20020419:
   17771 
   17772 The source code base for the Core Subsystem has been completely
   17773 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
   17774 versions.  The Lint option files used are included in the
   17775 /acpi/generate/lint directory.
   17776 
   17777 Implemented enhanced status/error checking across the entire
   17778 Hardware manager subsystem.  Any hardware errors (reported from
   17779 the OSL) are now bubbled up and will abort a running control
   17780 method.
   17781 
   17782 
   17783 Fixed a problem where the per-ACPI-table integer width (32 or 64)
   17784 was stored only with control method nodes, causing a fault when
   17785 non-control method code was executed during table loading.  The
   17786 solution implemented uses a global variable to indicate table
   17787 width across the entire ACPI subsystem.  Therefore, ACPI CA does
   17788 not support mixed integer widths across different ACPI tables
   17789 (DSDT, SSDT).
   17790 
   17791 Fixed a problem where NULL extended fields (X fields) in an ACPI
   17792 2.0 ACPI FADT caused the table load to fail.  Although the
   17793 existing ACPI specification is a bit fuzzy on this topic, the new
   17794 behavior is to fall back on a ACPI 1.0 field if the corresponding
   17795 ACPI 2.0 X field is zero (even though the table revision indicates
   17796 a full ACPI 2.0 table.)  The ACPI specification will be updated to
   17797 clarify this issue.
   17798 
   17799 Fixed a problem with the SystemMemory operation region handler
   17800 where memory was always accessed byte-wise even if the AML-
   17801 specified access width was larger than a byte.  This caused
   17802 problems on systems with memory-mapped I/O.  Memory is now
   17803 accessed with the width specified.  On systems that do not support
   17804 non-aligned transfers, a check is made to guarantee proper address
   17805 alignment before proceeding in order to avoid an AML-caused
   17806 alignment fault within the kernel.
   17807 
   17808 
   17809 Fixed a problem with the ExtendedIrq resource where only one byte
   17810 of the 4-byte Irq field was extracted.
   17811 
   17812 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
   17813 function was out of date and required a rewrite.
   17814 
   17815 Code and Data Size: Current core subsystem library sizes are shown
   17816 below.  These are the code and data sizes for the acpica.lib
   17817 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17818 values do not include any ACPI driver or OSPM code.  The debug
   17819 version of the code includes the debug output trace mechanism and
   17820 has a larger code and data size.  Note that these values will vary
   17821 depending on the efficiency of the compiler and the compiler
   17822 options used during generation.
   17823 
   17824   Previous Release
   17825     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   17826     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   17827   Current Release:
   17828     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   17829     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   17830 
   17831 
   17832 2) Linux
   17833 
   17834 PCI IRQ routing fixes (Dominik Brodowski)
   17835 
   17836 
   17837 3) iASL Compiler Version X2042:
   17838 
   17839 Implemented an additional compile-time error check for a field
   17840 unit whose size + minimum access width would cause a run-time
   17841 access beyond the end-of-region.  Previously, only the field size
   17842 itself was checked.
   17843 
   17844 The Core subsystem and iASL compiler now share a common parse
   17845 object in preparation for compile-time evaluation of the type
   17846 3/4/5 ASL operators.
   17847 
   17848 
   17849 ----------------------------------------
   17850 Summary of changes for this release: 03_29_02
   17851 
   17852 1) ACPI CA Core Subsystem Version 20020329:
   17853 
   17854 Implemented support for late evaluation of TermArg operands to
   17855 Buffer and Package objects.  This allows complex expressions to be
   17856 used in the declarations of these object types.
   17857 
   17858 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
   17859 1.0, if the field was larger than 32 bits, it was returned as a
   17860 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
   17861 the field is returned as a buffer only if the field is larger than
   17862 64 bits.  The TableRevision is now considered when making this
   17863 conversion to avoid incompatibility with existing ASL code.
   17864 
   17865 Implemented logical addressing for AcpiOsGetRootPointer.  This
   17866 allows an RSDP with either a logical or physical address.  With
   17867 this support, the host OS can now override all ACPI tables with
   17868 one logical RSDP.  Includes implementation of  "typed" pointer
   17869 support to allow a common data type for both physical and logical
   17870 pointers internally.  This required a change to the
   17871 AcpiOsGetRootPointer interface.
   17872 
   17873 Implemented the use of ACPI 2.0 Generic Address Structures for all
   17874 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
   17875 mapped I/O for these ACPI features.
   17876 
   17877 Initialization now ignores not only non-required tables (All
   17878 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
   17879 not validate the table headers of unrecognized tables.
   17880 
   17881 Fixed a problem where a notify handler could only be
   17882 installed/removed on an object of type Device.  All "notify"
   17883 
   17884 objects are now supported -- Devices, Processor, Power, and
   17885 Thermal.
   17886 
   17887 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
   17888 critical information is returned when this debug level is enabled.
   17889 
   17890 Code and Data Size: Current core subsystem library sizes are shown
   17891 below.  These are the code and data sizes for the acpica.lib
   17892 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17893 values do not include any ACPI driver or OSPM code.  The debug
   17894 version of the code includes the debug output trace mechanism and
   17895 has a larger code and data size.  Note that these values will vary
   17896 depending on the efficiency of the compiler and the compiler
   17897 options used during generation.
   17898 
   17899   Previous Release
   17900     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   17901     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   17902   Current Release:
   17903     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   17904     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   17905 
   17906 
   17907 2) Linux:
   17908 
   17909 The processor driver (acpi_processor.c) now fully supports ACPI
   17910 2.0-based processor performance control (e.g. Intel(R)
   17911 SpeedStep(TM) technology) Note that older laptops that only have
   17912 the Intel "applet" interface are not supported through this.  The
   17913 'limit' and 'performance' interface (/proc) are fully functional.
   17914 [Note that basic policy for controlling performance state
   17915 transitions will be included in the next version of ospmd.]  The
   17916 idle handler was modified to more aggressively use C2, and PIIX4
   17917 errata handling underwent a complete overhaul (big thanks to
   17918 Dominik Brodowski).
   17919 
   17920 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
   17921 based devices in the ACPI namespace are now dynamically bound
   17922 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
   17923 This allows, among other things, ACPI to resolve bus numbers for
   17924 subordinate PCI bridges.
   17925 
   17926 Enhanced PCI IRQ routing to get the proper bus number for _PRT
   17927 entries defined underneath PCI bridges.
   17928 
   17929 Added IBM 600E to bad bios list due to invalid _ADR value for
   17930 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
   17931 
   17932 In the process of adding full MADT support (e.g. IOAPIC) for IA32
   17933 (acpi.c, mpparse.c) -- stay tuned.
   17934 
   17935 Added back visual differentiation between fixed-feature and
   17936 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
   17937 button/power/PWRF) to simplify button identification.
   17938 
   17939 We no longer use -Wno-unused when compiling debug. Please ignore
   17940 any "_THIS_MODULE defined but not used" messages.
   17941 
   17942 Can now shut down the system using "magic sysrq" key.
   17943 
   17944 
   17945 3) iASL Compiler version 2041:
   17946 
   17947 Fixed a problem where conversion errors for hex/octal/decimal
   17948 constants were not reported.
   17949 
   17950 Implemented a fix for the General Register template Address field.
   17951 This field was 8 bits when it should be 64.
   17952 
   17953 Fixed a problem where errors/warnings were no longer being emitted
   17954 within the listing output file.
   17955 
   17956 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
   17957 exactly 4 characters, alphanumeric only.
   17958 
   17959 
   17960 
   17961 
   17962 ----------------------------------------
   17963 Summary of changes for this release: 03_08_02
   17964 
   17965 
   17966 1) ACPI CA Core Subsystem Version 20020308:
   17967 
   17968 Fixed a problem with AML Fields where the use of the "AccessAny"
   17969 keyword could cause an interpreter error due to attempting to read
   17970 or write beyond the end of the parent Operation Region.
   17971 
   17972 Fixed a problem in the SystemMemory Operation Region handler where
   17973 an attempt was made to map memory beyond the end of the region.
   17974 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
   17975 errors on some Linux systems.
   17976 
   17977 Fixed a problem where the interpreter/namespace "search to root"
   17978 algorithm was not functioning for some object types.  Relaxed the
   17979 internal restriction on the search to allow upsearches for all
   17980 external object types as well as most internal types.
   17981 
   17982 
   17983 2) Linux:
   17984 
   17985 We now use safe_halt() macro versus individual calls to sti | hlt.
   17986 
   17987 Writing to the processor limit interface should now work. "echo 1"
   17988 will increase the limit, 2 will decrease, and 0 will reset to the
   17989 
   17990 default.
   17991 
   17992 
   17993 3) ASL compiler:
   17994 
   17995 Fixed segfault on Linux version.
   17996 
   17997 
   17998 ----------------------------------------
   17999 Summary of changes for this release: 02_25_02
   18000 
   18001 1) ACPI CA Core Subsystem:
   18002 
   18003 
   18004 Fixed a problem where the GPE bit masks were not initialized
   18005 properly, causing erratic GPE behavior.
   18006 
   18007 Implemented limited support for multiple calling conventions.  The
   18008 code can be generated with either the VPL (variable parameter
   18009 list, or "C") convention, or the FPL (fixed parameter list, or
   18010 "Pascal") convention.  The core subsystem is about 3.4% smaller
   18011 when generated with FPL.
   18012 
   18013 
   18014 2) Linux
   18015 
   18016 Re-add some /proc/acpi/event functionality that was lost during
   18017 the rewrite
   18018 
   18019 Resolved issue with /proc events for fixed-feature buttons showing
   18020 up as the system device.
   18021 
   18022 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
   18023 
   18024 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
   18025 
   18026 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
   18027 
   18028 Fixed limit interface & usage to fix bugs with passive cooling
   18029 hysterisis.
   18030 
   18031 Restructured PRT support.
   18032 
   18033 
   18034 ----------------------------------------
   18035 Summary of changes for this label: 02_14_02
   18036 
   18037 
   18038 1) ACPI CA Core Subsystem:
   18039 
   18040 Implemented support in AcpiLoadTable to allow loading of FACS and
   18041 FADT tables.
   18042 
   18043 Support for the now-obsolete interim 0.71 64-bit ACPI tables has
   18044 been removed.  All 64-bit platforms should be migrated to the ACPI
   18045 2.0 tables.  The actbl71.h header has been removed from the source
   18046 tree.
   18047 
   18048 All C macros defined within the subsystem have been prefixed with
   18049 "ACPI_" to avoid collision with other system include files.
   18050 
   18051 Removed the return value for the two AcpiOsPrint interfaces, since
   18052 it is never used and causes lint warnings for ignoring the return
   18053 value.
   18054 
   18055 Added error checking to all internal mutex acquire and release
   18056 calls.  Although a failure from one of these interfaces is
   18057 probably a fatal system error, these checks will cause the
   18058 immediate abort of the currently executing method or interface.
   18059 
   18060 Fixed a problem where the AcpiSetCurrentResources interface could
   18061 fault.  This was a side effect of the deployment of the new memory
   18062 allocation model.
   18063 
   18064 Fixed a couple of problems with the Global Lock support introduced
   18065 in the last major build.  The "common" (1.0/2.0) internal FACS was
   18066 being overwritten with the FACS signature and clobbering the
   18067 Global Lock pointer.  Also, the actual firmware FACS was being
   18068 unmapped after construction of the "common" FACS, preventing
   18069 access to the actual Global Lock field within it.  The "common"
   18070 internal FACS is no longer installed as an actual ACPI table; it
   18071 is used simply as a global.
   18072 
   18073 Code and Data Size: Current core subsystem library sizes are shown
   18074 below.  These are the code and data sizes for the acpica.lib
   18075 produced by the Microsoft Visual C++ 6.0 compiler, and these
   18076 values do not include any ACPI driver or OSPM code.  The debug
   18077 version of the code includes the debug output trace mechanism and
   18078 has a larger code and data size.  Note that these values will vary
   18079 depending on the efficiency of the compiler and the compiler
   18080 options used during generation.
   18081 
   18082   Previous Release (02_07_01)
   18083     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   18084     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   18085   Current Release:
   18086     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   18087     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   18088 
   18089 
   18090 2) Linux
   18091 
   18092 Updated Linux-specific code for core macro and OSL interface
   18093 changes described above.
   18094 
   18095 Improved /proc/acpi/event. It now can be opened only once and has
   18096 proper poll functionality.
   18097 
   18098 Fixed and restructured power management (acpi_bus).
   18099 
   18100 Only create /proc "view by type" when devices of that class exist.
   18101 
   18102 Fixed "charging/discharging" bug (and others) in acpi_battery.
   18103 
   18104 Improved thermal zone code.
   18105 
   18106 
   18107 3) ASL Compiler, version X2039:
   18108 
   18109 
   18110 Implemented the new compiler restriction on ASL String hex/octal
   18111 escapes to non-null, ASCII values.  An error results if an invalid
   18112 value is used.  (This will require an ACPI 2.0 specification
   18113 change.)
   18114 
   18115 AML object labels that are output to the optional C and ASM source
   18116 are now prefixed with both the ACPI table signature and table ID
   18117 to help guarantee uniqueness within a large BIOS project.
   18118 
   18119 
   18120 ----------------------------------------
   18121 Summary of changes for this label: 02_01_02
   18122 
   18123 1) ACPI CA Core Subsystem:
   18124 
   18125 ACPI 2.0 support is complete in the entire Core Subsystem and the
   18126 ASL compiler. All new ACPI 2.0 operators are implemented and all
   18127 other changes for ACPI 2.0 support are complete.  With
   18128 simultaneous code and data optimizations throughout the subsystem,
   18129 ACPI 2.0 support has been implemented with almost no additional
   18130 cost in terms of code and data size.
   18131 
   18132 Implemented a new mechanism for allocation of return buffers.  If
   18133 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
   18134 be allocated on behalf of the caller.  Consolidated all return
   18135 buffer validation and allocation to a common procedure.  Return
   18136 buffers will be allocated via the primary OSL allocation interface
   18137 since it appears that a separate pool is not needed by most users.
   18138 If a separate pool is required for these buffers, the caller can
   18139 still use the original mechanism and pre-allocate the buffer(s).
   18140 
   18141 Implemented support for string operands within the DerefOf
   18142 operator.
   18143 
   18144 Restructured the Hardware and Event managers to be table driven,
   18145 simplifying the source code and reducing the amount of generated
   18146 code.
   18147 
   18148 Split the common read/write low-level ACPI register bitfield
   18149 procedure into a separate read and write, simplifying the code
   18150 considerably.
   18151 
   18152 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
   18153 used only a handful of times and didn't have enough critical mass
   18154 for a separate interface.  Replaced with a common calloc procedure
   18155 in the core.
   18156 
   18157 Fixed a reported problem with the GPE number mapping mechanism
   18158 that allows GPE1 numbers to be non-contiguous with GPE0.
   18159 Reorganized the GPE information and shrunk a large array that was
   18160 originally large enough to hold info for all possible GPEs (256)
   18161 to simply large enough to hold all GPEs up to the largest GPE
   18162 number on the machine.
   18163 
   18164 Fixed a reported problem with resource structure alignment on 64-
   18165 bit platforms.
   18166 
   18167 Changed the AcpiEnableEvent and AcpiDisableEvent external
   18168 interfaces to not require any flags for the common case of
   18169 enabling/disabling a GPE.
   18170 
   18171 Implemented support to allow a "Notify" on a Processor object.
   18172 
   18173 Most TBDs in comments within the source code have been resolved
   18174 and eliminated.
   18175 
   18176 
   18177 Fixed a problem in the interpreter where a standalone parent
   18178 prefix (^) was not handled correctly in the interpreter and
   18179 debugger.
   18180 
   18181 Removed obsolete and unnecessary GPE save/restore code.
   18182 
   18183 Implemented Field support in the ASL Load operator.  This allows a
   18184 table to be loaded from a named field, in addition to loading a
   18185 table directly from an Operation Region.
   18186 
   18187 Implemented timeout and handle support in the external Global Lock
   18188 interfaces.
   18189 
   18190 Fixed a problem in the AcpiDump utility where pathnames were no
   18191 longer being generated correctly during the dump of named objects.
   18192 
   18193 Modified the AML debugger to give a full display of if/while
   18194 predicates instead of just one AML opcode at a time.  (The
   18195 predicate can have several nested ASL statements.)  The old method
   18196 was confusing during single stepping.
   18197 
   18198 Code and Data Size: Current core subsystem library sizes are shown
   18199 below. These are the code and data sizes for the acpica.lib
   18200 produced by the Microsoft Visual C++ 6.0 compiler, and these
   18201 values do not include any ACPI driver or OSPM code.  The debug
   18202 version of the code includes the debug output trace mechanism and
   18203 has a larger code and data size.  Note that these values will vary
   18204 depending on the efficiency of the compiler and the compiler
   18205 options used during generation.
   18206 
   18207   Previous Release (12_18_01)
   18208      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   18209      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   18210    Current Release:
   18211      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   18212      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   18213 
   18214 2) Linux
   18215 
   18216  Implemented fix for PIIX reverse throttling errata (Processor
   18217 driver)
   18218 
   18219 Added new Limit interface (Processor and Thermal drivers)
   18220 
   18221 New thermal policy (Thermal driver)
   18222 
   18223 Many updates to /proc
   18224 
   18225 Battery "low" event support (Battery driver)
   18226 
   18227 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
   18228 
   18229 IA32 - IA64 initialization unification, no longer experimental
   18230 
   18231 Menuconfig options redesigned
   18232 
   18233 3) ASL Compiler, version X2037:
   18234 
   18235 Implemented several new output features to simplify integration of
   18236 AML code into  firmware: 1) Output the AML in C source code with
   18237 labels for each named ASL object.  The    original ASL source code
   18238 is interleaved as C comments. 2) Output the AML in ASM source code
   18239 with labels and interleaved ASL    source. 3) Output the AML in
   18240 raw hex table form, in either C or ASM.
   18241 
   18242 Implemented support for optional string parameters to the
   18243 LoadTable operator.
   18244 
   18245 Completed support for embedded escape sequences within string
   18246 literals.  The compiler now supports all single character escapes
   18247 as well as the Octal and Hex escapes.  Note: the insertion of a
   18248 null byte into a string literal (via the hex/octal escape) causes
   18249 the string to be immediately terminated.  A warning is issued.
   18250 
   18251 Fixed a problem where incorrect AML was generated for the case
   18252 where an ASL namepath consists of a single parent prefix (
   18253 
   18254 ) with no trailing name segments.
   18255 
   18256 The compiler has been successfully generated with a 64-bit C
   18257 compiler.
   18258 
   18259 
   18260 
   18261 
   18262 ----------------------------------------
   18263 Summary of changes for this label: 12_18_01
   18264 
   18265 1) Linux
   18266 
   18267 Enhanced blacklist with reason and severity fields. Any table's
   18268 signature may now be used to identify a blacklisted system.
   18269 
   18270 Call _PIC control method to inform the firmware which interrupt
   18271 model the OS is using. Turn on any disabled link devices.
   18272 
   18273 Cleaned up busmgr /proc error handling (Andreas Dilger)
   18274 
   18275  2) ACPI CA Core Subsystem:
   18276 
   18277 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
   18278 while loop)
   18279 
   18280 Completed implementation of the ACPI 2.0 "Continue",
   18281 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
   18282 operators.  All new ACPI 2.0 operators are now implemented in both
   18283 the ASL compiler and the AML interpreter.  The only remaining ACPI
   18284 2.0 task is support for the String data type in the DerefOf
   18285 operator.  Fixed a problem with AcquireMutex where the status code
   18286 was lost if the caller had to actually wait for the mutex.
   18287 
   18288 Increased the maximum ASL Field size from 64K bits to 4G bits.
   18289 
   18290 Completed implementation of the external Global Lock interfaces --
   18291 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
   18292 Handler parameters were added.
   18293 
   18294 Completed another pass at removing warnings and issues when
   18295 compiling with 64-bit compilers.  The code now compiles cleanly
   18296 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
   18297 add and subtract (diff) macros have changed considerably.
   18298 
   18299 
   18300 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
   18301 64-bit platforms, 32-bits on all others.  This type is used
   18302 wherever memory allocation and/or the C sizeof() operator is used,
   18303 and affects the OSL memory allocation interfaces AcpiOsAllocate
   18304 and AcpiOsCallocate.
   18305 
   18306 Implemented sticky user breakpoints in the AML debugger.
   18307 
   18308 Code and Data Size: Current core subsystem library sizes are shown
   18309 below. These are the code and data sizes for the acpica.lib
   18310 produced by the Microsoft Visual C++ 6.0 compiler, and these
   18311 values do not include any ACPI driver or OSPM code.  The debug
   18312 version of the code includes the debug output trace mechanism and
   18313 has a larger code and data size. Note that these values will vary
   18314 depending on the efficiency of the compiler and the compiler
   18315 options used during generation.
   18316 
   18317   Previous Release (12_05_01)
   18318      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   18319      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   18320    Current Release:
   18321      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   18322      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   18323 
   18324  3) ASL Compiler, version X2034:
   18325 
   18326 Now checks for (and generates an error if detected) the use of a
   18327 Break or Continue statement without an enclosing While statement.
   18328 
   18329 
   18330 Successfully generated the compiler with the Intel 64-bit C
   18331 compiler.
   18332 
   18333  ----------------------------------------
   18334 Summary of changes for this label: 12_05_01
   18335 
   18336  1) ACPI CA Core Subsystem:
   18337 
   18338 The ACPI 2.0 CopyObject operator is fully implemented.  This
   18339 operator creates a new copy of an object (and is also used to
   18340 bypass the "implicit conversion" mechanism of the Store operator.)
   18341 
   18342 The ACPI 2.0 semantics for the SizeOf operator are fully
   18343 implemented.  The change is that performing a SizeOf on a
   18344 reference object causes an automatic dereference of the object to
   18345 the actual value before the size is evaluated. This behavior was
   18346 undefined in ACPI 1.0.
   18347 
   18348 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
   18349 have been implemented.  The interrupt polarity and mode are now
   18350 independently set.
   18351 
   18352 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
   18353 appearing in Package objects were not properly converted to
   18354 integers when the internal Package was converted to an external
   18355 object (via the AcpiEvaluateObject interface.)
   18356 
   18357 Fixed a problem with the namespace object deletion mechanism for
   18358 objects created by control methods.  There were two parts to this
   18359 problem: 1) Objects created during the initialization phase method
   18360 parse were not being deleted, and 2) The object owner ID mechanism
   18361 to track objects was broken.
   18362 
   18363 Fixed a problem where the use of the ASL Scope operator within a
   18364 control method would result in an invalid opcode exception.
   18365 
   18366 Fixed a problem introduced in the previous label where the buffer
   18367 length required for the _PRT structure was not being returned
   18368 correctly.
   18369 
   18370 Code and Data Size: Current core subsystem library sizes are shown
   18371 below. These are the code and data sizes for the acpica.lib
   18372 produced by the Microsoft Visual C++ 6.0 compiler, and these
   18373 values do not include any ACPI driver or OSPM code.  The debug
   18374 version of the code includes the debug output trace mechanism and
   18375 has a larger code and data size.  Note that these values will vary
   18376 depending on the efficiency of the compiler and the compiler
   18377 options used during generation.
   18378 
   18379   Previous Release (11_20_01)
   18380      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   18381      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   18382 
   18383   Current Release:
   18384      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   18385      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   18386 
   18387  2) Linux:
   18388 
   18389 Updated all files to apply cleanly against 2.4.16.
   18390 
   18391 Added basic PCI Interrupt Routing Table (PRT) support for IA32
   18392 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
   18393 version supports both static and dynamic PRT entries, but dynamic
   18394 entries are treated as if they were static (not yet
   18395 reconfigurable).  Architecture- specific code to use this data is
   18396 absent on IA32 but should be available shortly.
   18397 
   18398 Changed the initialization sequence to start the ACPI interpreter
   18399 (acpi_init) prior to initialization of the PCI driver (pci_init)
   18400 in init/main.c.  This ordering is required to support PRT and
   18401 facilitate other (future) enhancement.  A side effect is that the
   18402 ACPI bus driver and certain device drivers can no longer be loaded
   18403 as modules.
   18404 
   18405 Modified the 'make menuconfig' options to allow PCI Interrupt
   18406 Routing support to be included without the ACPI Bus and other
   18407 device drivers.
   18408 
   18409  3) ASL Compiler, version X2033:
   18410 
   18411 Fixed some issues with the use of the new CopyObject and
   18412 DataTableRegion operators.  Both are fully functional.
   18413 
   18414  ----------------------------------------
   18415 Summary of changes for this label: 11_20_01
   18416 
   18417  20 November 2001.  Summary of changes for this release.
   18418 
   18419  1) ACPI CA Core Subsystem:
   18420 
   18421 Updated Index support to match ACPI 2.0 semantics.  Storing a
   18422 Integer, String, or Buffer to an Index of a Buffer will store only
   18423 the least-significant byte of the source to the Indexed buffer
   18424 byte.  Multiple writes are not performed.
   18425 
   18426 Fixed a problem where the access type used in an AccessAs ASL
   18427 operator was not recorded correctly into the field object.
   18428 
   18429 Fixed a problem where ASL Event objects were created in a
   18430 signalled state. Events are now created in an unsignalled state.
   18431 
   18432 The internal object cache is now purged after table loading and
   18433 initialization to reduce the use of dynamic kernel memory -- on
   18434 the assumption that object use is greatest during the parse phase
   18435 of the entire table (versus the run-time use of individual control
   18436 methods.)
   18437 
   18438 ACPI 2.0 variable-length packages are now fully operational.
   18439 
   18440 Code and Data Size: Code and Data optimizations have permitted new
   18441 feature development with an actual reduction in the library size.
   18442 Current core subsystem library sizes are shown below.  These are
   18443 the code and data sizes for the acpica.lib produced by the
   18444 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18445 any ACPI driver or OSPM code.  The debug version of the code
   18446 includes the debug output trace mechanism and has a larger code
   18447 and data size.  Note that these values will vary depending on the
   18448 efficiency of the compiler and the compiler options used during
   18449 generation.
   18450 
   18451   Previous Release (11_09_01):
   18452      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   18453      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   18454 
   18455   Current Release:
   18456      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   18457      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   18458 
   18459  2) Linux:
   18460 
   18461 Enhanced the ACPI boot-time initialization code to allow the use
   18462 of Local APIC tables for processor enumeration on IA-32, and to
   18463 pave the way for a fully MPS-free boot (on SMP systems) in the
   18464 near future.  This functionality replaces
   18465 arch/i386/kernel/acpitables.c, which was introduced in an earlier
   18466 2.4.15-preX release.  To enable this feature you must add
   18467 "acpi_boot=on" to the kernel command line -- see the help entry
   18468 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
   18469 the works...
   18470 
   18471 Restructured the configuration options to allow boot-time table
   18472 parsing support without inclusion of the ACPI Interpreter (and
   18473 other) code.
   18474 
   18475 NOTE: This release does not include fixes for the reported events,
   18476 power-down, and thermal passive cooling issues (coming soon).
   18477 
   18478  3) ASL Compiler:
   18479 
   18480 Added additional typechecking for Fields within restricted access
   18481 Operation Regions.  All fields within EC and CMOS regions must be
   18482 declared with ByteAcc. All fields within SMBus regions must be
   18483 declared with the BufferAcc access type.
   18484 
   18485 Fixed a problem where the listing file output of control methods
   18486 no longer interleaved the actual AML code with the ASL source
   18487 code.
   18488 
   18489 
   18490 
   18491 
   18492 ----------------------------------------
   18493 Summary of changes for this label: 11_09_01
   18494 
   18495 1) ACPI CA Core Subsystem:
   18496 
   18497 Implemented ACPI 2.0-defined support for writes to fields with a
   18498 Buffer, String, or Integer source operand that is smaller than the
   18499 target field. In these cases, the source operand is zero-extended
   18500 to fill the target field.
   18501 
   18502 Fixed a problem where a Field starting bit offset (within the
   18503 parent operation region) was calculated incorrectly if the
   18504 
   18505 alignment of the field differed from the access width.  This
   18506 affected CreateWordField, CreateDwordField, CreateQwordField, and
   18507 possibly other fields that use the "AccessAny" keyword.
   18508 
   18509 Fixed a problem introduced in the 11_02_01 release where indirect
   18510 stores through method arguments did not operate correctly.
   18511 
   18512 2) Linux:
   18513 
   18514 Implemented boot-time ACPI table parsing support
   18515 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
   18516 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
   18517 legacy BIOS interfaces (e.g. MPS) for the configuration of system
   18518 processors, memory, and interrupts during setup_arch().  Note that
   18519 this patch does not include the required architecture-specific
   18520 changes required to apply this information -- subsequent patches
   18521 will be posted for both IA32 and IA64 to achieve this.
   18522 
   18523 Added low-level sleep support for IA32 platforms, courtesy of Pat
   18524 Mochel. This allows IA32 systems to transition to/from various
   18525 sleeping states (e.g. S1, S3), although the lack of a centralized
   18526 driver model and power-manageable drivers will prevent its
   18527 (successful) use on most systems.
   18528 
   18529 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
   18530 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
   18531 tables" option, etc.
   18532 
   18533 Increased the default timeout for the EC driver from 1ms to 10ms
   18534 (1000 cycles of 10us) to try to address AE_TIME errors during EC
   18535 transactions.
   18536 
   18537  ----------------------------------------
   18538 Summary of changes for this label: 11_02_01
   18539 
   18540 1) ACPI CA Core Subsystem:
   18541 
   18542 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
   18543 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
   18544 implemented.
   18545 
   18546 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
   18547 changes to support ACPI 2.0 Qword field access.  Read/Write
   18548 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
   18549 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
   18550 the value parameter for the address space handler interface is now
   18551 an ACPI_INTEGER.  OSL implementations of these interfaces must now
   18552 handle the case where the Width parameter is 64.
   18553 
   18554 Index Fields: Fixed a problem where unaligned bit assembly and
   18555 disassembly for IndexFields was not supported correctly.
   18556 
   18557 Index and Bank Fields:  Nested Index and Bank Fields are now
   18558 supported. During field access, a check is performed to ensure
   18559 that the value written to an Index or Bank register is not out of
   18560 the range of the register.  The Index (or Bank) register is
   18561 written before each access to the field data. Future support will
   18562 include allowing individual IndexFields to be wider than the
   18563 DataRegister width.
   18564 
   18565 Fields: Fixed a problem where the AML interpreter was incorrectly
   18566 attempting to write beyond the end of a Field/OpRegion.  This was
   18567 a boundary case that occurred when a DWORD field was written to a
   18568 BYTE access OpRegion, forcing multiple writes and causing the
   18569 interpreter to write one datum too many.
   18570 
   18571 Fields: Fixed a problem with Field/OpRegion access where the
   18572 starting bit address of a field was incorrectly calculated if the
   18573 current access type was wider than a byte (WordAcc, DwordAcc, or
   18574 QwordAcc).
   18575 
   18576 Fields: Fixed a problem where forward references to individual
   18577 FieldUnits (individual Field names within a Field definition) were
   18578 not resolved during the AML table load.
   18579 
   18580 Fields: Fixed a problem where forward references from a Field
   18581 definition to the parent Operation Region definition were not
   18582 resolved during the AML table load.
   18583 
   18584 Fields: Duplicate FieldUnit names within a scope are now detected
   18585 during AML table load.
   18586 
   18587 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
   18588 returned an incorrect name for the root node.
   18589 
   18590 Code and Data Size: Code and Data optimizations have permitted new
   18591 feature development with an actual reduction in the library size.
   18592 Current core subsystem library sizes are shown below.  These are
   18593 the code and data sizes for the acpica.lib produced by the
   18594 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18595 any ACPI driver or OSPM code.  The debug version of the code
   18596 includes the debug output trace mechanism and has a larger code
   18597 and data size.  Note that these values will vary depending on the
   18598 efficiency of the compiler and the compiler options used during
   18599 generation.
   18600 
   18601   Previous Release (10_18_01):
   18602      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   18603      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   18604 
   18605   Current Release:
   18606      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   18607      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   18608 
   18609  2) Linux:
   18610 
   18611 Improved /proc processor output (Pavel Machek) Re-added
   18612 MODULE_LICENSE("GPL") to all modules.
   18613 
   18614  3) ASL Compiler version X2030:
   18615 
   18616 Duplicate FieldUnit names within a scope are now detected and
   18617 flagged as errors.
   18618 
   18619  4) Documentation:
   18620 
   18621 Programmer Reference updated to reflect OSL and address space
   18622 handler interface changes described above.
   18623 
   18624 ----------------------------------------
   18625 Summary of changes for this label: 10_18_01
   18626 
   18627 ACPI CA Core Subsystem:
   18628 
   18629 Fixed a problem with the internal object reference count mechanism
   18630 that occasionally caused premature object deletion. This resolves
   18631 all of the outstanding problem reports where an object is deleted
   18632 in the middle of an interpreter evaluation.  Although this problem
   18633 only showed up in rather obscure cases, the solution to the
   18634 problem involved an adjustment of all reference counts involving
   18635 objects attached to namespace nodes.
   18636 
   18637 Fixed a problem with Field support in the interpreter where
   18638 writing to an aligned field whose length is an exact multiple (2
   18639 or greater) of the field access granularity would cause an attempt
   18640 to write beyond the end of the field.
   18641 
   18642 The top level AML opcode execution functions within the
   18643 interpreter have been renamed with a more meaningful and
   18644 consistent naming convention.  The modules exmonad.c and
   18645 exdyadic.c were eliminated.  New modules are exoparg1.c,
   18646 exoparg2.c, exoparg3.c, and exoparg6.c.
   18647 
   18648 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
   18649 
   18650 Fixed a problem where the AML debugger was causing some internal
   18651 objects to not be deleted during subsystem termination.
   18652 
   18653 Fixed a problem with the external AcpiEvaluateObject interface
   18654 where the subsystem would fault if the named object to be
   18655 evaluated referred to a constant such as Zero, Ones, etc.
   18656 
   18657 Fixed a problem with IndexFields and BankFields where the
   18658 subsystem would fault if the index, data, or bank registers were
   18659 not defined in the same scope as the field itself.
   18660 
   18661 Added printf format string checking for compilers that support
   18662 this feature.  Corrected more than 50 instances of issues with
   18663 format specifiers within invocations of ACPI_DEBUG_PRINT
   18664 throughout the core subsystem code.
   18665 
   18666 The ASL "Revision" operator now returns the ACPI support level
   18667 implemented in the core - the value "2" since the ACPI 2.0 support
   18668 is more than 50% implemented.
   18669 
   18670 Enhanced the output of the AML debugger "dump namespace" command
   18671 to output in a more human-readable form.
   18672 
   18673 Current core subsystem library code sizes are shown below.  These
   18674 
   18675 are the code and data sizes for the acpica.lib produced by the
   18676 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18677 any ACPI driver or OSPM code.  The debug version of the code
   18678 includes the full debug trace mechanism -- leading to a much
   18679 
   18680 larger code and data size.  Note that these values will vary
   18681 depending on the efficiency of the compiler and the compiler
   18682 options used during generation.
   18683 
   18684      Previous Label (09_20_01):
   18685      Non-Debug Version:    65K Code,     5K Data,     70K Total
   18686      Debug Version:       138K Code,    58K Data,    196K Total
   18687 
   18688      This Label:
   18689 
   18690      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   18691      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   18692 
   18693 Linux:
   18694 
   18695 Implemented a "Bad BIOS Blacklist" to track machines that have
   18696 known ASL/AML problems.
   18697 
   18698 Enhanced the /proc interface for the thermal zone driver and added
   18699 support for _HOT (the critical suspend trip point).  The 'info'
   18700 file now includes threshold/policy information, and allows setting
   18701 of _SCP (cooling preference) and _TZP (polling frequency) values
   18702 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
   18703 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
   18704 preference to the passive/quiet mode (if supported by the ASL).
   18705 
   18706 Implemented a workaround for a gcc bug that resuted in an OOPs
   18707 when loading the control method battery driver.
   18708 
   18709  ----------------------------------------
   18710 Summary of changes for this label: 09_20_01
   18711 
   18712  ACPI CA Core Subsystem:
   18713 
   18714 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
   18715 modified to allow individual GPE levels to be flagged as wake-
   18716 enabled (i.e., these GPEs are to remain enabled when the platform
   18717 sleeps.)
   18718 
   18719 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
   18720 support wake-enabled GPEs.  This means that upon entering the
   18721 sleep state, all GPEs that are not wake-enabled are disabled.
   18722 When leaving the sleep state, these GPEs are re-enabled.
   18723 
   18724 A local double-precision divide/modulo module has been added to
   18725 enhance portability to OS kernels where a 64-bit math library is
   18726 not available.  The new module is "utmath.c".
   18727 
   18728 Several optimizations have been made to reduce the use of CPU
   18729 stack.  Originally over 2K, the maximum stack usage is now below
   18730 2K at 1860  bytes (1.82k)
   18731 
   18732 Fixed a problem with the AcpiGetFirmwareTable interface where the
   18733 root table pointer was not mapped into a logical address properly.
   18734 
   18735 Fixed a problem where a NULL pointer was being dereferenced in the
   18736 interpreter code for the ASL Notify operator.
   18737 
   18738 Fixed a problem where the use of the ASL Revision operator
   18739 returned an error. This operator now returns the current version
   18740 of the ACPI CA core subsystem.
   18741 
   18742 Fixed a problem where objects passed as control method parameters
   18743 to AcpiEvaluateObject were always deleted at method termination.
   18744 However, these objects may end up being stored into the namespace
   18745 by the called method.  The object reference count mechanism was
   18746 applied to these objects instead of a force delete.
   18747 
   18748 Fixed a problem where static strings or buffers (contained in the
   18749 AML code) that are declared as package elements within the ASL
   18750 code could cause a fault because the interpreter would attempt to
   18751 delete them.  These objects are now marked with the "static
   18752 object" flag to prevent any attempt to delete them.
   18753 
   18754 Implemented an interpreter optimization to use operands directly
   18755 from the state object instead of extracting the operands to local
   18756 variables.  This reduces stack use and code size, and improves
   18757 performance.
   18758 
   18759 The module exxface.c was eliminated as it was an unnecessary extra
   18760 layer of code.
   18761 
   18762 Current core subsystem library code sizes are shown below.  These
   18763 are the code and data sizes for the acpica.lib produced by the
   18764 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18765 any ACPI driver or OSPM code.  The debug version of the code
   18766 includes the full debug trace mechanism -- leading to a much
   18767 larger code and data size.  Note that these values will vary
   18768 depending on the efficiency of the compiler and the compiler
   18769 options used during generation.
   18770 
   18771   Non-Debug Version:  65K Code,   5K Data,   70K Total
   18772 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
   18773 Total  (Previously 195K)
   18774 
   18775 Linux:
   18776 
   18777 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
   18778 Integer objects are now 64 bits wide
   18779 
   18780 All Acpi data types and structures are now in lower case.  Only
   18781 Acpi macros are upper case for differentiation.
   18782 
   18783  Documentation:
   18784 
   18785 Changes to the external interfaces as described above.
   18786 
   18787  ----------------------------------------
   18788 Summary of changes for this label: 08_31_01
   18789 
   18790  ACPI CA Core Subsystem:
   18791 
   18792 A bug with interpreter implementation of the ASL Divide operator
   18793 was found and fixed.  The implicit function return value (not the
   18794 explicit store operands) was returning the remainder instead of
   18795 the quotient.  This was a longstanding bug and it fixes several
   18796 known outstanding issues on various platforms.
   18797 
   18798 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
   18799 been further optimized for size.  There are 700 invocations of the
   18800 DEBUG_PRINT macro alone, so each optimization reduces the size of
   18801 the debug version of the subsystem significantly.
   18802 
   18803 A stack trace mechanism has been implemented.  The maximum stack
   18804 usage is about 2K on 32-bit platforms.  The debugger command "stat
   18805 stack" will display the current maximum stack usage.
   18806 
   18807 All public symbols and global variables within the subsystem are
   18808 now prefixed with the string "Acpi".  This keeps all of the
   18809 symbols grouped together in a kernel map, and avoids conflicts
   18810 with other kernel subsystems.
   18811 
   18812 Most of the internal fixed lookup tables have been moved into the
   18813 code segment via the const operator.
   18814 
   18815 Several enhancements have been made to the interpreter to both
   18816 reduce the code size and improve performance.
   18817 
   18818 Current core subsystem library code sizes are shown below.  These
   18819 are the code and data sizes for the acpica.lib produced by the
   18820 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18821 any ACPI driver or OSPM code.  The debug version of the code
   18822 includes the full debug trace mechanism which contains over 700
   18823 invocations of the DEBUG_PRINT macro, 500 function entry macro
   18824 invocations, and over 900 function exit macro invocations --
   18825 leading to a much larger code and data size.  Note that these
   18826 values will vary depending on the efficiency of the compiler and
   18827 the compiler options used during generation.
   18828 
   18829         Non-Debug Version:  64K Code,   5K Data,   69K Total
   18830 Debug Version:     137K Code,  58K Data,  195K Total
   18831 
   18832  Linux:
   18833 
   18834 Implemented wbinvd() macro, pending a kernel-wide definition.
   18835 
   18836 Fixed /proc/acpi/event to handle poll() and short reads.
   18837 
   18838  ASL Compiler, version X2026:
   18839 
   18840 Fixed a problem introduced in the previous label where the AML
   18841 
   18842 code emitted for package objects produced packages with zero
   18843 length.
   18844 
   18845  ----------------------------------------
   18846 Summary of changes for this label: 08_16_01
   18847 
   18848 ACPI CA Core Subsystem:
   18849 
   18850 The following ACPI 2.0 ASL operators have been implemented in the
   18851 AML interpreter (These are already supported by the Intel ASL
   18852 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
   18853 ToBuffer.  Support for 64-bit AML constants is implemented in the
   18854 AML parser, debugger, and disassembler.
   18855 
   18856 The internal memory tracking mechanism (leak detection code) has
   18857 been upgraded to reduce the memory overhead (a separate tracking
   18858 block is no longer allocated for each memory allocation), and now
   18859 supports all of the internal object caches.
   18860 
   18861 The data structures and code for the internal object caches have
   18862 been coelesced and optimized so that there is a single cache and
   18863 memory list data structure and a single group of functions that
   18864 implement generic cache management.  This has reduced the code
   18865 size in both the debug and release versions of the subsystem.
   18866 
   18867 The DEBUG_PRINT macro(s) have been optimized for size and replaced
   18868 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
   18869 different, because it generates a single call to an internal
   18870 function.  This results in a savings of about 90 bytes per
   18871 invocation, resulting in an overall code and data savings of about
   18872 16% in the debug version of the subsystem.
   18873 
   18874  Linux:
   18875 
   18876 Fixed C3 disk corruption problems and re-enabled C3 on supporting
   18877 machines.
   18878 
   18879 Integrated low-level sleep code by Patrick Mochel.
   18880 
   18881 Further tweaked source code Linuxization.
   18882 
   18883 Other minor fixes.
   18884 
   18885  ASL Compiler:
   18886 
   18887 Support for ACPI 2.0 variable length packages is fixed/completed.
   18888 
   18889 Fixed a problem where the optional length parameter for the ACPI
   18890 2.0 ToString operator.
   18891 
   18892 Fixed multiple extraneous error messages when a syntax error is
   18893 detected within the declaration line of a control method.
   18894 
   18895  ----------------------------------------
   18896 Summary of changes for this label: 07_17_01
   18897 
   18898 ACPI CA Core Subsystem:
   18899 
   18900 Added a new interface named AcpiGetFirmwareTable to obtain any
   18901 ACPI table via the ACPI signature.  The interface can be called at
   18902 any time during kernel initialization, even before the kernel
   18903 virtual memory manager is initialized and paging is enabled.  This
   18904 allows kernel subsystems to obtain ACPI tables very early, even
   18905 before the ACPI CA subsystem is initialized.
   18906 
   18907 Fixed a problem where Fields defined with the AnyAcc attribute
   18908 could be resolved to the incorrect address under the following
   18909 conditions: 1) the field width is larger than 8 bits and 2) the
   18910 parent operation region is not defined on a DWORD boundary.
   18911 
   18912 Fixed a problem where the interpreter is not being locked during
   18913 namespace initialization (during execution of the _INI control
   18914 methods), causing an error when an attempt is made to release it
   18915 later.
   18916 
   18917 ACPI 2.0 support in the AML Interpreter has begun and will be
   18918 ongoing throughout the rest of this year.  In this label, The Mod
   18919 operator is implemented.
   18920 
   18921 Added a new data type to contain full PCI addresses named
   18922 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
   18923 and Function values.
   18924 
   18925  Linux:
   18926 
   18927 Enhanced the Linux version of the source code to change most
   18928 capitalized ACPI type names to lowercase. For example, all
   18929 instances of ACPI_STATUS are changed to acpi_status.  This will
   18930 result in a large diff, but the change is strictly cosmetic and
   18931 aligns the CA code closer to the Linux coding standard.
   18932 
   18933 OSL Interfaces:
   18934 
   18935 The interfaces to the PCI configuration space have been changed to
   18936 add the PCI Segment number and to split the single 32-bit combined
   18937 DeviceFunction field into two 16-bit fields.  This was
   18938 accomplished by moving the four values that define an address in
   18939 PCI configuration space (segment, bus, device, and function) to
   18940 the new ACPI_PCI_ID structure.
   18941 
   18942 The changes to the PCI configuration space interfaces led to a
   18943 reexamination of the complete set of address space access
   18944 interfaces for PCI, I/O, and Memory.  The previously existing 18
   18945 interfaces have proven difficult to maintain (any small change
   18946 must be propagated across at least 6 interfaces) and do not easily
   18947 allow for future expansion to 64 bits if necessary.  Also, on some
   18948 systems, it would not be appropriate to demultiplex the access
   18949 width (8, 16, 32,or 64) before calling the OSL if the
   18950 corresponding native OS interfaces contain a similar access width
   18951 parameter.  For these reasons, the 18 address space interfaces
   18952 have been replaced by these 6 new ones:
   18953 
   18954 AcpiOsReadPciConfiguration
   18955 AcpiOsWritePciConfiguration
   18956 AcpiOsReadMemory
   18957 AcpiOsWriteMemory
   18958 AcpiOsReadPort
   18959 AcpiOsWritePort
   18960 
   18961 Added a new interface named AcpiOsGetRootPointer to allow the OSL
   18962 to perform the platform and/or OS-specific actions necessary to
   18963 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
   18964 interface will simply call down to the CA core to perform the low-
   18965 memory search for the table.  On IA-64, the RSDP is obtained from
   18966 EFI.  Migrating this interface to the OSL allows the CA core to
   18967 
   18968 remain OS and platform independent.
   18969 
   18970 Added a new interface named AcpiOsSignal to provide a generic
   18971 "function code and pointer" interface for various miscellaneous
   18972 signals and notifications that must be made to the host OS.   The
   18973 first such signals are intended to support the ASL Fatal and
   18974 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
   18975 interface has been obsoleted.
   18976 
   18977 The definition of the AcpiFormatException interface has been
   18978 changed to simplify its use.  The caller no longer must supply a
   18979 buffer to the call; A pointer to a const string is now returned
   18980 directly.  This allows the call to be easily used in printf
   18981 statements, etc. since the caller does not have to manage a local
   18982 buffer.
   18983 
   18984 
   18985  ASL Compiler, Version X2025:
   18986 
   18987 The ACPI 2.0 Switch/Case/Default operators have been implemented
   18988 and are fully functional.  They will work with all ACPI 1.0
   18989 interpreters, since the operators are simply translated to If/Else
   18990 pairs.
   18991 
   18992 The ACPI 2.0 ElseIf operator is implemented and will also work
   18993 with 1.0 interpreters, for the same reason.
   18994 
   18995 Implemented support for ACPI 2.0 variable-length packages.  These
   18996 packages have a separate opcode, and their size is determined by
   18997 the interpreter at run-time.
   18998 
   18999 Documentation The ACPI CA Programmer Reference has been updated to
   19000 reflect the new interfaces and changes to existing interfaces.
   19001 
   19002  ------------------------------------------
   19003 Summary of changes for this label: 06_15_01
   19004 
   19005  ACPI CA Core Subsystem:
   19006 
   19007 Fixed a problem where a DWORD-accessed field within a Buffer
   19008 object would get its byte address inadvertently rounded down to
   19009 the nearest DWORD.  Buffers are always Byte-accessible.
   19010 
   19011  ASL Compiler, version X2024:
   19012 
   19013 Fixed a problem where the Switch() operator would either fault or
   19014 hang the compiler.  Note however, that the AML code for this ACPI
   19015 2.0 operator is not yet implemented.
   19016 
   19017 Compiler uses the new AcpiOsGetTimer interface to obtain compile
   19018 timings.
   19019 
   19020 Implementation of the CreateField operator automatically converts
   19021 a reference to a named field within a resource descriptor from a
   19022 byte offset to a bit offset if required.
   19023 
   19024 Added some missing named fields from the resource descriptor
   19025 support. These are the names that are automatically created by the
   19026 compiler to reference fields within a descriptor.  They are only
   19027 valid at compile time and are not passed through to the AML
   19028 interpreter.
   19029 
   19030 Resource descriptor named fields are now typed as Integers and
   19031 subject to compile-time typechecking when used in expressions.
   19032 
   19033  ------------------------------------------
   19034 Summary of changes for this label: 05_18_01
   19035 
   19036  ACPI CA Core Subsystem:
   19037 
   19038 Fixed a couple of problems in the Field support code where bits
   19039 from adjacent fields could be returned along with the proper field
   19040 bits. Restructured the field support code to improve performance,
   19041 readability and maintainability.
   19042 
   19043 New DEBUG_PRINTP macro automatically inserts the procedure name
   19044 into the output, saving hundreds of copies of procedure name
   19045 strings within the source, shrinking the memory footprint of the
   19046 debug version of the core subsystem.
   19047 
   19048  Source Code Structure:
   19049 
   19050 The source code directory tree was restructured to reflect the
   19051 current organization of the component architecture.  Some files
   19052 and directories have been moved and/or renamed.
   19053 
   19054  Linux:
   19055 
   19056 Fixed leaking kacpidpc processes.
   19057 
   19058 Fixed queueing event data even when /proc/acpi/event is not
   19059 opened.
   19060 
   19061  ASL Compiler, version X2020:
   19062 
   19063 Memory allocation performance enhancement - over 24X compile time
   19064 improvement on large ASL files.  Parse nodes and namestring
   19065 buffers are now allocated from a large internal compiler buffer.
   19066 
   19067 The temporary .SRC file is deleted unless the "-s" option is
   19068 specified
   19069 
   19070 The "-d" debug output option now sends all output to the .DBG file
   19071 instead of the console.
   19072 
   19073 "External" second parameter is now optional
   19074 
   19075 "ElseIf" syntax now properly allows the predicate
   19076 
   19077 Last operand to "Load" now recognized as a Target operand
   19078 
   19079 Debug object can now be used anywhere as a normal object.
   19080 
   19081 ResourceTemplate now returns an object of type BUFFER
   19082 
   19083 EISAID now returns an object of type INTEGER
   19084 
   19085 "Index" now works with a STRING operand
   19086 
   19087 "LoadTable" now accepts optional parameters
   19088 
   19089 "ToString" length parameter is now optional
   19090 
   19091 "Interrupt (ResourceType," parse error fixed.
   19092 
   19093 "Register" with a user-defined region space parse error fixed
   19094 
   19095 Escaped backslash at the end of a string ("\\") scan/parse error
   19096 fixed
   19097 
   19098 "Revision" is now an object of type INTEGER.
   19099 
   19100 
   19101 
   19102 ------------------------------------------
   19103 Summary of changes for this label: 05_02_01
   19104 
   19105 Linux:
   19106 
   19107 /proc/acpi/event now blocks properly.
   19108 
   19109 Removed /proc/sys/acpi. You can still dump your DSDT from
   19110 /proc/acpi/dsdt.
   19111 
   19112  ACPI CA Core Subsystem:
   19113 
   19114 Fixed a problem introduced in the previous label where some of the
   19115 "small" resource descriptor types were not recognized.
   19116 
   19117 Improved error messages for the case where an ASL Field is outside
   19118 the range of the parent operation region.
   19119 
   19120  ASL Compiler, version X2018:
   19121 
   19122 
   19123 Added error detection for ASL Fields that extend beyond the length
   19124 of the parent operation region (only if the length of the region
   19125 is known at compile time.)  This includes fields that have a
   19126 minimum access width that is smaller than the parent region, and
   19127 individual field units that are partially or entirely beyond the
   19128 extent of the parent.
   19129 
   19130 
   19131 
   19132 ------------------------------------------
   19133 Summary of changes for this label: 04_27_01
   19134 
   19135  ACPI CA Core Subsystem:
   19136 
   19137 Fixed a problem where the namespace mutex could be released at the
   19138 wrong time during execution of AcpiRemoveAddressSpaceHandler.
   19139 
   19140 Added optional thread ID output for debug traces, to simplify
   19141 debugging of multiple threads.  Added context switch notification
   19142 when the debug code realizes that a different thread is now
   19143 executing ACPI code.
   19144 
   19145 Some additional external data types have been prefixed with the
   19146 string "ACPI_" for consistency.  This may effect existing code.
   19147 The data types affected are the external callback typedefs - e.g.,
   19148 
   19149 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
   19150 
   19151  Linux:
   19152 
   19153 Fixed an issue with the OSL semaphore implementation where a
   19154 thread was waking up with an error from receiving a SIGCHLD
   19155 signal.
   19156 
   19157 Linux version of ACPI CA now uses the system C library for string
   19158 manipulation routines instead of a local implementation.
   19159 
   19160 Cleaned up comments and removed TBDs.
   19161 
   19162  ASL Compiler, version X2017:
   19163 
   19164 Enhanced error detection and reporting for all file I/O
   19165 operations.
   19166 
   19167  Documentation:
   19168 
   19169 Programmer Reference updated to version 1.06.
   19170 
   19171 
   19172 
   19173 ------------------------------------------
   19174 Summary of changes for this label: 04_13_01
   19175 
   19176  ACPI CA Core Subsystem:
   19177 
   19178 Restructured support for BufferFields and RegionFields.
   19179 BankFields support is now fully operational.  All known 32-bit
   19180 limitations on field sizes have been removed.  Both BufferFields
   19181 and (Operation) RegionFields are now supported by the same field
   19182 management code.
   19183 
   19184 Resource support now supports QWORD address and IO resources. The
   19185 16/32/64 bit address structures and the Extended IRQ structure
   19186 have been changed to properly handle Source Resource strings.
   19187 
   19188 A ThreadId of -1 is now used to indicate a "mutex not acquired"
   19189 condition internally and must never be returned by AcpiOsThreadId.
   19190 This reserved value was changed from 0 since Unix systems allow a
   19191 thread ID of 0.
   19192 
   19193 Linux:
   19194 
   19195 Driver code reorganized to enhance portability
   19196 
   19197 Added a kernel configuration option to control ACPI_DEBUG
   19198 
   19199 Fixed the EC driver to honor _GLK.
   19200 
   19201 ASL Compiler, version X2016:
   19202 
   19203 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
   19204 address space was set to 0, not 0x7f as it should be.
   19205 
   19206  ------------------------------------------
   19207 Summary of changes for this label: 03_13_01
   19208 
   19209  ACPI CA Core Subsystem:
   19210 
   19211 During ACPI initialization, the _SB_._INI method is now run if
   19212 present.
   19213 
   19214 Notify handler fix - notifies are deferred until the parent method
   19215 completes execution.  This fixes the "mutex already acquired"
   19216 issue seen occasionally.
   19217 
   19218 Part of the "implicit conversion" rules in ACPI 2.0 have been
   19219 found to cause compatibility problems with existing ASL/AML.  The
   19220 convert "result-to-target-type" implementation has been removed
   19221 for stores to method Args and Locals.  Source operand conversion
   19222 is still fully implemented.  Possible changes to ACPI 2.0
   19223 specification pending.
   19224 
   19225 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
   19226 length.
   19227 
   19228 Fix for compiler warnings for 64-bit compiles.
   19229 
   19230  Linux:
   19231 
   19232 /proc output aligned for easier parsing.
   19233 
   19234 Release-version compile problem fixed.
   19235 
   19236 New kernel configuration options documented in Configure.help.
   19237 
   19238 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
   19239 context" message.
   19240 
   19241  OSPM:
   19242 
   19243 Power resource driver integrated with bus manager.
   19244 
   19245 Fixed kernel fault during active cooling for thermal zones.
   19246 
   19247 Source Code:
   19248 
   19249 The source code tree has been restructured.
   19250 
   19251 
   19252 
   19253 ------------------------------------------
   19254 Summary of changes for this label: 03_02_01
   19255 
   19256  Linux OS Services Layer (OSL):
   19257 
   19258 Major revision of all Linux-specific code.
   19259 
   19260 Modularized all ACPI-specific drivers.
   19261 
   19262 Added new thermal zone and power resource drivers.
   19263 
   19264 Revamped /proc interface (new functionality is under /proc/acpi).
   19265 
   19266 New kernel configuration options.
   19267 
   19268  Linux known issues:
   19269 
   19270 New kernel configuration options not documented in Configure.help
   19271 yet.
   19272 
   19273 
   19274 Module dependencies not currently implemented. If used, they
   19275 should be loaded in this order: busmgr, power, ec, system,
   19276 processor, battery, ac_adapter, button, thermal.
   19277 
   19278 Modules will not load if CONFIG_MODVERSION is set.
   19279 
   19280 IBM 600E - entering S5 may reboot instead of shutting down.
   19281 
   19282 IBM 600E - Sleep button may generate "Invalid <NULL> context"
   19283 message.
   19284 
   19285 Some systems may fail with "execution mutex already acquired"
   19286 message.
   19287 
   19288  ACPI CA Core Subsystem:
   19289 
   19290 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
   19291 for the  deadlock detection code. Defined to return a non-zero, 32-
   19292 bit thread ID for the currently executing thread.  May be a non-
   19293 zero constant integer on single-thread systems.
   19294 
   19295 Implemented deadlock detection for internal subsystem mutexes.  We
   19296 may add conditional compilation for this code (debug only) later.
   19297 
   19298 ASL/AML Mutex object semantics are now fully supported.  This
   19299 includes multiple acquires/releases by owner and support for the
   19300 
   19301 Mutex SyncLevel parameter.
   19302 
   19303 A new "Force Release" mechanism automatically frees all ASL
   19304 Mutexes that have been acquired but not released when a thread
   19305 exits the interpreter.  This forces conformance to the ACPI spec
   19306 ("All mutexes must be released when an invocation exits") and
   19307 prevents deadlocked ASL threads.  This mechanism can be expanded
   19308 (later) to monitor other resource acquisitions if OEM ASL code
   19309 continues to misbehave (which it will).
   19310 
   19311 Several new ACPI exception codes have been added for the Mutex
   19312 support.
   19313 
   19314 Recursive method calls are now allowed and supported (the ACPI
   19315 spec does in fact allow recursive method calls.)  The number of
   19316 recursive calls is subject to the restrictions imposed by the
   19317 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
   19318 parameter.
   19319 
   19320 Implemented support for the SyncLevel parameter for control
   19321 methods (ACPI 2.0 feature)
   19322 
   19323 Fixed a deadlock problem when multiple threads attempted to use
   19324 the interpreter.
   19325 
   19326 Fixed a problem where the string length of a String package
   19327 element was not always set in a package returned from
   19328 AcpiEvaluateObject.
   19329 
   19330 Fixed a problem where the length of a String package element was
   19331 not always included in the length of the overall package returned
   19332 from AcpiEvaluateObject.
   19333 
   19334 Added external interfaces (Acpi*) to the ACPI debug memory
   19335 manager.  This manager keeps a list of all outstanding
   19336 allocations, and can therefore detect memory leaks and attempts to
   19337 free memory blocks more than once. Useful for code such as the
   19338 power manager, etc.  May not be appropriate for device drivers.
   19339 Performance with the debug code enabled is slow.
   19340 
   19341 The ACPI Global Lock is now an optional hardware element.
   19342 
   19343  ASL Compiler Version X2015:
   19344 
   19345 Integrated changes to allow the compiler to be generated on
   19346 multiple platforms.
   19347 
   19348 Linux makefile added to generate the compiler on Linux
   19349 
   19350  Source Code:
   19351 
   19352 All platform-specific headers have been moved to their own
   19353 subdirectory, Include/Platform.
   19354 
   19355 New source file added, Interpreter/ammutex.c
   19356 
   19357 New header file, Include/acstruct.h
   19358 
   19359  Documentation:
   19360 
   19361 The programmer reference has been updated for the following new
   19362 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
   19363 
   19364  ------------------------------------------
   19365 Summary of changes for this label: 02_08_01
   19366 
   19367 Core ACPI CA Subsystem: Fixed a problem where an error was
   19368 incorrectly returned if the return resource buffer was larger than
   19369 the actual data (in the resource interfaces).
   19370 
   19371 References to named objects within packages are resolved to the
   19372 
   19373 full pathname string before packages are returned directly (via
   19374 the AcpiEvaluateObject interface) or indirectly via the resource
   19375 interfaces.
   19376 
   19377 Linux OS Services Layer (OSL):
   19378 
   19379 Improved /proc battery interface.
   19380 
   19381 
   19382 Added C-state debugging output and other miscellaneous fixes.
   19383 
   19384 ASL Compiler Version X2014:
   19385 
   19386 All defined method arguments can now be used as local variables,
   19387 including the ones that are not actually passed in as parameters.
   19388 The compiler tracks initialization of the arguments and issues an
   19389 exception if they are used without prior assignment (just like
   19390 locals).
   19391 
   19392 The -o option now specifies a filename prefix that is used for all
   19393 output files, including the AML output file.  Otherwise, the
   19394 default behavior is as follows:  1) the AML goes to the file
   19395 specified in the DSDT.  2) all other output files use the input
   19396 source filename as the base.
   19397 
   19398  ------------------------------------------
   19399 Summary of changes for this label: 01_25_01
   19400 
   19401 Core ACPI CA Subsystem: Restructured the implementation of object
   19402 store support within the  interpreter.  This includes support for
   19403 the Store operator as well  as any ASL operators that include a
   19404 target operand.
   19405 
   19406 Partially implemented support for Implicit Result-to-Target
   19407 conversion. This is when a result object is converted on the fly
   19408 to the type of  an existing target object.  Completion of this
   19409 support is pending  further analysis of the ACPI specification
   19410 concerning this matter.
   19411 
   19412 CPU-specific code has been removed from the subsystem (hardware
   19413 directory).
   19414 
   19415 New Power Management Timer functions added
   19416 
   19417 Linux OS Services Layer (OSL): Moved system state transition code
   19418 to the core, fixed it, and modified  Linux OSL accordingly.
   19419 
   19420 Fixed C2 and C3 latency calculations.
   19421 
   19422 
   19423 We no longer use the compilation date for the version message on
   19424 initialization, but retrieve the version from AcpiGetSystemInfo().
   19425 
   19426 Incorporated for fix Sony VAIO machines.
   19427 
   19428 Documentation:  The Programmer Reference has been updated and
   19429 reformatted.
   19430 
   19431 
   19432 ASL Compiler:  Version X2013: Fixed a problem where the line
   19433 numbering and error reporting could get out  of sync in the
   19434 presence of multiple include files.
   19435 
   19436  ------------------------------------------
   19437 Summary of changes for this label: 01_15_01
   19438 
   19439 Core ACPI CA Subsystem:
   19440 
   19441 Implemented support for type conversions in the execution of the
   19442 ASL  Concatenate operator (The second operand is converted to
   19443 match the type  of the first operand before concatenation.)
   19444 
   19445 Support for implicit source operand conversion is partially
   19446 implemented.   The ASL source operand types Integer, Buffer, and
   19447 String are freely  interchangeable for most ASL operators and are
   19448 converted by the interpreter  on the fly as required.  Implicit
   19449 Target operand conversion (where the  result is converted to the
   19450 target type before storing) is not yet implemented.
   19451 
   19452 Support for 32-bit and 64-bit BCD integers is implemented.
   19453 
   19454 Problem fixed where a field read on an aligned field could cause a
   19455 read  past the end of the field.
   19456 
   19457 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
   19458 does not return a value, but the caller expects one.  (The ASL
   19459 compiler flags this as a warning.)
   19460 
   19461 ASL Compiler:
   19462 
   19463 Version X2011:
   19464 1. Static typechecking of all operands is implemented. This
   19465 prevents the use of invalid objects (such as using a Package where
   19466 an Integer is required) at compile time instead of at interpreter
   19467 run-time.
   19468 2. The ASL source line is printed with ALL errors and warnings.
   19469 3. Bug fix for source EOF without final linefeed.
   19470 4. Debug option is split into a parse trace and a namespace trace.
   19471 5. Namespace output option (-n) includes initial values for
   19472 integers and strings.
   19473 6. Parse-only option added for quick syntax checking.
   19474 7. Compiler checks for duplicate ACPI name declarations
   19475 
   19476 Version X2012:
   19477 1. Relaxed typechecking to allow interchangeability between
   19478 strings, integers, and buffers.  These types are now converted by
   19479 the interpreter at runtime.
   19480 2. Compiler reports time taken by each internal subsystem in the
   19481 debug         output file.
   19482 
   19483 
   19484  ------------------------------------------
   19485 Summary of changes for this label: 12_14_00
   19486 
   19487 ASL Compiler:
   19488 
   19489 This is the first official release of the compiler. Since the
   19490 compiler requires elements of the Core Subsystem, this label
   19491 synchronizes everything.
   19492 
   19493 ------------------------------------------
   19494 Summary of changes for this label: 12_08_00
   19495 
   19496 
   19497 Fixed a problem where named references within the ASL definition
   19498 of both OperationRegions and CreateXXXFields did not work
   19499 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   19500 initialization of the region/field. This is similar (but not
   19501 related internally) to the problem that was fixed in the last
   19502 label.
   19503 
   19504 Implemented both 32-bit and 64-bit support for the BCD ASL
   19505 functions ToBCD and FromBCD.
   19506 
   19507 Updated all legal headers to include "2000" in the copyright
   19508 years.
   19509 
   19510  ------------------------------------------
   19511 Summary of changes for this label: 12_01_00
   19512 
   19513 Fixed a problem where method invocations within the ASL definition
   19514 of both OperationRegions and CreateXXXFields did not work
   19515 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   19516 initialization of the region/field:
   19517 
   19518   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
   19519 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
   19520 (0x3005)
   19521 
   19522 Fixed a problem where operators with more than one nested
   19523 subexpression would fail.  The symptoms were varied, by mostly
   19524 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
   19525 problem that has gone unnoticed until now.
   19526 
   19527   Subtract (Add (1,2), Multiply (3,4))
   19528 
   19529 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
   19530 previous build (The prefix part of a relative path was handled
   19531 incorrectly).
   19532 
   19533 Fixed a problem where Operation Region initialization failed if
   19534 the operation region name was a "namepath" instead of a simple
   19535 "nameseg". Symptom was an AE_NO_OPERAND error.
   19536 
   19537 Fixed a problem where an assignment to a local variable via the
   19538 indirect RefOf mechanism only worked for the first such
   19539 assignment.  Subsequent assignments were ignored.
   19540 
   19541  ------------------------------------------
   19542 Summary of changes for this label: 11_15_00
   19543 
   19544 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
   19545 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
   19546 the AML  interpreter does NOT have support for the new 2.0 ASL
   19547 grammar terms at this time.
   19548 
   19549 All ACPI hardware access is via the GAS structures in the ACPI 2.0
   19550 FADT.
   19551 
   19552 All physical memory addresses across all platforms are now 64 bits
   19553 wide. Logical address width remains dependent on the platform
   19554 (i.e., "void *").
   19555 
   19556 AcpiOsMapMemory interface changed to a 64-bit physical address.
   19557 
   19558 The AML interpreter integer size is now 64 bits, as per the ACPI
   19559 2.0 specification.
   19560 
   19561 For backwards compatibility with ACPI 1.0, ACPI tables with a
   19562 revision number less than 2 use 32-bit integers only.
   19563 
   19564 Fixed a problem where the evaluation of OpRegion operands did not
   19565 always resolve them to numbers properly.
   19566 
   19567 ------------------------------------------
   19568 Summary of changes for this label: 10_20_00
   19569 
   19570 Fix for CBN_._STA issue.  This fix will allow correct access to
   19571 CBN_ OpRegions when the _STA returns 0x8.
   19572 
   19573 Support to convert ACPI constants (Ones, Zeros, One) to actual
   19574 values before a package object is returned
   19575 
   19576 Fix for method call as predicate to if/while construct causing
   19577 incorrect if/while behavior
   19578 
   19579 Fix for Else block package lengths sometimes calculated wrong (if
   19580 block > 63 bytes)
   19581 
   19582 Fix for Processor object length field, was always zero
   19583 
   19584 Table load abort if FACP sanity check fails
   19585 
   19586 Fix for problem with Scope(name) if name already exists
   19587 
   19588 Warning emitted if a named object referenced cannot be found
   19589 (resolved) during method execution.
   19590 
   19591 
   19592 
   19593 
   19594 
   19595 ------------------------------------------
   19596 Summary of changes for this label: 9_29_00
   19597 
   19598 New table initialization interfaces: AcpiInitializeSubsystem no
   19599 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
   19600 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
   19601 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
   19602 AcpiLoadTables
   19603 
   19604 Note: These interface changes require changes to all existing OSDs
   19605 
   19606 The PCI_Config default address space handler is always installed
   19607 at the root namespace object.
   19608 
   19609 -------------------------------------------
   19610 Summary of changes for this label: 09_15_00
   19611 
   19612 The new initialization architecture is implemented.  New
   19613 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
   19614 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
   19615 
   19616 (Namespace is automatically loaded when a table is loaded)
   19617 
   19618 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
   19619 52 bytes to 32 bytes.  There is usually one of these for every
   19620 namespace object, so the memory savings is significant.
   19621 
   19622 Implemented just-in-time evaluation of the CreateField operators.
   19623 
   19624 Bug fixes for IA-64 support have been integrated.
   19625 
   19626 Additional code review comments have been implemented
   19627 
   19628 The so-called "third pass parse" has been replaced by a final walk
   19629 through the namespace to initialize all operation regions (address
   19630 spaces) and fields that have not yet been initialized during the
   19631 execution of the various _INI and REG methods.
   19632 
   19633 New file - namespace/nsinit.c
   19634 
   19635 -------------------------------------------
   19636 Summary of changes for this label: 09_01_00
   19637 
   19638 Namespace manager data structures have been reworked to change the
   19639 primary  object from a table to a single object.  This has
   19640 resulted in dynamic memory  savings of 3X within the namespace and
   19641 2X overall in the ACPI CA subsystem.
   19642 
   19643 Fixed problem where the call to AcpiEvFindPciRootBuses was
   19644 inadvertently left  commented out.
   19645 
   19646 Reduced the warning count when generating the source with the GCC
   19647 compiler.
   19648 
   19649 Revision numbers added to each module header showing the
   19650 SourceSafe version of the file.  Please refer to this version
   19651 number when giving us feedback or comments on individual modules.
   19652 
   19653 The main object types within the subsystem have been renamed to
   19654 clarify their  purpose:
   19655 
   19656 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
   19657 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
   19658 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
   19659 
   19660 NOTE: no changes to the initialization sequence are included in
   19661 this label.
   19662 
   19663 -------------------------------------------
   19664 Summary of changes for this label: 08_23_00
   19665 
   19666 Fixed problem where TerminateControlMethod was being called
   19667 multiple times per  method
   19668 
   19669 Fixed debugger problem where single stepping caused a semaphore to
   19670 be  oversignalled
   19671 
   19672 Improved performance through additional parse object caching -
   19673 added  ACPI_EXTENDED_OP type
   19674 
   19675 -------------------------------------------
   19676 Summary of changes for this label: 08_10_00
   19677 
   19678 Parser/Interpreter integration:  Eliminated the creation of
   19679 complete parse trees  for ACPI tables and control methods.
   19680 Instead, parse subtrees are created and  then deleted as soon as
   19681 they are processed (Either entered into the namespace or  executed
   19682 by the interpreter).  This reduces the use of dynamic kernel
   19683 memory  significantly. (about 10X)
   19684 
   19685 Exception codes broken into classes and renumbered.  Be sure to
   19686 recompile all  code that includes acexcep.h.  Hopefully we won't
   19687 have to renumber the codes  again now that they are split into
   19688 classes (environment, programmer, AML code,  ACPI table, and
   19689 internal).
   19690 
   19691 Fixed some additional alignment issues in the Resource Manager
   19692 subcomponent
   19693 
   19694 Implemented semaphore tracking in the AcpiExec utility, and fixed
   19695 several places  where mutexes/semaphores were being unlocked
   19696 without a corresponding lock  operation.  There are no known
   19697 semaphore or mutex "leaks" at this time.
   19698 
   19699 Fixed the case where an ASL Return operator is used to return an
   19700 unnamed  package.
   19701 
   19702 -------------------------------------------
   19703 Summary of changes for this label: 07_28_00
   19704 
   19705 Fixed a problem with the way addresses were calculated in
   19706 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
   19707 manifested itself when a Field was  created with WordAccess or
   19708 DwordAccess, but the field unit defined within the  Field was less
   19709 
   19710 than a Word or Dword.
   19711 
   19712 Fixed a problem in AmlDumpOperands() module's loop to pull
   19713 operands off of the  operand stack to display information. The
   19714 problem manifested itself as a TLB  error on 64-bit systems when
   19715 accessing an operand stack with two or more  operands.
   19716 
   19717 Fixed a problem with the PCI configuration space handlers where
   19718 context was  getting confused between accesses. This required a
   19719 change to the generic address  space handler and address space
   19720 setup definitions. Handlers now get both a  global handler context
   19721 (this is the one passed in by the user when executing
   19722 AcpiInstallAddressSpaceHandler() and a specific region context
   19723 that is unique to  each region (For example, the _ADR, _SEG and
   19724 _BBN values associated with a  specific region). The generic
   19725 function definitions have changed to the  following:
   19726 
   19727 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
   19728 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
   19729 *HandlerContext, // This used to be void *Context void
   19730 *RegionContext); // This is an additional parameter
   19731 
   19732 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
   19733 RegionHandle, UINT32 Function, void *HandlerContext,  void
   19734 **RegionContext); // This used to be **ReturnContext
   19735 
   19736 -------------------------------------------
   19737 Summary of changes for this label: 07_21_00
   19738 
   19739 Major file consolidation and rename.  All files within the
   19740 interpreter have been  renamed as well as most header files.  This
   19741 was done to prevent collisions with  existing files in the host
   19742 OSs -- filenames such as "config.h" and "global.h"  seem to be
   19743 quite common.  The VC project files have been updated.  All
   19744 makefiles  will require modification.
   19745 
   19746 The parser/interpreter integration continues in Phase 5 with the
   19747 implementation  of a complete 2-pass parse (the AML is parsed
   19748 twice) for each table;  This  avoids the construction of a huge
   19749 parse tree and therefore reduces the amount of  dynamic memory
   19750 required by the subsystem.  Greater use of the parse object cache
   19751 means that performance is unaffected.
   19752 
   19753 Many comments from the two code reviews have been rolled in.
   19754 
   19755 The 64-bit alignment support is complete.
   19756 
   19757 -------------------------------------------
   19758 Summary of changes for this label: 06_30_00
   19759 
   19760 With a nod and a tip of the hat to the technology of yesteryear,
   19761 we've added  support in the source code for 80 column output
   19762 devices.  The code is now mostly  constrained to 80 columns or
   19763 less to support environments and editors that 1)  cannot display
   19764 or print more than 80 characters on a single line, and 2) cannot
   19765 disable line wrapping.
   19766 
   19767 A major restructuring of the namespace data structure has been
   19768 completed.  The  result is 1) cleaner and more
   19769 understandable/maintainable code, and 2) a  significant reduction
   19770 in the dynamic memory requirement for each named ACPI  object
   19771 (almost half).
   19772 
   19773 -------------------------------------------
   19774 Summary of changes for this label: 06_23_00
   19775 
   19776 Linux support has been added.  In order to obtain approval to get
   19777 the ACPI CA  subsystem into the Linux kernel, we've had to make
   19778 quite a few changes to the  base subsystem that will affect all
   19779 users (all the changes are generic and OS- independent).  The
   19780 effects of these global changes have been somewhat far  reaching.
   19781 Files have been merged and/or renamed and interfaces have been
   19782 renamed.   The major changes are described below.
   19783 
   19784 Osd* interfaces renamed to AcpiOs* to eliminate namespace
   19785 pollution/confusion  within our target kernels.  All OSD
   19786 interfaces must be modified to match the new  naming convention.
   19787 
   19788 Files merged across the subsystem.  A number of the smaller source
   19789 and header  files have been merged to reduce the file count and
   19790 increase the density of the  existing files.  There are too many
   19791 to list here.  In general, makefiles that  call out individual
   19792 files will require rebuilding.
   19793 
   19794 Interpreter files renamed.  All interpreter files now have the
   19795 prefix am*  instead of ie* and is*.
   19796 
   19797 Header files renamed:  The acapi.h file is now acpixf.h.  The
   19798 acpiosd.h file is  now acpiosxf.h.  We are removing references to
   19799 the acronym "API" since it is  somewhat windowsy. The new name is
   19800 "external interface" or xface or xf in the  filenames.j
   19801 
   19802 
   19803 All manifest constants have been forced to upper case (some were
   19804 mixed case.)   Also, the string "ACPI_" has been prepended to many
   19805 (not all) of the constants,  typedefs, and structs.
   19806 
   19807 The globals "DebugLevel" and "DebugLayer" have been renamed
   19808 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
   19809 
   19810 All other globals within the subsystem are now prefixed with
   19811 "AcpiGbl_" Internal procedures within the subsystem are now
   19812 prefixed with "Acpi" (with only  a few exceptions).  The original
   19813 two-letter abbreviation for the subcomponent  remains after "Acpi"
   19814 - for example, CmCallocate became AcpiCmCallocate.
   19815 
   19816 Added a source code translation/conversion utility.  Used to
   19817 generate the Linux  source code, it can be modified to generate
   19818 other types of source as well. Can  also be used to cleanup
   19819 existing source by removing extraneous spaces and blank  lines.
   19820 Found in tools/acpisrc/*
   19821 
   19822 OsdUnMapMemory was renamed to OsdUnmapMemory and then
   19823 AcpiOsUnmapMemory.  (UnMap  became Unmap).
   19824 
   19825 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
   19826 When set to  one, this indicates that the caller wants to use the
   19827 
   19828 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
   19829 both types.  However, implementers of this  call may want to use
   19830 different OS primitives depending on the type of semaphore
   19831 requested.  For example, some operating systems provide separate
   19832 
   19833 "mutex" and  "semaphore" interfaces - where the mutex interface is
   19834 much faster because it  doesn't have all the overhead of a full
   19835 semaphore implementation.
   19836 
   19837 Fixed a deadlock problem where a method that accesses the PCI
   19838 address space can  block forever if it is the first access to the
   19839 space.
   19840 
   19841 -------------------------------------------
   19842 Summary of changes for this label: 06_02_00
   19843 
   19844 Support for environments that cannot handle unaligned data
   19845 accesses (e.g.  firmware and OS environments devoid of alignment
   19846 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
   19847 been added (via configurable macros) in  these three areas: -
   19848 Transfer of data from the raw AML byte stream is done via byte
   19849 moves instead of    word/dword/qword moves. - External objects are
   19850 aligned within the user buffer, including package   elements (sub-
   19851 objects). - Conversion of name strings to UINT32 Acpi Names is now
   19852 done byte-wise.
   19853 
   19854 The Store operator was modified to mimic Microsoft's
   19855 implementation when storing  to a Buffer Field.
   19856 
   19857 Added a check of the BM_STS bit before entering C3.
   19858 
   19859 The methods subdirectory has been obsoleted and removed.  A new
   19860 file, cmeval.c  subsumes the functionality.
   19861 
   19862 A 16-bit (DOS) version of AcpiExec has been developed.  The
   19863 makefile is under  the acpiexec directory.
   19864